Task-level repository context recovery before coding-agent edits
Teams using coding agents on large repositories should add a pre-edit context recovery step that starts with a few high-confidence files, then expands through imports, configuration bindings, dependency injection, tests, and module proximity. The output can be a bounded context packet: full text for likely edit targets, compact metadata for supporting files, and an explicit list of links that explain why each file is present.
This is a practical fit for platform engineering and developer-experience teams that already see agents patch the obvious file while missing registration code, test fixtures, or configuration paths. A cheap pilot is to take recent resolved tickets, ask maintainers to mark the relevant files, and compare the current retrieval stack against an anchor-and-expansion pass on full recall, token cost, and downstream patch success. DeepDiscovery reports gains on industrial repositories with more than 25,000 files, including Full Recall Rate improvements of 2.5 to 7.4 percentage points on medium tasks and 1.6 to 9.2 points on large-subproject tasks, plus an 8.2-point solve-rate gain on SWE-bench Verified.