Claude Code Hooks: The Deterministic Layer You're Not Using Yet
May 26, 2026 Claude Code hooks guide: all 33 lifecycle events, exit code 2 blocking, PreToolUse examples, the stop_hook_active trap, and the patterns worth shipping.
19 min read · claude-code, hooks +2