Under the hood
Read and Edit tools now check a stored baseline for files synced from a remote host
What
New internal helper functions resolve a file path used by the Read or Edit tool against a remote host's project-sync setting (two_way or upload_only). If the file falls inside the synced project root or working directory, Claude Code now looks up a previously recorded baseline reading for that file instead of always treating it as never having been read.
Why
This avoids unnecessarily treating a synced file as unread when it was already read through the sync connection, which matters for tools like Edit that require a file to have been read first.