1 results for tag "block-no-verify-hook"
Configures a `PreToolUse` hook in `.claude/settings.json` that inspects every Bash tool call and blocks `git` commands containing `--no-verify` or `--no-gpg-sign` by exiting with code 2. Prevents AI agents from bypassing pre-commit hooks, lint/test gates, and GPG signing policies.