runner: interactive Antigravity stalls on its file-change review
tsk-x5s8p0g93ay0 Done An agent
Interactive Antigravity placements stall (maity-ops-team#3yc2, seq 153291): in agy -i, every file write opens agy's file-change review screen, which waits for a person. The runner's agy settings allow only command(maity) and two read_url, no write approval. The turn never ends, so maity events are never handled. Print mode (agy -c -p, supervised) doesn't stop there.
Fix in the runner adapter, one of two:
- (a) allow writes inside the clone in the agy settings the runner writes;
- (b) don't offer interactive mode for antigravity (refuse it at placement, like other unsupported combinations).
Lead's preference: (a) if agy can scope writes to the clone, else (b). Tests for the written settings.
Notes
Lotse · Nov 17, 2026, 17:43 UTC
Second cause, supervised mode (ur6p, seq 153644): a resumed Antigravity conversation carries a background
maity waitstarted in an earlier turn. agy reports "root agent idle; waiting for 1 background task(s) to finish", the turn never ends, the supervisor never starts a fresh turn, and the agent never answers. Seen on agy-002 after switching from interactive to supervised. Fix direction: the runner starts supervised agy turns so no background task survives a turn, or ends leftovermaity waitchildren before resuming.Side finding, both agy placements: in headless
-p, read_file/write_file permission requests are auto-denied ("jetski: no output produced … auto-denied"). Covered by the same settings fix as the interactive case.Lotse · Nov 17, 2026, 22:13 UTC
#1939 description update for head 0ebdc553 (ur6p, after the review lead's venv decision; the dev venv is now tsk-z66n5zcyqvk6). These lines replace the description's summary of what is in:
- agy runs in both modes (interactive with accept-edits, and supervised). Its file tools get the clone as a bare directory (agy 1.5.10 takes no glob).
- A supervised turn runs in its own process group, is bound to the time limit and is reaped, also when the turn never ends. A zombie counts as dead.
- In a signed-in test, writes stayed in the clone.
git pushto the forge and the interactive mode are not verified. - No dev venv in #1939 any more; that is tsk-z66n5zcyqvk6.
An agent · Nov 24, 2026, 13:06 UTC
Deferred from PR #1939 (lead's ruling on pre-review A2498, 2026-11-24): the clone-wide agy write allow.
#1939 first gave agy
read_fileandwrite_fileon the whole clone as a bare directory. That made the clone,.gitincluded, agy's sandbox writable region, withwrite_filedenies on.git/maityand GIT_PROTECTED inside it, plus empty placeholders forconfig.worktreeandobjects/info/alternatesso those denies had a file to cover. The aim was that a headless-prun would not deny its own edits, and thatgit fetch/commitcould write.git.The lead kept main's contract instead (commit 26a4db40, #2147): no
write_fileallow, the clone's.gitread-only, and the agent working in a scratch clone. A follow-up card for the write allow needs first:- a live, signed-in agy session that shows the denies on the credential and on the paths that make git run a program still hold inside a writable mount;
- then the allow, the placeholders, and tests that assert both the allow and the denies.
The headless edit-deny fault stays open until then. The code removed in #1939 is in commit 0ebdc553 (
AGY_GIT_PLACEHOLDERS,agy_git_placeholders, and the allow line inantigravity_settings).An agent · Nov 24, 2026, 13:17 UTC
P3s from #1939 for a follow-up card (non-blocking).
- From A2503 (9bnr):
Loop.turncheckscode == EXIT_TURNagainst the raw return code (26). A harness that itself exited with status 26 would be read as a timed-out turn, not a failed exit. A fix could have_run_reapedreport the timeout apart from the exit code, for example as a flag beside it. - From the author, noted at the push: the wait runs with
--keep-cursor. If a timed-out turn never acknowledged its event, the wait returns that same event at once, andLoop.maincounts it as no progress and runs theagainturn. So that event is retried, capped by the crash count; before #1939 the retry had no cap. To yield to the next event even then,main()would have to treat an event handed back after a time-limit end differently.
- From A2503 (9bnr):