Spec: §2 (SQLite), §13 (SQLite → Postgres migration path), §18.3 (per-issue state markers), §15 (Postgres-switch trigger).
The durable state store for run state, blocker records, usage history, efficiency rollups, and per-issue crash-recovery markers. Schema starts minimal; the deliverable is the connection layer, WAL mode, and a migration baseline that keeps the Postgres path clean.
Acceptance criteria
Dependencies
Depends on: #1
Spec: §2 (SQLite), §13 (SQLite → Postgres migration path), §18.3 (per-issue state markers), §15 (Postgres-switch trigger).
The durable state store for run state, blocker records, usage history, efficiency rollups, and per-issue crash-recovery markers. Schema starts minimal; the deliverable is the connection layer, WAL mode, and a migration baseline that keeps the Postgres path clean.
Acceptance criteria
except: pass.Dependencies
Depends on: #1