You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
[0.6.0] — 2026-07-01
Added
git-guard.py — a fail-open PreToolUse (Bash) hook that denies only local, irreversible git operations (reset --hard, clean -f*, branch -D, and checkout/restore discards) when Claude runs them via the Bash tool. It never fires on the user's !git commands, which remain the unguarded escape hatch. Pairs with a new Git workflow prose rule in CLAUDE.md (branch off develop, ask-first) — interpretive habits stay prose, deterministic damage-prevention is the hook. This is the plugin's first PreToolUse matcher and the layer-3 (client-side, pre-emptive) complement to the CI/CD and branch-protection layers.