Claude Code Hooks Can Now Fail Closed: onFailure Block for PHP Guardrails October 17, 2026 claude-code php hooks developer-tools ai laravel Claude Code 2.1.295 adds onFailure "block" to hooks, so a broken guard script stops the action instead of waving it through. Here is a PHP setup. Read more →