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 rewrites fail if another program replaces the file mid-write

If another program replaces or removes a file while Claude Code rewrites it in place, the write now fails with an error asking you to try again

You'll notice Bug Fixes
JSON All of v2.1.331
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
File WritesArea: what it touches
Bug FixesKind: in v2.1.331,
Bug FixesSection of the release
What

When Claude Code rewrites a file in place (changing the existing file directly rather than writing a new copy), it now checks whether another program replaced or removed the file during the write. If so, the write fails with: Could not rewrite (file) in place: another program replaced or removed it during the write. Try again. The error code is EAGAIN.

Why

The write stops with a clear message instead of overwriting a file another program just put there.

See this entry in the whole of v2.1.331 →

Feedback