/resume does not show sessions created in the current CLI session after exit
Resolved 💬 3 comments Opened Apr 8, 2026 by yibn2008 Closed Apr 11, 2026
Bug Description
Sessions created in the Claude Code CLI are not visible in the /resume picker after exiting, even if the session was just created moments ago.
Steps to Reproduce
- Start
claudeCLI in any project directory - Have a conversation (creating a new session)
- Exit the CLI (
/exitor Ctrl+C) - Run
claudeagain in the same directory - Type
/resume
Expected Behavior
The session created in step 2 should appear in the /resume picker.
Actual Behavior
The session does not appear in the /resume picker at all.
Additional Context
- The session is visible in the VSCode Claude Code extension's "Past Conversations" panel, confirming the
.jsonlfile was written to disk correctly under~/.claude/projects/. - This suggests the issue is in the CLI's session discovery/filtering logic, not in session persistence.
Environment
- Platform: macOS
- Shell: zsh
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗