Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.234 Home All releases olderv2.1.233 v2.1.235newer
Claude Code v2.1.234

Diagnostics logging builds its payload lazily and swallows failures

Under the hood
Useful1 Signal1
Elsewhere

Diagnostics logging only builds its payload when a diagnostics file is set, and never throws.

What

The diagnostics log writer now accepts a function as its payload and calls it only when a diagnostics file is configured, so the cost is skipped otherwise. If building or serialising the payload throws, it writes a failure record instead of letting the error escape.

Details
  • Active only when CLAUDE_CODE_DIAGNOSTICS_FILE is set.
Evidence

diagnostics_payload_failed

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