Context
The Antigravity IDE baseline system prompt is a multi-hundred-line XML document that often overrides local project rules. It injects generic <web_application_development> rules, leading to behaviors that conflict with the Neo.mjs architectural constraints (e.g., using bundlers, Next.js, or committing directly to dev).
The Problem
A simple paragraph-based override in the .agents/ANTIGRAVITY_RULES.md file is insufficient ("a grain of sand in the desert"). The IDE's pervasive system prompt fights for control, causing agents to forget the Neo.mjs paradigm and violate strict zero-tolerance git workflows.
The Architectural Reality
The host IDE's attention mechanism assigns higher token-weight priority to XML-structured blocks like <user_rules>. To suppress the default behavior, the local rules in .agents/ANTIGRAVITY_RULES.md must be structurally hardened using the same XML schema.
The Fix
Implement a "System Prompt Firewall" by wrapping the overriding instructions in .agents/ANTIGRAVITY_RULES.md with <user_rules> XML tags. This will effectively neutralize the unsolicited <web_application_development> prompts and establish the Triad Swarm's cognitive baseline as the absolute authority.
Acceptance Criteria
Origin Session ID
ab7fe770-5736-4c7c-8974-828d8ae76bef
Context
The Antigravity IDE baseline system prompt is a multi-hundred-line XML document that often overrides local project rules. It injects generic
<web_application_development>rules, leading to behaviors that conflict with the Neo.mjs architectural constraints (e.g., using bundlers, Next.js, or committing directly todev).The Problem
A simple paragraph-based override in the
.agents/ANTIGRAVITY_RULES.mdfile is insufficient ("a grain of sand in the desert"). The IDE's pervasive system prompt fights for control, causing agents to forget the Neo.mjs paradigm and violate strict zero-tolerance git workflows.The Architectural Reality
The host IDE's attention mechanism assigns higher token-weight priority to XML-structured blocks like
<user_rules>. To suppress the default behavior, the local rules in.agents/ANTIGRAVITY_RULES.mdmust be structurally hardened using the same XML schema.The Fix
Implement a "System Prompt Firewall" by wrapping the overriding instructions in
.agents/ANTIGRAVITY_RULES.mdwith<user_rules>XML tags. This will effectively neutralize the unsolicited<web_application_development>prompts and establish the Triad Swarm's cognitive baseline as the absolute authority.Acceptance Criteria
.agents/ANTIGRAVITY_RULES.mdis updated to encapsulate all directives within<user_rules>tags.dev/mainand using Next.js/Vite/Tailwind.Origin Session ID
ab7fe770-5736-4c7c-8974-828d8ae76bef