Core CLI
$0 MIT
- SQLite + PostgreSQL witnesses
- Signed JSON + Markdown
- Explicit rollback exercise
- CI-ready exit codes
Independent commit evidence
Run the migration you already have against a disposable database. Snapshot the facts on both sides of commit. Exercise the rollback you actually supplied. Keep the signed record.
01 / failure boundary
Deferred constraints can fail at commit. DDL may ignore the transaction you thought contained it. Migration status and database truth can diverge at exactly the moment a release needs certainty.
02 / method
Query scalar schema and data invariants before anything moves.
Execute the existing Flyway, Liquibase, ORM, or shell command unchanged.
Query again even after a failed command, so partial outcomes cannot hide.
Only on explicit request, using only the rollback command in policy.
03 / recorded fixture
This seeded run returns exit code 0 after creating only one of two required objects. Move through the same observations the CLI records.
BASELINE / captured
$ mcw witness --confirm-test-database
snapshot.before.schema_objects = 0
snapshot.before.account_rows = 12
sqlite.quick_check = "ok"
04 / install
One Rust binary. No agent, hosted database, migration DSL, or telemetry.
cargo install --git https://github.com/B-Divyesh/sf-migration-commit-witness --bin mcwexport MCW_DATABASE_URL='sqlite:///tmp/mcw-ci.db'
export MCW_SIGNING_KEY="$CI_WITNESS_KEY"
mcw witness --config mcw.toml \
--output witness \
--confirm-test-database \
--exercise-rollback --jsonHard guardrail
The run needs both an allowed environment label and --confirm-test-database. Production-like URLs are rejected. Rollback needs a configured command and a separate flag.
05 / dialect truth
| Dialect | Connection | Built-in check | Your proof |
|---|---|---|---|
| SQLite | Embedded | quick_check + foreign keys | Scalar invariants |
| PostgreSQL | psql on PATH | Server reachability | Scalar invariants |
06 / adoption
Safety behavior, signatures, rollback exercise, and both evidence formats are MIT licensed. The optional kit packages team rollout policy.
Core CLI
$0 MIT
Rollout kit
$49 one time
Secure checkout. Sociobot/Dodo is merchant of record.
Already purchased?
Your token stays in this browser. Verification runs at most once per day.
One-time purchase. Refunds are handled by the merchant of record and revoke the license. See privacy and terms.
07 / release gate