{"version":"2.1.337","anchor":"atomic-file-write-keeps-file-identity-on-in-place-fallback","canonical_anchor":"atomic-file-write-keeps-file-identity-on-in-place-fallback","heading":"Safe file saving keeps hold of the original file","tier":"internal","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/atomic-file-write-keeps-file-identity-on-in-place-fallback","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Safe file saving keeps hold of the original file\n\nWhen Claude Code saves a file safely, it now keeps track of the original file, and its in-place fallback has extra protection\n\n**What**\n\nClaude Code saves files by writing a new copy and then moving it into place, so a file is never left half-written. That move now keeps track of the original file.\n\nSometimes the copy cannot be moved, and Claude Code falls back to writing straight into the existing file. That fallback now has extra protection, and it releases the files it opened when it is done.\n\n**Why**\n\nIn practice, saving files may hold up better in unusual cases.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}