What
A session is one conversation with Claude Code. Some sessions begin as a copy of another one, which Claude Code knows from the CLAUDE_CODE_SESSION_BEGAN_AS_COPY environment variable or the sessionBeganAsCopy setting being "1".
- Resuming such a session now shows two notices that are not saved into the conversation. One reads "This is a copy: the session may still be open elsewhere. Messages here stay out of the original."
- On one resume path, the copy's scheduled tasks (crons, tasks set to run at set times) are held back while the original session is still running, and start within 15 seconds after it ends.
- A new
forkCopy()method copies a session state object's private fields into a fresh, marked copy. What calls it was not traced.
Why
When you resume a copy, you are told the original may still be open and that nothing you type reaches it. The same scheduled tasks also stop running twice at once from both the original and the copy.