Verification-triggered repository question answering for coding-agent repair
Coding-agent teams should trigger targeted repository question answering when a minimal repair fails verification, rather than performing the same broad exploration before every edit. E3 shows that starting with the smallest viable execution path and expanding after failed verification can reduce redundant work, while ACQUIRE shows that explicit questions about repository mechanisms, dependencies, and contracts can recover otherwise failed repairs. DiffTestGen supplies a concrete escalation signal: tests aimed through public entry points at changed functions can reveal unexplained old-versus-new behavior or stalled changed-line coverage.
A practical repair loop would estimate scope, make the smallest plausible patch, and run change-directed tests. A failure would be translated into repository questions for read-only agents; their file- and function-cited answers would then inform the next patch. The cheapest useful evaluation is an ablation on the same issue set comparing always-on question answering, no question answering, and verification-triggered question answering, measuring resolved issues, tokens, and repair rounds.