corpus when you need regression coverage for false drift and catalog parity bugs.
The command replays dirty migrations, diffs the result against a clean tree, applies the reconciliation twice, and requires the final diff to converge to zero operations.
Use this when
- A bug involved false drift.
- Engine changes need dirty-real catalog coverage.
- A consuming repo keeps its own incident corpus.
- CI can provide a disposable PostgreSQL database.
Run it
corpus prints a skip notice and exits 0.
Flags
Corpus directory. Defaults to
corpus/supabase-style.Admin URL for disposable corpus databases.
Print the corpus report as JSON.
Exit codes
| Code | Meaning |
|---|---|
0 | Corpus converged, or skipped because no database URL resolved |
1 | Runtime failure |
2 | Corpus diagnostics failed |
Related
Corpus guide
Understand the dirty-real regression lane.
Benchmarks
Review correctness and timing evidence.
Check
See the static gate used by the corpus lane.
Verify
Compare apply-twice proof with corpus reconvergence.

