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

  1. Start a session with claude --worktree
  2. Stop/exit that session
  3. Attempt to resume the session using claude --resume <session-id> (using the default session ID shown)
  4. 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.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗