Fault injection for repository retrieval and summaries
Coding-agent maintainers need to know whether a patch survives bad repository context. ACQUIRE shows that targeted, evidence-backed repository answers improve issue resolution, while AgentCheck finds that agents often accept stale or corrupted tool output confidently. Repository retrieval therefore belongs in the fault model, alongside API and database tools.
Add replayable mutations for stale file summaries, omitted dependency edges, incorrect symbol locations, and instructions embedded in retrieved text. Record the first trajectory divergence, then test mitigations such as source citations, file-hash checks, and read-only confirmation against current code.
Run 50 resolved SWE-bench tasks with clean and mutated context. Measure Pass@1 loss, unsafe edits, and mitigation recovery. Use a pilot decision threshold: stop if mutations reduce Pass@1 by under 5 percentage points, or revise the checks if they recover under half of the failures they expose.