docs: Claude Code v2.1.212 - /fork becomes background sessions, runaway loop caps, MCP auto-background#1059
Merged
Conversation
…ay loop caps, MCP auto-background Co-Authored-By: claude-yolo[bot] <claude-yolo@lroole.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Night shift report
WHY THIS MATTERS: v2.1.212 reshapes how Claude Code handles parallel work and runaway agents.
/forknow creates a true background session (its own row inclaude agents) instead of an in-session subagent — this is a breaking behavior change for anyone scripting around it. More importantly, two new safety caps (200 WebSearch calls/session, 200 subagent spawns/session) with configurable env vars address a real failure mode where agents enter delegation or search spirals and burn tokens indefinitely. Long MCP calls (>2 min) now auto-background so the main session stays responsive.HIGHLIGHTS:
/forkbehavior changed: now copies conversation into a new background session with its ownclaude agentsrow; the old in-session subagent behavior moves to the new/subtaskcommand — existing workflows using/forkfor quick sub-tasks need updatingCLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSION(default 200) andCLAUDE_CODE_MAX_SUBAGENTS_PER_SESSION(default 200) cap search and delegation spirals;/clearresets the subagent budgetCLAUDE_CODE_MCP_AUTO_BACKGROUND_MStouch,rm, etc.) without a permission prompt orcanUseToolcallback — now fixed.claude/worktreesand write files outside the repository — now fixed/resumepicker: now shows all past sessions including deleted ones, resuming as a background sessionquery()error-handling pattern clarified with try/catchforceLoginMethodnow enforced for VS Code extension, SDK,setup-token, andinstall-github-app— not just terminaltrace_id/span_idnow present in OTLP records whenTRACEPARENTis setmodedeprecated: subagents now inherit the parent session's permission mode by defaultCreated by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning