[Bug]: Native Antigravity background subagent tool cards split a later parent reply #46894
Environment#
T3 Code server 0.1.12-nightly.20261123.5151 on Linux x86-64, native Antigravity provider, model gemini-4-neon. Observed in a live session. The steps below describe a minimal setup to try.
Steps to reproduce#
- Open an Antigravity thread in T3 Code with a scratch project containing a few plain-text files.
- Ask the parent to launch one native background research subagent via
invoke_subagent(TypeName="research") and have it read and summarize the files. Use enough files to keep it working through the next parent reply. - While the child is still making tool calls, send the parent a follow-up asking for a multi-paragraph answer without calling tools. Watch the parent timeline while the answer streams.
Expected behavior#
The parent reply streams continuously. The child's tool activity appears in the subagent's own activity.
Actual behavior#
Native child file-read and shell-command cards appeared in the parent timeline, including between two fragments of the same bold heading. T3's stored activity also shows the split, so it persists beyond live rendering.
The parent provider transcript records a single text response with zero tool calls for the affected turn. The child transcript independently records file reads and shell commands. The T3 activity for the parent run has this sequence (conversation identifier replaced):
17:05:26.473 assistant_message
17:05:26.487 dynamic_tool …:tool:<childConversationId>:call_…
17:05:27.377 assistant_message
17:05:27.496 command_execution …:tool:<childConversationId>:call_…
17:05:28.469 assistant_message
Both tool items have the parent's run ID and an empty subagent association. The tool item ID contains the actual child conversation ID.
Routing evidence#
The tagged Agent Client Protocol (ACP) adapter routes tool updates to a child when the outer notification session ID differs from the root session ID. Its root-session path emits tool updates on the active turn. This is consistent with a child-tagged tool update arriving on the parent session and going through the root path. The available incident records establish the erroneous T3 projection. They do not capture the original notification envelope, so the incoming sessionId and whether Antigravity or an earlier T3 normalization step assigned it remain unverified.
Related to the child-card routing symptom in #45156. This occurrence uses a single native invoke_subagent call without Swarm and shows a later parent reply being split even though the parent made no tool calls.
tanstack-source added labelsbug
Sign in to join this conversation.