[Bug] Agents waste excessive token budget on permission checks without early validation
Bug Description
On a fresh 0% usage session window, I had told Claude to assign agents to implement a migration from a Markdown file that we had prepared in a few hours before.
I was hoping that by delegating it to multiple agents, it would help with having them all do "focused" work without bloated context, etc. What ended up happening was, on the first run it literally wasted about 45% of my session usage right away without getting any work done at all:
All 12 agents failed this round due to the permission issue — no partial work was done, so nothing is in a broken state.
Even though it claims no partial work was done, it seems that it has done everything except the final part of writing them to files, just to realize that it had no permissions for the target folder.
Then, it picked up config-skill, made some changes, and told me to restart. So I restart Claude Code, resume this chat and tell it to re-launch: this time it wastes all the remaining the session usage again because it somehow had to wait for 12 agents worth of work to realize that it is
Still blocked — additionalDirectories only grants read scope. Write and Bash still need explicit allow rules.
In a matter of minutes I went from 0% to 100% session usage, and it is possible that it chipped away from my extra usage balance too while I was trying to stop it, realizing what had happened.
I have been using Claude Code for months now, almost every single day. I would like to believe that I could have done a better approach perhaps, but I don't believe this is fully an end-user error.
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.110
- Feedback ID: 68868ea4-cd86-4169-8b52-8462286cb0d3
Errors
[{"error":"Error: File does not exist. Note: your current working directory is C:\\Users\\Administrator\\Documents\\Snackys_child.\n at call (B:/~BUN/root/src/entrypoints/cli.js:4783:7630)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T11:06:42.035Z"},{"error":"Error: Request was aborted.\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T11:08:33.774Z"},{"error":"Error: Request was aborted.\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T11:15:33.632Z"}]
<img width="1073" height="600" alt="Image" src="https://github.com/user-attachments/assets/3f37e633-2f75-40de-812d-154e94a25117" />
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗