Dependency
Blocked by #156 and #172 until diese-tech/sal-database publishes verified db-v1.0.0.
Required outcome
- Vendor the released
generated/database.types.ts under the site source tree.
- Commit
db-contract.lock.json with repository, release, full commit, migration head, and types SHA-256.
- Add
sync-db-contract and CI drift verification against the exact remote commit.
- Type every Supabase client as
SupabaseClient<Database>.
- Replace manual row casts with generated helpers and runtime validation for JSON payloads.
- Remove active site migration ownership only after both consumers pin v1.
Acceptance
Vendored bytes and hashes match the immutable release and a deliberate drift fails CI. No Git submodule or floating branch is used.
Audit ID: SAL-DB-01.
Dependency
Blocked by #156 and #172 until
diese-tech/sal-databasepublishes verifieddb-v1.0.0.Required outcome
generated/database.types.tsunder the site source tree.db-contract.lock.jsonwith repository, release, full commit, migration head, and types SHA-256.sync-db-contractand CI drift verification against the exact remote commit.SupabaseClient<Database>.Acceptance
Vendored bytes and hashes match the immutable release and a deliberate drift fails CI. No Git submodule or floating branch is used.
Audit ID:
SAL-DB-01.