Claude Code Hooks: The Control Plane for Autonomous Agents
The most consequential Claude Code release this month is one config line: onFailure: \"block\". Hooks are the deterministic layer between a probabilistic agent and your filesystem, and most teams still run them fail-open. Here is the architecture, the code, and the failure modes nobody tests.
Devdatta Narawade8 min