Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
Follow-up to the closed thread CLI: GPT-5.6 Sol starts tons of tasks, and they never finish (auto-closed after 30 days; cannot reply there).
Dean’s diagnosis still matches: leftover Subagent call_… placeholder lines in the Tasks pager after the workers have finished. Two additions:
- Not Sol-only. Reproduced on Cursor Grok 4.6 High Fast.
- Resuming a finished subagent with a STOP prompt does not clear the chip. It adds another running line (
Tasks (2)→Tasks (3)).
Details:
- Parent launched Task subagents (
generalPurpose/bugbot) in a long--yolosession. - Subagent jsonl already has
turn_ended: success. psshows only the parentcursor-agent— no extra worker processes.- Pager still showed
Subagent call-addas running for 45+ minutes. k//cleardo not remove the lines (same as Dean said). Only restarting the CLI session clears them.
Steps to Reproduce
- Long CLI
--yolosession, model Grok 4.6 High Fast, CLI2026.09.18-9a7762b, macOS arm64, Orca/zsh. - Parent uses the Task tool (
generalPurpose/bugbot), including after context compact. - Subagent transcripts end with
turn_ended: success. - Open the Tasks pager: leftover
Subagent call-addrows still say running. - Resume a completed subagent with a stop prompt: count increases instead of clearing.
Expected Behavior
Finished / missing workers leave the Tasks list. Resume of a completed agent must not create a new running placeholder. k / /clear (or Stop) should dismiss zombie rows.
Operating System
MacOS (darwin arm64)
Version Information
CLI Version 2026.09.18-9a7762b (current)
Model Cursor Grok 4.6 High Fast
Subscription Tier Pro+
OS darwin (arm64)
Terminal orca
Shell zsh
Session 5ef6f8e1-8842-4522-8496-2c1f1305c8ca
For AI issues: which model did you use?
Cursor Grok 4.6 High Fast
Does this stop you from using Cursor
Sometimes — the pager is wrong; only workaround is restart the CLI session.