Repository navigation
fix(server): Antigravity threads follow the user's global rules in ~/.gemini/config #40167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
defd08e
a79c7a7
1faaa6e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -107,6 +107,12 @@ on its own; to share a folder like that one, list it in `~/.gemini/config/skills | |
| (or a project's `.agents/skills.json`), and T3 Code shows the skills it declares, | ||
| honoring `inherits`, `include_only`, and `exclude`. | ||
|
|
||
| Antigravity threads follow the same global rules as the CLI: `~/.gemini/AGENTS.md`, | ||
| `~/.gemini/GEMINI.md`, `~/.gemini/config/AGENTS.md`, `~/.gemini/config/GEMINI.md`, | ||
| `~/.gemini/config/rules.json`, and the `~/.gemini/config/rules` folder. On Windows, | ||
| T3 Code copies the rule files when a session starts, so an edit to one applies from | ||
| the next session. | ||
|
Comment on lines
+113
to
+114
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Explain when a Windows copy stops updating. If a profile copy is edited, T3 Code preserves it and stops tracking it. Later edits to the global file then do not apply to that profile in the next session. Note this exception so users can diagnose stale rules. As per coding guidelines, user documentation should explain “anything unintuitive.”
|
||
|
|
||
| Antigravity receives images and audio directly, and reads PDFs and text files as | ||
| documents. Other attachments, including videos, are passed as a saved file path for | ||
| the agent to inspect with its tools. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use a link-aware check for the removal assertions.
fs.existsfollows symlinks. A dangling symlink therefore reportsfalse, so lines 754-755 also pass when cleanup leavesconfig/rulesorconfig/rules.jsonbehind as a broken link. Assert that these two paths are absent without following the link, for example by checking thatfs.lstatorfs.readLinkfails for each path.Source: Path instructions