Cannot resume worktree session by default ID
Resolved 💬 3 comments Opened Feb 28, 2026 by joelmbell Closed Mar 4, 2026
Bug Description
When starting a session with claude --worktree and then stopping it, attempting to resume the session by its default ID fails with a message saying the session doesn't exist.
Steps to Reproduce
- Start a session with
claude --worktree - Stop/exit that session
- Attempt to resume the session using
claude --resume <session-id>(using the default session ID shown) - Claude reports the session doesn't exist
Expected Behavior
The session should be resumable by its ID, just like any other session.
Actual Behavior
Claude reports the session doesn't exist when trying to resume.
Additional Context
Likely related to the worktree session being stored in a different location or under a different ID than what's displayed/expected by the resume logic.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗