Claude Code 2.1.302 Changes Default Permission Mode and Subagent Forking for Headless Runs

Anthropic released Claude Code 2.1.302 on October 16, which includes two changes affecting claude -p and Agent SDK sessions run without explicit flags. Sessions with no permission mode set now start in default (Manual) mode on third-party providers, with telemetry off, or on fresh installs, instead of auto mode as before. Fork subagents are also now enabled by default in headless runs, the Agent SDK, the desktop app and VS Code, and can be disabled with CLAUDE_CODE_FORK_SUBAGENT=0. Because neither change was flagged as breaking, unpinned automated jobs may see denied edits or altered behavior after upgrading. Developers are advised to set the permission mode explicitly in their commands or configuration.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in