claude-code - 💡(How to fix) Fix Session transcript silently lost when reopening session in desktop app — 57 turns unrecoverable

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Bug description

A long-running session (57 completed turns, created 2026-03-24, last active 2026-05-12) opened blank in the Claude Desktop app. All prior conversation history was silently lost with no warning or recovery path.

What happened

  1. Opened an existing session titled "Create user research participant recruitment strategy" in the Claude Desktop app
  2. The chat window displayed blank — no prior messages visible
  3. The session contained extensive work over ~7 weeks: user research discussion guides, transcript analysis, recruitment strategy, and accumulated context
  4. All 57 turns of conversational context are permanently lost

Technical details

  • Session metadata file (~/Library/Application Support/Claude/claude-code-sessions/.../local_[sessionId].json) is intact — correct title, 57 completedTurns, all tool permissions preserved
  • CLI transcript file (~/.claude/projects/.../[cliSessionId].jsonl) contains only messages from after the blank reopening — prior content appears to have been overwritten when the session was reopened
  • No backup, versioning, or .bak copy of the transcript file exists on disk
  • The metadata cliSessionId correctly points to the JSONL file, but the JSONL file no longer contains the original conversation

Expected behaviour

  • Session should reopen with full conversation history intact
  • If transcript data is at risk of being overwritten, there should be a backup mechanism or at minimum a warning
  • Transcript files should not be silently replaced when a session is reopened

Impact

This session contained substantial non-recoverable work — research discussion guides, analysis of user interview transcripts, a recruitment strategy, and weeks of accumulated project context. The output files exist but the conversational context (reasoning, decisions, iterative refinements) is permanently lost.

Environment

  • OS: macOS 26.4.1 (Darwin 25.4.0)
  • Claude Code: 2.1.80
  • App: Claude Desktop (claude-code-sessions integration)
  • Model: claude-opus-4-6

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING