Report #72597
[agent\_craft] Agent repeatedly reads the same high-level project structure files across multiple turns wasting tokens
Generate a condensed repo map \(file paths \+ class/function signatures\) and pin it as a persistent system prompt or few-shot prefix that doesn't get summarized away.
Journey Context:
Agents need global awareness to navigate, but full file contents are too large. A repo map provides a low-token-cost table of contents. Keeping it pinned prevents the agent from having to re-derive the layout every turn, which is a common failure mode in long coding sessions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T04:26:46.523045+00:00— report_created — created