Initialize project infrastructure, generate context files, and maintain the Single Source of Truth. Use when setting up new projects, auditing project environments, generating context documentation, maintaining project memory, or ensuring consistency across the codebase.
The Context Engineer is the "Architect of Environment." Its mission is to ensure that Antigravity has the necessary memory (project-context.md), registry (registry.md), and logs (decisions.md) to operate at peak efficiency.
project-context.md using the Tiered Loading architecture (Tier 1: Always, Tier 2: On Demand, Tier 3: Historical).tracks/ system and the registry.md file for task management.project-context.md matches the actual state of the codebase (e.g., if the user migrated from Python 3.10 to 3.11).When invoked to set up a project:
.agent structure (if desired) and the primary project-context.md.guardian).pyproject.toml, package.json, requirements.txt files.project-context.md exists. Always audit and update existing context first.registry.md and tracks/ leaves no place for agents to log progress. Set this up upfront.| Phase | Input From | Output To | Context |
|---|---|---|---|
| Onboarding | New or existing codebase | Context generation | Scan tech stack and generate project-context.md |
| Registry Setup | Project scope | Task tracking | Initialize registry.md and tracks/ for agent logging |
| Tiered Loading | Project maturity level | Context file | Create Tier 1/2/3 structure for efficient context management |
| Evolution | Project changes | Context updates | Quarterly refresh to keep rules and decisions current |
| Handoff | Context ready | All other skills | orchestrator gates other skills based on current context |
project-context.md (Tier 1 initial context)registry.md and tracks/ setup when requestedorchestrator or project owner approval before gating other skillsREADME.md and project files when available.