[Bug] Experimental agent teams sending unnecessary idle_notifications consuming tokens
Resolved 💬 3 comments Opened May 24, 2026 by robstolarz 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
[]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗