Files
solon/.github/workflows
CatoandCursor d8f79bbe8c feat(places): tables, config registries and places:sync-config (P0) (#210)
The foundations of docs/design/2026-09-places-and-jurisdictions.md §4-§5,
empty. No existing table changes.

- drizzle/0010_places_foundations: jurisdictions, names, identifiers, areas,
  area assertions, relations, facts, instruments, sources, import runs, and
  the place_* registries. Named constraints built from the vocabulary tuples
  (src/lib/places/vocabulary.ts). Triggers refuse reserved identifier
  schemes on founded places, any change of origin, and every DELETE.
- src/lib/config/places: the Zod contract, the registries (empty but the
  licence policy George decided), and cross-registry validation run at load.
  Engine code takes the config as a parameter.
- places:sync-config projects the registries into the database, refuses to
  pull a key out from under data, and records each change. Every import run
  will sync first in its own transaction, so deploy needs no new step. CI
  syncs and checks on the freshly migrated database.
- Testland, a made-up country, lives only in test fixtures and proves the
  contract holds with no engine change.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-29 19:59:19 +02:00
..