Anthropic Product minor

Claude Code 2.1.302 adds an auto mode classifier model setting and turns fork subagents on outside the terminal

Claude Code 2.1.302 adds CLAUDE_CODE_AUTO_MODE_MODEL and an Idle compaction toggle, enables fork subagents by default in claude -p, the Agent SDK, desktop and VS Code, caps concurrent prompt and agent hooks at 12, and warns that standalone Claude Design closes December 14.

What does this mean for me?

Plan for it
  • Engineering leadership

    Cost, risk, timeline, team impact Worth knowing

    Nothing to decide now. Fork subagents now run by default in headless, SDK, desktop and VS Code sessions, so watch usage on automated Claude Code jobs after upgrading to 2.1.302.

  • Engineer

    What to change, what breaks, what to test Worth knowing

    After upgrading to 2.1.302, check SDK and claude -p jobs: fork subagents are now on by default (set CLAUDE_CODE_FORK_SUBAGENT=0 to turn them off), and at most 12 prompt or agent hooks per event run at once. Use CLAUDE_CODE_AUTO_MODE_MODEL only if you run the client-side classifier.

  • General consumer

    Using the Claude apps, not the API Plan for it

    If you use the standalone Claude Design site at claude.ai/design, move your design systems into Claude before it closes on December 14, 2026. The rest of this release only affects Claude Code.

Claude Code 2.1.302, released October 16, 2026, is mostly fixes, with a handful of changes users will notice.

New settings. CLAUDE_CODE_AUTO_MODE_MODEL chooses the model used by the client-side auto mode classifier; it has no effect on the server-side classifier, which is the default since September. /config gains an Idle compaction row to turn idle compaction off or back on, and the notice shown after an idle compaction now says how.

Subagent defaults. Fork subagents (subagent_type: "fork") are now on by default in claude -p, the Agent SDK, the desktop app and VS Code, as they already were in the terminal; CLAUDE_CODE_FORK_SUBAGENT=0 turns them off, and claude mcp serve never offers them. The desktop app and VS Code now always run the main conversation’s subagents in the background, and a subagent’s own Agent calls in claude -p, the SDK, desktop and VS Code run in the foreground by default.

Hooks. At most 12 prompt or agent hooks for one event now run at a time; the rest queue.

Claude Design notice. /design-sync and /design-login now show a notice that standalone Claude Design (claude.ai/design) closes by December 14, 2026.

Among the fixes: the Read tool now refuses image sources over 128 MB instead of loading them whole, requests no longer fail with “diagnostics: Extra inputs are not permitted” after switching to Vertex or Bedrock mid-session, and MCP servers negotiating protocol version 2026-07-28 that omit resultType, ttlMs or cacheScope work again. With the server-side auto mode classifier, a conversation too long for the safety check is now compacted instead of every checked tool call being denied. The change to the default permission mode for claude -p and the SDK on third-party providers is recorded as its own entry.

Topics: Agents and tool use, Coding tools

Sources

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