Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When an agent spawns a subagent, opening the subagent in a new tab before it starts causes the tab to remain stuck in an empty state. Additionally, the subagent preview in the parent agent is incorrectly marked as completed, while the subagent continues running in the background.
Steps to Reproduce
- Prompt a parent agent to spawn a subagent (for example: “spawn a subagent for testing”).
- As soon as the subagent preview appears, quickly click it to open the subagent in a new tab.
- Subagent tab remains in an empty state, while the subagent preview in the parent agent is immediately marked as completed.
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 3.7.27
VS Code Extension API: 1.105.1
Commit: e48ee6102a199492b0c9964699bf011886708ba0
Date: 2026-06-10T01:46:16.942Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 25.5.0
Does this stop you from using Cursor
No - Cursor works, but with this issue
