Claude Code 2.1.304-2.1.305 add /auto-mode-setup, nested sandbox namespaces, and Code Review levels
Claude Code 2.1.304 and 2.1.305 add /auto-mode-setup, a sandbox setting for nested user namespaces on Linux, Code Review levels, and tool search on by default behind a custom ANTHROPIC_BASE_URL, with 2.1.305 fixing the gateway failures that caused.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingRoutine Claude Code release with nothing to decide. If your teams run Claude Code behind an LLM gateway or on Bedrock or Vertex and hit failures on 2.1.304, have them move to 2.1.305; Code Review owners can now pick Quick, Standard or Deep review levels.
Engineer
What to change, what breaks, what to test Worth knowingUpgrade to 2.1.305, especially behind a custom ANTHROPIC_BASE_URL, where 2.1.304's default-on tool search could fail every request. Leave sandbox.allowNestedUserNamespaces off unless you need Chromium or rootless podman, since it weakens the sandbox's file protections.
General consumer
Using the Claude apps, not the API No impactNothing to do. These are Claude Code changes and do not change the Claude apps.
Claude Code 2.1.304 (October 19, 2026) and 2.1.305 (October 20, 2026) are mostly fixes, with these changes users will notice.
New commands and settings. /auto-mode-setup reads the project and recent sessions to teach auto mode about the environment, and also works on Bedrock, Vertex, Foundry, the Claude apps gateway and telemetry-disabled sessions. /claude-api managed-agents-secure compares a Managed Agents agent’s settings with Anthropic’s published security guide without changing anything. sandbox.allowNestedUserNamespaces lets sandboxed Linux commands create user namespaces (for Chromium or rootless podman); the changelog warns this lets them get around the sandbox’s file protections. CLAUDE_CODE_RETRY_WATCHDOG_USAGE_LIMIT_RECHECK_MS lets unattended retry mode notice a usage limit lifted before its reset. Pro and Max users get a warning when resuming an inactive conversation would use a noticeable share of the 5-hour limit.
Tool search behind gateways. 2.1.304 turned tool search on by default behind a custom ANTHROPIC_BASE_URL, retrying without it on a 400 or 422. That caused every request to fail on Vertex, Bedrock and other providers when the endpoint or a gateway rejected tool search; 2.1.305 fixes this by retrying without it. Anyone who saw failures on 2.1.304 behind a gateway should upgrade.
Other behaviour changes. Compaction now sends the skill list again afterwards, and one source’s skills can register at most 1,024 hooks per session. /artifacts delete confirmation now takes 1 or Enter to keep and 2 to delete; in 2.1.305 y and n no longer answer it. The /fast dialog drops its research preview label on Opus 5.5. In Code Review, owners can choose Quick, Standard or Deep review levels per organization or repository and review every repository in a GitHub organization; re-reviews no longer open with LGTM while blocking findings are open.
Among the fixes: claude --worktree no longer removes a worktree and its branch without asking when HEAD was detached or on another branch, CLAUDE_CODE_AUTO_COMPACT_WINDOW now accepts k and M suffixes instead of silently misreading 200k, and several self-hosted runner, VS Code and Claude Tag fixes. The allowedMcpServers change in 2.1.305 is recorded as its own entry.
Topics: Coding tools