-
-
Notifications
You must be signed in to change notification settings - Fork 125
Follow up Google Antigravity CLI upstream updates: root AGENTS.md rules and .geminiignore #1820
Description
Summary
The Antigravity CLI (agy) reads a project-root AGENTS.md as its canonical rules/context file and honors .geminiignore for file-discovery exclusion, but rulesync's antigravity-cli target writes rules only to GEMINI.md and has no ignore adapter at all.
Recent Releases
- Antigravity CLI CHANGELOG: https://github.com/google-antigravity/antigravity-cli/blob/main/CHANGELOG.md (v1.0.0 → v1.0.7)
- Migration guide: https://antigravity.google/docs/gcli-migration
- Rules & workflows docs: https://antigravity.google/docs/rules-workflows
Gaps
-
rules — CLI reads
AGENTS.mdat root; rulesync writes onlyGEMINI.md. TheagyCLI parses bothGEMINI.mdandAGENTS.mdas workspace-root context/rules files (and~/.gemini/GEMINI.mdglobally). The official migration guide and hands-on guides describeAGENTS.mdas the root instruction file for the CLI.src/features/rules/antigravity-cli-rule.tswrites the root rule only toGEMINI.md(project +~/.gemini/GEMINI.mdglobal); non-root to.agents/rules/*.md. NoAGENTS.mdemission. rulesync side: rules — no rootAGENTS.mdoutput. -
ignore — no
antigravity-cliignore adapter. The Antigravity agent honors.geminiignorefor file-discovery exclusion (inherited from the Gemini CLI lineage). Noantigravity*adapter exists undersrc/features/ignore/; the dry-run reportsTarget 'antigravity-cli' does not support the feature 'ignore'. Ageminicli-ignore.tsexists but is not wired to the antigravity targets. (Secondary: v1.0.4 added arules.jsondiscovery filter — lower priority, confirm schema before generating.) rulesync side: ignoreunsupported.
Proposed Follow-up
- Decide the CLI's canonical root file (
AGENTS.mdcross-tool standard vsGEMINI.md); consider switchingantigravity-cliroot output toAGENTS.mdor emitting both. Verify against the liveagycontext loading before changing the default. - Add an
antigravity-cliignore adapter emitting.geminiignore(likely reusable fromgeminicli-ignore.ts). Trackrules.jsonas a secondary surface pending an official schema.
References
- https://github.com/google-antigravity/antigravity-cli/blob/main/CHANGELOG.md — v1.0.4
rules.jsonfilter, v1.0.5 mcp url support. - https://antigravity.google/docs/gcli-migration —
AGENTS.mdas CLI root instruction file. - Agent tool list_dir ignores .geminiignore rules in Antigravity google-gemini/gemini-cli#14546 —
.geminiignorebehavior in the Gemini/Antigravity lineage.