Description
The /resume session picker only displays approximately 8 of the most recent sessions, even when many more sessions exist. In my case, the sessions-index.json contains 19 sessions for a single project, but only ~8 are shown in the picker.
Additionally, attempting to resume an older session by its ID directly fails with "Session was not found", even though the session entry exists in sessions-index.json and the corresponding .jsonl file is present on disk.
Steps to Reproduce
- Use Claude Code extensively in a project over several weeks, accumulating 15+ sessions
- Name sessions with
/rename for easy identification
- Run
/resume — only the ~8 most recent sessions appear in the picker
- Try to resume an older session by ID:
claude --resume <session-id> or /resume <session-id>
- Get error:
Session <id> was not found.
Expected Behavior
- The resume picker should show all sessions (with pagination/scrolling if needed)
- All sessions listed in
sessions-index.json should be resumable by ID or name
Actual Behavior
- Only ~8 most recent sessions are shown in the picker
- Older sessions that exist in
sessions-index.json cannot be resumed by ID (returns "not found")
Environment
- macOS (Darwin 25.2.0)
- Claude Code (latest as of 2026-02-09)
🤖 Generated with Claude Code
Description
The
/resumesession picker only displays approximately 8 of the most recent sessions, even when many more sessions exist. In my case, thesessions-index.jsoncontains 19 sessions for a single project, but only ~8 are shown in the picker.Additionally, attempting to resume an older session by its ID directly fails with "Session was not found", even though the session entry exists in
sessions-index.jsonand the corresponding.jsonlfile is present on disk.Steps to Reproduce
/renamefor easy identification/resume— only the ~8 most recent sessions appear in the pickerclaude --resume <session-id>or/resume <session-id>Session <id> was not found.Expected Behavior
sessions-index.jsonshould be resumable by ID or nameActual Behavior
sessions-index.jsoncannot be resumed by ID (returns "not found")Environment
🤖 Generated with Claude Code