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
{{ message }}
Repository navigation
fix(agents): run managed Antigravity agents on the host's signed-in agy like chats - #45117
A managed agent set to Antigravity failed at setup with "Antigravity isn't installed on the computer running this chat", even when agy was installed and signed in.
Cause
Managed agents on Antigravity were forced onto Orca's own downloadable Antigravity server and never considered the host's agy, even though regular chats do. The agent picker offered Antigravity because that server can be installed on the platform. The launch then needed it to be already installed, and it usually wasn't, so it failed with runtimeNotInstalled.
The rule existed so managed agents would only run a server that accepts standing instructions. Two things already cover that: the host check for agy, and the launch handshake, which refuses any server that does not advertise systemPrompt.append.
Fix
Delete the managed-agent-only override. Managed agents now pick their Antigravity backend through the same account-home selection as chats: the host's signed-in, compatible agy first, otherwise Orca's server. The create/update refusal and the picker filter that came with the override are deleted too.
Verification
structured-session-account-home-bot.test.ts used to assert the bug (a managed agent's Antigravity chat never asks about the host's agy). It now asserts the managed agent launches on the host's signed-in agy. It failed before the fix and passes after.
Raw ACP session against host agy acp 1.5.13 with a managed-agent-style launch: the appended system prompt took effect, a stdio MCP tool and an HTTP MCP tool were both called, and a "reply NO_REPLY" instruction was followed.
pnpm tc, touched tests, oxlint/oxfmt, and the changed-code quality gate all pass.
No actionable comments were generated in the recent review.
Walkthrough
The change removes managed-runtime host-refusal checks from bot creation, updates, session starts, automation operations, and agent-choice filtering. Bot agent menus no longer include managed-runtime agent data. ACP host account-home selection no longer excludes bot requests based on managed-runtime requirements, and chat account-home resolution no longer passes a bot-specific option. Antigravity host compatibility checks now require system-prompt support. Tests remove refusal expectations and add coverage for resolving GEMINI_HOME from the host account home.
Merge Risk: Minimal · up to 9948a
Managed Antigravity agents now use the host's signed-in agy when it supports standing instructions, and otherwise fall back to Orca's server. No concrete merge-blocking risk was identified.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the fix (managed Antigravity agents run on the host's signed-in agy, matching chats). The raw summary confirms the change removes the managed-agent-only Antigravity override and uses t…
Description check
The description follows the template well. It explains the problem, cause, and fix in plain terms, and gives verification steps (the updated test, a raw ACP session against host agy 1.5.13, and the ch…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the fix (managed Antigravity agents run on the host's signed-in agy, matching chats). The raw summary confirms the change removes the managed-agent-only Antigravity override and uses the same account-home selection as chats, so the title matches the main change. It is specific, single-sentence, and uses the conventional fix(agents) prefix.
Full details: Description check
Explanation
The description follows the template well. It explains the problem, cause, and fix in plain terms, and gives verification steps (the updated test, a raw ACP session against host agy 1.5.13, and the checks that passed). It does not fill the template's ELI5, Linked Issue ("Fixes #" is blank), Visual Proof, Risk level, Testing checkboxes, or Review sections. The Linked Issue is required for outside contributors, and the Risk section should name the riskiest part and how to back it out. The Visual Proof section is also needed if the behavior change is user-visible, which it is (the picker and launch behavior change). These gaps are non-critical to the overall description but should be completed before merge.
Resolution
Fill in the Linked Issue (replace the blank "Fixes #" with an actual issue number). Add an ELI5 summary. Add a Visual Proof section with before/after evidence of the managed-agent launch, or write N/A with a reason. Set the Risk level and describe the riskiest part, including the revert path. Tick the Testing checkboxes and fill in the Review and Agent skill upstream boundary sections.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
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
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.
Problem
A managed agent set to Antigravity failed at setup with "Antigravity isn't installed on the computer running this chat", even when
agywas installed and signed in.Cause
Managed agents on Antigravity were forced onto Orca's own downloadable Antigravity server and never considered the host's
agy, even though regular chats do. The agent picker offered Antigravity because that server can be installed on the platform. The launch then needed it to be already installed, and it usually wasn't, so it failed withruntimeNotInstalled.The rule existed so managed agents would only run a server that accepts standing instructions. Two things already cover that: the host check for
agy, and the launch handshake, which refuses any server that does not advertisesystemPrompt.append.Fix
Delete the managed-agent-only override. Managed agents now pick their Antigravity backend through the same account-home selection as chats: the host's signed-in, compatible
agyfirst, otherwise Orca's server. The create/update refusal and the picker filter that came with the override are deleted too.Verification
structured-session-account-home-bot.test.tsused to assert the bug (a managed agent's Antigravity chat never asks about the host'sagy). It now asserts the managed agent launches on the host's signed-inagy. It failed before the fix and passes after.agy acp1.5.13 with a managed-agent-style launch: the appended system prompt took effect, a stdio MCP tool and an HTTP MCP tool were both called, and a "reply NO_REPLY" instruction was followed.pnpm tc, touched tests, oxlint/oxfmt, and the changed-code quality gate all pass.