Summary
Introduce a DB-backed runtime configuration layer (hot-reloadable) with safe, validated per-project overrides, reducing env var sprawl and enabling operational tuning without redeploys.
Source doc: docs/issues/planned/phase-6-runtime-config-db-overrides.md
Scope (high-level)
- Split config into:
- Bootstrap config (env/file; secrets + connectivity; restart required)
- Runtime config (DB-backed; hot-reloadable; audited)
- Add a typed config registry (key, type, scope, defaults, validation rules)
- Add global values + per-project override values with clear precedence
- Move API provider allowlists from YAML into DB-backed Provider Profiles (with YAML fallback for a transition period)
Tasks
Acceptance Criteria
Summary
Introduce a DB-backed runtime configuration layer (hot-reloadable) with safe, validated per-project overrides, reducing env var sprawl and enabling operational tuning without redeploys.
Source doc:
docs/issues/planned/phase-6-runtime-config-db-overrides.mdScope (high-level)
Tasks
config/api_providers.yamlfallback (read-only) during transitionAcceptance Criteria