You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This tracks codev's consult integration with the agy CLI. The empty-output root cause is an open upstream agy bug (google-antigravity/antigravity-cli#76); codev cannot fix that directly, but it can work around it and stop misreporting it.
Root cause (upstream, not codev)
google-antigravity/antigravity-cli#76 — agy --print / -psilently drops stdout when stdout is not a TTY (pipe, redirect, subprocess): exit 0, no stderr, a full model round-trip but zero output. consult spawns agy with piped stdout (spawn(bin, args, { stdio: ['ignore', 'pipe', 'pipe'] }), consult/index.ts:814), so it hits this on every run, and the empty output is then treated as a non-blocking skip.
Status: open (filed 2026-05-21), no maintainer fix.
Reproduced here on agy 1.0.6 / macOS (the issue was first filed against 1.0.0 / Windows), so it is cross-platform and persists across versions.
agy 1.0.6 has no --output / --format flag (only --log-file); issue Update projectlist: mark spec 0042 as committed #76 requests --output <path>, --format json, or unconditional stdout flush, none shipped yet.
Correction to the earlier hypothesis:--sandbox is not the cause. Every empty reproduction was piped / captured (non-TTY), which is #76, independent of --sandbox. (The separate browser/key popup some runs trigger is agy's re-auth flow, not the empty-output cause.)
Codev-ownable slice
Misleading diagnosis. The skip message says "agy not authenticated / install the CLI" when the real cause is the non-TTY stdout drop and auth is fine. Fix agySkipContent to name the likely cause (and link Update projectlist: mark spec 0042 as committed #76).
Silent degradation. A 3-way consult quietly becomes 2-way (Codex + Claude) with no loud signal (consult/index.ts:858-874). Surface the dropped lane so it is not mistaken for a full 3-way.
agy --print --sandbox "Reply with exactly: PONG" and agy --print "..." (no sandbox), both piped/captured → empty (~4-5s), reproduced on two machines (a builder worktree and the architect's main checkout).
Scope
This tracks codev's
consultintegration with the agy CLI. The empty-output root cause is an open upstream agy bug (google-antigravity/antigravity-cli#76); codev cannot fix that directly, but it can work around it and stop misreporting it.Root cause (upstream, not codev)
google-antigravity/antigravity-cli#76 —
agy --print/-psilently drops stdout when stdout is not a TTY (pipe, redirect, subprocess): exit 0, no stderr, a full model round-trip but zero output. consult spawns agy with piped stdout (spawn(bin, args, { stdio: ['ignore', 'pipe', 'pipe'] }),consult/index.ts:814), so it hits this on every run, and the empty output is then treated as a non-blocking skip.--output/--formatflag (only--log-file); issue Update projectlist: mark spec 0042 as committed #76 requests--output <path>,--format json, or unconditional stdout flush, none shipped yet.Correction to the earlier hypothesis:
--sandboxis not the cause. Every empty reproduction was piped / captured (non-TTY), which is #76, independent of--sandbox. (The separate browser/key popup some runs trigger is agy's re-auth flow, not the empty-output cause.)Codev-ownable slice
agySkipContentto name the likely cause (and link Update projectlist: mark spec 0042 as committed #76).consult/index.ts:858-874). Surface the dropped lane so it is not mistaken for a full 3-way.--output/--formatonce upstream ships it. Track Update projectlist: mark spec 0042 as committed #76 as the dependency.Evidence
agy -p "say hi"→ real response (auth is fine).agy --print --sandbox "Reply with exactly: PONG"andagy --print "..."(no sandbox), both piped/captured → empty (~4-5s), reproduced on two machines (a builder worktree and the architect's main checkout).Upstream (not codev)
The real fix is google-antigravity/antigravity-cli#76. Not codev's to fix; codev tracks it and works around it. Related: google-antigravity/antigravity-cli#115, google-gemini/gemini-cli#27466.
References
packages/codev/src/commands/consult/index.ts:814(piped spawn),:803(--sandbox),:858-874(skip handling),:628-629(timeouts),agySkipContent(skip message).