Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe runtime now detects prompt lines when the trimmed line starts with Merge Risk: ⚪ Minimal · up to This change broadens Antigravity readiness detection to support mode-specific prompts while preserving the existing validation gates and adding regression coverage. No actionable merge-blocking risk remains beyond normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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. Comment |
|
Thank you for tracking down the Antigravity 1.1.17 prompt change. The readiness rules in #24348 now accept the mode text after the caret, so this is covered and we're closing as superseded. |
ELI5
Antigravity CLI 1.1.17 no longer keeps its ready prompt as a bare
>. The text after>changes with the active mode — for example, Accept-edits and Plan. Orca only recognized the old bare prompt, so supervised workers timed out even though the terminal was ready. This keeps the existing banner/model gates and treats the leading>as the stable prompt marker.What Changed
>Antigravity ready prompt.>after the existing Antigravity banner and Gemini model checks.Why
findAntigravityReadyPromptIndex()required the trimmed prompt line to contain exactly one character. Antigravity 1.1.17 appends mode-dependent status text, sotui-idledid not resolve andworker-startfailed atagent_readiness.The mode label and description are not stable. The stable contract used here is the existing Antigravity banner, a Gemini model line, and a subsequent trimmed line beginning with
>.Linked Issue
Fixes #15838
Related but independent from #10740: that PR changes which Antigravity prompt occurrence wins after a dismissed startup modal. This PR changes which prompt shapes are recognized. Both touch the same matcher hunk, so a mechanical rebase may be required depending on merge order.
Visual Proof
N/A — this only changes runtime terminal-text readiness detection; there is no Orca UI change. The Accept-edits capture is attached to #15838; the follow-up Plan mode capture confirmed that the text after
>varies by mode.Testing
Red: with the Accept-edits-only implementation, Accept-edits passed while the Plan mode case failed with
Error: timeout.Green: both parameterized mode cases pass after matching the leading
>.14 passed: all current Antigravity tests inorca-runtime.test.ts.Oxlint passed for both changed files.
git diff --checkpassed.An earlier full
orca-runtime.test.tsrun completed 1180 tests and had 5 environment-bound failures (EPERMfor/tmporC:\tmp, plus an unrelated legacy runtime-graph timeout); the full file was not rerun after the mode follow-up.Node 24 typecheck passed on the original PR revision; the follow-up simplifies the same string predicate and was checked with Oxlint.
Dependency postinstall could not rebuild optional
windows-native-registrybecause Visual Studio Build Tools are not installed; fullpnpm buildwas not run.I manually tested these changes locally
Automated tests added/updated
AI Disclosure
OpenAI Codex was used for diagnosis, implementation, targeted verification, and independent Standards/Spec reviews.
Review
>contract and retains the Antigravity banner/model gates.>coverage still passes.Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Notes
The change is intentionally limited to the existing Antigravity ready-prompt predicate and its regression test. No launch command, PATH, permission setting, timeout, or orchestration lifecycle behavior changes.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)Author