Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug] Antigravity's 15-minute watchdog shuts down ACP while a native Swarm worker is active #45844

Opentakboo(GitHub profile, opens in a new tab) opened this issue 1 comment

Area

apps/server and packages/provider-acp (built-in Antigravity provider)

What happened

In a regular Antigravity thread using native /swarm, the coordinator posted work to an existing worker and waited for the board. Its ACP session/prompt stayed open. T3's 15-minute prompt inactivity watchdog then failed the turn and sent SIGTERM to the Antigravity ACP process. The worker's native transcript recorded completed steps 21 seconds before termination. T3 showed a Provider error saying Antigravity had sent nothing for 15 minutes.

I observed this twice in the same thread on macOS arm64:

  • T3 Code 0.1.14-nightly.20261129.5425 with Antigravity ACP 1.5.18.
  • T3 Code 0.1.14-nightly.20261130.5465 with Antigravity ACP 1.5.20, after updating and continuing the thread.

Observed sequence

  1. Start native /swarm in a regular T3 Antigravity thread. The coordinator adds a worker, and T3 records it as a native subagent.
  2. Let the worker report and become idle. Have the coordinator send a follow-up on the swarm board to wake the same worker and wait for its result.
  3. The worker keeps making progress in its own conversation. The coordinator sends no further progress that T3 counts toward the deadline, and the watchdog fires while its prompt is still pending.

This sequence comes from the affected runs. I have yet to reproduce it in an isolated minimal workspace.

Evidence on Nightly 5465 with ACP 1.5.20

Times are relative to the coordinator's last recorded progress.

ElapsedSourceObservation
00:00T3 turn items and native swarm boardCoordinator posts to the existing worker. T3 records Wait for swarm board as completed. The ACP prompt remains pending.
14:39Native worker transcriptThe worker records two completed steps.
15:00T3 server traceorchestration-v2.acp-prompt-inactive, timeoutMillis: 900000. The provider log records session/prompt interrupted.
15:00Antigravity ACP server logThe process receives SIGTERM and shuts down.

Expected behavior

A native Swarm worker that resumes work should prevent the inactivity watchdog from retiring the coordinator's pending prompt while that worker is active. A genuinely inactive prompt can still time out.

Where to look

In the affected thread, T3 had recorded the worker as idle after its earlier report. The coordinator reused that worker without a new swarm add, and T3 recorded no new subagent activity for that worker in the timed-out turn. The native transcript confirms it had resumed. One possibility is that promptInactivityPaused only sees active tools and subagents tracked by the current ACP turn, so a previously idle worker may need to be rechecked against the native Swarm roster before retiring the prompt. The logs do not establish whether agy sent a worker wake event over ACP.

Related reports are #44371 (the same watchdog during a CI wait), #34160 (the same timeout message, closed after a host sleep fix), and #39886 (workers stopped after the coordinator prompt completed, with native worker display added in #42649). In this case the watchdog fired on an open prompt while a native worker was still executing.

  1. tanstack-source added labelsbug

  2. Another occurrence on T3 Code 0.1.15-nightly.20261205.5786 (desktop app, macOS arm64; client was the iOS app), twice in one thread, 20 minutes apart.

    Setup: native /swarm in a regular Antigravity thread (gemini-4-neon). The coordinator added @prerender, which started a long-running headless Blender render via a background run_command and parked waiting for it, plus @monitor. T3 recorded both subagents as idle within about a minute of creation.

    Sequence:

    Time (UTC)Event
    05:13:01Turn 1 session/prompt opens; workers added around 05:13–05:14
    05:28:41orchestration-v2.acp-prompt-inactive, timeoutMillis: 900000; session/prompt Interrupted after 940067 ms; AcpSessionRuntime.retireRuntime. The agy acp process, the swarm workers and the Blender child process all exit.
    05:31–05:33User asks for status; the coordinator revives both workers by posting @prerender … resume / @monitor resume to the board (no new swarm add). Renders resume.
    05:33:17Last item T3 records for the turn
    05:48:18Same watchdog again: session/prompt Interrupted after 909878 ms. Rendering stops mid-batch (33 of 238 images written).

    Two details beyond the original report:

    1. No error is shown. AntigravityTurnOutcome.check resolved the retired prompt as completed, so both runs finished as completed, not with the "sent nothing for 15 minutes" provider error. From the user's side the thread just stopped and the workers were gone.
    2. The worker was busy, but inside a long command. It wasn't talking to the coordinator, and its background command was a child of the agy process, so retiring the runtime killed the real work too. promptInactivityPaused only looks at context.subagents for the current turn. The revived workers were never added back to that set, and the original entries had been projected idle. This also matches #49604 for why they didn't appear as active in the UI.

    PR #46824 looks like the fix for this.

    Produced by Claude Opus 5.5 (claude-opus-5-5) via Claude Code, running T3 Code's triage playbook.

Sign in to join this conversation.