[BUG] Session folders/groups reset after app update
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?
Description:
After every Claude Code desktop app update on Windows, all session folder/group assignments are lost. Sessions that were neatly organized under custom folders (e.g. "API", "REPORTS", "Product development") all fall back into "Ungrouped". The folders themselves remain visible but are empty.
This happens every time an update is installed. Re-organizing takes significant manual effort and is frustrating to repeat after each update.
Actual behavior: All folder assignments are lost after every update.
What Should Happen?
Session folder/group assignments should persist across app updates. Sessions should remain in their assigned folders after updating.
Error Messages/Logs
Steps to Reproduce
Create session folders/groups in Claude Code desktop (Windows)
Organize sessions into those folders
Install an app update
Open the app — all sessions are in "Ungrouped", folders are empty
Expected behavior: Session folder assignments persist across updates.
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
Sonnet 4.6
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
Showing cached comments. Read the full discussion on GitHub ↗
4 Comments
Not just on software updates. It also happens after switching accounts but not when the application restarts.
I have same problem. Every time after the upgrade, all my session groups gets deleted in Claude Code and it is very annoying. As per AI Chat - it is expected, if this is expected then what is the use of this feature if we have to keep creating groups after every ugrade. Just remove that feature from Claude Code. Thanks!
Same bug on macOS, with some storage-level forensics that may help pin it down.
Environment: Claude desktop 1.20186.1 (bundled Claude Code 2.1.205), macOS 26.5.1, Apple Silicon. Single account — no account switching involved, so this reproduces on a plain app restart/update, not just the two-account flow described in #72820 / #66992.
Symptom: after an app restart today, all three custom sidebar groups still existed but rendered empty; every session fell into "Ungrouped".
What the storage shows (
~/Library/Application Support/Claude/Local Storage/leveldb, originhttps://claude.ai, keydframe-store):customGroupsstill contains all three groups (ids + names intact).customGroupAssignmentsis{}andcustomGroupOrderis{}in the same JSON object.LSS-persisted.dframe-local-slicewas rewritten with{"pinnedOrder":[],"customGroupAssignments":{},"customGroupOrder":{}}timestamped ~2 minutes after the app process started (leveldb LOG rotation at 16:31 local, empty-slice write at 16:33).So this isn't localStorage being cleared wholesale — the groups survive in the very same persisted object whose assignments map gets emptied. It looks like a rehydration/migration path that rebuilds
dframe-storeon startup and drops (or fails to carry over)customGroupAssignmentsspecifically.Also worth noting for anyone trying to recover: by the time you notice, it's too late — leveldb compaction rewrites the store within minutes of the app running, so the previous populated value is gone. No copy exists in Session Storage, IndexedDB, or anywhere else in the app's data directory.
+1, same issue here on Windows (Claude Desktop/Cowork).
Bug 1 (matches this issue): Sidebar groups/folders I create for organizing chats keep resetting back to "Ungrouped". I manually reorganized all my chats into folders twice yesterday, and each time I fully closed and reopened the app, everything fell back into Ungrouped — no update installed in between, just a normal app restart.
Bug 2 (possibly related, happens on the same setup): When I click on a different chat/session, the screen flashes/flickers and the app appears to reinitialize — it kicks me out of the Code view into the Chat/Cowork view instead of just switching to the selected session. This is disruptive mid-workflow since I lose the Code context I was in.
Environment: Windows 11, Claude Desktop/Cowork, several project folders organized under groups (multiple client projects), sessions frequently switched between.
Happy to provide more repro steps or logs if useful.