Act on this, mostly signal
exit 1 does not block Claude Code hook commands
What to do
Use exit 2 in Claude Code hooks to block dangerous commands.
Why
Per the hooks docs, exit 1 is only a non-blocking error. Hook reliability for sub-agents and unattended runs is also questioned.
