[BUG] Sessions not saved to disk — "Session not found on disk" on reopen

Resolved 💬 2 comments Opened May 23, 2026 by LeVu Closed May 26, 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?

Environment:

macOS 25.5.0
Claude Code (desktop app)
Multiple projects / git worktrees
What happened:
I have ~8 sessions in my Recents list. Most show as empty circles (not found on disk). Total storage in ~/.claude/projects/ is only 3.1MB despite hours of conversation across multiple sessions.

The sessions were not deleted by any cleanup tool — I did not run any commands or tools that would have touched ~/.claude/. The data appears to have never been written to disk in the first place.

Steps to reproduce:
Not consistently reproducible — sessions sometimes save, sometimes don't.

Expected: Session .jsonl files are written to ~/.claude/projects/<path>/ during or after each conversation.

Actual: Session directories are created but no .jsonl files are written. On reopen, Claude Code shows "Session not found on disk."

Impact: All conversation history, context, and progress lost with no warning.

What Should Happen?

The conversation to be saved.

Error Messages/Logs

Session not found on disk

Steps to Reproduce

  1. Have a conversation
  2. Change the name to have context for later.
  3. Return later to pickup the conversation.

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude 1.8555.2 (a476c3) 2026-05-22T23:04:37.000Z

Platform

Other

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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