[BUG] Task tool calls in 'plan mode' present plans

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Jul 23, 2025 · closed Aug 15, 2025

Environment

Mac, 1.0.56 (Claude Code)

Bug Description

'Task' tool calls initiated during 'plan mode' is presenting a 'plan' that forces you to accept/reject it - this should be done by the parent agent, not the task subagent.

Steps to Reproduce

  1. Turn on planning mode
  2. Ask it to do complex investigations

Expected Behavior

Tasks should not have the ability to present a plan to the user, they should merely output their results to the main agent. Only the main agent should present plans to the user.

Actual Behavior

Approving the plan swallows it within the Task's context, and the main agent gets confused and does not behave well - it starts launching into changes with a half-baked plan. If you re-enable 'plan mode' after approving a Task's plan, the main agent can get stuck in a loop of spinning up more Tasks to redo what it was trying to do.

View original on GitHub ↗

4 Comments

TheAndrewJackson · 1 year ago

I've been running into this as well

github-actions[bot] · 1 year ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/2703
  2. https://github.com/anthropics/claude-code/issues/5406
  3. https://github.com/anthropics/claude-code/issues/5527

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

apetta · 1 year ago

Closing as duplicate of #2703

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.