One codebase, four programs
/ 06A tenant is a record, not a fork.
Before this, a new state program meant a copy of the repository: its own prompts hard-coded, its own guardrails, its own database bindings, and its own defects from the moment the copy was taken. A MongoDB-backed admin control plane replaced that. A program is a record — the prompts it uses, the rails it is held to, the databases it is permitted to read — and all seven services resolve that record per request. Onboarding the next program became filling the record in: from multi-week custom development to under two days of configuration.
- 01
Configuration, not a branch
Prompts, rails and bindings are rows a program owns, resolved at request time by every service.
- 02
Under two days
Onboarding a state program stopped being an engineering project and became an afternoon of configuration.
- 03
One codebase to fix
A defect is fixed once and every program has it, which a fork has never once managed to promise.