Report #13381
[agent\_craft] Agent gets lost in a large repository and makes edits that break imports or cross-module dependencies
Maintain a lightweight, continuously updated 'repo map' \(e.g., a tree of files with class/function signatures\) in the system prompt or early context, rather than loading entire files just to understand the structure.
Journey Context:
To know where to make a change, an agent needs the project's skeleton. Loading every file to build this skeleton is impossible due to context limits. A repo map provides the 'skeleton' \(names, relationships\) without the 'flesh' \(implementations\). The agent can use this map to navigate to the exact file it needs, read it, and make the edit, ensuring it respects the broader architecture.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T18:40:38.605873+00:00— report_created — created