Project Map context - current code structure plus brain decisions
project_map_contextCombine current project graph evidence with KLYPIX brain cards to ground coding questions in code structure and project memory.
Instructions
Read-only combined context for a coding question. It queries a provider-neutral, bounded view of the generated project graph (Graphify graphify-out/graph.json is supported first) and places that CURRENT CODE evidence beside fast, correction-aware KLYPIX brain cards (decisions and rationale). KLYPIX never installs or runs Graphify and never copies graph nodes into brain.klypix. Missing graph artifacts degrade cleanly to brain-only context. Source-file anchors are accepted only when they stay inside the declared project root. Set deep_history:true only when superseded history is genuinely needed; the default never loads the local embedding model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | Maximum brain cards returned (default 8; fast mode caps 8, deep history caps 20). | |
| depth | No | Relationship hops around the best code matches (0-3, default 1). | |
| project | No | Absolute project root. Defaults to this MCP connection's configured project/vault. | |
| question | Yes | Question or code concept to ground in both current structure and project memory. | |
| max_nodes | No | Maximum code nodes returned (default 60, capped 200). | |
| compare_to | No | Optional project-relative prior graph JSON path. Adds exact total deltas plus bounded query-neighborhood changes; it may not escape the project root. | |
| graph_path | No | Optional project-relative graph JSON path. Defaults to graphify-out/graph.json and may not escape the project root. | |
| deep_history | No | false (default) uses the sub-second lexical-fast correction-aware path; true opts into whole-brain semantic/history retrieval, which may cold-load the local model. |