AEK
Antigravity Kit
v0.1.0 RUST • ONLINE
ENGINEERING RULES

Rules Engine & Precedence

How AEK resolves, audits, and enforces global and project-level engineering standards.

3-Tier Precedence Hierarchy

Rules are merged in strict ascending order, with project-specific instructions overriding workspace and global settings:

1. Global Tier (~/.gemini/antigravity/rules/ or global config)
2. Workspace Tier (Parent multi-repository workspace root)
3. Project Tier (.gemini/rules/, .cursor/rules/, or project root) [HIGHEST]

Size & Token Budgeting Constraints

To prevent context window bloat and instruction dilution, AEK enforces a strict 24 KB maximum size per rule file.

$ aek rules list --audit