/resume only shows sessions manually renamed via /rename, hiding all unnamed sessions
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
/resumelist
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 --continuefrom terminal resumes the most recent session (works without a name)claude --resumefrom terminal may show additional sessions- Manually naming sessions via
/renamebefore exiting ensures they appear in/resume
Additional Context
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1is set but does not affect local session storage- Session data files are intact on disk — this is purely a display/filtering issue in
/resume
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗