What
During a session, Claude Code keeps a snapshot of its environment and tells the model again when part of it changes. A session is one continuous conversation with Claude Code. The snapshot now covers more:
- Runner notes: notes about the machine running the session are tracked, and Claude Code tells the model again when they disappear.
- Version control: the snapshot includes the version control system in use, the current branch and a related unclaimed status. These are removed when Claude Code falls back to describing a folder that is not a repository.
- Skipped repositories: Claude Code checks whether the latest system prompt, the standing instructions it sends the model, contains a list of skipped repositories.
Why
This changes which details about its surroundings the model is reminded of partway through a session. It matters mostly for self-hosted runners, which are machines you run yourself to host Claude Code sessions.