adminPart of the Travi AI Agent monolith (
app/modules/admin/). Read00-overview.md§3 (hard rules) before changing anything here.
| Purpose | Tenant/cohort/template configuration with versioned, never-retroactive publication; kill-switch API; eligibility overrides. |
| Owns (data) | tenant, cohort, config_version, templates |
| Public surface | /admin/cohorts|templates|config, /admin/kill-switches, /admin/overrides/eligibility |
| Depends on | all modules (config client, 10 s cache), audit |
| Requirements owned | ADM-004 (config side), ENR-002, AUT-009 |
| Constraining ADRs | ADR-011, ADR-016 keys live here |
| Key references | reference/operations.md §16.4 (key registry) |
config_version applies only to episodes created after publication. Active episodes keep the version they enrolled under; migrations require an explicit, recorded plan.