Subagent chatter in the JSON output stream no longer counts as a new turn.
What's wrong with this entry?
In the JSON event stream written to stdout for external observers, user and assistant events produced by a subagent are now marked as such. The supervisor that tracks turn boundaries skips marked events, so a subagent talking no longer opens a follow-up turn or resets idle and activity tracking.
- The marker is applied to events that carry a parent tool-use id, meaning they came from a tool-spawned subagent rather than the main conversation.
- Both the code that adds the marker and the guard that ignores it are new.
from_subagent
Strings lifted out of the shipped bundle, so the claim above can be checked against them.