Report #103626
[agent\_craft] Agent dumps whole files or the entire repo into context to be safe
Load a compact repo map \(file tree \+ symbol-level module responsibilities\) into every turn; retrieve exact code snippets only when the current subtask needs them. Add 1-2 closely related read-only files, then drop files that are no longer active.
Journey Context:
Aider's repo map gives the LLM spatial awareness of the codebase without consuming one token per line of irrelevant code. Too many files distract and confuse the model. The map handles architectural reasoning; targeted file reads handle precise edits. This is the difference between knowing where something lives and carrying its full implementation around.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-11T04:43:26.030517+00:00— report_created — created