SubAgent for Multitask hangs

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The subagent stucks with “Planing next moves” and never returns.

Steps to Reproduce

I ran it with Multitask and remote SSH. The subagent runs a long-running task, but it hangs near the end.

Expected Behavior

Subagent finishes as usual.

Operating System

MacOS

Version Information

Version: 3.28.7
VS Code Extension API: 1.128.0
Commit: 25b52e7d03ebf2d5608914158e119f7992432a30
Date: 2026-11-03T02:20:44.943Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 42.11.16
Chromium: 148.0.7778.280
Node.js: 24.19.0
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 25.6.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @Mengxin_Liu, the subagent got stuck because the Cursor extension host running on your SSH machine kept freezing. Over the hour and a half before you posted, it stopped responding roughly once a minute. The subagent was waiting on a step that runs in that process, and the result never came back, so it sat on “Planning next moves” with nothing actually running.

When it happens again:

  1. Stop the stuck subagent from its card.
  2. Tell the parent agent to continue the task. Your later retries this morning finished normally once the remote side settled down.

All agent windows connected to the same SSH host share one extension host there, so closing agent windows you aren’t using, or easing load on the remote machine, makes these freezes less likely.

Could you tell us what the subagent was running when it hung? For example, a single long build or test command, or many smaller steps?