{"version":"2.1.282","anchor":"headlesssdk-stop-turn-handoff-and-prefetch-attachments-ar","canonical_anchor":"headlesssdk-stop-turn-handoff-and-prefetch-attachments-ar","heading":"Stop requests in headless and SDK mode can jump ahead of queued input","tier":"notice","area":"SDK","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.282\/e\/headlesssdk-stop-turn-handoff-and-prefetch-attachments-ar","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.282","markdown":"### Stop requests in headless and SDK mode can jump ahead of queued input\n\nIn headless and SDK use, Stop, handoff and attachment prefetch requests can now be answered before earlier input finishes processing\n\n**Unclear.** Exactly which kinds of earlier input may be overtaken is not fully settled.\n\n**What**\n\nIn headless mode (running Claude Code without its interactive screen, for example from the SDK or another program), Claude Code reads instructions one after another from its input. Some requests can now be answered ahead of earlier input that is still being processed:\n\n- A Stop request is answered straight away while other work is in flight, for example during a file download. Messages you sent before the Stop that are still waiting are cancelled rather than run.\n\n- A turn handoff can be accepted early when no model reply is pending.\n\n- A request to prefetch attachments is answered early.\n\nBefore, every request was handled strictly in the order it arrived.\n\n**Why**\n\nPrograms driving Claude Code get a much faster Stop while a turn is still downloading attachments, and messages queued before the Stop no longer run after it.\n\n- Area: SDK\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5"}