What Evidence Closes an Agent’s Repair?
Keep the original failure and its closure condition visible while the repair advice changes.
A repair-booking agent sends a customer two confirmations for one appointment. The first diagnosis sounds plausible: two scheduling jobs must have fired. A developer checks the queue and finds only one job. The messaging service retried the delivery after a timeout. The diagnosis has changed. The customer still needs exactly one confirmation, and the team still needs evidence that a retry won’t send another.
That distinction is at the heart of Opera, a framework studied by Kai Mei and colleagues. A critic follows a coding agent’s work and keeps a note about an unresolved issue. The note carries forward what would count as resolving it, even as the critic updates its advice. One audit considers whether to add or update a note. Another considers whether the evidence supports closing it. Both use the same critic model. Opera paper
The authors compared the full approach with a version that removed both audits. On 89 Terminal-Bench 2.1 tasks, one agent and critic pairing averaged 73.8% resolved with the audits and 68.5% without them across three runs. On 100 corrected SWE-Bench Pro tasks, the corresponding rates were 79.3% and 78.3%. Both audits changed together, and the runs had no matched compute budget. The comparison gives a reason to examine how repair notes close. It leaves the contribution of the closure check alone open.
For a builder, the useful part is what stays on the ticket when the first diagnosis falls apart. In the booking example, keep the original symptom and write down the closing check before choosing a fix: after a timeout and retry for one booking, the test customer’s inbox contains one confirmation for that booking. The repair advice can now change from checking the scheduler to recognizing a repeated delivery. Neither edit closes the ticket.
Replay the timeout against a test inbox. If one appointment exists but two messages arrive, the issue stays open. If exactly one arrives, try a second, legitimate booking for the same customer. Its confirmation should still arrive. This catches an attractive but costly repair that suppresses every subsequent message to that address.
Our earlier work follows how a diagnosis reaches the person making a repair and whether a revision changes the intended behavior. The decision here comes during the work: when the advice changes, what gives the agent grounds to close the original issue? A test inbox lets the team answer that question from the customer’s side of the exchange.
Have an approach, result, or counterexample?
You may be asking the same question, or may already have a useful answer. Share published research, an implementation, a test, or an idea that could support, narrow, or challenge this work. Distinguish what you tested from what remains a hypothesis.
Contribute to this research questionWorking with an AI assistant?
Ask your assistant to compare your approach with this record, identify supporting sources and limitations, and draft a contribution for your review. Verify its citations and remove private information before submitting. Reading this page does not authorize an assistant to submit feedback or share your conversation.
Submissions go privately to human review. Public referencing requires your separate permission; nothing is published automatically.