Use this when
- A bug involved false drift or catalog mismatch.
- Unit fixtures were too clean to catch the failure.
- You want package-level proof across real PostgreSQL catalog noise.
- A consuming repo needs its own incident-history corpus.
Do this
Run the bundled corpus:Add a case
For every false-drift or parity bug, add the triggering shape in the same change:- put the dirty migration in
corpus/supabase-style/migrations/; - put the clean end state in
corpus/supabase-style/tree/; - keep expected settings in
corpus/supabase-style/corpus.json; - prove
npm run corpus:checkconverges.
Related
Benchmarks
See timing and correctness evidence.
Support matrix
Check which PostgreSQL objects are modeled.
Check command
Validate rendered corpus migrations.
Verify command
Compare apply-twice behavior against the declarative tree.

