Claude Code v2.1.222 ·
Atomic writer can publish without clobbering
File writing gained a mode that refuses to overwrite an existing file instead of replacing it.
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.222,
Internal ChangesSection of the release
What
The temp-file writer gained a create-only mode that publishes via link plus unlink instead of rename.
Details
- In this mode an existing destination file is left intact and the write fails rather than overwriting.
- Rename remains the default publish path.
Evidence
create_only
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.222 →