/resume only shows sessions manually renamed via /rename, hiding all unnamed sessions

Resolved 💬 3 comments Opened Mar 11, 2026 by jieli-cqwl Closed Mar 14, 2026

Description

The /resume command inside Claude Code only lists sessions that have a custom-title (i.e., sessions previously renamed via /rename). All unnamed interactive sessions are completely absent from the list, making them appear "lost" to the user.

Version: Claude Code v2.1.72
OS: macOS (Darwin 25.3.0)

Evidence

In my ~/.claude/projects/ directory:

| Category | Count | Notes |
|----------|-------|-------|
| Total .jsonl files | 305 | |
| Real interactive sessions (starts with file-history-snapshot) | 20 | |
| Hook-generated sessions (starts with queue-operation) | 242 | Correctly hidden |
| Other (subagent, etc.) | 43 | |

Of the 20 real interactive sessions:

  • Named (custom-title): 2 — these are the only ones shown by /resume
  • Unnamed: 18 — all hidden from /resume list

Expected Behavior

/resume should list all interactive sessions (or at least recent ones), regardless of whether they have been manually renamed. Unnamed sessions could be displayed with a generated label (e.g., timestamp, first message preview, or auto-generated summary).

Workarounds

  • claude --continue from terminal resumes the most recent session (works without a name)
  • claude --resume from terminal may show additional sessions
  • Manually naming sessions via /rename before exiting ensures they appear in /resume

Additional Context

  • CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 is set but does not affect local session storage
  • Session data files are intact on disk — this is purely a display/filtering issue in /resume

View original on GitHub ↗

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