All services
migration-guardian
v1Class A SOTA container for Supabase migration drift prevention + resolution across multi-repo → single-DB setups. Wraps the Supabase CLI with a coord-locked pre-push gate (`protect`) and a 17-probe DDL classifier emitting proposed actions (`resolve --dry-run|--consensus-review|--apply`). Library + CLI + MCP surfaces. Loose-pin depends on @id8/coord for cross-session advisory locks.
▸ Capabilities
| Capability | What it does |
|---|---|
| protect | Coord-locked pre-push wrapper. Acquires supabase.migrate:<project_ref> lock, enumerates local + remote migration state, runs the classifier, enforces rules (14-digit timestamps, no prefix collisions), invokes supabase db push if clean, returns structured BlockedReasons if not. Hot-path p99 overhead <1ms. |
| resolve | Drift classifier. mode='dry-run' emits proposed_actions (archive/shim/rename/version_normalize/ambiguous) without writes. mode='consensus-review' runs proposals through Claude + Grok in parallel and emits a batch-approval prompt on agreement. mode='apply' is v0.2-stretch (advisory stub in v0.1 — surfaces commands without executing). |
Usage guide
Detailed usage docs for migration-guardianare being published. Request access and we'll get you started directly.
Ready to try migration-guardian?
Early access is free while we're in beta.