Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Diagnostics file must be a plain file with no other hard links

Claude Code now skips writing to CLAUDE_CODE_DIAGNOSTICS_FILE unless it is a plain file with no other hard links, and logs one warning

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

Before writing diagnostics lines to the file named in CLAUDE_CODE_DIAGNOSTICS_FILE, Claude Code now checks that the target is a plain file with no other hard links. A hard link is a second name for the same file somewhere else on disk, so writing through one name changes the file under every name.

If the check fails, Claude Code drops the diagnostics lines and logs this warning once: "Diagnostics lines dropped (reported once): CLAUDE_CODE_DIAGNOSTICS_FILE must be a plain file with no other hard links". Before, it appended to the path with no such check.

Why

If your diagnostics file is a hard link or not a plain file, output to it now stops, with only that single warning to tell you. Point the variable at an ordinary file to keep receiving diagnostics.

Read from
Names in the bundleCLAUDE_CODE_DIAGNOSTICS_FILE

See this entry in the whole of v2.1.333 →

Feedback