All areas Feed Weekly digests

auto-mode

The tracked changes tagged auto-mode, newest release first. Every sentence is an item's summary.

68 items from 19 releases, 13 breaking Sources: Claude Code Last change:

Goes with

Changes

Claude Code v2.1.332

  1. breaking Breaking

    Terminal and VS Code sessions moved to Sonnet 5 or 5.5 on Bedrock Mantle, Agent Platform and Foundry now start in auto mode when no mode is set; set disableAutoMode to disable to stop it.

  2. other

    --model default and a Default pick now move to an older model when the model is unavailable, instead of erroring; in auto mode they only move to a model auto mode accepts.

Claude Code v2.1.329

  1. fix

    Fixed auto mode asking for manual approval to rm a symlink that points outside the working directory or at itself.

  2. fix

    Fixed /auto-mode-setup ignoring recent auto mode denials when scanning a project; it may now suggest allow rules from them, each reviewed before saving.

  3. fix

    Fixed cloud sessions telling Claude to run a network proxy check after a failed request, which auto mode then blocked.

  4. fix

    Improved auto mode handling of short replies such as yes to Claude's question when telemetry is off, behind an Anthropic API gateway, or on Microsoft Foundry.

  5. other

    Auto mode runs git status less often; a git command that discards changes may now be blocked until the working tree is checked.

Claude Code v2.1.327

  1. breaking Breaking

    Changed auto mode to ignore more allow rules that run any package, such as Bash(pnpm dlx *), and path or version forms of ones it already ignored.

  2. deprecation Breaking

    Changed auto mode's notice about billed classifier fallback to say an upcoming release removes the fallback, after which each action it would have checked will be asked about or denied.

Claude Code v2.1.326

  1. breaking Breaking

    Terminal and VS Code sessions in organizations with the Claude Code plus Cowork HIPAA configuration start in auto mode by default; disableAutoMode turns it off.

  2. breaking Breaking

    Terminal and VS Code sessions with no mode set start in auto mode instead of Manual mode when the organization policy has not loaded.

  3. breaking Breaking

    Managed autoMode.environment lists without $defaults replace every built-in entry; add $defaults or copy the sensitive-target entries.

  4. breaking Breaking

    Auto mode ignores some wildcard shell allow rules, such as those naming no program or starting with $HOME, so the safety check decides those commands.

  5. breaking Breaking

    Auto mode judges wildcard allow rules whose program is a Windows backslash path, so those calls can be blocked.

  6. breaking Breaking

    Auto mode stops some shell commands that ran before.

+8 more
  1. fix

    Permission-prompt and setup key handling fixes: an extra Enter at setup no longer accepts auto mode default, and a typed message over the auto mode offer is no longer lost.

  2. fix

    Auto mode no longer stays on its local classifier because of a stale saved value.

  3. fix

    Subagent tool counts in auto mode no longer include the call that delivers the final report.

  4. other

    On/off settings read on and off in /config, /memory and auto mode setup.

  5. other

    Sessions that start in auto by default take a server-managed defaultMode once settings load, or Manual if settings fail with no stored copy and policy fails or requires it.

  6. other

    Auto mode for HIPAA-configured organizations on a direct Anthropic API connection uses the server-side classifier for actions, as for other organizations.

  7. other

    Claude Code Desktop and Agent SDK apps apply managed autoMode.environment replacement as described for managed settings.

  8. other

    Changed the Cowork HIPAA organization auto mode default, and the sign-in screen change in VSCode.

Claude Code v2.1.325

  1. fix

    Fixed auto mode judging only the first change to an externally visible artifact; its yes now covers only that change.

Claude Code v2.1.323

  1. fix

    Fixed --permission-mode auto or defaultMode auto starting in a mode that could allow more when auto mode was unavailable; it now starts in Manual mode.

  2. fix

    Fixed auto mode running behind a gateway on a model whose gateway name contains haiku; such models other than claude-haiku-5-5 are now refused.

Claude Code v2.1.321

  1. fix

    Auto mode no longer loses a background subagent's report that started a turn when the conversation was compacted before Claude answered it.

  2. performance

    Auto mode in headless sessions, the desktop app and VS Code answers reports from waiting background subagents in one model call, as in the terminal.

Claude Code v2.1.319

  1. breaking Breaking

    Auto mode with telemetry or feature flags off, including behind LLM gateways, no longer falls back to the built-in classifier; calls the server can't check are asked about or denied unless CLAUDE_CODE_AUTO_MODE_SERVER=0 is set.

  2. breaking Breaking

    Behind an LLM gateway, CLAUDE_CODE_AUTO_MODE_SERVER=1 is needed to turn on the server-side auto mode check even when CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS is set, and managed settings that set the latter must also set the former to 1.

  3. breaking Breaking

    Changed auto mode so a project's settings files or a plugin can no longer switch the server-side check back on once it has been switched off outside the project.

  4. fix

    Fixed claude -p exiting 0 in auto mode when actions were refused because no safety check was available; text and JSON output now exit 1.

  5. fix

    Fixed auto mode being wrongly refused when a client sent a model change and an auto mode request back to back.

+6 more
  1. fix

    Fixed /status showing "Auto mode server: Enabled" when the server-side review is not reaching the session, such as behind an LLM gateway that drops it.

  2. fix

    Fixed auto mode refusing actions without explanation when permission rules or autoMode settings are very large; it now explains and, unless autoMode deny rules are set, asks in the terminal.

  3. fix

    Fixed a sed command skipping the permission check in accept-edits and auto mode.

  4. fix

    Fixed CLAUDE_CODE_AUTO_MODE_SERVER=1 in managed settings being ignored behind an LLM gateway when the gateway URL is set only there and server-managed settings cannot be fetched.

  5. fix

    Fixed help links in /status and the auto mode billing notice opening only part of the address when they wrap.

  6. fix

    [Claude Tag] Fixed saving auto mode allow rules in Claude Tag admin settings overwriting another admin's changes; the save is now refused with a message.

Claude Code v2.1.317

  1. feature

    Adds a notice when the auto mode check has no answer for a subagent's tool call, which previously showed nothing in the main view.

  2. fix

    Fixes auto mode failing every turn when an LLM gateway set as the base URL answers 403 or 422 to its server-side safety check; a 403 with an apiKeyHelper is unchanged.

  3. fix

    Fixes auto mode in cloud sessions stopping for approval when the Artifact tool uploaded, wrote to a database or saved a file through the outputs folder.

Claude Code v2.1.316

  1. fix

    Fixed a managed autoMode.allow list without "$defaults" getting the built-in exceptions back from a host app's --settings, a first rule added in /permissions, or /auto-mode-setup.

  2. fix

    Fixed cloud sessions and cloud scheduled tasks not being marked as failed when auto mode stopped a turn because the server returned no safety verdict.

  3. fix

    Fixed claude -p text output sometimes not saying why auto mode stopped a turn when a background agent was still running.

  4. fix

    Fixed CLAUDE_CODE_AUTO_MODE_SERVER=1 being ignored in sessions started by a host application (such as Claude Desktop) behind a proxy or LLM gateway with experimental betas turned off.

  5. other

    Changed auto mode so an autoMode.allow list without "$defaults" no longer removes the built-in rule on scheduled-task prompts.

+1 more
  1. fix

    [VSCode] Fixed a conversation coming back in Auto mode after a reload or restart when its plan was approved with "Yes, and manually approve edits".

Claude Code v2.1.314

  1. fix

    Fixed auto mode reporting a call as blocked and listing it in /permissions when its safety check gave no verdict.

  2. other

    Improved auto mode blocked-call messages to name the command, say Claude may retry and auto mode checks again, and point to /permissions.

  3. other

    Changed auto mode in Cowork cloud sessions so a hook's allow of an MCP tool call counts as no answer, leaving the classifier or a permission prompt to decide.

Claude Code v2.1.310

  1. other

    Auto mode's prompt before the first read outside the working directories now says when blocking those reads makes shell commands ask for permission.

Claude Code v2.1.304

  1. feature

    Added /auto-mode-setup, a guided setup that reads your project and recent sessions to teach auto mode about your environment, now also available on Bedrock, Vertex, Foundry, Claude apps gateway and telemetry-disabled sessions.

  2. performance

    Improved session file size in auto mode: the safety classifier's context is no longer stored with every request.

Claude Code v2.1.299

  1. fix

    Fixed background subagents in auto mode sometimes sending their final report twice, as the result and as a message.

Claude Code v2.1.296

  1. fix

    Fixed auto mode occasionally refusing one update to your own artifact, saying its sharing had changed when it had not.

  2. other

    Improved auto mode so a tool call not run because the auto mode check had no usable answer shows as a dim Not run row instead of a red error.

Claude Code v2.1.288

  1. fix

    Fixed auto mode denials pointing Claude at a Bash permission rule when the blocked tool was not Bash.

  2. fix

    Fixed auto mode on Bedrock and Mantle switching to the local classifier for the rest of the session after a request to an older model.

  3. other

    Auto mode now compacts a conversation too long for the client-side safety classifier instead of prompting for or failing every tool call.

  4. other

    The client-side auto mode classifier now ignores an ANTHROPIC_DEFAULT_SONNET_MODEL pin naming Claude Sonnet 5.5 or Opus 5.5 and uses Claude Sonnet 5 instead.

Claude Code v2.1.285

  1. fix

    Fixed background subagents in auto mode prompting a second, redundant reply after each report.

  2. fix

    Fixed auto mode skipping its classifier for Artifact asset uploads and reads of others' artifacts approved earlier in another permission mode.

  3. other

    Subagents in auto mode now end their run as soon as they hand their report back instead of taking extra turns.

  4. other

    The one-time offer to make auto mode the default permission mode now also shows on third-party providers and with telemetry off.

Claude Code v2.1.284

  1. breaking Breaking

    Changed interactive terminal and VS Code sessions to start in auto mode when no permission mode is configured, on every plan and provider; permissions.defaultMode still overrides it.

  2. feature

    Added a "Yes, but ask again next time" answer to auto mode's prompt before a read outside the working directories.

Claude Code v2.1.282

  1. other

    Changed auto mode to use the server-side classifier by default on direct Anthropic API connections when telemetry is off, with CLAUDE_CODE_AUTO_MODE_SERVER=0 to opt out.