Repository navigation
Keep Antigravity built-in skill files out of repositories - #37167
Conversation
|
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 4 minutes. View limit details
No actionable comments were generated in the recent review.
|
Review loop status: doneThe problem. Starting or resuming an Antigravity chat wrote The change users get. Orca now installs Antigravity server 1.4.1, which doesn't write that file. People who already have 1.4.3 see a visible Update button in Settings > Antigravity instead of an entry hidden in the "..." menu. Chats keep running in the workspace, so file and terminal tools work as before. Caveat (intended, matches the common pattern): existing installs keep creating the file until the user clicks Update. A chat that is already open keeps its current server until it ends. Orca never deletes What was reviewed and fixed
VerifiedReal QA on the M4Air (macOS arm64), with a signed-in Antigravity account. The same profile went from main to this branch:
Not verified
Deferred, already on main (for Brennan's list, not this PR)
For Brennan's reviewBefore (main), Update is hidden in the "..." menu: After (this PR), Update is a visible button: A chat created on 1.4.3, resumed on 1.4.1: A new chat on 1.4.1 in a plain folder: Places where judgment matters:
QA ran on head 568e3b7 (the PR's changes plus one main merge). The commits since then touch only tests: 2ab887a adds the recorded 1.4.1 options fixture and test, and ac1e137 fixes that test's type. |





ELI5
Starting or resuming an Antigravity chat in Orca created
skills/system/run-workflow/SKILL.mdinside the user's repository, and deleting it didn't help: it came back on the next chat. Orca doesn't write that file. The Antigravity server Orca downloads (version 1.4.3) writes it into the chat's folder as soon as a session starts, before the user asks for anything.What Changed
What users should know:
skills/files already in a repository, including ones the old server wrote.Why
Moving the server's working directory out of the workspace could stop file and terminal tools from working in it, so the fix picks a server release that doesn't write the file and keeps the working-directory contract. The version is fixed on purpose and doesn't change with Orca releases; the code comment says to check a newer release in an empty folder before moving it.
Intended: installed runtimes stay usable until the user explicitly updates or reinstalls; Orca doesn't silently replace an installed runtime or start a large download on its own. This is the common pattern for this runtime.
Intended: files already written stay on disk, because Orca can't safely treat a user's
skills/folder as disposable.Intended: a paired or SSH host running an older Orca keeps its own runtime version (old paired servers keep their launch path), so chats on that host keep creating the file until that host's Orca is updated and the user chooses Update there.
Intended: 1.4.1 still creates two empty folders,
.agents/skills/and.gemini/skills/, in the workspace when a new chat starts. They hold no files, andgit statusstays clean because git doesn't track empty folders (checked in an empty repo, a repo with commits, and a repo with its ownskills/). The common pattern runs this same 1.4.1 release in the workspace, so its users see the same folders.Linked Issue
Tracked in #37022. STA-13288.
Visual Proof
Settings, Antigravity row with an older runtime installed. Before (main), Update is only in the "..." menu:

After (this PR), Update is a visible button:

After clicking Update, the row is back to "Installed" with no button:

A chat created on 1.4.3, resumed on 1.4.1 after a restart, with its history and Effort choice intact:

A new chat on 1.4.1 in a plain folder, reading and writing files in the workspace:

Model and Effort choices on 1.4.1 match 1.4.3:

Testing
Real Antigravity on macOS arm64 (M4Air), signed in, same profile carried from main to this branch:
skills/system/run-workflow/SKILL.mdappears in an empty folder right after a session starts, before any prompt; a chat on main wrote it into a test repo.skills/and the file the old server wrote were left byte-for-byte unchanged.Risk
Level: Medium. This selects an older provider runtime. Existing chats resumed and workspace tools kept their working directory in real QA. No Orca saved-data or wire-format changes. Reverting restores the previous runtime version but can't remove files already written in a user's workspace.
Review
Full path: managed agent runtime lifecycle and provider-version change. Plan: select the compatible provider runtime and show the existing Update action for affected installations, keeping workspace tool execution and explicit installs.
Agent skill upstream boundary