ADR-0114: PostgreSQL as source of truth
- Status: accepted
- Date: 2026-10-30
- French version: ../ADR-0114-postgresql.md
Context
Kit sections 6.2 and 2.
Decision
PostgreSQL holds metadata, governance, state, audit, Kill Switch and licences; versioned migrations sql/postgres/V<NNN>__<name>.sql, never changed once shipped. Client provided except in sandbox for navin-manager.
Consequences
PostgreSQL licence exception recorded.
Evidence
sql/postgresservices/control-plane/src/eai/migrate.pyservices/control-plane/tests/test_core_migrations.pyRULES.md (section 4, point 5)