Skip to content

feat(antigravity-cli): add .geminiignore ignore adapter - #1840

Merged
dyoshikawa merged 1 commit into
mainfrom
resolve-scrap-issue-1820-antigravity-cli-ignore
Jun 10, 2026
Merged

feat(antigravity-cli): add .geminiignore ignore adapter#1840
dyoshikawa merged 1 commit into
mainfrom
resolve-scrap-issue-1820-antigravity-cli-ignore

Conversation

@dyoshikawa

Copy link
Copy Markdown
Owner

Summary

Adds an ignore adapter for the antigravity-cli target. Antigravity CLI is the successor to Gemini CLI and is built on the same engine, so it reads the project-root .geminiignore file (same conventions as .gitignore) to exclude files and directories from the agent's context. rulesync had no ignore adapter wired for antigravity-cli — the ignore processor only listed geminicli — so --features ignore emitted 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.md vs .antigravity.md vs AGENTS.md) is a maintainer design call and is intentionally not addressed here, so this PR references the issue rather than closing it.

Changes

  • Add src/features/ignore/antigravity-cli-ignore.ts (AntigravityCliIgnore), mirroring GeminiCliIgnore and emitting project-root .geminiignore.
  • Register antigravity-cli in ignore-processor.ts (target list + factory map).
  • Add the gitignore entry **/.geminiignore for antigravity-cli and regenerate .gitignore.
  • Flip the ignore column for Google Antigravity CLI to ✅ in README.md and docs/reference/supported-tools.md; note the shared .geminiignore in docs/reference/file-formats.md (skill docs synced).
  • Extend the E2E ignore matrix (generate / orphan-delete / import) and unit tests.

Verification

  • pnpm cicheck (code + content) passes.
  • New unit test antigravity-cli-ignore.test.ts and E2E ignore matrix pass.

Scope

Project-scope only, consistent with the ignore feature (IgnoreProcessor has no global mode) and with geminicli.

Part of #1820

🤖 Generated with Claude Code

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>
@dyoshikawa
dyoshikawa merged commit 6c54ccc into main Jun 10, 2026
9 checks passed
@dyoshikawa
dyoshikawa deleted the resolve-scrap-issue-1820-antigravity-cli-ignore branch June 10, 2026 23:22
@dyoshikawa

Copy link
Copy Markdown
Owner Author

@dyoshikawa Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants