Fixing Broken Guardrails with onFailure Block in Claude Code

E152 - Fixing Broken Guardrails with onFailure Block in Claude Code

Published: October 9, 2026

Duration: 5:44

Learn about Claude Code version 2.1.295 and the crucial new onFailure: "block" setting for command and HTTP hooks. We dive into how to prevent broken or missing guard scripts from failing open, plus key caveats to consider before updating your configuration.

Show Notes

Releases · anthropics/claude-code - GitHub: https://github.com/anthropics/claude-code/releases