name: write-a-migration-rollback-plan
description: Write a migration rollback plan with triggers, checkpoints, data handling, and decision ownership. Use when the user needs a safe retreat path for a production migration or launch.
domain: architecture-design
tags: [rollback-plan, migration-safety, recovery-procedure]
triggers: ["migration rollback plan", "write a rollback procedure", "production migration retreat plan"]
Write a migration rollback plan with triggers, checkpoints, data handling, and decision ownership
Purpose
Write a migration rollback plan with triggers, checkpoints, data handling, and decision ownership.
When to use
Use when the user needs a safe retreat path for a production migration or launch.
When NOT to use
Do not use this for a local implementation detail; use software-engineering instead.
Inputs required
- The functional and non-functional requirements
- The constraints on scale, budget and timeline
- The existing systems the design must fit
Procedure
- Define the migration scope, success metrics, rollback triggers, and decision deadline.
- Inventory pre-migration backups, checkpoints, and configuration snapshots.
- Map each irreversible data or schema change to a compensating action or explicit stop.
- Specify the rollback commands, traffic restoration steps, validation checks, and expected duration.
- Assign the rollback authority and define how rollback decisions are communicated and logged.
- Test the rollback path and record assumptions about data loss, latency, and recovery limits.
Output contract
A design with components, interfaces, data flows, failure modes and a migration path.
Validation checklist
Safety notes
Never present a design as final without stating the assumptions it depends on.
Related skills
plan-a-read-write-split
plan-a-strangler-fig-migration
plan-a-decomposition-of-a-god-service
1---2name: write-a-migration-rollback-plan3description: Write a migration rollback plan with triggers, checkpoints, data handling, and decision ownership. Use when the user needs a safe retreat path for a production4---5---6name: write-a-migration-rollback-plan7description: Write a migration rollback plan with triggers, checkpoints, data handling, and decision ownership. Use when the user needs a safe retreat path for a production migration or launch.8domain: architecture-design9tags: [rollback-plan, migration-safety, recovery-procedure]10triggers: ["migration rollback plan", "write a rollback procedure", "production migration retreat plan"]11---1213# Write a migration rollback plan with triggers, checkpoints, data handling, and decision ownership1415## Purpose1617Write a migration rollback plan with triggers, checkpoints, data handling, and decision ownership.1819## When to use2021Use when the user needs a safe retreat path for a production migration or launch.2223## When NOT to use2425Do not use this for a local implementation detail; use software-engineering instead.2627## Inputs required2829- The functional and non-functional requirements30- The constraints on scale, budget and timeline31- The existing systems the design must fit3233## Procedure34351. Define the migration scope, success metrics, rollback triggers, and decision deadline.362. Inventory pre-migration backups, checkpoints, and configuration snapshots.373. Map each irreversible data or schema change to a compensating action or explicit stop.384. Specify the rollback commands, traffic restoration steps, validation checks, and expected duration.395. Assign the rollback authority and define how rollback decisions are communicated and logged.406. Test the rollback path and record assumptions about data loss, latency, and recovery limits.4142## Output contract4344A design with components, interfaces, data flows, failure modes and a migration path.4546## Validation checklist4748- [ ] Every requirement maps to a component49- [ ] Failure and rollback paths are described50- [ ] The trade-offs behind the choice are written down5152## Safety notes5354Never present a design as final without stating the assumptions it depends on.5556## Related skills5758- `plan-a-read-write-split`59- `plan-a-strangler-fig-migration`60- `plan-a-decomposition-of-a-god-service`