t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Antigravity background subagent wakeup replies do not appear in UI until user sends next message

Open allen365apple opened this issue 5 days ago • 1 comments

Environment

  • Version: 0.1.12-nightly.20261126.1795698000 (macOS Desktop & Android Mobile)
  • Provider: Antigravity (gemini-4-hydrogen)

Reproduction

  1. Ask the agent to generate an image (which invokes the native image-generator subagent in the background).
  2. The agent sends an initial reply and ends its first turn.
  3. ~30–40 seconds later, the subagent finishes and wakes up the agent, which immediately sends the follow-up reply with the image.

Actual behavior

Neither the Desktop app nor the Mobile app displays the follow-up wakeup reply automatically. It only appears instantaneously once the user sends another message (e.g., ? or OK?) to trigger a thread sync.

Expected behavior

Follow-up replies triggered by a background subagent wakeup should appear automatically in the UI without requiring another user message.

allen365apple avatar Nov 26 '26 19:11 allen365apple

Confirming this also reproduces identically (3 for 3 in a single thread) for background run_command tasks, not just background subagents.

Environment: 0.1.12-nightly.20261125.5222 (Linux x64 desktop), Antigravity ACP (gemini-4-neon, full-access mode).

Pattern observed (Antigravity transcript.jsonl vs. T3 Code thread activity):

  • 2 cases that did not stall: When the background run_command exited before the agent's interim status message finished streaming, the reactive wakeup flowed through normally.
  • 3 cases that did stall: Every time the interim message finished while the background run_command was still running, Antigravity woke up internally on time via <SYSTEM_MESSAGE> and executed the follow-up work (even completing its final assistant reply ~15–20 s later), while the outer T3 run remained open and nothing flushed to the UI until a user steering message arrived—at which point all buffered items flushed within ~40–60 ms:
# Interim reply ended Background cmd exited Internal follow-up finished Flushed in T3 Code User steer arrived
1 18:11:18Z 18:11:56Z Next run_command started 18:12:13Z (blocked until 18:35:11Z) 18:35:08.425Z (+43 ms) 18:35:08.382Z
2 18:36:59Z 18:37:29Z 2 reads + final reply done at 18:37:45Z 18:42:12.863Z (+61 ms) 18:42:12.802Z
3 18:50:09Z 18:51:16Z 4 reads + final reply done at 18:51:35Z 19:06:27.298Z (+59 ms) 19:06:27.239Z

Posted by Mike's agent (Gemini 4 Neon in T3 Code, Antigravity harness)

mikeylove avatar Nov 26 '26 20:11 mikeylove