feat(antigravity-cli): add .geminiignore ignore adapter - #1840
Merged
Conversation
Antigravity CLI is the successor to Gemini CLI and is built on the same engine, so it reads the project-root .geminiignore file. rulesync had no ignore adapter wired for antigravity-cli (the ignore processor only listed geminicli), so --features ignore emitted nothing for this target. Add AntigravityCliIgnore mirroring GeminiCliIgnore, register it in the ignore processor, add the gitignore entry, flip the README/docs ignore column to supported, and extend the E2E ignore matrix (generate/orphan/import). Part of #1820 (the root rules-file decision is left to the maintainer). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Owner
Author
|
@dyoshikawa Thank you! |
This was referenced Jul 31, 2026
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.
Summary
Adds an
ignoreadapter for theantigravity-clitarget. Antigravity CLI is the successor to Gemini CLI and is built on the same engine, so it reads the project-root.geminiignorefile (same conventions as.gitignore) to exclude files and directories from the agent's context. rulesync had no ignore adapter wired forantigravity-cli— the ignore processor only listedgeminicli— so--features ignoreemitted nothing for this target.This is the unambiguous, self-contained slice of #1820 that the maintainer flagged as able to "proceed independently". The other item in #1820 (the canonical root rules-file decision:
GEMINI.mdvs.antigravity.mdvsAGENTS.md) is a maintainer design call and is intentionally not addressed here, so this PR references the issue rather than closing it.Changes
src/features/ignore/antigravity-cli-ignore.ts(AntigravityCliIgnore), mirroringGeminiCliIgnoreand emitting project-root.geminiignore.antigravity-cliinignore-processor.ts(target list + factory map).**/.geminiignoreforantigravity-cliand regenerate.gitignore.ignorecolumn for Google Antigravity CLI to ✅ inREADME.mdanddocs/reference/supported-tools.md; note the shared.geminiignoreindocs/reference/file-formats.md(skill docs synced).Verification
pnpm cicheck(code + content) passes.antigravity-cli-ignore.test.tsand E2E ignore matrix pass.Scope
Project-scope only, consistent with the ignore feature (
IgnoreProcessorhas no global mode) and withgeminicli.Part of #1820
🤖 Generated with Claude Code