What
A subagent is a helper that Claude starts to work on part of a task. Each one keeps a transcript, a record of what it did, plus a small metadata file kept next to it called a sidecar. Two pieces of code for bringing subagents back after a session resumes changed:
- Fetching transcripts against the local copy: the fetch of a subagent transcript in a cloud session gained a
verify_localmode. It reads the local transcript, notes which events it already holds, and writes only the missing ones. It can reportlocal_currentwhen the local copy is already up to date, andlocal_read_failwhen the local copy cannot be read. It can also restore the sidecar from the stream (subagent_sidecar_from_stream). Before, it only wrote when there was no local copy at all. - Restoring orphaned background agents: new code works out which built-in background agents launched earlier can still be resumed or still need their results passed on. It reads agent sidecars and agent metadata events, and logs errors with the prefix
[orphanAgentRestore]. It depends on thetengu_wondrous_islandserver switch, which falls back to off. Nothing has been read about that switch.
Why
Resumed or remote subagents can catch up on missing history without duplicating or overwriting what is already saved, and background agents left behind by an earlier run may be picked up again on resume.
tengu_wondrous_island Not enough to sayNothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.310: off
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.
Read once, for one account on one subscription tier, against v2.1.310. It isn't a statement about your account. What a flag value here can and cannot tell you
New in this build: tengu_wondrous_island