ANONYMOUS RESEARCH PROJECT · ICLR 2027 SUBMISSION

Beyond Failed Trajectories: Diagnosing and Repairing LLM Agent Harnesses Across Three Observability Levels

Task success is not enough. Evidence must come before repair.

Explore the method Paper GitHub

Paper and GitHub links will be added after review.

ORDINARY EXECUTION τ AGENT HARNESStrajectory τ L1 · OUTCOME-VISIBLEtask failure→ diagnose L2 · TRAJECTORY-VISIBLEsuccess + anomaly→ audit L3 · TRAJECTORY-SILENTsuccess + clean trace→ activate
The same task outcome can imply three different evidence states.
9,045labeled harness records
25.1%preserve task success
36reconstructed historical defects
3evidence-acquisition routes
THE IDEA

Repair should follow evidence,
not just failure.

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

runfailed?diagnose

Successful runs end the investigation, even when their trajectories contain abnormal evidence or have not reached a defective branch.

PROACTIVE IHT

every runauditacquire evidence

Every trajectory is checked. The next operation is selected from the evidence state, then diagnosis, verification, repair, and regression validation share one loop.

OBSERVABILITY EXPLORER

One defect. Three ways it can appear.

Choose a level to inspect the ordinary execution and the evidence Proactive IHT needs next.

ordinary executionTASK FAILED
tool_call → schema validation error
retry → exhausted
final → task failure

LEVEL 1

The outcome already exposes the defect.

The task fails and the trajectory contains a witness. A failure-driven diagnosis path has enough behavioral evidence to begin.

Next evidence actionDiagnose the failed trajectory

THE PROACTIVE IHT LOOP

Expose first.
Repair only when earned.

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.

EVIDENCE SO FAR

Successful is not necessarily healthy.

Completed results only. End-to-end benchmark results will be added after the evaluation is frozen.

EMPIRICAL LANDSCAPE

L1 74.9%L2 8.2%L3 16.9%

One in four labeled reports preserves task success.

Across public agent-harness development records, L2 and L3 together account for 25.1% of defined labels.

PASSIVE DIAGNOSIS · 36 CASES

Trigger-pair discrimination24 / 36
Benign specificity5 / 36

Source suspicion is not runtime proof.

Passive reasoning can surface latent risks, but can overcall manifestation on benign executions without an evidence-acquisition step.

POST-EXPOSURE LOCALIZATION

17/36

frozen configuration · CR@3

Exposure does not make source localization trivial.

Correct behavioral explanations can still stop at the symptom site instead of reaching the component that defines the behavior.

RESOURCES

Materials will be released after review.

PaperAvailable after review CodeAvailable after review