Skip to content

fix(server): Antigravity threads keep going after a background command finishes - #38864

Merged
t3dotgg merged 4 commits into
mainfrom
t3/antigravity-background-wake
Nov 19, 2026
Merged

t3dotgg merged 4 commits into
mainfrom
t3/antigravity-background-wake

Conversation

@t3dotgg

@t3dotgg t3dotgg commented Nov 19, 2026

Copy link
Copy Markdown
Member

Antigravity threads looked like they stopped at random. Two bugs caused it:

  1. The agent woke up and T3 Code was not listening. agy ends its prompt while a backgrounded command still runs. When the command finishes, agy starts a reply by itself with no prompt open: it streams output, runs tools, and asks for permissions. T3 Code had no active turn, so it dropped the output and failed the permission request with ACP agent requested input without an active turn. The thread stayed idle until the next user message.
  2. html_render pages never showed. agy 1.5.8+ titles T3 tool calls Run mcp_t3-code_<tool>. T3 Code did not recognize the title, so the call became a plain row with no page.

Fixes #36105. Related: #30082, #16442.

Fix

  • The built-in Antigravity adapter now uses the post-settle continuation that Hermes already uses. Output that arrives after the prompt ends starts a continuation run, and a permission request waits for that run.
  • agy ends each reply with usage_update and never sends a prompt response for a reply it started itself. The continuation run now waits for that marker (2 minute limit) instead of the 3 s debounce. In live captures the model was silent for 3.2 to 6.7 s before its first token, which split one reply across several runs.
  • T3 tool titles with the Run / Running prefix are recognized again.
  • The registry agy path gets the same behavior.

No change for other providers: the new behavior is behind flavor flags that only Antigravity and registry agy set.

Proof

Real agy 1.5.11 through vp run dev. The prompt starts a 20 s background command and ends its turn. Run 1 completed at 02:52:13. Run 2 started by itself at 02:52:27 when the command finished, ran a second command (its permission request was answered inside the run), rendered the page after an 8 s model silence, and completed at 02:52:43.

Antigravity thread continues by itself and renders the html_render page

Before the fix, the native agy log of the affected thread shows the wake-up dying on T3 Code's answer:

17:40:58  (background task finished, agy starts a reply)
17:41:11  session/request_permission RPC failed: JSON-RPC error: ACP request handler failed for method 'session/request_permission' (code -32603)
17:41:11  Tool confirmation ... step 14 (approved=false)

Tests:

  • AntigravityAdapterV2.test.ts "continues in one run when a finished background command wakes the agent" replays the captured frames. It fails on main with the same requested input without an active turn error.
  • AcpRegistryAdapterV2.test.ts covers a reply that ends before the continuation starts, and a run woken by a permission request alone.
  • vp run check:changed passes. vp test run src/orchestration-v2/Adapters: 12 files, 1139 tests pass.

Credit

This PR takes over work from three open PRs and keeps their commits or credit:

Not in this PR: #38834 and #37489 fix the same stop by re-prompting agy or polling its native database. The captures show agy already replies by itself, and its database shows no in-flight step while the model thinks, so this PR listens instead.

Known limits: the first run still ends when agy ends its prompt, so the thread shows idle while the background command runs. Stop does not end a command that agy left running (#35073 covers that).

Reviewed with sol-loop: 3 passes with GPT-6.2 Sol. Sol verdict: approved

Created with Claude Fable 5.2 in Claude Code, running in T3 Code. Diagnosis started with Claude Opus 5.5.

🤖 Generated with Claude Code

Codder13 and others added 4 commits November 18, 2026 18:54
agy 1.5.8 titles injected MCP calls "Run mcp_t3-code_<tool>" instead of
"Running <tool>", so extractMcpToolCallIdentity no longer recognized them.
Every T3 tool call fell through to a generic dynamic_tool named after the
title, which also skipped the #19796 html_render recovery, so no page showed.

Strip Antigravity's "Run "/"Running " verb (and a prompt's trailing "?")
before matching the T3 title conventions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…inishes

agy ends the prompt while a backgrounded command still runs. When the
command finishes, agy starts a reply by itself: it streams output and asks
for permissions with no prompt open. T3 Code had no active turn, so it
dropped the output and failed the permission request with "requested input
without an active turn". The thread looked stopped until the next message.

The built-in Antigravity adapter now uses the post-settle continuation that
Hermes and the registry `agy` path use. A reply the agent starts by itself
ends with `usage_update`, so the continuation run waits for it instead of
the 3 s debounce. The model was silent for up to 6.7 s before its first
token in live captures, which split one reply across several runs.

Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Vedanta-krit das (Alex Vedmedenko) <[email protected]>
Co-Authored-By: Claude Fable 5.2 <[email protected]>
…cases

Review findings on the Antigravity continuation:

- The registry `agy` path used the 3 s debounce, so it still split replies.
- A reply that ended before its continuation run started lost its closing
  `usage_update`, so the run stayed active for two minutes.
- A run woken by a permission request alone could end 3 s after the answer,
  before the model went on.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Nov 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 21.5 KiB 21.5 KiB 0 B (0.0%) 24.4 KiB ✅
Codex Live turn messages 1 1 0 (0.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Claude Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.9 KiB 21.9 KiB 0 B (0.0%) 24.4 KiB ✅
Claude Live turn messages 1 1 0 (0.0%) 8 ✅

Other scenarios

All 64 scenario measurements match main.

All 64 scenario measurements
Provider Scenario Metric Main baseline This PR Impact PR ceiling
Codex short turn resume WebSocket decoded 10.5 KiB 10.5 KiB 0 B (0.0%) 12.7 KiB ✅
Codex short turn resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Codex long turn running, cold open HTTP decoded 281.7 KiB 281.7 KiB 0 B (0.0%) 302.7 KiB ✅
Codex long turn running, cold open rows 75 75 0 (0.0%) 75 ✅
Codex long turn running, history page HTTP decoded 92.4 KiB 92.4 KiB 0 B (0.0%) 107.4 KiB ✅
Codex long turn running, history page rows 75 75 0 (0.0%) 75 ✅
Codex long turn finished, cold open HTTP decoded 381.5 KiB 381.5 KiB 0 B (0.0%) 410.2 KiB ✅
Codex long turn finished, cold open rows 151 151 0 (0.0%) 151 ✅
Codex long turn finished, socket cold open WebSocket decoded 381.6 KiB 381.6 KiB 0 B (0.0%) 410.2 KiB ✅
Codex long turn finished, socket cold open WebSocket messages 2 2 0 (0.0%) 2 ✅
Codex long turn finished, socket cold open rows 151 151 0 (0.0%) 151 ✅
Codex long turn finished, work page HTTP decoded 186.2 KiB 186.2 KiB 0 B (0.0%) 200.2 KiB ✅
Codex long turn finished, work page rows 150 150 0 (0.0%) 150 ✅
Codex idle thread resume WebSocket decoded 65 B 65 B 0 B (0.0%) 200 B ✅
Codex idle thread resume WebSocket messages 1 1 0 (0.0%) 1 ✅
Codex fleet shell snapshot HTTP decoded 42.4 KiB 42.4 KiB 0 B (0.0%) 53.7 KiB ✅
Codex fleet shell snapshot rows 27 27 0 (0.0%) 27 ✅
Codex fleet shell subscribe WebSocket decoded 65 B 65 B 0 B (0.0%) 200 B ✅
Codex fleet shell subscribe WebSocket messages 1 1 0 (0.0%) 1 ✅
Codex fleet shell resume check HTTP decoded 18 B 18 B 0 B (0.0%) 100 B ✅
Codex fleet shell resume check rows 0 0 0 0 ✅
Codex stale shell reload HTTP decoded 42.4 KiB 42.4 KiB 0 B (0.0%) 53.7 KiB ✅
Codex stale shell reload rows 27 27 0 (0.0%) 27 ✅
Codex stale shell resume WebSocket decoded 140 B 140 B 0 B (0.0%) 400 B ✅
Codex stale shell resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Codex stale todo list cold open HTTP decoded 72.4 KiB 72.4 KiB 0 B (0.0%) 83.0 KiB ✅
Codex stale todo list cold open rows 75 75 0 (0.0%) 75 ✅
Codex stale todo list cold open nodes 2 2 0 (0.0%) 4 ✅
Codex stale todo list cold open subagents 2 2 0 (0.0%) 4 ✅
Codex stale todo list cold open plans 1 1 0 (0.0%) 2 ✅
Codex stale todo list cold open providerTurns 1 1 0 (0.0%) 2 ✅
Codex stale todo list cold open checkpoints 1 1 0 (0.0%) 2 ✅
Claude short turn resume WebSocket decoded 10.6 KiB 10.6 KiB 0 B (0.0%) 12.7 KiB ✅
Claude short turn resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Claude long turn running, cold open HTTP decoded 283.3 KiB 283.3 KiB 0 B (0.0%) 302.7 KiB ✅
Claude long turn running, cold open rows 75 75 0 (0.0%) 75 ✅
Claude long turn running, history page HTTP decoded 93.4 KiB 93.4 KiB 0 B (0.0%) 107.4 KiB ✅
Claude long turn running, history page rows 75 75 0 (0.0%) 75 ✅
Claude long turn finished, cold open HTTP decoded 384.2 KiB 384.2 KiB 0 B (0.0%) 410.2 KiB ✅
Claude long turn finished, cold open rows 151 151 0 (0.0%) 151 ✅
Claude long turn finished, socket cold open WebSocket decoded 384.3 KiB 384.3 KiB 0 B (0.0%) 410.2 KiB ✅
Claude long turn finished, socket cold open WebSocket messages 2 2 0 (0.0%) 2 ✅
Claude long turn finished, socket cold open rows 151 151 0 (0.0%) 151 ✅
Claude long turn finished, work page HTTP decoded 188.1 KiB 188.1 KiB 0 B (0.0%) 200.2 KiB ✅
Claude long turn finished, work page rows 150 150 0 (0.0%) 150 ✅
Claude idle thread resume WebSocket decoded 66 B 66 B 0 B (0.0%) 200 B ✅
Claude idle thread resume WebSocket messages 1 1 0 (0.0%) 1 ✅
Claude fleet shell snapshot HTTP decoded 43.0 KiB 43.0 KiB 0 B (0.0%) 53.7 KiB ✅
Claude fleet shell snapshot rows 27 27 0 (0.0%) 27 ✅
Claude fleet shell subscribe WebSocket decoded 66 B 66 B 0 B (0.0%) 200 B ✅
Claude fleet shell subscribe WebSocket messages 1 1 0 (0.0%) 1 ✅
Claude fleet shell resume check HTTP decoded 18 B 18 B 0 B (0.0%) 100 B ✅
Claude fleet shell resume check rows 0 0 0 0 ✅
Claude stale shell reload HTTP decoded 43.0 KiB 43.0 KiB 0 B (0.0%) 53.7 KiB ✅
Claude stale shell reload rows 27 27 0 (0.0%) 27 ✅
Claude stale shell resume WebSocket decoded 140 B 140 B 0 B (0.0%) 400 B ✅
Claude stale shell resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Claude stale todo list cold open HTTP decoded 73.4 KiB 73.4 KiB 0 B (0.0%) 83.0 KiB ✅
Claude stale todo list cold open rows 75 75 0 (0.0%) 75 ✅
Claude stale todo list cold open nodes 2 2 0 (0.0%) 4 ✅
Claude stale todo list cold open subagents 2 2 0 (0.0%) 4 ✅
Claude stale todo list cold open plans 1 1 0 (0.0%) 2 ✅
Claude stale todo list cold open providerTurns 1 1 0 (0.0%) 2 ✅
Claude stale todo list cold open checkpoints 1 1 0 (0.0%) 2 ✅

Baseline: 8729bdd · PR result: c707ae2 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@t3dotgg
t3dotgg merged commit 12be92d into main Nov 19, 2026
38 of 39 checks passed
@t3dotgg
t3dotgg deleted the t3/antigravity-background-wake branch November 19, 2026 03:04
orbitingflea added a commit to orbitingflea/t3code that referenced this pull request Nov 19, 2026
Resolve the 19 conflicts in 12 files that commit A left from merging
upstream 9a26f21, and fix the tests the merge broke.

Each conflict keeps upstream's code and puts the fork's change back on
top. No conflict needed a choice between the two sides:

- A steer sends upstream's MCP app context and the fork's display-mode
  text.
- The preview browser takes upstream's user-agent option and the fork's
  headed display option.
- Antigravity keeps the fork's agy CLI wrapper, CLI error text and
  account check on upstream's thread environment, thread recovery and
  background-work code.
- PDFs get upstream's save button and keep the fork's reading position.
- The right panel's "Linked items" entry keeps the fork's menu id, and
  the fork's menu settings page uses upstream's new name.

Upstream pingdotgg#38445 names the preview browser's version in its launch
user agent, and that version is upstream's shell, Chrome 157. The fork's
full Chrome moves from 156 to the same 157 build, so its user agent and
client hints agree, and a test keeps the two versions equal.

Upstream pingdotgg#38864 now reads the agy CLI's "Run mcp_t3-code_<tool>" titles,
so the fork's own hook for those titles is removed.

Fork tests follow upstream's new APIs, and agentContextBudget.json holds
the measured sizes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 19, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
orbitingflea added a commit to orbitingflea/t3code that referenced this pull request Nov 19, 2026
Resolve the 19 conflicts in 12 files that commit A left from merging
upstream 9a26f21, and fix the tests the merge broke.

Each conflict keeps upstream's code and puts the fork's change back on
top. No conflict needed a choice between the two sides:

- A steer sends upstream's MCP app context and the fork's display-mode
  text.
- The preview browser takes upstream's user-agent option and the fork's
  headed display option.
- Antigravity keeps the fork's agy CLI wrapper, CLI error text and
  account check on upstream's thread environment, thread recovery and
  background-work code.
- PDFs get upstream's save button and keep the fork's reading position.
- The right panel's "Linked items" entry keeps the fork's menu id, and
  the fork's menu settings page uses upstream's new name.

Upstream pingdotgg#38445 names the preview browser's version in its launch
user agent, and that version is upstream's shell, Chrome 157. The fork's
full Chrome moves from 156 to the same 157 build, so its user agent and
client hints agree, and a test keeps the two versions equal.

Upstream pingdotgg#38864 now reads the agy CLI's "Run mcp_t3-code_<tool>" titles,
so the fork's own hook for those titles is removed.

Fork tests follow upstream's new APIs, and agentContextBudget.json holds
the measured sizes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
iwatakeshi pushed a commit to iwatakeshi/t3code that referenced this pull request Nov 19, 2026
…d finishes (pingdotgg#38864)

agy ends its prompt while a backgrounded command still runs. When the command
finishes, agy starts a reply by itself with no prompt open. T3 Code dropped that
output and failed its permission request, so the thread looked stopped.

The built-in Antigravity adapter and the registry agy path now continue in a new
run, and wait for the reply's closing usage_update instead of the 3 s debounce.
T3 tool titles with the "Run mcp_t3-code_<tool>" form are recognized again, so
html_render pages show.

Takes over pingdotgg#36138, pingdotgg#37485, pingdotgg#30083 and part of pingdotgg#35073.

Co-authored-by: Denis Bolba <[email protected]>
Co-authored-by: drstrangerujn <[email protected]>
Co-authored-by: Vedanta-krit das (Alex Vedmedenko) <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-Authored-By: Claude Fable 5.2 <[email protected]>
(cherry picked from commit 12be92d)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 19, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 22, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 22, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 23, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
nullStack65 added a commit to nullStack65/t3code that referenced this pull request Nov 24, 2026
* fix(acp): Devin terminals no longer inherit the launching thread's T3 MCP credentials (pingdotgg#26652)

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: maria-rcks <[email protected]>
(cherry picked from commit fe1f1a5)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(acp-registry): each Mistral Vibe model shows its own thinking levels (pingdotgg#38556)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 018ca6d)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): an Antigravity update refreshes every instance's model list (pingdotgg#36035)

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit b1ca562)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity turns no longer fail on a roots notification to the T3 MCP server (pingdotgg#36439)

(cherry picked from commit 6c0698c)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity 1.5 asks for sign-in when it cannot open a browser (pingdotgg#36037)

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 2ba4fde)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(antigravity): thread sessions spawn with their T3 thread and MCP environment (pingdotgg#36495)

(cherry picked from commit c67deb1)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): managed Antigravity and Codex runtimes prune old versions (pingdotgg#38740)

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 68ea222)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(antigravity): recover threads after a lost thinking signature (pingdotgg#28889)

Co-authored-by: PR Batch Tester <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: maria-rcks <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit f9a3c38)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Hermes keeps its background reply when launched through a wrapper (pingdotgg#38659)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 7bae751)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity threads keep going after a background command finishes (pingdotgg#38864)

agy ends its prompt while a backgrounded command still runs. When the command
finishes, agy starts a reply by itself with no prompt open. T3 Code dropped that
output and failed its permission request, so the thread looked stopped.

The built-in Antigravity adapter and the registry agy path now continue in a new
run, and wait for the reply's closing usage_update instead of the 3 s debounce.
T3 tool titles with the "Run mcp_t3-code_<tool>" form are recognized again, so
html_render pages show.

Takes over pingdotgg#36138, pingdotgg#37485, pingdotgg#30083 and part of pingdotgg#35073.

Co-authored-by: Denis Bolba <[email protected]>
Co-authored-by: drstrangerujn <[email protected]>
Co-authored-by: Vedanta-krit das (Alex Vedmedenko) <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-Authored-By: Claude Fable 5.2 <[email protected]>
(cherry picked from commit 12be92d)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(acp-registry): inherited NPM_CONFIG_PREFIX no longer overrides the managed npm prefix on Windows (pingdotgg#38839)

(cherry picked from commit 528687d)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(shared): html_render cards show for Antigravity's acp-mcp-call terminal fallback (pingdotgg#38898)

(cherry picked from commit 1583941)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity threads stay working while a background command runs, and Stop ends it (pingdotgg#38916)

agy ends its prompt while a command it backgrounded still runs, and replies by
itself when the command finishes. T3 Code ended the run at the prompt, so the
thread looked idle and Stop was not offered.

The run now stays open until the command ends. A daemon does not hold it. Stop
sends session/cancel, which ends the command in agy 1.5.11. A message sent
while the command runs does not, so the command keeps running. A held run
fails when the agent process exits.

The Servers panel no longer lists an agent CLI's own ports.

Takes over pingdotgg#35073 and pingdotgg#36585.

Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: saphid <[email protected]>
Co-Authored-By: Claude Fable 5.2 <[email protected]>
(cherry picked from commit f9b9bc7)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity install on Windows survives a briefly locked runtime folder (pingdotgg#29279)

(cherry picked from commit 1b555cc)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity native slash commands reach the composer after a restart (pingdotgg#38955)

(cherry picked from commit 91f166a)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* feat(cli): allow Antigravity in terminal triage (pingdotgg#31761)

(cherry picked from commit 2109868)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(antigravity): keep truncated command output valid Unicode (pingdotgg#38837)

Co-authored-by: Simone <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit c4dc9ed)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): list skills from plugins in the Antigravity instance profile (pingdotgg#38960)

(cherry picked from commit 292a8e4)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(acp): classify web search by title and omit fake filename results (pingdotgg#38106)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit d530ef3)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity resumes after its local harness fails (pingdotgg#23654)

Co-authored-by: maria-rcks <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 94baff1)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity native slash commands reach the composer (pingdotgg#35621)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 00200bd)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity invoke_subagent calls show as running subagents again (pingdotgg#38966)

(cherry picked from commit 43b37b6)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(provider-acp): a titleless tool_call_update keeps the tool's name (pingdotgg#38989)

(cherry picked from commit a6d2bed)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Windows .cmd launchers work as the Antigravity binary path (pingdotgg#24683)

Co-authored-by: maria-rcks <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 86b5734)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): read detached Antigravity 1.5 subagent transcripts (pingdotgg#39004)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 066be30)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity refreshes no longer erase scanned folders' project skills (pingdotgg#39037)

(cherry picked from commit bb23422)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): ACP Registry Antigravity no longer leaves unpacked temp folders (pingdotgg#39028)

(cherry picked from commit 67692a7)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(provider-acp): an ACP compaction no longer keeps a summary its agent cleared (pingdotgg#39151)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 9d2db4b)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(provider-acp): a running tool shows the file a location-only update names (pingdotgg#39147)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 541be77)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): steering an Antigravity turn no longer stops its subagents (pingdotgg#39165)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit cfd24da)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(provider-acp-registry): a failed terminal sign-in shows what the login command printed (pingdotgg#39238)

(cherry picked from commit a73cdc4)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(acp): a late session/load response no longer leaves the session without model controls (pingdotgg#23586)

(cherry picked from commit 5f8ab37)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): images that ACP agents read show a preview (pingdotgg#37468)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 0240eac)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(antigravity): allow compaction when the runtime advertises it (pingdotgg#37020)

Co-authored-by: 尤嘉兴 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit cdf5a6c)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(acp-registry): keep managed npm commands out of user PATH (pingdotgg#37542)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit f6881ce)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity 1.5 temporary setup and text-helper sessions clean up their files (pingdotgg#39275)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit c8b2141)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(web): keep deleted ACP sessions out of pending listings (pingdotgg#39331)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 4b697be)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): keep Antigravity thread cwd in workspace by omitting attachmentsDir from additionalDirectories (pingdotgg#37997)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 9d0d006)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity sign-in names a runtime crash instead of blaming Google (pingdotgg#28355)

(cherry picked from commit 71e1bb2)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity limits read the 1.5.x CLI's stored sign-in (pingdotgg#38957)

(cherry picked from commit 5283f33)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity accepts t3_background_wait for its own background commands (pingdotgg#39421)

(cherry picked from commit 505f6d6)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): host sleep no longer times out an Antigravity turn (pingdotgg#39395)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 990f31c)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity Google sign-in shows its link with the native CLI (pingdotgg#38953)

(cherry picked from commit 944d182)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): worktree handoff no longer leaves Antigravity threads Waiting (pingdotgg#39422)

(cherry picked from commit 9f6f554)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): accept Antigravity model IDs with thinking levels when delegating (pingdotgg#39413)

Co-authored-by: Simone <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 5ee1c2f)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity usage skips agy index databases instead of reporting partial history (pingdotgg#39435)

(cherry picked from commit 490a0d6)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): refuse Antigravity runtimes below 1.5 (pingdotgg#38970)

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 90a86d5)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* feat(antigravity): Auto uses agy's own Auto review (pingdotgg#39378)

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 5dd565d)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(antigravity): accept UTF-16 text attachments with a BOM (pingdotgg#39456)

Co-authored-by: Simone <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit ff8a831)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity drops a stale sign-in failure once a session signs in (pingdotgg#39443)

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 320ab2a)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(antigravity): MCP calls through call_mcp_tool show the tool, not "Ran command" (pingdotgg#39474)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 7f92841)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): stop managed Antigravity CLI from self-updating in place and recover on reinstall (pingdotgg#39363)

(cherry picked from commit d1822be)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): a killed Antigravity subagent no longer keeps its turn running (pingdotgg#39519)

(cherry picked from commit 1947264)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity threads follow the user's global AGENTS.md and GEMINI.md (pingdotgg#39531)

(cherry picked from commit e923b5d)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): each Antigravity Google sign-in stays in its own instance (pingdotgg#39485)

(cherry picked from commit 084ad5e)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(acp-registry): detect droid, glm, and vibe flavors for local commands (pingdotgg#39618)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 84eb429)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(antigravity): stop double-counting thinking tokens in turn output usage (pingdotgg#39686)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 602e5b3)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(antigravity): keep truncated command text valid Unicode (pingdotgg#39697)

Co-authored-by: Simone <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit df09ced)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(antigravity): honor the saved thinking level in text generation (pingdotgg#39720)

Co-authored-by: Simone <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit e74b795)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity links and discovers skills from skills.json (pingdotgg#39765)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 1c379b6)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Antigravity wake runs accept steers again (pingdotgg#39767)

(cherry picked from commit e24f0c7)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): keep DeepSeek ACP probes out of session history (pingdotgg#39733)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 31e31c6)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(antigravity): a scheduled wake keeps its run open instead of looking finished (pingdotgg#39806)

(cherry picked from commit 6edb530)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(antigravity): keep complete transcript steps at the tail boundary (pingdotgg#39855)

Co-authored-by: Simone <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit ad4d0f0)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(acp,web): stop showing "Running Ran" for commandless ACP tool calls (pingdotgg#39837)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 9294a98)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(acp): /compact right after session/load waits for the agent's command list (pingdotgg#39891)

(cherry picked from commit 6d6ca60)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): token analytics record new Antigravity models (pingdotgg#39897)

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 46b6262)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(antigravity): a mid-turn 404 shows its error and is retryable (pingdotgg#39869)

(cherry picked from commit f68d36d)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(sync): keep Closura command labels and apply the Antigravity 1.5 floor

Commandless ACP labels arrived with an i18n resolver this fork does not have.
Return the English status strings, and import TestClock where wake tests advance it.

Recovery handoffs now include only items since the context boundary. The 1.5
compatibility floor applies while apps/server still reports 0.1.9. The Google
sign-in limits copy stays the Closura wording.

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): Copilot MCP calls and glob searches keep their identity (pingdotgg#38349)

(cherry picked from commit 73e62fc)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(server): label Copilot rg calls as file searches (pingdotgg#38512)

Co-authored-by: Copilot <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit d0a754d)

Model: grok-4.7
Task: sync
Agent: grok
Harness: t3/grok

* fix(acp): keep the late-permission wake bound to its own turn (CLO-1067) (#187)

The dispatcher can attach the next turn while offerContinuationRun is
still returning, so reading turnAttached afterwards returned the new
turn's deferred and the detached permission request waited on the wrong
turn until it timed out. Capture the deferred before the offer.

Adds a regression test: a late workspace edit wakes only the bound ACP
session. Without the fix it times out at 120s; with it all 29
AntigravityAdapterV2 tests pass (Node 26.13.1).

Refs: CLO-1067
Source-Patch: CLO-1067 detached-edit.patch sha256 07c7e978d76a1218c95c73f2525de615a9c78c90fc8fc6333ccb05b64547fedf
Model: claude-opus-5-5
Task: fix
Agent: Claude Code (CLO-1067 lane)
Lane: magpie
Harness: t3/claude
Model-family: Claude Opus
Model-generation: 5.5
Skills-SHA: unknown (source unavailable)

Co-authored-by: Claude Opus 5.5 <[email protected]>

* fix(test): drop the older duplicate Antigravity running-command helper and tests left by the sync merge

The merge kept both the 1.5.11 helper (steering, continuation offers) and the older
single-argument copy with its two tests, which the newer block already covers more strictly.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Ian Rowe <[email protected]>
Co-authored-by: amtiyo <[email protected]>
Co-authored-by: sittingmongoose <[email protected]>
Co-authored-by: Davide Bertoni <[email protected]>
Co-authored-by: Luis Marsiglia <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: shivam <[email protected]>
Co-authored-by: Wout Stiens <[email protected]>
Co-authored-by: Theo Browne <[email protected]>
Co-authored-by: Shlok Sheth <[email protected]>
Co-authored-by: Simone <[email protected]>
Co-authored-by: Helmi Pradita <[email protected]>
Co-authored-by: Pedro Satin <[email protected]>
Co-authored-by: Berk Kuyumcu <[email protected]>
Co-authored-by: Victor <[email protected]>
Co-authored-by: zhangyc <[email protected]>
Co-authored-by: fatih akyon <[email protected]>
Co-authored-by: Soroush Baraouf <[email protected]>
Co-authored-by: Denis Bolba <[email protected]>
Co-authored-by: cosier <[email protected]>
Co-authored-by: YouJiaXing <[email protected]>
Co-authored-by: MusseJusse <[email protected]>
Co-authored-by: Omar Espinosa <[email protected]>
Co-authored-by: miley <[email protected]>
Co-authored-by: Hayden <[email protected]>
Co-authored-by: Neil Daquioag <[email protected]>
Co-authored-by: Filippo Mameli <[email protected]>
Co-authored-by: cxuan <[email protected]>
Co-authored-by: Charles Bine <[email protected]>
Co-authored-by: Alex Vallone <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Kameron Smith <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 24, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 24, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 24, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 25, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
cosmtrek added a commit to cosmtrek/t3code that referenced this pull request Nov 25, 2026
agy can fail every prompt with "could not find doneCh for checkpoint" once the
harness loses a checkpoint its session database points at. Treat it like the
invalid thinking signature: the thread is broken and the next message starts a
fresh Antigravity session with the thread's context.

Upstream merged the continuation half of pingdotgg#30083 as pingdotgg#38864; this is what is left.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 25, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 25, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 26, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 27, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 27, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 28, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 28, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 29, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 29, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 29, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 29, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 30, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 30, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
maschwenk pushed a commit to maschwenk/t3code that referenced this pull request Dec 1, 2026
…d finishes (pingdotgg#38864)

agy ends its prompt while a backgrounded command still runs. When the command
finishes, agy starts a reply by itself with no prompt open. T3 Code dropped that
output and failed its permission request, so the thread looked stopped.

The built-in Antigravity adapter and the registry agy path now continue in a new
run, and wait for the reply's closing usage_update instead of the 3 s debounce.
T3 tool titles with the "Run mcp_t3-code_<tool>" form are recognized again, so
html_render pages show.

Takes over pingdotgg#36138, pingdotgg#37485, pingdotgg#30083 and part of pingdotgg#35073.

Co-authored-by: Denis Bolba <[email protected]>
Co-authored-by: drstrangerujn <[email protected]>
Co-authored-by: Vedanta-krit das (Alex Vedmedenko) <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 12be92d)

Fork port: left out the provider-acp-registry and Hermes changes; T3's Antigravity provider does not use that path.
maschwenk added a commit to maschwenk/t3code that referenced this pull request Dec 1, 2026
…nishes after its turn (#135)

* fix(server): Antigravity threads keep going after a background command finishes (pingdotgg#38864)

agy ends its prompt while a backgrounded command still runs. When the command
finishes, agy starts a reply by itself with no prompt open. T3 Code dropped that
output and failed its permission request, so the thread looked stopped.

The built-in Antigravity adapter and the registry agy path now continue in a new
run, and wait for the reply's closing usage_update instead of the 3 s debounce.
T3 tool titles with the "Run mcp_t3-code_<tool>" form are recognized again, so
html_render pages show.

Takes over pingdotgg#36138, pingdotgg#37485, pingdotgg#30083 and part of pingdotgg#35073.

Co-authored-by: Denis Bolba <[email protected]>
Co-authored-by: drstrangerujn <[email protected]>
Co-authored-by: Vedanta-krit das (Alex Vedmedenko) <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 12be92d)

Fork port: left out the provider-acp-registry and Hermes changes; T3's Antigravity provider does not use that path.

* fix(server): Antigravity threads stay working while a background command runs, and Stop ends it (pingdotgg#38916)

agy ends its prompt while a command it backgrounded still runs, and replies by
itself when the command finishes. T3 Code ended the run at the prompt, so the
thread looked idle and Stop was not offered.

The run now stays open until the command ends. A daemon does not hold it. Stop
sends session/cancel, which ends the command in agy 1.5.11. A message sent
while the command runs does not, so the command keeps running. A held run
fails when the agent process exits.

The Servers panel no longer lists an agent CLI's own ports.

Takes over pingdotgg#35073 and pingdotgg#36585.

Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: saphid <[email protected]>
(cherry picked from commit f9b9bc7)

* fix(server): Antigravity accepts t3_background_wait for its own background commands (pingdotgg#39421)

(cherry picked from commit 505f6d6)

Fork port: the fork reads deferFinalizeForBackgroundWork straight from the flavor (no negotiated-flag helper), and the steer test that sat next to this one in upstream is left out.

* fix(server): ACP session/load replay no longer pins background work (pingdotgg#40328)

(cherry picked from commit 0c921e1)

* fix(antigravity): bound silent post-settle background command holds (pingdotgg#40858)

A turn held open by a background command now ends after 30 quiet minutes, so a command whose
finish never reaches T3 cannot leave the thread in Working forever.

Fork port of upstream 344de5f, applied by hand: the fork lacks
the scheduled-wake hold (pingdotgg#39806) and the prompt-steer refactor that upstream's diff sits in, so
schedules are not held at all here and the scheduled-wake test is left out.

* test(antigravity): type the wake-test runtime hook from the fork's adapter options

Upstream's test imports AntigravityAdapterV2RuntimeInput, which arrived with pingdotgg#36495; the fork does not have that change.

---------

Co-authored-by: Theo Browne <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: saphid <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Dec 1, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
ryush00 added a commit to ryush00/t3code that referenced this pull request Dec 1, 2026
The agy CLI asks before every tool in its `default` mode, and accounts
without `auto` have no mode that stops it. Full-access now starts agy with
`--dangerously-skip-permissions`. It is a spawn flag, so a turn that
switches to or from full-access restarts the runtime with the new policy.
Session modes map to what the CLI or the managed runtime advertises.

This patch used to carry a watcher that re-prompted agy after a background
command finished. Upstream pingdotgg#38864 and pingdotgg#38916 now continue those replies, so
the watcher is gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Antigravity 1.5.7 through 1.5.11 background commands mark the turn done early and T3 drops the wakeup reply

3 participants