[BUG] Archived Code sessions not visible in Archive filter on Claude Desktop (Windows)
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?
When archiving a Code session in Claude Desktop (Windows), the session disappears from the active session list but does NOT appear when selecting the "Archived" filter in the left sidebar.
The isArchived flag is correctly set to true in the session JSON file under AppData/Roaming/Claude/claude-code-sessions/, confirming that the archive action itself works. However, the Archive filter UI does not display archived Code sessions — they become completely inaccessible from the UI.
The only workaround is to manually edit the session JSON file and change "isArchived":true to "isArchived":false.
What Should Happen?
Archived Code sessions should be visible when selecting the "Archived" filter in the left sidebar, just like regular Chat sessions. Users should be able to view and unarchive Code sessions from the Archive filter.
Error Messages/Logs
Steps to Reproduce
- Open Claude Desktop on Windows
- Start a Code session and have a conversation
- Archive the Code session from the left sidebar
- The session disappears from the active list
- Click the filter dropdown in the left sidebar and select "Archived"
- The archived Code session does NOT appear in the list
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.34 (Claude Desktop 1.1.2321)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
This bug occurs specifically with Code sessions in Claude Desktop (Windows). The archive action correctly sets "isArchived": true in the session JSON file located at:
%AppData%\Claude\claude-code-sessions\{org-id}\{user-id}\local_{session-id}.json
However, the "Archived" filter in the left sidebar does not query or display these archived Code sessions. The workaround is to manually edit the JSON file and set "isArchived": false to restore the session.
This issue is specific to Code sessions — it is unclear if regular Chat sessions have the same problem.
This issue has 14 comments on GitHub. Read the full discussion on GitHub ↗