Skip to content

Resume picker only shows ~8 most recent sessions, older sessions not resumable #24435

@vinnichase

Description

@vinnichase

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

  1. Use Claude Code extensively in a project over several weeks, accumulating 15+ sessions
  2. Name sessions with /rename for easy identification
  3. Run /resume — only the ~8 most recent sessions appear in the picker
  4. Try to resume an older session by ID: claude --resume <session-id> or /resume <session-id>
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tuibugSomething isn't workinghas reproHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOSstaleIssue is inactive

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions