Where does the bug appear (feature/product)?
Somewhere else…
Describe the Bug
Title: Agents sidebar shows multiple identical sections for one local repo after path migration (all chats resolve to same path)
Where
Cursor IDE — Agents / Glass sidebar
Version
Cursor 3.12.29 (stable)
Commit: cd1c87ff9b66021918fb9731605f8d1d5fd2f0b0
OS: Windows 10
Describe the bug
After moving a git repo off OneDrive/Documents to a single canonical path (C:\Users<user>\GitHub\ha-milford), the Agents sidebar still shows multiple separate sections all labeled ha-milford (3–4).
Hovering chats in those sections shows the same path (C:\Users<user>\GitHub\ha-milford). There is no UI way to tell the sections apart, merge them, or remove extras. No “Group by” control is visible in this build.
Underlying chat data appears consolidated to one workspace/path; the duplication is in the Agents sidebar grouping/UI only. Internally, stale workspace IDs from old path spellings (…\OneDrive\Documents\GitHub\ha-milford and …\Documents\GitHub\ha-milford, which is a junction to OneDrive) remain in sidebar section order (workspace: alongside repo:github.com//ha-milford) and get reintroduced on relaunch even after cleanup.
Steps to reproduce
Use a repo under OneDrive/Documents (or a Documents junction to OneDrive), create several Agent chats.
Migrate the clone to a non-OneDrive path (e.g. C:\Users<user>\GitHub<repo>), open only that path going forward.
Optionally update chat workspace metadata so chats point at the new path.
Fully quit and reopen Cursor.
Observe Agents sidebar: multiple sections with the same repo basename; hover shows the same new path on chats.
Expected
One Agents sidebar section per logical repo/path once chats all resolve to that path.
Actual
Multiple identical ha-milford sections; chats in each show the same GitHub path on hover; no GUI merge/dedupe; no visible Group by control.
Extra context
C:\Users<user>\Documents is a junction to OneDrive\Documents, so historical path aliases were the same folder spelled two ways, then a third canonical clone under GitHub.
Related (not the same): Glass repo-centric grouping threads, e.g. 156331, 156578, 158523 (“identically named workspaces”).
This case is the opposite leftover: same path, multiple ghost sections after migration.
Impact
Agents sidebar is hard to use for that repo; cannot identify or consolidate duplicate sections from the UI.
Steps to Reproduce
Appeared after lastest upgrade. Screenshot of agents sidebar attached.
Steps to reproduce
- Use a repo under OneDrive/Documents (or a Documents junction to OneDrive), create several Agent chats.
- Migrate the clone to a non-OneDrive path (e.g. C:\Users<user>\GitHub<repo>), open only that path going forward.
- Optionally update chat workspace metadata so chats point at the new path.
- Fully quit and reopen Cursor.
- Observe Agents sidebar: multiple sections with the same repo basename; hover shows the same new path on chats.
Expected Behavior
One Agents sidebar section per logical repo/path once chats all resolve to that path.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Version Information
Version: 3.12.29 (user setup)
VS Code Extension API: 1.128.0
Commit: cd1c87ff9b66021918fb9731605f8d1d5fd2f0b0
Date: 2026-07-21T03:26:05.811Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Windows_NT x64 10.0.19045
Additional Information
Extensive chat with cursor (AI auto) unable to resolve issue.
C:\Users<user>\Documents is a junction to OneDrive\Documents, so historical path aliases were the same folder spelled two ways, then a third canonical clone under GitHub.
Related (not the same): Glass repo-centric grouping threads, e.g. 156331, 156578, 158523 (“identically named workspaces”).
This case is the opposite leftover: same path, multiple ghost sections after migration.
Does this stop you from using Cursor
No - Cursor works, but with this issue
