[Bug] Experimental agent teams sending unnecessary idle_notifications consuming tokens
Status Fixed / completed
Reported on v2.1.150
Maintainer reply None cached
Activity 3 comments · opened May 24, 2026 · closed May 24, 2026
Bug Description
It appears to me that CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS teammates send idle_notification every time they finish a turn, including tool calls. My main thread ended up killing a teammate over its idle spam. 😬
Claude itself took a look and noted that
Likely intent vs. actual behavior. The shape (summary, completedTaskId, completedStatus, failureReason) suggests these were meant to be informational status pings — show up in the mailbox view, maybe surface a notification, but not wake the lead's loop. The "submit anything unrecognized as a prompt" fallback in InboxPoller is the bug. Fixing it would be a one-line filter: bucket idle_notification into a no-op handler the way shutdown_approved already gets special treatment (it updates state and pushes to b only to be marked-read).
but of course I have no idea what this means because the code's minified.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.150
- Feedback ID: c7a1f234-b6ea-41db-b89b-7565b82dbabc
Errors
[]
3 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Dupe of https://github.com/anthropics/claude-code/issues/47930 :)
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.