Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

Headless runs report an error when auto mode could not check some actions

In print mode, a run where auto mode couldn't check some actions now ends as an error naming the tools, unless turned off with an env var

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

Unclear It is not clear whether this error also changes the process exit code that scripts check.

What

Auto mode is a permission mode where a safety check decides whether Claude's actions may run. Sometimes the check gives no answer, and those actions are refused.

  • Permission denials now carry auto_mode_unchecked, set to 'no_check_in_session' or 'no_verdict'. The result description says the final assistant text can still be returned when permission_denials lists such actions.
  • In print mode (claude -p, used in scripts), a run that otherwise succeeded, or ended in error_during_execution with stopped_by_permission_check, is now marked is_error: true. An error is added: 'Auto mode could not check some actions Claude tried, so they did not run: …', naming the tools, ending with [auto_mode_unchecked], and suggesting another permission mode.
  • Outside stream-json output the error is also written to the error output, and the exit reason is auto_mode_unchecked_refusals. Before, there was only an error-output message and exit code 1, behind a gate named tengu_truthful_wren, with no error on the result.
  • The rewrite is skipped when CLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR or CLAUDE_CODE_EVAL_CONFINED is set, and for stream-json output when an sdkUrl is set or a few other conditions hold.
  • When the check gives no answer and the action was approved over Remote Control, it is now denied. The message says to approve on the computer with Remote Control off, or switch permission mode.
  • A tracker marks these no-answer denials and clears the mark if the same tool call is retried and allowed. It sits behind a gate named tengu_noble_turtle whose compiled-in fallback is true; nothing has been read about it.

Why

Scripts and CI jobs running claude -p in auto mode can now see an error result where a run used to look successful. Set CLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR to keep the old behaviour.

Read from
Names in the bundleclaude -p
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether this error also changes the process exit code that scripts check.
Anthropic's release notes agreeImproved memory use of terminal, desktop app and VS Code sessions and of claude -p

See this entry in the whole of v2.1.337 →

Feedback