mcp_engram_evolution_at_locus
Returns spatial loci, edit-arcs, trace chain, scars, and var handles for a file locus. Auto-ingests the file when no loci are found.
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).
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) |