approvedcompleteAGPL-3.0

Control plane on CoreLedger-over-Postgres

003-postgres-adoption

The control plane runs CoreLedger on the Postgres driver while stamped customer apps stay on libSQL/Turso: same decorator API, different driver, selected by URL scheme. The driver itself is enrahitu spec 011 and lives in the chassis (core/ledger/postgres.ts); this spec is the consuming side: local Postgres for dev, config wiring, the migration posture for control-plane tables, and proof that the whole chassis test suite passes on both drivers inside this repo.

Depends on
Establishes
  • docker/compose.postgres.yml
  • .env.example
Sections
  • 003: Postgres adoption
  • 1. Cross-repo dependency (read first)
  • 2. Territory
  • 3. Behavior
  • 4. Acceptance
  • 5. Out of scope
  • 6. Status (2026-07-15): complete
Source
specs/003-postgres-adoption/spec.md @ f136bf323cecas of 2026-07-21 ยท shard 5cf9a6d59b94