Repository navigation
Description
Preflight Checklist
- I have searched existing issues and this hasn't been reported yet
- This is a single bug report (please file separate reports for different bugs)
- I am using the latest version of Claude Code
What's Wrong?
Bug Report: claude --resume only shows one session despite multiple saved sessions
Environment
- Claude Code Version: 2.0.76
- OS: Windows 10 Build 26200
- VS Code Version: 1.107.1
- Shell: Git Bash (MINGW64)
Description
When running claude --resume, only one recent session is displayed in the session picker, even though 45 session files (.jsonl) exist in the project directory.
Steps to Reproduce
- Create multiple Claude Code sessions in the same project directory over time
- Run
claude --resumefrom the project directory - Session picker shows only 1 session (the most recent one)
- Press
Akey to toggle between "current directory" and "all projects" - no change
Expected Behavior
The session picker should display all available sessions from the project directory, allowing the user to select and resume any previous conversation.
Actual Behavior
Only 1 session is displayed:
What Should Happen?
The session picker should display all available sessions from the project directory.
When running claude --resume, users should be able to:
- See all 45 sessions that exist in the project directory
- Navigate through the list using arrow keys
- Preview any session with the 'P' key
- Select and resume any previous conversation
- Toggle between current directory and all projects with the 'A' key
Expected display example:
Error Messages/Logs
Steps to Reproduce
-
Work on multiple Claude Code sessions over time in the same project directory
- Example: Create sessions on different days for different tasks
-
Close VS Code or end Claude Code sessions normally
-
Verify that session files exist:
dir C:\Users\xxx.claude\projects\d--Users-xxx-Dropbox--yyy-mmp-swprj-ow-zzz-ZZZ-ZZZ-ZERO-Claude-test01*.jsonl
Result: 45 files found
-
Navigate to the project directory:
cd d:\Users\xxx\Dropbox@yyy\mmp_swprj\ow_zzz\ZZZ\ZZZ-ZERO\Claude\test01 -
Run the resume command:
claude --resume -
Observe the session picker - only 1 session appears instead of all 45
-
Try pressing 'A' key to toggle view - no additional sessions appear
Result: Only the most recent session is shown, older sessions are inaccessible through the picker despite existing in the filesystem.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.0.76
Platform
Other
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
No response
Activity
edumusikse commentedon Jan 4, 2026
Related to #16266 - session recovery is broken in multiple ways.
Workaround: Use this backup script to at least preserve your session files:
https://gist.github.com/edumusikse/c824afa6d4eb6e74cf284a06025e09fc
Your 45 session files are there, but the picker isn't showing them. This seems to be a broader issue with how sessions are indexed/displayed across the Mac app, terminal CLI, and VS Code extension.
github-actions commentedon Feb 5, 2026
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
github-actions commentedon Feb 19, 2026
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
github-actions commentedon Feb 26, 2026
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.