Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
After moving from a multi-root workspace (BPM + pattern-wallpaper) to opening /mnt/D/mehul-staging/bpm as a plain folder, the Agents sidebar showed only 3 chats even though ~170 chat transcripts still existed on disk and were indexed in glass project membership. The other 166 chats were not deleted — they were hidden because composerHeaders rows in globalStorage/state.vscdb still referenced old workspace IDs from prior paths (workspace.json, /media/…/mehul-staging/bpm, etc.). The sidebar filters by current workspaceId; chats bound to old IDs never appear.
Steps to Reproduce
Use Cursor on Linux with a repo opened as a multi-root workspace (e.g. workspace.json with two folders), or the same repo opened via a different path (e.g. /media/…/bpm vs /mnt/D/…/bpm).
Accumulate many agent chats over time (50+).
Remove a folder from the workspace or switch to File → Open Folder on one folder only (plain folder, not workspace file).
Optionally change mount path (/media/… → /mnt/D/…) or recreate workspace.json.
Quit Cursor fully and reopen the project as a plain folder.
Open the Agents sidebar.
Expected Behavior
All agent chats for that project appear in the Agents sidebar.
Or Cursor migrates/rebinds chat metadata when workspace identity changes.
Or a clear in-app message: “X chats exist but are bound to a previous workspace” with a repair option.
Operating System
Linux
Version Information
Version: 3.18.25
VSCode Version: 1.96.x (Cursor fork)
Commit: 280eca2911f1774689696e5f1efa5a4f97a87af0
Date: 2026-08-31T23:08:02.261Z
OS: Linux x64 7.0.0-30-generic
Install path: /usr/share/cursor/cursor
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor