# Claude Code 2.1.332 Starts Sonnet 5.x Cloud Sessions in Auto Mode, and Runner Token Prefixes Can Now End in oat02-

Claude Code 2.1.332 (25 November 2026) starts terminal and VS Code sessions moved to Sonnet 5 or 5.5 on Bedrock Mantle, Agent Platform and Foundry in auto mode when no mode is set, and lets self-hosted runner OAuth token prefixes end in oat02- as well as oat01-. Set the permission mode yourself, and update log scrubbers and OpenTelemetry filters keyed on the old values.

By Neomanex. Updated 2026-11-27.

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](/directory/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](/models/claude-sonnet-5-5), [Claude Sonnet 5](/models/claude-sonnet-5) and, on Foundry, [Claude Opus 5.5](/models/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 `disableAutoMode` to `"disable"` to stop it"
- **Aliases move:** "Changed the `sonnet` model alias on Google Cloud's Agent Platform and Microsoft Foundry to Sonnet 5.5, and Foundry's `opus` alias to Opus 5.5; `sonnet` on 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 set `ANTHROPIC_DEFAULT_SONNET_MODEL` to 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 default` and 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 in `oat02-` as well as `oat01-`. Update proxy rules and log scrubbers that match `oat01-`, and mask the whole value"
- **OpenTelemetry name:** "Changed the default OpenTelemetry `service.name` of desktop Code tab sessions to `claude-code-desktop`; update filters keyed on `claude-code`, or set `OTEL_SERVICE_NAME` to keep the old name"

### New: skills from MCP servers

- "Added skills from MCP servers (beta). They show as `server:skill` in the `/` menu; other skills keep their names"
- "Added a `PreSkillShellCommand` hook 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-use` to 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 `disableAutoMode` to `"disable"`.
- **On Foundry:** deploy `claude-sonnet-5-5`, or set `ANTHROPIC_DEFAULT_SONNET_MODEL` to a model you have deployed.
- **Self-hosted runners:** update proxy rules and log scrubbers to catch `oat02-` as well as `oat01-`, and mask the whole token.
- **Observability:** add `claude-code-desktop` to OpenTelemetry filters keyed on `claude-code`, or set `OTEL_SERVICE_NAME`.
- **Skills:** rename any skill or command called `computer-use` on Macs with computer use on.

Canonical: https://neomanex.com/news/claude-code-2-1-332-sonnet-5-auto-mode-mantle-agent-platform-foundry-oat02-token
