Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.311 ·

Headless timing field now documented for stopped, deferred and error turns

The description of a headless-mode timing field now covers stopped, deferred-tool and error turns, and hosted workers sending it on errors

Under the hood Internal Changes
JSON All of v2.1.311
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SDKArea: what it touches
Internal ChangesKind: in v2.1.311,
Internal ChangesSection of the release
What

When Claude Code runs headless (without its interactive screen, usually driven by a script), its output follows a published structure. The description of one timing field in that structure now covers more kinds of turns (a turn is one exchange of request and reply):

  • turns that were stopped
  • turns that ended on a deferred tool
  • turns that ended with an error subtype

It also says that a worker Anthropic hosts, with telemetry (usage reporting) on, sends the value on results marked is_error too. Before, the description said turns that were stopped or failed after sending were counted but carried no value.

Why

If you read this field from headless output, the description now says which kinds of turns carry it, including Anthropic-hosted workers reporting it on error results.

See this entry in the whole of v2.1.311 →

Feedback