The snapshot store held 17 GB on 2026-11-11, on a disk every site on the
box shares and that had reached 89%. Almost all of it is law text and
register pages: XML, HTML and JSON.
- FileSnapshotStore writes <sha256>.gz and hands back the same bytes; the
key is unchanged, and a snapshot written before this is still read
- snapshots:compress converts the existing files one at a time: compressed
aside, read back and checked against the sha256 in its name, renamed, and
only then is the plain copy removed. A file whose bytes do not match its
name is left alone and reported
- snapshots-compress.yml runs it on the box at lowest priority; it refuses
to write unless the live app's release receipt is on code that reads a
compressed snapshot. Dry run by default
- geometry files are served to browsers as they are and are not touched
Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq
Co-authored-by: Claude <noreply@anthropic.com>
- The page: a hero with where the place sits, its kind, name, status line,
headline facts and one main action (its constitution, else its law); below,
the law and what a resident can do beside the place at a glance, which no
longer repeats the hero. The same shape with or without a photograph.
- The places inside a place are photo tiles, the world index's tile, when most
have a photograph. The world index opens on the Earth from Apollo 17 and is
grouped by kind of place.
- Photographs for 9,296 places: places:photos --all reads every ISO 3166-2
subdivision, Swiss commune, US state and county Wikidata holds; a Swiss
canton's FSO number reaches its ISO code through a config crosswalk. Iran,
Tanzania, Appenzell Ausserrhoden and Jura chosen by hand.
- Solon serves the photographs itself (/api/place-photo, place_photo_bytes):
each Commons thumbnail read once, politely, kept across deploys. About one in
sixteen tiles came up black when the image optimiser hit Wikimedia's limits.
The places-data workflow reads the world list's photographs after a deploy.
- /credits pages through the place photographs.
- Fixed: the chat's "Thought for {time}" label threw a formatting error in
every language.
Claude-Session: https://claude.ai/code/session_019MDtmuJdjaMYdbLjujoC3k
Co-authored-by: Claude <noreply@anthropic.com>
- places:photos finds any place on Wikidata by its world entry or by an
identifier whose scheme names a Wikidata property (ISO 3166-1/-2, FSO
municipality, US FIPS), and chooses one free photograph from Commons:
the original of its Wikivoyage banner, its image, aerial or night view,
else a panorama as a strip. A person can replace any choice in one line.
- A full-screen hero on country, territory and subdivision pages: name,
kind, capital, population, area, and the photo's author and licence.
- A share card for every place (/api/og/place) with its photograph.
- /credits lists every place photograph; the world index is a wall of
photographs.
Claude-Session: https://claude.ai/code/session_019MDtmuJdjaMYdbLjujoC3k
Co-authored-by: Claude <noreply@anthropic.com>
- Kinds of place, by what each does (src/lib/config/world/kinds.ts): UN
member (un.org's list, with admission), observer, self-governing, territory,
proclaimed (one stated rule: Wikidata micronation, not dissolved, at least
30 Wikipedias: Sealand, Liberland, Molossia, ...), special jurisdiction
(Próspera), project (seasteading). They join the world list with pages,
law authorities (keyed by slug) and places in the law plan.
- `pnpm run world:profiles` writes every place's facts from Wikidata (CC0)
and the UN's list: data/world/profiles.json for pages, a small extras.json
for the map. Area: the preferred figure, else the smallest (Taiwan's
governed area, not its claim).
- A profile card on every country, territory, self-governing and proclaimed
place page: its kind in a neutral sentence, capital, population, area,
languages, currency, government, heads of state and government, UN
admission or founding, website, the way into its constitution and law,
and where the facts come from. Wikidata descriptions only for special
jurisdictions and projects (they can judge: "Scheinstaat").
- The map: "All places" or "Beyond the UN", shading and dots, and a list by
kind under the switch.
- Constitutions: the owner decided a law's text is never held back for want
of a recorded copyright provision (LicenseRef-official-law; the country's
own provision is cited where recorded). The copy reader follows indexes of
editions (only from a short page, only to the same document), reads a
constitution split into subpages whole, reads Markdown, cuts more article
forms (Art. 1º, Article premier, Roman numerals, § only without articles,
第一条, المادة/الفصل), and stops at a second printing. Liberland's
constitution from its own repository.
- docs/design/2026-11-world-of-jurisdictions.md; roadmap, changelog.
Claude-Session: https://claude.ai/code/session_019MDtmuJdjaMYdbLjujoC3k
Co-authored-by: Claude <noreply@anthropic.com>
- A law authority for every country of the world list: listed ones keep
their key; any other is its alpha-2 code, or alpha-3 where a canton holds
the two letters (fra, geo, bel).
- The plan as data (data/law/plan.json, src/lib/law/plan): per country,
the constitution in force by Constitute's index, candidate copies from
Wikidata, the source chosen by an unambiguous rule or by a person with a
reason, the provision of its own law that puts official texts outside
copyright, the national readers. `pnpm run law:plan seed` re-reads the
sources and keeps every person's decision; `pnpm run law:plan status`
counts progress from the database and derives each country's next step.
- One reader for any country's constitution (law:text plan-constitutions):
a Wikisource page through the REST API or any document copy (PDF/HTML),
cut into articles for many languages, stored as status `copy` with who
keeps it and the day read. Refused: no copyright basis recorded, too few
articles, or a copy naming no year since the last recorded amendment. A
copy attaches to the constitution a register already lists; a country
whose constitution is held from its publisher is left alone. Waits as
long as a 429 asks.
- Russia's Constitution (ru.wikisource, as amended in 2020: 137 articles
and the five inserted) and Ukraine's (the Constitutional Court's copy,
with the 2016 and 2019 amendments; uk.wikisource's was refused as older),
with their routes: Russia Art. 134-136; Ukraine Art. 93, 154-157 and the
people's referendum (Art. 72, 74). Licences: Russia Civil Code Art.
1259(6), Ukraine Law No. 2811-IX Art. 8(1)(3).
- The act page says whose copy a text is. Law sync runs Russia's register
and the plan's constitutions weekly.
- statistics sync test writes the metric it names, instead of relying on
another file having done so first.
- docs/design/2026-11-law-of-every-country.md; roadmap, changelog.
Claude-Session: https://claude.ai/code/session_019MDtmuJdjaMYdbLjujoC3k
Co-authored-by: Claude <noreply@anthropic.com>
* feat: one currency and one language for the reader; codes read from their Word files
Money: every amount on the budget and comparison pages is in the currency
the reader picks (?in=, CHF by default), converted at the budget year's
average rate, and the page says from what and whose rate. Rates are data
(data/money/rates.json, pnpm run money:rates): Eurostat's annual euro rates
for 151 currencies and, for the rouble after 2021, the Bank of Russia's
official rate averaged over the year. src/lib/money imports nothing from
Solon, ready to become the fleet's package. Eurostat budgets are now also
read in million euro beside the shares of GDP (generated from the same
taxonomies); a budget knows its GDP, so both show.
Language: a law in another language reads in the reader's, as a machine
translation labelled as one with the authentic text a click away. The
translations are a cache keyed by the sha256 of the words (text_translations,
migration 0030), each answer checked before it is kept (one per passage,
every number kept, no passage ballooned); titles in lists use it too, and
pnpm run law:translate fills titles ahead of readers. Places are named in
the reader's language when the data has the name (Tskhinval, not город
Цхинвал), their own names still listed.
Texts: a South Ossetian code printed as a page linking Word files is read
from the file worded as its text (never the contents file), with
word-extractor; --stubs reads again the acts held only as such a page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJdjaMYdbLjujoC3k
* feat(i18n,money): every page in the reader's language and one currency
- Money defaults to US dollars; the reader's choice is remembered site-wide
in a cookie (/api/preferences/currency) and used by budgets, contested
places and the structures comparison, which now adds the reader's
equivalent beside an amount quoted in its own currency.
- Configured words (statistics scales, tax forms, budget lines and their
COFOG/ESA labels, source attributions, publishers) get their other
languages from one catalog, data/i18n/config.json, keyed by the English.
localized() and cite() read it; a test fails while any text a translated
page shows lacks a language; pnpm run i18n:config reports gaps.
- Citations rewritten in English instead of mixed Russian/English; source
lists show the localized attribution; budget document captions read in
the reader's language with the original quoted below.
- The voting method lab and South Ossetia's legislative route translated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJdjaMYdbLjujoC3k
---------
Co-authored-by: Claude <noreply@anthropic.com>
Money: every amount on the budget and comparison pages is in the currency
the reader picks (?in=, CHF by default), converted at the budget year's
average rate, and the page says from what and whose rate. Rates are data
(data/money/rates.json, pnpm run money:rates): Eurostat's annual euro rates
for 151 currencies and, for the rouble after 2021, the Bank of Russia's
official rate averaged over the year. src/lib/money imports nothing from
Solon, ready to become the fleet's package. Eurostat budgets are now also
read in million euro beside the shares of GDP (generated from the same
taxonomies); a budget knows its GDP, so both show.
Language: a law in another language reads in the reader's, as a machine
translation labelled as one with the authentic text a click away. The
translations are a cache keyed by the sha256 of the words (text_translations,
migration 0030), each answer checked before it is kept (one per passage,
every number kept, no passage ballooned); titles in lists use it too, and
pnpm run law:translate fills titles ahead of readers. Places are named in
the reader's language when the data has the name (Tskhinval, not город
Цхинвал), their own names still listed.
Texts: a South Ossetian code printed as a page linking Word files is read
from the file worded as its text (never the contents file), with
word-extractor; --stubs reads again the acts held only as such a page.
Claude-Session: https://claude.ai/code/session_019MDtmuJdjaMYdbLjujoC3k
Co-authored-by: Claude <noreply@anthropic.com>
A tap inside Narva selected Russia: geo-kit's pickAt ignored layers, so
the coarse country listed first won. 0.7.0 picks the topmost layer, 0.8.0
strokes borders layer by layer. No change to src/components/atlas: the
layers the atlas already sets (countries 0, admin1 1, other 2, a
country's places 3) are what the fix follows.
Claude-Session: https://claude.ai/code/session_019MDtmsK7DLpfrBNHLWnWaM
Solon's mark now lives where the fleet's marks live (design-tokens 1.6.1,
`marks/solon.mjs`), the same data OrangeCat's tiles draw. mark.ts reads it
from the package, the icons and exports are written from it with the
package's own helpers (so Solon's icon has the fleet's proportions), and
brand/solon-mark.svg is gone. The test fails if an icon drifts from the
package or a drawing of its own reappears.
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
Co-authored-by: Claude <noreply@anthropic.com>
* feat(places): a globe that names the world, and zooms where you point
geo-kit 0.4.0 labels; countries, subdivisions (Natural Earth 1:10m) and
every place of 1,000+ people (GeoNames, CC BY 4.0) loaded a country at a
time; blue sea, land on the page surface, light and dark; credit line
names the sources and how to steer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* feat(statistics): how the rankings are made; one country registry
Nine indexes of freedom and governance described the same way, with
quoted licence terms, what is unread, the same critical questions per
kind, and checked AI explanation from what was read. Country codes for
the law globe, statistics map and OECD sources come from one registry
generated from Natural Earth; a test ties every named country to it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* fix(places): calm labels on geo-kit 0.5.0, towns actually drawn, land never drawn as sea
Quiet type hierarchy with room per style; zoom buttons kept clear;
subdivisions and states painted on their own layers; GeoNames towns were
loaded but never added to the labels (a patch had not applied), and the
loaders no longer drop a fetch when the view changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* feat(places): every country a place; governance scores for all
A world pack of 235 countries generated from the registry, World Bank
indicators for each and OECD tax series for its 38 members, staggered so
no publisher sees a burst; six World Bank governance scores (CC BY 4.0)
on a governance dimension; a rate fixed by law is no longer flagged for
staying put; the importer names itself and paces the OECD.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* feat(statistics): deep research with AI over Solon's data and law
A model with read-only tools (catalog, series, dimensions, methods, law,
and the web where configured) gathers numbered sources; the report is
written from them alone and checked: numbers, citations, paragraphs,
verdict words. Failing reports are dropped; sources stay listed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* fix(places): the world pack has one root, so countries are world/<name>
235 nations in one pack each claimed the root path; Andorra became
'world'. A root place (the Earth) now holds them, as other packs hold
their subdivisions.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* test(places): the world pack's data has one root
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* docs(roadmap): second-level subdivisions need a licence read per country
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* feat(statistics): code compulsory old-age provision for CH and US
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* fix(places): the OECD answers a plain request, not Node's default
Its gateway returned 500 for accept-language: * and 200 for a plain
language and a data type (found by trying headers one at a time; the
earlier rate-limit explanation was wrong). The importer now sends
accept and accept-language; the 6 s OECD pacing and the five-minute
stagger are gone.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* feat(statistics): what is measured, and where it is not
A registry and pages for the places where statistical offices collect and
publish different things: per topic and breakdown, what each office's own
pages say (checked weekly), the law that frames it, where a gap lies, what
must accompany a new measure, the objections with safeguards, who decides.
First topic: crime by a person's background, nine places; descriptive, no
characterisation of offices or people.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* feat(site): a header that fits, Find over everything, an engineering audit
Four panels of four or five links (Law, Places, Data, Governance) instead
of 27, a Find palette over pages, statistics, places and laws (Ctrl/Cmd+K
or /), the phone menu as folds. Six import cycles fixed and gated in
verify; docs/design/2026-11-engineering-audit.md records what was measured,
the one-source map and the debt in order.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* feat(brand): the owl, and one drawing behind every place the mark appears
Solon's mark is now Athens' little owl (the bird on the coins of Solon's
city) with the fleet's rotorelief rings for eyes: the Cat's sibling, where
the old balance was a line icon from no family.
brand/solon-mark.svg is the only drawing. `pnpm run brand` writes the
mark data (header, footer, share card), the favicon, the app icons and
the deck/press exports from it; a test fails when a copy drifts. The
candidates it was chosen over are in brand/concepts with the reasons.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* docs(brand): where the marks should live next, and why a copy remains
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* test(e2e): follow the curated header and the folded phone menu
The phone menu folds the site by section (only the current one opens), so
the test opens Platform before it looks for Security. The Governance
panel no longer carries the ideas page (the footer does); the panel test
follows Decisions instead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* refactor(law): name an authority by its place, in the reader's language
Law authorities hand-wrote 80 English names ("Confederation", "Zürich")
for places Places already names in every language. Pages now read the
place's own name (loadAuthorityNames, once per request); a country with no
place yet is named by Intl, the cantons together and the European Union
from messages, and two places of one name get their level ("Zürich
(Gemeinde)"). The config's field is now `label`: English, for logs, the
API, llms.txt and prompts only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* feat(brand): one statement of what Solon is, on the card, in search and on the phone
The share card, the meta description and the app manifest each carried
their own line about Solon, and all three still described governance
alone. They now read the home page's hero (Home.hero), in the reader's
language: the card is per locale, set in Inter from the design-tokens
package (Cyrillic included, nothing fetched), with the owl, and sizes its
headline so every language fits on two lines. Meta.description is gone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* fix(brand): the owl favicon is linked, and iOS gets its own icon
The layout's explicit `icons` replaced Next's file convention, so the
generated icon.svg was never linked and only favicon.ico was. Without it,
Next links favicon.ico, icon.svg and apple-icon.png (180, full bleed,
written by `pnpm run brand -- --png` like the others).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsX15QgjkDp9MQaQ92
* Test: the world pack's own root is not a reserved path segment
Claude-Session: https://claude.ai/code/session_019MDtmsegw9dJ7eykLcT7Fe
---------
Co-authored-by: Claude <noreply@anthropic.com>
* 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>
* 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>
unpdf's bundled PDF.js ships without PDF.js's WebAssembly decoders, so a
page scanned as CCITT fax or JBIG2 (most commune scans; in PDF.js 6 both go
through the JBIG2 module) drew blank: "JBig2 failed to initialize", then
"no text in the PDF". Three of Balzers' regulations failed this way.
One module opens every PDF (src/lib/law/text/pdf.ts): unpdf on the
official PDF.js build (pdfjs-dist 6.4.299, already in the lockfile through
chatkit, now a direct dependency) with wasmUrl pointing at its decoders.
The cantonal reader, the OCR and Liechtenstein's systematic register use it.
Measured: Balzers' failing scans render with content (0.1-1 MB a page, from
a 23 KB blank). A regression test renders a one-page CCITT scan.
Claude-Session: https://claude.ai/code/session_019MDtmsWmge2YFXGRyA2au4
Co-authored-by: Claude <noreply@anthropic.com>
- The home page's law section gains a globe: the Earth as the fleet's map
package draws it (lit sphere, graticule, glow past the limb, slow idle
turn), every country and state Solon holds law for shaded by how much,
a dot at each so the smallest (Liechtenstein, Luxembourg) can be found
and tapped; hover names the place in the reader's language and counts
its acts, a tap opens /law/place/{key}
- Outlines from public-domain data packages, loaded only when the globe
shows: Natural Earth's countries (world-atlas), the Census Bureau's
states (us-atlas). Colours from the design tokens
- src/lib/config/law/globe.ts places each authority on the globe, one line
per country or state; a test fails when one is missing
- /api/v1/law/globe serves the counts, so the home page stays static and
any app can draw the same globe
- Home copy says what Solon holds now (Estonia, Wyoming, proposing changes),
in five languages
Claude-Session: https://claude.ai/code/session_019MDtmsWmge2YFXGRyA2au4
Co-authored-by: Claude <noreply@anthropic.com>
Comparing Swiss places gave no tax: every canton's per-head tax, measured
and committed on 2026-10-30, was never loaded into production, so the
estimate (rightly) refused to treat it as zero. The file reached the
repository; the manual "Places load" that would have carried it to the
site was never run. Loaded by hand on 2026-11-07 (587 facts); this makes
the manual step unnecessary.
- src/lib/config/places/repo-files.ts: every file under data/places and
the source it is a retrieval of, in import order; a test holds every file
to exactly one row and every row to a real source
- `pnpm run places:import-files`: imports each file whose sha256 differs
from its source's last applied retrieval; unchanged files are skipped
- places-data.yml: runs it on the box after every successful deploy of main
- law-sync.yml: weekly (Sunday 02:17 UTC) as well as by hand, so every
publisher, Wyoming included, is read again without anyone running it
Claude-Session: https://claude.ai/code/session_019MDtmsWmge2YFXGRyA2au4
Co-authored-by: Claude <noreply@anthropic.com>
Anyone can propose a change to an act Solon holds, and the record of it
cannot be quietly rewritten (design: docs/design/2026-11-amending-the-law.md).
- Changes are replace / insert / repeal on one provision each (Akoma Ntoso's
textual modifications), each pinned to the sha256 of the exact text it
amends; changes that do not fit the text in force are refused with the
reason, and an amendment whose text the publisher later changes is shown
as outdated rather than silently re-applied
- Revisions are immutable and carry a content hash; support binds to one
revision, by account or by a Bitcoin signature anyone can recount; anyone
may fork, and the lineage is kept
- Every act is an event in one hash-chained log (verifyChain recomputes it);
triggers make the database refuse any UPDATE or DELETE on all four tables
- The redline is computed word by word (jsdiff; the fleet has no diff package)
- Official routes as sourced data: the federal popular initiative (Art. 139)
and petition (Art. 33) to start; each amendment shows the routes its act
can take
- Abuse limits: 20 filings an hour per author; a support that changes
nothing is refused
- API under /api/v1/law/amendments; 27 integration tests against Postgres,
and the full integration suite passes on a fresh database
Claude-Session: https://claude.ai/code/session_019MDtmsWmge2YFXGRyA2au4
Co-authored-by: Claude <noreply@anthropic.com>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
A commune that publishes a scan (pages as pictures, no text layer) failed as
"no text in the PDF": Vaduz 5, Schaan 4, Eschen 2, Schellenberg 2. The
commune loader now draws each page (unpdf + @napi-rs/canvas) and reads it with
tesseract.js in the act's language, in process: nothing to install on the box,
no model called. The version's source says so: law-text-publisher-1+ocr.
Schellenberg's hall regulation numbers sections "1." and "2." before an
"Art. 3"; the cutter kept Art. 3 and dropped the rest. When the first article
found is not article 1, the text before it is now kept as one provision.
Live on schellenberg.li: both scans read (2 of 2), 6 acts, 106 provisions.
Claude-Session: https://claude.ai/code/session_019MDtmuxKPxNit33QRcXSCC
Co-authored-by: Claude <noreply@anthropic.com>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
- src/lib/law/tools.ts: law_authorities, law_search, law_find_acts,
law_read_act, law_read_provision, each running the code its /api/v1/law twin
runs; one definition for every caller.
- POST /api/mcp: a stateless MCP server (Streamable HTTP, JSON responses),
public and read-only, bounded per address. Any AI app connects to
https://solon.orangecat.ch/api/mcp.
- The law chat gains a research step between checking the search and writing:
the model may call the same tools, and web_search / web_read from
@bitbaum/ai-kit/web when a search backend is configured, for two rounds.
Provisions read join the sources [L#]; pages read are web sources [W#],
never cited as law. With no tool-capable model the answer is written from
the search, as before. Each step shows in the chat's "Thought for" row.
- share-search-backend.yml copies the box's SearXNG settings into Solon's
env, as Substrata does.
- The integration page lists the law API and the MCP endpoint.
Claude-Session: https://claude.ai/code/session_019MDtmuxKPxNit33QRcXSCC
Co-authored-by: Claude <noreply@anthropic.com>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
* wip(places): the commune map on @bitbaum/geo-kit/map instead of MapLibre (lockfile follows the 0.2.0 release)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuxKPxNit33QRcXSCC
* feat(places): the commune map on the fleet's one renderer, @bitbaum/geo-kit/map
Solon's map of places moves from MapLibre GL to @bitbaum/geo-kit/map 0.2.0,
the renderer extracted from Substrata's globe: the orthographic globe on
Canvas 2D, zoomed in to the country. Same props and behaviour for the page
(colours from the tokens, fills by commune, select, hover label, focus on a
place or an address); its own zoom buttons and hover label replace MapLibre's
control and popup. MapLibre, the script that copied it into public/vendor and
its stylesheet override are gone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuxKPxNit33QRcXSCC
---------
Co-authored-by: Claude <noreply@anthropic.com>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.
The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.
If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>