Add Antigravity 2 Support#281
Conversation
|
Too many files changed for review. ( |
| @@ -21,6 +21,7 @@ concurrency: | |||
|
|
|||
| env: | |||
| GENERATED_PATHS: >- | |||
| .agent | |||
There was a problem hiding this comment.
CI omits generated agent path
Medium Severity
The sync workflow now regenerates and commits .agent, but the CI “Verify generated tracked outputs” step never runs git diff on .agent. Pull requests can pass while .agent/skills/impeccable is out of date with bun run build, unlike .agents, .claude, and the other checked paths.
Reviewed by Cursor Bugbot for commit 47322cb. Configure here.
There was a problem hiding this comment.
As far as I understand, .agent was a symptom of a bigger gap: the verify step's been a no-op since the build was split source-first/release in 972f5b1 (nothing in that CI job touched the root harness dirs at all). Fixed in 285b11a: Build step now runs build:release, and the path list matches GENERATED_PATHS in full.
bun run build:release had only partially regenerated the already-tracked provider pin.mjs files after the .agent HARNESS_DIRS addition; this finishes that sync so all provider copies agree with skill/scripts/pin.mjs. Also fixes ci.yml's "Verify generated tracked outputs" step, which has been a no-op since 972f5b1 switched the Build step to source-first (skip-root-sync): nothing in that job touched the checked-out root harness dirs, so the git diff check could never fail. Points the Build step at build:release and brings the path list in line with sync-generated-output.yml's GENERATED_PATHS (adds .agent, .kiro, .opencode, .pi, .qoder, .rovodev, .trae, .trae-cn, which were all missing). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 285b11a. Configure here.
|
|
||
| You MUST do these steps before proceeding: | ||
|
|
||
| 1. Run `node .agent/skills/impeccable/scripts/context.mjs` once per session. If you've already seen its output in this conversation, do not re-run it. The script either prints the project's PRODUCT.md (and DESIGN.md when present) as a markdown block, or tells you it's missing. Follow whatever it prints. **If it reports `NO_PRODUCT_MD`, stop and follow `reference/init.md` before doing anything else.** If the output ends with an `UPDATE_AVAILABLE` directive, follow it (ask the user once about updating, then continue). It never blocks the current task. |
There was a problem hiding this comment.
Allowed tools block setup scripts
High Severity
Antigravity’s generated skill frontmatter restricts tools to Bash(npx impeccable *), but mandatory setup and routing tell the agent to run bundled helpers via node .agent/skills/impeccable/scripts/*.mjs. If Antigravity enforces allowed-tools, those required steps cannot run and the skill breaks at session start.
Reviewed by Cursor Bugbot for commit 285b11a. Configure here.
|
Thanks for this! It would be great if you could fix or dismiss (in case of false positives) the code review. I'll take a look afterwards. |


Summary
Adds Antigravity 2.0 (https://antigravity.google) as a 14th first-class harness alongside Cursor, Claude Code, Gemini, Codex, Copilot, Kiro, OpenCode, Pi, Qoder, Trae, Trae China, and Rovo Dev.
Antigravity ships a documented Agent Skills system at
.agent/skills/{name}/SKILL.md(per https://antigravity.google/docs/skills), so it slots onto the existing transformer pipeline. We target the legacy.agent/singular path rather than.agents/(Antigravity's stated current default) deliberately:.agents/skills/impeccable/is already Codex-flavored content owned by the existingagentsprovider (GPT naming,$-prefixed commands baked into the body), and reusing it would clobber that output. Seedocs/HARNESSES.md's Skill Directory Structure section for the full trade-off.Antigravity Workflows (
.agent/workflows/, description-only frontmatter, slash-invoked saved prompts run in the main thread) aren't an equivalent to Claude's isolated, tool-restricted subagent dispatch, so no workflow file is generated formanual-edit-applier; Antigravity ships skills only for now.Fixes #51
Type of change
What changed
scripts/lib/utils.js-antigravityadded toPROVIDER_PLACEHOLDERS.scripts/lib/transformers/providers.js-antigravityprovider entry:configDir: '.agent', spec-standardfrontmatterFields(license,compatibility,metadata,allowed-tools) per Antigravity's own documented field constraints.cli/bin/commands/skills.mjs-.agentadded toPROVIDER_DIRS/PROVIDER_ALIASES/PROVIDER_DISPLAY/PROVIDER_INPUT_ORDER; threeGLOBAL_HARNESS_HINTSentries for Antigravity's nested global homes (~/.gemini/antigravity{,-cli,-ide}).cli/lib/download-providers.js-.agentadded to the file-download allowlist.skill/scripts/pin.mjs-.agentadded toHARNESS_DIRS..github/workflows/sync-generated-output.yml-.agentadded toGENERATED_PATHSso futureskill/**changes keep this harness in sync post-merge.docs/HARNESSES.md- Antigravity added to all relevant tables, including confirmed (not TBD) support forlicense/compatibility/metadata/allowed-toolsper Antigravity's own spec docs.README.md,AGENTS.md,docs/DEVELOP.md,.github/ISSUE_TEMPLATE/feature_request.md,.github/PULL_REQUEST_TEMPLATE.md- Antigravity added to provider lists/checklists..agent/skills/impeccable/- full skill tree (SKILL.md, 28 reference files, 64 scripts) committed, matching how other harness output dirs are tracked.Checklist
source/bun run buildran successfullybun testpassesNote
Low Risk
Changes are additive harness/build and committed generated assets; no auth, data, or production runtime paths. Main risk is maintainability from a large synced tree and path confusion between
.agentand.agents.Overview
Adds Antigravity 2.0 as a first-class harness so Impeccable installs under
.agent/skills/impeccable/, matching Antigravity’s Agent Skills layout while deliberately avoiding.agents/(already used for Codex-flavored output).The build and distribution path is extended: an
antigravityprovider in the transformer pipeline, CLIskills/ download /pinwiring, sync workflow coverage, and docs/README/checklist updates. The PR commits the generated skill tree (SKILL.md, reference command docs, scripts) like other harness output dirs.Antigravity Workflows are not generated for flows that depend on isolated subagent dispatch (e.g. manual-edit-applier); this harness ships skills only for now.
Reviewed by Cursor Bugbot for commit 285b11a. Bugbot is set up for automated code reviews on this repo. Configure here.