Claude Code 2.1.296 Stops a Denied Hook from Ending the Turn
The 9 October 2026 release says a managed PreToolUse deny with continue false refuses the call and leaves the turn running.
Direct answer
Claude Code 2.1.296, published 9 October 2026, says managed PreToolUse hooks that deny a tool with continue false, and managed prompt hooks that block one, now refuse the call without ending the turn.
Claude Code 2.1.296 was published on 9 October 2026 at 19:28:59Z by ashwin-ant. One fix is about managed settings. PreToolUse hooks that deny a tool call with "continue": false, and managed prompt hooks that block a call, now refuse that call without ending the turn. A deny and a stop are different outcomes. The previous behavior treated the deny as a reason to finish the session's current turn. The note says the call is refused and the turn continues.
A second permission change is narrower. Bash checks were auto-approving some commands that assign the BASH_ARGV0 shell variable and then use it. Those commands now prompt for approval. The release does not publish a sample command. It names the variable and says the automatic allow is gone.
Two other boundary fixes on the same page
Edit and NotebookEdit no longer replace every non-ASCII character in files that are not valid UTF-8, including Windows-1252, Shift-JIS, and GBK. The notes say such edits are refused. A separate line says a saved Claude apps gateway sign-in was ignored when managed settings set forceLoginMethod to gateway with no forceLoginGatewayUrl, and it marks that as a regression in 2.1.295. The same page also changes the cost display for Sonnet 5.5 cache reads. That price line is a billing figure, not a hook rule.
Source: Claude Code v2.1.296.
FAQ
- What Bash case now asks instead of auto-approving?
- The notes say commands that assign BASH_ARGV0 and then use it no longer pass permission checks automatically. They prompt for approval.
- When was the tag published?
- The GitHub release lists ashwin-ant and a publish time of 2026-10-09T19:28:59Z.