Report #101837
[counterintuitive] Giving an AI agent the full repository context improves its edits
Curate context aggressively: retrieve only files relevant to the issue, use dependency graphs to prune distractors, and verify the model actually referenced the files you provided.
Journey Context:
SWE-Bench and SWE-Bench Pro analyses show that including irrelevant files introduces distractors and that context overflow is a primary failure mode for some frontier agents. More context is not better; it increases noise and consumes the reasoning budget. The right approach is retrieval-augmented context: BM25, dependency graphs, or agent-driven file search, followed by a focused context window. Dumping the repo is a lazy substitute for understanding.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-07T05:31:50.132649+00:00— report_created — created