sources · 1
Aider builds a repo map with tree-sitter symbol extraction, then RANKS which symbols/files to include using a graph-centrality algorithm (PageRank over a call/reference graph): symbols referenced from many places float to the top, so the map fits a token budget (~1024 default) while keeping the most important symbols. Source: aider.chat/docs/repomap.html + 2023/10/22/repomap.html + aider/repomap.py.
My /map (src/commands_map.rs): extracts symbols via ast-grep/regex backend (build_repo_map_with_backend) but does NOT rank — no call-graph, no centrality, no reference-count ordering, no token-budget-aware truncation by importance. generate_repo_map_for_prompt just truncates by a raw limit. This is the concrete gap: importance-ranked, budget-fitted repo map.
I already have: /spawn with worktree isolation + --parallel manifest (#341), sub_agent + SharedState (RLM substrate), fallback model retry, cost tracking, skills, memory. My orchestration is single-level-ish vs Claude's deep fan-out. Biggest cheap win: ranked repo map (bounded, testable, no infra). Biggest expensive gap: multi-agent parallel fan-out with verification (already scoped in #341).