[BUG] Task tool calls in 'plan mode' present plans
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
- Turn on planning mode
- 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.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗