{"version":"2.1.288","anchor":"subagent-resume-tags-spawnedbymainthread-resultsonly-param","canonical_anchor":"wake-router-can-resume-subagents-without-a-main-loop-context","heading":"Background subagents wake more reliably, with results-only wakes","tier":"notice","area":"Subagents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.288\/e\/subagent-resume-tags-spawnedbymainthread-resultsonly-param","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.288","markdown":"### Background subagents wake more reliably, with results-only wakes\n\nIdle background subagents now wake for more queued items, can wake only to deliver results, and are dropped after repeated failed resumes\n\n**Unclear.** It is not clear what the resultsOnly option does or what the new record is used for.\n\n**What**\n\nA subagent is a helper Claude starts for a separate task, and a background subagent keeps running while you work. Waking and resuming these agents changed.\n\n- Idle background agents are now woken by more kinds of queued items, not only task notifications. The timer that checks the queue again reacts to the same wider set.\n\n- A wake with no notification prompts is marked `resultsOnly`, and resume accepts a `resultsOnly` setting.\n\n- Failed results-only wakes are counted, and an agent whose resume keeps failing is dropped.\n\n- Waking agents no longer requires the main-loop context to be present first.\n\n- Resumed agents, and agents started from the main conversation, are tagged `spawnedByMainThread`.\n\n- Separately, copying git branches into a builder now fails with a message saying HEAD changed while the branches were being read, if HEAD moved during the read.\n\n**Why**\n\nIn practice, results from background agents should arrive more reliably, and an agent that cannot be resumed is dropped instead of being retried without end. This may also change when idle background agents wake up.\n\n- Area: Subagents\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}