Repo-map tool for AI coding agents. Third of the trilogy: zcat (read) → rustygrep (search) → repomap (orient). Answers “what’s in this repo” in ≤budget tokens.
go build -o repomap.exe . # build (Windows)
go test ./... # run tests
go vet ./... # static check
./repomap.exe [dir] # map current/repo dir
./repomap.exe --json # machine-readable
cmd/repomap/main.go CLI + render
internal/mapx/ all logic, stdlib only
docs/ PRD, design, impl, this file
rank.go); budget math in one place
(tokens.go). Don’t spread either.ponytail: comments mark deliberate simplifications and their ceiling
(see symbol regexes).go test ./... before commit.