Claude Code 2.1.207: Auto Mode Is Now Default on Bedrock, Vertex AI, and Foundry — Audit Your Operator Settings

Claude Code 2.1.207 removes the CLAUDE_CODE_ENABLE_AUTO_MODE opt-in requirement on Bedrock, Vertex AI, and Foundry. Auto mode is now on by default for all managed-provider sessions — operators must add disableAutoMode to maintain prior behavior.

Published via Anthropic

Archive item produced with AI assistance from the cited source and published without individual review. Editor of record: Joe Werner.

A terminal prompt on a dark background showing Claude Code auto mode settings with Bedrock, Vertex AI, and Foundry provider labels

Claude Code 2.1.207, released July 11, 2026, removes the CLAUDE_CODE_ENABLE_AUTO_MODE environment-variable requirement for Bedrock, Vertex AI, and Foundry sessions. Auto mode is now on by default across all three managed providers. If your organization previously left the opt-in unset to keep auto mode off, that passive choice no longer holds — you now need an explicit disableAutoMode: true in your settings to restore the old behavior.

What happened

The 2.1.207 changelog entry is direct:

Auto mode is now available without CLAUDE_CODE_ENABLE_AUTO_MODE opt-in on Bedrock, Vertex AI, and Foundry; disable via disableAutoMode in settings.

This reverses the previous stance, where auto mode on managed providers was an explicit opt-in via environment variable. The same release also closes a related security gap: non-interactive runs (claude -p, the SDK) were previously recording security consent as permanent and granted without ever showing the consent dialog. That is now fixed.

The surrounding 2.1.204–2.1.206 changes add additional operator-relevant surface:

  • 2.1.205: A new auto mode rule blocks tampering with session transcript files, which directly affects any automation that reads or post-processes Claude's own transcript.
  • 2.1.206: EnterWorktree now asks for confirmation before entering a git worktree outside the project's .claude/worktrees/ directory. Background agents now upgrade to a new build in the background rather than during the next attach — reducing a source of stale-session surprise.
  • 2.1.207: Bedrock, Vertex, and Claude Platform on AWS now default to Claude Opus 4.8 instead of whatever was previously resolved. This model default change compounds the auto-mode flip: teams may now be running a newer, higher-cost model in an autonomous permission mode without explicitly choosing either.

Why it matters for AI engineering teams

Auto mode changes Claude Code's permission posture. In auto mode, Claude Code applies its own judgment about which shell commands, file writes, and tool calls to execute without waiting for human confirmation, using a built-in safety classifier. In the previous opt-in world, a Bedrock or Vertex deployment without CLAUDE_CODE_ENABLE_AUTO_MODE=1 ran in the more conservative permission model where the operator chose what to allow.

With 2.1.207, three things happen simultaneously for managed-provider deployments that hadn't opted in:

  1. Auto mode activates. Claude Code now makes autonomous permission decisions on your Bedrock/Vertex/Foundry infrastructure.
  2. Model default shifts to Opus 4.8. Higher capability, higher token cost per inference.
  3. Non-interactive consent is gated correctly. SDK and headless invocations (claude -p) will no longer silently inherit permanent consent. This is a fix, but it also means existing automation using headless mode may now encounter a consent prompt it never saw before.

For teams running Claude Code in CI pipelines, background agents, or long-running operator workflows on managed infrastructure, the net effect is that the permission surface expanded while the cost baseline went up — both without a mandatory upgrade prompt.

The router/operator angle

The auto mode default-on change is a routing policy question as much as a model settings question. When disableAutoMode is absent:

  • Every claude -p or SDK invocation on Bedrock/Vertex/Foundry now runs with auto mode's permission classifier active. Any tool call or bash command that Claude's classifier considers safe proceeds without operator confirmation.
  • If you route traffic to multiple providers — e.g. Bedrock for enterprise, DashScope for cost optimization, a direct Anthropic endpoint as fallback — auto mode behavior now differs depending on which leg handles the request. Bedrock/Vertex legs get auto mode; non-managed legs stay in whatever mode your configuration sets.
  • The model default shift to Opus 4.8 on managed providers changes your token-cost profile if you were previously resolving to an older Claude version. This is a budget-relevant routing signal.

What to audit immediately:

  1. Check all managed-provider Claude Code deployments for missing disableAutoMode. If your policy was to keep auto mode off, add "disableAutoMode": true to ~/.claude/settings.json or the managed settings layer before the next session.
  2. Verify your headless invocations (claude -p) still behave as expected after the consent dialog fix. Any automation that assumed permanent silent consent needs testing.
  3. Confirm your cost models account for Opus 4.8 as the resolved default on Bedrock, Vertex, and Foundry — or pin to an explicit model to avoid implicit upgrades.
  4. Review the transcript-tamper protection in 2.1.205 if your pipeline post-processes session transcripts. The new rule may refuse certain write patterns that previously succeeded silently.

What TheRouter users should watch or try

If you use TheRouter as a gateway in front of Bedrock or Vertex endpoints for Claude Code traffic, the auto mode behavior is governed by Claude Code's local settings, not by the routing layer — TheRouter does not toggle auto mode. However, the model default shift to Opus 4.8 on managed-provider legs is visible in your billing and token counters. Use the TheRouter docs to confirm which models are being resolved per provider and whether your cost allocation reflects the new default.

Teams that route Claude Code across multiple provider legs and want consistent auto mode behavior across all of them should standardize their settings file before relying on the new default. The gap between managed-provider auto mode and direct-API permission behavior is a latent policy inconsistency that 2.1.207 makes more likely to surface.

Source: Claude Code changelog, versions 2.1.204–2.1.207.

Help & contact