/resume shows empty list for projects with spaces in path
Resolved 💬 2 comments Opened Jan 21, 2026 by i-m-mll Closed Jan 22, 2026
Problem
The /resume command shows an empty list for a project whose path contains spaces, even though:
- Sessions exist and are properly indexed
--continueflag works correctly (continues most recent session)- Global session view (Ctrl+A) shows all sessions including those from this project
- The
sessions-index.jsonis valid JSON with correct structure
Environment
- Claude Code version: 2.1.15
- Platform: macOS (Darwin 25.2.0)
Reproduction
- Have a project at a path with spaces, e.g.,
/Users/mll/Main/10 Projects/05 Utils/HumbleB - Create some sessions in that project
- Run
claude(or wrapper that calls claude) - Type
/resume - Expected: See list of sessions for this project
- Actual: Empty list shown
Investigation
- Project directory exists at
~/.claude/projects/-Users-mll-Main-10-Projects-05-Utils-HumbleB/ sessions-index.jsoncontains 33 valid entries- All entries have correct
projectPathmatching the working directory originalPathfield matches the working directory- File permissions are correct (0600)
- No symlinks in the path
- Running
pwdandpwd -Pshow identical paths
Workaround
Using --continue flag works to continue the most recent session.
Hypothesis
The /resume command may have a bug in path matching/filtering when the path contains spaces, even though the space-to-dash encoding in the directory name is correct.
---
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗