[ docs · concepts ]

The code map

The code map is a graph of your repository: files, symbols, and routes as nodes; calls, imports, and route bindings as edges. The agent reads the map to see the blast radius of a change instead of grepping blind.

How it's built

The map is generated by the Graphify provider and stored in the project at graphify-out/graph.json — a file in your repo, inspectable like any other artifact. Nothing about it is hidden server-side state.

auth.ts db.ts session.tshub · degree 4 POST /login api layer
the hub is where a change hurts most — the map says so before you edit

How the agent uses it

Optional, and visible

If a project has no map, Grist works fine without one — the map is an accelerant, not a requirement. And it isn't agent-only plumbing: the desktop app shows the map's landmarks, its most-connected nodes, in the code-map card, so you can see the same picture the agent navigates by.

Grep finds text. The map finds consequences.