You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[AUDIT-007] Reconcile SQL models with migration files (schema drift) #2169
Commit bb06a041 documents the current migration gap, but docs/MIGRATION_TRUTH.md explicitly queues incremental migrations after inventory sign-off.
The added guard only asserts that at least three migration files and five model modules exist. It does not map active models to revisions, compare model/database shape, identify unmigrated domains, or verify RLS/tenanting.
Remaining evidence required:
an explicit active-model → migration/revision matrix;
classification of optional/non-production model domains;
missing additive migrations or documented deprecations;
RLS and tenant-boundary evidence; and
a drift test that fails on an unmapped production model or column, not merely on low file counts.
The inventory document and guard are useful partial work. The issue is reopened because its stated acceptance criteria are not yet demonstrated.
Reopened; current source tree disproves the old three-revision inventory. PR #2378 corrects MIGRATION_TRUTH.md and preserves the historical claim. No legacy backend model/migration directory or claimed unit guard exists in inspected current main; alembic.ini remains dangling, while one Supabase SQL migration exists. BLOCKED for complete reconciliation: identify active database/owning service and obtain approved read-only deployed revision/RLS evidence; decide whether legacy Alembic config is retired or restored. No migration was generated/applied.
Activity
linear-code commentedon Sep 20, 2026
GRV-665
github-actions commentedon Sep 20, 2026
👋 Thanks for opening this issue! It has been automatically labeled for triage.
groupthinking commentedon Sep 20, 2026
Tracker: #2175
fix(audit): complete all 12 AUDIT remediations (#2175)
chore(audit): close remaining remediation issues (#2175)
groupthinking commentedon Sep 21, 2026
Verification review — reopened
Commit
bb06a041documents the current migration gap, butdocs/MIGRATION_TRUTH.mdexplicitly queues incremental migrations after inventory sign-off.The added guard only asserts that at least three migration files and five model modules exist. It does not map active models to revisions, compare model/database shape, identify unmigrated domains, or verify RLS/tenanting.
Remaining evidence required:
The inventory document and guard are useful partial work. The issue is reopened because its stated acceptance criteria are not yet demonstrated.
kk-agent commentedon Sep 28, 2026
Max-aggressive cleanup 2026-09-28: EventRelay/UVAI product work is PARKED. Closing this stale/open item. Reopen if Hayden unparks the cut.
groupthinking commentedon Oct 8, 2026
Reopened; current source tree disproves the old three-revision inventory. PR #2378 corrects MIGRATION_TRUTH.md and preserves the historical claim. No legacy backend model/migration directory or claimed unit guard exists in inspected current main; alembic.ini remains dangling, while one Supabase SQL migration exists. BLOCKED for complete reconciliation: identify active database/owning service and obtain approved read-only deployed revision/RLS evidence; decide whether legacy Alembic config is retired or restored. No migration was generated/applied.