Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.246 ·

Headless turns can end without stopping per-task work

Headless turns can end while leaving per-task work running, re-checking the spend cap every tick.

Under the hood In Development
JSON All of v2.1.246
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Headless ModeArea: what it touches
In DevelopmentKind: in v2.1.246,
In DevelopmentSection of the release
What

The print/headless driver gained a second way to tear down a turn: instead of stopping everything, it can leave per-task work running and arm a 100ms sweep that re-checks the spend cap and the running tasks each tick. Which of the two paths is taken is decided by a boolean inside the print module with no flag or environment variable at the call site.

Details
  • The sweep disarms itself when nothing is left running, on error, on shutdown, and when the stream closes with a permission question still parked.
  • Telemetry is recorded under per_task_stop_sparing with spared true or false, plus failure codes budget_poll_sweep_throw, liveness_probe_throw and bridge_interrupt_sweep_throw.
Evidence

[print.ts] spared-budget poll sweep failed; poll disarmed (error in error log when reporting is enabled)

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.246 →

Feedback