SPB Git

Repository Public

ROLLBACK.md 920 B

# Rollback

Every migration is one commit on chore/spb-source-governance, with a ledger (<workspace>/ledger/<slug>.json) recording, per file, the hash before and after, the variant and any legacy identity block that was replaced.

Situation Action
Branch not merged delete the branch: git branch -D chore/spb-source-governance
Merged, no later change to the files git revert <migration commit>
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
One file spb-header rollback --repo . --dry-run to list, then revert that file with git

rollback leaves .spb-source-governance.toml and the CLAUDE.md section in place; remove them by hand or with the revert. History is never rewritten and nothing is force-pushed.

Files main
Menu

Theme