[BUG] `/resume` picker does not show a valid, recently completed session

Resolved 💬 3 comments Opened Apr 1, 2026 by sachaweb Closed May 28, 2026

Preflight Checklist

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

What's Wrong?

The /resume picker does not show a valid, recently completed session. The session is fully intact on disk (244 lines, 0 malformed JSON, proper turn_duration end marker) and has 18 entries in history.jsonl — but the /resume interactive list skips it entirely.

The picker jumps from the current session ("16 seconds ago") directly to sessions from "1 day ago", with no entry for the missing session that ended ~8 minutes prior.

Direct resume via claude --resume <session-id> works fine.

What Should Happen?

All recent sessions with valid JSONL files and history.jsonl entries should appear in the /resume picker, sorted by recency.

Error Messages/Logs

Steps to Reproduce

  1. Start a Claude Code session in PowerShell (Admin) — have a conversation with multiple turns (18 user messages in this case)
  2. Let the session complete normally (ends with turn_duration system message)
  3. Start a new Claude Code session from the same directory
  4. Type /resume
  5. The completed session from step 1 does not appear in the list

Note: During the missing session, explorer.exe was restarted multiple times (StartAllBack theme switching, Everything app installation). This runs in a separate process tree from the terminal but is mentioned for completeness.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Version: 2.1.45

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

The session that doesn't appear was run from the same working directory (C:\Users\sacha) as all other visible sessions. The JSONL file structure is identical to visible sessions (same keys, same first-line type file-history-snapshot). There's no obvious structural difference between the missing session and sessions that do appear.

View original on GitHub ↗

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