tupe12334 opened a new pull request, #38749:
URL: https://github.com/apache/superset/pull/38749

   ## Summary
   
   Adds `[email protected]` as a `PreToolUse` Bash hook in 
`.claude/settings.json`, alongside the existing `pre-commit` runner hook.
   
   ## Details
   
   When an agent runs `git commit` or `git push` with the hook-bypass flag, it 
silently disables pre-commit, commit-msg, and pre-push hooks — defeating the 
existing `pre-commit` integration. `block-no-verify` reads `tool_input.command` 
from the Claude Code hook stdin, detects the hook-bypass flag across all git 
subcommands, and exits 2 to block the attempt before git runs. The existing 
`pre-commit` hook is preserved unchanged.
   
   Closes #38748
   
   ---
   
   _Disclosure: I am the author and maintainer of `block-no-verify`._
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to