What
Claude can read and write project documents with the project_read and project_write tools. Writes already needed an if_version value. The rules about when Claude may replace an existing document are now stricter:
project_writerefuses to overwrite an existing doc unless the conversation holds aproject_readthat showed the whole text or saved it to a file. The refusal says "Write refused; nothing in the project was changed. A doc is already at this path".- The same check now also covers
project_writefrom alocal_path, a file on your computer, but only when both thetengu_lovely_rainandtengu_lucky_nebulaflags are on. Before, it needed onlytengu_lovely_rainand did not apply to writes from alocal_path. - Reads now say whether the whole text was returned, in a
wholefield. - A
versionis now returned by everyproject_write, including one from alocal_path, and by aproject_readthat returned or saved the whole text. A read that delivers only part of a doc gets noversion. - Write results can also carry a
notice. - The descriptions of
if_versionandversiongiven to Claude now say this. Before, they said everyproject_readof a text doc returns its version.
The flag server returned off for both flags for this site's account and for an anonymous check, but those readings were not taken under this release.
Why
Claude can no longer replace a document after seeing only part of it, which helps stop it overwriting changes made elsewhere, including when it writes from a local file.