{"version":"2.1.333","anchor":"subagent-waiting-on-agents-field-in-task-events","canonical_anchor":"subagent-waiting-on-agents-field-in-task-events","heading":"Subagent reports tell apps when a subagent is waiting or was flagged","tier":"notice","area":"Subagents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/subagent-waiting-on-agents-field-in-task-events","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Subagent reports tell apps when a subagent is waiting or was flagged\n\nSubagent events gain waiting_on_agents and review_warning fields, denials can mark an Escape, and subagent progress lines replace each other\n\n**What**\n\nA subagent is a helper Claude starts to work on part of a task. The messages Claude Code sends about subagents to apps built on it have changed:\n\n- A new optional field, `waiting_on_agents`, marks a subagent that finished its turn but is waiting on agents it started itself. In that state its summary is not its result. It is also added to the completion result.\n\n- The `task_updated` message for a background subagent can carry an optional `review_warning`, with a kind of flagged, refused or unavailable and some text, when auto mode reviewed its work.\n\n- A `task_updated` message whose change contains `review_warning` is now filtered the same way as other message types.\n\n- Several of these messages gain a `written_at` field.\n\n- A permission denial can now carry `byEscape` when you rejected it by pressing Escape. Before, a denial only said whether it interrupted.\n\n- Short-lived progress messages now replace the previous one in a subagent's transcript instead of piling up.\n\n- The message about a stalled subagent now shows seconds without rounding.\n\n- A wait that held back stall handling while scripts ran in the REPL, the interactive command area, was removed.\n\n**Why**\n\nApps can now tell a finished subagent from one still waiting on its own helpers, show when auto mode flagged a subagent's work, and see whether a denial came from Escape. Subagent transcripts also grow less from progress updates.\n\n- Area: Subagents\n- Names: `waiting_on_agents`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}