Session missing from resume list despite file existing on disk

Resolved 💬 3 comments Opened Mar 1, 2026 by overFloweee Closed Mar 5, 2026

Bug Description

After ending a session, running claude -r (or claude --resume without arguments) to open the session picker does not show the most recently completed session. The session file exists on disk and can be resumed using the full session ID, but it is missing from the interactive resume list.

Steps to Reproduce

  1. Start a Claude Code session and have a conversation (session ID: f080480a-acbc-438e-bbdf-ef5b9abd06d8)
  2. The session ends normally, showing:

``
Resume this session with:
claude --resume f080480a-acbc-438e-bbdf-ef5b9abd06d8
``

  1. Immediately run claude -r to open the session picker
  2. The session f080480a is not listed in the picker

Expected Behavior

The most recently ended session should appear in the claude -r session list.

Actual Behavior

The session is absent from the list. However:

  • The session file does exist on disk at ~/.claude/projects/<project>/f080480a-acbc-438e-bbdf-ef5b9abd06d8.jsonl (536KB, valid JSONL)
  • Running claude --resume f080480a-acbc-438e-bbdf-ef5b9abd06d8 with the full ID works correctly

This suggests the session index/list is out of sync with the actual session files on disk.

Environment

  • Claude Code version: 2.1.42
  • OS: Windows 11 Pro 10.0.26200
  • Shell: Git Bash
  • API Provider: Third-party proxy (ANTHROPIC_BASE_URL)

Additional Context

The session file was verified to be intact:

$ ls -la ~/.claude/projects/<project>/f080480a-acbc-438e-bbdf-ef5b9abd06d8.jsonl
-rw-r--r-- 1 user 197121 536776 Mar 1 22:23 f080480a-...8.jsonl

The JSONL content starts with valid session metadata and the correct session ID.

View original on GitHub ↗

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