/statistics/gaps linked to /statistics/gaps/crime.by_background, which answered
404 in English (200 under /de/): the language middleware skips any path with a
dot, taking it for a file. A topic's address is now its key with dots and
underscores as hyphens (/statistics/gaps/crime-by-background); the old key is
still found, so links already shared keep working. Every link to a topic
(index, Find, research sources, the page's own share URL) comes from one
helper.
Tests: slug has no dot and is unique, lookup by slug, key and %2E-escaped key;
render.spec follows every topic link from the index in en and de.
Claude-Session: https://claude.ai/code/session_019MDtms7o5KHhv4niDsxA9M
Round 1 of the Parliament texts stored 40 and then lost the tunnel ('Connection terminated unexpectedly'; rsync: port 22 refused). Keepalives were already set, so a longer outage needs a new tunnel:
- ensure_tunnel re-opens the tunnel before every batch, waiting up to ten minutes for the box
- a batch that dies on a lost connection is retried twice (loads are resumable)
- snapshots are copied after every batch, so a late failure loses nothing
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 daily run fetched only the sources whose cadence names today. A source
added after its day waited a month, and the World Bank's per-country
sources for the world pack have not loaded in production, so country pages
outside the packs show no figures. Each run now also loads up to forty
never-loaded sources (registry order); one that failed this past week is
tried again weekly, so the failure alert does not fire daily.
Claude-Session: https://claude.ai/code/session_019MDtmuJdjaMYdbLjujoC3k
Co-authored-by: Claude <noreply@anthropic.com>
- Measured: the figures a reader acts on, chosen in config
(PROFILE_FIGURES) and shown only where the place has a value: what the
state takes and spends (OECD, else the World Bank's government
consumption under its own label), four World Bank governance indicators,
homicides. Each with its latest value and year, its position among the
countries reporting that year (left out below 20; the ends said as
highest and lowest), a 15-year sparkline and its source; chartkit's
Meter and Sparkline.
- How its law is changed: the official routes of every authority from the
place up, the same card an act's page shows.
- What changed lately: acts that took effect in the past year by the
publisher's own date, newest first, with the count.
- The glance no longer repeats the routes; the law card says "below it",
not "communes", for every place under a country; Russian sentences no
longer put a place's name after a preposition undeclined.
Claude-Session: https://claude.ai/code/session_019MDtmuJdjaMYdbLjujoC3k
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(contested,amend): a South Ossetian reader can propose a change in Russian
- Amend pages (write a change, support it, the official route) translated
into Russian, French and Italian; AMEND_LOCALES now holds every language.
- "Propose terms" on a contested place led to the primary organization's
form ("you are not a member of OrangeCat"). It now opens each side's law
to pick the article, where amendments are filed and supported.
- The claimant's quotes, published only in English, read in the reader's
language from the config catalog; their labels too. The coverage test
holds them to every language.
- Roadmap: a scenario side (as a subject of the Russian Federation), "my
life under each", Georgia's budget.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJdjaMYdbLjujoC3k
* feat(law,amend): Russia's register, its official routes, and a pseudonym per proposal
- Pseudonyms: a signed-in person is named in the public amendment record by
anon:<HMAC(key, proposal, account)>, never actor:<id>, so their proposals
cannot be linked to each other or to them. Rows written earlier keep their
name and are recognised as the same person. The filing rate limit moves
into the process, so no lasting list of who filed is kept to count it.
SOLON_PSEUDONYM_SECRET (falls back to the session secret).
- Russia: one reader over the official publication portal's JSON API
(PRAVO_GOV_RU), one entry per authority: federal Constitution, laws on its
amendment, federal constitutional and federal laws (8,012 acts), and North
Ossetia–Alania's constitutional laws and laws (1,095). The portal's
robots.txt disallows /File, where the scanned texts are, so the register
only. Laws are not objects of copyright (Civil Code Art. 1259(6)).
- Routes: federal bills (Constitution Art. 104, citizens hold no initiative)
and the Russian Public Initiative, federal and regional bars, each from the
page opened; in Russian. An act page shows its official routes whether or
not Solon holds its text.
- Authorities may carry their own names per language (North Ossetia–Alania).
- docs/research/2026-11-russia-sources.md; roadmap and changelog.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJdjaMYdbLjujoC3k
* test(law): count only this file's acts in the South Ossetian dry-run check
Another integration file registers the Parliament's acts at the same time,
so counting every parliamentrso act raced it (CI: expected 8 to be 5).
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>
* 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>
Budgets become their own section, /budgets and /budgets/<place>, built so
that every page and analysis works for any place and any source:
- Taxonomies are the single source (src/lib/config/budgets): COFOG for
what money is spent on (80 codes, Eurostat's labels), ESA 2010 for where
it comes from. They generate the budget.<scope>.<side>.<code> metrics and
the per-country Eurostat sources; scope (general government or a state
budget) is part of every key.
- Eurostat's government finance for 30 countries from 1995, through a new
eurostat_json adapter (a JSON-stat reader that knows no country): spending
by function and group, revenue by kind, the balance, in shares of GDP.
Every division is also a statistic with its map and ranking. Reuse is
authorised with acknowledgement (LicenseRef-eurostat-reuse).
- Budget laws are documents held to their stated totals: South Ossetia's
2023 outturn (revenue line by line) and 2023 allocations by section, each
line placed on the classifications, the placement explained.
- src/lib/budgets: one Budget shape for both inputs; pure analysis
(breakdown with what the parts leave over, allowing for rounding; a total
given with no breakdown; self-reliance; history; which year to show).
- Pages: key figures, who pays, spending by function opened into groups,
revenue by kind, the years, sources down to the publisher's own lines,
"propose a change to this budget"; a budget card on a country's page.
- The contested places' budget section now uses these components; their
ledger, the quote component and rowsOf were made shared rather than kept
as copies, and SITE_URL lives in site-config.
Design: docs/design/2026-11-budgets.md.
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
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>
* feat(places): contested law, one place's two sets of law side by side
Every place the world list marks as claimed (South Ossetia, Abkhazia,
Transnistria, Northern Cyprus, Somaliland, Kosovo) gets a comparison page at
/places/contested/<slug>: the same questions for every place, each side's own
words quoted in their language beside a translation, with the page and the day
read; a side with nothing read shows the gap. South Ossetia and Georgia are
compared from their constitutions on four questions (territory, citizenship,
moving and leaving, defence). /places/contested lists them all.
- Config: src/lib/config/places/contested.ts (topics in five languages, the
contest, the quotes); schema and checks in src/lib/places/contested.ts;
the pure view in src/lib/places/contest-view.ts.
- Every page of a claimed place says who claims it and links the comparison,
which also restores the line the South Ossetia pack page lost when the world
slug began redirecting to the pack.
- statistics:verify re-reads every quoted page weekly.
- Design: docs/design/2026-11-contested-law.md (why, as a system: rule sets
competing for the same people, results per side, terms proposed with support
counted per electorate; the plan for shared-area and layered disputes).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJdjaMYdbLjujoC3k
* feat(places): what each side's budget rests on, who may propose a law, taxes
The South Ossetia comparison gains three things a resident can act on:
- Taxes, quoted from the Tax Code (Part Two) the Parliament publishes as a
Word file: 12% on a person's income (Art. 228), 20% on profit (Art. 286),
10% VAT (Art. 166); Georgia's rates from PwC's summary, cited as a summary.
- Who may propose a law: South Ossetia's Constitution gives the right to the
President, deputies, the Government and named bodies, not to citizens
(Art. 69); Georgia's to 25,000 voters among others (Art. 45). South
Ossetia's official route is now data: a bill reaches the Parliament through
any one deputy.
- The 2023 budget as its execution law states it, as a ledger whose lines
must add up to the stated total: 81% of revenue was aid from the Russian
Federation; own revenue covered 18.5% of spending; spending the same from
own revenue alone would take 5.4 times that revenue or 81.5% less spending.
Arithmetic on the law's figures, labelled as not a forecast.
Every held article on the page links "propose a change". A quote in the
reader's own language is shown without a translation.
docs/design/2026-11-from-comparison-to-change.md: the three columns (now,
the other side, could be), the loop from reading the law to changing it and
the gap at each step for South Ossetia, the safety work needed before Solon is
promoted where proposing is risky (the public amendment log names the account
behind every act today), credibility by electorate, and the build order.
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>
Every place the world list marks as claimed (South Ossetia, Abkhazia,
Transnistria, Northern Cyprus, Somaliland, Kosovo) gets a comparison page at
/places/contested/<slug>: the same questions for every place, each side's own
words quoted in their language beside a translation, with the page and the day
read; a side with nothing read shows the gap. South Ossetia and Georgia are
compared from their constitutions on four questions (territory, citizenship,
moving and leaving, defence). /places/contested lists them all.
- Config: src/lib/config/places/contested.ts (topics in five languages, the
contest, the quotes); schema and checks in src/lib/places/contested.ts;
the pure view in src/lib/places/contest-view.ts.
- Every page of a claimed place says who claims it and links the comparison,
which also restores the line the South Ossetia pack page lost when the world
slug began redirecting to the pack.
- statistics:verify re-reads every quoted page weekly.
- Design: docs/design/2026-11-contested-law.md (why, as a system: rule sets
competing for the same people, results per side, terms proposed with support
counted per electorate; the plan for shared-area and layered disputes).
Claude-Session: https://claude.ai/code/session_019MDtmuJdjaMYdbLjujoC3k
Co-authored-by: Claude <noreply@anthropic.com>
The President's categories now decide most specific first (constitution, treaty,
decree, documents), so the treaty that 'Документы' also lists is a treaty. A post
the site titles with one bare word ('Указ') is read once and titled 'Указ от
27 апреля 2021 г.' from the date (and number) its own closing lines print; the
name row is flagged derived (migration 0028), the act page, Markdown and tools
say the title is Solon's. Publisher titles stay as published, typos included.
The President's decrees are stored from the site's JSON, which has no page words to compare against.
verify now compares the stored provisions with the post's own content field.
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>
"No figures for the places chosen." told a reader nothing about whether nobody publishes the series or Solon
has not loaded it. config/statistics/searches.ts records, per series and place, each publisher a person asked
on a stated day, what it holds, and the address read; the series page shows it when the place has no figure.
First records, read 2026-11-10: Liechtenstein's government consumption (World Bank series empty for every year
1990-2026; Amt für Statistik publishes production and income accounts only; Eurostat has GDP and no P3_S13;
not an OECD member), and the expenditure and tax-revenue series (the Amt für Statistik's own Staatsquote and
Fiskalquote exist and are not loaded yet).
Claude-Session: https://claude.ai/code/session_019MDtmt65Ai8jku68kDmxUU
Law of the Republic on copyright and related rights (12 December 2012, no. 64),
Art. 8: laws, court decisions and other legislative, administrative and judicial
texts are not objects of copyright. Found by reading the titles of all 575 acts
in the Parliament's listings; quoted on a new licence entry. The Parliament's
texts are admitted, the register's counts are now exact (480 laws, 33
constitutional laws, 62 resolutions).
#501 recorded the number a document prints only when a new version was stored. A document read again
unchanged was skipped before its text was read, so every act already held would have gone on without its
number. The skip now reads the number the document prints first (recordNumber, shared with storeVersion).
The integration specs that call loadPublisher each get an authority of their own: it reads every act held
under its authority, so two specs sharing one read each other's rows.
Claude-Session: https://claude.ai/code/session_019MDtmt65Ai8jku68kDmxUU
* Law: an act's status can be 'not stated by the publisher'; South Ossetia's acts are recorded so
legal_acts.status_stated (default true, migration 0025). When false, in_force
only keeps the act findable and no page, count, Markdown or tool calls it in
force: coverage counts it apart, the place tree still lists the place, act
rows and pages say the status is not stated, in five languages. The register
importer takes statusStated per row and updates it; the South Ossetia
registers set it false.
* Law counts: say that an act with no stated status is counted
The light homepage hero is now a daylight photograph of the Earth (NASA Blue
Marble, public domain, credited on /credits), the counterpart of the night
Earth shown in dark mode, instead of a seated assembly. The Landsgemeinde
photograph stays with the ideas section further down and is no longer a hero
counterpart anywhere. The closing hire section's call to action is a frame, so
the filled accent is the one primary action on the first screen.
Vaduz's Gemeindeordnung showed "571", the download id in its address, where its own front page prints
"Akte Nr.: 01.01.03". loadPublisher stated the collection's handle (ref) as the act's systematic number for
every publisher; for the linked-document and iweb adapters that handle is an id or a file name.
- ListedAct.number: the number a listing itself states (Zürich's 101.100, an iweb table number); loadPublisher
uses that and nothing else.
- PublisherAdapter.numberInDocument: where a document prints its own number. The Liechtenstein communes read
"Akte Nr." from the head of the text; the number is recorded with the version's own source (store.ts).
- The register removes only a number it stated itself, so a number read from a document survives the next run
of the listing, and the ids already held (written by the register) go on the next load.
Claude-Session: https://claude.ai/code/session_019MDtmt65Ai8jku68kDmxUU
* South Ossetia: text reader (L1) for the Parliament's acts and the President's decrees
A node page or post cut into preamble, chapters and articles, dated by the
Parliament's own date field or the decree's closing lines, numbered from the
header or closing lines when it prints one (act_number, <year>/<number>).
Commands law:text parliamentrso-text|presidentruo-text, paced by the site's
crawl-delay and a second respectively; verify reads only the act's body on a
Drupal page. Fixtures from the live pages, unit and database tests.
* South Ossetia: text reader (L1): the President's decrees stored, the Parliament's refused until its terms are found
A node page or post cut into preamble, chapters and articles, dated by the
Parliament's date field or a decree's closing lines, numbered <year>/<number>
(act_number) when the act prints one. law:text presidentruo-text and
parliamentrso-text, --act to read chosen ids, paced by the site's crawl-delay
and a second. The Parliament's texts are refused while its config says no
terms admit them. verify reads only the act's body on a Drupal page.
An unknown series, place, law or path answered 404 with Next's bare "404 This page could not be
found." and no navigation (the frame is the locale layout, which a 404 thrown outside it never gets).
[locale]/not-found.tsx renders inside the layout; [locale]/[...rest] sends every address no page claims
to it. Words in all five languages; four ways on (law, places, statistics, ask the law).
Claude-Session: https://claude.ai/code/session_019MDtmt65Ai8jku68kDmxUU
The surcharges were imported and attached (Vaduz takes a tax on 2025-06-01) but each ran from
1 January to 1 January of its tax year, so from 1 January 2026 no commune had one: coverage "0 of 11",
Vaduz "no tax of its own". The councils decide the next year's in the autumn.
csv_facts gets an opt-in inForceUntilNext: the latest year of each place's figure has no end date, and
the importer supersedes it with a closed period when the next year arrives. The Liechtenstein
surcharge source sets it.
places:import-files skipped a file whose bytes were unchanged, so an adapter change reached production
only when somebody edited the data. It now also compares the adapter version the importer records
with the current one; csv_facts is version 3.
Claude-Session: https://claude.ai/code/session_019MDtmt65Ai8jku68kDmxUU
* Brand: the owl, and one statement of what Solon is on the card, in search and on the phone
The mark is Athens' little owl with the fleet's rotorelief rings, drawn once
in brand/solon-mark.svg; pnpm run brand writes the favicon, app icons and the
mark data from it. The share card, meta description and manifest read the
home page hero in the reader's language. The owl favicon is linked and iOS
gets its own icon.
* Homepage follows the theme: photographs have daylight counterparts, scrims take the page colour
A night photograph is drawn by day as a daylight photograph (ThemedPhoto), under a
scrim of the page's own colour, with the theme's ink on it. FullBleed and
AudienceTile no longer force the dark theme; only a section marked alwaysDark does,
and only that page's header (HEADER_OVER_PHOTO_ROUTES) wears dark over it.
* 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>
gesetze.li writes the article under a heading as <div class="art" style="margin-top:6.5pt">.
parseLilexProvisions started an article only at the bare <div class="art">, so every styled
article was dropped: § 1 of the ABGB, 319 of its 1,313 articles (the live page held 72.1% of
its words in the stored provisions, 96.8% after this). Heading classes with a letter after
the level (tit1m, tit1ue, tits) were not boundaries either, so a chapter heading was appended
to the article above it, or came out as a "provision" of its own.
Importer version 4, so recut-lilex reads every held page again.
Claude-Session: https://claude.ai/code/session_019MDtmt65Ai8jku68kDmxUU
Authority `rso` (place Wikidata Q23427, topLevel: no ISO code, and `so` is
Solothurn's). Two format readers, config-driven: a Drupal taxonomy listing
(Parliament, honours the 90 s crawl-delay) and the WordPress REST API
(President, 1,849 acts with decrees, documents and treaties under one id).
Fixtures from the live pages, unit tests and a database integration test;
commands `law:text parliamentrso|presidentruo` and the two workflows' lists.
Licence entry for the President's site quoting its reuse page.
Claude-Session: https://claude.ai/code/session_019MDtmuWnz7uS87NvSiDSDs
* South Ossetia: research note and the place's structure (pack, Wikidata scheme, five units)
Adds the sources research note (publishers, reachability from a runner, counts
measured, statistics read, gaps) and the first rows of the place: a pack with no
ISO code (identified by Wikidata), the five administrative-territorial units of
Constitution Art. 3 para. 2 as part_of the nation, names with the authority's
own Russian first. Claims, administration and recognitions follow as their own
sources, once the world backbone rows they point at are on main.
Claude-Session: https://claude.ai/code/session_019MDtmuWnz7uS87NvSiDSDs
* South Ossetia research note: recognitions, Georgia's own wording, what the place model needs
Claude-Session: https://claude.ai/code/session_019MDtmuWnz7uS87NvSiDSDs