Skip to content

chore: add block-no-verify hook to Claude Code settings#891

Open
tupe12334 wants to merge 1 commit intoslopus:mainfrom
tupe12334:add-block-no-verify
Open

chore: add block-no-verify hook to Claude Code settings#891
tupe12334 wants to merge 1 commit intoslopus:mainfrom
tupe12334:add-block-no-verify

Conversation

@tupe12334
Copy link

Closes #890\n\nAdds block-no-verify@1.1.2 as a PreToolUse hook in Claude Code settings to prevent AI agents from bypassing git hooks.\n\nblock-no-verify intercepts git commit or push commands that attempt to skip pre-commit hooks and blocks them before execution. This protects the lint, typecheck, and test workflows in this repo from being bypassed when Claude Code runs autonomously.\n\nPackage: https://github.com/tupe12334/block-no-verify\n\nDisclosure: I am the author and maintainer of block-no-verify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add block-no-verify to prevent AI agents from bypassing git hooks

1 participant