Claude Code 2.1.295 lets a failing command or HTTP hook block the action

TL;DR

  • Claude Code 2.1.295, released on 8 October, adds onFailure: "block" for command and HTTP hooks, so a hook that can't start, times out or exits with an unexpected code blocks the action instead of letting it through.
  • Version 2.1.294, out earlier that day, fixed prompt and agent hooks written as instructions that allowed what they should block.
  • Version 2.1.296, on 9 October, adds autoCompactWindow for subagents and makes some BASH_ARGV0 commands ask for approval.

Read the full story

Sign in with your email to read AI News. It’s free.

Share this story

Explain like I’m 15