GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(antigravity): threads resume when a timer wakes the agent by ryush00 · Pull Request #4 · ryush00/t3code

Conversation

@ryush00

@ryush00 ryush00 commented Nov 19, 2026

Copy link
Copy Markdown
Owner

An Antigravity thread (MineList, Ruby2Shell deploy watch) scheduled a 60 s check, then sat idle for seven minutes. The agent's two wake replies (19:29 and 19:31) only showed up when the user asked "왜 멈춰있니".

Cause

  • agy 1.5.9 ends session/prompt after schedule, runs the wake in its native session, and sends no ACP frames until another prompt reattaches the stream. The native session DB shows the wake steps (step_type = 101) at 19:29 and 19:31. T3's server trace has no acp-wake-turn-detected for the thread after the 10:28 restart.
  • The fork sync on 2026-11-19 dropped the fork's AntigravityWakeWatcher, assuming upstream fix(server): Antigravity threads keep going after a background command finishes pingdotgg/t3code#38864/fix(server): Antigravity threads stay working while a background command runs, and Stop ends it pingdotgg/t3code#38916 replaced it. That upstream continuation only reacts to frames agy streams, so a silent timer wake never wakes the thread.
  • Before the restart, the old nightly's watcher fired for every wake in this same thread (AntigravityWakeWatcher.watch spans at 10:23, 10:24, 10:26 and 10:27). After the update, nothing fired.

Fix

  • Restore AntigravityWakeWatcher. After a completed turn it polls <profile>/antigravity-acp/conversations/<session>.db for a wake step with no reply after it. It then queues a message_text continuation whose prompt reattaches the stream. The prompt text is rewritten to a short system note.
  • AcpAdapterV2Flavor.watchPostSettleWake is the hook. The adapter starts the watcher when a turn completes and stops it on the next turn, a Stop, a runtime restart, a replacement session or close.
  • When agy does stream a wake, upstream's buffered continuation still applies. Only one continuation can be requested at a time, so a second wake from the watcher is refused.

Tests

  • AntigravityWakeWatcher.test.ts (restored) covers wake detection, the settle grace and dedup.
  • New AntigravityAdapterV2.test.ts case: a schedule turn ends, a wake step lands in the native log with no frames, the adapter queues a message_text continuation and the next prompt carries the reattach note. Without the wiring the test hangs waiting for the wake, as the real thread did.
  • vp run check:changed: format, lint, knip and typecheck pass. Orchestrator.control-reads.test.ts has 2 failures that also fail on fork without this change.

Model and harness: Claude Opus 5.5 in Claude Code via T3 Code.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
ryush00 and others added 21 commits November 19, 2026 18:40
@ryush00 @claude
fix(antigravity): full-access skips agy's own confirmations
abf0724
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
ci(fork): release nightlies, sign macOS builds, and sync with upstrea…
8c355f6
…m daily

Fork-only release and sync infrastructure: a desktop release workflow for
macOS and Windows, nightly prereleases with synced upstream commits in the
notes, a daily upstream sync, and macOS signing (Developer ID when secrets
exist, otherwise ad hoc with a stable requirement) so builds update themselves.
@juliusmarminge @claude @ryush00
fix(server): Antigravity ask_question asks each choice once with its …
08ed731
…free-form answer

agy acp names the free-text companion of an ask_question choice qN_other and
puts the question in the choice title. The generic elicitation parser only
folds OMP's qN__other and reads the question from the description, so every
choice became two steps. Add an Antigravity extractElicitationForm, as the
OMP, Droid and OpenCode flavors have, that asks qN once with custom input and
sends typed text back as qN_other.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ryush00 @claude
fix(antigravity): offer Auto permission mode when agy ACP advertises it
1f044c7
Antigravity threads set to Auto ran in Supervised: the provider never
offered Auto and mapped it to the agent's default mode. That was right
for the legacy 1.4 harness, which has no automatic review, but agy acp
1.5.4+ advertises and enforces an auto session mode.

Offer Auto from agy 1.5.4, send the session's auto mode when the session
advertises it, and leave the prompts the agent still sends to the user.
Sessions without auto (the 1.4 harness, Gemini Enterprise accounts) stay
in default and are answered as Supervised.

Fixes pingdotgg#37082

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@ryush00 @claude
fix(acp): follow permission mode changes on an open session
517968c
An open ACP session was reconfigured only when the model or the
interaction mode changed. Antigravity keeps its session across a
permission mode change, so switching Auto to Supervised left agy in its
auto mode, running edits and commands unasked under a Supervised label,
and Supervised to Auto stayed in default.

Reconfigure when the turn's policy asks for a different native mode,
native config, or ceiling than the session was last configured for, and
stop the Plan restore from putting back a mode the policy has replaced.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
youjiaxing @ryush00
fix(antigravity): allow compaction when the runtime advertises it (pi…
f0d0eb7
…ngdotgg#37020)

Upstream PR: pingdotgg#37020
@Kirat0201 @ryush00
fix(server): let Antigravity validate newly discovered models (pingdo…
e3d0c62
…tgg#36804)

Upstream PR: pingdotgg#36804
@juliusmarminge @ryush00
fix(server): Antigravity subagent view finds auto-approved launches (p…
27ae4e7
…ingdotgg#31316)

Upstream PR: pingdotgg#31316
@binjamshid @ryush00
fix(web,mobile): Usage says when Antigravity subagent calls are left …
739e0a5
…out (pingdotgg#31381)

Upstream PR: pingdotgg#31381
@voltcrash @ryush00
fix(server): load Antigravity project and global rules (pingdotgg#29197)
fa19a00
Upstream PR: pingdotgg#29197
@ryush00 @claude
fix(antigravity): Auto no longer asks before every T3 Code tool call
0d5533f
Antigravity's automatic review covers shell commands and edits but no MCP
call, so in Auto it asked about each one. The adapter passed every Auto
prompt to the user, on the assumption that a prompt is a review refusal.
In two real Auto threads, 27 of 28 T3 Code tool calls asked, against 6 of
147 shell commands.

Auto now answers prompts for T3 Code's own MCP tools itself, the same way
Claude pre-approves them: the authenticated MCP endpoint already enforces
their scope. Everything else the review refuses still reaches the user,
as do other MCP servers' tools.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@ryush00
fix(server): PR watches report reruns that fail again and failed runs…
c45054e
… another GitHub event hides (pingdotgg#32319)
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
fa6c2b0
…otgg#33671)
@ryush00
fix(server): PR watches wake when checks finish after an early failure (
fc62bdc
pingdotgg#28020)
@ryush00
fix(server): baseline PR watches at registration so fast check comple…
02216a4
…tions still wake (pingdotgg#36463)
@Rasalas @ryush00
fix: GitLab merge request images and videos load in private projects (p…
cdc7faf
…ingdotgg#23501)

Upstream PR: pingdotgg#23501
@ryush00
feat(source-control): support GitHub PR and GitLab MR file attachments
513f267
@ryush00 @claude
fix(antigravity): agents stop ending turns to wait on dev servers
061f853
An Antigravity agent started a dev server, ended its turn with "I'll
continue once it's ready", and never resumed: agy wakes an ended turn
only when a background command exits, and a dev server never does. The
user waited 16 minutes before asking.

Tell the agent, in the session system prompt append and in per-turn
rules when the append is dropped, to wait for readiness with a command
that exits and continue in the same turn.

The mcp-tool-use eval has no Antigravity harness or Gemini models, so
this was checked with delegated gemini-4-carbon children on a slow-boot
server: without the text 2/2 ended their turn before fetching the page;
with it 2/2 fetched it in the same turn.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ryush00 @claude
fix(server): finished delegates keep their process while the provider…
8a73efa
… reports background work

A finished delegate's process was released unless the projection's
pendingBackgroundTasks was non-empty. Only the Claude adapter fills that field,
so an Antigravity or other ACP child was detached about a second after its turn
ended, killing the dev servers and schedule timers it had started and leaving
them looking pending.

The release now also asks the live runtime, through the same
sessionHasBackgroundWork probe that provider switches and fresh sessions already
use, and keeps the session when it reports work.

Done with Claude Opus 5.5 in Claude Code.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ryush00 @claude
fix(antigravity): fall back to acp-mcp-call when single T3 tools are …
4412a15
…missing

Antigravity drops large t3-code schemas from its declarations, and the
cutoff can move after a resume or compaction. The model then saw most
T3 tools, decided the ACP fallback ("if the T3 tools are absent") did
not apply, and called Antigravity's generic call_mcp_tool, which
refuses t3-code tools ("tool preview_open is not enabled for server
t3-code"). The fallback now covers one missing tool and that rejection.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ryush00 @claude
fix(antigravity): threads resume when a timer wakes the agent
d5c48cb
An Antigravity thread that scheduled a 60 s check sat idle for seven
minutes and only showed the agent's two wake replies when the user asked
why it had stopped. agy 1.5.9 ends the prompt after `schedule`, runs the
wake in its native session, and sends no ACP frames until another prompt
reattaches the stream. Upstream's post-settle continuation (pingdotgg#38864,
pingdotgg#38916) only reacts to streamed frames, so nothing woke the thread. The
fork sync on 2026-11-19 dropped the wake watcher that covered this,
assuming upstream had replaced it.

Bring the watcher back. After a completed turn it polls the session's
native log for a wake step (101) with no reply after it, then queues a
message_text continuation whose prompt reattaches the stream. Upstream's
buffered continuation still wins when agy does stream, since only one
continuation can be requested at a time.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T10:57:33.669520Z d5c48cb PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ryush00
ryush00 force-pushed the fork branch 8 times, most recently from 357685f to 815b923 Compare November 22, 2026 11:10
@ryush00
ryush00 force-pushed the fork branch 12 times, most recently from cf2c143 to 9ea6ff0 Compare November 27, 2026 03:47
@ryush00

ryush00 commented Nov 27, 2026

Copy link
Copy Markdown
Owner Author

Superseded by upstream fixes for Antigravity scheduled/background wakes (pingdotgg#39806, pingdotgg#39989, pingdotgg#40858). Closing.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ryush00 ryush00 closed this Nov 27, 2026
@ryush00
ryush00 deleted the t3/fix-stuck-thread-until-prompted branch November 27, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@ryush00 @juliusmarminge @Kirat0201 @binjamshid @voltcrash @Rasalas
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.