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 the rule validates
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.
Typical violation example
A data ownership migration has no rollback or pause criteria.Typical compliant example
The ADR includes rollback steps, owner, trigger conditions, and validation checks.Related rules
AP-SAFE-001 - Missing ADR coverage for risky architecture changeAP-SAFE-003 - Missing feature-flag or staged rollout evidence for risky architecture change
Adjacent categories
Related files/config
docs/adrsdocs/runbooksdb/sql
Related CLI commands
archpilot validatearchpilot validate --ci