Skip to content

When Harnesses Lose the Signal: Causal Evaluation of Recovery in LLM Agents

Sep 2026 · 3 citations · 30 references
Computer Science

TL;DR

The Causal Intervention Router (CIR) is introduced, a lightweight policy that uses information available before recovery to decide when intervention is worthwhile and leaves all evaluated trajectories with correct observations untouched.

Abstract

Large language model agents rely on external harnesses to pass information between the model and its environment and to recover from execution errors. Yet recovery is usually judged only by average task success. This hides an important tension. The same operation can rescue a failing trajectory or disrupt one that would otherwise succeed. We frame recovery as a causal decision problem. Starting from the same execution state, we compare what happens with and without recovery, separate rescue from harm, and study how the value of recovery changes over time. We then introduce the Causal Intervention Router (CIR), a lightweight policy that uses information available before recovery to decide when intervention is worthwhile. On long-horizon ALFWorld tasks with Qwen3-14B, CIR raises success from 70.33% to 73.33%, a gain of 3.00 percentage points. It leaves all evaluated trajectories with correct observations untouched. Additional controls show that the benefit of recovery cannot be explained solely by the new observation returned by the environment. These results provide a practical way to evaluate recovery and apply it selectively.

View source

Similar papers

#artificial intelligence Preprint Nov 2026

Same Error, Different Recovery: How Delivery Changes LLM Agent Behavior

A tool-using language model must decide whether to retry a failed call, correct it, or stop and tell the user. The error text alone may not be enough: the same feedback can lead to different actions depending on where it appears in the conversation. We isolate this delivery problem by varying placement, guidance, retai...

Sunghyeun Woo, Javier Conde, P. Reviriego · 0 citations
#artificial intelligence Preprint Oct 2026

Sentry: Learning to Recover from LLM Agent Failures at Test Time

LLM agents often fail mid-task due to invalid tool calls, repeated actions, or poorly grounded reasoning, and learning from these failures is a path to reliability. We find that how failure knowledge reaches the agent matters as much as what it contains. Failure lessons are conditional: kept in the agent's context, the...

Chang Ji, Amy Lu, Qizheng Zhang et al. · 2 citations
#artificial intelligence Preprint Oct 2026

Trace-to-Architecture: Capability Bottleneck Diagnosis for Harness Revision

Improving an LLM agent requires knowing what to change when it fails. Similar failures can require different fixes, and resolving one problem can expose another. We introduce Trace-to-Architecture (T2A), a framework that uses execution trajectories to determine what to change in an agent's harness and when those change...

Wen-Feng Wang, Jian-Rui Shi, Min-Gang Guo et al. · 0 citations

Rollback the World, Keep the Reflection: Rollback-Induced Reflection for Long-Horizon LLM Agents

Rollback-Induced Reflection (RIR) is proposed, a unified recovery framework that restores execution to a selected prior state while carrying forward reusable knowledge distilled from the abandoned trajectory to guide subsequent decisions.

Yi Yu, Liu-Yi Yao, Yaliang Li et al. · 3 citations

Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agents

Mid-Harness is introduced, which samples and verifies candidate actions before forwarding one for execution, while keeping the generator and harness unchanged, and identifies action scaling as a promising target for test-time compute scaling in terminal agents.

Minki Kang, Ryo Hachiuma, Shao-Kun Zhang et al. · 3 citations

Dude, Where's My State? Execution Information Requirements for Stateful Agents

The EIR is introduced, a lower bound on the information that must remain accessible for correct completion under specified task and access conditions and LACUNA is developed, a framework that generates tasks with known dependencies and varies information demand, retention, and recovery separately from the difficulty of...

N. Mehrotra, Ashish Tiwari, Priyanshu Gupta et al. · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.