Commit Graph
8 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 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
GandClaude Opus 5 45935a4a02 chore: add a formatter (#123)
* 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>
2026-08-31 08:15:49 +00:00
GandClaude 4b6e7f48e8 fix(honesty+design): the marketing site stops lying and starts converging (#70)
Full-page audit of all 12 pages found the site was two codebases in one
skin: the new honest pages (/ecosystem, /integration, governance/*) and
legacy marketing pages full of fabricated claims. This pass closes the gap:

Honesty
- about: fake team (Alex Chen / Sarah Martinez / David Kim) deleted, dead
  demo buttons replaced with real destinations; page now tells the true
  story and reuses the ecosystem SSOT
- security: full rewrite to the real model — no key custody, signed-message
  voting, append-only audit, self-verifying decisions. The fabricated
  multi-sig / zero-knowledge / anonymous-voting claims are gone
- features: truth pass — marketplace card deleted, every remaining item
  maps to running code; page gains real CTAs instead of dead-ending
- home: 'ON-CHAIN VERIFIED' badge removed, fake 'Sign In' replaced with
  'Open Dashboard', four governance areas now match the repo canon
  (Treasury / Voting / Decisions / Audit) with real links — the invented
  'Service Marketplace' pillar is gone from all four locales
- 'Pillars' is now reserved for the three-product stack; the home section
  is titled 'What Solon Governs', resolving the Three-vs-Four collision

Design
- four-pillars: server component, token colors (navy + bitcoin orange)
  replacing the off-system rainbow gradients, broken dynamic Tailwind
  class removed
- navigation: descriptions moved into the site-config SSOT (deleting ~20
  dead conditional branches), token classes throughout
- dashboard: overview is now a real server-rendered summary (latest vote +
  tally, treasury standing, recent audit events), tabs show active state,
  dark-on-white contrast bug (text-gray-300) fixed
- voting: closed sessions show the tally and decision document instead of
  a vote form the server would reject
- global token pass: [var(--navy)]-style arbitrary classes replaced with
  the mapped navy/solon-* utilities everywhere

verify green (lint, typecheck, 29 tests), build green, all pages smoke-
tested locally including visual review of home/about/security/dashboard.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-08-12 12:56:55 +00:00
GandClaude 4a6b49e82e feat(ecosystem): Solon takes its place as the governance pillar of the three-pillar stack (#68)
OrangeCat (economy) and FleetCrown (engineering) already integrate with
Solon at the protocol level — the Cat and Loki are registered voting
members, OrangeCat's allocation policy is governed here, and FleetCrown's
shared deploy workflow ships this app. None of that was visible on the
site. Now it is:

- src/lib/config/ecosystem.ts — SSOT for the three pillars; every claim
  in it is checkable against a running system
- /ecosystem — the three-pillar page: pillar cards, how a decision
  travels, the humans-only red lines (rendered from the governance
  SSOT), and the live governed state (members, active policies, recent
  proposals) read from the same database the public API serves
- nav gains an Ecosystem section; footer drops its dead links
  (/docs, /support, /legal/*, unrouted governance/treasury pages, a
  bare github.com) and gains real ecosystem + source links
- README and CLAUDE.md document the stack and its real ties


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-08-12 11:00:15 +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