Skip to content

v7.0.34

Choose a tag to compare

@NagyVikt NagyVikt released this 24 Apr 12:52
· 94 commits to main since this release
27026a1

Highlights

  • Fix: primary-checkout branch-flip guard now survives a dirty tree. The templates/githooks/post-checkout hook auto-stashes dirty edits as guardex-auto-revert <ts> <prev>-><new> (including untracked files) before reverting primary to the protected branch. Previously a dirty tree caused the guard to print auto-revert skipped and silently leave primary flipped onto an agent/* branch — the exact symptom where local main appeared to become the agent worktree branch. (#417)
  • Contract tightening in AGENTS.md / CLAUDE.md: new explicit Primary-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 a Dirty-tree rule pointing 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