[BUG] Desktop app: session silently loses its Project/folder association during normal single-device use (macOS)
Description
A Claude Code Desktop session that was working in a specific project folder lost its Project/folder association during normal use — no profile reset, logout, or restart-on-two-machines pattern was involved (unlike the more specific repro conditions in #90648, #80438, and #92318, which involve a profile reset or multi-device restart).
The sidebar simply stopped showing the folder grouped under any project. The session itself (transcript, working directory, tool access) remained fully intact and functional the entire time — this looks like a UI/organizational-layer bug only, not data loss.
Environment
- OS: macOS
- Claude Code Desktop app
- Single machine, no profile reset, no explicit logout observed
Steps observed
- Started a long-running session with a project folder specified at the start (
~/Documents/Claude/<project>), working normally over multiple days with many tool calls / git commits. - At some point, noticed the sidebar's Project/folder grouping for that session was gone — the folder no longer appeared associated with any project.
- The session's own working-directory context stayed correct and functional throughout (confirmed inside the session itself) — only the sidebar/organizational association was affected.
- Had to create a brand-new Project entry to get folder grouping working again going forward. The original long-running session was not reconciled into it automatically.
Expected: Once a session is associated with a project/folder, that association should persist for the life of the session without user action.
Actual: The association silently disappeared, with no warning, error, or explanation surfaced to the user.
Related: This may share a root cause with #90648, #80438, and #92318, which document similar Project/folder-association fragility under different trigger conditions. Filing this as a distinct report since it reproduced without those specific triggers, which may help narrow down the shared underlying cause.