You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HeadlessArea: what it touches
Bug FixesKind: in v2.1.330,
Bug FixesSection of the release
Unclear It is not clear which conditions switch this handling on.
What
A headless run is one with no interactive screen, such as a script calling Claude Code. A headless run can stop because it reached its maximum number of turns (error_max_turns) or its spending limit (error_max_budget_usd). When that happens, reports from a REPL session, where Claude runs code, are now held back or interrupted.
Whether results from that code carry over now depends on whether the REPL still has work outstanding. Before, it depended only on whether more messages were waiting in the queue.
Why
Runs that use the REPL now end more cleanly when a limit stops them.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear which conditions switch this handling on.