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.227 ·

Headless write failures produce a result object, not silence

Headless output write failures now produce a proper failed result object in stream-json.

You'll notice Bug Fixes
JSON All of v2.1.227
You'll noticeTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Headless ModeArea: what it touches
Bug FixesKind: in v2.1.227,
What probably matters to youSection of the release
What

If a message cannot be written to the headless output stream, Claude now writes an Error: line to stderr, marks the turn's summary as failed, and in stream-json mode emits a result object with an error_during_execution subtype built by a shared helper.

Details
  • The stderr line begins Could not write a message to the output stream.
  • Paired with a tengu_headless_fatal_error event carrying the site, message type, control subtype, drained message count, outstanding stdout bytes and whether stdout was destroyed.
  • None of this existed in v2.1.226.
Evidence

Could not write a message to the output stream

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.227 →

Feedback