Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

File writes refuse a path that turns out to be a hardlink or a different file

When a file path resolves somewhere else, Claude Code rechecks the original and refuses if it has hardlinks or is not the same file

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

Unclear It is not clear whether this recheck always runs or only under a condition.

What

When write_files is given a path that resolves to a different location on disk, Claude Code now checks the original path again before going ahead. It refuses to continue if:

  • the file has hardlinks, meaning other names on disk that point to the same file
  • the original path turns out to be a different file from the resolved one

Publishing an artifact now also keeps track of each spelling of a path that was approved, not only the resolved one. Previously the original path was not checked again.

Why

This tightens file access. A path that looked approved can no longer be used to reach a file outside the folder you allowed.

Read from
Names in the bundlewrite_files
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 whether this recheck always runs or only under a condition.

See this entry in the whole of v2.1.331 →

Feedback