Commit Graph
18 Commits
Author SHA1 Message Date
CatoandClaude Sonnet 5.5 33d8a690cd Statistics: coded assessments and the compulsion dimension (#453)
* feat(statistics): the law beside the numbers — series, law links, timelines, axes, saved views

Implements the roadmap section {#stats} (docs/design/2026-11-freedom-laws-statistics.md):

- Series as facts: a `statistic` block on metrics (definition, publisher,
  series code); World Bank (WDI API) and OECD (SDMX) adapters; five series
  for CH, LI, EE and US, read monthly; a publisher's 5xx is retried twice.
- An append-only `statistic_records` log for law links, events and
  enforcement, written from a curated, source-checked list by
  `statistics:sync` and the daily places cron; three links checked against
  Fedlex and Riigi Teataja.
- /statistics (ranked bars, axes with reader or group weights),
  /statistics/<metric> (line chart, a timeline of linked acts' versions over
  the same years, the law, enforcement, sources), /statistics/view/<sha256>;
  on @bitbaum/chartkit; five languages.
- Saved views under the sha256 of their spec; a proposal that links one
  carries it as evidence (proposal_evidence), attached in the same
  transaction.
- Roadmap and changelog updated; what remains is listed with its reason.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92

* feat(statistics): law event pages, clickable timelines, maps, scatter, parallel coordinates, reader-built axes

- Events: what changed (wording before/after), how it came about, votes with
  party breakdowns, who initiated/sponsored/recommended/opposed, claims and
  critiques kept apart from what happened, each line with the page it was read
  on; five loaded (Estonia 2023, US TCJA 2017, two Swiss firearms ballots,
  Kennesaw 1982). /statistics/event/<slug>, /statistics/events; timeline marks
  open them; the numbers around an event (line cut at the change, peers apart,
  a before/at/after table).
- Numbers that mean the same everywhere: central-government-only series
  retired for all-levels OECD series; a per-statistic scope sentence; central
  share of tax as a decentralisation proxy; SDMX series told apart by `match`.
- A world map per statistic on geo-kit, /statistics/compare scatter, parallel
  coordinates per axis, a reader-built axis kept in the link, saved axes.
- Fetch: four retries with backoff and a pause between a source's requests.
- Tests, roadmap, changelog and design note updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92

* feat(statistics): coded assessments and the compulsion dimension

A rubric registry and an assessment record kind in the append-only log.
A coding names its rubric version, a point of the written scale, the
provisions and quotes it was read from, a confidence and its reason, and
is settled only when someone other than the coder has reviewed it.
First codings, from statutes: compulsory military service in CH, EE, US.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92

* feat(statistics): coded assessments and the compulsion dimension

A rubric registry and an assessment record kind in the append-only log.
A coding names its rubric version, a point of the written scale, the
provisions and quotes it was read from, a confidence and its reason, and
is settled only when someone other than the coder has reviewed it.
First codings, from statutes: compulsory military service in CH, EE, US.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-09 10:06:14 +01:00
CatoandClaude Sonnet 5.5 c50c65fffa Statistics: law, practice and outcome as layers, data-integrity plumbing, and the freedom framework (#452)
* feat(statistics): the law beside the numbers — series, law links, timelines, axes, saved views

Implements the roadmap section {#stats} (docs/design/2026-11-freedom-laws-statistics.md):

- Series as facts: a `statistic` block on metrics (definition, publisher,
  series code); World Bank (WDI API) and OECD (SDMX) adapters; five series
  for CH, LI, EE and US, read monthly; a publisher's 5xx is retried twice.
- An append-only `statistic_records` log for law links, events and
  enforcement, written from a curated, source-checked list by
  `statistics:sync` and the daily places cron; three links checked against
  Fedlex and Riigi Teataja.
- /statistics (ranked bars, axes with reader or group weights),
  /statistics/<metric> (line chart, a timeline of linked acts' versions over
  the same years, the law, enforcement, sources), /statistics/view/<sha256>;
  on @bitbaum/chartkit; five languages.
- Saved views under the sha256 of their spec; a proposal that links one
  carries it as evidence (proposal_evidence), attached in the same
  transaction.
- Roadmap and changelog updated; what remains is listed with its reason.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92

* feat(statistics): law event pages, clickable timelines, maps, scatter, parallel coordinates, reader-built axes

- Events: what changed (wording before/after), how it came about, votes with
  party breakdowns, who initiated/sponsored/recommended/opposed, claims and
  critiques kept apart from what happened, each line with the page it was read
  on; five loaded (Estonia 2023, US TCJA 2017, two Swiss firearms ballots,
  Kennesaw 1982). /statistics/event/<slug>, /statistics/events; timeline marks
  open them; the numbers around an event (line cut at the change, peers apart,
  a before/at/after table).
- Numbers that mean the same everywhere: central-government-only series
  retired for all-levels OECD series; a per-statistic scope sentence; central
  share of tax as a decentralisation proxy; SDMX series told apart by `match`.
- A world map per statistic on geo-kit, /statistics/compare scatter, parallel
  coordinates per axis, a reader-built axis kept in the link, saved axes.
- Fetch: four retries with backoff and a pause between a source's requests.
- Tests, roadmap, changelog and design note updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-09 09:40:57 +01:00
CatoandClaude 36536730c5 Light theme: follow the device, or the reader's pick in the header (#414)
Solon was pinned to dark. The shared tokens already carry both themes
(:root light, .dark overrides), so this decides which one is on:

- src/components/theme/: the choices, a head script that sets the `dark`
  class, `data-theme` and `color-scheme` before the first paint (no flash),
  and a header toggle (Light / Dark / Device) kept in localStorage. No
  framework or Solon name in theme.ts, so it can move into
  @bitbaum/design-tokens ({#theme-package}).
- <html> drops the pinned class and carries suppressHydrationWarning.
- Photographs stay dark on purpose: FullBleed and AudienceTile wear `dark`,
  and the transparent header over a page that opens on a photograph does
  too (HEADER_OVER_PHOTO_ROUTES, held to the pages by a test).
- Bands that used bg-surface-public (near-black in both themes) use a new
  `.band`: the public surface in dark, white in light. The footer too.
- bip-kit's variables are set in both themes, not only under html.dark.
- The law globe reads its tokens again when <html>'s class changes.
- text-white and text-green-400 replaced by tokens.
- Toggle words in all five languages; e2e check of device, pick and reload.
- Docs: ui-guidelines theme section, CLAUDE.md, AGENTS.md, README, ROADMAP
  {#themes}, CHANGELOG {#theme-light}.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-08 08:38:24 +01:00
CatoandClaude Opus 5.5 22744ace39 docs: correct drift — tokens package, routes, accounts since #269 (#271)
* docs: correct drift in agent docs, README, roadmap and content

- Design tokens: the package is bitbaum/design-tokens, published as
  @bitbaum/design-tokens; Solon installs it as @fleet/design-tokens, Loki
  depends on it, OrangeCat does not (its globals.css mirrors values).
- verify includes check:places-literals; CI's verify job also runs the
  vendored-drift check, the ratification warning and the build.
- Next.js 16.4, five languages, beta wording, five properties.
- README API and page lists now match src/app (places API, members/register,
  cron, member pages, places, compare, faq, blog, roadmap, changelog, ...).
- Accounts after #269: Solon has its own accounts; OrangeCat is one way in
  (ROADMAP, FAQ, whitepaper, plan, uniform-auth superseded note).
- Member pages shipped; .env.example gaps named; ui-guidelines nav notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD

* docs(env): list CRON_SECRET and ORANGECAT_URL in .env.example

Both are read by the code (api/cron/places, lib/orangecat-group.ts) and were
missing from the example.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 12:04:17 +02:00
CatoandCursor 62afbef593 feat(places): the map on /places — communes coloured by the tax at your income, with address search and a list (#240)
* 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>
2026-09-30 16:21:49 -07:00
CatoandCursor 3f432fb31f feat(places): import commune boundaries and publish them for maps (#238)
* feat(places): import commune boundaries and publish them for maps

swisstopo's swissBOUNDARIES3D edition becomes areas with administers
assertions and one content-addressed TopoJSON file, served with a
geo-kit manifest at /api/v1/places/geography.

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs: changelog PR number

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(deps): declare @types/geojson

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-30 15:09:50 -07:00
CatoandCursor de4c161c46 feat(content): whitepaper, questions and answers, and a blog on bip-kit 0.5 (#227)
The deep side gets its long-form pages: /whitepaper, /faq and /blog,
read from content/ with bip-kit 0.5's readEntry, readCollection and Faq,
prerendered as static pages and themed through the shared tokens.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-30 07:22:49 -07:00
CatoandCursor e5933c0126 feat(ui): everyday pages in plain words, technical details one click away (#226)
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>
2026-09-30 06:27:05 -07:00
CatoandCursor 15ab13bfe1 fix(ui): decisions pages share one layout and speak plain words (#224)
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>
2026-09-30 05:45:15 -07:00
CatoandClaude Opus 5.5 1783c8cd72 feat(i18n): Solon in five languages — English, German, French, Italian, Russian (#189)
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>
2026-09-25 02:52:33 -07: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
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
9ba0d54ebc chore: finish the move to the bitbaum org, and make verify honest again (#135)
* chore: the org is bitbaum now, so the links should say so

cd61f82 moved the deploy workflow to bitbaum/fleetcrown but stopped there.
Everything else still named catomean: the "view source" links on /about and
/security, the three URLs in ecosystem.ts behind them, the clone command in
the README, the design-tokens git dependency in package.json, and the
incident notes in the auto-merge sweep.

None of it is broken today only because GitHub 301-redirects a renamed org.
That redirect dies the moment anyone claims the catomean name, and it is not
a guarantee to hang a dependency resolution on. npm ci resolves the new URL
at the same commit sha, so the lockfile integrity is unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S8e9btkzguNLS4b6ShGQ9H

* fix(verify): the local gate failed on files CI never sees

`npm run verify` is the contract: green locally means green in CI. It was not.
Two kinds of file that exist on a developer machine and never in CI were
inside the gate's scope.

The harness checks this repo out a second time under .claude/worktrees/<branch>/
for concurrent sessions. Git treats that as a separate worktree, but prettier,
eslint and tsc read it as ordinary files — so `prettier --check .` failed on 88
files belonging to another branch, and tsc would have compiled that branch's
half-finished code into this branch's verdict. .claude/settings.local.json is
per-machine agent config, ignored only by the user's global gitignore, so
prettier checked a file the repo does not even own.

Both are now out of scope for all three tools, and both are ignored by this
repo rather than by whatever the developer happens to have in ~/.config/git.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S8e9btkzguNLS4b6ShGQ9H

---------

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-01 06:07:07 +02:00
Mao Nakamoto af4df96005 chore(ci): GitHub owner maonakamoto -> catomean 2026-08-27 19:18:43 +02:00
GandClaude Opus 5 7d3dc0c44f design: one design SSOT for the stack, and a serif that means something (#81)
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>
2026-08-14 11:08:23 +00:00
GandClaude Opus 5 c6f4258e8d design: give Solon x.ai's spatial discipline, keeping the family palette (#79)
* design: give Solon x.ai's spatial discipline, keeping the family palette

#77 made Solon look like its siblings. It still read as compressed next to the
reference: the hero headline broke onto three lines inside a 768px column, every
section carried its own `py-20 sm:py-28` guess, and headings topped out at
text-4xl.

Colour is deliberately untouched. #ff5c00, the surface ramp and the type
families stay exactly as OrangeCat defines them — the three products still have
to read as one company. What is borrowed from x.ai is pace, not palette.

Pace and display size are now tokens, because "how much air does a section get"
is one decision and not a per-section guess — that is how a page ends up with
six slightly different rhythms:

  --section-py        clamp(5rem, 9vw, 9rem)     py-section
  --section-py-tight  clamp(3.5rem, 6vw, 6rem)   py-section-tight
  --text-display-1    clamp(2.75rem, 5.4vw, 4.5rem)
  --text-display-2    clamp(2rem, 3.4vw, 3rem)
  --text-display-3    clamp(1.5rem, 2vw, 1.875rem)

Fluid, so one confident size resolves itself per viewport instead of three
breakpoint variants per heading.

Measured rather than eyeballed, at 1440: the h1 goes 60px/3 lines to 72px/2
lines, hero padding 80px to 129.6px. The two-line break needed the hero column
widened to max-w-5xl — and that showed the h1's own `max-w-hero` never bound,
so the token is gone rather than left in place doing nothing.

`page-layout.tsx` is the shell every content page renders through, so the new
rhythm reaches /about, /features, /security and the rest from one edit.

Cards take hairline borders (border-subtle, hovering to border-default) and
p-10, and the public backdrop is dialled down — glow 0.10 to 0.07, grid stroke
0.04 to 0.025, cell 80px to 96px. Same effect, same token names as FleetCrown,
felt rather than read.

Verified: `npm run verify` green (33 tests), rendered at 1440 and 375 — no
horizontal scroll, no overflowing element, h1 lands on its 44px clamp floor.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* docs(ui): document the rhythm and display tokens

The guidelines were rewritten one commit before these tokens existed, so they
already described a system with no answer to "how much padding does a section
get". Adds the five utilities, and the rule the hero measurement taught: a
headline takes its width from its column, never from a max-width of its own.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 01:58:00 +00:00
GandClaude Opus 5 0c3e63d7a3 docs: make the repo describe the Solon that exists (#78)
The README documented a product that was replaced. Of the four "pillars" it
described, three referenced Prisma models that do not exist — BitcoinTransaction,
BudgetAllocation, Decision, ServiceRequest, ServiceBid. It claimed 10 models
(there are 9), an `xpub` field for multi-sig derivation, BigInt satoshi amounts,
a five-metric "Transparency Engine", and five components including
`lib/transparency-engine.ts` — none of which are in the tree. Its route map
listed `/api/bitcoin/wallet/[orgId]` and `/api/voting/[sessionId]/cryptographic-vote`;
the real API is `/api/orgs/{slug}/*`, `/api/proposals`, `/api/sessions/{id}/*`
and `/api/v1/decisions/{sessionId}`. Auth was not mentioned at all. The clone
URL was `your-org/solon`.

Reality, from the schema and `src/lib/config/governance.ts`: Solon is the
governance rail for the OrangeCat stack. Proposals become voting sessions,
members (HUMAN or AGENT) cast Bitcoin signed messages, closing writes a decision
plus a policy version and an audit event, and the treasury is watch-only — a
label and an address, with no amount field and no path that can spend. Four
categories are constitutionally humans-only. The README now says that.

Also removed, all unreferenced:
- `docs/MIGHTVILLE.md`, `docs/DEYVILLE.md`, `docs/dottown-town-profiles.json` —
  idea capture from June for a movement/rename that did not happen. Copied to
  ~/ideas/, which is the SSOT for ideas; a product repo is not.
- `docs/CODEX.md`, `docs/GEMINI.md` — near-identical copies of AGENTS.md, last
  touched 2026-01-08. AGENTS.md is the cross-tool standard and is now the SSOT.
- `ralph.sh` + `PROMPT.md` — a task runner whose header still reads "Ralph Loop
  for Revamp-Hirn"; never adapted, superseded by FleetCrown dispatch.
- `test-results/.last-run.json` — a Playwright artifact that was tracked.

Fixed docs that would actively mislead an agent:
- `docs/development/ui-guidelines.md` listed the navy palette #77 just deleted.
  It now names no colours at all and points at globals.css as the token SSOT.
- `.cursor/rules/` gave `bg-navy text-solon-orange` as the CORRECT example —
  that fails `design:check` today — and described a Marketplace nav section and
  a Transaction interface that do not exist.
- `AGENTS.md` said the theme was "Bitcoin-orange + navy", that `.env` holds
  BTCPAY_*/BITCOIN_*/Clerk keys (it is NextAuth), that verify was lint+typecheck
  (it is lint+typecheck+design:check+test), that build was not gated in CI (it
  is), and that CI never touches a database (the integration job replays
  migrations against a fresh one).

Added `.env.example` — every variable the code reads, with the AUTH_URL-behind-a-
proxy trap called out. `.gitignore` needed `!.env.example` to not swallow it.

SECURITY.md now leads with the custody model, since "no keys, no funds, no
rewritable history, a decision is evidence not authority" is the product's
actual security claim.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 01:31:21 +00:00
g-butandClaude Opus 4.5 d56893467f chore: add agentic development files
Add universal AI agent configuration:
- AGENTS.md - Universal guide for all AI agents
- .claude/CLAUDE.md - Claude Code specific
- .cursor/rules/*.mdc - Cursor IDE rules

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 00:21:00 +01:00