Practical technical guides / Recent development: arXiv 2611.13254 (9 November 2026), where errors enter long agent runs

Agent Errors Enter Early and the Evidence Against Them Is Usually Already in the Trace

A 9 November 2026 study of 95 failed agent runs: errors entered at 0.18 of the run and 72 percent had evidence against them. Fact checks, contracts and harness answers.

By Sandeep Belgavi · Published 2026-11-11

A 9 November 2026 study of 95 failed agent runs: errors entered at 0.18 of the run and 72 percent had evidence against them. Fact checks, contracts and harness answers.

What a failure study read

On 9 November 2026 Shaohuang Wang, Jinghao Wen, Xulei Zhang and Xun Jiao of Villanova University posted "Dependable Long-Horizon LLM Agents: A Trajectory-Centered Empirical Study of Where Errors Enter and Which Controls Reach Them" (arXiv 2611.13254v1). Instead of labelling a failed run with a symptom, or with the agent and step judged responsible, they built an "episode record" for each failure: where the fault entered, what state carried it, whether anything in the run contradicted it, what detected it, what the response did, and which family of controls could have reached it.

They applied the protocol to 95 failed runs of six multi-agent systems from two public corpora, Who&When and MAD, reading each trajectory in full. The results are worth knowing for anyone who builds an agent harness, because most of them point at the harness rather than the model.

Two caveats come first, and the authors state both. The records were produced by an LLM following their written protocol, and this version reports no human inter-annotator agreement. And the corpora are question answering and programming in sandboxes: no run in the sample touched a shared or third-party system.

The findings that matter for a harness

Errors enter early. On Who&When, the median point where a fault entered was 0.18 of the way through the run, and the median distance from origin to symptom was 5.5 steps. In 37 of 88 Who&When runs the fault entered before the step the corpus's human labels mark as decisive, usually because a plan or a fact sheet already contained the wrong assumption and the decisive step merely acted on it. Most origins were wrong decisions (42 percent) or fabrications (26 percent) about task state.

The evidence was already there. In 68 runs (72 percent) the trajectory contained, before the failure, an observation or message that contradicted the erroneous belief. Agents acted on it in only 7. In 41 runs the contradicting evidence sat in an agent's input and was never mentioned; in 19 an agent acknowledged it and carried on. In 88 percent of the runs that had such evidence, nobody did anything with it.

Detection did not lead to repair. Something flagged a deviation in 29 runs (31 percent), often an orchestrator noting a loop. A response followed in 34 runs, usually a replan or retry. None of those responses removed the deviated state; the typical replan changed the next action and kept the belief that caused the problem.

Restore reaches few episodes. Restoring the agent's own state to just before the fault's origin would have been enough in 35 of 95 runs. In 56 runs the fault was in the plan, the task brief or a stop rule, so a restore would replay it.

The harness answered for the agents. A text scan of all raw Who&When trajectories found that 26 of 58 hand-crafted runs (45 percent) contained an HTTP 400 from the model provider's content filter on the orchestrator's progress-ledger call. In 25 of them, the experiment script then printed a FINAL ANSWER that no agent had produced. The corpus attributes those failures to an agent anyway: to the orchestrator in 4 cases and to another agent in 21.

Which controls would have reached the episodes

For each run the study lists the control families whose observation and reach cover the episode. The ones that reached the most:

Control familyReached the episode in
Independent judge that reads evidence the worker did not use74 percent of runs
Task contract and scope rules fixed at admission67 percent
Re-checking beliefs against the environment before acting43 percent
Stall and termination rules40 percent
Provenance on stored facts38 percent
Checkpoint and restore1 percent

These are judgements about the traces, not measured interventions; the authors did not rerun the agents with the controls in place. As the single most direct control, provenance came first in 20 runs, mostly fabrications that a rule such as "no unsourced claim is stored" would have rejected.

Turning the findings into harness rules

The study's controls map onto concrete harness features. The companion example implements four of them over synthetic refund runs at Belgavi's Book Store.

1. Refuse unsourced facts. When an agent states a fact that the run will rely on, such as an order total or a delivery date, the harness requires a source: a tool call and the record it returned. A fact without one is not stored. In the companion, a run that states "delivered 2026-10-02" with no source is flagged at step 1 instead of producing "Return window closed" at step 2.

2. Check stated facts against the system of record at step boundaries. Before a stated fact enters the run's working state, compare it with the record. A run that states a total of 1,810 for an order whose record says 1,180 is flagged at the step where the claim is made, not at the end where the refund is wrong.

3. Track evidence against held beliefs. When an observation contradicts something the run already holds, record it, and flag any later step that still uses the old value. In the companion, the observation of 1,180 at step 2 contradicts the belief formed at step 1, and steps 3 and 4 are flagged for using 1,810 anyway. This is the "evidence is there; nobody reads it" result turned into a check that does read it.

4. A final answer must come from an agent. The harness may terminate a run, but it must never invent the answer. In the companion, a run that ends with a provider error followed by a harness-printed "Refund approved" is classified as harness_terminated. A run that runs out of budget without an answer is no_answer.

def outcome(final, findings):
    if final is None:
        return 'no_answer'
    if final[0] == 'harness':
        return 'harness_terminated'
    if any(f['check'] in ('contradicted', 'ignored_evidence', 'unsourced_fact') for f in findings):
        return 'agent_error_detectable'
    return 'agent_answer'

Revise the belief, not only the plan

The detection result deserves its own rule. A loop detector that triggers a replan without touching the belief that caused the loop will see the loop again in another form, which is what the study found. When a control fires, the response should name the state it distrusts: drop the unsourced fact, re-fetch the record, invalidate the plan step built on it. Recovery that does not revise contaminated state reproduces the failure.

The same reasoning explains why checkpoints reached so few episodes. A checkpoint restores the agent to an earlier point, but if the wrong assumption is in the plan or the task brief, the restored run makes the same choice again. Checkpoints still matter for external side effects, which this sample did not contain; they are not a fix for wrong beliefs.

Fix the task contract at admission

Two thirds of the episodes were reachable by a task contract fixed when the run started: what the task is, what is in scope, what counts as done. In 20 percent of the CaptainAgent runs on Who&When, the failure began at admission, when the manager handed the group the wrong task. For a help-desk agent, the contract is the CASE id, the order it concerns, the decision types allowed and the policy version in force. Write it once, from the systems of record, before the agent starts, and let checks compare against it. Facts the agent proposes later can be checked against the contract instead of against the agent's memory of the task.

Keep harness failures out of agent scores

The content-filter finding has an immediate consequence for evaluation. If a harness prints a fallback answer after a crash, that answer is scored as if an agent produced it, and attribution methods learn to blame whichever agent was last active. Report harness-terminated runs separately from agent errors, and exclude them from per-agent attribution. The companion's summary counts 5 runs as 4 agent-attributable and 1 harness-terminated.

Check your own harness for the pattern: search for any code path that produces a final answer when the agent loop exits abnormally. Replace it with an explicit failure status that carries the provider error.

What remains uncertain

The annotations come from an LLM following a written protocol; a human check of a subset is the authors' stated next step, and they expect some kind labels may move. The sample is 95 runs from research corpora, selected by annotation batch rather than at random, with no external side effects, so it says nothing about agents that act on shared systems. "Would have reached" is a judgement, not an experiment. The harness-fault count, which comes from a deterministic text scan, is the most robust number in the paper.

Limits of the companion

The five runs are synthetic and constructed to exercise each check once. Real trajectories carry facts in free text, not in tidy fields, so a production version needs extraction for stated facts, with its own errors. The checks compare against a small dictionary of records; a real system of record has latency, permissions and its own staleness.

Primary references and authorship

Sources dated on or before 11 November 2026. Original explanation and synthetic examples by Sandeep Belgavi. Companion code: Sandeep-BA/agent-decision-lab/examples/python/trajectory_fact_checks. Views are my own and do not represent any employer, past or present.