[BUG] バージョンアップ後デスクトップアプリの Code タブで、再起動後に最近のチャット (Recents)からセッションが消える

Resolved 💬 2 comments Opened May 11, 2026 by YR-KITAGAWA Closed May 12, 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?

▼ 環境

  • Claude Desktop バージョン: 1.6608.2
  • OS: Windows
  • locale: ja-JP

▼ 症状
デスクトップアプリの Code タブで作業中、アプリを終了・再起動すると
Recents 一覧から一部のチャットが消えて表示されなくなる。
ただし、CLI で claude --resume を実行すると全セッションが存在しており、
会話データ自体は失われていない。
▼ 原因(ユーザー側で調査して特定)
%APPDATA%\Claude\claude-code-sessions\<workspaceId>\<sessionId>\ 配下の
local_<uuid>.json (Recents の元データ) について、書き込み時に
.tmp → .json のアトミックリネーム方式を使っているが、
アプリ終了タイミングによっては .tmp のままで .json に昇格されずに
孤立するケースがある。
アプリ起動時に孤立 .tmp をリカバリ(リネーム)する処理が
入っていないため、該当チャットが Recents から消える。

▼ 手動の復旧手順(ユーザー側の対症療法)

  1. アプリを完全終了
  2. %APPDATA%\Claude\claude-code-sessions\ 配下の

local_.json.tmp のうち、対応する local_.json が
存在しないものを .json にリネーム

  1. アプリ起動 → Recents に復活

What Should Happen?

▼ 要望

  • 起動時に孤立 .tmp を自動でリカバリしてほしい
  • もしくは、.tmp が残っていれば Recents に表示してほしい
  • 加えて、CLI 側のセッション (~/.claude/projects/) を

デスクトップ Recents に統合表示できると、
CLI と GUI を併用するユーザーにとって理想的

Error Messages/Logs

Steps to Reproduce

▼ 再現条件

  • アップデート直後の再起動
  • アプリを強制終了したとき
  • Windows 再起動・スリープ復帰時

など、アプリがクリーン終了できなかった場合

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

1.6608.2

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

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