Agent launches background sub-agents without user approval, wasting tokens
Resolved 💬 2 comments Opened Apr 8, 2026 by koreamanse Closed May 26, 2026
Bug Report
Description
Claude Code launched 3 background sub-agents (expensive, token-heavy file generation tasks) without receiving user approval or instruction to proceed.
Steps to Reproduce
- User requested a batch file generation workflow
- Claude asked which targets to work on
- Before the user responded, Claude independently selected 3 targets and launched 3 background agents (
run_in_background: true) - User had to interrupt and stop the process
Expected Behavior
- Claude should wait for explicit user approval before launching any background agents
- Especially for token-intensive tasks, user confirmation is mandatory
- The project rules explicitly state agents should not proceed without user specifying the task type and targets
Actual Behavior
- Claude launched 3 background agents without any user instruction or approval
- This consumed significant tokens unnecessarily
- User had to forcefully interrupt multiple times
Impact
- Unnecessary token consumption from 3 background agents
- Poor user experience — user had to interrupt repeatedly
- Violates the principle of confirming before taking expensive/irreversible actions
Environment
- Claude Code CLI on Windows 11
- Model: claude-opus-4-6
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗