docs: Claude Code v2.1.211 - Corporate launcher, subagent output scanning, forward-subagent-text#1058
Merged
Conversation
…ning, forward-subagent-text 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.211 lands three meaningful things at once: enterprise orgs can now enforce a mandatory process launcher across every Claude Code subprocess (background service, agent view sessions, update relaunches); a new prompt-injection defense scans subagent output before Claude reads it; and headless harness authors can now reconstruct full subagent transcripts from stream-json output. Alongside these, several correctness bugs that were silently corrupting behavior (wrong model on resumed subagents, premature background-subagent result reporting, numeric env var parsing) are fixed.
HIGHLIGHTS:
CLAUDE_CODE_PROCESS_WRAPPER/processWrappersetting, v2.1.208+/v2.1.210+) — whole new doccorporate-launcher.md. Routes every process Claude Code spawns from its own binary (background service, agent view, update relaunches, remote control workers, agent team tmux panes) through an org-mandated launcher. Enterprise security teams have been waiting for this; a PATH-level wrapper couldn't reach these processes.<system-reminder>tags,bypassPermissionsmentions, etc.) and sanitizes or flags them before Claude reads them. Not a silver bullet, but raises the bar for indirect injection via files/web pages a subagent touched.--forward-subagent-textflag +CLAUDE_CODE_FORWARD_SUBAGENT_TEXTenv var (v2.1.211) —claude -p --output-format stream-jsonnow optionally emits subagent text and thinking blocks withparent_tool_use_idset, letting harnesses reconstruct each subagent's transcript. Previously you only got thetool_use/tool_resultwrappers.CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS(v2.1.211) — Caps how old a mid-turn transcript can be before auto-resume is skipped. Spawn scripts for long-running agents can set this to prevent a restart from re-running a stale prompt against an old session.modelparameter now persists on resume (v2.1.211) — Per-invocation model was dropped when a subagent was resumed or sent a follow-up, silently reverting to the definition's model.1e6could silently set a timeout to1instead of1000000.settings.local.jsonnow found from repo root (v2.1.211) — Previously always searched from the launch directory, missing it when you launched from a subdirectory.--advisor fablenow exits with an error; theadvisorModel: "fable"setting silently applies no advisor.Created by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning