Commit Graph
161 Commits
Author SHA1 Message Date
CatoandClaude Opus 5.5 d423d3ccbf 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>
2026-09-25 13:43:25 +02:00
CatoandClaude Opus 5.5 21f6a39fe0 feat(i18n): Solon in five languages — English, German, French, Italian, Russian
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.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
2026-09-25 11:49:00 +02:00
CatoandClaude Opus 5.5 3704f26fc9 feat(site): rebuild Solon's front door — full-screen photography, sans headlines, plain words (#188)
* 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>
2026-09-25 01:01:44 -07:00
CatoandClaude Opus 5.5 4e1c2ab086 fix(copy): stop claiming every vote is Bitcoin-signed (#187)
#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>
2026-09-24 22:32:07 -07:00
b787ec19c1 fix(deps): restore the four bumps closing dropped; group Dependabot PRs (#185)
#177-#180 (next 16.3.5, react-dom + @types/react-dom 19.3.0, prettier
3.9.8, vitest 5.0.1) were closed as conflicted with "Dependabot will reopen
clean". It won't: closing a Dependabot PR tells it to skip that release.
Apply them here.

The conflicts came from ten separate PRs each rewriting pnpm-lock.yaml, so
group minor+patch npm bumps into one PR. Drop the labels config: the
`dependencies`/`security`/`ci` labels don't exist on the repo and every
PR carried an error about it.

Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 21:05:32 -07:00
CatoandClaude Opus 5.5 a33d4e2548 feat: govern with one click — Bitcoin optional; design of record (#184)
* 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>
2026-09-24 15:23:13 -07:00
dependabot[bot] fe0c36e666 deps: bump zod from 4.6.2 to 4.6.5 (#175)
Bumps [zod](https://github.com/colinhacks/zod) from 4.6.2 to 4.6.5.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v4.6.2...v4.6.5)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.6.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 13:37:32 -07:00
dependabot[bot] 145f1b00e5 deps: bump lucide-react from 1.45.0 to 1.47.0 (#176)
Bumps [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) from 1.45.0 to 1.47.0.
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/1.47.0/packages/lucide-react)

---
updated-dependencies:
- dependency-name: lucide-react
  dependency-version: 1.47.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 13:37:28 -07:00
dependabot[bot] 1fc4875f59 deps: bump puppeteer from 25.10.0 to 25.11.0 (#181)
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 25.10.0 to 25.11.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v25.10.0...puppeteer-v25.11.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-version: 25.11.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 13:37:18 -07:00
dependabot[bot] 7eba8c0c0f deps: bump eslint-config-next from 16.3.4 to 16.3.5 (#182)
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 16.3.4 to 16.3.5.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/commits/v16.3.5/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-version: 16.3.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 13:37:14 -07:00
dependabot[bot] 31d7064189 deps: bump @types/node from 26.5.1 to 26.6.1 (#183)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 26.5.1 to 26.6.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.6.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 13:34:57 -07:00
a53678e06e ci(node): one .nvmrc both CI and the deploy read (#174)
Node 24 was written as a literal in two places in ci.yml and nowhere the
deploy could see it. bitbaum/loki's selfhost-deploy.yml looks for .nvmrc
first and only falls back to its own `node-version` input when a repo
commits none, so solon has been building on the fallback and emitting
"::notice::no .nvmrc — building on Node $FALLBACK" on every deploy.

That fallback currently reads 24, so nothing is shipping on the wrong
major today. The hazard is drift: the pin that CI verifies with and the
pin that the deploy builds with are two separate declarations that
nothing keeps in step. When they part, npm/pnpm majors disagree about
optional platform deps and the lockfile reads as out of sync — the
failure that stranded aoz-begleitung's merges and broke hirnli's deploy,
both after the merge, where it is most expensive.

Commit the file and have both CI jobs read it via node-version-file, so
verify, integration and deploy resolve the same major from one line.

Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-20 21:05:14 -07:00
CatoandClaude 1412d0ae13 refactor(ecosystem): Loki's pillar is Execution, not Engineering (#173)
Solon's /ecosystem page, its nav descriptions and its README all called Loki
the engineering pillar. That named Loki's deepest capability rather than the
product — it also holds the people an operator works with, what they owe and
what they spend, and neither sibling has a surface for those.

What separates the three is AUDIENCE, not subject matter: OrangeCat public by
design, Loki private by default, Solon shared with its members. AGENTS.md now
says so where it introduces the three planes, since "where does this belong?"
is the question the old wording kept answering wrongly.

The one-word role stays SSOT in orangecat/src/config/ecosystem.ts; this repo
is downstream of it.


Claude-Session: https://claude.ai/code/session_01LJkpuZ2F3GWrB6TLycwy4A

Co-authored-by: Claude <noreply@anthropic.com>
2026-09-20 07:44:27 -07:00
CatoandClaude e54d9d468f feat(propose): a link that carries context lands on a form that kept it (#172)
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>
2026-09-20 05:59:10 -07:00
CatoandClaude Opus 5 2667bebf67 chore(agents): commit the block next dev regenerates (#171)
`next dev` writes a <!-- BEGIN:nextjs-agent-rules --> section into AGENTS.md
on every run via generate-agent-files.js, so any session that starts a dev
server gets a dirty tree it did not create. Two PRs this week had to strip it
before committing, which does not help the next one — the generator just writes
it again.

Committing it is the generator's own advice and ends the churn. The content is
also true and worth having: this Next version differs from what a model was
trained on, and the docs it points at ship in node_modules.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 07:28:01 -07:00
CatoandClaude Opus 5 9d3559adbe chore(i18n): retire the localization that was never wired up (#170)
`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>
2026-09-17 06:50:59 -07:00
CatoandClaude Opus 5 2e6780520a fix(governance): make the approval floor visible instead of a dead ternary (#169)
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>
2026-09-17 05:57:18 -07:00
CatoandClaude Opus 5 456555bb40 feat(governance): teach the art and science of governance from the product's own code (#168)
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>
2026-09-17 05:41:49 -07:00
CatoandClaude Opus 5 5116194283 docs(agents): name the plane Solon is, and point at the entity producer (#167)
Solon is the governance plane of an entity, and nothing in this repo said what an entity is. An entity is anything that can hold a wallet and is better for holding one — a test rather than a list, which is what keeps the list open in principle.

The list itself has one producer, orangecat/src/config/entity-registry.ts, where every type now carries wallet: { holds, why } under a ratchet test (bitbaum/orangecat#1071). It is deliberately NOT restated here: three copies of that list lived in orangecat's own agent-read docs and all three had drifted, one naming a type that has never existed.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 04:55:54 -07:00
CatoandClaude Opus 5 bd72e5ace0 feat(orgs): anyone may found an organization; everything after is voted (#166)
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>
2026-09-17 00:43:15 -07:00
CatoandClaude Fable 5.1 b67dfa6d45 refactor(governance): one SignatureStep for claim-seat and file-proposal (#165)
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>
2026-09-14 23:04:10 -07:00
CatoandClaude Fable 5.1 4129000d30 feat(policy): originator_share v1 — value routing to originators by default (#164)
"Anyone can join the cat or steal the cat" only pays the originator if the
system routes something back without anyone remembering to. This seeds the
rule as a governed Solon artifact for organization #1: 10% of a product's
net revenue to the originators of the code it is built from — the repository
and every shared package it adopts — equal per originator, monthly, in BTC,
on a public ledger. Who originated what is read from the fleet's origin
register (derived from OpenTimestamps proofs), never typed into the policy.

src/lib/domain/originator-share.ts is the deterministic integer split anyone
can recount from public numbers; its genesis contentHash is pinned so
OrangeCat can re-derive it. v1 is a bootstrap like allocation_policy v1;
every later version needs an APPROVED ALLOCATION_POLICY session.


Claude-Session: https://claude.ai/code/session_01DzY8KuwgUM7u95GVTpRL2m

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-14 22:06:23 -07:00
dependabot[bot] 6230c0bbb3 deps: bump lucide-react from 1.41.0 to 1.45.0 (#163)
Bumps [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) from 1.41.0 to 1.45.0.
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/1.45.0/packages/lucide-react)

---
updated-dependencies:
- dependency-name: lucide-react
  dependency-version: 1.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-14 07:45:41 -07:00
dependabot[bot] 894936e9ba deps: bump @types/node from 26.4.1 to 26.5.1 (#162)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 26.4.1 to 26.5.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.5.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-14 07:40:00 -07:00
dependabot[bot] b2591a534e deps: bump @playwright/test from 1.62.1 to 1.63.0 (#161)
Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.62.1 to 1.63.0.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.62.1...v1.63.0)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-version: 1.63.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-14 07:34:07 -07:00
dependabot[bot] f6a59ac6bf deps: bump react and @types/react (#160)
Bumps [react](https://github.com/react/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together.

Updates `react` from 19.2.8 to 19.3.0
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.3.0/packages/react)

Updates `@types/react` from 19.2.18 to 19.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-version: 19.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: react
  dependency-version: 19.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-14 07:28:18 -07:00
dependabot[bot] e3306ac8e6 deps: bump eslint from 10.9.1 to 10.10.0 (#159)
Bumps [eslint](https://github.com/eslint/eslint) from 10.9.1 to 10.10.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.9.1...v10.10.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 10.10.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-14 07:22:22 -07:00
dependabot[bot] 8dc1361192 deps: bump zod from 4.5.4 to 4.6.2 (#158)
Bumps [zod](https://github.com/colinhacks/zod) from 4.5.4 to 4.6.2.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v4.5.4...v4.6.2)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.6.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-14 07:16:25 -07:00
CatoandClaude Fable 5.1 74843fbf71 chore: rename FleetCrown to Loki (#157)
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>
2026-09-13 16:25:55 -07:00
CatoandClaude Opus 5 6f1988d602 fix(ci): a commit must not cancel another commit's run (#156)
The concurrency group was keyed by branch with cancel-in-progress, so a
newer merge cancels an older commit's CI — and every deploy path keys off
that run. One that waits for CI to pass on the commit finds a cancelled run
and stops. One chained on workflow_run sees conclusion=cancelled and skips.

auto-merge also re-arms CI with a dispatch, and under one group-per-branch
that dispatch cancels the push run for the SAME commit.

Measured across the fleet on 2026-09-11: 28 of 39 ci.yml files had this
shape. It broke two repos that day, in the two ways it can break.
fleetcrown failed silently — Deploy skipped, four merges sat on main with
every check green and nothing red while the box served the previous build,
each needing a hand-dispatched deploy. hirnli failed loudly, erroring at
its wait-for-CI step, which is the better outcome because somebody sees it.

Keying main per commit lets both runs finish, so whatever the deploy path
looks for is there. Branch behaviour is unchanged: the newest push is still
the only one that matters there.

The templates this was copied from are fixed in bitbaum/fleet#53, which
also adds a ci-strands-commits rule to the hygiene audit so the remaining
repos are found by a sweep rather than by an outage.


Claude-Session: https://claude.ai/code/session_018Z7YRpgsEtNjRqr1usHMQY

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-11 14:34:33 -07:00
CatoandClaude Opus 5 d489b33515 ci(auto-merge): hand the sweep a PAT so workflow PRs stop stalling (#155)
GITHUB_TOKEN cannot merge a PR that touches .github/workflows. The sweep tries,
the merge API refuses, it logs "leaving for the next sweep", and repeats — while
still exiting 0. So the failure is invisible: every run reports success and the
PR simply never merges.

That is not hypothetical. ai-kit #11 (bump actions/checkout) sat green, CLEAN
and MERGEABLE for nine days; aoz-housing #122 (bump actions/upload-artifact)
for nine more. Both had to be merged by hand today. Every Dependabot
`github_actions` bump in the fleet is in this class, permanently.

A PAT fixes a second thing that costs more: THROUGHPUT. A dispatch made with
GITHUB_TOKEN emits no workflow_run, so after each merge nothing wakes the sweep
to take the next PR — it waits for the cron, and GitHub throttles scheduled
workflows to roughly hourly regardless of what the cron says. Observed in
fleetcrown: sweeps ~50-65 minutes apart against a */10 schedule. A PAT-created
dispatch does emit workflow_run, so the queue drains at CI speed instead.

The reusable workflow has always supported this — GH_TOKEN is
`secrets.token || github.token`. This just passes it.

SAFE BEFORE THE SECRET EXISTS: an undefined secret resolves to empty, and the
fallback picks github.token. So this changes nothing until FLEET_PAT is created
as an organisation secret, and needs no second pass afterwards.


Claude-Session: https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-07 15:57:15 +00:00
dependabot[bot] c558737d33 deps: bump postcss from 8.5.26 to 8.5.28 (#153)
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.26 to 8.5.28.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.26...8.5.28)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.28
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 15:11:18 +00:00
dependabot[bot] 9423f84353 deps: bump @noble/secp256k1 from 3.1.0 to 3.2.0 (#152)
Bumps [@noble/secp256k1](https://github.com/paulmillr/noble-secp256k1) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/paulmillr/noble-secp256k1/releases)
- [Changelog](https://github.com/paulmillr/noble-secp256k1/blob/main/CHANGELOG.md)
- [Commits](https://github.com/paulmillr/noble-secp256k1/compare/3.1.0...3.2.0)

---
updated-dependencies:
- dependency-name: "@noble/secp256k1"
  dependency-version: 3.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 14:43:29 +00:00
dependabot[bot] 31cac38e64 deps: bump @scure/base from 2.3.0 to 2.4.0 (#151)
Bumps [@scure/base](https://github.com/paulmillr/scure-base) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/paulmillr/scure-base/releases)
- [Changelog](https://github.com/paulmillr/scure-base/blob/main/CHANGELOG.md)
- [Commits](https://github.com/paulmillr/scure-base/compare/2.3.0...2.4.0)

---
updated-dependencies:
- dependency-name: "@scure/base"
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 14:39:13 +00:00
CatoandClaude Opus 5 a5e0391786 ci(auto-merge): call the fleet sweep instead of carrying a stale copy of it (#154)
This repo shipped its own scripts/ci/auto-merge-sweep.sh: 297 lines against the
canonical's 446, differing on 149. Every fix that landed in bitbaum/fleet since
the copy was taken reached here never — which is the whole reason SHARED.md
tracks this duplication as a ratchet rather than as advice.

Auto-merge did not appear broken, and that is the point: a sweep merges what it
can and exits 0, so a copy missing a third of the canonical looks exactly like a
working one until the missing third is what you needed.

The concrete gain is the DEPLOY RECONCILER. The old copy listed deploy.yml in
REARM_WORKFLOWS, which dispatches it once and cannot tell whether the deploy
actually landed. The canonical compares main's tip against the last successful
deploy and re-dispatches when they differ, so a deploy that never fired — or
fired and failed — is retried on the next sweep instead of leaving a commit
merged-but-not-live. That failure is invisible without it: CI green, PR merged,
box unchanged.

Also gained: checks:read + statuses:read on the caller. Public repos do not need
them, so their absence is silent here — but the caller is now identical to every
other repo's, which is what makes the next fix a one-file change.

What stays local is only what genuinely varies: the workflow_run trigger must
name the CI workflow exactly as its own `name:` field spells it, and the
schedule. Everything else is inputs.

Verified: the generated YAML parses, resolves to
bitbaum/fleet/.github/workflows/auto-merge-sweep.yml@main, and passes
base_branch / ci_workflow / rearm_workflows / deploy_workflow — all four
confirmed against the reusable workflow's declared inputs. No file outside the
workflow still references the removed script.

NOTE: this PR touches .github/workflows, which GITHUB_TOKEN cannot merge, and
scheduled sweeps read the workflow from the default branch. It needs one
hand-merge; after that the sweep here is the shared one.


Claude-Session: https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-07 07:38:00 -07:00
dependabot[bot] e00a5f4c3e deps: bump tsx from 4.23.12 to 4.23.13 (#150)
Bumps [tsx](https://github.com/privatenumber/tsx) from 4.23.12 to 4.23.13.
- [Release notes](https://github.com/privatenumber/tsx/releases)
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs)
- [Commits](https://github.com/privatenumber/tsx/compare/v4.23.12...v4.23.13)

---
updated-dependencies:
- dependency-name: tsx
  dependency-version: 4.23.13
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 14:36:12 +00:00
dependabot[bot] f6ab39b83f deps: bump puppeteer from 25.9.0 to 25.10.0 (#149)
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 25.9.0 to 25.10.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v25.9.0...puppeteer-v25.10.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-version: 25.10.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 14:32:07 +00:00
dependabot[bot] 58a5c45809 deps: bump next from 16.3.3 to 16.3.4 (#146)
Bumps [next](https://github.com/vercel/next.js) from 16.3.3 to 16.3.4.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/compare/v16.3.3...v16.3.4)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 16.3.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 14:28:21 +00:00
dependabot[bot] e26b58ca12 deps: bump @types/node from 26.4.0 to 26.4.1 (#147)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 26.4.0 to 26.4.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.4.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 14:25:45 +00:00
dependabot[bot] 288de6b39b deps: bump lucide-react from 1.35.0 to 1.41.0 (#148)
Bumps [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) from 1.35.0 to 1.41.0.
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/1.41.0/packages/lucide-react)

---
updated-dependencies:
- dependency-name: lucide-react
  dependency-version: 1.41.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 14:24:30 +00:00
dependabot[bot] 4cf421916d deps: bump @types/react-dom from 19.2.5 to 19.2.7 (#145)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 19.2.5 to 19.2.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-version: 19.2.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 14:21:38 +00:00
dependabot[bot] efed313f30 deps: bump vitest from 4.1.11 to 5.0.0 (#144)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 4.1.11 to 5.0.0.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.0/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 5.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 14:20:21 +00:00
dependabot[bot] c557f12ce2 deps: bump zod from 4.4.3 to 4.5.4 (#143)
Bumps [zod](https://github.com/colinhacks/zod) from 4.4.3 to 4.5.4.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v4.4.3...v4.5.4)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.5.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 14:18:37 +00:00
dependabot[bot] b15c3edc75 deps: bump eslint-config-next from 16.3.3 to 16.3.4 (#142)
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 16.3.3 to 16.3.4.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/commits/v16.3.4/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-version: 16.3.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 14:17:21 +00:00
dependabot[bot] c9cdc7356a ci: bump actions/cache from 4 to 6 (#141)
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-07 14:15:39 +00:00
CatoandClaude Opus 5 b96be51e5a ci: cache Next's build output in the job that actually builds (#140)
Next keeps its compiler output in .next/cache and nothing restored it, so every
CI run recompiled the whole app from scratch.

Measured across the fleet on 2026-09-07: of eight repos, exactly one cached this
in CI. 14 repos built cold; ten adopted the step today and this is one of the
four that needed reading rather than a regex.

This repo has TWO install steps, which is why a mechanical sweep correctly
declined it: `verify` installs and builds, `integration` installs and never
compiles. The cache goes in `verify` only — in `integration` it would restore
an entry nothing reads.


Claude-Session: https://claude.ai/code/session_01G2LBioUzJP4oBL9LeH9qAe

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-07 14:01:04 +00:00
c05b239838 chore(deps): @fleet/design-tokens from git tag to npm @bitbaum/design-tokens@^1.1.0 (#139)
Alias keeps the @fleet/design-tokens import name; zero source edits. The
fresh npm package is exempted from the minimum-release-age window; the
lockfile loses its last codeload entry.


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>
2026-09-05 15:30:40 +00:00
6e01146bfe docs: sync docs with actual stack (#138)
Fix drift proven against package.json, the tree and the live site:

- TypeScript 5.5 -> 6.0 (README badge + stack table, AGENTS.md; ^6.0.3 in
  package.json, 6.0.3 in pnpm-lock.yaml)
- Tailwind CSS 3.4 -> 4 (package.json 4.3.3), and tokens no longer live in
  src/app/globals.css — they come from @fleet/design-tokens (README,
  AGENTS.md stack + design sections)
- verify description now includes format:check, matching the actual script
  (README, AGENTS.md, .claude/CLAUDE.md)
- README pages list: /why was deleted in #90 (404 live); replaced with the
  real /join, /propose, /proposals pages
- README domain list: add membership and org modules that exist in
  src/lib/domain/
- docs/TOWNSISM.md: stop claiming the site speaks the thesis at /why


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>
2026-09-04 13:56:43 +00:00
f59996b6ea chore: pnpm — the fleet has one package manager (#137)
* chore: pnpm — the fleet has one package manager

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

* fix: declare espree — pnpm's strict layout exposes the phantom dep

eslint.config.mjs imports espree directly; npm's flat hoisting provided it
by accident, pnpm does not. CI caught it (ERR_MODULE_NOT_FOUND).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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>
2026-09-04 00:33:33 +00:00
0708055501 refactor(db): Prisma → Drizzle — the fleet has one ORM (#136)
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>
2026-09-01 22:28:36 +00:00