Writes into read-only memory stores now warn they were saved locally only and will be overwritten.
What's wrong with this entry?
Writing to a file under a memory store mounted read-only now returns a notice that the write was saved locally only, will not sync, and will be overwritten by the next pull, along with a remedy naming the writable stores to use instead. A per-turn scan also lists files that exist only on this machine and tells the model to correct the user if it claimed the content was saved. Set CLAUDE_CODE_DISABLE_MEMORY_RO_UNSAVED_NOTICE to turn the scan off.
- The remedy line is computed from the stores that are actually writable, not a fixed string.
- The per-turn summary is queued as context for the model, so the correction happens in the conversation rather than only in tool output.
This file's memory store is mounted read-only: writes are never synced, and the next sync pull will overwrite local edits with server content. This write was saved locally only and is NOT in shared memory.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.