Skip to content

[BUG] claude --resume only shows one session despite multiple saved sessions (Windows) #16235

Closed as not planned

Description

@hisabojp

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Bug Report: claude --resume only shows one session despite multiple saved sessions

Environment

  • Claude Code Version: 2.0.76
  • OS: Windows 10 Build 26200
  • VS Code Version: 1.107.1
  • Shell: Git Bash (MINGW64)

Description

When running claude --resume, only one recent session is displayed in the session picker, even though 45 session files (.jsonl) exist in the project directory.

Steps to Reproduce

  1. Create multiple Claude Code sessions in the same project directory over time
  2. Run claude --resume from the project directory
  3. Session picker shows only 1 session (the most recent one)
  4. Press A key to toggle between "current directory" and "all projects" - no change

Expected Behavior

The session picker should display all available sessions from the project directory, allowing the user to select and resume any previous conversation.

Actual Behavior

Only 1 session is displayed:

What Should Happen?

The session picker should display all available sessions from the project directory.

When running claude --resume, users should be able to:

  • See all 45 sessions that exist in the project directory
  • Navigate through the list using arrow keys
  • Preview any session with the 'P' key
  • Select and resume any previous conversation
  • Toggle between current directory and all projects with the 'A' key

Expected display example:

Error Messages/Logs

Steps to Reproduce

  1. Work on multiple Claude Code sessions over time in the same project directory

    • Example: Create sessions on different days for different tasks
  2. Close VS Code or end Claude Code sessions normally

  3. Verify that session files exist:
    dir C:\Users\xxx.claude\projects\d--Users-xxx-Dropbox--yyy-mmp-swprj-ow-zzz-ZZZ-ZZZ-ZERO-Claude-test01*.jsonl

Result: 45 files found

  1. Navigate to the project directory:
    cd d:\Users\xxx\Dropbox@yyy\mmp_swprj\ow_zzz\ZZZ\ZZZ-ZERO\Claude\test01

  2. Run the resume command:
    claude --resume

  3. Observe the session picker - only 1 session appears instead of all 45

  4. Try pressing 'A' key to toggle view - no additional sessions appear

Result: Only the most recent session is shown, older sessions are inaccessible through the picker despite existing in the filesystem.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.0.76

Platform

Other

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

No response

Activity

  1. edumusikse commented on Jan 4, 2026

    @edumusikse

    Related to #16266 - session recovery is broken in multiple ways.

    Workaround: Use this backup script to at least preserve your session files:
    https://gist.github.com/edumusikse/c824afa6d4eb6e74cf284a06025e09fc

    Your 45 session files are there, but the picker isn't showing them. This seems to be a broader issue with how sessions are indexed/displayed across the Mac app, terminal CLI, and VS Code extension.

  2. github-actions commented on Feb 5, 2026

    @github-actions

    This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

  3. github-actions commented on Feb 19, 2026

    @github-actions

    Closing for now — inactive for too long. Please open a new issue if this is still relevant.

  4. github-actions commented on Feb 26, 2026

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  5. locked as resolved and limited conversation to collaborators on Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreautocloseIssue will be closed automaticallybugSomething isn't workinghas reproHas detailed reproduction stepsplatform:windowsIssue specifically occurs on Windows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions