/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

  1. Start claude CLI in any project directory
  2. Have a conversation (creating a new session)
  3. Exit the CLI (/exit or Ctrl+C)
  4. Run claude again in the same directory
  5. 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 .jsonl file 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

View original on GitHub ↗

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