Claude Code 2.1.296 adds subagent auto-compact windows and a workflow subagent model
Claude Code 2.1.296 adds autoCompactWindow for subagents, CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL, a longer configurable 529 retry delay, a code key for Claude apps gateway policies, doubles the MCP tool description limit to 4,096 characters, and fixes many bugs.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingRoutine Claude Code release. Gateway admins gain a code policy key that also governs Claude Desktop's Code tab, and teams on non-UTF-8 codebases will see Claude refuse edits to those files instead of corrupting them.
Engineer
What to change, what breaks, what to test Worth knowingUpdate to 2.1.296. Optional: set autoCompactWindow on long-running subagents, CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL to pin workflow agents to one model, or CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS for longer 529 backoff. Convert Windows-1252, Shift-JIS or GBK files to UTF-8 if you want Claude to edit them.
General consumer
Using the Claude apps, not the API No impactNothing to do — this is a Claude Code release and does not change the Claude apps.
Claude Code 2.1.296 adds autoCompactWindow to subagent frontmatter and --agents definitions, so a subagent can auto-compact earlier than the main conversation; CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL, which runs every workflow agent on one model while other subagents keep theirs; and CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS, which sets a longer maximum backoff when retrying overloaded (529) requests. The Read tool gains an allow_large option for reading a whole text file past the usual size limits. For the Claude apps gateway, managed.policies[] accepts a code key carrying the same settings as cli, also applied in Claude Desktop’s Code tab.
Behaviour changes: the default limit on MCP tool descriptions sent up front and on MCP server instructions rises from 2,048 to 4,096 characters; a turn or ! command started while the session moves to the background is now stopped rather than finishing out of sight; Bash commands that assign and then use BASH_ARGV0 now prompt instead of being auto-approved; Edit and NotebookEdit now refuse edits to files that are not valid UTF-8 (such as Windows-1252, Shift-JIS or GBK) rather than corrupting their non-ASCII characters; and in VS Code, Claude in Chrome now asks before browser actions in every session, including ones connected with @browser. /cost, the status line, --max-budget-usd and the SDK’s cost figures now price Sonnet 5.5 cache reads at $0.10 per million tokens, matching the October 7 price cut.
The rest is bug fixes, among them managed PreToolUse hooks that deny with "continue": false refusing the call without ending the turn, token counting for Haiku 5.5 and other adaptive-thinking-only models behind some gateways, and a Claude apps gateway sign-in regression from 2.1.295.
The changelog carries no release dates. This entry is dated October 9, 2026 because 2.1.296 appeared between the previous day’s fetch and this run’s.
Topics: Agents and tool use, Coding tools
Terms on this page: Per million tokens (MTok), Prompt caching