Skip to main content

Perform governed rollback

A governed rollback reverts a release while preserving the audit chain. It is not a git reset or a force push.

Steps

  1. Open a REPAIR_GOAL with goal_type: REPAIR_GOAL and phase_id: ROLLBACK-<n>.
  2. Pin the goal to the release commit: base_commit: <release SHA>.
  3. Set worktree_policy.mode: REPAIR_PINNED.
  4. Add a task that creates a revert PR (git revert <release SHA>).
  5. Run the orchestrator.
  6. The revert PR is opened against main.
  7. CI runs.
  8. Owner reviews and approves.
  9. Governed merge.
  10. Production ticket is consumed for the revert.

What this playbook is NOT

  • It is not git reset — that is HARD_PROHIBITED.
  • It is not a force push — that is HARD_PROHIBITED.
  • It is not a silent history rewrite — that requires a separate, explicit owner authorization.