Claude Code 2.1.332 Starts Sonnet 5.x Cloud Sessions in Auto Mode, and Runner Token Prefixes Can Now End in oat02-
- What happened
- Claude Code 2.1.332 (25 November 2026) starts Sonnet 5.x sessions on Bedrock Mantle, Agent Platform and Foundry in auto mode when no mode is set, and runner token prefixes can now end in oat02-.
- Why it matters
- Cloud teams inherit auto mode without choosing it, and scrubbers matching only oat01- will leak tokens whose prefix ends in oat02- into logs.
- What to do
- Set disableAutoMode or an explicit mode, update scrubbers to catch oat02-, and re-key OpenTelemetry filters.
Set the permission mode yourself before you upgrade. Claude Code 2.1.332 makes auto mode the default for Sonnet 5.x sessions on Bedrock Mantle, Agent Platform and Foundry when no mode is set, and it quietly lets self-hosted runner token prefixes end in oat02- as well as oat01-. Claude Code stays conditional in our directory, and this release is a reason to pin settings, not inherit them. It touches Claude Sonnet 5.5, Claude Sonnet 5 and, on Foundry, Claude Opus 5.5.
What happened
Anthropic shipped 2.1.332 on 25 November 2026. All quotes below are from its changelog entry for that version.
Defaults that change on the clouds
- Auto mode by default: "Changed terminal and VS Code sessions moved to Sonnet 5 or 5.5 on Bedrock Mantle, Agent Platform and Foundry to start in auto mode if no mode is set; set
disableAutoModeto"disable"to stop it" - Aliases move: "Changed the
sonnetmodel alias on Google Cloud's Agent Platform and Microsoft Foundry to Sonnet 5.5, and Foundry'sopusalias to Opus 5.5;sonneton Amazon Bedrock stays at Sonnet 4.5" - Foundry default model: "Changed the default model on Microsoft Foundry to Sonnet 5.5: deploy
claude-sonnet-5-5, or setANTHROPIC_DEFAULT_SONNET_MODELto a model you have deployed" - Foundry retirements: "Changed Microsoft Foundry: Claude Sonnet 4, Opus 4 and Opus 4.1 now count as retired, so step-downs stop above them and a pin to one warns that it was retired"
- Fallback instead of error: "Changed
--model defaultand a Default pick to move to an older model when that model isn't available, instead of stopping with an error; in auto mode, only to a model auto mode accepts"
Tokens and telemetry
- Runner tokens: "Self-hosted runner: Changed
CLAUDE_CODE_OAUTH_TOKEN: its prefix can now end inoat02-as well asoat01-. Update proxy rules and log scrubbers that matchoat01-, and mask the whole value" - OpenTelemetry name: "Changed the default OpenTelemetry
service.nameof desktop Code tab sessions toclaude-code-desktop; update filters keyed onclaude-code, or setOTEL_SERVICE_NAMEto keep the old name"
New: skills from MCP servers
- "Added skills from MCP servers (beta). They show as
server:skillin the/menu; other skills keep their names" - "Added a
PreSkillShellCommandhook event that can refuse a skill or command's inline shell commands as it loads; on 2.1.331 and older, a settings file naming it opens a dialog at start" - "Changed
computer-useto a reserved skill name on Macs with computer use on: your own skill or command of that name stops loading, and a start-up notice says to rename it"
Fixes we read
The changelog lists 93 bug fixes for 2.1.332. We read the ones that touch permissions, hooks, MCP and credentials, not every one, and none of the fixes we read is labelled a security fix. One improvement policy owners should know: "Improved /permissions to refuse a rule that would be skipped at the next start, such as rm -rf with no tool name, and to show the reason"
Why it matters
The quiet failure is the token prefix. A scrubber or proxy rule that only matches oat01- will let tokens whose prefix ends in oat02- through into logs. Nothing errors; credentials simply stop being masked.
Auto mode becomes a default you inherit. Terminal and VS Code sessions moved to Sonnet 5 or 5.5 on Bedrock Mantle, Agent Platform and Foundry now start in auto mode unless a mode is set, so cloud teams that never chose one get it anyway.
Model choice shifts under you. On Agent Platform and Foundry, sonnet now means Sonnet 5.5, and Foundry's opus means Opus 5.5. Bedrock's sonnet stays at Sonnet 4.5, so the same alias resolves to different models depending on the cloud. With --model default now stepping down instead of erroring, a missing deployment no longer fails loudly either.
What changes for you
- On Bedrock Mantle, Agent Platform or Foundry: set an explicit permission mode, or set
disableAutoModeto"disable". - On Foundry: deploy
claude-sonnet-5-5, or setANTHROPIC_DEFAULT_SONNET_MODELto a model you have deployed. - Self-hosted runners: update proxy rules and log scrubbers to catch
oat02-as well asoat01-, and mask the whole token. - Observability: add
claude-code-desktopto OpenTelemetry filters keyed onclaude-code, or setOTEL_SERVICE_NAME. - Skills: rename any skill or command called
computer-useon Macs with computer use on.
What to do
- 1 On Bedrock Mantle, Agent Platform or Foundry, decide on auto mode: set an explicit permission mode, or set disableAutoMode to "disable".
- 2 On Foundry, deploy claude-sonnet-5-5 or set ANTHROPIC_DEFAULT_SONNET_MODEL to a model you have deployed.
- 3 Update proxy rules and log scrubbers that match oat01- so they also catch oat02-, and mask the whole token.
- 4 Update OpenTelemetry filters keyed on claude-code to include claude-code-desktop, or set OTEL_SERVICE_NAME.
Affected tools & models
Never need to catch up again
The weekly delta: only verdict changes and act-now items. No digest filler.