- [ ] **P4-02** Migrate database — Drizzle/PostgreSQL schema contract, eight migrations, owner-bound conversation/task-lineage/provider-message/MCP-history/legacy-provenance tables, isolated async chat, metadata, operational, workspace, and project-revision repositories, owner-required importer, organization/member staging, cross-owner relationship validation, optimistic-conflict/restart proofs, MCP audit retention, lease fencing, native-event projection proofs, transaction-backed fork history, HTTP driver/read-boundary evidence, and an opt-in `TaskStore` runtime (`npm run e2e:postgres-taskstore`, `npm run e2e:postgres-http`) are now present; the real importer also round-trips workspace/project/native bytes and projection metadata; keep open until private attachment export policy/round trips, complete workflow idempotency/concurrency, cross-instance live SSE, and production migration/deployment controls are safe
0 commit comments