{"version":"2.1.337","anchor":"project-write-refuses-when-a-stale-file-copy-may-overwrite-a","canonical_anchor":"project-write-refuses-when-a-stale-file-copy-may-overwrite-a","heading":"Project writes are refused when Claude's local copy may be out of date","tier":"notice","area":"Projects","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/project-write-refuses-when-a-stale-file-copy-may-overwrite-a","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Project writes are refused when Claude's local copy may be out of date\n\nproject_write can now refuse a write when Claude's local copy of a file may be lost, so a project document is not overwritten\n\n**Unclear.** Whether this refusal depends on the new remote switch, and so whether it is active, is not known.\n\n**What**\n\n`project_write` is the tool Claude uses to write project documents. It can now refuse a write when Claude Code finds that its local copy of the file may have been lost. The refusal says that nothing in the project was changed. It tells Claude to compare the file at `local_path` with the text it is sending before trying the write again.\n\nA remote switch named tengu_starry_reef was added at the same time.\n\n**Why**\n\nThis keeps an old copy of a file from overwriting a project document, for example after a session has been rolled back to an earlier point.\n\n- Area: Projects\n- Names: `project_write`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}