Anthropic Breaking change major inferred

Claude Code auto mode stops falling back to the built-in classifier behind LLM gateways

From Claude Code 2.1.319, auto mode with telemetry or feature flags off, including behind LLM gateways, asks about or denies calls the server can't check instead of using the built-in classifier. CLAUDE_CODE_AUTO_MODE_SERVER=0 keeps the old behaviour.

What does this mean for me?

Action needed
  • Engineering leadership

    Cost, risk, timeline, team impact Action needed

    If your teams run Claude Code in auto mode behind an LLM gateway or with telemetry off, unattended jobs can start stalling or failing after the 2.1.319 upgrade. Decide whether to enable the server-side check or keep the built-in classifier before rolling the upgrade out.

  • Engineer

    What to change, what breaks, what to test Action needed

    Behind an LLM gateway or with telemetry/feature flags off, set CLAUDE_CODE_AUTO_MODE_SERVER=0 to keep the built-in classifier, or =1 to use the server check (required alongside CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS in managed settings). Check scripts around claude -p, which now exits 1 when auto-mode actions are refused.

  • General consumer

    Using the Claude apps, not the API No impact

    Nothing changes in the Claude apps; this only affects Claude Code run behind company gateways.

Claude Code 2.1.319 changes how auto mode decides on tool calls when telemetry or feature flags are off, which includes sessions behind an LLM gateway. A call the server-side check can’t review is now asked about or denied; Claude Code no longer falls back to its built-in classifier. Setting CLAUDE_CODE_AUTO_MODE_SERVER=0 keeps using the built-in classifier. Bedrock, Vertex and Foundry are unchanged.

Behind an LLM gateway, CLAUDE_CODE_AUTO_MODE_SERVER=1 now turns the server-side check on even when CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS is set. If managed settings set CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS, they must also set CLAUDE_CODE_AUTO_MODE_SERVER=1.

The practical effect is that unattended auto-mode runs in these setups can start stopping on prompts or refusals they previously got past. In the same release, claude -p in auto mode exits 1 for text and JSON output when actions were refused because no safety check was available, where it used to exit 0, and a project’s settings or a plugin can no longer switch the server-side check back on after it was switched off outside the project.

The changelog does not date releases; 2.1.319 appeared between the November 5 and November 6, 2026 (21:00 UTC) fetches, so the date is approximate.

Topics: Coding tools

Sources

Confidence
medium
Verification
Verified: stated on the vendor's own pages
Date precision
approximate
How this entry was made
Drafted by an agent, reviewed by a person