Search docs
Docs searchValidation rule
Back to Rule CatalogAP-SAFE-002Safety ControlsMissing rollback plan for risky architecture change
Flags risky changes without rollback plan evidence.
warningviolationNo auto-fix
How to fix
- Add rollback steps to the ADR, runbook, or migration notes.
- Name the conditions that trigger rollback.
- Document any irreversible steps clearly.
What it means
The change appears architecture-impacting, but ArchPilot could not find rollback guidance.
Why it matters
Rollback plans reduce operational risk when architecture, data, or dependency changes behave unexpectedly.
Common causes
- A migration plan lacks a rollback section.
- Rollback notes live outside the repository.
- The change was treated as low-risk even though it affects a core boundary.
Example bad pattern
A data ownership migration has no rollback or pause criteria.Example good pattern
The ADR includes rollback steps, owner, trigger conditions, and validation checks.Related files/config
docs/adrsdocs/runbooksdb/sql
Related CLI commands
archpilot validatearchpilot validate --ci