Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

Auto-mode and removal-check refusals can come with a suggested remedy

Refusals from auto mode or the removal check can now carry a remedy such as an allow rule, with new refusal kinds for SDK hosts

Group of 4 You'll notice Improvements
JSON All of v2.1.334
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.334,
ImprovementsSection of the release

What

Auto mode lets Claude Code decide on its own whether a tool call is safe, using a classifier, an automatic checker. Claude Code also has a built-in check that can refuse commands that remove files. When either one refuses an action, the refusal can now say more:

  • toolResultRemedy is a new optional part of an auto-mode denial, of the form {kind:"allow_rule", tool}, naming a tool an allow rule would unblock. It depends on needsClassifierToolCall, ccrSessionLimited and the tool name, and is left out in some cases.
  • The remedy schema shared with host apps gains the kinds allow_rule, check_failed and removal_refused, after the existing advice_to_claude. It also gains the fields tool, check_failure, removal_risk and long_sleep. long_sleep marks a shell command refused for starting with a long sleep, and removal_refused means the removal check refused the command and no person approved it.
  • New tables sort classifier errors into check_failed kinds and removal refusals into removal_refused kinds, such as top_folder, variable_target and unread_command.
  • When needsClassifierToolCall is true, the help text the model sees after a blocked action is cut down to one sentence about continuing other tasks, without the auto-mode consent text.

The remedy is kept as toolResultRemedy in the transcript's redaction list.

Why

Apps built on the SDK can tell these refusals apart and act on them, for example by offering the allow rule that would let the tool run. The model also gets shorter wording in some auto-mode denials.

See this entry in the whole of v2.1.334 →

Feedback