* feat(law): the register of every Swiss act, with a coverage page and API
Lists the 33,441 acts of the Confederation, the 26 cantons and the
intercantonal agreements (22,047 in force) with title and official number,
read from LexFind's list. Refuses a read short of the count the register
states. Titles and numbers only; text comes in L1.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud
* docs(changelog): cite the law register's pull request
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Lem7GyhyyjKhmwjG8G7Ud
---------
Co-authored-by: Claude <noreply@anthropic.com>
* feat(auth): Solon accounts on the fleet's account package
Anyone can now create a Solon account with an email and a password or a
passkey, with two-step codes; "Continue with OrangeCat" is one way in
among them instead of the only one. Sign-in, sign-up and the account
panel are @bitbaum/accountkit/auth's shared screens in Solon's look, in
the reader's language (authLabelsFor).
Seats were keyed on the OrangeCat actor id. legacyIdentityProvider keeps
that id for everyone whose first way in was OrangeCat, so existing seats,
votes, the founder rule and Loki grants keep working with no data
migration; everyone else is their account id.
Policy change, on purpose: the sign-in gate that turned away OrangeCat
accounts with no email is gone, with its test. A session still grants
nothing: a seat comes only from founding or from a vote of the members.
- drizzle/0014_accounts.sql: the six account tables, additive only, the
same migration every product generates
- next-auth removed; /api/auth/[...all] serves accounts
- a PGlite test signs up against Solon's own migrations
Known gap: the roster's OrangeCat handle and picture are no longer
refreshed at sign-in (stored values stay).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QDMxjTqKNLXETMYYuapMa3
* chore(deps): pin accountkit to the merged v0.5.0 commit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QDMxjTqKNLXETMYYuapMa3
---------
Co-authored-by: Claude <noreply@anthropic.com>
* feat(places): find a place with a letter wrong (searchkit)
The map's search box matched a name only if the folded text appeared in it
exactly, and the name search behind /places, /compare and /api/v1/places was
an ILIKE on the same folded text. One slipped letter ("Zurihc", "Kusnaht")
found nothing, and "st gallen" missed "St. Gallen" for want of the dot.
Both now go through @bitbaum/searchkit, the fleet's shared search package:
- Map box (in the browser): the hand-rolled startsWith/includes matcher in
map-view.ts is replaced by an index built once per map (`placeFinder`):
typo budget by word length, prefixes while typing, accents and umlauts
folded, Algolia-order ranking. The list marks the matched part of each
name, styled like OrangeCat's palette marks.
- Name search (database): the folded LIKE stays for recall, widened per
typed word by the names' own words that word is one slip from (a
vocabulary read once per 10 minutes per process), with a word no name
comes near set aside instead of failing the search. What comes back is
ordered by searchkit's rerank instead of the exact/prefix/contains sort.
Postcodes are an exact lookup and stay one.
fold.ts keeps its SQL fold table: the database side still needs the query
and the column folded alike. Tests: every one-slip misspelling of every
place name in the Swiss fixtures (2,627 cases) is found first by the map
box; through the database, 276 cases are all in the top three and all but
one first ("vern" reads as the start of "Verwaltungskreis" before Bern).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6u11m24oVkG98wAVbN7nf
* chore(deps): add @bitbaum/searchkit, pinned to orangecat a868c0a9
The fleet's one search package, installed from orangecat by commit
(packages/searchkit). It ships compiled dist/, so no transpile step.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6u11m24oVkG98wAVbN7nf
* docs(changelog): link the place-search entry to #264
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6u11m24oVkG98wAVbN7nf
---------
Co-authored-by: Claude <noreply@anthropic.com>
At 320px /de scrolled 28px sideways and /ru 43px; English, French and
Italian fit. Two causes, both one word with nowhere to break:
- The "why trust" headline: «UMGESCHRIEBEN.» / «ПЕРЕПИСАННОГО.» at
.headline-caps text-4xl is wider than the phone. `.headline` and
`.headline-caps` now allow a break inside a word (overflow-wrap) and
hyphenate by the page's lang, so the next long word in any language
cannot do this again. Those two words also get a soft hyphen at the
syllable, so browsers without a hyphenation dictionary break them as
UMGE-SCHRIEBEN. / ПЕРЕ-ПИСАННОГО. instead of mid-syllable.
- The footer's link lists are two ~136px columns on a phone and
«Abstimmungsverfahren» is wider: the lists may hyphenate and break.
Measured on a local production build in headless Chromium: all five
locales at 320 and 390px now have scrollWidth == innerWidth (de and ru
did not before). format, eslint, tsc, design:check,
check:places-literals and vitest (478 passed) pass; next build ok.
Claude-Session: https://claude.ai/code/session_016tA6LherCgxwapQ2oYTjc5
Co-authored-by: Claude <noreply@anthropic.com>
The front page now answers "what is this actually for?" with twelve cards:
six situations one person or a small group runs into, six problems a town,
an association or a society has. Each card is the problem, what happens on
Solon, and a link to the page where it happens.
- Structure in src/lib/content/problems.ts; links are site-map keys
(SITE_LINKS), labelled with the page's own name from Site.links.
- Every sentence in messages/<locale>.json under Home.problems, in all five
languages (German in Swiss spelling).
- Honesty: a card may only rest on capabilities marked "available"; a note
says plainly that suggesting and voting on this site run for OrangeCat,
the first organization, and not yet for newly founded ones. The treasury
is left out: registering addresses is an operator step today.
- src/lib/__tests__/problems.test.ts pins unique keys, message coverage,
links to existing pages, available capabilities and no roadmap wording.
Claude-Session: https://claude.ai/code/session_016tA6LherCgxwapQ2oYTjc5
Co-authored-by: Claude <noreply@anthropic.com>
* feat(places): the map on /places — communes coloured by the tax at your income, with address search and a list
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: changelog PR number
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
* feat(places): accent-insensitive place search, Swiss number formats in /compare
Search folds case, accents and spelled-out umlauts on both sides from one
character table (translate() in SQL), so "zurich" and "Zuerich" find Zürich
with no extension or migration. A country pack's optional ISO 3166-1 region
sets the number formats for its amounts: CHF 13’050 in German instead of
13.050 CHF.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs(changelog): link #235
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Up to four places from the link (?p=…), the estimate computed on the reader's device from the facts each chain holds; the income stays in the tab and never enters a link, form or request. One period for all columns: the latest fiscal year whose figures are all published. A missing figure says why (set by a lower level, or not recorded). Packs name their tax model's inputs, variants and components (taxLabels, checked by the config guard). Place pages link to it; it sits in the Places menu.
Co-authored-by: Cursor <cursoragent@cursor.com>
Two depths: EVERYDAY_ROUTES speak plain words and keep IDs, addresses, raw
payloads and API links under a closed TechnicalDetails; the deep side stays
as technical as it needs to be. Dashboard uses the standard page header;
record entries read through event-gloss.ts; money reads in bitcoin. A
render check fails the build if an everyday page shows a stored code.
Co-authored-by: Cursor <cursoragent@cursor.com>
Menu reads "Suggest something" in five languages; a finished vote says
"Result"; the yes/no summary and method picker drop "quorum"; the vote
box no longer repeats the page's title; each decision gets a tab title.
Co-authored-by: Cursor <cursoragent@cursor.com>
Proposals, a proposal, and the suggestion form use PageLayout and .field.
Statuses, categories and voting rules go through plain-words.ts and
CATEGORY_LABEL instead of printing stored enum values. Error messages say
what happened and what to do.
Co-authored-by: Cursor <cursoragent@cursor.com>
/sign-in and /sign-up become routes that start the OIDC flow at once;
OrangeCat's screen, titled for Solon, has email and password, a code,
Google, GitHub and Create an account. Solon's own entry page is gone.
Links to the routes are plain anchors so nothing prefetches a sign-in.
Co-authored-by: Cursor <cursoragent@cursor.com>
/join uses PageLayout and says what is happening without technical terms;
the refusal no longer names SOLON_FOUNDER_ACTOR_ID to visitors. An
organization with no member and no named founder is listed under
/api/health warnings (always 200, so uptime is unaffected).
Co-authored-by: Cursor <cursoragent@cursor.com>
Per pack: current places per level, how many hold each fact the tax model
reads, and each source's latest retrieval and real run. Places pages count
as translated, so they no longer show the untranslated notice.
Co-authored-by: Cursor <cursoragent@cursor.com>
/places/[...slug] shows a state place's name and level from its pack in the
reader's language, the official badge, the chain from the root, places at
overlapping levels, whether it levies tax (taxingLevels over the chain's
facts; 'no tax model yet' when the pack has none), other names, identifiers
linked through the scheme's urlTemplate, and the latest retrieval of each
source behind it.
- place-view.ts (pure view model), place-page.ts (loader, config injected)
- PlaceProfile takes its translator as a prop, so the acceptance spec renders
the real component from database rows with the Testland config
- Places namespace in all five catalogs
- render check: unknown place paths answer 404, not 500
- vitest inlines next-intl so its navigation resolves next/navigation
Co-authored-by: Cursor <cursoragent@cursor.com>
A seat points at a person, and the person lives on OrangeCat. Solon never
kept a face for its members: a roster was a list of typed names, and the
account page showed a name and an actor id with nowhere to go.
- members.oc_username / avatar_url (0009): the handle and picture OrangeCat
shows for the member, refreshed from the id token's preferred_username and
picture whenever the person opens their account page (syncMemberFace, one
indexed update, only when something changed). display_name is never
touched — it is the name chosen for THIS roster, and a rename on OrangeCat
must not silently rewrite a governance record.
- MemberFace: picture or monogram, linking to /profiles/<handle> on
OrangeCat when there is one. Shown on the organization roster and the
account page.
- The account page now says where the person is managed — name, picture,
email, passkeys, connected apps — and links there, instead of implying
Solon holds a copy to edit.
- Session carries ocUsername; next.config allows OrangeCat's avatar host.
lib/domain/member-identity.ts is pure where it can be (URL, claim reading,
change detection) and tested; the update itself is one function.
Claude-Session: https://claude.ai/code/session_01QDMxjTqKNLXETMYYuapMa3
Co-authored-by: Claude <noreply@anthropic.com>
Organization #1 was seeded by a migration with only its two agents, so its
founding seat fell to the first signed-in person to press the button — a
bootstrap shortcut that, with sign-up now one emailed code away, was a race
anyone could win, and the winner alone decided membership, safety and the
rules.
The seat now belongs to the identity the deployment names in
SOLON_FOUNDER_ACTOR_ID (an OrangeCat actor id, shown at /account). Unset, it
is closed to everyone. /join and the dashboard never offer a button the API
would refuse, and each refusal says what would open the seat — the record
stays readable meanwhile, and anyone can found their own organization.
src/lib/domain/founder.ts is the one pure rule; membership.ts, /join and the
dashboard read it. Unit tests pin that an unset variable closes the seat
(the old first-come rule must not survive as the fallback); the integration
specs name a founder per test.
Claude-Session: https://claude.ai/code/session_01QDMxjTqKNLXETMYYuapMa3
Co-authored-by: Claude <noreply@anthropic.com>
* feat(orgs): founding chooses how the organization decides; profile ids are one list
Every organization founded so far became TOWN silently: the form had no
field, the API no parameter, and the org page printed the raw id. Now the
founder picks a governance profile at founding (the hardest thing to
change afterwards), the choice is bound into the signed text as
`decides:` — appended only when chosen, so older signatures still verify —
and the page says "Association (Verein)", not TOWN.
The ids live once, in db/enums.ts: the column CHECKs against them
(migration 0006), the rule registry is keyed by them, use-cases.ts types
against them instead of a hand-copied union, and the profile grid orders by
them. TOWN's thresholds and quorums are read from the flat tables in
config/governance.ts rather than typed a second time.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EsT2PtLuBKwgaaBU5pheG8
* feat(orgs): an organization is a kind of body, in a place, bound to its wallet
One list of what kinds of collective exist, shared with OrangeCat:
src/lib/collective-kinds, vendored byte for byte from bitbaum/orangecat
packages/collective-kinds@0.1.0 until that package has a repository of its
own. The kind (what a body IS) is a different axis from the governance
profile (how it decides); KIND_DEFAULT_PROFILE joins them as a suggestion
the founder may override.
- organizations gain kind, country_code/region/locality, legal_status with
its evidence columns, and orangecat_group_id (unique). A town or a local
fund cannot exist without a place — a CHECK, because it is a fact about
the body. Migration 0008_a_body_has_a_kind_a_place_and_a_wallet.
- bodyProblem() in organization-rules.ts is the one reading of kind + place
+ legal the form and the API share, so the form never accepts what the
API refuses.
- Binding: give an OrangeCat organisation's address at founding;
fetchOrangeCatGroup asks OrangeCat's public /api/v1/groups/:slug/binding
and the founding is refused unless the owner actor is the founder's. The
group's kind and place fill in what was left blank; the organization page
links to the wallet.
- Founding form: KindPicker (from the shared list; picking a kind suggests
the profile), "Where it belongs" (required for place-bound kinds), the
OrangeCat address. The organization page names kind, place and legal
status.
- /what-you-can-do: every capability in plain words with an example, three
steps and a start, opening with the door — type the question you want
decided and /propose drafts it (its `title` query already survives
sign-in and joining). Linked from the footer in all five languages.
- Tests: the vendored kinds (mirroring the package's), kind→profile
coverage, bodyProblem cases, the binding answer's parser, the map's
links and verbs.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EsT2PtLuBKwgaaBU5pheG8
---------
Co-authored-by: Claude <noreply@anthropic.com>
/orgs/new, /propose and /join still posted straight to OrangeCat's sign-in
behind a button reading "Sign in with OrangeCat", so a person without an
OrangeCat account was told they needed one. They do not: since #191, /sign-up
takes an email, Google or GitHub. The three pages now offer "Create an
account" and "I already have an account" (one shared component), both
carrying `from` so the person lands back on the same page with the
proposal's context intact, and each says what it takes: an email, no wallet,
no OrangeCat account first.
Claude-Session: https://claude.ai/code/session_01QDMxjTqKNLXETMYYuapMa3
Co-authored-by: Claude <noreply@anthropic.com>
The fleet's building-in-public record lives in each public repository as
two markdown files; Loki's fleet map ingests them and every product renders
its /roadmap and /changelog from the map through bip-kit. Solon had neither
the files nor the pages.
- ROADMAP.md in the contract's Now / Next / Later / Shipped buckets, derived
from the README, the plan and engine docs, capabilities.ts and the git
history. Undated; nothing unshipped is written as shipped. Carries the two
fleet items that are Solon's: partner approval as a signed vote, and
revenue-share rules as governance rules.
- CHANGELOG.md in the Keep-a-Changelog dialect, one dated entry per merge
day back to 2026-08-25 and one summary entry for the August spine, each
bullet naming its pull request.
- bip-kit ^0.3.1; /roadmap and /changelog under [locale] render
DevelopmentPage inside Solon's shell. The map is fetched with
next.revalidate 300 (it is cached five minutes upstream) and an 8s
timeout; unreachable means "temporarily unavailable", never an error page.
Links are language-aware, so a reader on /de stays on /de.
- bip-kit's neutral theme is retuned to the shared tokens through its --bp-*
variables in globals.css (no hex, no new token); its h1 and project name
share the .headline and .kicker rules rather than copying them.
- Both pages sit in the footer's "More" column beside /credits, named and
described in all five languages.
- Unit test pins the projection from a fixture map (no network) and the
request shape: revalidate instead of no-store, bounded wait, null on
failure.
Claude-Session: https://claude.ai/code/session_01NJJp6XiUkeEVzjDaBmWjL3
Co-authored-by: Cato <noreply@anthropic.com>
Profiles only varied HOW votes were counted; every member always voted. This
adds the WHO axis, so Solon can hold the structures people actually run,
named for what they do rather than borrowed from political history:
- SOLE "One person decides": the founder holds the only mandate and decides
every category, including the rules. Members propose; they do not vote.
- TOWN "Everyone decides": unchanged behaviour, relabelled.
- DELEGATED "Elected delegates decide": members grant mandates for a term
(365 days by default); delegates decide money and operations; members
keep membership, safety and the rules, which is how they elect and recall.
How it holds together:
- CategoryRule gains decidedBy (MEMBERS | MANDATE). A mandate narrows the
electorate and never widens it: HUMANS_ONLY still filters mandate holders.
- members.holds_mandate / mandate_until; sessions snapshot decided_by and a
frozen mandate_roll, and a vote from outside the roll is refused.
- No dead ends: a MANDATE category with no live mandate goes to the members,
and the SESSION_OPENED audit event says so.
- Proposals may carry an effect, applied in the closing transaction: a
mandate grant/end (MEMBERSHIP only) or a profile switch (GOVERNANCE_RULES
only). The effect is hashed into contentHash, so it is signature-bound.
- Founding lets the founder pick the structure (the Learn page already
promised this; the form never offered it). The founder holds the first
mandate under SOLE and DELEGATED.
- The organization page and GET /api/orgs/{slug} publish the profile's
whoDecides sentence beside the roster, so nobody joins without knowing.
Migration 0006 only adds; every existing row keeps deciding as before.
Unit tests for mandate/effects/profiles, and an integration spec walking all
three structures through the real vote spine.
Claude-Session: https://claude.ai/code/session_01QDMxjTqKNLXETMYYuapMa3
Co-authored-by: Claude <noreply@anthropic.com>
Every organization founded so far became TOWN silently: the form had no
field, the API no parameter, and the org page printed the raw id. Now the
founder picks a governance profile at founding (the hardest thing to
change afterwards), the choice is bound into the signed text as
`decides:` — appended only when chosen, so older signatures still verify —
and the page says "Association (Verein)", not TOWN.
The ids live once, in db/enums.ts: the column CHECKs against them
(migration 0006), the rule registry is keyed by them, use-cases.ts types
against them instead of a hand-copied union, and the profile grid orders by
them. TOWN's thresholds and quorums are read from the flat tables in
config/governance.ts rather than typed a second time.
Claude-Session: https://claude.ai/code/session_01EsT2PtLuBKwgaaBU5pheG8
Co-authored-by: Claude <noreply@anthropic.com>
* fix(nav): every header control is a 44px target
The fleet render sweep counted 16 sub-44px controls in the header (nav
contract rule 3): the wordmark link (24px), the four section triggers
(py-2, 32px), Sign in (16px) and Hire Solon (min-h-10, 40px). Each now
carries min-h-11 on the control itself, as does the panel's overview link
and the language select; the text size is unchanged and the header keeps
its height.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
* test(render): count the trigger's line boxes, not its height
The one-line check read a wrapped label from the trigger's height (32px
one line, ~48px two). The trigger is now a 44px touch target, and two
lines of 12px text fit inside that, so height can no longer tell. Count
the label's line boxes instead (checked by forcing 'Use cases' to wrap:
2), and assert the 44px floor directly.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
---------
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
/sign-up and /sign-in in Solon's design, in all five languages: email first,
then Google, GitHub or an existing OrangeCat account. Underneath it is one
OIDC flow to OrangeCat, which holds the single account for Solon, OrangeCat
and Loki (docs/design/2026-09-uniform-auth.md, option A). The person's choice
travels as prompt=create, login_hint and idp_hint, so OrangeCat's screen opens
already in that state; only those three keys are ever produced, each checked.
- The header's Sign in opens /sign-in and remembers the page you were on.
- /account signed out goes to /sign-in instead of a second sign-in screen.
- The email-less-account error now offers 'Sign in again' (OrangeCat asks
for the email on the way) instead of sending people to OC settings, and no
longer says voting needs only a Bitcoin signature.
- A shared .field class for text inputs.
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* feat(site): use cases, the ideas behind Solon, a new era, platform, and a mega menu
Phases B and C of docs/design/2026-09-solon-plan.md, plus George's
2026-09-25 asks (a page per kind of group and one comparing them, network
states, the art and science of governance, how Solon works with OrangeCat
and Loki, a best-in-class menu).
- /for compares companies, villages and towns, associations and co-ops,
communities and network states side by side; /for/<slug> is one page per
group (what goes wrong today, how Solon helps, example decisions, the rule
template, what works today, the detail folded). Network states get the
verified definition (Srinivasan 2022) and the seven-step path mapped to
Solon, with a neutral stance and honest statuses.
- /governance/ideas: Solon of Athens, the Landsgemeinde (Glarus as the
model; Appenzell's 1990 court ruling as the lesson on who counts),
Condorcet and Arrow, Ostrom, exit and voice, panarchy and Nozick, charter
cities, the network state — every claim checked against sources, with
the caveats the sources insist on.
- /governance/new-era: records, money, work, connection, making, energy —
what changed, what it means, and the limit of each; what technology
cannot do. SMR status stated as of 2026, not hyped.
- /platform: Solon decides, OrangeCat pays, Loki works; one decision start
to finish; what works today vs next; "evidence, not authority" folded.
- Mega menu: four panels (use cases, governance, platform, decisions),
each with summary, every page described in one line, and a featured
photograph; click to open, Escape/outside/navigation to close; the
mobile menu and footer render the same map (site-config MENU).
- lib/content/capabilities.ts is the one list of what is available now,
in development or planned; pages show status from it, never their own.
- Deeper component for progressive disclosure; two new photographs
(Museum Appenzell painting, public domain; Starlink over Tübingen's town
hall, CC0), both on /credits.
- New essays are English-first (PENDING_TRANSLATION in the parity test);
navigation and home stay translated in all five languages.
- CI: a production-shaped smoke runs the standalone server behind a TLS
proxy header — the combination that 500'd production today while every
other check was green.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
* docs(design): one account across OrangeCat, Loki and Solon — proposal
Surveyed state of auth in all three products and the recommended design
(one identity, created from any product; passwordless email code and
passkeys; no dead ends). Needs George's go-ahead: it changes how every
OrangeCat user signs in.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
---------
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Phase A of the plan of record (docs/design/2026-09-solon-plan.md, added here).
- next-intl, the fleet's i18n choice (STACK.md), in evig's layout: pages move
under src/app/[locale]/ (API routes stay outside), English unprefixed, the
others at /de /fr /it /ru, no Accept-Language guessing.
- messages/<locale>.json carry every sentence of the header, footer, mobile
menu, home, /hire, /security, /credits and every photo's alt text. German
follows Swiss spelling. Machine-drafted; native review is open.
- t() keys are typed against en.json (a missing key fails typecheck); a parity
test fails if a language lacks, adds, empties or drops a {placeholder}.
- Language switcher in the header (native <select>) and the mobile menu.
- Pages not yet translated stay English and say so in the reader's language
(TRANSLATED_ROUTES in site-config).
- Every internal link goes through @/i18n/navigation, so a reader on /de stays
on /de; the last plain <a> links to internal pages became Links.
- Glarus copy corrected against sources: "since at least 1387" (first recorded,
not continuous), plus the 2006 floor amendment that merged 25 municipalities
into 3.
- e2e: each language's front page, the switcher, the notice, API routes
outside languages. 41/41 locally against a production build.
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* feat(site): rebuild Solon's front door — full-screen photography, sans headlines, plain words
A SpaceX-inspired redesign for Solon as governance any group can hire:
full-screen photographic sections with one statement and one action each,
a three-link header, and copy written for the person who runs a group — no
crypto or protocol vocabulary on the front pages.
- Home rebuilt: Earth at night (NASA) → the Landsgemeinde of Glarus → three
steps → the live counting demo → the governance agent → who it's for →
why trust it → hire. New /hire (what you get, who it suits, how it starts,
what it costs: free for pilot groups in beta) and /credits.
- Photographs from Wikimedia Commons (public domain, CC0, CC BY), each
registered with author, licence and source in lib/content/photos.ts;
/credits renders that list.
- Headlines move from the shared serif to the sans (.headline /
.headline-caps), matching OrangeCat and Loki; design:check now forbids
font-display in Solon and requires a headline style at display sizes.
- Header: three links + sign-in + "Hire Solon" (was six mega-menus that
wrapped at 1440px). Footer and mobile menu render one SITE_SECTIONS map;
tests check every link resolves to a page and the header is a subset.
- Inner pages: left-aligned PageLayout; /security and /governance/voting
rewritten; dashboard aligned to the page edge, no card-in-card.
- Fixes found by looking: phone layout scrolled sideways (grid min-width),
mobile menu opened to nothing (fixed panel inside a backdrop-filter
header), serif wordmark.
- CI: render checks (tests/e2e/render.spec.ts) run in the integration job
against a built app — styled buttons, one-line header, no sideways scroll
at 390px, menu opens. Mutation-tested: reintroducing two of the bugs fails
exactly those checks.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
* fix(types): commit the static-image types CI's typecheck needs
next-env.d.ts declares *.webp imports but is gitignored and only exists after
next build/dev, so verify (typecheck before build) could not resolve the
photographs. Proven by typechecking with next-env.d.ts moved away: 0 errors.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
---------
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
#184 made one-click votes the default but the homepage hero, the four
pillars, /governance, /governance/voting, /features, /integration and
/propose still said every vote and proposal is Bitcoin-signed. Each now
says what is true: one click by default, a signature when wanted, and
every record labelled with which.
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* docs(design): Solon as a constitution engine across the three planes
Audit of Solon, OrangeCat and Loki (2026-09-24) and the design that follows:
charter as data, typed decision effects, mandates + receipts enforced by
OrangeCat (treasury) and Loki (execution), usable signers, deliberation,
AI agents in bounded offices, consolidation of OrangeCat's duplicate group
governance, a Verein wedge, federation and exit. Build order and the
decisions that are George's.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
* docs(design): Bitcoin is one signer, not the door to a seat
Separate the seat from the credential. Charters set a minimum assurance
level per category: account (operator-attested), passkey (WebAuthn,
recountable with no wallet, proposed default), or own key (Nostr/Bitcoin).
Treasury is whatever money the group has, a bank account included, matched
to mandates via statement import. Phase 0 now starts by decoupling
members.bitcoin_address, which also unblocks the first human seat.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
* feat(membership): govern with one click — Bitcoin becomes optional
A seat no longer requires a Bitcoin wallet. A signed-in OrangeCat member
claims a seat, founds an organization, files a proposal and votes with one
click; every such act is recorded as proof ACCOUNT and labelled as Solon's
record in the decision document. Signing with a Bitcoin key stays available
(proof BIP137, re-verifiable by anyone) and agents always sign.
- migration 0005: Proof enum; members.bitcoin_address/key_custody nullable
with a check that a seat has a key or an identity; proof columns on
proposals and votes (existing rows default to BIP137)
- lib/auth/actor: one resolver for every write; cookie-only acts require a
same-origin request
- forms lead with one button (ActStep); Bitcoin signing folded underneath
- vote changes replace the ballot and re-read weight; README now says so
- ratification fails closed: only acts explicitly marked ACCOUNT skip the
signature check (caught by the existing tests)
- fix: .btn-primary/.btn-secondary had no definition since #77, so every
page's main action rendered as bare text on production
- fix: the selected ballot answer was invisible (same colour as its card)
- copy: no page says a Bitcoin key is required; security page states what
a one-click vote does and does not prove
- tests: actor resolver unit tests; account-proof integration spec
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
---------
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
OrangeCat's "Govern it with Solon" button sent ?from=orangecat&entity_type=…
&entity_id=…&title=… to /dashboard, and nothing in this repo read it. The
visitor pressed a button about a specific thing and landed on a page that had
forgotten which thing. /propose then dropped the query a second time on its
sign-in redirect, and a third time on the way through /join.
Now /propose reads the query into a pre-filled draft — title, a body naming
the entity with a link back, the cheapest category as default with its
consequence stated beside it and one tap to change — and the draft survives
sign-in and /join (`?next=`), so the person signs the thing they came to
sign. /dashboard redirects links already in the wild to the same place.
Two things fell out of doing this honestly:
- The form's category hints ("Humans only, supermajority") were a hand copy
of governance.ts, read by a member right before signing. They are now
derived from the table that binds them (categoryConsequence).
- governance.ts says of itself that changing it IS a GOVERNANCE_RULES matter.
That sentence was a comment. CI now checks it on every PR that touches the
file — fetches any `Decision:` trailer's document from the public
endpoint and recounts it (category, outcome, every signature) — and when
nothing ratifies the change it warns, in the PR, with a pre-filled link to
the proposal that would. It never fails the job: a rules change without a
decision is a fact the record must show, not a build failure, and nobody
should be stuck in CI over a governance question.
Both follow one rule, now written into .claude/CLAUDE.md: a gate records; it
never blocks. Every stop shows the way forward on the same screen.
Claude-Session: https://claude.ai/code/session_01RU7EqR1TPicrJGv46cLDaH
Co-authored-by: Claude <noreply@anthropic.com>
`i18n/` held four dictionaries and was not localization. `page.tsx` called
`<SolonHero language="en" />` with a literal, and that was the only call site —
so the German, French and Italian strings shipped in the bundle where no visitor
could reach them. There is no locale routing, no middleware and no switcher; the
only other `locale` in the repo is a `toLocaleString()` on a satoshi balance.
The cost of leaving it was not the dead bytes. `CLAUDE.md` told every agent that
"four languages ship from `i18n/`", so the rule pointed work at a dead file
while the other 18 pages hard-coded English. That nearly sent a large new
teaching section into a dictionary nothing reads.
- The English copy moves into the two components that used it; `made_in` and
`demo_section` are dropped, nothing read them. The homepage renders unchanged.
- The `@/i18n/*` path alias goes with the directory.
- The false "Don't" becomes the true one: never assemble a sentence by
concatenation. `"You have " + n + " votes"` has to be re-authored to
translate; `You have {n} votes` does not. That is the only i18n habit here
that is expensive to undo. Inline English is fine — moving strings into
dictionaries is linear in page count and no worse next year, which is what
makes deferring safe.
- `AGENTS.md` gains a "Language" section recording the decision, the trigger
(a real organization governing in DE/FR/IT — `ASSOCIATION` is written for the
Swiss Verein, Art. 60 ZGB), and the instruction to EXTRACT heidi's `lib/i18n`
rather than reimplement: seven typed dictionaries, `app/[locale]` routing, and
a test pinning that every locale keeps its placeholders. It is not a package
because it has one consumer; Solon becoming the second is what would justify
extracting it.
Deleting a fake capability is not losing one. Nothing a user can reach changes.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
The rating dots carried `${cond ? "" : ""}` — an abandoned attempt to mark which
options clear the approval floor. Dead on arrival, invisible to lint, and the
kind of thing that reads as intentional to the next person.
Implemented rather than deleted, because the marker was worth having. While the
Approval tab is showing, an option rated below the floor dims, so a reader can
watch the approval tally being assembled out of the preference table instead of
taking the bar chart on faith. The other four tabs leave the dots alone — the
floor is approval's rule, not a property of the ratings.
The aria-label follows, so the distinction is not colour-only.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Solon's site explained what the product does and never explained the thing
underneath it — why deciding together is hard. A reader who believes voting is
obvious reads six counting methods as six settings nobody needs.
Five new pages, and the design rule behind all of them: a page RENDERS the
governance model, it never re-authors it.
/governance the four questions every organization answers;
Condorcet's paradox drawn from real ballots
/governance/methods one room, five ways of counting, two winners
/governance/thresholds quorum and threshold as two knobs over one vote
/governance/who-decides every category's electorate, threshold and quorum
/governance/profiles the five shipped profiles compared rule by rule
Every tally on these pages is computed by `methodSpec(id).aggregate()` — the
same function that counts a live session — running in the reader's browser for
the interactive figures and at build time for the rest. There is no second
implementation to drift, so a change to how Solon counts changes the lesson
instead of leaving a published one false. The rule tables render
`src/lib/config/governance.ts` and the profile registry directly.
`worked-example.ts` supplies BALLOTS ONLY, never a result. One roster states its
preferences once and every method's ballot is derived from it, because the claim
being made is that the voters are constant and the method moves the winner —
hand-written ballot sets would let the demonstration cheat undetectably. The
scenario is generic (a shared fund, a roof, an apprenticeship): it names no
organization, since a branded example would also read as a claim that the named
body governs here.
The tests are the ratchet. They check every derived ballot against the method's
own `schema()` — a demo showing a vote Solon would reject at the door is a lie
about the product — and they pin the conclusions the prose states. That caught a
real one: a draft claimed "four different winners" when the true answer is two.
Also: `CATEGORY_LABEL` moved out of the ecosystem page into the governance
config beside the rules it names, rather than becoming a second copy; the nav
splits into Governance (understand it) and Participate (act on it).
Known gap, deliberately not papered over: these pages hard-code English, like
the other 18. Only `src/app/page.tsx` and `solon-hero.tsx` read `i18n/`, and
there is no locale routing, so writing this prose into the JSON would produce
unreachable strings plus three unreviewed machine translations.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Solon could govern many organizations and shipped exactly one, because the only
way to create one was to write a SQL migration (drizzle/0001_seed_org1). That
does not survive a second builder, and it made Solon something the studio grants
rather than something people use.
WHERE THE LINE IS
Founding is permissionless; acting within an organization is governed. Requiring
a vote to create one is circular — there is no electorate to vote in yet — so the
founding seat is granted the way membership.ts already grants the genesis seat:
on proof, not permission. The founder signs with a Bitcoin key they control,
bound to their OrangeCat identity, and the organization, the founder's seat and
both audit events are written in ONE transaction. There is no instant when an
organization exists with an unclaimed founding seat somebody else could take.
ONE SEAT PER ORGANIZATION, NOT PER PERSON
members.oc_actor_id was globally unique, so an OrangeCat identity could sit on
exactly one roster ever — a builder who founded a second organization could not
be its founding member. It is now unique per organization, which keeps the
property that mattered (nobody holds two votes in one electorate) and drops the
one that was an accident. memberForActor() therefore takes an organization;
without that, a builder would be shown one organization's seat on another's
pages. Four call sites updated.
ATTRIBUTION IS CONSENT, NOT A NAME MATCH
Permissionless founding opens one door that must stay shut: anyone could found
`loki` and appear on a public register to govern a product they have nothing to
do with. So organizations.claimed_project is set only from a grant Loki signs
for the founder's own identity (src/lib/loki-grant.ts), checked against the
SESSION's actor id — never one taken from the request. Squatting a name costs a
vanity slug, never attribution. A grant that is present but invalid refuses the
founding outright rather than quietly creating an unattributed organization.
Organization #1 is backfilled as governing `orangecat` (0004) — it predates
grants, so it is reference data, the way the organization itself was.
AND THE 404 NOBODY OWNED
Loki's fleet map and the bitbaum studio site both link /orgs/<slug>. No such
page existed: every one of those links answered 404, including the link to
organization #1. /orgs/[slug] now serves the roster and the record, and
/api/orgs lists every organization so Loki can stop probing one name at a time.
PROVEN
CI ran ONE integration spec by name, so the membership spec guarding the
founding seat had never once run there. It now runs every *.integration.test.ts
— and caught this change's own regression on the first run, where the reworded
refusal no longer matched that spec's assertion.
23 integration assertions against a real database (atomicity, signature replay
across message types, the multi-organization constraint, grant forgery and
expiry, one organization per project, the founding cap) plus 116 unit tests.
pnpm run verify: green.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claiming a seat and filing a proposal ended in the same 51 lines: the
exact text to sign with its copy button, the signature box, the submit
button and the rejection line (jscpd clone claim-seat.tsx:82 ↔
file-proposal.tsx:220). That tail is now src/components/governance/
signature-step.tsx, rendered as a fragment so the parent's spacing and the
markup are unchanged; the two callers pass in what is signed, when the
button is armed, its label, the field id and the failure copy.
Claude-Session: https://claude.ai/code/session_012KAn51JHFcTrPeCjZDGXM8
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
The product was renamed on 2026-09-14: bitbaum/loki, loki.orangecat.ch,
LOKI_* env keys, loki-* units. This repo referenced the old name in
17 files changed, 33 insertions(+), 33 deletions(-).
Email addresses at the old sending domain stay until the new domain is
verified in Resend.
Claude-Session: https://claude.ai/code/session_016YJVAanfj8keVSXyZnTemh
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Stack-uniformity migration (George: "Drizzle everywhere" for fleet-owned
Postgres apps), following the recipe proven in biaslens#26. Schema parity
with the live tables is byte-exact and proven by normalized pg_dump diff
(scratch replay AND against the production database itself); the deploy
ledger on the box is pre-baselined so the cutover is a no-op for prod data.
- src/lib/db/{schema,client,enums}.ts replace prisma/* + @prisma/client
- every call site rewritten (domain, API routes, pages, scripts, tests)
- drizzle/0000_init + 0001_seed_org1 replay the full schema + seed on a
fresh database (CI integration job now runs drizzle-kit migrate)
- prisma deps, prisma.config.ts, generate steps and docs mentions removed
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* chore: add a formatter, matching the style this repo already writes
singleQuote=false was chosen by counting this repo's own
imports, not by fleet decree. The fleet is genuinely split and the two repos
that already had a .prettierrc disagreed with each other, so there was no
standard to restore. Quote style does not cross repo boundaries; having a
gate does.
Markdown is ignored for now — prettier rewraps prose, which would bury the
real diff.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* style: format with prettier (87 files)
Mechanical. No behaviour change. This SHA is listed in
.git-blame-ignore-revs so `git blame` skips it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* chore: teach git blame to skip the reformat
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
NAV_ITEMS says "only routes that actually exist belong here — a nav link to a
404 is a lie". The footer carried the same sentence about itself, and then
restated six of those routes as its own literal <Link>s. Nothing tied the two
lists together, so removing a page from the nav left the footer pointing at it
with no way to notice. Both files promised the same thing and only one of them
could keep it.
FOOTER_SECTIONS now names hrefs instead of repeating them, and the footer
renders from that. A rename in NAV_ITEMS reaches the footer for free.
Where the footer deliberately says something shorter than the nav — "Voting",
not "How voting works"; "API", not "Integration" — that is now an explicit
`label` override rather than an independently typed second copy. The
difference is recorded as a choice instead of looking like drift.
The sibling pillars and the source-code link already came from their own SSOTs
(ECOSYSTEM_PILLARS, SOLON_GITHUB_URL) and still do.
Six tests, mutation-proven: deleting /security from NAV_ITEMS alone — exactly
the regression this prevents — fails the suite and names the orphaned footer
link. Verify green (lint, typecheck, design:check, 82 tests).
Found by a fleet-wide navigation audit across 20 repos.
Claude-Session: https://claude.ai/code/session_01XeELB8b3N4JrT2asYL9WvE
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Measured live: white on the accent (#ff5c00) is 3.10:1, below the 4.5 AA
floor. It is every primary action on the marketing surface — "Open the
Dashboard", "See the latest vote", the nav's "Open Dashboard".
Not Solon's bug to fix alone: the accent is the fleet's single action
colour, so the same pairing put OrangeCat's "Get Started" and
FleetCrown's "Launch agent" under the floor at the same time. The fix
therefore lands in @fleet/design-tokens, which is the SSOT for all three,
as --on-accent (near-black, 6.10:1 on that orange). This commit adopts
it: v1.0.0 → v1.1.0, and `text-white` becomes `text-on-accent` wherever
the label actually sits ON the accent.
The orange itself is unchanged. Rescuing white text would mean darkening
it to roughly #c74600 — duller, muddier, and the accent IS the brand.
The label gives way instead.
The rewrite is scoped to elements carrying BOTH bg-accent and text-white
on the same className. A text-white elsewhere in the same file is sitting
on something else entirely and must not be touched.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Solon could only ask "yes or no?". That is a strange limitation for a tool
whose own categories include ALLOCATION_POLICY and TREASURY_SPEND — "how
should we split this budget?" is the question a treasury exists to answer,
and a binary vote structurally cannot carry the answer. Every organization
that decides differently — a Verein by consent, a co-op by ranking, a board
by weighted score — had to pretend to be a town meeting.
Six methods now. Each one owns its ballot schema, its signed encoding and
its count in a single module, so adding a seventh is one file plus one line
rather than an archaeology exercise across five:
single_choice yes / no / abstain, exactly as before
consent agree / abstain / object — one reasoned objection stops it
approval back everything you find acceptable
dot spend a fixed budget of dots; the dots are the priority
score rate each option 0–5, independently
ranked Borda ordering, with the Condorcet winner surfaced
The signature now covers the whole ballot. This is the load-bearing change.
Previously the signed text was `choice:yes`; now it is the method's
canonical encoding of the entire ballot — `choice:dots:heat-pump=2,solar-roof=3`.
Change one number in transit and the message no longer matches the
signature. Encodings sort anything set-like so the same intent always signs
identically, and option keys are readable slugs rather than uuids, because
a voter who cannot read what they are signing is not really consenting.
An integration test signs a real allocation, tampers with it, and asserts
nothing is stored.
Governance profiles replace one hardcoded structure with five. A profile
says, per category, by what method and at what threshold and quorum. It
deliberately cannot say WHO votes: the four humans-only categories — aid,
membership, safety, and the governance rules themselves — read their
electorate from the one config that owns it, so "an organization votes to
let its agents vote on their own suffrage" is unexpressible rather than
merely discouraged. A test asserts every profile's rule has exactly the
three tunable keys, and fails if an `electorate` key is ever added.
Ranking outcomes do not get a majority threshold. A five-way choice has no
against-side to measure one over, and imposing it would reject the winner
of nearly every real multi-option vote — rigour-shaped, broken in fact.
Quorum still applies to everything.
Bug found by driving the UI, not by a test: tapping "+" five times landed
three dots. Each edit derived from the ballot as last rendered, so taps in
one frame overwrote each other. Ballot edits are now pure functions taking
the previous ballot, extracted to their own module and covered by tests
that chain edits the way React does — a value-based implementation fails
them.
Migration is expand-then-verify-then-contract in one transaction: add
`ballot`, backfill from `choice`, RAISE EXCEPTION if any vote failed to
backfill, then drop the old column and its type. Backfilling
`{"method":"single_choice","choice":"yes"}` reproduces `choice:yes` byte
for byte, so every historical signature still verifies; a test pins that
literal. Replayed against a database seeded with pre-methods votes, and
checked against production's actual two votes before shipping.
npm run verify green; 86 tests across 11 files, integration included.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Solon could show governance but not let you join it. Every page ended in
prose: the audit trail had no way to add to the record, the dashboard told
a signed-out reader nothing they could do, and there was no route at all
from "I read this" to "I hold a vote". This adds the missing spine.
Membership. /join binds a Bitcoin key to an identity, signed. The signed
text carries the actor id (registrationMessage) so a signature proving
control of an address cannot be replayed to bind that address to someone
else's account — the roster's claim is "this account and this key are the
same person", so that is what gets signed.
Proposals. /propose files one, /proposals lists them with each one's next
step, and /proposals/[id] shows the detail with the action it is waiting
for. Sessions open from the proposal itself.
Wayfinding. Every page now offers at least one action — verified by
walking all 16 routes in a real browser and counting controls per page;
the count was 0 on nine of them before. The dashboard leads with the one
next action the visitor can actually take.
Treasury honesty. treasuryReport now returns a four-state status instead
of a boolean. "Were all sources resolved?" is vacuously true when no
source is registered, so a caller reading that as "this total is
trustworthy" was told yes about nothing. no_sources / resolved / partial
/ unavailable say which of the four it actually is. Still watch-only.
Multi-tenancy fix. The dashboard and voting page selected the newest
voting session in the entire database with no organization filter, so a
second org's vote rendered on this org's dashboard. Caught by rendering
against a database that had more than one org in it — production has one,
which is exactly why it would have gone unnoticed. Now scoped, with the
reason recorded at each call site.
npm run verify green; 44 tests pass including the membership integration
spine against a real Postgres.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
The dashboard was still bold Inter while the marketing pages ran Instrument
Serif — 21 headings across 13 files, the whole signed-in half of the product
reading as a different company than the half that sells it.
The gate could not have caught this. Every type rule in design-system-check.js
fires only once `font-display` is already present, so a heading that never
opted in was invisible to it. That is the blind spot that let the drift grow,
so this closes it rather than just sweeping the instances: above text-2xl the
display face is now the default, enforced, with font-mono exempt because a
balance or a hash is data, not a heading.
text-2xl and text-3xl both land inside --text-display-3 (clamp 1.5→1.875rem),
so rendered sizes are preserved; font-bold is dropped because the face ships
one weight and asking for another gets a synthesized fake.
Verified: negative-tested the new rule (reintroducing one bold-Inter heading
fails the gate, restoring it passes), npm run verify green, and the built page
measured in a browser — h1 renders "Instrument Serif" 400 at 24px with the
real face loaded, not a serif fallback.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
* feat(treasury): operator script to register a watch-only source, and stop claiming tx records
The dashboard already reads mempool.space. The marketing page still said
transactions were stored with txids. They are not. The script writes an
address George already watches — it does not invent one.
* fix(honesty): the hero offers the latest vote, not a live one
The only production session is closed. Promising a live vote was a lie.
The governance site now states why a town is the unit — /why, nav, footer,
and About — and keeps the full essay in docs/TOWNSISM.md. Software is not
sovereignty; this is the why, not a rebrand.
The tokens were hand-copied into three repos and drifted: Solon's globals.css
carried a comment claiming it matched OrangeCat's while sharing zero names or
values with it. Copies drift; imports cannot. So the tokens now live in one
place — @fleet/design-tokens — and Solon imports them.
- globals.css goes from 168 lines to a comment and `height: 100%`
- tailwind.config.js maps nothing; it consumes the shared preset
- the package owns the self-hosted faces too, so changing the display
typeface for all three products is one line in one file
Display face is now Instrument Serif. Every AI and infra company competes
inside the same dark-canvas grotesque, where the winner is whoever has the
biggest design budget; a high-contrast serif exits that comparison and reads
institutional, which is what a product whose output is *legitimacy* should
look like.
Two rules fell out of actually looking at it, both now enforced by
design:check rather than remembered:
- the face has ONE weight, so `font-bold` next to `font-display` would make
the browser synthesize a fake bold. Weight and tracking are declared with
the face in the package, so a future face swap stays one line.
- a high-contrast serif goes weak as it shrinks: at 18px the card titles
rendered LIGHTER than the 16px body under them and the hierarchy
inverted. Display type starts at text-2xl; below that, sans at 600. The
uppercase, open-tracked wordmark is the one sanctioned exception.
Verified: design:check (incl. a negative test that the new rules fire),
typecheck, build, and a local prod render of the hero, cards and auth error.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>