🧠 Semantic Memory Assimilation (V3.1 Skill)
Directive: Do not guess the structure of the user's project. Do not assume file locations. Read the dynamically generated memory.
When analyzing a codebase, you must pull your context directly from the V3 AST-aware sync outputs located in paths.memory (memory/global/).
1. Context Acquisition Targets
Before planning any architectural or coding task, check these ground-truth files:
architecture.md: Contains the physical directory layout, framework detection results, and language-specific Lines of Code (LOC) counts.api-contracts.md: Contains exactly which routes (Express, Next.js, FastAPI, etc.) are physically registered in the AST.dependencies.md: Contains the exhaustive list of production packages and their exact verified versions frompackage.json,requirements.txt, orCargo.toml.
2. Hallucination Prevention
- Never assume a route exists just because the user asks about it. Verify it against
api-contracts.md. - Never suggest installing a package before checking
dependencies.mdto see if it (or an equivalent) is already installed. - Always reference the specific framework versions (e.g., "Since
architecture.mdshows Next.js 14, we will use App Router").
3. Integration with the Antigravity Baseline
Combine this memory assimilation with the @Antigravity-Directive.md:
- Read AST memory.
- Formulate a Tree-of-Thought plan based only on the registered facts.
- Yield execution back to the IDE AI (Cursor/Copilot) via MCP.