Files
solon/scripts
CatoandClaude e58ec0db75 Load data without anyone remembering to: Places files after each deploy, the law weekly (#404)
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>
2026-11-07 13:57:06 +01:00
..