OUTCOME-ONLY DEBUGGING
Successful runs end the investigation, even when their trajectories contain abnormal evidence or have not reached a defective branch.
ANONYMOUS RESEARCH PROJECT · ICLR 2027 SUBMISSION
Task success is not enough. Evidence must come before repair.
Paper and GitHub links will be added after review.
Conventional harness debugging starts after an agent fails. That makes failure look like the only useful signal.
We separate defect severity from what an ordinary execution reveals. A run can be outcome-visible, trajectory-visible, or silent until another reachable condition exposes the behavior.
OUTCOME-ONLY DEBUGGING
Successful runs end the investigation, even when their trajectories contain abnormal evidence or have not reached a defective branch.
PROACTIVE IHT
Every trajectory is checked. The next operation is selected from the evidence state, then diagnosis, verification, repair, and regression validation share one loop.
Choose a level to inspect the ordinary execution and the evidence Proactive IHT needs next.
tool_call → schema validation error
retry → exhausted
final → task failureLEVEL 1
The task fails and the trajectory contains a witness. A failure-driven diagnosis path has enough behavioral evidence to begin.
THE PROACTIVE IHT LOOP
Every ordinary run is audited, not only failures. L1 and L2 already contain behavioral evidence; an invariant-clean success stays a healthy candidate until a bounded activation probe exposes a relevant manifestation. Only then do all routes share diagnosis, mechanism verification, repair, and validation.
actions · tools · state · effects
preserve the runtime evidence
Evidence is already present.
The trace breaks an invariant.
No behavioral witness yet.
coverage · invariants · source · trigger prior
condition · scope · budget
Yes: L3 evidence · No: abstain
COMPLETED RESULTS
We separate held-out task utility, evidence coverage, and same-suite diagnostic analysis. The results below report only completed evaluations.
MATCHED CLOSED-LOOP EVALUATION
benchmark × backbone settings improve over HarnessFix
Four public benchmarks · four task backbones · three held-out test runs per row.
GPT-5-MINI COMPARISON
+10.7% offline repair tokens; the gain is incremental on top of an already strong failure-driven loop.
WHERE THE MATCHED GAINS APPEAR
Mean TCR across the four matched backbones. The blue segment is the additional gain beyond HarnessFix.
Rows are benchmark means; the full evaluation contains four backbone-specific rows per benchmark.
QWEN3.6-FLASH ABLATION
ROUTE EXPANSION
REPAIR-QUALITY REMOVALS
of the full HF-to-IHT gain remains with L1-only routing. Restoring L2 adds 0.9 points and the two-candidate L3 budget adds 0.3; the orthogonal evidence and verification removals cost 3.5 and 2.1 points.
All variants use the same benchmark splits, decoding settings, outer repair budget, and validation gate. The two columns are not a sequential stack.
EMPIRICAL LANDSCAPE · 9,045 LABELS
L2 and L3 together make up 25.1% of defined labels. Task success is therefore not a reliable stop condition for diagnosis.
APPWORLD EVIDENCE CHARACTERIZATION
These are evidence-acquisition counts, not verified defect prevalence. The production loop uses all L1/L2 routes and a two-candidate L3 budget.
DIAGNOSIS AFTER EXPOSURE · 36 CASES
The frozen diagnoser often finds the behavior site rather than the component that defines it. The post-hoc row diagnoses this attribution gap; it is not a held-out estimate.
RESOURCES