prove-the-undo
Rehearse the rollback before any irreversible action: name the specific restore path and demonstrate it works — never proceed on the strength of 'a backup exists'. Use before deletes, drops, force-pushes, migrations, or any action semver-gate classifies as MAJOR.
- License
- MIT
- Compatibility
- PORTABILITY: pure procedural discipline — no hooks, no subagent-spawning tool, no Workflow tool, no harness-specific primitive. The rehearsal is ordinary commands (restore into a scratch path, diff, dry-run) that any harness with a shell can run. Ports anywhere the agent can execute a command and read its output before acting.
Pinned to revision b38f311ea68e, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.