Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.318 ·

Headless sessions can send an empty success result when nothing is running

In headless use, Claude Code can now send an empty success result with zero turns and the session's cost totals while no turn is in progress

You'll notice Improvements
JSON All of v2.1.318
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Headless ModeArea: what it touches
ImprovementsKind: in v2.1.318,
ImprovementsSection of the release

Unclear It is not clear in which situations Claude Code sends this empty result.

What

In headless use, Claude Code runs without its interactive screen and is driven by another program, for example through the SDK. It can now send an extra result message while no turn (one round of Claude working on a request) is running and nothing is waiting to start. That message reports success, has an empty result, gives the number of turns as 0 and includes the session's cost totals.

Why

If your program reads these messages, it may receive this extra empty result and should not treat it as a real answer.

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 in which situations Claude Code sends this empty result.

See this entry in the whole of v2.1.318 →

Feedback