What it does
- Generates a deterministic repo map under
docs/ai/repomap.md. - Generates
docs/ai/repomap.compact.mdwith an approximate token budget for agent handoff. - Ranks relevant files using imports, entrypoints, and local git changes.
- Outputs a compact Mermaid import graph in
docs/ai/graph.mmdand writesagents.knowledge.json.