Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Follow up Google Antigravity CLI upstream updates: root AGENTS.md rules and .geminiignore #1820

Open
Labels
considering enhancementNew feature or request maintainer-scrapRough notes for AI implementation. Not for human eyes.

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

Gaps

  • rules — CLI reads AGENTS.md at root; rulesync writes only GEMINI.md. The agy CLI parses both GEMINI.md and AGENTS.md as workspace-root context/rules files (and ~/.gemini/GEMINI.md globally). The official migration guide and hands-on guides describe AGENTS.md as the root instruction file for the CLI. src/features/rules/antigravity-cli-rule.ts writes the root rule only to GEMINI.md (project + ~/.gemini/GEMINI.md global); non-root to .agents/rules/*.md. No AGENTS.md emission. rulesync side: rules — no root AGENTS.md output.

  • ignore — no antigravity-cli ignore adapter. The Antigravity agent honors .geminiignore for file-discovery exclusion (inherited from the Gemini CLI lineage). No antigravity* adapter exists under src/features/ignore/; the dry-run reports Target 'antigravity-cli' does not support the feature 'ignore'. A geminicli-ignore.ts exists but is not wired to the antigravity targets. (Secondary: v1.0.4 added a rules.json discovery filter — lower priority, confirm schema before generating.) rulesync side: ignore unsupported.

Proposed Follow-up

  • Decide the CLI's canonical root file (AGENTS.md cross-tool standard vs GEMINI.md); consider switching antigravity-cli root output to AGENTS.md or emitting both. Verify against the live agy context loading before changing the default.
  • Add an antigravity-cli ignore adapter emitting .geminiignore (likely reusable from geminicli-ignore.ts). Track rules.json as a secondary surface pending an official schema.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    considering enhancementNew feature or request maintainer-scrapRough notes for AI implementation. Not for human eyes.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /