
The Claude Code Changelog · Tuesday · 5 min
Failing Closed with Agent SDK Hooks in Claude Code 2.1.317
0:00-5:06
transcript
show notes
Learn how Claude Code version 2.1.317 introduces onFailure: "block" for programmatic Agent SDK hook callbacks, preventing unattended agents from failing open on unexpected errors. We also cover protections against account email leakage in tools, isolated transcripts for nested headless sessions, and full-file re-reading behavior.