Skills 2026-05-13 00:27 UTC
evanflowv4.7
Version [4.7] committed by hobostay. Update Category: Feature Addition & Enhancement. Commit details: fix: improve git hook safety — fail-closed on missing jq, catch -- separator variants (#2). This update introduces new capabilities and module extensions.
CommitRaw commit message
fix: improve git hook safety — fail-closed on missing jq, catch -- separator variants (#2) Two safety improvements to block-dangerous-git.sh: 1. Fail-closed when jq is missing: previously the hook silently allowed all commands if jq was not installed. Now it blocks commands with a clear error message instead. 2. Catch `--` separator variants: `git checkout -- .` and `git restore -- .` are common alternatives to discard all working directory changes but were not blocked by the existing patterns. Added patterns to catch these. Also removed the redundant `git clean -fd` pattern since `git clean -f` already matches it as a substring. Co-authored-by: Test User <test@example.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>