mcp_engram_evolution_at_locus
Get complete evolution context for a file locus, returning spatial loci, edit arcs, trace chains, scars, and variable handles. Automatically ingests files when no spatial match exists.
Instructions
Code atlas v2 — bounded evolution bundle at a file locus. Returns loci (spatial concepts in range), arcs (edit-arc provlog segments with --- update @ --- markers), trace_chain (prev_in_trace walk from traces_at_locus head), scars_at_locus, latest chain_summary tile, and var_handles for program trace context. Auto-ingests single file when loci empty (same resolution as context_for_edit; safe on large stores via bounded stem prefix + force_ingest).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "mcp_engram_evolution_at_locus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative file path | |
| line_end | No | Optional end line for spatial AABB filter (1-based) | |
| line_start | No | Optional start line for spatial AABB filter (1-based) | |
| auto_ingest | No | If true (default), force-ingest this file when no spatial loci match | |
| trace_depth | No | Max prev_in_trace hops from traces_at_locus head (default 6) | |
| preview_chars | No | Max chars per arc segment preview (default 200) |