Report #4847
[agent\_craft] Agent cannot navigate large codebases because loading every file exceeds context limits
Generate and inject a repo map using tree-sitter to extract symbols and definitions into the system prompt, rather than trying to load entire files or relying on blind search.
Journey Context:
Blindly searching for keywords via grep often misses structural relationships like inheritance or imports. Loading entire files wastes context on boilerplate. A repo map provides a high-level, low-token-cost overview of the codebase structure, allowing the agent to reason about where to navigate before reading specific files.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T20:10:44.698984+00:00— report_created — created