Five ways Claude Code's hook system silently fails
Hooks are Claude Code's safety net. PreToolUse blocks dangerous Bash invocations before they run; SessionStart injects context the model needs; permission rules pin what the agent is allowed to touch. A whole class of incidents — committed .env files...
yurukusa.hashnode.dev7 min read