Remove the spawn_task "Suggested task" chip feature — proactive suggestions lack the context to be made safely
Summary
The Claude Desktop app's Code tab has an mcp__ccd_session__spawn_task tool that lets Claude proactively flag an out-of-scope issue as a "Suggested task" chip, one click away from spinning off an autonomous background session. Recommendation: remove this proactive-suggestion path entirely, rather than just making it toggleable.
Why removal, not just an off-switch
A spawn_task suggestion is generated from whatever is visible inside the current conversation's context window alone. Claude has no visibility into concurrent sessions, decisions recorded elsewhere in the project, or why something that looks like dead code, a stale TODO, or missing coverage is actually there deliberately.
That's what makes this a trap rather than a help: the chip presents a confident, one-click "fix this" action for a judgment that was made without the context needed to make it safely. The UI framing — a clean suggestion card with a "Start locally" button — actively invites the trust that then lets an under-informed suggestion get executed autonomously. A user who acts on it can end up with a background session that contradicts a decision made outside the current window, duplicates in-flight work, or removes something load-bearing that the flagging session had no way to see.
An opt-out setting would only help users who already know to distrust the feature. It doesn't fix the underlying problem for everyone else: the suggestion mechanism itself manufactures confident recommendations from structurally insufficient information. The fix is to remove the proactive-suggestion path, not gate it behind a setting. (This doesn't affect explicit, user-initiated requests to spin off a background task, where the user supplies the framing and scope themselves.)
For reference
Even the weaker ask — a toggle rather than removal — has no existing coverage:
CLAUDE_CODE_DISABLE_BACKGROUND_TASKScontrols Bash/subagentrun_in_background+ Ctrl+B, not this toolCLAUDE_CODE_DISABLE_AGENT_VIEWcontrols the agent-view/supervisor pane, not this tool- No entry in the documented settings.json/env-var reference addresses
spawn_taskspecifically
Related
#67432, #70388, #26038, #18544
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗