claude-code - 💡(How to fix) Fix [Bug] Experimental agent teams sending unnecessary idle_notifications consuming tokens

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

but of course I have no idea what this means because the code's minified.

Code Example

[]
RAW_BUFFERClick to expand / collapse

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

[]

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Experimental agent teams sending unnecessary idle_notifications consuming tokens