v7.0.34
Highlights
- Fix: primary-checkout branch-flip guard now survives a dirty tree. The
templates/githooks/post-checkouthook auto-stashes dirty edits asguardex-auto-revert <ts> <prev>-><new>(including untracked files) before reverting primary to the protected branch. Previously a dirty tree caused the guard to printauto-revert skippedand silently leave primary flipped onto anagent/*branch — the exact symptom where localmainappeared to become the agent worktree branch. (#417) - Contract tightening in
AGENTS.md/CLAUDE.md: new explicitPrimary-tree lock (blocking)rule enumerating every disallowed command on the primary checkout (git checkout <ref>,git switch <ref>,git switch -c ...,git checkout -b ...,git worktree add <path> <existing-agent-branch>), plus aDirty-tree rulepointing at the new auto-stash safety net. (#417)
Changes
- chore(release): bump to 7.0.34 (#418)
- fix(guardex): auto-stash dirty primary on branch-switch (#417)
Full Changelog: v7.0.33...v7.0.34