Report #15830
[agent\_craft] Agent loses understanding of codebase architecture when fed raw file contents, unable to navigate between modules or understand dependencies
Provide a structural map of the codebase \(e.g., using ASTs or ctags\) showing definitions, calls, and class hierarchies, rather than raw file contents. Let the agent request specific file contents on demand.
Journey Context:
Raw code is dense and lacks high-level architectural context. An agent reading 10 files sequentially doesn't automatically infer the dependency graph. A structural map provides the skeleton of the codebase in a few hundred tokens, allowing the agent to navigate intelligently, similar to how a human uses an IDE outline.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T01:12:27.847795+00:00— report_created — created