Agent grouping by Repository hides remote-agent sessions that show correctly under Workspace grouping

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When grouping the Agents panel by “Repository,” remote/SSH-launched agent sessions for certain repos don’t appear under their repo card — it shows “No agents matching filter” even after resetting all filters. Switching the grouping to “Workspace” instead makes the same agent sessions appear correctly. This suggests the agent session’s repo attribution isn’t matching the repo card’s key when grouped by Repository, but is matching correctly when grouped by Workspace.

Steps to Reproduce

Launch a remote agent via SSH against a repo (e.g. itcmedia)
Open Agents panel, set Grouping to “Repository”
Observe the repo shows “No agents matching filter” despite Filters being fully reset
Switch Grouping to “Workspace”
Observe the same agent sessions now appear

Expected Behavior

Agent sessions should appear consistently regardless of grouping mode, since they’re the same underlying data just displayed differently.

Operating System

Linux

Version Information

Version 3.10.20

Does this stop you from using Cursor

No - Cursor works, but with this issue

Thanks for the report, @C_ST! This is a known issue, and I’ve seen some PRs floating around lately to improve it. I’ve attached your report to the existing bug report we’re tracking internally.