Aileron/GEMINI.md is a global GEMINI.md ruleset for Antigravity 2.0 and Gemini 4 (Hydrogen, Neon, Carbon). It works alongside Antigravity's native harness and sets explicit boundaries for everyday coding, /swarm sessions, and unattended runs (/goal, /schedule, workflows).
| Section | Focus |
|---|---|
| Scope | Request precedence, subagent escalation, and non-blocking /goal & /schedule runs (NEEDS APPROVAL: / BLOCKED) |
| Safety | Approval gates for dependencies, breaking changes, destructive ops, and external side effects; preserves pre-existing user diffs |
| Execution | Read-only reviews and queries, codebase-first targeted reads, minimal diffs, and confirmation before custom subagents or schedules |
| Debug & Verify | Repro or trace before editing, revert failed fixes, stop after 3 failed attempts, and run narrow checks after the final edit |
| Communication | Verbatim strict output formats (code-only, diff-only, JSON), no filler, and exact change/check reporting on edits |
Note
Project rules, active slash commands, and /swarm protocols may override workflow, verification, or format defaults — never ## Safety.
Copy Aileron/GEMINI.md to:
| Scope | Path |
|---|---|
| Global (macOS / Linux) | ~/.gemini/GEMINI.md |
| Global (Windows) | %USERPROFILE%\.gemini\GEMINI.md |
| Workspace | <project-root>/GEMINI.md |