Under the hood
Switching sessions now resets file-read and memory state before loading the new session's messages
What
When Claude Code switches to a different session (for example, restoring a remote session), it now resets the tracked state of which files have been read and which nested memory files were loaded, before it replaces the message history with the new session's messages.
Why
Without this reset, stale file-read or memory information from the previous session could carry over incorrectly into the newly loaded session.