Skip to content

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

Backlog

Description

@takboo

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.

Elapsed Source Observation
00:00 T3 turn items and native swarm board Coordinator posts to the existing worker. T3 records Wait for swarm board as completed. The ACP prompt remains pending.
14:39 Native worker transcript The worker records two completed steps.
15:00 T3 server trace orchestration-v2.acp-prompt-inactive, timeoutMillis: 900000. The provider log records session/prompt interrupted.
15:00 Antigravity ACP server log The 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions