Repository Public
1# Rollback23Every migration is one commit on `chore/spb-source-governance`, with a ledger4(`<workspace>/ledger/<slug>.json`) recording, per file, the hash before and after, the variant and5any legacy identity block that was replaced.67| Situation | Action |8|---|---|9| Branch not merged | delete the branch: `git branch -D chore/spb-source-governance` |10| Merged, no later change to the files | `git revert <migration commit>` |11| Merged, files edited since | `spb-header rollback <slug>` (workspace) or `spb-header rollback --repo .`: removes only the header block of each file and restores the recorded legacy block; later edits are kept |12| One file | `spb-header rollback --repo . --dry-run` to list, then revert that file with git |1314`rollback` leaves `.spb-source-governance.toml` and the CLAUDE.md section in place; remove them by15hand or with the revert. History is never rewritten and nothing is force-pushed.16