{"version":"2.1.333","anchor":"headless-interrupt-rerun-keeps-its-place-in-queue","canonical_anchor":"headless-interrupt-rerun-keeps-its-place-in-queue","heading":"Interrupted reruns keep their place in the queue in headless sessions","tier":"notice","area":"Headless Mode","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/headless-interrupt-rerun-keeps-its-place-in-queue","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Interrupted reruns keep their place in the queue in headless sessions\n\nIn headless sessions, a rerun after an interruption is now picked from the queue first instead of being dropped by a stop\n\n**What**\n\nA headless session is one that runs without the interactive screen, for example through the SDK or a script. Claude Code keeps a queue of commands to run. When something is to be rerun after an interruption, and a general stop would cancel it, Claude Code now takes that item from the queue first. Before, it always took the next item in the normal order.\n\n**Why**\n\nWork that was interrupted and set to rerun is no longer lost or reordered when a stop arrives.\n\n- Area: Headless Mode\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}