From Trace to Fix: Residual Task State in Long-Horizon Agents

Zile Huang, Ser-Nam LimOpenReview 2027 · Submission to ICLR 2027 · Withdrawn

Its authors withdrew this paper, so there is no full text to read or summarize.

Abstract

Recovering from failures in long-horizon, stateful language agents is challenging because the action introducing a defect, the symptom exposing it, and the persistent state requiring repair frequently diverge. Existing methods largely focus on retrospective failure attribution, leaving sequential diagnosis and state repair poorly integrated under constrained budgets. We introduce \textbf{TRACE--FIX}, a unified recovery framework centered on versioned residual task state. \textsc{Trace} transforms execution logs into a structured dependency-linked ledger, prioritizing unresolved task requirements rather than salient surface errors. \textsc{Fix} formulates recovery as budgeted planning over admissible actions, incorporating outcome forecasting and explicit repair-reserve constraints to prevent premature budget exhaustion. To rigorously decouple localization accuracy from downstream repair capability, we present \textbf{LongH-Debug}, evaluating root-cause attribution, verified-fault recovery, and end-to-end closed-loop execution independently. Our empirical analysis demonstrates that structured residual tracking substantially improves causal localization over raw-trace baselines, while budget-aware sequential planning converts verified fault signals into more reliable task recovery without destructive trial-and-error.
BibTeX
@misc{huang2027from,
  author = {Zile Huang and Ser-Nam Lim},
  title = {{From Trace to Fix: Residual Task State in Long-Horizon Agents}},
  year = {2027},
  url = {https://openreview.net/forum?id=XKZjV1M6BS},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2027},
}

Loading related content...

Figure