Repository navigation
Read an idle Antigravity composer above a custom statusLine - #38930
Merged
Merged
Conversation
A command statusLine replaces agy's '? for shortcuts' hint row, so the composer_ready rule never matched and readiness held whenever OSC 7501 could not decide (no fresh program status). Accept the composer when up to three status rows sit below it, no busy hint is among them, and no braille spinner row sits above it (agy's only turn marker in that layout). Fixes #34707 (STA-12555)
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 15 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
nwparker
added a commit
that referenced
this pull request
Nov 6, 2026
… hides the hint A command statusLine replaces agy's '? for shortcuts' row, so Continue in New Session waited the full 20s and pasted blind, and a CLI launch prompt burned 20s of its 60s. Also accept the rule / '>' / rule composer rows (the layout #38930 reads), still anchored to agy's own 2004h and revoked by the shell's 2004l. Checked against agy 1.5.2 captures: custom statusLine and default layouts fire; the trust dialog and signed-out startup do not.
nwparker
added a commit
that referenced
this pull request
Nov 6, 2026
… hides the hint A command statusLine replaces agy's '? for shortcuts' row, so Continue in New Session waited the full 20s and pasted blind, and a CLI launch prompt burned 20s of its 60s. Also accept the rule / '>' / rule composer rows (the layout #38930 reads), still anchored to agy's own 2004h and revoked by the shell's 2004l. Checked against agy 1.5.2 captures: custom statusLine and default layouts fire; the trust dialog and signed-out startup do not.
nwparker
added a commit
that referenced
this pull request
Nov 6, 2026
… hides the hint A command statusLine replaces agy's '? for shortcuts' row, so Continue in New Session waited the full 20s and pasted blind, and a CLI launch prompt burned 20s of its 60s. Also accept the rule / '>' / rule composer rows (the layout #38930 reads), still anchored to agy's own 2004h and revoked by the shell's 2004l. Checked against agy 1.5.2 captures: custom statusLine and default layouts fire; the trust dialog and signed-out startup do not.
nwparker
added a commit
that referenced
this pull request
Nov 6, 2026
… hides the hint A command statusLine replaces agy's '? for shortcuts' row, so Continue in New Session waited the full 20s and pasted blind, and a CLI launch prompt burned 20s of its 60s. Also accept the rule / '>' / rule composer rows (the layout #38930 reads), still anchored to agy's own 2004h and revoked by the shell's 2004l. Checked against agy 1.5.2 captures: custom statusLine and default layouts fire; the trust dialog and signed-out startup do not.
nwparker
added a commit
that referenced
this pull request
Nov 6, 2026
… context (#38939) * fix(antigravity): wait for agy's composer before pasting continuation context The renderer's paste gate armed its 1.5s quiet window on any bracketed-paste enable, including the launching shell's own prompt, so a slow agy start received the handoff in cooked mode before its TUI ran. Wait for agy's '? for shortcuts' composer row while agy holds bracketed paste instead. * fix(antigravity): accept agy's composer rows when a custom statusLine hides the hint A command statusLine replaces agy's '? for shortcuts' row, so Continue in New Session waited the full 20s and pasted blind, and a CLI launch prompt burned 20s of its 60s. Also accept the rule / '>' / rule composer rows (the layout #38930 reads), still anchored to agy's own 2004h and revoked by the shell's 2004l. Checked against agy 1.5.2 captures: custom statusLine and default layouts fire; the trust dialog and signed-out startup do not. * fix(antigravity): offer back pre-ready typed text the composer wait drops; move scanner tests The agy composer wait has no quiet fallback, so a slow start now hits the 20s timeout and drops held type-ahead. The drop notice now carries a Copy action with the typed text, and still shows when the user switched worktrees, so it is never lost silently. Move the composer-rows scanner cases into draft-paste-ready-scanner.test.ts since main removed antigravity-readiness-transcripts.test.ts (#38973). * chore(plugins): regenerate declarative testing bundle for antigravity config change
This was referenced Nov 6, 2026
Closed
nwparker
added a commit
that referenced
this pull request
Nov 7, 2026
#39296) A draft such as `dark mode: fix the toggle`, or agy's plan placeholder typed verbatim, matches the composer caret row's edit-mode alternative. agy hides `? for shortcuts` while the composer holds text, so composer_ready refused, but composer_ready_custom_status_line (#38930) took agy's own `[mode · ]model · effort` footer for a custom status row and answered idle. Orca would then paste into the operator's unsent text. Status rows may no longer be agy's built-in footer. The captured agy 1.2.7 screen of the plan placeholder typed as a draft comes from #23402. Split from #23402. Co-authored-by: seonghobae <[email protected]>
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changes for users
An Antigravity (
agy) pane with a customstatusLinenow reads as idle at its composer even when Orca has no fresh OSC 7501 status from agy. Before,tui-idleheld forever in that case. That affected worker-start readiness,orca terminal wait --for tui-idleand orchestration mail delivery.Cause
The
composer_readyrule needs agy's bottom four rows to be───/>/───/? for shortcuts. A commandstatusLinereplaces the hint row with its own output, so onlycomposer_not_shown(hold) matched.The reporter can no longer reproduce this on recent builds. agy now reports
state=idleover OSC 7501, and Orca ranks that above screen rules. The screen rule still decides wherever that report is missing or stale, though: older agy, or an agy that has been idle longer than the 30-minute first-party status freshness window, because agy sends idle only once. There it still held forever.Fix
Add a
composer_ready_custom_status_linerule toantigravity.json, priority 400, belowcomposer_ready. It matches when:───/>or edit-mode caret /───) is followed by one to three status rows,──run,esc to cancelorfor shortcuts, andCaptured from real agy 1.5.2 with
--settings '{"statusLine":{…}}'(session-only; no user settings touched):… / ─── / > / ─── / · Gemini · idle / · capture⣷ Generating... / ─── / > / ─── / · Gemini · idle / · capture. The spinner row is the only busy marker, as the reporter described. The status line's own text can be stale.The default layout is unchanged: its busy hint row contains
esc to cancel, so it can never match the new rule. The rule is alsorequiresQuiet, likecomposer_ready.Verification
agent-state-rulessuites: 116/116 pass, including new cases built from the captured idle, mid-turn and picker screens. The existingesc to cancelhold case still holds.antigravity-readiness-transcripts(recorded agy 1.2.14 bytes, including the garbled-grid "never reads ready" cases): pass. A first draft of the rule failed the garbled-grid draft case, and the status-row test was tightened to refuse any──run or hint text.pnpm check:changed: 21 of 22 checks pass. The unit-test check failed only in unrelated suites on this heavily shared machine: cross-version harness lock contention, long-poll keepalive timing, and a chat lease-renewal warning under load.Fixes #34707 (STA-12555)