Repository navigation
feat(install): add antigravity and grok harness targets - #36
Merged
Merged
Conversation
Antigravity (agy) reads user skills only from ~/.gemini/antigravity-cli/skills and ~/.gemini/config/skills, so it gets its own non-shared target. Grok reads ~/.agents/skills, so it joins the shared copy used by Codex, OpenCode and pi. Both CLIs take the prompt as the value of a flag (agy --print, grok --single), so the runtime schema gains optional promptArgs that run-role places directly before the prompt. Read-only args: agy --mode plan (mode level only), grok --tools read_file,list_dir,grep plus --disallowed-tools search_tool,use_tool. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Problem
mstack could not install into Antigravity (
agy) or Grok, two providers T3 Code runs. Antigravity reads user skills only from~/.gemini/antigravity-cli/skillsand~/.gemini/config/skills, never~/.agents/skills. Grok reads~/.agents/skills, so it should reuse the shared copy.Solution
antigravity(own root,HARNESS_SKILLS_ANTIGRAVITY_DIR) andgrok(shared copy,HARNESS_SKILLS_GROK_DIR) toprofiles/harnesses.json, with empty adapters because the canonical skills already carryname. Cursor already reads~/.agents/skills, so it gets a docs note only.agy --print,grok --single), so--modelplaced before the prompt was swallowed as the prompt. The runtime schema gains optionalpromptArgs, whichrun-roleplaces directly before the prompt.--tools read_file,list_dir,grep --disallowed-tools search_tool,use_tool(CLI-enforced; a shell-write prompt had no shell tool, and the tool list showed only those three). Antigravity uses--mode plan, which is mode-level only: it left the workspace untouched but still wrote its own plan file under~/.gemini/antigravity-cli/. README documents this limit next to OpenCode's.models.example.json,environments.example.json, README anddocs/harness-adapters.md(Grok, Antigravity and Cursor rows with sources).profiles/upstreams.jsonanddocs/guide/01-setup.mdstill say<codex|claude|opencode|pi>. They are hash-gated byupstream-manifest.json.agydiscovers agent files in~/.gemini/antigravity-cli/agents. The README says so.Verification
npm test: 298 pass, 0 fail.npm run check-packagepasses.HARNESS_SKILLS_*env vars so they never write to the real home. New coverage: default and overridden roots, shared Grok copy vs separate Antigravity copy, artifact roots, andrun-roleargument order.run-role --read-only --executeandsmoke-harnesses --executepassed foragy1.2.17 (--model gemini-3.8-flash-medium) andgrok1.0.46 (--model grok-4.5), including a file read under the read-only args.Model: Claude Sonnet 5.5
Harness: Claude Code
🤖 Generated with Claude Code