Plan mode constraint not propagated to Agent tool subagents
Resolved 💬 3 comments Opened Apr 5, 2026 by wacci6 Closed Apr 8, 2026
Bug Description
When plan mode is active (via Shift+Tab), using the Agent tool spawns subagents that are not subject to the plan mode constraint. These subagents can freely make file edits and run non-readonly tools, effectively bypassing plan mode entirely.
Steps to Reproduce
- Activate plan mode (Shift+Tab)
- Ask Claude to perform a task
- Claude uses the
Agenttool to spawn a subagent - The subagent writes files and executes tools despite plan mode being active in the parent session
Expected Behavior
Plan mode constraint should either:
- Propagate to all spawned Agent subagents, or
- Block
Agenttool usage entirely while plan mode is active
Actual Behavior
Spawned agents bypass plan mode and make real file edits without user approval.
Impact
Plan mode provides no protection when Claude routes work through the Agent tool, making the feature unreliable as a review gate before implementation.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗