{"version":"2.1.288","anchor":"wake-router-can-resume-subagents-without-a-main-loop-context","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":"Background Agents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.288\/e\/wake-router-can-resume-subagents-without-a-main-loop-context","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.** Part of the new wake-up path may not run yet, and it is not clear what decides the extra cases that trigger a check.\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: Background Agents\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}