Claude docs changes for July 27th, 2026 [diff]
Executive Summary
- Subagent nesting is on by default again: subagents can now spawn subagents of their own up to three layers deep (
CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTHdefault raised from 1 to 3 as of v2.1.219), reversing the v2.1.217 change that turned nesting off by default. - The
workflowSizeGuidelinesetting's default changed fromunrestrictedtomedium(fewer than 15 agents), and as of v2.1.219 it can be set directly in any settings file, taking precedence over the/configDynamic workflow size row. - Usage-policy-refusal and cybersecurity-safeguard error messages were shortened and now name the specific model that flagged the request; non-interactive mode drops the
/feedbackmention in favor of a plain "Learn more:" link.
Claude Code changes
Changed documents
agent-sdk/subagents [Source]
- Subagents can now spawn subagents of their own by default, up to three layers below the main conversation;
CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTHstill controls the limit, with1turning nesting off. Documents the intermediate default of1used in v2.1.217-v2.1.218 before v2.1.219 raised it to3. [lines 174-177] [Source]
claude-platform-on-aws [Source]
- Removed the enterprise sales/pricing banner ("Deploying Claude Code across your organization?") from the top of the page. [line 1] [Source]
env-vars [Source]
CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTHdefault changed from1to3, matching the new default-on nesting behavior; set1to turn nesting off again. [line 246] [Source]
errors [Source]
- Usage policy refusal message shortened to
<model> can't help with this. Start a new session to continue., naming the specific model (orClaudewhen none is recorded); non-interactive mode now ends withLearn more:and a link instead of mentioning/feedback. Documents the prior wording used before v2.1.219. [lines 998-1004] [Source] - Cybersecurity safeguard message shortened to
<model>'s safeguards flagged this message, pointing to the Cyber Verification Program; non-interactive mode now ends withLearn more:and a link instead of dropping the/feedbacksentence. Adds a version history of the three message wordings used since before v2.1.203. [lines 1015-1030] [Source] - "Matched no tools in this session" and the zero-tools refusal now describe the
Agenttool being withheld because a subagent is at the nesting depth limit, rather than because nesting is off entirely — consistent with nesting now being on by default. [lines 1264 and 1279] [Source]
settings [Source]
workflowSizeGuidelinemoved out of the global-config-only table and into the main settings table: its default changed fromunrestrictedtomedium, it can now be set directly in any settings file as of v2.1.219 (taking precedence over/config, which hides the row once a settings file sets the key), and on v2.1.202-v2.1.218 it must still be set via/config. [line 314] [Source]
sub-agents [Source]
- "Let subagents spawn their own subagents" rewritten: nesting is on by default up to three layers,
Agentis withheld only once a subagent hits the depth limit, andCLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH=1turns nesting off rather than being the default. Adds a version history table for the v2.1.172-v2.1.216 (5 layers, unconfigurable) and v2.1.217-v2.1.218 (default 1) eras. [lines 757-779] [Source]
workflows [Source]
- "Set a size guideline" rewritten: the default is now
medium(previouslyunrestricted),/configshowsmedium (default)until a value is chosen, and as of v2.1.219 theworkflowSizeGuidelinesettings-file key takes precedence over/configand hides that row. TheLarge workflowwarning threshold still follows only a guideline you explicitly set. [lines 306-333] [Source]
API changes
No significant documentation changes today; only Cloudflare email-obfuscation link updates in build-with-claude/files and build-with-claude/thinking.