A House Divided A House DividedDocumentation
Changelog
Game Design/World & Simulation

Turn Processing Submodules

Last updated 2026-08-21
Source files

Historical index. For the current registry, ordering, lock recovery, phase counts, and telemetry contract, use The Turn Processor (as shipped).

The live turn is driven by processTurn() in and entered through authenticated GET /api/cron/turn. It runs adapters from ; each adapter calls individually named phases through the runtime wrapper in .

Stable invariants#

Where code lives#

Concern Location
Orchestrator
Adapter registry
Phase runtime and telemetry
Large state-effects adapter
Domain implementations src/lib/turn/ and the owning domain modules
Per-country election phase list
HTTP entry

Counts and exact membership change frequently. Do not copy a numbered phase list from an older design document into new code or operational runbooks; inspect the registry or the as-shipped page instead.