Commit Graph
8 Commits
Author SHA1 Message Date
CatoandClaude 5141bbe9c7 Blog: a table in each post (the media rule) (#523)
Claude-Session: https://claude.ai/code/session_019MDtmvPuHDQeZwXtasWfSx

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-10 14:38:26 +01:00
CatoandClaude f3aa7f16ed Blog: states through time, what-ifs, and Scythia as a network state (#522)
Two posts and two Later roadmap sections:
- "States through time, and states that never were": the atlas set to a past
  date, and forked counterfactual scenarios. Nothing built yet.
- "Scythia: notes toward a network state", by Cato.
- ROADMAP: {#time} and {#whatif} under Later, all milestones open.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-10 14:31:53 +01:00
CatoandClaude e1476751bf Places: the United States, Wyoming's counties and the 2026 federal income tax (#426)
The pack `united_states` holds nation, state and county. The nation, all
fifty states and the District of Columbia come by state FIPS code from the
Census Bureau's state list (state.txt), each with its ISO 3166-2 code (US-WY),
which is how the law registry keys a state; Wyoming's 23 counties come by
five-digit FIPS code with the names of the Bureau's 2020 county list. The
script scripts/places-us-census.ts writes the batches, so another state's
counties are a rerun with its postal code: data, not code. New identifier
schemes: iso_3166_2, us_state_fips, us_county_fips. New licence:
LicenseRef-us-federal-work (17 U.S.C. § 105).

Boundaries: the same script cuts Wyoming's counties out of us-atlas's
TopoJSON (Census cartographic boundary file, 2017 edition) into a fixture
batch with its geometry, so opening the United States on the atlas draws
them.

Tax: the federal tax for 2026 from Rev. Proc. 2025-32, read on irs.gov:
§ 4.01 Tables 1 (joint) and 3 (single), and § 4.14(1), standard deduction
32,200 and 16,100. The model reads adjusted gross income, so each tariff is
its table moved up by the standard deduction, stating the table's tax at each
step; valid for 2026 only. Wyoming's own income tax is recorded as zero:
W.S. 39-12-101 keeps the field to the state, which levies none (Title 39,
chapter 12, read on wyoleg.gov; LSO, Wyoming Statutory Tax Structure, June
2025: 0 %). A state whose tariff is not recorded leaves the estimate
incomplete.

Switzerland's typo test now holds the order among Swiss places: Vermont and
the United States ("Vereinigte Staaten") now stand before Bern for "vern".

Checked in a production build: Laramie County's page with its chain,
FIPS code and source; Wyoming's with its ISO code and both sources; the
atlas drawing the 23 counties at $7,670 for an example $75,000 (single:
5,800 + 22 % of 8,500), on a desktop and a phone.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-08 10:40:21 +01:00
CatoandClaude 87eaa7ab8b Think a change through: the assistant on the amend page (#418)
While drafting a change to a law, the person can ask the assistant about
their own draft: what it would change, what would likely follow, who would
gain and who would bear a cost, where something like it is already law,
what is not known. /api/law/ask takes an optional `proposal` (bounded by
proposalSchema; the act's title and authority are read from the database).
With one, the planner is told what is being changed and to search every
place for precedents, the research step is asked for studies and
experience elsewhere, and the answer follows consult.ts's brief: cite
every claim, take no side, invent nothing, the proposal stays theirs. The
amend form sends its draft with each turn (the chat's transport is rebuilt
from the draft, which chatkit reads at send time).

The assistant's briefs (plan, refine, research, answer) now name every
place Solon holds and search each in its own language: Estonian for
Estonia, English for Wyoming, not German.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-08 09:26:25 +01:00
CatoandClaude Opus 5.5 a60e8d76cb One atlas: the globe and the Places map become one (#415)
* One atlas: the globe and the Places map become one

The home page's law globe and the Places map drew with the same geo-kit
renderer but were separate components with separate data. They are one
now (src/components/atlas): the Earth, every country Solon holds law for
shaded by how much, with a dot on each; a tap flies into the country and
draws its places on the same canvas (setShapes), coloured by tax at the
reader's income. Beside it a panel: the country's law with a link to read
and amend it, its places, the tax situation folded away, and its sources
under "Where this comes from". The address carries the country
(/places?in=ch). The home page shows the same atlas in preview: a tap opens
the country on /places.

The long chip lists of levels and the list of sources under the map are
gone from /places; without JavaScript the search form and one line per
country stand in.

The globe API now says which Places country a place is and whether its
places are drawn. Liechtenstein's communes get a boundary source from the
same swissBOUNDARIES3D layer (ICC LI). The Places map's boundary loader and
tax estimates move to drawn.ts and tax-layer.ts; law-globe.tsx,
places-map.tsx and map-canvas.tsx are removed.

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

* Atlas: name the level on the map on its own

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-08 08:59:04 +01:00
CatoandClaude Opus 5.5 7985d5a5bb feat(governance): each organization sets its own humans-only categories (#368)
* feat(governance): each organization sets its own humans-only categories

Which decision categories only people may vote on is now each
organization's own rule, not a platform rule (owner's decision,
2026-11-01).

- organizations.humans_only_categories (text[], not null) defaults to
  exactly the four categories that were hard-coded, so every existing
  and new organization decides as before. A check constraint keeps it
  to real DecisionCategory values. Migration 0019 also adds the
  ELECTORATE_CHANGED audit event type.
- DEFAULT_HUMANS_ONLY_CATEGORIES in config/governance.ts is the one
  default list; CATEGORY_ELECTORATE is gone, DEFAULT_CATEGORY_ELECTORATE
  is derived from the list.
- electorateFor(category, humansOnlyCategories) reads the organization's
  list; openSession passes it and still snapshots the electorate, so no
  past or open vote changes.
- New `humans_only` effect, paired with GOVERNANCE_RULES and applied on
  approval with an ELECTORATE_CHANGED audit event.
- Generic pages describe the default and say each organization can
  change it; the org page, /ecosystem and the proposal form use the
  organization's own list. Home copy updated in all five languages.
- Tests: default equals today's four, empty list opens GOVERNANCE_RULES
  to agents, a larger list blocks agents on the added category, effect
  schema and pairing, and the list changing only by decision.

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

* docs: humans-only categories are each organization's own rule

The owner overrode "red lines, not defaults to tune" on 2026-11-01.
Update .claude/CLAUDE.md, AGENTS.md, README, ROADMAP and the
whitepaper to say the four categories are the default every
organization starts with, changed by a GOVERNANCE_RULES decision.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-01 10:11:33 +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 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