Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.251 ·

Write and NotebookEdit re-check the file just before writing

Write and NotebookEdit re-read the file right before writing to avoid clobbering changes.

You'll notice New Features
JSON All of v2.1.251
You'll noticeTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
File ToolsArea: what it touches
New FeaturesKind: in v2.1.251,
What probably matters to youSection of the release
What

Both tools now hold an open handle, read the current contents and re-check them immediately before the write lands, narrowing the window in which a file could change between being read and being overwritten.

Details
  • the handle is closed once the write completes
  • applies to every Write and NotebookEdit call, with no setting involved
Evidence

recheckBeforeWrite

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

Feedback