Manuscript Offprint
arXiv:2609.40111Agent Error Dataset: Scaling 50,000 Error--Diagnosis Pairs for Failure Analysis and Error-Aware Post-Training
Kunlun Zhu, Xuyan Ye, Yibo Li, Cheng Qian, Beibin Li, Heng Ji
Apodex
An unsuccessful LLM agent rollout contains more information than its final reward: the observations available to the agent, the actions it chose, and the environment's responses. Reusing this experience for learning requires identifying a decision to revise and testing a concrete alternative. We introduce the Agent Error Dataset (AED), comprising 50,228 error–diagnosis pairs from 9,961 source tasks across 33 environments, 19 harness families and 23 policy models in text-based agent systems. We retain source traces and execution metadata to support cross-setting failure analysis and re-diagnosis without repeating the original rollout. Our five-stage Agentic Error-to-Training (AET) pipeline collects natural failures, generates diagnoses and proposed corrections, and checks them against recorded evidence. Where replay is supported, we compare corrections with original-action retries from the same checkpoint under matched execution settings. We then construct separate training views for diagnosis and actor recovery.
Across 3,062 matched replay pairs, first-proposal corrections raise verifier pass rates from 18.4% to 51.1%, a gain of 32.7 percentage points. Using a separately frozen diagnosis release, full-diagnosis fine-tuning on 1,656 source tasks raises Qwen3-8B's exact-step agreement with internal teacher labels from 47.2% to 63.6%, averaged over three seeds on a 943-case holdout. The strongest prompted reference in this comparison scores 54.7%; mean agreement improves at each of four increasing training-set sizes. In a single-seed comparison of actor-training recipes, action-only repair training scores 6.67 percentage points higher on WebShop-lite than success-only training.
Code and data will be released at agenterrordata.apodex.com.

a Test corrections

b Learn to diagnose
Teacher-label exact step (%)

943 teacher-labeled cases
C Assist recovery
Recovery success (%)
Figure 1: Failure reuse: correction, diagnosis learning and recovery. (a) Executed corrections outperform their matched original-action controls. (b) AED-trained Qwen3-8B leads the shown references in internal exact-step teacher-label agreement. (c) Supplied-location assistance improves recovery over replay. Panels use separate cohorts; protocols and uncertainty: Section 5 and Appendices J, H.2.
Corresponding author: Heng Ji (heng@apodex.com). We also gratefully acknowledge Mr. Tianqiao Chen for the guidance and support throughout this work.
1. Introduction
Recent frontier large language models (LLMs), including GPT-6 Astra and Claude Fable 5.1, support complex reasoning, coding and long-horizon agentic work (OpenAI, 2026; Anthropic, 2026). These capabilities renew interest in how far language-model systems can generalize beyond their training tasks (Feng et al., 2024). Open-weight Qwen3.8-Flash-Next, DeepSeek-V4.1-Flash and Kimi K3 broaden access to capable agent models (Qwen Team, 2026; DeepSeek-AI, 2026; Moonshot AI, 2026).
These advances extend language-model capabilities (Zhao et al., 2026) to interactive software and web tasks (Jimenez et al., 2024; Yao et al., 2022). Agent harnesses connect these models to executable tools and persistent state. OpenHands provides a composable software-agent SDK (Wang et al., 2026c); agent combines a terminal agent loop with extensible tools, model-provider interfaces and resumable sessions (Earendil Works, 2026). Through these systems, agents inspect repositories, run commands and revise solutions using tool feedback (Qin et al., 2024; Liu et al., 2025). Understanding failures therefore requires examining the model together with the execution system in which it acts.
Agent post-training improves task performance by learning from interaction. AgentTuning uses reward-filtered trajectories for supervised fine-tuning (Zeng et al., 2024), while RAGEN and AgentRL extend policy optimization to multi-turn environment feedback (Wang et al., 2025; Zhang et al., 2025a). Yet an outcome reward alone does not specify which decision to revise or what action should replace it. Failed rollouts preserve what the agent observed, which actions it chose, and how the environment responded. We can turn these rollouts into training examples by identifying where the agent went wrong, explaining why, and proposing what it should do instead. This motivates a dataset of agent failures with diagnoses and corrections across diverse execution settings.
How should we analyze and transform failed agent experience so that models can learn to recognize, avoid, and repair errors across execution settings?
Existing work has advanced several aspects of learning from agent failures. MAST (Cemri et al., 2026b) characterizes failure modes, and Who&When (Zhang et al., 2025b) identifies responsible agents and decisive error steps. These annotations support failure analysis, but do not directly specify the actions an agent should learn instead. AgentTracer (Zhang et al., 2026a) goes further by constructing attribution data and training a diagnostic model, while AgentDebug (Zhu et al., 2025) uses corrective feedback to recover from failures. Their principal learning and recovery objectives, however, differ from training an acting policy on corrected behavior. Across these resources, differences in execution settings, annotation targets, and correction evidence also make it difficult to study diagnosis and action learning on a common collection of failures. A broader resource is therefore needed to connect natural failures with explanations, proposed corrections, and execution evidence, and to support training for both diagnosis and action.
We introduce the Agent Error Dataset (AED), a collection of 50,228 error–diagnosis pairs spanning 33 environments, 19 harness families and 23 policy models. This breadth supports failure analysis across text-based execution settings; stored traces also support re-diagnosis without new rollouts. Our Agentic Error-to-Training (AET) pipeline links diagnoses and proposed corrections to matched replay outcomes where supported, then constructs objective-specific training views (Figure 2). The collection counts pairs, while experiments use a separately frozen diagnosis release and distinct replay and actor cohorts (Section 3.3).
Our contributions connect failure analysis, correction testing and post-training. (i) A scaled collection of natural agent failures retains provenance across execution settings, supporting analysis of how failures vary with the model and harness (Section 3.3). (ii) AET, a pipeline for reusing failed experience, links diagnoses, corrections and optional controlled replay to separate training views. First-proposal corrections improve matched-replay pass rates by 32.7 percentage points over original-action retries (Section 5.1). (iii) An empirical study of error-aware post-training shows that full-diagnosis SFT on 1,656 source tasks raises internal exact-step teacher-label agreement from 47.2% to 63.6% across three seeds.

AGENT ERROR DATASET
1 High-quality data construction
Natural failures, grounded evidence, controlled replay.

Collect natural failures
Real failures only; no injected faults.
Real-world agent interactions
Tasks, logs, and user environments

Grounded diagnosis
Locate the blamed step; propose a fix.
1 ...
2 × failed step ←
3 ...
"Why did it fail?
How to fix?"

Controlled replay
Optional matched-checkpoint replay.
Original
Replace
Retain

Evidence-graded record
✓ Execution trace
✓ Diagnosis and fix
✓ Replay result (pass/fail)
✓ Source and provenance
Auditable
Reusable
Real-world
High-quality
2 Large scale, broad coverage
Diversity across tasks, agents, models, and failures.

50,228
Error-diagnosis pairs

9,961
Source tasks

3,062
Matched replay pairs
Separate experiment

Task diversity
33 environments
ALFWorld
SciWorld
Terminal-Bench
SWE-bench Verified
t-bench
AppWorld
Agent System
diversity
19 harness families
ReAct
Native tool calling
OpenHands
LangGraph
Planner-Executor
mini-SWE-agent
Diversity
across tasks,
agents, models,
and failures.
Policy diversity
23 policy models
GPT
Claude
Qwen
Gemini
Llama
InternLM
Mistral
Failure Mode
diversity
2604 analyzed trajectories
Wrong tool selection
Parameter error
Premature stop
Observation ignored
Memory hallucination
Collection breadth: each environment, harness and model has 10 source tasks.
3 Strong training value
From errors to better debuggers.

Diagnosis SFT
Grounded diagnosis required.
"The tool returned an authentication error because ..."
Recovery SFT
Executed, passing recovery.
"A possible fix is to ... We verify it by ..."

Step DPO
Valid shared-input comparison.
"Between action A and B, A is better because ..."
Target capabilities
Locate
Explain
Cite
Repair
Diagnosis training
Construction-time replay
Micro exact-step agreement
+16.37 pp

First-proposal replay pass rate
+32.7 pp
18.4%
Original-action
retry
3,062 matched replay pairs
Selected-proposal
replay pass rate
+45.3 pp
13.7%
Original-action
retry
Proposed
correction
3,062 matched replay pairs
Diagnosis training and construction-time correction utility
Figure 2: AET construction and training views. Natural failures yield diagnoses, corrections and optional replay evidence. Coverage, historical error profiles and experiments use separate cohorts. Replay bars use first/selected proposals (n = 3,062 each) and restored-harness selected proposals (n = 871), each with its own control; they measure correction utility. “Step DPO” denotes an offline action-preference pilot (Appendix D.1).
To scale attribution supervision, AgenTracer trains localization models, Who&When Pro expands fault injection, and AEGIS verifies injected failures before training attribution (Zhang et al., 2026a; Liu et al., 2026; Kong et al., 2026). For recovery, the question extends to whether a diagnosed error persists and whether a correction helps: TrajDebug tracks error resolution and introduces TrajErrBench (Qi et al., 2026), while AgentDebug and AgentDebugX connect diagnosis to corrective execution (Zhu et al., 2025; 2026); CUADebug applies diagnosis and repair to screenshot-based computer use (Zhang et al., 2026b). In AED, we use exploratory error groupings for cross-setting analysis, and link natural failures to diagnoses, proposed corrections and available replay evidence to support post-training (Table 1).
Learning from unsuccessful experience. Prior work reuses failed actions, segments and goals (Lan et al., 2025; Ding, 2026; Li et al., 2026; Yin et al., 2026), constructs reflective recovery trajectories (Yuan et al., 2025; Chen et al., 2025; Kruengkrai & Yoshino, 2025), and guides later behavior with critiques (Shinn et al., 2023; Kumar et al., 2025). Other resources retain executable environments and verifiers (Xu et al., 2025; Pan et al., 2024; Yang et al., 2026); ADP unifies trajectory formats (Song et al., 2026). On a separate replay-supported subset, we compare corrections with same-checkpoint original-action retries (Table 1). Appendix C.3 details resource scopes; Appendix T.3 tests trajectory export, not full-record interoperability.
3. Agent Error Dataset
Each record links a failed trace to a diagnosis and any correction-test outcomes. The available evidence determines which training views it can support.
3.1. The data record
We count a run as failed when its environment adapter reports an unsuccessful terminal outcome within the allowed budget. This collection-level outcome does not locate an error: attributing an agent error requires a trace-supported, avoidable decision. Appendix D.1 distinguishes task failures, recovered tool errors and ungradable runs.
Table 1: Failure-record resources for LLM agents. Errors: natural (nat.), injected (inj.) or synthetic (syn.). Envs/Harn./Models: environments, harnesses and generating models. Records: each work's units (AED: error–diagnosis pairs). Step: localization; Evid.: trace evidence; Exec. fix: executed correction; Ctrl.: same-checkpoint original-action control. Train: debugger (D), agent (A); Agree.: human agreement (AED: raw step, 59/69; metrics differ). ○ partial; “–” not stated. AED counts use one audited collection snapshot. ‡Counts include multimodal traces; AED is text-only. Agreement definitions and details: Appendix C.3.
| Work | Errors | Envs | Harn. | Models | Records | Step | Evid. | Exec. fix | Ctrl. | Train | Agree. |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Who&When (Zhang et al., 2025b) | nat. | 2 | 2 | – | 184 | ✓ | ✕ | ✕ | ✕ | – | – |
| Who&When Pro‡ (Liu et al., 2026) | inj. | 26 | 15 | – | 12,326 | ✓ | ✕ | ✕ | ✕ | – | κ .73 |
| AgentTracer (Zhang et al., 2026a) | nat. + inj. | 6 | 6 | – | >2,000 | ✓ | ✕ | ○ | ✕ | D | – |
| AEGIS (Kong et al., 2026) | inj. | 6 | 6 | 1 | 9,533 | – | ✕ | ✕ | ✕ | D | κ .81 |
| MAST (Cemri et al., 2026b) | nat. | 8 | 7 | 6 | 1,642 | ✕ | ✕ | ○ | ✕ | – | κ .88 |
| TRAIL (Deshpande et al., 2025) | nat. | 2 | 2 | 2 | 841 | ✓ | ✓ | ✕ | ✕ | – | – |
| AgentErrorBench (Zhu et al., 2025) | nat. | 3 | – | – | 200 | ✓ | ✕ | ✓ | ✕ | – | κ .55 |
| TraceElephant (Chen et al., 2026) | nat. | 3 | 3 | 1 | 220 | ✓ | ✕ | – | – | – | α .64 |
| TrajErrBench (Qi et al., 2026) | nat. | 2 | – | 8 | 486 | ✓ | ✓ | ○ | ✕ | – | κ .91/.67 |
| AgentRx (Barke et al., 2026) | nat. | 4 | – | – | 170 | ✓ | ✕ | – | – | – | κ .89 |
| STeP (Chen et al., 2025) | syn. | 3 | – | 1 | 708 | ✓ | ✕ | ✓ | ✕ | A | – |
| Agent Error Dataset (AED) | nat. | 33 | 19 | 23 | 50,228 | ✓ | ✓ | ○ | ○ | D, A | 85.5% |
A record links a failed action–observation trace to one diagnosis, its proposed correction, review decisions and available replay branches. It also records the policy, harness, debugger and information used in construction, alongside intended uses and limitations following dataset documentation practice (Gebru et al., 2021). Multiple proposals for one failure remain distinct attempts, grouped by source task for splitting and analysis. Diagnoses are free text rather than assignments to a fixed error taxonomy; error modes are induced afterwards without changing the underlying labels (Appendix G.1). Appendix T gives the schema and a worked example.
3.2. AET: a five-stage data generation pipeline
AET connects five stages (Figure 2). (1) Collect natural failures across environments, harnesses and policies, preserving action–observation traces and screening out known infrastructure or grader faults from agent-error targets. (2) Diagnose the error location and responsible agent, with a trace-cited explanation and proposed correction, following AgentDebug (Zhu et al., 2025) through AgentDebugX (Zhu et al., 2026). (3) Ground the diagnosis in the student-visible trace through structural and semantic checks, recording accepted and rejected proposals. (4) Replay, where supported, tests the correction against a fresh original-action retry from the same checkpoint under matched policy, harness, budget and verifier settings. Both outcomes are retained; recovery supports a correction under those conditions, without establishing a unique root cause. (5) Build views for diagnosis SFT, recovery SFT and action preferences, each with its own evidence and split requirements (Section 4). Diagnosis records require no replay; recovery targets require an executed, passing continuation, and preferences require a valid shared-input comparison. Stored failures can receive additional diagnoses without new rollouts, while records that fail a view's admission rules remain available for collection audits. Appendix D.1 gives the stage contracts and Appendix E.6 the review rubric.
3.3. Collection scope and training subsets
We check source linkage, error-step presence and trace citations before counting a pair. The environment inventory includes benchmarks, synthetic tasks and simplified ports; it is not a count of public benchmarks. An error–diagnosis pair joins one failed execution with one recorded diagnosis. Different model, seed or temperature rollouts can contribute distinct failed runs; additional diagnoses of one run add pairs, not runs. Source-task grouping keeps related executions together for splitting and uncertainty estimates. Collection membership does not imply training eligibility or a verified repair. Figure 3 shows 50,228 pairs linked to 38,278 stored source-trace blobs and 9,961 source tasks (1.31 pairs per blob). Blob identities do not establish a count of independent executions. Both panels use this index; Appendix C.2 distinguishes collection counts from training subsets.
The separately frozen diagnosis release used in Section 5 contains 4,319 rows over 2,309 source tasks in 15 environments, each environment produced by up to nine harness families and ten policy models (Table 12). The collection, replay cohort and objective-specific training subsets have different admission rules.
(a) Pairs by environment

(b) Pairs by harness

Figure 3: Error–diagnosis pair composition, current audit. Both panels include all 50,228 source-linked pairs. (a) Environment shares. (b) Harness counts; small sources are grouped. Across this cohort, 33 environments and 19 harness families meet the ten-source-task floor. These are collection shares, not failure rates or training-admission rates (Appendix C.2); the full distributions appear in Appendix B.6.
Appendix B.1 analyzes source coverage and diagnosis multiplicity on this same collection index.
Failure profiles across harnesses. We also examine an earlier, trajectory-deduplicated taxonomy study (Figure 4). The differences motivate checking error-type coverage alongside environment counts when selecting training examples. Appendix G.1 identifies this historical subset and its sampling and labeling limitations.
4. Training Views
AED constructs learning examples from failures by selecting the visible history and target responses, then applies standard post-training objectives. For example , let be the visible context, the target response, its binary token mask and the number of target tokens. Real examples have ; actor padding contributes zero loss and zero tokens. With model and optimizer window , the evaluated SFT losses are
(1)
Only target assistant tokens receive loss, including the actor end-of-turn token; context and tool observations receive no loss. Diagnosis uses per-example means; actor normalization spans all ranks and accumulation steps.
Diagnosis. Diagnosis pairs the failed trace with : attributed step, responsible agent, explanation with evidence and proposed correction. Compact targets retain only attribution, optionally with a short rationale. Inputs exclude construction-only verifier context, successful references and replay outcomes; admission does not require successful replay.
Prevention and recovery. Each preventive example pairs pre-error history with an executed passing action, , using the inference chat prefix. The post-error variant adds the original erroneous action and its rejection as masked context, then supervises the correction, with or without a diagnosis-derived reflection. Only state-preserving rejections enter post-error context; other repair examples use pre-error history. Neither form includes the later failed suffix. Section 5.3 specifies the success/repair mixtures.

Figure 4: Failure profiles across harnesses. Historical machine labels: 2,092 of 2,604 trajectories classified. The nine displayed groups contain 2,588 trajectories (2,086 classified); 16 trajectories fall outside these groups. Bars show conditional family shares; coverage retains abstentions. Task mixtures differ across harnesses, so this is an exploratory subset comparison, not a causal effect or the full-collection distribution (Appendix G.1).
Takeaway: Exploratory error profiles differ across harnesses
Action-error labels lead in 8 of the 9 shown harnesses, including the planner–executor harness (61.7%). The agent instead concentrates labels on verification and observation (61.3%). These exploratory profiles motivate error-type coverage checks alongside environment counts.
Outcome and preference views. Replay retains corrected-action and original-action outcomes, including negative and zero contrasts. A preference pair requires executed alternatives from the same state and a positive outcome contrast under the construction protocol. We evaluate SFT; the offline action-DPO (Rafailov et al., 2023) pilot establishes no recovery benefit (Appendix I.15). Appendix Q.3 gives the loss definitions and implementation checks.
5. Experiments
We evaluate diagnosis production, correction utility, diagnosis learning and actor training recipes. Appendix I.5 specifies comparison scope.
Setup. Trainable models start from Qwen3-8B (Yang et al., 2025); each study uses a frozen, objective-specific population. Internal splits hold out source tasks; we audit public overlap below. Missing or unparseable responses count as misses. Public comparisons share visible inputs and scorers within each protocol; exact-step scores use task-family macro or case-level micro averages. Seed SD measures run variability; paired task-family intervals measure evaluation sampling. Actors measure initial-state task success. Appendices I.3 and I.8 specify checkpoint selection, budgets, prompts and admission.
5.1. Diagnosis production and correction utility
The citation-first judge produces trace-cited diagnoses for 93.5% of the common failure pool, compared with 48.4–65.8% for the evaluated alternatives (Table 47b in the appendix). This measures production yield, not independent label accuracy; rendering and teacher access differ across configurations.
First-proposal corrections raise verifier success from 18.4% to 51.1%, a 32.7-point gain (task-clustered 95% interval: 28.4–37.0) over original-action retries without selecting among repeated proposals (Figure 1a). Appendix X retains paired uncertainty, costs, the search-selected contrast and restored-harness sensitivity; Appendix B.2 analyzes paired outcomes and revisions.
In a separate supplied-location study, diagnosis-guided continuation scores 31.3%, versus 26.0% for generic reconsider-a Internal model comparison

AED: 1,656 tasks · mean ± SD, 3 seeds
b Learning from more failures

Small open points: individual seeds
Figure 5: Diagnosis learning and training scale. (a) Exact-step agreement with internal teacher labels against prompted references. (b) Four nested training sizes, each with three seeds: means ± sample SD, individual runs (open points) and untrained base (dashed line). All scores are case-level micro averages against recorded teacher labels on the same 943 cases. Checkpoint selection varies across sizes; protocols, score provenance and complete results: Appendix I.11 and Table 48.
ation and 18.6% for replay (Figure 1c). Its paired gain over generic reconsideration remains uncertain (Appendix H.2). Both studies test correction at a supplied location; neither tests autonomous detection or actor post-training. The replay cohort does not join the frozen diagnosis release. Matched-size filtering establishes no learning benefit from stricter admission under the tested recipe (Appendix X).
5.2. Can AED train a competitive failure-diagnosis model?
Internal localization. Full-diagnosis SFT raises exact-step agreement at each of four nested training sizes; even the smallest subset improves on the untrained base (Figure 5). We report case-level micro agreement because the responsible-agent label is constant on this holdout. The student learns from consensus-generated labels, whereas the references receive no training on these labels. The comparison measures agreement with the recorded annotations, including their conventions and defects, rather than a general ranking of diagnostic ability. Appendix S explains the heterogeneous teachers and the recorded Gemini 3.6 Flash arbiter.
Independent labels and protocol sensitivity. Public benchmarks (Zhang et al., 2025b; Qi et al., 2026) provide independent labels but can share tasks with training. The 1,656-task arm's three seeds improve on the base on Who&When under the unified protocol. These full-cohort scores include tasks shared with training. After excluding flagged task overlap, its interval includes zero (Table 15). Retraining after replacing flagged examples retains a positive contrast under this protocol (Table 16), but does not establish broad transfer. Mean TrajErrBench accuracy remains below base. We retain one checkpoint per seed across benchmarks (Appendix I.1).
Table 2 tests the 948-task, seed-17 student under a different public protocol. Full-diagnosis training loses both responsible-agent and exact-step accuracy on Who&When; answer-format continuation recovers part of the deficit but changes training exposure as well as format. AgentErrorBench point estimates improve without a clear paired advantage. Under the same frozen cases and first-call contract (Table 3), the answer-format student exceeds four prompted frontier references on responsible-agent attribution in both hand-crafted conditions, but not on the algorithm-generated conditions, exact step or AgentErrorBench. Appendix V.1 explains the student's reused first calls, the base run and the token-budget exclusion of two further references. The larger arm also loses Who&When accuracy under benchmark-specific protocols, which change input rendering, answer schema and step indexing as well as wording.
Matched resource comparison. With a common base, compact-attribution recipe and matched source-task count, AED and AgenTracer data each lead on a different test distribution (Table 11). AgenTracer's largest advantage occurs
Table 2: Public attribution under a shared prompt. All-case percentages for the 948-task, single-seed student and its answer-format continuation. HC/AG: hand-crafted/algorithm-generated; gold is the task answer. Budget-forced continuation is enabled. Protocols and comparison scope: Appendix I.5.
| (a) Who&When: agent / exact step (%) | ||||
|---|---|---|---|---|
| Model or training resource | HC | HC + gold | AG | AG + gold |
| Qwen3-8B base | 56.90/20.69 | 51.72/18.97 | 56.35/37.30 | 55.56/38.89 |
| AED diagnosis SFT | 50.00/15.52 | 44.83/13.79 | 23.81/15.87 | 11.11/9.52 |
| + answer-format diversity | 70.69/24.14 | 68.97/22.41 | 59.52/34.92 | 58.73/34.13 |
| (b) AgentErrorBench: exact step / step+module (%) | ||||
| Model or training resource | ALFWorld | WebShop | GAIA | Env. macro |
| Qwen3-8B base | 12.00/1.00 | 18.00/0.00 | 20.00/4.00 | 16.67/1.67 |
| AED diagnosis SFT | 19.00/5.00 | 20.00/2.00 | 22.00/8.00 | 20.33/5.00 |
| + answer-format diversity | 18.00/5.00 | 18.00/0.00 | 30.00/4.00 | 22.00/3.00 |
Bold: highest displayed score per metric among the rows shown, including ties; not statistical significance.
Table 3: Frontier references under a shared prompt. All-case responsible-agent / exact-step accuracy (%) on the same frozen cases, first call only, with no continuation responses scored. Bold marks per-metric column maxima. Student first calls come from the run in Table 2. Run provenance, repeat variation and exclusions: Appendix V.1.
| Model or training resource | Who&When | AEB | |||
|---|---|---|---|---|---|
| HC | HC + gold | AG | AG + gold | ||
| Prompted references, same unified attribution prompt | |||||
| Gemini 3.7 Flash | 25.86/8.62 | 25.86/10.34 | 38.10/26.19 | 38.89/27.78 | 21.50/25.00 |
| GPT-5.6 Sol | 51.72/25.86 | 58.62/34.48 | 67.46/55.56 | 66.67/49.21 | 18.50/25.50 |
| Claude Opus 5 | 43.10/24.14 | 50.00/22.41 | 49.21/32.54 | 48.41/33.33 | 16.50/23.50 |
| Claude Sonnet 5 | 56.90/20.69 | 60.34/32.76 | 65.87/49.21 | 65.87/48.41 | 23.00/27.50 |
| Ours, same prompt and the same frozen cases | |||||
| Qwen3-8B base | 22.41/8.62 | 17.24/8.62 | 18.25/15.87 | 19.05/13.49 | 6.50/16.50 |
| + AED diagnosis SFT, answer-format | 70.69/24.14 | 68.97/22.41 | 59.52/34.92 | 58.73/34.13 | 10.50/21.00 |
on injected errors, alongside task and annotation differences. Compact-target AED does not beat the base internally. This compares training resources under one student recipe, not AgenTracer's RL system (Zhang et al., 2026a) or a controlled ablation of full-diagnosis targets.
Overlap audits place the scaling gain outside identified high-overlap subsets, but training and holdout share environments and many harness-policy combinations (Appendix I.5).
Takeaway: Internal agreement improves; broad transfer is environment dependent
Full-diagnosis supervision improves agreement with the recorded internal labels. External results depend on the benchmark, answer contract and task overlap; resource rankings reverse across test distributions.
5.3. Can repair supervision improve the acting policy?
We compare success-only SFT with preventive, post-error action-only and reflective repair supervision. The success-only control follows interaction tuning (Zeng et al., 2024) using our pool, not AgentTuning's data. All actors start held-out tasks without a test-time teacher. The single-seed recipes differ in task pools, exposure and optimizer updates; their contrasts measure the combined recipe, not repair supervision alone.
The evaluated repair-containing recipes score higher on WebShop-lite and lower on TextQuest (Figure 6). Action-only and reflective WebShop gains and all TextQuest losses survive the post-hoc multiplicity adjustment. Other differences are not detected, which does not establish equivalence. Reflection adds no detected benefit over action-only targets.
WebShop-lite gains accompany shorter episodes, while many newly lost TextQuest tasks hit the step limit. These

Change in initial-state success vs success-only SFT (pp)
Figure 6: Repair-containing recipes: gains and losses across environments. All 18 paired percentage-point contrasts against success-only SFT; filled markers and * indicate post-hoc Holm-adjusted significance across tasks, conditional on one training seed. Task pools and exposure differ. Planned denominators include run errors. Absolute scores and the untrained base: Appendix X.2.
associations do not isolate a budget mechanism from exposure or update-count differences (Appendix X).
Transfer scope. The six development environments test held-out tasks within actor-training environments, outside the frozen core diagnosis corpus. On real ALFWorld and ScienceWorld, the preventive arm loses to the untrained policy. Only that recipe has this real-environment comparison; ScienceWorld omits six run errors from its repair denominator (Appendix X).
Takeaway: Repair utility is environment-dependent
The evaluated repair-containing recipes improve WebShop-lite. TextQuest and real-environment losses limit the result to the tested recipes and environments.
6. Discussion and Conclusion
AED organizes failed experience for analysis, diagnosis and corrective supervision. We find useful corrections and improved agreement with internal diagnostic labels, with protocol-dependent public transfer and mixed actor outcomes. The 50,228-pair collection supports analysis across execution settings; learning results concern smaller frozen populations. Historical supervision omits policy context, and later checks do not validate it retroactively (Appendix A). Correction utility, label validity and learned recovery each require their own evidence.
Ethics statement
We construct AED from public benchmarks, synthetic tasks, and simulated environments to study agent behavior, without seeking to collect personal information. Repository-based tasks, such as SWE-bench (Jimenez et al., 2024), may nevertheless expose contributor names, email addresses, or identifying text in code comments and issue discussions. This source-dependent privacy risk is shared with software-engineering benchmarks and can persist in derived trajectories. Public availability alone does not establish that the content is free of personal information or unrestricted for redistribution. Any release of our data will therefore be subject to source-specific privacy review and licensing restrictions, including redaction of sensitive content and unnecessary personal identifiers while preserving required attribution.
The human review involved four paper authors with doctoral or AI/LLM research backgrounds who participated voluntarily. We report their judgments using anonymous rater identifiers and aggregate statistics.
AI use statement
We used generative AI to aid writing and editing; to support research ideation and execution, including experimental design, method implementation, data processing, analysis and interpretation; and to generate synthetic tasks, diagnoses and proposed corrections as described in Section 3.2 and the construction appendices. We also used AI for literature discovery, design critique and illustration. We test generated code and check measured claims against sources and versioned records; automated checks and the completed AI-assisted human audit have the scopes stated in Appendices E.5 and W. Figure 2 uses author-supplied artwork. The authors take responsibility for the paper and its claims.
Reproducibility statement
Appendices D, Q, and A specify splits, interventions, statistics and run manifests. Following acceptance, we plan to open-source the code on GitHub and release model checkpoints and data, subject to source licenses, privacy review and redistribution rights. The planned release includes splits, prompts, evaluation protocols and result generators.
References
Anthropic. Claude Fable 5.1. Claude Platform documentation, 2026. URL https://platform.claude.com/docs/en/models/fable-5-1/overview. Accessed September 24, 2026.
Ron Artstein and Massimo Poesio. Survey article: Inter-coder agreement for computational linguistics. Computational Linguistics, 34(4):555–596, 2008. doi: 10.1162/coli.07-034-R2. URL https://aclanthology.org/J08-4004/.
Shraddha Barke, Arnav Goyal, Alind Khare, Avaljot Singh, Suman Nath, and Chetan Bansal. Agentrx: Diagnosing ai agent failures from execution trajectories. arXiv preprint arXiv:2602.02475, 2026.
Mert Cemri, Andrei Cojocaru, Melissa Pan, Shu Liu, Shubham Agarwal, Alexander Krentsel, Jay Tang, Kannan Ramchandran, Joseph E. Gonzalez, Matei Zaharia, Alex Dimakis, and Ion Stoica. Fantastic adaptive taxonomies and how to use them, 2026a. URL https://arxiv.org/abs/2607.16387.
Mert Cemri, Melissa Z Pan, Shuyi Yang, Lakshya A Agrawal, Bhavya Chopra, Rishabh Tiwari, Kurt Keutzer, Aditya Parameswaran, Dan Klein, Kannan Ramchandran, et al. Why do multi-agent llm systems fail? Advances in Neural Information Processing Systems, 38, 2026b.
Mengzhuo Chen, Junjie Wang, Fangwen Mu, Yawen Wang, Zhe Liu, Huanxiang Feng, and Qing Wang. Seeing the whole elephant: A benchmark for failure attribution in llm-based multi-agent systems, 2026. URL https://arxiv.org/abs/2604.22708.
Yihan Chen, Benfeng Xu, Xiaorui Wang, Yongdong Zhang, and Zhendong Mao. Training llm-based agents with synthetic self-reflected trajectories and partial masking. arXiv preprint arXiv:2505.20023, 2025.
DeepSeek-AI. DeepSeek-V4.1-Flash: Pushing the limits of KV cache compression, 2026. URL https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash.
Darshan Deshpande, Varun Gangal, Hersh Mehta, Jitin Krishnan, Anand Kannappan, and Rebecca Qian. Trail: Trace reasoning and agentic issue localization. arXiv preprint arXiv:2505.08638, 2025.
Liang Ding. Agenther: Hindsight experience replay for llm agent trajectory relabeling. arXiv preprint arXiv:2603.21357, 2026.
Earendil Works. Pi: An extensible AI agent for the terminal. Software and documentation, 2026. URL https://github.com/earendil-works/pi. Accessed 2026-09-25.
Tao Feng, Chuanyang Jin, Jingyu Liu, Kunlun Zhu, Haoqin Tu, Zirui Cheng, Guanyu Lin, and Jiaxuan You. How far are we from AGI: Are LLMs all we need? arXiv preprint arXiv:2405.10313, 2024. URL https://arxiv.org/abs/2405.10313.
Timnit Gebru, Jamie Morgenstern, Briana Vecchione, Jennifer Wortman Vaughan, Hanna Wallach, Hal Daumé III, and Kate Crawford. Datasheets for datasets. 2021. URL https://arxiv.org/abs/1803.09010.
Edward J Hu, yelong shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=nZeVKeeFYf9.
Carlos E Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik R Narasimhan. SWE-bench: Can language models resolve real-world github issues? In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=VTF8yNQM66.
Fanqi Kong, Ruijie Zhang, Huaxiao Yin, Guibin Zhang, Xiaofei Zhang, Ziang Chen, Zhaowei Zhang, Xiaoyuan Zhang, Song-Chun Zhu, and Xue Feng. Aegis: Automated error generation and attribution for multi-agent systems. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=zqcYoxXiN3.
Canasai Kruengkrai and Koichiro Yoshino. Teaching text agents to learn sequential decision making from failure. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 31619–31635, 2025.
Aviral Kumar, Vincent Zhuang, Rishabh Agarwal, Yi Su, John D Co-Reyes, Avi Singh, Kate Baumli, Shariq Iqbal, Colton Bishop, Rebecca Roelofs, et al. Training language models to self-correct via reinforcement learning. In International Conference on Learning Representations, volume 2025, pp. 54523–54549, 2025.
Li-Cheng Lan, Andrew Bai, Minhao Cheng, Cho-Jui Hsieh, and Tianyi Zhou. Exploring expert failures improves llm agent tuning. arXiv preprint arXiv:2504.13145, 2025.
Mukai Li, Qingcheng Zeng, Tianqing Fang, Zhenwen Liang, Linfeng Song, Qi Liu, Haitao Mi, and Dong Yu. Verified critical step optimization for llm agents. In Findings of the Association for Computational Linguistics: ACL 2026, pp. 39627–39639, 2026.
Bang Liu, Xinfeng Li, Jiayi Zhang, Jinlin Wang, Tanjin He, Sirui Hong, Hongzhang Liu, Shaokun Zhang, Kaitao Song, Kunlun Zhu, Yuheng Cheng, Suyuchen Wang, Xiaoqiang Wang, Yuyu Luo, Haibo Jin, Peiyan Zhang, Ollie Liu, Jiaqi Chen, Huan Zhang, Zhaoyang Yu, Haochen Shi, Boyan Li, Dekun Wu, Fengwei Teng, Xiaojun Jia, Jiawei Xu, Jinyu Xiang, Yizhang Lin, Tianming Liu, Tongliang Liu, Yu Su, Huan Sun, Glen Berseth, Jianyun Nie, Ian Foster, Logan Ward, Qingyun Wu, Yu Gu, Mingchen Zhuge, Xinbing Liang, Xiangru Tang, Haohan Wang, Jiaxuan You, Chi Wang, Jian Pei, Qiang Yang, Xiaoliang Qi, and Chenglin Wu. Advances and challenges in foundation agents: From brain-inspired intelligence to evolutionary, collaborative, and safe systems, 2025. URL https://arxiv.org/abs/2504.01990.
Jiale Liu, Huajun Xi, Shaokun Zhang, Yifan Zeng, Tianwei Yue, Chi Wang, Jian Kang, Qingyun Wu, and Huazheng Wang. Who&when pro: Can llms really attribute failures in ai agents?, 2026. URL https://arxiv.org/abs/2607.09996.
Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization, 2019. URL https://arxiv.org/abs/1711.05101.
Moonshot AI. Kimi K3. Official model card, 2026. URL https://huggingface.co/moonshotai/Kimi-K3.
OpenAI. GPT-6 Astra. OpenAI API documentation, 2026. URL https://developers.openai.com/api/docs/models/gpt-6-astra. Accessed September 24, 2026.
Jiayi Pan, Xingyao Wang, Graham Neubig, Navdeep Jaitly, Heng Ji, Alane Suhr, and Yizhe Zhang. Training software engineering agents and verifiers with swe-gym. arXiv preprint arXiv:2412.21139, 2024.
Yunjia Qi, Zehua Yin, Xintong Shi, Hao Peng, Songyuanyi Lu, Yixian Liu, Richeng Xuan, Yuhong Liu, Zhichao Hu, Xiaozhi Wang, Lei Hou, Bin Xu, and Juanzi Li. Trajdebug: Tracing error lifecycle to identify critical failures in long-horizon agent trajectories, 2026. URL https://arxiv.org/abs/2608.06346.
Yujia Qin, Shengding Hu, Yankai Lin, Weize Chen, Ning Ding, Ganqu Cui, Zheni Zeng, Yufei Huang, Chaojun Xiao, Chi Han, Yi Ren Fung, Yusheng Su, Huadong Wang, Cheng Qian, Runchu Tian, Kunlun Zhu, Shihao Liang, Xingyu Shen, Bokai Xu, Zhen Zhang, Yining Ye, Bowen Li, Ziwei Tang, Jing Yi, Yuzhang Zhu, Zhenning Dai, Lan Yan, Xin Cong, Yaxi Lu, Weilin Zhao, Yuxiang Huang, Junxi Yan, Xu Han, Xian Sun, Dahai Li, Jason Phang, Cheng Yang, Tongshuang Wu, Heng Ji, Zhiyuan Liu, and Maosong Sun. Tool learning with foundation models. 2024. URL https://arxiv.org/abs/2304.08354.
Qwen Team. Qwen3.8-Flash-Next: A new architecture, towards ultimate cost-efficiency, August 2026. URL https://qwen.ai/blog?id=qwen3.8-flash-next.
Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D Manning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. Advances in neural information processing systems, 36:53728–53741, 2023.
Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning. Advances in neural information processing systems, 36:8634–8652, 2023.
Yueqi Song, Ketan Ramaneti, Zaid Sheikh, Ziru Chen, Boyu Gou, Tianbao Xie, Yiheng Xu, Danyang Zhang, Apurva Gandhi, Fan Yang, et al. Agent data protocol: Unifying datasets for diverse, effective fine-tuning of llm agents. In International Conference on Learning Representations, volume 2026, pp. 143153–143173, 2026.
Jiaming Wang, Ziteng Feng, Jiangtao Wu, Ruihao Li, Qianqian Xie, Yuxiang Ren, He Zhu, Xueming Han, Fanyu Meng, Junlan Feng, and Jiaheng Liu. Where do deep-research agents go wrong? span-level error localization in agent trajectories, 2026a. URL https://arxiv.org/abs/2606.02060.
Minxing Wang, Xiaofei Xie, and Yintong Huo. Trajaudit: Automated failure diagnosis for agentic coding systems, 2026b. URL https://arxiv.org/abs/2605.26563.
Xingyao Wang, Simon Rosenberg, Juan Michelini, Calvin Smith, Hoang Tran, Engel Nyst, Rohit Malhotra, Xuhui Zhou, Valerie Chen, Robert Brennan, and Graham Neubig. The openhands software agent sdk: A composable and extensible foundation for production agents. 2026c. URL https://arxiv.org/abs/2511.03690.
Zihan Wang, Kangrui Wang, Qineng Wang, Pingyue Zhang, Linjie Li, Zhengyuan Yang, Xing Jin, Kefan Yu, Minh Nhat Nguyen, Licheng Liu, Eli Gottlieb, Yiping Lu, Kyunghyun Cho, Jiajun Wu, Li Fei-Fei, Lijuan Wang, Yejin Choi, and Manling Li. Ragen: Understanding self-evolution in llm agents via multi-turn reinforcement learning. 2025. URL https://arxiv.org/abs/2504.20073.
Yufei Xia, Anjun Gao, Yueyang Quan, Zhuqing Liu, and Minghong Fang. Who broke the system? failure localization in llm-based multi-agent systems, 2026. URL https://arxiv.org/abs/2607.07989.
Zhangchen Xu, Adriana Meza Soria, Shawn Tan, Anurag Roy, Ashish Sunil Agrawal, Radha Poovendran, and Rameswar Panda. Toucan: Synthesizing 1.5 m tool-agentic data from real-world mcp environments. arXiv preprint arXiv:2510.01179, 2025.
An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, Chujie Zheng, Dayiheng Liu, Fan Zhou, Fei Huang, Feng Hu, Hao Ge, Haoran Wei, Huan Lin, Jialong Tang, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jing Zhou, Jingren Zhou, Junyang Lin, Kai Dang, Keqin Bao, Kexin Yang, Le Yu, Lianghao Deng, Mei Li, Mingfeng Xue, Mingze Li, Pei Zhang, Peng Wang, Qin Zhu, Rui Men, Ruize Gao, Shixuan Liu, Shuang Luo, Tianhao Li, Tianyi Tang, Wenbiao Yin, Xingzhang Ren, Xinyu Wang, Xinyu Zhang, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yinger Zhang, Yu Wan, Yuqiong
Liu, Zekun Wang, Zeyu Cui, Zhenru Zhang, Zhipeng Zhou, and Zihan Qiu. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025. URL https://arxiv.org/abs/2505.09388.
John Yang, Kilian Lieret, Carlos Jimenez, Alexander Wettig, Kabir Khandpur, Yanzhe Zhang, Binyuan Hui, Ofir Press, Ludwig Schmidt, and Diyi Yang. Swe-smith: Scaling data for software engineering agents. Advances in Neural Information Processing Systems, 38, 2026.
Shunyu Yao, Howard Chen, John Yang, and Karthik R Narasimhan. Webshop: Towards scalable real-world web interaction with grounded language agents. In Alice H. Oh, Alekh Agarwal, Danielle Belgrave, and Kyunghyun Cho (eds.), Advances in Neural Information Processing Systems, 2022. URL https://openreview.net/forum?id=R9KnuFlvnU.
Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. React: Synergizing reasoning and acting in language models, 2023. URL https://arxiv.org/abs/2210.03629.
Bo Yin, Qi Li, and Xinchao Wang. On-policy self-evolution via failure trajectories for agentic safety alignment. arXiv preprint arXiv:2605.11882, 2026.
Siyu Yuan, Zehui Chen, Zhiheng Xi, Junjie Ye, Zhengyin Du, and Jiecao Chen. Agent-r: Training language model agents to reflect via iterative self-training. arXiv preprint arXiv:2501.11425, 2025.
Aohan Zeng, Mingdao Liu, Rui Lu, Bowen Wang, Xiao Liu, Yuxiao Dong, and Jie Tang. AgentTuning: Enabling generalized agent abilities for LLMs. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), Findings of the Association for Computational Linguistics: ACL 2024, pp. 3053–3077, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.findings-acl.181. URL https://aclanthology.org/2024.findings-acl.181/.
Guibin Zhang, Junhao Wang, Junjie Chen, Wangchunshu Zhou, Kun Wang, and Shuicheng Yan. Agentracer: Who is inducing failure in the llm agentic systems? In International Conference on Learning Representations, volume 2026, pp. 11377–11399, 2026a.
Hanchen Zhang, Xiao Liu, Bowen Lv, Xueqiao Sun, Bohao Jing, Iat Long Long, Zhenyu Hou, Zehan Qi, Hanyu Lai, Yifan Xu, Rui Lu, Hongning Wang, Jie Tang, and Yuxiao Dong. Agentrl: Scaling agentic reinforcement learning with a multi-turn, multi-task framework. 2025a. URL https://arxiv.org/abs/2510.04206.
Shaokun Zhang, Ming Yin, Jieyu Zhang, Jiale Liu, Zhiguang Han, Jingyang Zhang, Beibin Li, Chi Wang, Huazheng Wang, Yiran Chen, and Qingyun Wu. Which agent causes task failures and when? on automated failure attribution of LLM multi-agent systems. In Forty-second International Conference on Machine Learning, 2025b. URL https://openreview.net/forum?id=GazlTYxZss.
Weijia Zhang, Kunlun Zhu, Zeyi Liu, Yinting Chen, Tianyi Ma, Jiateng Liu, Jiaxun Zhang, Bingxuan Li, Xiangru Tang, Heng Ji, et al. Cuadebug: Diagnosing and repairing computer-use agent failures. arXiv preprint arXiv:2608.02643, 2026b.
Wayne Xin Zhao, Kun Zhou, Junyi Li, Tianyi Tang, Zican Dong, Yupeng Hou, Beichen Zhang, Yingqian Min, Junjie Zhang, Peiyu Liu, Xiaolei Wang, Yifan Du, Chen Yang, Yushuo Chen, Zhipeng Chen, Jinhao Jiang, Ruiyang Ren, Yifan Li, Xinyu Tang, Zikang Liu, Yiwen Hu, Jian-Yun Nie, and Ji-Rong Wen. A survey of large language models. Frontiers of Computer Science, 20(12), May 2026. ISSN 2095-2236. doi: 10.1007/s11704-026-60308-3. URL http://dx.doi.org/10.1007/s11704-026-60308-3.
Kunlun Zhu, Zijia Liu, Bingxuan Li, Muxin Tian, Yingxuan Yang, Jiaxun Zhang, Pengrui Han, Qipeng Xie, Fuyang Cui, Weijia Zhang, et al. Where llm agents fail and how they can learn from failures. arXiv preprint arXiv:2509.25370, 2025.
Kunlun Zhu, Xuyan Ye, Zhiguang Han, Yuchen Zhao, Bingxuan Li, Weijia Zhang, Muxin Tian, Xiangru Tang, Pan Lu, James Zou, et al. Agentdebugx: An open-source toolkit for failure observability, attribution, and recovery in llm agents. arXiv preprint arXiv:2607.18754, 2026.
Supplementary Material
This supplement opens with the scope and limitations of the collection and experiments (Appendix A). The dataset analyses in Appendix B examine coverage, error profiles, and corrective evidence. Full-collection coverage uses the source-linked pair index in Figure 3; the error-profile and rollout studies identify their dated cohorts and counting units. Training and replay experiments retain their evaluated cohorts. Debugger-training results appear in the main text and Appendix I. Actor results measure initial-state task success under the evaluated training recipes.
Contents
A Limitations and Reproducibility ..... 15
B Dataset analysis and corrective evidence ..... 16
C Evidence grades, counting and populations ..... 23
D Construction, Replay, and Evidence ..... 25
E Construction Audit and Annotation Quality ..... 27
F Case Studies ..... 32
G Taxonomy definitions and validation study ..... 33
H Result tables for the body figures ..... 34
I Training results and comparison protocols ..... 37
J Additional detail for the experiments ..... 51
K Sensitivity Analyses ..... 52
L Error reporting on successful trajectories ..... 53
M Sensitivity to the supplied error location ..... 53
N Output-contract and abstention controls ..... 54
O Corpus Composition and Coverage ..... 54
P Prior evaluation exposure and the current split ..... 55
Q Training and Evaluation Protocols ..... 56
R Replication of single-trial contrasts ..... 58
S Supervision comparison: current and historical cohorts ..... 59
T Record Schema and Training Views ..... 60
U Core Prompts ..... 63
V Supporting public-reference results ..... 64
W AI-assisted human review ..... 65
X Supplementary experiment details ..... 70
Collection attempts, the frozen diagnosis split and replay trials have different denominators (Table 7). Human-review results appear in Appendix W.1.
Read Appendix A for the relation between collection scale and training use, Appendix B for the findings and their evidence, Appendix F.1 for a worked repair, and Appendix I for training and baseline comparisons. Counting rules and release scope appear in Appendix C.2; protocols and prompts appear in Appendices Q and U.
A. Limitations and Reproducibility
Collection scale and training use. We use the full collection to measure coverage across tasks, environments, harnesses and policies (Figure 3). Detailed error-profile and rollout studies use dated cohorts with their own denominators (Appendix B). Collection size counts error–diagnosis pairs; it does not count independent executions or training-ready examples.
Diagnosis supervision requires a supported attribution; repair SFT requires an executed passing continuation with valid history, and preference learning requires comparable executed alternatives (Table 39). Task grouping and checks of student-visible information guide selection; they do not establish that smaller subsets are optimal. The observed gains concern frozen, objective-specific subsets and recipes; they do not measure full-collection utility or show that heterogeneous sources cannot be pooled.
The final collection index, earlier frozen diagnosis subsets and separate actor-development pool are versioned populations, not a verified nested filtering chain from the final collection (Table 7). We report selection within each experiment's source population; their counts are not additive. Inclusion in coverage statistics does not establish a learning benefit for each retained record.
Evaluated version and subsequent revisions. The diagnosis experiments use an earlier frozen release with incomplete policy context: construction omitted policy system prompts and tool lists and predates the current semantic trace-support and expanded failure-screening checks. Replay already existed; we do not claim that all collection rows passed the later checks. We retain the original inputs and splits and identify replacement-data conditions. This does not resolve the earlier label defects (Appendix E.5). The completed historical human audit appears in Appendix W. These results measure learning from the recorded supervision; they do not validate the revised pipeline or the full collection.
| Scope of the reported evidence | |
|---|---|
| Scope | Interpretation of the measured results |
| Label validity | Quotation matching checks presence, not entailment or a unique cause. Teacher references and reconstructed traces require student-visibility audits. The assisted human audit finds higher agreement on error location than on diagnosis acceptance; its coverage-selected sample cannot estimate collection-wide accuracy. |
| Construction benefit | Paired replay tests correction utility, not attribution accuracy. Production yield and historical student comparisons differ in teacher access or task selection and do not isolate pipeline label quality. |
| Coverage and error rates | Failure-only samples cannot estimate deployment failure rates. Unequal task and model mixtures confound harness rankings and model-version trends. Text-only coverage, sparse coding cells and procedural stand-ins limit generality; environment counts are not counts of public benchmarks. |
| Diagnostic transfer | Internal holdouts share environments and often harnesses and policies with training. Public comparisons depend on reference access, prompts, coordinates and budgets. Localization on known failures does not test general failure detection, and current comparisons do not establish public SOTA. |
| Learned repair | Paired replay measures an intervention outcome, not learned autonomous recovery. Actor gains vary by environment, and the single-seed recipe comparisons also differ in exposure and update count. The action-DPO pilot measures offline preferences rather than task recovery. |
Filtering changes task composition as well as label quality; without controlling common task support, a training comparison cannot isolate these effects. Appendix I.5 explains the scope of these comparisons.
Reproducibility materials. We retain manifests, splits, responses, replay outcomes, prompts, checksums and exclusion reasons. Appendix C.2 specifies task grouping; Appendix I.7 separates measured costs from projections.
B. Dataset analysis and corrective evidence
B.1. Coverage and multiplicity in the current collection
This analysis uses all 50,228 source-linked pairs in Figure 3, with the same pair identities and source-task grouping. We recompute the counts from the hash-bound metadata index; no historical labeling sample enters this summary. A source blob is a distinct stored source-trace object; its identity alone does not establish an independent execution.
Table 4: Current collection coverage and multiplicity. Pair, source-blob and task counts describe different units. Blob identities do not establish independent executions.
| Measure | Count |
|---|---|
| Error-diagnosis pairs | 50,228 |
| Distinct source blobs | 38,278 |
| Environment-scoped source tasks | 9,961 |
| Environments / harness families / policy models | 33/19/23 |
| Nonempty environment-harness cells | 280 |
| Source blobs with multiple diagnoses | 9,846 |
| Pairs per source blob, mean | 1.31 |
| Pairs per source task, median / 90th percentile | 2/10 |
Collection breadth and concentration. BFCL, the largest source, supplies 11.0% of pairs; the five largest environments supply 44.0%. The five largest harness families supply 78.8%, so the collection is broad but unevenly represented. Table 36 retains every environment and its source-task support, including benchmark adaptations and simplified tasks. These shares describe collection composition; without successful-rollout denominators they cannot rank environment difficulty, models or harnesses.
Additional diagnoses share their underlying trace. Multiple diagnoses add 11,950 pairs beyond one per source blob. They can provide alternative explanations or corrections, but do not add independent failure observations. Analyses of error prevalence must group these records by trace and account for repeated source tasks.
Scope of the remaining analyses. Error-type analyses describe the historical labeled cohorts identified in their captions. The replay analysis below uses its own executed cohort; the frozen diagnosis release and actor experiments likewise retain their original inputs and denominators. Collection growth does not change those experimental results.
B.2. Repair outcomes and diagnostic revision
MAST distinguishes failure profiles from system rankings and relates failure modes to task outcomes (Cemri et al., 2026b). We extend this analysis perspective to two properties recorded by AED: what happens when an action changes, and how the diagnosis changes after an unsuccessful correction. The cohorts below have different inclusion rules; neither estimates prevalence in the final collection. AgentDebug motivates diagnosis-guided replay (Zhu et al., 2025); this analysis examines the recorded outcomes, not a new repair algorithm.
Successful correction alone does not isolate corrective benefit. The first proposal succeeds on 1,564 paired attempts, but the original-action retry also succeeds on 470 of them (30.1%). The correction-only and retry-only cells contain 1,094 and 93 attempts; 1,405 fail in both arms. Thus the net paired gain comes from the difference between the discordant cells, not from counting all successful corrections as improvement. The existing task-clustered interval for this contrast appears in Table 47. These observations motivate retaining successful retries and failed corrections, which distinguish passing branches from evidence for an action preference. A single paired outcome does not identify an individual causal effect, prove a repair unnecessary, or satisfy shared-state preference admission by itself.
Revision usually revisits a location. Across 405 multi-round attempts, 1,064 of 1,744 adjacent diagnoses retain the same attributed step (61.0%); 363 move later and 317 earlier. The same-step category is the largest in each wave, rather than an artifact of pooling waves. A fixed location leaves the explanation and proposed action free to change. This argues for retaining the revision history, including unsuccessful proposals, when studying how to correct a failure. It does not establish that later diagnoses are more accurate or that more rounds cause better recovery. Table 35 reports observed later-round yield and its stopping limits.
a What passes on paired replay?

Paired attempts: 3,062
b Where does diagnosis move?

Figure 7: Two views of corrective evidence. (a) First-or-only proposal and original-action retry on 3,062 paired attempts; all four outcomes remain visible. (b) Adjacent attributed-step transitions across three development waves, with each wave's transition count. Transitions within an attempt are dependent. The panels use separate dated cohorts and aggregate reports; they do not describe the final collection or assign validated root causes.
Takeaway: Separate a passing branch from a useful correction
Outcome-only records cannot distinguish success also reached by retrying the original action. Final-diagnosis-only records hide the revisions used to reach that branch. AED preserves both, enabling analyses of correction utility and hypothesis revision under their recorded protocols. Training benefits require the separate controlled comparisons in Section 5.
Success, symptoms and semantic labels measure different things. In MAST, some annotated failure modes also occur in successful traces. Our successful-trajectory prompt control likewise changes error-reporting behavior when the prompt permits abstention (Appendix L). Neither task success nor an error claim provides a semantic correctness label by itself. We therefore keep symptom counts, judge-assigned categories and executed outcomes separate. The labeling-method study in Appendix G reports judge disagreement; it does not estimate error frequencies in the full collection.
B.3. Crossed coverage of the current collection
We recompute Figure 8 from the same 50,228-pair metadata index as Figure 3. Color shows pair counts; dots identify occupied cells with fewer than ten distinct source tasks. Of 280 occupied environment–harness cells, 244 meet this task-support threshold.
Current collection: crossed coverage
50,228 pairs | all 33 environments and 19 harnesses

Figure 8: Where the current collection has support. Rows and columns include all 33 environments and 19 harness families, ordered by pair count. The logarithmic color scale exposes both large and small cells. Gray cells contain no pairs; they do not establish that the combination is unsupported by the harness.
Takeaway: Breadth does not imply a balanced comparison
The collection covers many system configurations, with uneven support across combinations. Comparisons of models or harnesses need shared tasks and successful-rollout denominators; the number of collected failure pairs alone cannot rank their reliability.
B.4. Historical error profiles by model and environment
The September 6, 2026 snapshot contains 2,604 distinct source trajectories: machine labeling classified 2,092 and returned abstentions for the rest. We recount each trajectory once and retain the original codebook. Figure 9 complements the harness profiles in Figure 4 with model and environment breakdowns.
Historical labels | September 6, 2026

Figure 9: The same historical labels, viewed along two axes. Bars normalize by classified trajectories; adjacent counts retain abstentions in the denominator. We display groups with at least 20 attempted labels. All model groups meet that floor; the environment panel omits 87 attempts in smaller groups. This selected cohort includes simplified and excluded environments. Different task mixtures and selective abstention prevent model rankings or estimates of causal environment effects.
Takeaway: Task-specific checks deserve separate error categories
In the classified ALFWorld-lite traces, verification is the largest category (239/761); action and planning together account for 336/423 Text-to-SQL labels. These contrasting profiles motivate retaining task context when designing diagnosis rubrics and repair checks. They describe this historical sample, not the full collection.
Models in panel (a) generated the trajectories; they need not be the labeling judges. Appendix G reports the separate judge-agreement study and its limitations.
B.5. Observable symptoms with successful-rollout denominators
The September 5, 2026 development atlas records 3,596 executions on 200 source tasks across five environments, nine policies and two harnesses. It retains 2,774 successes and 822 failures; 4 of the 3,600 planned executions are missing. We recount the stored outcome and phenotype rows, without rerunning the environments or relabeling the underlying traces.
Historical symptoms, including success denominators
3,596 rollouts | 822 failures | September 5, 2026

Figure 10: Failure symptoms as a share of all observed executions. Each failed execution contributes to one mechanical category; successful executions remain in the denominator. End labels show failed/observed counts. The historical harness implementations predate the typed-tool-schema and native-stop fixes, so this figure describes that development cohort, not current harness quality.
Takeaway: Outcome checks expose failures that action validity misses
Of the 822 failed executions, 248 include a completion action that fails the task verifier. These traces require checking whether the agent met the goal, beyond whether it issued an executable action. AED retains the outcome alongside the actions and observations needed to investigate the discrepancy.
The mechanical categories distinguish malformed actions (176), explicit rejections (265), planning/order failures (133) and silent failures (248). The rules include budget exhaustion under planning/order and certain unsuccessful terminal actions under rejection. These are observable symptoms, not validated root causes. We keep this rollout cohort separate from the judge-labeled profiles above: the latter contain selected failures and cannot supply success denominators.
B.6. Complete distributions behind Figure 3
The two panels below expand every category in the same 50,228-pair collection as Figure 3. No category is omitted or merged here. Rows are ordered by pair count; shares describe collection composition, not failure rates.
Table 5: Complete Figure 3(a): all 33 environments. A dagger marks a category included in an Other group in the main figure. Each share uses all 50,228 pairs as its denominator.
| Rank | Environment | Pairs | Share (%) | Source tasks |
|---|---|---|---|---|
| 1 | BFCL | 5,521 | 10.99 | 470 |
| 2 | ALFWorld | 4,838 | 9.63 | 1,431 |
| 3 | AgentBench-DB | 4,407 | 8.77 | 1,120 |
| 4 | Mind2Web (static) | 4,050 | 8.06 | 527 |
| 5 | AgentBench-OS | 3,309 | 6.59 | 485 |
| 6 | -bench retail | 3,134 | 6.24 | 324 |
| 7 | Text-to-SQL | 2,684 | 5.34 | 336 |
| 8 | -bench airline | 2,498 | 4.97 | 26 |
| 9 | AppWorld | 2,345 | 4.67 | 89 |
| 10 | ScienceWorld | 1,655 | 3.29 | 334 |
| 11 | MCPMark | 1,402 | 2.79 | 29 |
| 12 | TextQuest | 1,217 | 2.42 | 644 |
| 13 | ALFWorld-lite | 1,198 | 2.39 | 618 |
| 14 | Wordle | 1,078 | 2.15 | 91 |
| 15 | -bench telecom | 1,030 | 2.05 | 36 |
| 16 | TextWorld Cooking | 1,020 | 2.03 | 84 |
| 17 | GAIA | 1,013 | 2.02 | 78 |
| 18 | WebShop-lite | 857 | 1.71 | 464 |
| 19 | WideSearch | 843 | 1.68 | 143 |
| 20 | Jericho | 748 | 1.49 | 47 |
| 21 | GridWorld | 718 | 1.43 | 428 |
| 22 | PlanBench (PDDL) | 675 | 1.34 | 163 |
| 23 | SWE-bench Verified | 639 | 1.27 | 228 |
| 24 | InterCode-Bash | 555 | 1.10 | 315 |
| 25 | BabyAI | 529 | 1.05 | 195 |
| 26 | TextCraft | 486 | 0.97 | 192 |
| 27 | AppWorld-lite | 479 | 0.95 | 470 |
| 28 | Terminal-Bench | 425 | 0.85 | 62 |
| 29 | Warehouse | 363 | 0.72 | 181 |
| 30 | Math-tool | 226 | 0.45 | 220 |
| 31 | Unit-test repair | 132 | 0.26 | 37 |
| 32 | SWE-smith | 126 | 0.25 | 67 |
| 33 | BrowseComp-Plus | 28 | 0.06 | 27 |
| All 33 environments | 50,228 | 100.00 | 9,961 |
† Expanded Other 25 envs: 19,787 pairs (39.39% of the collection), already included in the rows above. Percentages are rounded independently. Colors preserve environment identities from the Figure 3 palette. Environment types and frozen-release membership are listed separately in Table 36.
Table 6: Complete Figure 3(b): all 19 harnesses. A dagger marks a category included in an Other group in the main figure. Each share uses all 50,228 pairs as its denominator.
| Rank | Harness family | Pairs | Share (%) | Source tasks |
|---|---|---|---|---|
| 1 | ReAct (single) | 16,646 | 33.14 | 4,622 |
| 2 | Native tool calls | 9,614 | 19.14 | 3,231 |
| 3 | smolagents | 4,614 | 9.19 | 1,899 |
| 4 | AutoGen | 4,368 | 8.70 | 1,610 |
| 5 | OpenHands | 4,329 | 8.62 | 1,651 |
| 6 | LangGraph | 3,873 | 7.71 | 1,406 |
| 7 | Multi-agent (planner-executor) | 2,797 | 5.57 | 1,219 |
| 8 | mini-SWE-agent | 1,695 | 3.37 | 778 |
| 9 | Pydantic AI | 1,441 | 2.87 | 758 |
| 10 | MetaGPT | 124 | 0.25 | 54 |
| 11 | OpenAI Agents SDK | 103 | 0.21 | 69 |
| 12 | AgentScope | 96 | 0.19 | 61 |
| 13 | CrewAI | 94 | 0.19 | 58 |
| 14 | LlamaIndex | 94 | 0.19 | 62 |
| 15 | CAMEL | 91 | 0.18 | 58 |
| 16 | DSPy | 88 | 0.18 | 59 |
| 17 | Google ADK | 79 | 0.16 | 58 |
| 18 | AFlow | 62 | 0.12 | 41 |
| 19 | agent | 20 | 0.04 | 20 |
| All 19 harnesses | 50,228 | 100.00 | 9,961 | |
† Expanded Other 11 harnesses: 2,292 pairs (4.56% of the collection), already included in the rows above. Percentages are rounded independently. Source tasks are distinct within each harness. The same task can occur under several harnesses; the total is the collection's 9,961 unique environment-task keys, not the sum of this column.
C. Evidence grades, counting and populations
C.1. Interpreting execution evidence
Evidence grades let a user select diagnosis-only records, observed recoveries or repeated matched contrasts. A diagnosis whose citations cannot be resolved is ungrounded. A grounded diagnosis with neither replay nor a named checkpoint is E0. Explicit replay-status fields also distinguish a named but unexecuted checkpoint from a completed trial; Appendix D.2 documents the legacy grading convention. Executed replacements that never succeed or succeed on only some trials are recorded as no recovery or partial recovery. E1 records an observed recovery on the replacement branch when the original action was not tested adequately or also succeeded. E2 requires at least two trials per arm and completion of both arms, with every treatment continuation passing and every matched control failing.
A successful trial establishes observed recovery, not a unique root cause or a reliable effect. Even repeated contrasts depend on the restored state, policy, harness, and verifier. Grades can be recomputed from the recorded outcomes without another environment run. Appendix D gives the grading procedure and assumptions.
C.2. Corpus scope and counting
The release contains failures that arose during agent execution. Imported natural failures can contribute diagnosis records even when their original environment cannot be restored. We list procedural stand-ins separately from the benchmarks they approximate (Appendix O). Task-level split assignments group alternate diagnoses and replay variants together; the component-disjoint evaluation additionally separates the leakage groups defined at the freeze. We treat oversized category families separately (Appendix P).
We count an error–diagnosis pair when a natural failure has a diagnosis that names a candidate error step, explains it, and provides at least one quotation grounded in the failed trace. This count does not require successful replay. Records with an executed, passing correction form a smaller subset, which we report with their control outcomes and replay settings, so collection counts, diagnosis counts, and replay counts stay separate.
Current collection index. Figure 3, Table 36 and Appendix B.1 use the same source-linked pairs. Breadth counts require at least ten distinct source tasks per environment, harness family or policy model. A different policy, seed or sampling setting can produce another failed execution of the same task; an additional diagnosis of one execution adds a pair, not a new trajectory. The frozen diagnosis release imposes separate environment, exposure and split checks. Table 7 separates configuration inventory, annotation attempts and frozen training rows. Citation admission tests trace support, not semantic correctness. Retrieval failures affect 440 of the 452 GAIA and WideSearch rows: holdout sensitivity uses the 835 rows left after removing the 108 affected cases (Appendix E.1).
C.3. Notes on the resource comparison
Who&When annotates 184 natural multi-agent failures, its three annotators spending a combined 84.3 hours on decisive steps when no fault was injected (Zhang et al., 2025b). In AgenTracer's released v1.0.0 data, 1306 of the 3208 training rows carry an injection label; its agentic split's responsible-agent field has one value and therefore no within-split variation (Zhang et al., 2026a).
Reading Table 1
nat./inj./syn.: natural, injected, teacher-synthesised failures. Ctrl. requires the original action re-executed from the same checkpoint. √ supported; × absent; ○ partial; “–” not stated. ‡Full multimodal resource. Counts use reported units. AED's collection row uses the same current index as Figure 3; Table 36 identifies the environment types. AED represents overall capabilities across constituent datasets, with subset-specific training and replay. Subcohort counts below are not additive.
| Work | Errors | Envs | Harn. | Models | Count | Step | Evid. | Exec. fix | Ctrl. | Train | Agree. |
|---|---|---|---|---|---|---|---|---|---|---|---|
| AED diagnosis release (ours) | nat. | 15 | 9 | 10 | 4,319 | ✓ | ✓ | ✕ | ✕ | D | - |
| AED replay study (ours) | nat. | 11 | - | - | 3,062 | ✓ | ✓ | ✓ | ✓ | - | - |
Envs/Harn./Models: environments, harnesses (including multi-agent frameworks) and generating policies; AED
Table 7: The populations answer different questions; attempt, configuration and source-task counts are not interchangeable, and the annotation audit does not enlarge any training cohort.
| Population | Counting unit and size | Use in this paper |
|---|---|---|
| Current collection | 50,228 pairs over 38,278 source blobs and 9,961 source tasks | Source-linked collection; separate from the frozen training release |
| Collection inventory | 15,338 configuration records with steps and a trace reference | Collection coverage; not an admitted training split |
| Panel annotation audit | 11,116 attempts; 6,381 pass citation grounding | Annotation validity under automated checks |
| Frozen diagnosis release | 4,319 rows over 2,309 source tasks in 15 environments (train, development, holdout); 418 more rows over 121 previously exposed tasks ship as an exploratory split | The evaluated dataset; a separate, earlier snapshot |
| Pilot diagnosis split | 359 train, 201 development, 169 holdout rows | Source for the three-seed pilot (168 shared source tasks per arm) |
| Final paired cohort | 948 tasks in 133 families of the 3157-row training split (1678 tasks); 943 held-out rows over 496 tasks | Final-scale comparison (Table 25) |
| Paired replay | 3062 attempts over 1284 source tasks, both arms from one checkpoint | Correction validity (Table 47) |
requires ten source tasks per entry (Section 3). Table 1 uses AED's audited count of error–diagnosis pairs; repeated diagnoses of one execution do not add independent failures.
The latest audit links 50,228 structurally supported pairs across 33 typed environments, 19 harness families and 23 named policy models. These breadth counts use one pair index and require ten source tasks per category; model aliases share one identity. The checks verify source linkage, the recorded error step and quoted trace support, not semantic correctness or training admission. For the completion batch, we re-diagnosed source-verified stored failures with a strict-citation single judge, without an added ground-truth reference or replay. We retained one supported new diagnosis per previously unpaired source blob and preserved rejected attempts in the audit. These rows augment the collection, not the frozen training or evaluation sets. A deterministic, environment-stratified spot-check found semantic defects beyond citation support; we quarantined flagged records. This defect-finding check does not estimate accuracy or validate the remaining collection. These are collection environments, including synthetic tasks and simplified ports, not a count of independent public benchmarks.
Other reported units include TRAIL errors, MAST traces, diagnosis rows and paired replay attempts. Step includes spans. Agree.: reported human agreement (raw rates or chance-corrected coefficients), comparing programmatic labels with humans for AEGIS and failure-mode labels for MAST. TrajErrBench reports Fleiss' for critical-error steps on its -Bench / SWE-Bench Pro subsets, respectively (Qi et al., 2026, Table 5). AED reports raw preferred-step agreement of (59/69) under shared AI assistance. Both reviewers select a location on these 69 of 80 historical records, including preferred choices from multiple candidates. The single-step subset has agreement (46/50; Appendix W.1). Raw rates and chance-corrected coefficients are different statistics; annotation targets, sampling and assistance also differ. The agreement column does not rank resources.
Partial Exec. fix covers initial-state reruns or system interventions; AgenTracer's oracle replay is construction-only. AED marks cover its replayable collection subset; 0 of its 4,319 diagnosis rows join a replay record. Who&When Pro uses its full text/image/video resource. Its authors name GPT-4.1 and Gemini 3 Flash as primary backbones, not an exhaustive model count. Its benchmark and our text-only environment counts have different scopes.
Comparison with AEGIS. Kong et al. (2026) use successful executions and controlled fault injection to obtain agent/error attribution labels, then verify that the altered execution fails. This supplies a known intervention and a matched successful baseline; natural failures require separate checks of diagnosis quality. Their agent/error-set F1 measures a different target from our exact-step accuracy. We therefore do not import their reported scores into our localization tables or claim a matched training advantage over AEGIS. Such a resource comparison would require a common attribution target, compatible labels, the same base model and training budget, and an independent test set. AEGIS's failed trajectories and AED's error–diagnosis pairs also use different counting units. In Table 1, Exec. fix and Ctrl. concern correction and original-action replay, not the execution checks used to validate fault injection.
D. Construction, Replay, and Evidence
Implementation and prior work. AgentDebug (Zhu et al., 2025) motivates diagnosis-guided recovery. Our diagnosis bridge calls AgentDebugX's Python attribution API (Zhu et al., 2026) for action blame, evidence and proposed corrections. AED provides environment adapters, evidence checks and verifier-backed paired replay. Records distinguish diagnosis engines and retain available library provenance. CUADebug (Zhang et al., 2026b) studies diagnosis and repair for screenshot-based computer-use agents; our collection remains text-only.
Verifier validation. Reference-solution tests identified two verifier problems in the imported environments. In AgentBench-DB, gold SQL reproduced the stored table hash for only 221 of 455 state-changing tasks, and in BFCL the ground-truth call list failed the state checker on 112 of 386 instances. Episodes on the tasks these checks flagged are quarantined; the checks did not cover every task, and the release still holds rows on tasks whose gold answer fails the grader (Appendix E.1). These checks test the environment ports before their outputs are used as failure labels; they do not assess the debugger's explanations.
Historical replay-cohort settings. The replay cohort used an unguided all-at-once debugger. Reference-assisted variants are recorded separately; a same-task success exists for 39.5% of the failed rollouts in the reference-availability census. Paired replay uses temperature 0.2 for the first sample and 0.8 for subsequent samples, compared with 0.7 for the source rollout. The two replay arms share this schedule, but replay and source-rollout outcomes need not follow the same sampling distribution.
D.1. Construction algorithm
| AET stage contracts | |
|---|---|
| Stage | Stored information and admission boundary |
| 1. Collect | Adapters supply tasks, instructions, tools and success verifiers. Save policy, harness and environment identities, acting units, actions, observations and final outcomes, including successes. Failures arise naturally; we do not inject them. Preserve service outages, harness failures and unusable graders for audits, but exclude them from agent-error targets. Collection requires no replay support. |
| 2. Diagnose | Following AgentDebug (Zhu et al., 2025), propose an error step, responsible agent or component, explanation with trace quotations, and replacement action. Record privileged reference or verifier information separately from learner inputs. Where supported, replay feedback guides revisions within a fixed budget. Keep every attempt and distinguish the first proposal from one selected after retries. Multiple debuggers can reuse a stored failure. |
| 3. Ground | Resolve cited steps, acting units and quotations in the exported student input. Check tool validity and information availability. Semantic judges assess the attribution and repair; both judges must accept in the dual-judge subset (Appendix E.6). Save accepted and rejected decisions. These are machine judgments; human validity and training eligibility require separate assessment. |
| 4. Replay | Start two new executions from a restored or reconstructed checkpoint: one substitutes the correction and one repeats the original action. Match policy, harness, budget, verifier and temperature schedule; save seeds, sample counts, checkpoint fidelity and both outcomes, including failed repairs and passing controls. The failed source rollout does not serve as this control. Recovery supports the correction in that setting, not necessarily its explanation or a unique root cause. Coached retries use a separate protocol. |
- Build views
Diagnosis targets use supported attributions without requiring replay. Recovery targets use an executed, passing continuation and preserve its branch identity. Only eligible continuation actions receive loss; input history, tool observations and rejected continuation actions receive no loss. Preferences also require a valid action comparison under the same visible input. Source-task grouping, declared splits and content checks determine training eligibility separately from label quality. Retain records excluded from a view and their selection history. Derive evidence grades from stored outcomes.
Failure outcomes and attributable errors. Adapters evaluate task completion using answer or result matching, executable tests, or goal-state checks. We distinguish a recorded negative outcome from a valid task-failure verdict and from a supported attribution.
| Failure boundaries | |
| Observed case | Interpretation and admission rule |
| Wrong answer, failed tests or unmet goal | A valid negative task verdict supplies a diagnosis candidate; it does not identify the erroneous decision. |
| Tool error followed by task success | Exclude from the failed-run cohort. An intermediate exception need not cause task failure. |
| Budget exhaustion, loop or early stop | A candidate under a defensible execution budget. Inspect where progress broke down; do not blame the cutoff step by default. |
| Invalid tool action | A candidate if the agent had a valid tool contract. Schema bugs, service outages and environment crashes require separate accounting. |
| No usable verifier verdict | Quarantine for agent-error supervision. An unavailable reference or grader exception cannot establish task failure. |
| Recorded-page action mismatch | Establishes deviation from the recorded path, not inability to recover in a live browser; exclude from strict admission. |
For attribution, reviewers seek the earliest supported consequential mistake with a feasible alternative, not a later symptom or a unique global root cause. They can use the resulting observation as retrospective evidence; the proposed action must respect information available before execution (Appendix E.6). Unsupported attributions fail semantic admission.
The collection gate checks recorded failure flags, source linkage, step presence and trace quotations. Automated screening recognizes known non-agent signatures; it does not cover every adapter-specific ungradable outcome. Thus structural collection counts do not certify semantic validity or training eligibility. Recovery targets additionally require an executed, passing continuation.
D.2. Evidence ladder and statistical claims
| Evidence state | Required observation |
|---|---|
| Ungrounded | Citation support is absent, regardless of replay outcome. |
| E0 | Grounded diagnosis; replay was not attempted and no checkpoint was named. |
| No / partial recovery | Executed treatment never succeeds / has mixed outcomes. A named but unexecuted checkpoint also receives the legacy no-recovery label; typed replay status distinguishes it from a failed trial. |
| E2 | All treatment trials pass, all controls fail, at least two trials per arm, and both arms complete their planned counts. |
E1 records recovery without the E2 matched-contrast requirements. Ladder grades, the schema's historical certificate flag and multiplicity-adjusted certificates are separate fields; none establishes unique causation or global minimality.
For executed arms, report , and with both denominators. Unexecuted controls remain null. Tag structural outcomes separately from Monte Carlo trials. Confirmatory runs freeze sample counts and continuation conditions; adaptive supply runs retain their stopping rule and receive a separate analysis.
D.3. Lineage and checkpoint fidelity
| Check | Requirement and interpretation |
|---|---|
| Branch identity | Recompute the v1 attestation of source trace, pre-action prompt, restored state, trial, applied action and actor transcript. |
| Native messages | Match tool-call identifiers and result ordering. Keep reconstructed external logs in a separate fidelity stratum. |
| Action authorship | Attribute an action to the judge only for substitution. A policy's coached continuation is not the judge's proposed action. |
| Exclusions | Reject a training package when invalid-lineage exclusions exceed the implemented 5% ceiling. This controls attrition, not semantic accuracy. |
| Family references | An imported ALFWorld family match is not an executed success on the target instance. The probe-to-judge prompt still needs family-scope propagation; keep those results separate from exact-task reference effects. |
E. Construction Audit and Annotation Quality
E.1. Infrastructure and task-contract defects
Frozen inputs retain the defects below because training preceded the audits. Later exporter fixes do not retroactively repair the evaluated release. The retrieval flags cover GAIA and WideSearch only; contract omissions require re-derivation from the teacher prompt.
| Retrieval audit | Recorded extent |
|---|---|
| Affected rows | In 440 of the 4,737 rows (307 train, 25 development, 108 holdout, none in the exploratory split), every search/fetch call failed and none returned a result: 242 GAIA rows and 198 WideSearch rows. Holdout coverage is 52 of 56 and 56 of 56, respectively. |
| Targets | All 440 targets assert an error; 396 mention the backend in the explanation or evidence, and 62 place the decisive step at the first failed call. |
| Score sensitivity | Report the full 943 cases and the 835 that remain after excluding the affected diagnoses. The influence of the 307 training rows on checkpoints is unmeasured. |
| Training exposure | Paired arms carry 75 of their 948 tasks with this signature, the same 75 in all four arm files, and the v14 scale arm 109 of its 1,656. |
| Later releases | The exporter now rejects this signature. Frozen v14 retains flagged rows, as does the v15 cut (578 of its 5,602 rows, 145 in its holdout); both ship the flag file. |
| Other defect | Evidence and effect on interpretation |
|---|---|
| AgentBench-DB grader | Gold SQL fails to reproduce the table hash on 234 of its 455 state-changing tasks. The release carries 54 rows on 47 of them (43 training, 11 held out), beside 34 rows on tasks whose gold does reproduce and 338 whose task identity postdates that census and is unchecked. These failures cannot validate agent-error labels. |
| Teacher contract | In AgentBench-DB, AgentBench-OS and AppWorld, 617 of the 1,016 rows were labelled before the submission contract entered the prompt, 100 of them in the holdout. The split follows harness commit; shipped metadata lacks this flag. |
| Visible error cue | In Mind2Web, the first-tool-error rule scores 100% on its 78 held-out cases, where the base scores 96.15%. Removing them leaves base 42.77 micro exact step over the remaining 865 cases; the strongest prompt-only rule reaches 29.71. Common cases preserve comparability, but this cue raises aggregate accuracy. |
| Incomplete goal field | In BFCL, 219 of the release's 414 BFCL rows (34 of 63 held out) blame a later conversational turn than the stored first-turn goal. Later turns remain visible in the trace; the diagnosis concerns the whole conversation. |
E.2. Construction inventory and counting ledger
The collection inventory counts configurations; the annotation audit counts debugging attempts. Several diagnoses can refer to one failed run. Neither count measures independent source tasks. Table 7 identifies the populations used here; Table 36 identifies excluded environment types. The 16 September 2026 inventory counts configurations, not independent trials; repeated executions can share an identifier.
| Inventory stage | Count | Unit |
|---|---|---|
| At least one failure record | 31,903 | Configurations |
| Quarantined success/failure identity conflict | 1,029 | Configurations |
| After quarantine | 30,874 | Configurations |
| Core failure inventory | 16,920 | In fifteen core environments |
| Positive step count and trajectory reference | 15,338 | Eligible configurations |
| Failed basic eligibility | 1,582 | Configurations |
| Distinct source tasks among eligible records | 5,376 | Tasks |
| With a diagnosis record | 10,057 | Configurations |
| With step and explanation | 9,464 | Structural screen only |
Structural completeness does not establish grounding, semantic validity or replay success. The separate annotation audit covers 11,116 diagnosis attempts; 6,381 (57.4%) pass citation grounding. Those attempts cannot be appended to the configuration funnel.
E.3. Current annotation quality audit
Panel consensus is associated with stable attribution, but citation support can still fail. The solo comparator also serves as the panel's arbiter, and the two pipelines differ in implementation. Their agreement is not an independent correctness standard or an isolated voting effect.
| Matched ALFWorld audit | Measured observation |
|---|---|
| Attribution | 323 paired ALFWorld traces; 297 matched cells with a step and explanation from both constructions. Exact-step agreement is 46.8% and within-one-step agreement 53.9%. |
| Vote concentration Citation admission | Within one step: unanimous 76.6%, two-of-three 55.2%, three-way split 40.0%. Panel 243/323 (75.2%); solo 285/323 (88.2%). Of the 80 panel failures, 77 lack a supporting quotation; the other three cannot ground cited text at the claimed event. |
| Quotation mechanism | No arbitrated output has an empty quotation; 78/213 voter-selected outputs contain at least one. One empty field need not fail admission if another valid citation exists. |
| Separate audit | Observation and limit |
|---|---|
| Environment association | Over 5,725 diagnosed records, consensus is 89.9% in single-decision groups versus 72.5% in long-horizon groups. Models, lengths and tasks differ. |
| Full citation audit | 6,381 of 11,116 attempts pass. Empty quotations occur in 47% of mid-tier records versus 10% of stronger-arbiter records; the case sets differ. |
| Re-annotation probes | Across five groups, the solo model anchors a quotation on 159 of 183 records with an empty panel quotation (86.9%). Quote recovery establishes neither admission nor semantic correctness. |
| Test-retest | 3470 pairs: 2845 consensus-admitted first verdicts repeat the exact step at 88.2% and fall within one step at 94.1%; the 625 not admitted reach 58.2% and 73.4%. The exact-step gap is 29.9 points. |
| Human review | The completed 80-record AI-assisted audit, its sampling scope and agreement measures appear in Appendix W.1. It is separate from the machine audits above. |
Admission selects an existing member's verdict; it does not merge explanations. Its association with test-retest stability does not show that gating causes correctness. Citation grounding, reproducibility and human validity require different evidence.

Figure 11: Three separate measurements, not one pipeline: annotation admission, paired attribution SFT on the pilot holdout, and panel versus solo citation grounding. Each panel has its own denominator and the populations are not successive stages of one funnel.
E.4. Model-panel adjudication of the blinded semantic sample
The model panel accepts step attribution more often than full evidence support (Table 8). It finds the attributed step defensible or a defensible alternative on 102 of 120 records; expert adjudication remains unrun.
| Audit condition | Protocol and limitation |
|---|---|
| Sample and judges | 120 blinded records, 30 per stratum of horizon (single-decision / long-horizon) by construction (consensus / arbitrated-or-single). Three vendor families: GPT-6 Astra, Gemini 3.8 Flash and Claude Opus 5. |
| Visible input | The debugger's rendered failed trajectory, terminal outcome and diagnosis (step, unit, explanation, evidence and replacement). Replay outcomes, grades, label sources and annotators were hidden. Three fixed questions with one-sentence reasons; temperature 0 where supported. |
| Completion | All records received three verdicts; spend by the hub's price table was $17.40. |
| Shared model families | GPT-5.6 Sol wrote 57 of the sampled diagnoses, Gemini 3.6 Flash 43, Claude Haiku 4.5 19, GPT-5 mini 1. Authored case sets differ, confounding the same-family comparison. |
Citation format helps explain the low evidence agreement: 33 diagnoses carry an evidence item that is a bare event identifier. The construction contract accepts a resolvable pointer, but it provides no quotation for judges to assess. The majority verdict is supports on 2 of those against 26 of the other 87. This association does not isolate a causal effect of citation format.
All-three endorsement of both step and full evidence support is 9 of 120; the consensus-admitted and arbitrated-or-single strata do not separate at this size (2 against 7 of 60). Five of the 12 records whose step the majority rejects are GAIA retrieval-backend failures (Appendix E.1). These related-model judgments do not replace independent human validation.
E.5. Release audit and revision history
The frozen release predates the checks of student-visible support and expanded failure screening; its construction inputs omitted policy system prompts and tool lists (Appendix Q.1). A case-by-case audit of the frozen release rejected 37/60 sampled rows. Equal sampling across environments makes this a defect-finding study, not an estimate of corpus-wide prevalence. The current checks address such defects; they do not retroactively validate the frozen inputs used in
Table 8: Blinded model-panel adjudication of the 120-record semantic sample. Majority of three seats per question; Split means no majority; Unanimous counts records on which all three seats gave the same verdict.
| Question (majority of three seats) | Majority verdict | Split | Unanimous | Fleiss | ||
|---|---|---|---|---|---|---|
| Attributed step is a defensible decisive step | yes 76 | alternative 26 | no 12 | 6 | 70 | 0.44 |
| Quoted evidence supports the claim | supports 28 | partially 85 | does not 4 | 3 | 37 | 0.13 |
| Proposed replacement is plausibly better | yes 82 | unclear 16 | no 17 | 5 | 81 | 0.52 |
All three seats: step defensible and evidence at least partial 68 of 120; step yes and evidence supports 9 of 120 (Wilson 95% 4.0 to 13.6%)
Table 9: Quality-control ledger. Rows (source tasks) of the frozen release's evaluated splits that remain after each stage of the fifth rubric version. These are retrospective checks, not the training and evaluation inputs used for the reported model results. The separate historical human audit is reported in Table 44; its sampled strata do not form another stage of this split-specific ledger.
| Stage | Train | Development | Holdout |
|---|---|---|---|
| Input records | 3,157 (1,678) | 219 (135) | 943 (496) |
| After deterministic checks | 283 (208) | 20 (12) | 87 (70) |
| After semantic filtering | 53 (46) | 9 (6) | 18 (14) |
Section 5. The failure cases and filter ledger follow. The historical human-review results and protocol appear in Appendix W.
The review exposed incorrect tool schemas, missing instructions, and infrastructure or grading failures attributed to the policy. The frozen release also retains 54 rows on tasks whose reference answer fails the grader (Appendix E.1). Its responsible-agent labels carry a defect of the same kind: 125 of the 943 held-out rows are planner–executor transcripts whose gold agent is a unit that does not appear in them; the exporter now takes the agent from the decisive step's actor, and the revised rubric rejects a row whose named unit did not act in the trace.
The revised rubric checks exported input and target together for attribution, evidence, repair, leakage and input faithfulness. Two model-family judges review semantic criteria after deterministic checks. In a manual disagreement sample, the stricter judge was right on 8 of 10 rows; 4 of those 8 predated explicit markers for parallel tool calls. Export corrections are recorded, and missing required evidence blocks strict admission.
Judges receive the student view. Long inputs retain the beginning, attributed step and end; judges must reject earliest-step claims when preceding steps are omitted. Acceptance therefore need not cover every character of a long input.
Table 9 applies the fifth rubric version to revised exports of the frozen release's three evaluated splits. The model evaluations of Section 5 used the earlier frozen inputs, so these counts describe neither a retroactively filtered evaluation nor human acceptance, and they do not redefine the 98-case held-out subset frozen under the earlier (second) rubric version, before any score on it. Later collections may retain a diagnosis and its adverse verdict as metadata; retaining that record does not make it an accepted training target. Likewise, semantic acceptance and replay coverage are separate properties, not successive levels on a universal correctness scale.
E.6. Quality rubric and certification
The automated rubric has twelve items. A row must pass all except item 10, which records ambiguity without rejecting the row. Deterministic checks decide items 4 and 11; Claude Opus 5 and Gemini 3.1 Pro (preview) judge the remaining items after those checks. Both judges must accept each rejecting item. The human form is shorter (Appendix W).
Admission rubric: what must hold
| Item | Check | Accept when; reject otherwise |
|---|---|---|
| 1 | Agent failure | An available agent decision could have avoided failure; exclude infrastructure, harness and grader faults. Budget exhaustion under a reasonable budget can be an agent failure. |
| 2 | Attributed step | The trace supports a mistake at the named step, with no earlier supported decisive mistake. A final stop or a later symptom is insufficient. |
| 3 | Responsible unit | The named unit appears in the trace and made the decision. |
| 4 | Quotations | Every quote resolves verbatim in the student input at or before the blamed step; a truncation marker is not evidence. |
| 5 | Entailment | The visible evidence supports the explanation's factual claims. |
| 6 | Information access | The diagnosis uses visible evidence; the repair uses information available before the action, not its result or a future answer. |
| 7 | Executability | The tool exists, arguments satisfy its schema, and the action can be issued at that point without placeholders. |
| 8 | Corrective change | The proposal changes the blamed action and addresses the stated mistake. |
| 9 | Specificity | The explanation names a concrete action, contradicted fact and consequence. |
| 10 | Ambiguity | Record defensible alternatives. This item does not reject the row. |
| 11 | Leakage and secrets | No unseen gold answer, verifier answer or credential survives in the student input or target. |
| 12 | Input fidelity | Preserve the received task, instructions, tools and decision order; mark omissions and parallel calls. |
Mechanical checks and export handling
| Check family | Implementation boundary |
|---|---|
| Structure and visibility | Require an admitted attempt, an asserted error, a visible step and matching answer fields. Missing required records fail closed. Preserve malformed turns and parallel-call notes. |
| Environment validity | Reject retrieval outages, task quarantine, gold-grader contradictions, harness-submitted actions and known prompt/tool-contract defects. Exclude static Mind2Web from this admission protocol. |
| Evidence and leakage | Require a quote from before the blamed step; reject future-only evidence, copied gold actions, verifier text and arguments based on hidden content. |
| Repair and attribution | Validate tool arguments and changed action; reject later actions copied back as repairs. Require a unit that acted and sufficient voter support. |
| Export | Restore policy instructions and tool lists, align answer fields, re-derive the unit and redact credentials on both sides. Log each transformation. |
Rubric v5 also rejects later parallel calls labeled without turn-order notes and quotes that were unavailable when the action was chosen. Among 69 disagreements on re-admitted rows, a hand check of 10 found the stricter judge correct on 8; 4 of those involved unavailable parallel-call results. The other judge was correct on 2. This targeted check is not a population accuracy estimate. The 98-case evaluation subset remains frozen under v2; v5 does not redefine it. Versioned questions, full fail definitions and ordered check signatures remain in the software release. We have not measured certification rates for the corrected-contract pool or the full collection.
Registered controls. Appendix L reports the completed error-reporting control; Appendix W gives the human-audit design and measured outcomes.
F. Case Studies
F.1. A failed trajectory, diagnosed and repaired
Case A | AgentBench-OS: a command succeeds, but counts the wrong lines. Actor: GPT-4.1 nano (ReAct); construction-time debugger: GPT-5 mini.
| Task and failed trajectory | ||
|---|---|---|
| Count lines containing Linux across the home directory's .txt files, processing each file once. The agent finds the files and identifies those with a match, then counts all their lines. | ||
| Step | Action (early steps summarized) | Result |
| 0 | Find the text files. | Four files. |
| 1 | Identify files containing Linux. | Three files. |
| 2 | Concatenate those files and count their lines. | 5 |
| 3 | Submit the count. | Verifier: fail. |
Error detected | Step 2 loses the line-level filter
The debugger attributes the failure to the counting command. Selecting files that contain a match does not make every line in those files a match. The shell reports no execution error; the mistake is in what the agent counts.
Original command, verbatim: cat /root/file1.txt /root/file2.txt /root/file3.txt | wc -l
Repair executed | Filter the lines before counting
Replay resumes before the blamed action with the same actor and harness. The replacement preserves the file list and filters the contents:
grep -h "Linux" /root/file1.txt /root/file2.txt /root/file3.txt | wc -l
The tool returns 4; the actor submits 4.
Verified outcome | Corrected branch passes; original-action control fails
| Branch from the shared checkpoint | Final answer | Task verifier |
|---|---|---|
| Re-execute original action | 5 | FAIL |
| Execute proposed correction | 4 | PASS |
Editorial condensation of one recorded replay pair. Both branches bind to the same source prefix; restoration uses prefix re-execution. Ground-truth access was permitted during diagnosis. This observed recovery does not establish reliability, a unique cause or learned self-repair. Full records and checksums accompany the case in the supplementary source materials.
F.2. Trace, target and competing interpretation
Case B is a short frozen-v13 training example. Cases C and D are historical v12r audit examples chosen to expose a tool-success mismatch and an unsupported diagnosis. This is a purposive illustration, not an accuracy sample. Editorial summaries are labeled; complete records and exact targets remain in the source materials. None establishes learned recovery.
| Case B | BFCL | A quoted trace can still support a bad target | ||
|---|---|---|
| Task Find every test_document.txt in the current directory. | ||
| Step | Action | Observation |
| 0 | find(path=".", name=...) | matches: ["./test_document.txt"] |
| 1 | finish_turn() | Next user request: copy the file into archives and rename it. |
Recorded target Blame step 1 for not presenting the match; propose finish_turn() again. Step 0 is listed as an alternative.
Reading The proposed action repeats the blamed action, while the environment has advanced to a new request. Located quotes alone do not resolve this contradiction. Semantic review is required; this is not a verified repair.
Source Frozen v13 training example B. Actions and observations are abbreviated; the target has not been silently corrected.
| Case C | BFCL | Mini-SWE-agent | Tool success, incomplete content | ||
|---|---|---|
| Visible request Send The latest stock price of XTC is $150.75. to USR003. | ||
| Step | Action | Observation |
| 1 | End the previous turn | The next user supplies the message request. |
| 3 | send_message(..., message="The") | sent_status: true |
| 6 | view_messages_sent() | USR003: ["The"] |
Recorded target Attribute the failure to step 3: the sent message is incomplete.
Reading Transport success does not satisfy the content request. The excerpt shows the mismatch, but the original wire must be checked before assigning truncation to the policy rather than the harness.
Source Purposively selected historical audit case; intervening steps omitted. No independent human adjudication.
| Case D | AgentBench-DB | AutoGen | Missing verification is not proof of failure | ||
|---|---|---|
| Task Change the attendance for November 30 from 1,458 to 1,500. | ||
| Step | Action (abbreviated) | Observation |
| 0 | SELECT ... WHERE Date = 'November 30' | Row includes 1,458. |
| 1 | UPDATE ... SET Attendance = '1,500' | [] |
| 2 | Commit final answer 1,500 | Final answer committed. |
Recorded target Blame step 2 for committing without a verification query.
Reading The absence of a second SELECT does not show that the UPDATE failed. Inspect the post-update state and grader before accepting this diagnosis; the empty SQL result alone does not settle it.
Source Purposively selected historical audit case; no independent adjudication. This example illustrates a label limitation.
G. Taxonomy definitions and validation study
Taxonomy scope. Construction collects an attribution, explanation, evidence and proposed action; it does not ask for an error-type label. We induce the taxonomy afterwards and store assignments in a versioned sidecar. Relabeling adds a version without overwriting previous assignments; each version retains its definitions and executable labeling state. Error-type frequencies refer to the historical labeled cohort specified below, not the full collection. This study tests labeling reliability. Its machine assignments are neither training targets nor admission criteria.
G.1. Independent labeling-method study
Historical harness-profile cohort. Figure 4 uses the September 6 labeling snapshot, not the current 50,228-pair collection. It contains 2,604 distinct source trajectories, of which the machine judge classified 2,092 and abstained on the remainder. We count each source trajectory once, regardless of how many diagnoses it has. The figure shows harnesses with at least 20 attempted labels: 2,588 trajectories across nine harnesses; 16 trajectories fall outside these groups. Each composition bar divides family counts by classified trajectories, while the adjacent counts retain the attempted-label denominator. Task and environment mixtures differ, and abstentions can be selective. The profiles describe this selected cohort and do not estimate harness-caused failure rates. The labeling studies below explain why these assignments remain exploratory. Appendix B.4 reports the model and environment breakdowns from the same labels, with classification coverage beside each group.
Measured disagreement between two machine taxonomy judges. A separate run applies GPT-5 mini and DeepSeek-V4-Flash to 400 sequentially selected items from the annotation queue under the same seed taxonomy and a 12,000-character tail window. At least one judge abstains on 43 items, leaving 357 jointly classified items. The two machine judges agree on 154/357 modes (43.1%): Cohen's at mode level and after collapsing to families, agreement between two models rather than between human annotators. Of 203 mode disagreements, 186 cross family boundaries. The largest directed confusion is premature termination to ignored planning constraint (29 cases), with 9 in the reverse direction.
Thus family aggregation does little to resolve the disagreement. These figures describe a limited, nonrandom cohort, conditional on both judges assigning a mode; they do not measure agreement with human judgments. We retain the labels as exploratory machine assignments, not validated training targets or estimates of corpus-wide semantic error prevalence. Mechanical trace phenotypes and executed repair evidence remain separate measurements. The confusion-matrix counts and both values were recomputed from the aggregate agreement record; the raw judge responses were not independently recounted.
A tested decision-order rubric. The seed taxonomy uses the same judges as the earlier agreement study. The candidate adds family-first decision order and tie-break rules for commonly confused modes, keeping the mode definitions and reply format fixed. Its renderer is v2, with a 12,000-character window and 4,096 output-token cap. The trial selects 400 new items; 13 items lack a complete four-call comparison after recorded reasoning-budget exhaustion, leaving 387 common items. The mode-level change in is +0.069 (paired item bootstrap 95% interval ); the
Table 10: Rubric trial on 387 common items. Agreement conditions on both judges assigning a label within each arm, yielding different valid subsets; malformed responses are judge B parse failures on the common cohort, not semantic abstentions.
| Prompt | Both labelled | Mode | Family | Malformed (judge B) |
|---|---|---|---|---|
| Seed | 275 | 0.258 | 0.186 | 88 |
| Rubric | 266 | 0.327 | 0.285 | 104 |
family change is +0.099 ([−0.018, +0.212]). Both intervals include zero. The experiment costs $5.172 in recorded calls and does not establish improved labeling reliability. We independently recompute both bootstrap intervals from the stored verdict rows. Differential parse losses and arm-specific valid subsets limit interpretation; additional paid labeling should follow parser validation. The reproducibility materials retain the exact tested annotation instructions. Its compact decision order is: invalid output → action; visible contradictory information → observation (unobserved asserted state → memory); unsatisfied termination → verification; explicit false progress assessment → reflection; otherwise an infeasible next choice → planning. This experimental annotation prompt is separate from the diagnosis and student prompts in Appendix U.
H. Result tables for the body figures
Figure 1a summarizes paired replay; Table 47 gives its full results in the appendix. The tables below provide the resource comparison and replay-stratum details.
Table 11: Resource against resource under one base, recipe and scorer: micro exact step (%), and unit+step only on AgenTracer's test split (our held-out cases share one gold agent). Unparseable answers and prompts over the serving window (1 held-out and 16 AgenTracer test rows) are misses; trained rows are mean ± sd over three seeds. Δ: seed mean of the paired contrast, with the widest per-seed 95% bootstrap interval, not an interval for the mean.
| Training resource | Our holdout (n=943) | AgenTracer test (n=790) | |||
|---|---|---|---|---|---|
| Tasks | Seeds | Step | Step | Unit+step | |
| Qwen3-8B base | 0 | — | 48.04 | 30.76 | 21.14 |
| AED (ours) | 1,656 | 3 | 48.14 ± 0.42 | 31.65 ± 0.33 | 25.78 ± 0.19 |
| AgenTracer released data v1.0.0 | 1,656 | 3 | 45.71 ± 0.11 | 40.72 ± 0.48 | 36.16 ± 0.48 |
| Δ (AED – AgenTracer data), paired | +2.44 [0.21, 4.81] | -9.07 [-12.41, -5.70] | -10.38 [-14.05, -6.96] | ||
Table 12: The frozen v14 diagnosis release by environment. Rows and source tasks are counted over the three evaluated splits; harness families and policy models are distinct values of the stored provenance fields; paired replay attempts are the replay package's count for the environment (Table 13) and “—” means that environment has none.
| Environment | Rows | Source tasks | Harness families | Policy models | Paired replay attempts |
|---|---|---|---|---|---|
| ALFWorld | 958 | 763 | 9 | 5 | 205 |
| AppWorld | 438 | 54 | 9 | 7 | 291 |
| AgentBench-DB | 426 | 342 | 9 | 5 | 530 |
| BFCL | 414 | 189 | 9 | 5 | 579 |
| Mind2Web (static) | 395 | 243 | 9 | 10 | — |
| τ-bench retail | 348 | 113 | 9 | 6 | 497 |
| GAIA | 253 | 68 | 9 | 10 | — |
| ScienceWorld | 207 | 162 | 9 | 9 | 57 |
| WideSearch | 199 | 97 | 9 | 5 | — |
| MCPMark | 186 | 22 | 9 | 8 | — |
| AgentBench-OS | 152 | 112 | 9 | 5 | 458 |
| SWE-bench Verified | 143 | 117 | 2 | 7 | 64 |
| τ-bench airline | 113 | 6 | 9 | 10 | 358 |
| Terminal-Bench | 82 | 17 | 2 | 4 | 22 |
| SWE-smith | 5 | 4 | 2 | 1 | 1 |
| All 15 environments | 4,319 | 2,309 | 9 | 10 | 3,062 |
H.1. Paired replay by environment
The following breakdowns use search-selected proposals, not the first proposals in Table 47. Under the harness that produced the failure, with its state fully restored (871 pairs, 456 tasks), the difference is 47.1 points [42.3, 51.7]; a substituted ReAct (single) harness continued 1846 pairs (+43.5 points) and 345 had only partly restored multi-agent state (+50.7 points; Table 14 below). Table 13 breaks the selected-proposal result down by environment. Every environment with at least one discordant pair favours the proposed replacement; the one environment omitted from the rows contributed a single attempt with no discordant pair. The attempt population matches Table 47, but proposal selection and the paired control outcomes differ; these are not strata of its first-proposal effect. We retain one occurrence per diagnosis ID, choosing the first path in lexicographic order. There are 684 IDs in more than one collection cell because later waves repeated configurations; 143 disagree on the replay outcome. Choosing the last occurrence instead changes the paired difference to 46.0 points. This sensitivity describes the two tested duplicate-resolution rules.
Table 14 splits the same 3062 pairs by how the continuation was run, using the provenance the replay runner recorded on every attempt. Both arms of a pair use the same continuation policy, harness, budget and temperature schedule; selection and state-fidelity limits remain, and the strata differ in continuation harness and completeness of state restoration. 871 pairs ran under the harness that produced the failure from a fully restored state and speak about that system directly. 1846 pairs ran under a substituted ReAct (Yao et al., 2023) (single) harness because the source harness (smolagents, Pydantic AI, AutoGen, LangGraph, or Multi-agent (planner–executor)) is not supported by the replay runner; they identify the effect of the replacement under the substituted continuation, not under the harness that failed. 345 pairs are marked as having incompletely restored multi-agent state, so their pre-action state was reconstructed in part. All three strata show positive selected-proposal contrasts. Their estimates are distinct from the first-proposal
Table 13: Search-selected continuation success by environment. Orig. and Prop. are the pass rates of the original and proposed action; Disc. counts pairs where only the proposal or only the original passed; is the attempt-level exact McNemar test. These diagnostic values assume independent attempts and do not account for repeated source tasks. For selected-proposal provenance comparisons, use the task-clustered intervals in Table 14.
| Environment | Pairs | Orig. pass | Prop. pass | Disc. | McNemar | |
|---|---|---|---|---|---|---|
| BFCL | 579 | 24.0 | 64.2 | +40.2 | 248:15 | |
| AgentBench-DB | 530 | 10.2 | 55.1 | +44.9 | 242:4 | |
| -bench retail | 497 | 22.7 | 75.3 | +52.5 | 274:13 | |
| AgentBench-OS | 458 | 10.7 | 89.5 | +78.8 | 365:4 | |
| -bench airline | 358 | 3.1 | 45.5 | +42.5 | 159:7 | |
| AppWorld | 291 | 5.2 | 13.7 | +8.6 | 38:13 | |
| ALFWorld | 205 | 11.7 | 41.5 | +29.8 | 67:6 | |
| SWE-bench Verified | 64 | 12.5 | 35.9 | +23.4 | 17:2 | |
| ScienceWorld | 57 | 7.0 | 75.4 | +68.4 | 41:2 | |
| Terminal-Bench | 22 | 18.2 | 31.8 | +13.6 | 3:0 | 0.250 |
| All environments | 3062 | 13.7 | 59.1 | +45.3 | 1454:66 |
contrast highlighted in the main text.
Table 14: Search-selected continuation success by continuation provenance, same columns as Table 13; the interval is the task-clustered percentile bootstrap.
| Continuation | Pairs | Orig. pass | Prop. pass | [95% CI] | Disc. | McNemar |
|---|---|---|---|---|---|---|
| Substituted ReAct (single) continuation | 1846 | 19.2 | 62.7 | +43.5 [39.5, 48.2] | 859:56 | |
| Same harness, state restored | 871 | 6.1 | 53.2 | +47.1 [42.3, 51.7] | 419:9 | |
| Multi-agent state partly restored | 345 | 4.1 | 54.8 | +50.7 [44.2, 57.8] | 176:1 |
Two counts bound how the paired continuation of Section 5 could be read as an artefact of the budget rather than of the action: only 11 of the 3062 attempts merely exhausted their step budget, and none of those sits in the cell where only the original action passed; the eleventh environment in the corpus contributed a single attempt and no discordant pair, which is why Table 13 reports ten.
The paired continuation in Section 5 tests a proposed replacement against its original action; it does not measure the benefit of training a debugger.
H.2. The located-failure cohort and its failure accounting
The located-recovery cohort of Table 27 was frozen before execution: 150 attempts drawn from 1235 eligible, one per source task, across 11 environments, with the selection rule and the analysis rules stored in the cohort file and carried into every results file written against it. Arm order is randomised within an attempt. The rules require that every planned trajectory stay in the denominator, that infrastructure outcomes get their own column rather than being folded into either arm, and that an unknown-as-failure sensitivity be reported beside the complete-case result, because a crash can be caused by the intervention it is scored under.
Counting every attempt and scoring a crash as a failure moves the four arms to 18.6, 26.0, 31.3 and 35.3 per cent, against the complete-case 18.7, 27.1, 32.2 and 36.1; the ordering and the reading of the section do not change. The exact McNemar test on attempts binarised as "recovered at least once" agrees with the intervals where they are far from zero ( for the diagnosis against re-application, for the deployed text) and not where they are close ( for the content-free nudge, for the content effect); it discards the per-attempt rates and the task clustering the intervals use, and is reported as a supplementary check rather than as the inference.
The four arms differ only in the coach text at the pre-action state. The content-free arm sends "Reconsider your next action."; the clean arm appends the recorded explanation and directive; the deployed arm replaces the opening with "Your previous attempt failed." and calls the explanation a diagnosis of a mistake the actor is about to make. Every branch stamps the framing it received, and the run is rejected if any branch stamps a framing other than its arm's; the reported run has no such mismatch. The earlier continuation cap exhausted the reasoning budget in 52 of 450 coached continuations, compared with 13 after correction. That superseded run estimated the content effect at +0.8 points (-6.3 to 7.8); we use the corrected run's +5.6 (0.0 to 11.3).
H.3. Resource against resource under one recipe


(a) Each resource leads on its own test set

(b) AgenTracer test split by its error-source label

Figure 12: Resource against resource under one base, recipe and scorer. Exact step on each resource's test set for the untrained base and for students trained on AED or AgenTracer data, followed by AgenTracer's test split under its own error-source labels.
Table 11 holds the cells of the comparison described in Section 5.2: Qwen3-8B trained under one recipe and one two-key contract on AED and on AgenTracer's released v1.0.0 training data, scored on our frozen held-out set and on their released test split. The AgenTracer-data arm is not AgenTracer-8B, whose weights are not released; the comparison is between two resources, not two systems.
Both resources improve joint attribution on AgenTracer's test split, where the responsible agent varies. Neither establishes an exact-step gain on the other's test set. On our holdout, the joint score also rewards matching a constant unit label; AED does not improve exact step over base, with 3 of 3 seed intervals containing zero.
| Evaluation and metric | Resource versus base | Difference, pp |
|---|---|---|
| AgenTracer, unit+step | AED | 4.64 [1.52, 7.59] |
| AgenTracer data | 15.02 [11.01, 19.49] | |
| Our holdout, unit+step | AED | 5.16 [1.79, 8.22] |
| AgenTracer data | -3.08 | |
| Our holdout, exact step | AED | +0.11 [-2.72, 2.99] |
| AgenTracer error source | Leading resource | Exact-step margin, pp |
|---|---|---|
| Injected errors (516) | AgenTracer data | 13.31 [8.53, 18.02] |
| Natural diagnosis errors (84) | AED | +6.75; interval reaches zero |
| Unspecified source (190) | AgenTracer data | 4.56 (coding and mathematics) |
The largest margin occurs on injected errors, which are absent from AED. The natural-error stratum establishes no resource advantage; these subsets do not isolate error source from task and annotation differences. Contrasts are seed means; brackets give the widest per-seed 95% percentile-bootstrap interval (over source tasks or question identifiers), not an interval for the mean. All intervals are nominal.
I. Training results and comparison protocols
This section reports completed training comparisons and their evaluation protocols, including gains and regressions.
I.1. External-label transfer, in both directions
Table 48 reports Who&When (Zhang et al., 2025b) and TrajErrBench (Qi et al., 2026), whose labels originate outside this project. Their transfer results differ: over TrajErrBench's 486 cases the untrained base scores 18.72% while the three seeds score 15.43, 15.43 and 20.99%, so two of the three regress. We report both rather than the favourable one alone. The two benchmarks differ in what a step is – Who&When labels the decisive step of a multi-agent transcript, TrajErrBench the first faulty step of a single-agent trajectory – and we did not measure which of those differences drives the sign. Different annotators do not establish task-disjoint transfer; the task-overlap sensitivity below further limits that interpretation. Both cohorts score every case, with an unparseable answer counted as a miss. For both benchmarks, the producer maps the three trained evaluation runs to the checkpoints reported in Table 48 and records a common training-data digest. This mapping has not been independently verified against the weights loaded for evaluation.
External task overlap. An audit after the original evaluations found shared task identities or exact goals between training and Who&When. The audit did not flag trajectory overlap at its stated similarity threshold. Absence of such a hit does not rule out other overlap. We rescore the existing predictions, keeping each student paired with the base on the same cases; no model or prompt is returned.
Table 15: Post-hoc Who&When task-overlap sensitivity. Mean exact-step change against base across the larger arm's three seeds, under the unified prompt. Intervals resample shared evaluation items, conditional on these seeds; they do not measure uncertainty over new training seeds.
| Evaluation subset | Cases | Gain (pp) | 95% interval |
|---|---|---|---|
| All cases | 184 | +7.97 | [1.63, 14.49] |
| No flagged task overlap | 149 | +4.92 | [-2.24, 12.08] |
| Flagged task overlap | 35 | +20.95 | [5.71, 36.19] |
The larger improvement occurs on shared tasks. All three point estimates remain positive on the unflagged cases, but their seed-mean interval includes zero; the original headline does not establish transfer beyond task overlap. Task identity and normalized goals define the flagged Who&When cases. The wider audit also checks goal-text containment and trajectory shingles, with matching rules and per-case decisions retained in the companion artifacts. Removing flagged TrajErrBench cases does not reverse its negative seed-mean contrast. These are retrospective sensitivity analyses, not results from decontaminated retraining, which the two paragraphs below report.
Replacement-data retraining. After replacing flagged training rows, we repeat the larger-arm recipe with all planned seeds. Under the pre-specified item-bootstrap rule and original base decode, the Who&When mean exact-step contrast is +7.79 pp (95% interval [1.45, 14.31]). We retain this protocol-specific result alongside the original overlap sensitivity. The new comparison does not rescue the losses under other evaluation interfaces (Table 16). We keep the original and later base decodes: one shared base response set does not measure decode variability. With the later base and source-task resampling, the Who&When mean contrast remains positive. The unified AEB base is the original decode. Raw-answer, input-hash and declared-checkpoint checks pass for the full panel; served paths do not attest loaded weight bytes. Replacing rows changes training examples and optimization paths, so these comparisons do not isolate a causal contribution of overlap or bound its share of the original gain. We retain both original and retrained results.
Sensitivity to replacing flagged training examples. We also compare each replacement-data model with the original model from the same training seed. All three planned runs completed. The training total remains 1,656 rows: 1,574 retained and 82 replaced, including 30 training rows associated with the Who&When overlap audit. Evaluation uses the full 184-case Who&When cohort, not just the 35 flagged evaluation cases. The replacement-minus-original changes are -1.63 pp for seed 17 (95% interval [-3.53, 1.59]), +2.17 for seed 202 ([-2.26, 5.67]), and -1.09 for seed 828 ([-5.26, 3.50]). No per-seed interval excludes zero; the nominal paired p values are 0.45, 0.42 and 0.80. All six models satisfy the answer contract on all cases. Each interval conditions on one pair of trained checkpoints. All seeds use the same original and replacement datasets, so they assess this fixed replacement scheme across training runs. The comparison measures sensitivity to replacing flagged examples; it does not identify their causal contribution to the original gain.
Full-policy input sensitivity. We restored the complete source policy text in the same airline and retail cases, keeping other messages, labels, checkpoints and decoding settings fixed. This post-hoc input check does not replace the primary evaluation.
Table 16: All fixed public conditions after replacement-data retraining. Exact-step percentages for each seed and their mean change against the retained raw-verified base. AEB uses an equal-weight mean over its three environments; other rows use case accuracy. Intervals resample source-task groups, conditional on these seeds and fixed environments. They are sensitivity intervals, not multiplicity-adjusted tests or replacements for the pre-specified item-bootstrap result above. Interfaces can differ in inputs, answer contracts and step coordinates; rows do not isolate a prompt-wording effect. HC/AG: hand-crafted/algorithm-generated; gold: supplied task reference answer.
| Interface | Cohort | Seed 17 | Seed 202 | Seed 828 | Mean Δ [95% interval] |
|---|---|---|---|---|---|
| Shared | HC | 5.17 | 8.62 | 3.45 | |
| HC + gold | 10.34 | 6.90 | 6.90 | ||
| AG | 9.52 | 11.90 | 3.17 | ||
| AG + gold | 6.35 | 8.73 | 5.56 | ||
| AEB | 15.33 | 22.00 | 15.00 | ||
| TEB | 4.12 | 11.73 | 6.58 | ||
| Unified | AEB | 21.67 | 23.67 | 22.67 | |
| TEB | 17.49 | 17.90 | 17.08 | ||
| Unified W&W | W&W | 33.15 | 34.24 | 32.61 | |
| Benchmark-native | HC | 5.17 | 5.17 | 3.45 | |
| HC + gold | 5.17 | 5.17 | 5.17 | ||
| AG | 11.11 | 7.94 | 11.11 | ||
| AG + gold | 7.94 | 8.73 | 9.52 |
Table 17: Exact-step hits on all 400 cases. Both policy conditions use the recorded budget-forcing protocol. First-call hits and continuation counts describe the full-policy run; invalid answers remain misses.
| Model | Clipped policy | Full policy | First call | Continued |
|---|---|---|---|---|
| Base | 87 | 78 | 59 | 65 |
| SFT, seed 17 | 63 | 71 | 71 | 0 |
| SFT, seed 202 | 64 | 62 | 62 | 0 |
| SFT, seed 828 | 92 | 83 | 83 | 0 |
Restoring policy text does not yield a consistent student improvement: one seed improves and two decline. The base also loses accuracy, so a smaller student–base gap under this input does not show better student localization. New-run raw responses reproduce both scoring passes, with runtime paths and checkpoint-file hashes recorded. Historical base raw generations remain unavailable. The comparison does not exclude other context effects or identify the cause of transfer loss.
I.2. Completed full-fine-tuning recipes
We fine-tune all parameters of Qwen3-8B in BF16 with AdamW (Loshchilov & Hutter, 2019), a learning rate of , cosine decay, warmup and gradient clipping at 1.0. Table 18 reports the completed run manifests; no rows were dropped. For diagnosis, we average target-token loss within each task and then across tasks. For actors, we average over target tokens in each optimizer window; an example is one supervised assistant turn. We mask the input context in both recipes.
Each GPU processes one example per microbatch. Diagnosis uses six GPUs with two accumulation steps, except the 948-task seeds 202 and 828, which use four GPUs with three steps. The actor runs use eight GPUs with two steps and zero-loss padding for the last optimizer window of each epoch. We select diagnosis checkpoints on development family-macro exact-step accuracy with thinking disabled, requiring at least parseability. Within 1 point of the best, we prefer fewer epochs, then the lower learning rate. All six 948- and 1,656-task runs select epoch 2; Appendix I.11 reports the smaller scaling arms. Actors use the final checkpoint. The actor mixtures differ in task coverage and optimization budget; the longer success-only run is a duration sensitivity, not a matched-budget control.
Table 18: Recorded training sizes and optimization budgets. Examples are per epoch; updates cover the full run. Batch denotes examples per optimizer update.
| Recipe | Tasks | Rows | Examples | Batch | Epochs | Updates |
|---|---|---|---|---|---|---|
| Diagnosis: seeds 17, 202, 828; sequence limit 24,576 | ||||||
| Full diagnosis | 948 | 948 | 948 | 12 | 2 | 158 |
| Full diagnosis | 1,656 | 1,656 | 1,656 | 12 | 2 | 276 |
| Actor: seed 17; sequence limit 12,288 | ||||||
| Success-only | 1,093 | 1,093 | 10,595 | 16 | 2 | 1,326 |
| Preventive | 1,183 | 1,790 | 11,912 | 16 | 2 | 1,490 |
| Post-error action | 1,183 | 1,790 | 11,912 | 16 | 2 | 1,490 |
| Post-error reflection | 1,183 | 1,790 | 11,912 | 16 | 2 | 1,490 |
| Success-only, longer | 1,093 | 1,093 | 10,595 | 16 | 3 | 1,989 |
I.3. Diagnosis targets and evaluation
Table 48 compares full-diagnosis fine-tuning with prompted models on the frozen holdout. Both the unfiltered and certified-subset full-diagnosis rows have completed evaluation.
Full fine-tuning uses explanation, evidence and proposed action as the target, with attribution fields first. Frozen-protocol and budget-forced evaluations remain separate. Agreement is with recorded teacher labels; the historical human audit does not relabel this test set. Claims of superiority require a paired interval excluding zero; matching requires the predeclared two-point non-inferiority margin.
Prompted baselines. The prompted rows saw the identical 943 prompts and decoding (temperature 0 where the provider accepts it, 8,192-token budget, thinking as each channel allows), were never trained on AED, and each answered all 943 rows; an unparseable answer is a miss, parse rates run from 96.50 to 100.00, and their family-macro is recomputed from per-item predictions over the holdout's 56 families, as for the trained rows.
I.4. Agent post-training design
Table 49 compares held-out task success from the initial state, without a debugger-supplied location. Training uses the corresponding benchmarks' train-side tasks. The historical pilot's success-only, preventive and reflective mixtures differ in task coverage, updates and token budget. The current post-error action-only control isolates the addition of reflection more closely: its erroneous action, feedback and corrected actions match the reflective arm. Training completion alone does not establish an evaluated policy benefit.
I.5. Comparison scope and interpretation
The reported comparisons use separate cohorts for diagnosis production, correction replay, diagnostic learning and actor training. Their input information and evaluation units determine the conclusions each supports.
Counting and uncertainty. All planned evaluation cases remain in the denominator, including missing and unparseable answers, except for the explicitly identified complete-case recovery and real-environment summaries. We report their failure accounting alongside the scores. Source-task clustering addresses repeated tasks; training-seed variation measures a different source of uncertainty. First proposals and search-selected corrections retain separate paired controls.
Overlap sensitivity of the internal comparison. We found no exact overlap in task identities, task content, complete traces or the audited trajectory prefixes. The internal holdout shares environments with training, and most examples also share the harness and policy; it measures within-distribution generalization. We also checked similar input text and repeated user goals across task variants. In both checks, the gain from the larger training set occurs outside the flagged subsets, whose estimated gains are zero or negative and whose intervals include zero. These checks do not rule out other forms of train–test similarity. The audit records retain the matching rules, subgroup scores and uncertainty.
Actor comparisons. The recipes differ in task coverage, per-environment exposure and optimizer updates. Their contrasts describe the combined recipes and do not isolate the effect of repair supervision. Post-error action-only and reflective arms share erroneous actions, observed feedback and corrected continuations; reflection also changes the context for later actions and the supervised-token budget. A state-changing error requires a continuation executed from that post-error state; a passing pre-error branch cannot be spliced after it.
Construction and human-review scope. Diagnosis production measures yield under the stated output requirements and teacher access. Agreement with a construction teacher and admission yield do not establish human-assessed label correctness. The prepared human audit assesses individual records under shared AI assistance, not blinded paired outputs from different construction methods. Its coverage-selected sample does not estimate collection-wide accuracy. The historical student comparisons also vary teacher access or target construction, so their contrasts do not isolate pipeline quality.
Public comparisons. Within each reported protocol, comparisons share frozen cases, input information and scoring rules. First-call and budget-forced evaluations remain separate. Who&When's responsible agent, AgentErrorBench's module and TrajErrBench's error mode are distinct labels. Published native-protocol scores provide context outside the shared-prompt tables. The AgenTracer-data comparison uses a common student recipe and compares training resources, not the original AgenTracer algorithm. These comparisons support protocol-specific conclusions rather than a public leaderboard ranking.
I.6. Diagnosis production on a common failure pool
The common failure pool covers 1,068 source tasks, 16 environments, 10 harness families and 15 policy models. It excludes evaluation-exposed tasks and caps contributions per task. Every configuration receives the same failed executions. Table 19 includes abstentions, malformed diagnoses and engine errors in the input denominator. The main table shows representative single-pass, deep-analysis, multi-model and citation-first configurations; the full comparison is below.
Table 19: Historical production configurations on the common failure pool. Pairs satisfy the recorded structured-diagnosis and trace-citation rule. This is an output-compatibility measurement, not human-validated accuracy.
| Diagnosis configuration | Pairs | Yield | USD / input |
|---|---|---|---|
| AgentDebugX: all-at-once | 735 | 49.0% | 0.0052 |
| AgentDebugX: binary search | 3 | 0.2% | 0.0100 |
| AgentDebugX: counterfactual | 0 | 0.0% | 0.0136 |
| AgentDebugX: heuristic | 802 | 53.5% | 0.0000 |
| AgentDebugX: ensemble | 437 | 29.1% | 0.0152 |
| AgentDebugX: success reference | 756 | 50.4% | 0.0054 |
| AED citation-first judge | 1,403 | 93.5% | 0.0067 |
| Iterative investigation | 192 | 12.8% | 0.0088 |
| Multi-model consensus | 726 | 48.4% | 0.0247 |
| Rule-based triage | 0 | 0.0% | 0.0000 |
| Success-trace comparison | 0 | 0.0% | 0.0000 |
| AgentDebugX: deep analysis | 987 | 65.8% | 0.0143 |
| Prospective diagnosis | 713 | 47.5% | 0.0110 |
What differs. Single-model configurations use GPT-5-mini. Consensus uses GPT-5-mini, Claude Haiku 4.5 and Gemini 3.6 Flash voters, with Gemini as arbiter. Each engine keeps its production renderer and decoding defaults. Success-reference methods additionally use available same-task successful traces. Task reference answers and verifier signals are withheld; historical inputs also omit the policy's system prompt. AgentDebugX adapters invoke its diagnosis implementations (Zhu et al., 2026); deep analysis omits the separate taxonomy-generalization call. Thus neither the teacher ensemble nor rendering is controlled across all rows.
What the cost and yield establish. Costs use whole-job diagnosis meters divided by every input, including failed calls. They exclude trajectory generation, correction replay and hosting. Pair yield requires a structured location and a matched citation under the historical export rule; a matching quote does not establish a correct attribution or a supported correction. Methods that do not emit that citation format can have low yield without being poor localizers. The comparison supports choosing an export-compatible production route, not a claim of superior diagnosis quality.
I.7. Construction cost and scale estimates
Accounting unit. For a cohort with a fixed acceptance rule, cost per retained record is total construction spend divided by retained records, including spend on rejected candidates. Rollout, diagnosis, review and optional replay have separate meters; hosting and human labor require additional accounting. The studies below cover different cohorts and must not be added into a full-collection bill. USD values use recorded token usage and the configured channel prices, not independently reconciled invoices. The collection waves use GPT-5.6-Sol with the all-at-once diagnosis engine; their policy and task mixtures differ. Semantic-review and selected-row cost estimates for a separate pool appear in Table 50.
Table 20: API cost by pipeline stage in two historical collection waves, re-read on September 24. A cell is one environment–harness-policy run configuration. Completed cells supply Table 21; stopped and unsettled cells remain in this accounting ledger. Only rollout and diagnosis appear in these meters.
| Meter scope | Cells | Logged USD |
|---|---|---|
| Completed cells: rollout | 1,198 | 415.53 |
| Completed cells: diagnosis | 1,198 | 343.44 |
| Completed cells: combined | 1,198 | 758.96 |
| Stopped cells (settled meters) | 10 | 0.12 |
| Unsettled meters (logged to date) | 7 | 8.84 |
Table 21: Construction API cost by environment and harness. Both panels partition the same completed cells; they are not additive. Runs includes successful and failed task attempts. Diag. (D) counts runs with a recorded valid-step diagnosis, before independent semantic acceptance. USD includes rollout and diagnosis; USD/D is their combined cost per diagnosis. Model and task mixtures differ across rows, so this is descriptive accounting, not a controlled harness ranking.
| Environment | Runs | Diag. | USD | USD/D |
|---|---|---|---|---|
| AgentBench DB | 2,140 | 418 | 20.62 | 0.049 |
| AgentBench OS | 2,140 | 413 | 18.18 | 0.044 |
| ALFWorld | 1,150 | 754 | 100.43 | 0.133 |
| BabyAI | 630 | 201 | 15.71 | 0.078 |
| BFCL | 1,600 | 666 | 51.63 | 0.078 |
| GridWorld | 1,000 | 115 | 10.51 | 0.091 |
| InterCode Bash | 1,060 | 103 | 6.98 | 0.068 |
| Jericho | 590 | 388 | 29.32 | 0.076 |
| MCPMark | 717 | 398 | 186.74 | 0.469 |
| PDDL | 910 | 453 | 37.68 | 0.083 |
| ScienceWorld | 927 | 489 | 68.54 | 0.140 |
| τ airline | 1,013 | 721 | 83.77 | 0.116 |
| τ retail | 1,630 | 401 | 39.82 | 0.099 |
| Text-to-SQL | 1,000 | 265 | 11.38 | 0.043 |
| TextCraft | 1,060 | 274 | 12.09 | 0.044 |
| TextQuest | 1,000 | 160 | 15.18 | 0.095 |
| TextWorld Cooking | 432 | 225 | 21.37 | 0.095 |
| Warehouse | 1,000 | 41 | 7.97 | 0.194 |
| WebShop-lite | 1,000 | 142 | 8.87 | 0.062 |
| Wordle | 630 | 271 | 12.17 | 0.045 |
| Total | 21,629 | 6,898 | 758.96 | 0.110 |
| Harness | Runs | Diag. | USD | USD/D |
|---|---|---|---|---|
| AFlow | 90 | 72 | 4.79 | 0.067 |
| AgentScope | 240 | 99 | 4.12 | 0.042 |
| AutoGen | 2,320 | 600 | 49.69 | 0.083 |
| AutoGen group | 460 | 274 | 16.78 | 0.061 |
| CAMEL | 240 | 91 | 4.31 | 0.047 |
| CrewAI | 220 | 99 | 3.79 | 0.038 |
| DSPy | 240 | 94 | 7.22 | 0.077 |
| Google ADK | 240 | 82 | 3.87 | 0.047 |
| LangGraph | 2,321 | 591 | 48.82 | 0.083 |
| LlamaIndex | 240 | 93 | 6.61 | 0.071 |
| MetaGPT | 180 | 142 | 4.78 | 0.034 |
| Planner-executor | 834 | 474 | 45.72 | 0.096 |
| Native tools | 4,572 | 1,363 | 166.52 | 0.122 |
| OpenAI Agents | 240 | 113 | 3.84 | 0.034 |
| OpenHands | 2,318 | 555 | 79.78 | 0.144 |
| ReAct | 4,555 | 1,451 | 241.89 | 0.167 |
| smolagents | 2,319 | 705 | 66.43 | 0.094 |
| Total | 21,629 | 6,898 | 758.96 | 0.110 |
Interpreting the variation. The cost of obtaining a failure depends on policy success, trace length and tool interaction; the cost of retaining a pair also depends on the acceptance rule. Completing diagnosis does not guarantee a trace-supported or semantically accepted target. These tables therefore do not price the final quality-admitted release. Stopped cells have settled meters but no completed collection protocol; unsettled meters may omit outstanding calls. We show their logged spend separately instead of treating either group as zero-cost output.
Table 22: Diagnosis-only production cost on the common failure pool. The same representative configurations as Table 47; all configurations and yields appear in Table 19. Pair means a structured location with a matching trace citation under the historical export rule. The last column is a linear budget scenario for 50,000 such outputs, not measured spending or a quality-certified release estimate.
| Configuration | Calls/input | USD/input | USD/pair | USD/50k pairs |
|---|---|---|---|---|
| AgentDebugX: all-at-once | 1.01 | 0.0052 | 0.0106 | 528 |
| AgentDebugX: deep analysis | 4.79 | 0.0143 | 0.0218 | 1,089 |
| Multi-model consensus | 3.18 | 0.0247 | 0.0510 | 2,549 |
| AED citation-first judge | 1.00 | 0.0067 | 0.0072 | 359 |
For method , with total diagnosis spend over all input failures and compatible outputs, we report and project for outputs. This assumes the same task mix, teacher, prices, trace lengths and acceptance yield. Failed calls and rejected outputs remain in . Trajectory collection, success-reference acquisition, later semantic review, repair execution and hardware are outside this diagnosis-only budget. Historical configurations differ in renderers and teacher access (Appendix I.6); cheaper compatible output does not establish more accurate attribution or better student learning.
I.8. Cohorts and interpretation of the main results
Admission and replay use separate populations. The admission ablation fixes source tasks, teacher inputs and candidate diagnoses. Grounding requires all 56 deterministic hard flags; semantic review adds acceptance by both judges on the same input. The nested pool excludes 29 of the 796 rows in the released certified pool because they fail the current flag record. Yield counts candidate rows; tasks and environments count distinct retained sources outside the held-out packs. Total cost per retained row must include generation, checking and rejected candidates. Table 50 reports this accounting as an estimate: matched spend plus extrapolation for unmatched records, with joined-only values reported separately. It is not the diagnosis-only production cost in Table 47. The measured semantic-review stage costs USD 0.039 per Claude Opus 5 verdict on a 200-verdict calibration sample; human-review cost is separate. The proposed matched-pool human audit uses random samples and inclusion weights. The existing purposive coverage audit cannot supply those estimates.
Across 3062 replay attempts, selected replacements pass at 59.1% against 13.7% for the original action, a paired difference of 45.3 points with a task-clustered bootstrap 95% interval of 41.3 to 49.2 over 1284 source tasks. Search stops at the first recovering proposal. The first-proposal contrast in Table 47 and same-harness contrast in Appendix X retain their own controls; they cannot validate the separate diagnosis release. Of these attempts, 1552 of 3062 tried more than one proposal.
Public transfer and reference systems. Relative to the base, the 948-task fine-tune loses up to −29.37 pp under the training-format prompt and up to −9.52 pp under Who&When's source prompt (Table 30). Mixed-format continuation on the same 948 tasks raises Who&When AG, WG from 9.52% to 34.13% (base 38.89%) under the training-format prompt. After this continuation, the seven-field holdout changes little (58.43% versus 58.64%), but TrajErrBench does not recover. Continuation changes training as well as format exposure, so this recovery does not isolate a format-only effect. On the internal holdout, the responsible-agent label is constant over 943 cases: the base's 41.15 unit+step versus 47.19 exact step reflects its tendency to name other units. We omit that joint metric from the main comparison.
Published context includes AgentDebug's GPT-4.1 pipeline (45.0 S, 31.3 S+M) and AgenTracer-8B's Who&When agent accuracy (63.82 HC, 69.10 HC with gold). These are the original papers' scores, not measurements under our protocol. AgentDebug's inspected release provides code and GPT-4.1 results without trained weights; AgenTracer's provides data without the training code or 8B weights. We compare the released training resources and leave unreproduced system rows unfilled. A reimplementation would need its own name and qualification.
| Supplementary comparison | Statistic and interpretation |
|---|---|
| Compact holdout, constant unit | Unit+step: AED 47.26, base 42.10; AED minus AgenTracer data 8.24 [5.47, 10.71]. This measures agreement with one unit label. Intervals use the convention of Table 11. |
| Internal API reference | The full-diagnosis seed-17 reference leads each prompted closed model. The strongest is Claude Opus 5; the paired comparison gives McNemar . Table 48 reports the effect and family-bootstrap interval. |
| Admission and learning | The quality-selection comparison covers five trained arms. Across both holdout formats and both seeds, the eight exact-step contrasts range from -7.74 to -3.92 points (grounding minus no checks). Checkpoint selection leaves update exposure unmatched. |
| Pooled AgentErrorBench | On 200 cases, the 948-task arm versus base gives McNemar under our prompt and under the direct prompt. These nominal tests do not establish a pooled gain. |
Actor generalization within the training environments. The frozen training pool includes all six evaluation environments. The pool manifest records task-identity and payload-overlap checks for the held-out tasks; this design tests task generalization within the same environment set. These environments are excluded from the released core corpus and form a separate development pool. The baseline pins its model revision; full fine-tunes require checkpoint directories and training manifests. The action-only and reflective arms share erroneous actions, feedback and corrected continuations. A state-changing failure requires a continuation executed from that post-error state; a passing pre-error branch cannot be substituted. Success-only trajectories may themselves contain recovery.
Table 23: Actor-evaluation qualifications. Counts refer to different audits and must not be combined. The fixed subset uses a lexical signal, not a recognition label.
| Audit | Recorded observation | Consequence |
|---|---|---|
| Corpus terminal shape | An audit of 124,796 unique traces selects 0 of 3,575 ALFWorld failures and 79 of 1,486 ScienceWorld failures. The separate ALFWorld-lite adapter has 374 of 2,038. | Unsuccessful runs end with finish, without recorded parser/tool errors or exhaustion. This proxy does not enumerate self-repair opportunities. |
| Held-out failure events | Text-to-SQL: 317/319 failures; WebShop-lite: 46/82. | No recognized non-infrastructure error event or step-limit termination. Missing event coverage can affect this classification. |
| Lexical subset | Of those failures, 60 text-to-SQL and 46 WebShop-lite tasks contain an earlier observation with a verifier-signal token absent from the task, after stopword filtering. | Fixes task membership for initial-state reevaluation; does not show that the policy saw or recognized a complaint. |
| Training contamination | The strict parser refused list_tables() on 197 of 1,014 episodes; none of the 1,246 repair rows was built from that refusal. | Use the corrected parser for all evaluated arms. |
Table 24: Sensitivity to the parser condition in untrained-policy runs. Both runs used one server at temperature 0. Other environments also changed, so this does not isolate the parser's causal effect. Same-parser replications remain necessary.
| Environment | Strict (%) | Corrected (%) | Outcome changes |
|---|---|---|---|
| Text-to-SQL | 65.2 | 68.5 | +3.4 pp; 69 gained, 35 lost / 1,014 |
| WebShop-lite | 75.3 | 72.7 | -2.7 pp; 44/300 flipped |
| ALFWorld-lite | — | 88.0 | +0.7 pp; 24/300 flipped |
Only Text-to-SQL syntax is touched by the parser change in this comparison. Two additional strict-parser baseline runs succeed on 5–7 text-to-SQL and 7–13 WebShop-lite tasks in the fixed subset. These do not estimate run-to-run variability under the corrected parser or recovery at common post-error states. ALFWorld-lite, TextQuest, Warehouse and Gridworld have 1, 3, 90 and 0 subset tasks, respectively, against untrained success of 88.0, 67.7, 2.0 and 5.0. Gridworld's zero reflects the frozen scorer's coverage: every one of its 100 episodes includes a refusal (409 records, 295 blocked) whose code lies outside the scorer's event tables. The earlier full-environment pilot is unusable for the headline comparison: no ALFWorld failure meets the corpus terminal-shape proxy, and ScienceWorld returned run errors on 47 of 54 episodes.
I.9. Pipeline labels against a single judge
Table 25: Completed diagnosis-SFT comparisons (frozen protocol, mean ± sd over seeds 17/202/828). Upper block: the contract-faithful rerun of the pilot on its 169 held-out cases (Appendix S). Lower block: the final cohort, without unit+step because the gold agent is one constant label there; is the seed mean of the paired family-macro difference.
| Supervision | Train tasks | Macro | Micro | Unit+step | |
|---|---|---|---|---|---|
| Qwen3-8B base | 0 | 64.05 | 52.66 | 44.97 | |
| Execution-assisted diagnosis | 168 | 59.80 3.78 | 52.47 0.68 | 44.58 0.90 | |
| Teacher-only diagnosis | 168 | 62.44 1.13 | 51.68 2.46 | 41.22 1.81 | |
| Final cohort, 943 held-out cases | Train tasks | Seeds | Macro | Micro | |
| Pipeline label (X), paired cohort | 948 | 3 | 52.51 0.94 | 46.87 0.38 | -0.89 |
| Single judge (J), same cohort | 948 | 3 | 53.39 2.01 | 46.24 1.12 | ref. |
| Pipeline label, scale arm | 1,656 | 3 | 51.29 0.40 | 46.59 0.12 | — |
In the lower block the per-seed 95% family-bootstrap intervals of are [-8.28, -0.12], [-1.71, 5.26] and [-3.33, 2.42] for seeds 17/202/828. The final cohort is the paired subset of the frozen training split, which holds 3157 rows over 1678 source tasks: 948 of those tasks, in 133 families, admit the same attempt under both constructions. 80% power for the registered 5-point effect is not established under the clustered analysis (Appendix S).
G1b. Under the tested recipe, does either diagnosis construction train a better attributor than the untrained base, and does either outperform the other?
We compare construction-pipeline labels (X) with single-judge labels (J) on the same source tasks, trajectories and model-visible inputs, selecting one shared attempt per task without reading its target. X uses execution feedback in the pilot, but no final-cohort X label was replayed. The student receives the diagnosis, not replay outcomes or certification metadata, and output format, adaptation recipe and task exposure per optimizer update are fixed across arms.
Neither diagnosis construction establishes an attribution gain over the base in the pilot or final compact-target comparison. The pilot's X teacher also saw task payloads that J did not, so the null does not isolate the value of execution feedback. The final X labels were never replayed, making that contrast a comparison of label-construction procedures.
| Comparison | Result and qualification |
|---|---|
| Pilot | 168 source tasks, three seeds: mean micro 52.47% execution-assisted, 51.68% teacher-only, 52.66% base. Six paired tests give from 0.442 to 1.0; all six paired X-J intervals contain zero. X saw task payloads on 112 of the 168 rows, J on none. |
| Final cohort | At 948 tasks, no arm gains more than 2.41 macro or reaches the base's micro; 8 of the 9 per-seed intervals against base contain zero. X–J is -0.89 macro on the seed mean. |
| Prompted context | Four API models span 50.69 (GPT-6 Astra) to 54.72 (Claude Opus 5) micro on the same 943 cases (Table 48). |
Takeaway (G1b). At 168 and at 948 source tasks, supervision on these diagnoses establishes no attribution gain over the untrained base or consistent advantage of either construction. Non-separation is not equivalence: the paired intervals are wide relative to the registered 5-point effect (Appendix S).
Transfer to public attribution benchmarks. The public benchmarks measure agreement with a recorded error step, conditional on failure; a match does not establish a unique root cause. Under one evaluation run over four public splits (Table 26), both trained arms stay close to the base on three and score lower on AgentErrorBench — descriptive differences that establish no consistent transfer benefit.
I.10. What the diagnosis itself adds
Diagnoses. Handed the location of a failure, does an actor recover more often when it is also told the diagnosis than when it is simply given a second chance?
Table 26: External attribution after paired diagnosis SFT. Exact-step accuracy (%) over every planned case, including missing or invalid predictions. Trained entries are means over three seeds from the superseded pilot run (target-token-weighted loss), whose rerun found both arms at or below the base on all four splits and shipped no per-split values; the base row is untrained. Descriptive, no significance claimed.
| Benchmark | Cases | Base | Execution-assisted | Teacher-only |
|---|---|---|---|---|
| Who&When HC | 58 | 13.79 | 14.94 | 14.94 |
| Who&When AG | 126 | 33.33 | 32.54 | 31.48 |
| AgentErrorBench | 200 | 10.50 | 7.50 | 7.00 |
| TrajErrBench | 486 | 23.25 | 24.83 | 24.48 |
| Prompted reference | Seeds | Who&When HC | Who&When AG | AgentErrorBench | TrajErrBench |
|---|---|---|---|---|---|
| Claude Sonnet 5, prompted | — | 22.41 | 54.76 | 29.00 | 35.80 |
| Gemini 3.8 Flash, prompted | — | 13.79 | 15.87 | 24.00 | 35.39 |
The measured block is the completed pilot. Benchmark versions, prompts, decoding and scoring are frozen and checkpoints are not selected on them. The prompted rows answer the same splits under the same scorer, Gemini's cells carrying its contract failures as misses.
A cohort of 150 failures in 11 environments was frozen before the run, and each is resumed at the pre-action state of the attributed step; the arms differ only in what the actor is told there (Table 27).
Generic reconsideration already improves recovery over repeating the original action (Table 27). The diagnosis-minus-reconsideration contrast is +5.6 points, with a task-clustered interval of 0.0 to 11.3; an additional benefit from diagnosis content is not established. Marginal arm rates use each arm's completed cases, while this paired contrast uses cases both arms completed. These denominators cannot be interchanged.
Takeaway (diagnoses). At the supplied location, generic reconsideration gains 8.4 points over re-applying the original action. Diagnosis content adds 5.6 more, with an interval reaching zero; its advantage over a second chance is not established.
Table 27: Located-failure cohort: 150 failures in 11 environments resumed at the pre-action state of the attributed step, varying only what the actor is told; Attempts is the number of planned cases on which the arm reached a verdict. The content-free control carries a nudge because a retry with no text changes the execution path. Δ against ref., task-clustered 95% intervals.
| Continuation at the supplied location | Attempts | Seeds | Success | Δ |
|---|---|---|---|---|
| Original action re-applied | 149 | — | 18.7% | ref. |
| Generic reconsideration | 144 | — | 27.1% | +8.4 [2.7, 14.8] |
| Diagnosis and proposed replacement | 146 | — | 32.2% | +13.5 [7.1, 20.1] |
| Deployed coach text | 147 | — | 36.1% | +17.1 [10.8, 23.8] |
I.11. Full-diagnosis training: size and seed stability
Figure 5b summarizes three training seeds at each of four nested task counts. Table 28 gives the scores under the compact answer contract; the untrained base scores 47.19%. We compute the sample standard deviation with denominator . The small open markers display the individual runs at their actual task counts; the connecting line joins observed means and does not fit a scaling law.
Table 28: Three-seed diagnosis scaling. Micro exact-step agreement on the same 943 expected cases. Scores are sorted within each row, not ordered by seed. Means and SDs use exact counts from the original per-case reports.
| Training tasks | Three seed scores (%) | Mean ± SD | Source |
|---|---|---|---|
| 240 | 51.54/53.55/54.29 | 53.13 ± 1.43 | Run reports |
| 480 | 55.78/57.05/58.96 | 57.26 ± 1.60 | Run reports |
| 948 | 59.81/60.34/61.61 | 60.59 ± 0.93 | Run reports |
| 1,656 | 62.88/63.31/64.48 | 63.56 ± 0.82 | Run reports |
All twelve runs have local per-case reports, including the two 480-task replicates supplied in the Claude Code experiment handoff. Development selection chooses epoch 1 for the 240-task seed-17 and 480-task seed-828 runs, and epoch 2 for the others. The original 240- and 480-task seed-17 runs select with frozen development decoding; the other verified runs use thinking-off development decoding. Evaluation uses the frozen protocol throughout. Exact-count SDs can
150 located failures; each arm resumes at the attributed step. n: cases the arm completed; whiskers: task-clustered 95% CI.

Figure 13: Actor recovery at a supplied error location. Recovery among each arm's completed cases with task-clustered 95% intervals; the arrow marks the paired diagnosis-minus-reconsideration contrast on the cases both arms completed.
differ by 0.01 from SDs computed after rounding individual percentages. More training tasks also mean more optimizer updates, so this experiment measures the recorded training procedures rather than a compute-matched effect of dataset size alone.
Earlier paired checkpoint comparisons. The full-diagnosis fine-tune of Section 5.2 has a separate nested training ladder, reported in Table 29. It must not be spliced into the compact-target curve below: the supervision targets and cohorts differ. All points here start from Qwen3-8B and use the frozen decoding protocol. The compact and seven-field prompts request different answer schemas on the same held-out cases; the main comparison to API models uses the compact prompt. Each run supplies predictions for 942 of 943 cases; the missing answer counts as incorrect.
Table 29: Full-diagnosis nested ladder and seed replicates. Micro exact step on the same held-out cases under two prompt schemas. The summary is mean ± sample standard deviation across training seeds for both replicated cohorts, not a confidence interval.
| Target | Tasks | Seed | Epoch | Seven-field | Compact |
|---|---|---|---|---|---|
| Base | 0 | — | — | 46.66 | 47.19 |
| Full diagnosis | 240 | 17 | 1 | 47.83 | 51.54 |
| Full diagnosis | 480 | 17 | 2 | 56.52 | 58.96 |
| Full diagnosis | 948 | 17 | 2 | 58.64 | 60.34 |
| Full diagnosis | 1656 | 17 | 2 | 62.14 | 63.31 |
| Full diagnosis | 948 | 202 | 2 | 60.98 | 61.61 |
| Full diagnosis | 948 | 828 | 2 | 57.69 | 59.81 |
| Full diagnosis | 1656 | 202 | 2 | 62.35 | 62.88 |
| Full diagnosis | 1656 | 828 | 2 | 62.78 | 64.48 |
| 948-task mean | 948 | 3 seeds | — | 59.10 ± 1.69 | 60.59 ± 0.93 |
| 1656-task mean | 1656 | 3 seeds | — | 62.42 ± 0.32 | 63.56 ± 0.82 |
The seven-field smaller-to-middle contrast is +8.70 points (95% paired family-bootstrap interval [6.37, 10.96]); the middle-to-948-task contrast is +2.12 ([-0.11, 4.41]). The latter establishes neither further improvement nor saturation. The larger rung improves micro scores under both prompts, but its family-macro intervals include zero: an aggregate gain need not extend across task families.
Intervals condition on selected checkpoints, exclude training-seed uncertainty and are not multiplicity adjusted. Size also changes update count; selected epochs and development decoding differ across rungs. This ladder therefore describes the recorded training procedures, not an isolated causal effect of adding data. Replicates at both larger rungs describe seed variability; the paired reference remains seed 17.
I.12. Full-diagnosis transfer across public attribution protocols
Table 30 reports the completed seed-17 full-diagnosis checkpoint against the untrained base on the public attribution splits. Prompt families are kept separate: the training-format prompt, the unified attribution adapter, and Who&When's source prompt are not interchangeable protocols. All arms use the same adapter within a cell and budget-forced decoding. The report records the same adapter-source drift within each prompt family; these results are not a claim to reproduce the source papers' systems. The multiformat_s17c arm continues from the 948-task checkpoint for 1 epoch at learning rate , varying target formats on the same task identities.
Table 30: Public transfer with a target-format control. Micro exact step (percent); and nominal paired McNemar compare full FT with base. HC/AG: hand-crafted/algorithm-generated; WG: with ground truth; —: arm unavailable.
| Protocol and split | N | Base | Full FT | Multiformat | Δ | p |
|---|---|---|---|---|---|---|
| Training format: AgentErrorBench | 200 | 15.50 | 20.00 | 21.00 | +4.50 | 0.151 |
| Training format: Who&When AG | 126 | 37.30 | 15.87 | 34.92 | -21.43 | < 0.001 |
| Training format: Who&When AG, WG | 126 | 38.89 | 9.52 | 34.13 | -29.37 | < 0.001 |
| Training format: Who&When HC | 58 | 20.69 | 15.52 | 24.14 | -5.17 | 0.505 |
| Training format: Who&When HC, WG | 58 | 18.97 | 13.79 | 22.41 | -5.17 | 0.546 |
| Training format: TrajErrBench | 486 | 27.57 | 15.43 | 16.87 | -12.14 | < 0.001 |
| Unified: AgentErrorBench | 200 | 17.50 | 20.00 | 18.50 | +2.50 | 0.404 |
| Unified: TrajErrBench | 486 | 18.72 | 17.70 | 18.52 | -1.03 | 0.657 |
| Unified: Who&When (HC+AG) | 184 | 25.54 | 32.61 | 30.43 | +7.07 | 0.049 |
| Source prompt: Who&When AG | 126 | 21.43 | 11.90 | 7.94 | -9.52 | 0.031 |
| Source prompt: Who&When AG, WG | 126 | 16.67 | 11.11 | 8.73 | -5.56 | 0.230 |
| Source prompt: Who&When HC | 58 | 6.90 | 1.72 | 1.72 | -5.17 | 0.248 |
| Source prompt: Who&When HC, WG | 58 | 5.17 | 3.45 | 3.45 | -1.72 | 1.000 |
The unified Who&When cell is positive, but the other unified cells do not establish a gain and several training-format and source-prompt cells decline. The positive cell is one of several nominal tests, not evidence of general cross-benchmark improvement. Internal localization is therefore the supported training result; public transfer remains a limitation. These experiments evaluate a debugger's labels, not autonomous task success or self-repair by a trained actor.
Multiple-testing correction and same-machine repeat evaluation. Table 30 runs thirteen paired tests and prints each without correction. Holm over that declared family of thirteen leaves three cells significant, all of them losses and all in the training-format prompt family (Table 31); the positive unified Who&When cell does not survive (Holm 0.437). Twelve of the thirteen reported conditions decoded their arm on a different machine from their base, so we re-decoded the same published checkpoint on the same instance as the base and paired predictions case by case. The arm reproduces its reported value in all thirteen cells, moving at most 0.24 of the decode floor's standard deviation and never more than two, against a pooled flip rate of measured by re-decoding one model twice on one machine. That pooled rate comes from two cells. A third cell re-decoded on the same instance flips only of its items, three times less often, so the floor is a property of the cell as much as of the decode. The tighter rate is the demanding one here, because a smaller shrinks the standard deviation the shifts are divided by: under it the largest shift is 0.40 of a standard deviation and no cell passes two. Holm correction after the repeat evaluation retains the same three losses.
All three surviving cells also lose answer-contract compliance. A contract failure scores as a miss, so we report a descriptive sensitivity on cases both arms parsed. The two Who&When AG cells reverse sign, to (, ) and (, ), with neither reaching nominal significance. TrajErrBench keeps on the 452 cases both arms parsed () against 7.00 points of contract loss. Thus, the TrajErrBench regression persists within parseable outputs. The restriction selects on a post-treatment variable: it cannot attribute the full-cohort loss to formatting or diagnosis, nor establish that diagnosis quality is unchanged in the AG cells. We retain the full-cohort tests as primary and treat this subset analysis as descriptive, outside the family of independent confirmatory tests.
At the larger rung, two checkpoints score below the untrained base on TrajErrBench and one scores above it (Table 32);
Table 31: The thirteen transfer tests before and after same-machine repeat evaluation. Holm is over the declared family of 13; Contract is the repeat-evaluation change in answer-contract compliance. Both columns select the same three cells, all losses.
| Committed (arm on W1) | Re-decoded, same box as base | |||||
|---|---|---|---|---|---|---|
| Protocol and split | N | Δ | Holm | Δ | Holm | Contract Δ |
| Training format: AgentErrorBench | 200 | +4.50 | 1.000 | +5.00 | 0.712 | -3.50 |
| Training format: Who&When AG | 126 | -21.43 | 0.002 | -23.02 | < 0.001 | -54.76 |
| Training format: Who&When AG, WG | 126 | -29.37 | < 0.001 | -30.16 | < 0.001 | -71.43 |
| Training format: Who&When HC | 58 | -5.17 | 1.000 | +0.00 | 1.000 | -15.52 |
| Training format: Who&When HC, WG | 58 | -5.17 | 1.000 | -6.90 | 1.000 | -17.24 |
| Training format: TrajErrBench | 486 | -12.14 | < 0.001 | -12.14 | < 0.001 | -7.00 |
| Unified: AgentErrorBench | 200 | +2.50 | 1.000 | +2.50 | 1.000 | +0.00 |
| Unified: TrajErrBench | 486 | -1.03 | 1.000 | +0.41 | 1.000 | +0.00 |
| Unified: Who&When (HC+AG) | 184 | +7.07 | 0.437 | +7.07 | 0.437 | +0.00 |
| Source prompt: Who&When AG | 126 | -9.52 | 0.310 | -10.32 | 0.164 | -0.79 |
| Source prompt: Who&When AG, WG | 126 | -5.56 | 1.000 | -3.97 | 1.000 | +0.00 |
| Source prompt: Who&When HC | 58 | -5.17 | 1.000 | +0.00 | 1.000 | -10.34 |
| Source prompt: Who&When HC, WG | 58 | -1.72 | 1.000 | +0.00 | 1.000 | -15.52 |
Table 32: Public localization across training seeds. Two benchmarks under the unified attribution prompt. We divide correct predictions by the full frozen cohort, counting a format-contract failure as a miss; Format fails records those failures. The values are nominal, exact paired McNemar tests against base. The producer records the same training-data hash for the larger-rung checkpoints. We use the producer's checkpoint mapping, since the reports' model alias is identical for trained and untrained arms.
| Training rows | Seed | Correct / cohort | Exact (%) | Format fails | p vs. base |
|---|---|---|---|---|---|
| TrajErrBench | |||||
| 0 | — | 91 / 486 | 18.72 | 0 | — |
| 948 | 17 | 86 / 486 | 17.70 | 0 | 0.6570 |
| 1,656 | 17 | 75 / 486 | 15.43 | 0 | 0.0888 |
| 1,656 | 202 | 75 / 486 | 15.43 | 1 | 0.0805 |
| 1,656 | 828 | 102 / 486 | 20.99 | 0 | 0.2664 |
| Who&When | |||||
| 0 | — | 47 / 184 | 25.54 | 0 | — |
| 948 | 17 | 60 / 184 | 32.61 | 0 | 0.0470 |
| 1,656 | 17 | 64 / 184 | 34.78 | 0 | 0.0115 |
| 1,656 | 202 | 59 / 184 | 32.07 | 0 | 0.0807 |
| 1,656 | 828 | 62 / 184 | 33.70 | 0 | 0.0444 |
we find no seed-stable transfer gain on that benchmark. On Who&When, all replicated checkpoints exceed base, although one paired comparison does not reach nominal significance. The task-overlap sensitivity in Table 15 further limits the transfer interpretation. The observed seed ranges do not set a detection threshold for other comparisons. Paired case-level tests condition on the chosen checkpoints and leave training-seed uncertainty unmeasured; a non-significant seed contrast does not establish checkpoint equivalence.
I.13. Compact-target training-set size
Size. If the full cohort does not help, does a smaller one, and what does the student learn as the training set grows?
Nested subsets of the scale arm, cut to whole optimizer windows of 12 source tasks (120, 252, 504 and 1,020 tasks, hence not powers of two), are each trained with one seed under the full arm's recipe; the full 1,656-task arm contributes the three seeds of the main run, and all five points are scored on the same 943 held-out cases. Public-split results exist only for the smallest subset and the full arm. The subsets reach 48.89, 47.72, 47.40 and 46.13 micro exact step against 47.19 for the untrained base and for the full arm (Figure 14). Accuracy is lower at full scale than at the smallest subset; at full size seed 17 sits 0.53 below the base and the three-seed mean 0.60. The smaller points are one seed each, so we fit no functional form.
Output changes along the curve. The compact target is a bare verdict, which the chat template renders with an empty reasoning block. Outputs increasingly contain empty reasoning blocks as training size increases. The share of held-out answers given with an empty reasoning block is 0.0% at 120, 252 and 504 training tasks, as for the base, then
90.4% at 1,020 and 100.0%, 99.9% and 100.0% for the three seeds at 1,656.
The reasoning-preserving arm of Appendix I.14, trained on 1,008 self-distilled rows whose targets keep the reasoning, never answers with an empty reasoning block and reaches 48.46 against the base's 47.19 on seed 17; that paired difference of +1.27 has an interval of [-1.00, 3.65] and does not establish a gain. This comparison uses one training seed.
Takeaway (size). With a verdict-only target, empty reasoning blocks appear between 504 and 1,020 training tasks as accuracy falls. Because the subsets also change tasks and update counts, the curve does not isolate target format as the cause.

| Train tasks | Seeds | Step (micro) | Step (family-macro) |
|---|---|---|---|
| 0 (base) | — | 47.19 | 50.98 |
| 120 | 1 | 48.89 | 54.33 |
| 252 | 1 | 47.72 | 53.20 |
| 504 | 1 | 47.40 | 55.10 |
| 1,020 | 1 | 46.13 | 50.96 |
| 1,656 | 3 | 46.59 ± 0.12 | 51.29 ± 0.40 |
| Train tasks | Who&When HC | Who&When AG | AgentErrorBench | TrajErrBench |
|---|---|---|---|---|
| 0 (base) | 18.97 (n = 1) | 34.92 (n = 1) | 6.50 (n = 1) | 24.07 (n = 1) |
| 120 | 13.79 (n = 1) | 33.33 (n = 1) | 8.00 (n = 1) | 25.10 (n = 1) |
| 1,656 | 9.19 ± 0.99 (n = 3) | 24.34 ± 2.29 (n = 3) | 11.33 ± 1.53 (n = 3) | 17.19 ± 2.76 (n = 2) |
Figure 14: Held-out exact step against training-set size. Micro exact step on the 943 held-out cases by source tasks (log axis; one seed per nested subset, three at the full arm, base dashed, no fit). The upper table reports internal results at every measured size; the lower table reports available public evaluations. Intermediate sizes have no public evaluation. Replicated cells show mean ± sample sd, with replicate counts in the table. Missing or invalid predictions count as misses on the full evaluation cohort.
I.14. A reasoning-preserving arm
This arm retains the reasoning that compact verdict-only targets omit. It changes target content, length and retained task support together, so it is not an isolated test of reasoning preservation.
| Construction step | Frozen setting or outcome |
|---|---|
| Sample | Four base-model samples on each of the 1,656 prompts: temperature 0.6, top-p 0.95, top-k 20, 8,192-token budget, thinking enabled. |
| Accept | Match the row's recorded decisive step: 49.4% of samples and 61.5% of rows qualify. This selects agreement with the label, not correctness of the reasoning. |
| Choose | Prefer the matching responsible unit, then the shortest reasoning; 1,019 rows survive. Drop one over-length row and use salted identity rank to form 1,008 rows in whole twelve-task optimizer windows. |
| Compare | Hold prompts, labels, recipe and scorer fixed on retained rows. Dropping rows without a usable sample makes support smaller and easier than the compact arm. |
I.15. Preference optimisation on measured-effect pairs
DPO changes relative action likelihoods with little change in held-out chosen-action agreement (Table 33). No task-recovery evaluation was run.
| Component | Setting, evidence and scope |
|---|---|
| Preference pool | 333 training pairs compare a teacher-proposed action with the original action after positive measured replay. The strict exact-prefix, same-harness census marks 0 pairs eligible; 254 continue in a different harness. |
| Training | LoRA DPO (Hu et al., 2022; Rafailov et al., 2023): , , learning rate , two epochs and three seeds. 40 updates over 314 pairs after dropping 16 over 16384 tokens and 3 with mismatched formats. Reference: adapter-disabled base. |
| Evaluation | Of 99 held-out pairs, 94 compile. Base chosen-action preference is 54.3%; DPO gives , positive implicit margin on , and mean margin 1.29 nats. |
| Claim | Offline agreement with which action replayed better; no established deployment-policy action effect or recovery benefit. |
Table 33: Held-out preference agreement after DPO on measured-effect pairs. Rates over the 94 held-out pairs that compile under the 16384-token limit (5 skipped: 4 whose sides differ in format, 1 over length); the base row is the untrained student's own preference. Dev is a 21-pair sanity check, not used for selection. Mean margin is under the scored model for the base row and, for the DPO rows, the implicit reward margin
without the factor; the base figure is a raw log-likelihood margin and is not comparable with the reference-relative rows. Offline agreement with a replay-measured preference, not task success.
| Checkpoint | Pairs | Prefers chosen (%) | Implicit reward >0 (%) | Mean margin (nats) | Dev prefers chosen (%) |
|---|---|---|---|---|---|
| Qwen3-8B base | 94 | 54.3 | — | 10.21 | — |
| DPO seed 17 | 94 | 55.3 | 67.0 | 1.29 | 52.4 |
| DPO seed 202 | 94 | 54.3 | 60.6 | 1.32 | 52.4 |
| DPO seed 828 | 94 | 54.3 | 62.8 | 1.27 | 52.4 |
| Mean sd over seeds | |||||
J. Additional detail for the experiments
Table 34: Interpretation of the supplementary results. Each row retains its own cohort and denominator.
| Comparison | Observed result | Scope |
|---|---|---|
| Paired replay | Discordant pairs: 1454 replacement wins, 66 losses. Source-harness stratum: 871 pairs, +47.1 points [42.3, 51.7]. | Selected replayable attempts; the control reruns the original action. No diagnosis-release row joins this replay study. |
| Located recovery | Deployed coach versus clean diagnosis: +4.9 points [-0.7, 10.4]. | Supplied error location, untrained debugger; the interval does not establish a framing benefit. |
| Compact-target pilot | Three-seed micro: 52.47% execution-assisted, 51.68% teacher-only, 52.66% base. | Construction arms differ in teacher access and engine. All six paired X-J intervals include zero. |
| Reasoning control | Base thinking-off: 47.51 exact step, 34.89 unit+step on 943 cases. | One run. A single gold unit makes unit+step sensitive to output naming. |
| Public positional control | Test-selected constant steps score 17.2, 27.0, 16.0, 10.3%. | Diagnostic upper envelope for constant-step guesses; not a deployable baseline. |
The corresponding result tables preserve full counts and uncertainty. Neither the pilot null nor the compact scaling curve establishes equivalence between construction methods. The separate full-diagnosis scaling results use a different target and must not be pooled with them.
(a) By kind of replacement

(b) By position of the attributed step

(c) By environment

Figure 15: Where recorded corrections help. Paired difference (replacement minus original action) with task-clustered intervals, by replacement kind, attributed-step position and environment (cells with at least 30 pairs).
K. Sensitivity Analyses
K.1. Multi-round repair yield and diagnosis changes
What changes across repair rounds? A later diagnosis need not identify a later error. Across 1,744 transitions in 405 multi-round attempts, 1,064 (61.0%) name the same step again, 363 (20.8%) move later, and 317 (18.2%) move earlier (Figure 16a, Appendix K). The loop revisits a diagnosis more often than it progresses through independent errors, so intermediate hypotheses and unsuccessful proposals are retained; these are observed transitions, not the effect of adding a round.
Table 35 reports per-round yield on this cohort; the repository archive retains the full protocol and round-level records.
Table 35: Iterative construction across three campaigns: 507 diagnosed attempts, of which 377 are eligible for paired replay. Later rounds add observed successful contrasts; no randomized one-round control was run. Attempts stopped while still failing are right-censored.
| Wave 1 | Wave 2 | Wave 3 | Pooled | |
|---|---|---|---|---|
| Diagnosed attempts | 109 | 170 | 228 | 507 |
| structurally ineligible | 0 | 0 | 130 | 130 |
| certificate-eligible | 109 | 170 | 98 | 377 |
| Certificates | 60 | 74 | 15 | 149 |
| first earned in round 1 | 45 | 40 | 9 | 94 |
| first earned in rounds 2–7 | 15 | 34 | 6 | 55 |
| First-round rate, eligible attempts | 41.3% | 23.5% | 9.2% | 24.9% |
| Eventual rate, eligible attempts | 55.0% | 43.5% | 15.3% | 39.5% |
| Later rounds' increment | 13.8% | 20.0% | 6.1% | 14.6% |
a Successive diagnoses

b Errors reported on successful runs

Figure 16: Two development analyses with separate populations. (a) Changes in attributed step across 1,744 successive diagnosis rounds. (b) Error reporting on the same 50 successful trajectories per model under failure-presupposing and neutral prompts. Successful completion does not imply an error-free trace. Neither panel is a trained-model result.
L. Error reporting on successful trajectories
On 50 successful trajectories, GPT-5 mini, GPT-5.6 Sol and Claude Opus 5 each name an error under a prompt that presupposes failure: none of the 150 primed cases abstains. Removing that premise and allowing “none” yields abstention rates of 84%, 86%, and 44% (Figure 16b). The first two models still report errors on 10 of 10 matched failures. These are error-reporting rates, not automatically false-positive rates: 39 of the 50 successes contain a recoverable hiccup.
We used paired prompts on the same trajectories: the AgentErrorBench instruction verbatim and a version that removes the failure premise and permits “none”. Rendering and prefix truncation match the external attribution protocol. The sample spans twelve environments, seven harnesses and ten policies, with one trajectory per task. Attribution accuracy still requires semantic adjudication.
Claims concentrate near the final visible step. That positional pattern, together with the prompt dependence, limits interpreting failed-trajectory attribution accuracy as general error detection. The successful-run sample is small, the matched failures provide only a sensitivity check, and only one prompt family was tested. These observations do not estimate false-positive rates or transfer to a neutral deployment prompt.
M. Sensitivity to the supplied error location
The recovery numbers elsewhere hold the told step fixed at the corpus's own label, so they cannot separate “the localizer found the right place” from “this actor recovers from anywhere”. We varied only the told step. On the frozen 150-failure cohort, with GPT-5 mini proposing one replacement action and a fixed actor continuing, three arms differ in nothing but where the proposer is told the error is: our labelled step, a step drawn uniformly from the same trajectory among those that are neither the labelled one nor the last, and no step at all, the proposer deciding for itself. Moving the told step moves the restored checkpoint, so each arm is scored against its own sham control drawn from its own checkpoint; rates across arms are not comparable and the within-arm contrast is the one to read.
Told our step, the proposal beats its control by 12.9 points (26 proposal-only against 7 control-only over 147 paired rows, ). Told a different step, the same proposer and actor gain 3.1 points (18 against 14 over 129 rows, ): this within-arm comparison does not establish that the labelled location is better than the alternative location. Told nothing, the proposer names a replayable step on 136 of 150 rows, agrees with our label on 90, and gains 9.8 points (20 against 7 over 133 rows, ). Between our label and the un-cued proposer the difference is not significant on the 144 rows where both ran ( ).
Two caveats bound this. The cohort overlaps training — 55 of its 150 tasks are in the train slice — so these are exploratory numbers, not a held-out claim. And a null between arms at this size is not equivalence. The labelled arm's prompts are byte-identical to the frozen T2 pack on all 150 rows and reproduce that pilot's direction and significance under a stochastic continuation. The prompts passed the information-access check; recorded cost was 3.66.
N. Output-contract and abstention controls
On trajectories where the production debugger declined, an explicit schema instruction did not improve citation-grounded admission over retrying the unchanged prompt. Removing the option to abstain did not support the proposed abstention mechanism either. Repeated identical calls also changed admission outcomes, limiting single-call comparisons. A separate successful-output stratum showed a nominal adverse grounding result, which did not survive the stated multiplicity threshold. These development studies do not justify either prompt change; their registrations and complete results remain in the archive.
O. Corpus Composition and Coverage
O.1. The evaluated release by environment
Table 12 counts the frozen v14 diagnosis release (train, development and holdout splits) per environment, from the package files the manifest hashes: rows, distinct source tasks, the harness families and policy models that produced the failed runs, and the paired-replay attempts the separate replay package holds for that environment. A harness family is the harness identifier before its commit hash, so two commits of one harness count once; the release census records the mapping. Every row of the diagnosis release is marked as not replayed: replay evidence lives in the replay package, not in these rows, and the last column is that package's count.
O.2. Current collection coverage
Appendix B.1 reports support and diagnosis multiplicity from the same pair index as Figure 3. The environment inventory below uses that index too. Policy names identify recorded configurations; comparing model generations requires common tasks, matched execution settings and successful-rollout denominators, which these failure-only counts do not supply.
O.3. Environment fidelity and the real-environment rebuild
The frozen diagnosis release includes fifteen of the environments below. Procedural toys, simplified stand-ins, our own synthetic task generators and Text-to-SQL are excluded from the frozen release and remain counted in the collection, each labelled by type in Table 36.
Earlier development packages and the rollout atlas have different eligibility rules and do not define the frozen release. New production is counted as distinct source-task and trace identifiers, followed separately by attempted diagnoses, grounded candidates, and validated replay products. Multiple policies, harnesses, temperatures, or judges do not create new source tasks.
Different admission requirements. Diagnosis can use environments with a documented scoring rule even when replay is unavailable. The current diagnosis queue disables certification for GAIA, Mind2Web (static), and WideSearch; a deterministic static observation witness alone does not establish a valid interactive repair endpoint. Missing verifier outcomes, infrastructure errors, and deliberately omitted replay are distinct statuses. No certificate is inferred from attribution presence or a successful serialization. The current production setting can supply a single-pair contrast, but cannot satisfy the replicated certificate threshold of at least two executions per arm.
Fifteen environments are targeted: ALFWorld, AppWorld, AgentBench-DB, AgentBench-OS, BFCL, GAIA, MCPMark, Mind2Web (static), ScienceWorld, SWE-bench Verified, SWE-smith, -bench airline, -bench retail, Terminal-Bench, and WideSearch. The frozen-release collection plan repeated each environment's tasks across policy, harness, and temperature rather than one rollout per task, because several of these pools are small (e.g. 26 -bench airline train tasks, 31 MCPMark); nine harnesses were available (three built-in, six external), and a failure that appears only under one harness or one temperature is a different observation, not padding.
Table 36: Every environment counted in the collection snapshot, by type. One row per environment with at least ten source tasks: its distinct source tasks and error–diagnosis pairs in the snapshot, and whether the frozen diagnosis release contains it.
| Environment | Type | Source tasks | Pairs | Frozen release |
|---|---|---|---|---|
| ALFWorld | Public benchmark | 1,431 | 4,838 | yes |
| AgentBench-DB | Public benchmark | 1,120 | 4,407 | yes |
| AgentBench-OS | Public benchmark | 485 | 3,309 | yes |
| BFCL | Public benchmark | 470 | 5,521 | yes |
| ScienceWorld | Public benchmark | 334 | 1,655 | yes |
| τ-bench retail | Public benchmark | 324 | 3,134 | yes |
| SWE-bench Verified | Public benchmark | 228 | 639 | yes |
| BabyAI | Public benchmark | 195 | 529 | no |
| TextCraft | Public benchmark | 192 | 486 | no |
| PlanBench (PDDL) | Public benchmark | 163 | 675 | no |
| Wordle | Public benchmark | 91 | 1,078 | no |
| AppWorld | Public benchmark | 89 | 2,345 | yes |
| TextWorld Cooking | Public benchmark | 84 | 1,020 | no |
| SWE-smith | Public benchmark | 67 | 126 | yes |
| Terminal-Bench | Public benchmark | 62 | 425 | yes |
| Jericho | Public benchmark | 47 | 748 | no |
| -bench telecom | Public benchmark | 36 | 1,030 | no |
| MCPMark | Public benchmark | 29 | 1,402 | yes |
| BrowseComp-Plus | Public benchmark | 27 | 28 | no |
| τ-bench airline | Public benchmark | 26 | 2,498 | yes |
| WideSearch | Retrieval backend missing | 143 | 843 | yes |
| GAIA | Retrieval backend missing | 78 | 1,013 | yes |
| Mind2Web (static) | Exact-replay grader | 527 | 4,050 | yes |
| Text-to-SQL | Public benchmark, not agentic | 336 | 2,684 | no |
| TextQuest | Synthetic | 644 | 1,217 | no |
| InterCode-Bash | Synthetic | 315 | 555 | no |
| Math-tool | Synthetic | 220 | 226 | no |
| Warehouse | Synthetic | 181 | 363 | no |
| Unit-test repair | Synthetic | 37 | 132 | no |
| ALFWorld-lite | Simplified stand-in | 618 | 1,198 | no |
| AppWorld-lite | Simplified stand-in | 470 | 479 | no |
| WebShop-lite | Simplified stand-in | 464 | 857 | no |
| GridWorld | Procedural toy | 428 | 718 | no |
| All 33 environments | 9,961 | 50,228 | 15 | |
Public benchmark: upstream tasks and grader; Retrieval backend missing: collection-host search unavailable; Exact-replay grader: graded against recorded actions; Public benchmark, not agentic: single-query SQL; Synthetic: generated tasks; Simplified stand-in: reduced benchmark imitation; Procedural toy: generated grid world. Frozen release marks environment membership only.
O.4. Replay sample budget
The replay budget analysis derived the per-arm sample count from the measured pass-rate variance and cost of each environment; the analysis, its result table and the alternatives it rejected are in the repository archive. Table 37 records the state-restoration checks that decided which environments can replay at all. The current construction uses one execution per arm and reports the paired discordant counts directly (Section 5).
P. Prior evaluation exposure and the current split
We screen candidate splits against prior model evaluations before using them for confirmatory comparisons. Exposure is assessed from recorded outputs, including partial runs, and is distinct from ordinary rollout collection or teacher annotation.
The exposure registry resolves prior evaluation outputs, including partial runs, to source tasks, trajectories and leakage components. Construction-time teacher labels and unexecuted prompts do not count as evaluation exposure. Public benchmark identifiers remain in a separate registry. Undocumented external use cannot be ruled out.
We withdrew the earlier v12r split's confirmatory designation after detecting prior exposure. The v13 pilot uses
| Witness class | Environments | Basis |
|---|---|---|
| Observed agreement | BFCL, ScienceWorld, SWE-bench Verified, τ-bench airline, τ-bench retail, Terminal-Bench, AgentBench-DB, AgentBench-OS, SWE-smith, Mind2Web (static), ALFWorld, App-World | 10 by oracle prefix, 2 (ALF-World, AppWorld) by recorded trace |
| Measured divergent (excluded) | MCPMark | Two replays of the same recorded prefix disagreed on the verifier verdict |
| No deterministic replay | WideSearch, GAIA | Live web interactions do not support deterministic prefix replay |
Table 37: State-restoration checks across fifteen target environments. ALFWorld contributes a potential pool of 3,553 tasks and was checked using recorded actions because no reference prefix was available. MCPMark is excluded from verified-repair counts after observed divergence. WideSearch and GAIA retain diagnosis records without deterministic replay.
an ingestion cutoff committed before scoring, an immutable input snapshot and component-level exclusion. Its eligible train, development and holdout partitions had no recorded exposure under that registry; previously exposed components form a separate exploratory split.
The v14 release applies the same salt and component rule: exposed or quarantined material must not reach train, development or holdout. It places 418 rows over 121 tasks in the exploratory split. A category covering more than a quarter of an environment's tasks is split into task-level singletons; this prevents a coarse family name from linking an entire environment, but limits family-disjointness claims. No separate v14 audit against the exposure registry was run. The evidence is the export rule, not an independent measurement of zero exposure.
Q. Training and Evaluation Protocols
Q.1. Policy context and rendering
Table 38: Audited visibility gaps. Historical diagnoses do not acquire information retroactively when an exporter restores it.
| Audit | Measurement | Consequence |
|---|---|---|
| Policy request | Reconstructed manifests cover 67,308/67,377 traces; 65 lack a system turn and 4 have an unmatched digest. | External-framework system turns were re-rendered; reconstruction is distinct from native request logging. New collection records the first request. |
| Rules invoked by diagnoses | On 550 model-reviewed pairs, weighted shares are 39.2% visible rules, 32.2% [27.3, 37.0] system-only rules, 12.0% unstated rules, and 5.5% [3.2, 7.8] contradicted rules. | Model estimates, not human validation. Historical debugger inputs omitted policy system prompts and tool lists. |
| Field clipping | Cap: 600 characters. 3367/4737 release rows contain a clip; 29.5% of text is removed. | The debugger saw clipped text while citation matching used the unclipped render. Seven of 25,674 unresolved citations recover under a wider scorer render. |
| Rediagnosis | On 200 clipped rows, clipped–clipped step agreement is 82.5%; clipped–unclipped is 80.0%. | Aggregate change is comparable to rerunning. The deterministic voter agrees with its unclipped version on 79%; 19 rows move only without clipping. |
Rendering and clipping remain versioned. Comparing diagnosis inputs with the policy's recorded contract is necessary even when a quotation resolves.
Q.2. Replay harness and state fidelity
Matched treatment and control must share the restored state and continuation policy. This does not ensure that either reproduces the source system. Table 14 stratifies the current paired cohort by source-harness replay, substituted continuation and incomplete restoration. A contrast under substituted ReAct measures that loop; transfer to the original coordination, memory and stopping rules remains untested. Current contrasts use one sample per arm. Repeated branch outcomes and unique causation require additional evidence.
Q.3. Learning objectives and execution assumptions
Table 39 summarizes the evaluated recipes. We use conventional objectives; the data construction determines the visible history and supervised responses.
Table 39: Training views and experimental scope. Context tokens carry no SFT loss. An implementation or exportable view does not establish a training benefit.
| Recipe | Input response | Evidence and experimental scope |
|---|---|---|
| Diagnosis SFT | Failed trace attribution, optionally with rationale, evidence and correction | Main diagnosis experiments; the label need not identify a unique cause. |
| Preventive actor SFT | Pre-error history actions from a passing continuation | Executed correction and branch lineage; mixed with successes in Section 5.3. |
| Post-error actor SFT | History, erroneous action and rejection correction, with or without reflection | Eligible state-preserving rejections; other repairs retain preventive targets. Section 5.3. |
| Action DPO | Shared text prefix chosen and rejected actions | Historical offline pilot only; it does not meet the current strict lineage criterion (Appendix I.15). |
SFT rendering and reduction. Equation 1 defines the diagnosis example-mean and actor token-mean objectives, with the mask selecting target assistant tokens. Appendix S reports the example-mean runtime check and its historical scope. These targets do not supervise a separate reasoning sidecar; Appendix I.14 describes the distinct reasoning-preserving construction.
Each actor example uses the inference chat prefix and supervises one assistant response, including its end-of-turn token. We mask the history, observations and identifiable rejected actions; passing a branch does not validate each intermediate action. Loss averages over target tokens across all ranks in each optimizer window. Zero-loss padding avoids duplicating supervision. Composition excludes whole overlength rows without truncation; frozen training refuses unrecorded exclusions. Equal task exposure does not imply equal tokens, updates or compute.
For the post-error mixture, we reuse the pre-error passing continuation after checking a state-preserving adapter rejection and equal recorded task-state snapshots, excluding bookkeeping fields. We insert the source error and rejection as masked context. We construct reflection text from the recorded explanation, filtering later-step references, future-only words and hindsight phrases. This heuristic does not prove prefix support. The reflection is supervised text in the corrected response's Thought : field, not a native model reasoning channel. The action-only control retains the same error, feedback, corrections and masks, and removes only this inserted reflection; its target-token budget therefore differs.
Replay contrasts and preference learning. For failed trajectory , let be its observable history before action , and its attributed step, responsible agent and explanation. This attribution need not identify the unique or earliest root cause. Paired replay holds the checkpoint and execution protocol fixed. For arm and verifier verdict on repetition of ,
Repeated immediate verifier verdicts are not independent trials. Current preference admission requires valid shared-state lineage and a positive contrast.
01 Diagnose
Completed failed trace
Step, agent, explanation
Grounded trace evidence
Replay is optional
02 Recover
History before intervention
Passing assistant actions
Executed passing branch
History and observations masked
03 Compare
Shared state + alternatives
Observed action outcomes
Matched execution protocol
Keep null and negative contrasts
Figure 17: Learning from the same failed run. Diagnosis observes the completed failed trace; the illustrated preventive recovery view observes the history before an intervention. The post-error extension also retains the erroneous action and feedback as masked context (Appendix Q.3). Action comparison additionally requires executed alternatives from the same state. Each arrow denotes a supervision interface, not a measured training benefit.
Action DPO uses the standard reference-relative log-probability objective (Rafailov et al., 2023) with a frozen, adapter-disabled base reference . For a shared prefix and chosen/rejected responses , define . With scale and logistic function ,
The sequence log-probabilities sum response-token terms. This offline objective does not turn the historical pilot into a qualified recovery experiment.
Q.4. Metrics by supervision target
Diagnosis reports exact-step accuracy, accuracy within five steps, and parse rate. Repair reports tool-name, argument, and complete-action accuracy; these offline proxies do not replace execution with an environment verifier. Each view uses the full expected cohort: missing predictions count as incorrect, while present-prediction scores are separate. Duplicate or foreign predictions are rejected. Corrected v6 views pass visible-target checks.
Q.5. External attribution benchmarks
Who&When is reported separately for Hand-Crafted and Algorithm-Generated cases. AgentErrorBench uses a 1-based agent-step index, not individual message indices, and predicts a failure module rather than a responsible agent. Within each comparison, checkpoints share the source-specific prompt and rendering version. TrajErrBench retains its source message indices and error-module labels. MAST uses separate multilabel metrics against released o1 judge labels.
All-case accuracy counts provider errors and non-answers as incorrect; parsed accuracy and contract rate are separate. Gold steps outside the rendered context remain in the operational all-case denominator; source-invalid gold is separately identified. Label-visible sensitivity and position baselines use explicitly matched cases. Manifest labels must distinguish attributed failure, verified recovery point, and an earliest point established by an explicit search; replay at one point cannot certify earliestness.
Q.6. Supervision interfaces
Figure 17 distinguishes diagnosis of a completed trace from action supervision at an intervention point. The training objectives and masking rules are in Appendix Q.3.
R. Replication of single-trial contrasts
A single successful replacement with a failed control can fail to reproduce. We replayed both actions on 126 rows selected for certification after a revision. The certified action passed again on 85 rows, while the full success/failure contrast repeated on 66. Selection after a successful revision limits both rates to this cohort.
The revised action outperformed the first proposal among rows where the first proposal had failed; the advantage disappeared where it had passed but its control also passed. Same-action repeats showed stochastic reversals. These observations support retaining control outcomes and trial counts. They do not isolate a causal benefit of revision or provide a corpus-wide replication rate.
S. Supervision comparison: current and historical cohorts
Paired pilot construction. We intersect source attempts across both constructions and target formats before selecting one shared failure per task. Deterministic hashes choose the attempt and remove incomplete optimizer batches, independently of target labels. The resulting arms each contain 168 tasks in 17 task families, with identical inputs within each format and checked supervision masks. Joint admission limits the comparison to examples that both procedures can render. Table 40 gives update and token budgets; the observed seed-matched uncertainty is below.
What each arm's teacher saw. The frozen internal labels use heterogeneous consensus. The metadata for the 943 holdout rows and the 948- and 1,656-task training manifests records Gemini 3.6 Flash as the consensus arbiter. This field does not identify the sole author of each label: the engine returns a winning voter's diagnosis and calls the arbiter when voters lack a majority. Thus internal teacher-label agreement measures fit to the consensus annotations, including shared conventions and label errors. The prompted references receive no fine-tuning on these labels; the comparison cannot establish an independent-label capability ranking.
| Cohort | Teacher access and executed evidence |
|---|---|
| Pilot X | Its 168 rows entered replay; the trained step was executed on 166, a matched control on 132, and 84 carry a certificate. Ground truth was allowed for every X row: 112 of 168 prompts contained gold answers or grader material. |
| Pilot J | No ground-truth access. Three plain judge calls, versus agentdebug with repair rounds for X. |
| Final X | None of its 948 labels was replayed or certified. Three-voter consensus with ground-truth content in 603 rows and triage hints on every row. |
| Final J | Single judge without either block. The access switch read a field about reference-trajectory use, not all forms of ground truth. |
These are comparisons of label-construction procedures. Teacher access and execution are not independently controlled.
CPU check of the loss reduction. The diagnosis trainer specifies Eq. 1. Running its training code path on CPU with unequal-length examples over a three-step accumulation window, the loss matches the per-example-mean reference to within and the accumulated gradient to within . The match depends on the setting that switches off the library's default token-count normalisation: without it the same trainer optimises a window token mean, which on the test batch is 0.164 away in loss. The GPU's fused cross-entropy kernel is not exercised by the CPU test; its reduction is read from code.
Power and dependence. The power analysis assumes within-family correlation rather than estimating it. Task families are unequal, and accounting for this dependence increases the detectable effect relative to an independent-pairs calculation. Adequate power for the registered effect is not established. We retain the endpoint and use the observed clustered intervals below; a null contrast does not establish equivalence. The full assumption-dependent calculations remain archived.
Only the compact format is required for the primary experiment. Both arms use a microbatch of one, accumulation over 12 tasks, and the same learning-rate and epoch candidates. Loss is specified to average over target tokens within each task, then over tasks. Targets need not have equal length, so task exposure and update counts are matched rather than token budgets. The six checkpoints have completed training and evaluation under the trainer their manifests name. Their input contract masks targets from the context and withholds verifier information. The historical training runs did not log a runtime assertion of the loss reduction. The CPU unit check validates the tested implementation, not the historical GPU execution.
Observed uncertainty and scope of the null result. All seeds reuse 169 holdout cases from 83 source tasks and 15 task families. Row-level McNemar tests give from 0.442 to 1.0, but ignore within-family dependence. The seed-matched X-minus-J family-bootstrap contrasts are:
| Seed | Micro contrast [95% CI] | Macro contrast [95% CI] |
|---|---|---|
| 17 | ||
| 202 | ||
| 828 |
Every interval contains zero; none is multiplicity adjusted. Family resampling describes evaluation uncertainty, while seed standard deviations describe training variation. Reusing the holdout adds no independent tasks. Between 17 and 27 cases change correctness relative to base, with gains and losses largely offset. The null therefore establishes neither unchanged behavior nor equivalence; its cause remains unresolved.
Table 40: Frozen compact-supervision budgets. Counts are per training run, not experimental outcomes. Both arms use the same 168 failed trajectories; learning-rate candidates share these counts. Model and tokenizer revisions are fixed.
| Construction | Target tokens/epoch | Updates (2 epochs) | Updates (3 epochs) |
|---|---|---|---|
| Execution-assisted | 10,553 | 28 | 42 |
| Teacher-only | 9,375 | 28 | 42 |
The pilot and final-cohort comparisons use different construction procedures and information access (Appendix S). Their estimates should not be pooled. Historical target-format and self-repair registrations do not supply completed results.
T. Record Schema and Training Views
T.1. Record contents
A source trace stores task identity, goal, environment, policy, harness, event sequence, terminal outcome, and verifier signal. A debugging attempt joins to that trace and stores attribution, evidence spans, proposed correction, replay samples, and construction provenance. Several attempts may share one trace. Identity conflicts are rejected; identical repeated source rows can be merged without discarding distinct attempts.
| Stored object | Meaning and consumer |
|---|---|
| Source trajectory | Task and environment identity, policy, harness, and original action–observation sequence. |
| Debugging attempt | Diagnosis, evidence, proposed correction, replay outcomes, and construction settings. |
| Execution transcripts | Full source and replay trajectories, retained with content checksums. |
| Replay branches | Per-trial action, treatment or control assignment, execution conditions, and outcome. |
| Debugger responses | Complete hypotheses, rationales, and original model responses linked to the attempt. |
| Training provenance | Selection decisions and source references, excluded from model-visible inputs. |
Conversion to the Agent Data Protocol retains action types, speaker and step mappings, and references to the evidence and original debugger response. Reproducibility requires retaining the referenced content as well as its checksum; a checksum alone cannot reconstruct a missing response.
T.2. Eligibility by supervision target
The frozen release materializes one of these views. Its diagnosis view holds 3157 training rows beside 219 development and 943 held-out rows, and the four views that require an executed branch hold nothing: of the 9715 attempts pooled at export, 9712 were never replayed, so the gate that asks for a control arm empties them by construction rather than by
Table 41: Implemented training interfaces. The right-hand counts are the v5 development partition, not the frozen release: the release materializes the diagnosis view alone, for the reason stated below the table.
| View | Input and target | Admission boundary | v5 development partition |
|---|---|---|---|
| Diagnosis SFT | Failed trace attributed step, explanation, citations, proposal | Resolvable evidence; intentionally unattempted replay allowed; target semantics independent of replay | 1,154 rows; reference assistance marked in metadata |
| Debugger SFT | Failed trace recorded attribution or recovering intervention | Stricter replay-state gate; reference-assisted labels excluded by default | 994 rows; recovery language only with a passing bundled branch |
| Repair SFT | Pre-action prefix passing continuation's assistant turns | Executed passing branch; erroneous action and failed suffix excluded | 265 rows in the replay package's training split; masked prefix and tool observations |
| Outcome | Prefix and candidate replay-derived outcome | Typed execution outcome and direct branch lineage | 1,082 rows; offline prediction, not a demonstrated RL result |
| Action DPO | Shared prefix with chosen/rejected actions | Valid executed lineage and positive observed preference under the stated protocol | 602 rows; action-specific causal eligibility reported separately |
attrition. The release is a natural-failure corpus in which replay is optional. Preference pools from earlier development packages are separate from this frozen release.
Diagnosis-data selection distinguishes deliberately disabled replay from a truncated or failed construction job. It preserves the same attribution target when replay is added or removed. Reference-assisted labels are privileged-teacher supervision: student inputs omit the reference, and metadata records its provenance and lack of availability at inference. This is not equivalent to unassisted label construction.
T.3. Relation to the Agent Data Protocol
ADP standardizes what agents did (Song et al., 2026); AED standardizes a proposed attribution of what went wrong and a proposed correction, with execution evidence where a replay ran. Using the implemented conversion procedure, 672 of 672 rows export their failing trajectory as an ADP trajectory. Under the exporter's stated definition, 0 of 672 rows lose information: a tool call has non-keyword arguments or no tool name, or an observation is truncated. For trajectory-level training, those exported rows pass the tested ADP schema and the enumerated loss checks; use by other ADP consumers was not tested. For diagnosis, AED adds fields that ADP has no home for: the blamed step, grounded quotes, the replacement action, and a matched replay with its verdict. The conversion was measured over every certification dataset produced by the fixed-harness pipeline; ADP-side schema validation was structural, since the protocol's own validator was not available on the measurement host. Table 42 lists what an ADP trajectory stores and what an AED record adds.
Table 42: Stored contents of ADP trajectories and AED failure records; T/C denotes treatment/control, E0–E2 are evidence grades, and the AED quantities come from the fixed conversion census.
| Dimension | ADP (Song et al., 2026) | AED |
|---|---|---|
| Unit of data | Successful action/observation trajectory. | Natural failure, diagnosis, proposed fix and available replay branches. |
| Action typing | API, code, message actions; text or web observations. | Same three exports; content map retains speaker, step index, event ID. |
| Provenance | Source dataset name. | Environment/version; harness/version; policy model; run ID; engine version. |
| Failure handling | Success-only corpora; no failure, reward, or outcome field. | Natural failures, never injected; outcome, reward, verifier signal stored. |
| Step-level labels | None. | Blamed step, blamed agent, explanation, alternative steps. |
| Evidence grounding | None. | Verbatim quotes typed by source region/match status; 53.1% of quotes ground the trajectory. |
| Verification of the fix | None. | Same-checkpoint T/C replay, k/arm; acceptance rule with p-value; E0/E1/E2; 42.1% certified. |
| Pipeline availability | Released raw→ADP and ADP→SFT converters. | Implemented construction, evidence checks and ADP conversion; public release planned after acceptance. |
| Size | 13 datasets; about 1.3M trajectories (Table 1 sum: 1,260.2K). | 672 rows; 8 environments; 2 harnesses; 8 policies. |
| ADP compatibility | Native. | 672 of 672 rows export as ADP trajectories; 0 lose information. |
U. Core Prompts
The boxes reproduce versioned instructions. Construction judges receive the task, rendered trace, terminal outcome and the permitted information condition. Student prompts describe the recorded target, not a guarantee of earliestness or recovery. Source-specific evaluation prompts are separate contracts.
Construction | Panel system instruction
You are an expert debugger of LLM agents. You will read one failed agent trajectory and produce a failure diagnosis. Be precise about the DECISIVE error: the earliest step whose correction would have turned the run into a success -- not the step where the failure became visible.
The panel's user message supplies candidates only for arbitration. Evidence must quote the blamed action and an earlier constraint where available. The terminal outcome describes the failure to explain; it is not information the actor knew. Reference-assisted conditions remain separately recorded.
Construction | Solo attribution and replacement
You are an AI assistant tasked with analyzing agent conversation history when solving a real world problem.
Respond ONLY with a JSON object matching this schema (no prose, no markdown):
{ "span_id": "<event_id from the input or null>", "step_index": <int or null>, "agent_name": "<agent_name from the input or null>", "confidence": <float between 0 and 1>, "rationale": "<one or two sentences justifying the choice>", "evidence": ["<short quoted evidence>", ...], "corrected_action": {"tool": "<tool name>", "args": {<arguments>} or null} }
If the trajectory does not appear to have failed, return all fields as null and confidence 0.
"corrected_action" is the ONE concrete action that should have replaced the blamed step's action, as {"tool": "<tool name>", "args": {<arguments>}].
Rules for it:
- Use the tool names and argument keys the trajectory itself uses. Do not invent a tool the agent had no access to.
- "args" must be a JSON object.
- Return null unless you can name a specific tool and its arguments. A placeholder, a paraphrase of your rationale, or a guess is WORSE than null.
- Return null when the blamed step is not an action at all (a plan, a reflection, an observation), and when the step's own action was already correct.
Student | Compact attribution target
You are an expert debugger of LLM agents. You will read one agent trajectory that failed its task and identify the recorded, evidence-grounded failure attribution. Answer with one JSON object and nothing else, with exactly these keys in this order: decisive_step, responsible_agent, rationale. decisive_step is an integer step index shown in the transcript, responsible_agent a string naming a unit that appears in the transcript, and rationale one sentence stating the mistake at that step in terms of what the transcript shows.
Student | Full diagnosis target
You are an expert debugger of LLM agents. You will read one agent trajectory that failed its task and predict one recorded, evidence-grounded failure attribution and any proposed correction in the record. The correction may have failed replay or replay may have been unavailable, so this target is not evidence of a recovering or causally effective action. It is also not guaranteed to be the earliest error, the root cause, or a unique decisive step. Answer with one JSON object and nothing else, with exactly these keys in this order: has_error, decisive_step, responsible_agent, alternative_steps, error_explanation, evidence, corrected_action. has_error is a boolean, decisive_step an integer step index shown in the transcript, responsible_agent a string naming a unit that appears in the transcript, alternative_steps a list of integers, error_explanation a string, evidence a list of strings quoted verbatim from the transcript, and corrected_action either an object or null.
Only assistant target tokens receive loss. A recovery-oriented export has a separate executed-branch requirement; it must not replace the compact instruction when reproducing the completed paired experiment.
U.1. Native-context public evaluation
Who&When | Exact system instruction
You are given the transcript of a failed multi-agent run. Identify the single step where the decisive mistake was made, and which agent made it.
Reason inside <think></think>, then give the final answer inside <answer></answer> as agentID | stepID, where stepID is the integer step index shown in the transcript.
Answer with exactly that format and nothing after </answer>.
User suffix: Which step and which agent?
AgentErrorBench | Exact system instruction
You are given the transcript of a failed single-agent run, rendered as numbered agent steps; each step holds the environment message the agent received and the agent's reply. Identify the single numbered step where the critical failure occurred and classify its failure module.
Reason inside <think></think>, then give the final answer inside <answer></answer> as module | stepID, where the module is one of action, plan, planning, memory, reflection, or system and stepID is the integer step index shown in the transcript.
Answer with exactly that format and nothing after </answer>.
User suffix: Which step and which failure module?
TrajErrBench | Exact system instruction
You are given a failed long-horizon agent trajectory. Identify the single numbered step where the earliest critical failure occurred and classify its error module.
Reason inside <think></think>, then give the final answer inside <answer></answer> as module | stepID, where module is one of act, obs, plan, reason, or verify and stepID is the integer step index shown in the trajectory.
Answer with exactly that format and nothing after </answer>.
User suffix: Which step and which error module?
Taxonomy prompts belong to the separate exploratory labeling experiment (Appendix G.1); their decision rules do not define the diagnosis target.
V. Supporting public-reference results
V.1. First-call frontier comparison protocol
Scoring and display. Table 3 reports responsible-agent / exact-step accuracy (%). All frozen cases remain in each displayed cell's denominator; invalid or absent answers count as misses. Every row scores the first response on the same frozen cases and prompt; no continuation response enters the score. Bold marks the highest displayed value per column and metric, ties included; it is not a significance test.
Relation to the budget-forced comparison. Table 2 enables a continuation when an initial answer does not meet the runner's answer condition. The student row in Table 3 extracts first responses from that same answer-format continuation checkpoint's run. The original per-case records show 0/568 triggered continuations across the five conditions, and the first and final predictions agree case by case. This explains the identical student scores; invalid answers still count as misses. The displayed base is the named original seed-17 first-call run, not a substitution of the budget-forced base scores. Frontier references use separate first-call jobs with forcing disabled. Differences between tables must not be interpreted as model gains under one protocol or attributed entirely to forcing.
Relation to the internal comparison. Figure 5 uses the 1,656-task, three-seed student and the internal teacher-labeled holdout. Table 3 uses the 948-task, seed-17 student after answer-format continuation on public labels. Their reference sets also differ: GPT-6 Astra and Gemini 3.8 Flash internally, GPT-5.6 Sol and Gemini 3.7 Flash here. The two displays are not a shared-test model ranking.
Repeated decoding. Across 6 nominally identical first-call runs of the untrained base, the observed exact-step ranges are HC 6.90, HC + gold 6.90, AG 13.49, AG + gold 7.94, AEB 7.50 percentage points. These are maximum-minus-minimum ranges, not confidence intervals or calibrated significance thresholds. They do not quantify responsible-agent uncertainty or establish equivalence between models.
Reference exclusions. The display rule excludes a model if more than 25% of cases in any evaluated condition exhaust the 8,192-token cap in the reasoning block and return no answer. The omitted references and their worst affected conditions are DeepSeek-V4-Pro (64% of HC); Kimi K2.6 (88% of HC + gold). These are model-row exclusions, not scored as wrong answers in this table; no cases are removed from a displayed row's denominator. No printed reference hits the cap on any case in the displayed conditions. The comparison is conditional on this budget-completion screen and does not rank the omitted models' attribution ability.
V.2. Earlier public benchmark references
Table 43 retains the earlier training-free reference runs. Its Qwen3-8B row comes from a historical base invocation and differs from the base evaluated alongside the six current checkpoints in Table 26. Scores from the two invocations are not combined to estimate training effects. The best constant step is selected using each test split's labels; it diagnoses positional bias and is not a deployable baseline.
Table 43: Earlier public attribution references. Exact step uses the full planned denominator; MAST reports micro-F1 against released model-judge labels. ‡ denotes an author-reported result under another protocol, not a run of ours. § denotes the historical long-context protocol. These references are separate from the completed paired training comparison in Table 26.
| Model / condition | W&W-HC (n=58) | W&W-AG (n=126) | AEB (n=200) |
|---|---|---|---|
| Context | |||
| Best constant step (oracle) | 17.2 | 27.0 | 16.0 |
| Prompted GPT-5 mini§ | 22.4 | 43.7 | 19.5 |
| Frozen native-context protocol, no ground truth | |||
| Qwen3-8B base | 15.5 | 31.0 | 8.0 |
| Prompted GPT-5 mini | 20.7 | 43.7 | 21.0 |
| Prompted GPT-5.6 Sol | 25.9 | 45.2 | 24.5 |
| Prompted Claude Opus 5 | 20.7 | 47.6 | 26.5 |
| Model / condition | TrajErrBench (n=486) |
|---|---|
| Prompted GPT-5 mini§ | 24.7 |
| Qwen3-8B base | 24.7 |
| Prompted GPT-5.6 Sol | 31.9 |
| Prompted Claude Opus 5 | 45.7 |
AgenTracer-8B, author-reported‡: 20.7 W&W-HC and 37.3 W&W-AG. Historical prompted GPT-5 mini§: MAST micro-F1 57.0 (n = 197).
W. AI-assisted human review
W.1. Returned judgments and agreement
All 160 assigned judgments are available: four raters reviewed 40 records each, with exactly two ratings for every one of the 80 sampled records. The analysis uses their original decisions; disagreements have not been replaced by an adjudicated answer. All raters and examples are anonymized.
a Diagnosis verdicts

b Error-step agreement

Figure 18: Human error localization and diagnosis review. (a) All human verdicts, split by the historical sampling strata; two judgments per record. (b) Raw step agreement with Wilson 95% intervals: preferred steps where both reviewers select a location (69 records), and the subset where both select a single step (50). Both panels concern AI-assisted review of the same 80 historical records.
Table 44: AI-assisted human review by sampling stratum. Preferred step compares the two selected locations, including preferred choices from multiple candidates; single step restricts to two single-step judgments. Verdict agreement uses four categories; joint accept requires two accept verdicts. All agreement values are raw rates, with denominators shown. These are historical, coverage-selected records, not a random final-release sample.
| Stratum | Records | Preferred step | Single step | Verdict agree. | Joint accept |
|---|---|---|---|---|---|
| Filter survivors | 48 | 39/44 (88.6%) | 31/33 (93.9%) | 32/48 (66.7%) | 30/48 (62.5%) |
| Judge rejected | 16 | 10/14 (71.4%) | 7/9 (77.8%) | 7/16 (43.8%) | 6/16 (37.5%) |
| Gate rejected | 16 | 10/11 (90.9%) | 8/8 (100.0%) | 11/16 (68.8%) | 5/16 (31.3%) |
| All records | 80 | 59/69 (85.5%) | 46/50 (92.0%) | 50/80 (62.5%) | 41/80 (51.3%) |
Error-step agreement. Both reviewers select a preferred error step on 69/80 records, including cases with multiple defensible candidates. They select the same step on 59/69 (85.5%; 95% interval [75.3, 91.9]). The remaining 11 records include at least one nonlocalizable, no-error or insufficient-evidence judgment; we retain them in the study but do not count them as matched steps. Among the 50 records where both select a single step, reviewers agree on 46/50 records (92.0%; 95% interval [81.2, 96.8]). On the full 80-record denominator, both preferred steps match the recorded diagnosis on 57/80 records; this measures alignment with that diagnosis, not independently established correctness. At least one reviewer reports insufficient information on 4/80 records.
Diagnosis-content judgments. The 160 individual verdicts comprise 109 accept, 43 revise, 4 reject and 4 insufficient-information judgments. Both raters accept 41/80 diagnoses (51.3%; 95% interval [40.5, 61.9]). Raw verdict agreement is 50/80 (62.5%; 95% interval [51.5, 72.3]). Of 30 verdict disagreements, 22 are accept versus revise, showing that reviewers often differ on whether the diagnosis needs an edit.
Takeaway: reviewers agree on most selected error steps
Reviewers select the same preferred step in 59/69 localizable records, including 46/50 in the single-step subset. These results support consistency of error localization under shared AI assistance. We assess explanation and correction quality through the separate diagnosis-content judgments above.
Strata and assistance coverage. Joint acceptance is 30/48 for filter survivors, 6/16 for judge-rejected records and 5/16 for gate-rejected records. The strata differ in case selection; this association does not isolate a filtering effect or compare construction methods. Restricting to the 78 records with both model reports yields 50/78 verdict agreement and 45/49 single-step agreement. In each of the two single-model records, one rater accepts and the other requests revision; their preferred steps agree. Two records cannot establish an assistance effect.
Optional feedback and interpretation. Issue checkboxes are used in 28/160 responses, and 87/160 include a rationale. The most frequently selected issues concern the explanation (15), step (14) and missing context (10). Multiple selections are allowed; an unchecked issue is not evidence that the record passed that criterion. We do not infer field-wise quality scores or annotation time from these exports. The study assesses assisted review of the sampled recorded diagnoses. It neither supplies human gold labels for the full diagnosis test set nor estimates the accuracy of all 50,228 collection pairs.
W.2. Sample, interface and instructions
Sample and assignment. Four raters, identified only as A–D, each received 40 records; every record was assigned to two raters (80 distinct records, 160 assignments). The raters were paper authors with doctoral or AI/LLM research backgrounds and participated voluntarily. The sample contains 48 filter survivors, 16 judge-rejected records and 16 gate-rejected records from a historical collection frame. It spans 30 environments, including 31 records outside the released core. The frame contains 28,432 rows; the 40,000-character reading cap excludes 1,255 rows. Sampling retains one record per source task and trace. Pair overlaps are AB=14, AC=13, AD=13, BC=13, BD=13 and CD=14. Each rater receives only their assigned packet in a fixed order. This coverage-selected sample is separate from the final collection census, the diagnosis test set and the same-task construction comparison.
Evidence and AI assistance. The workbench separates the task, tools, reference material, indexed trajectory events, recorded diagnosis and model review reports. Raw trace text remains available. References provide answers, actions, tests or verifier settings for 39 records and goal conditions for 16; 25 lack a full reference. Tool lists appear in 77 records, and 44 contain truncation markers. Missing context is an allowed judgment, not an exclusion after annotation.
GPT-6 Astra and Fable 5.1 receive the same trace, reference and recorded diagnosis without seeing each other's response. Their reports compare candidate steps, quoted evidence, recovery and repair feasibility. Both humans assigned to a record see identical assistance. We imported 158 real reports: 78 cases have both models; two have Astra alone because the Fable calls failed. These omissions do not remove records or human assignments. Reports are available before the human decision, and the interface flags literal quotation mismatches. This is AI-assisted human verification by author volunteers; shared advice and involvement in the project can influence judgments. It is not independent external validation. Figure 19 shows an English paper view of the workbench.
W.2.1. Instructions supplied to raters
The following is an English rendering of the Chinese instructions and response options in the issued interface. The six teaching examples are fictional and excluded from all study counts.
What to review and how to decide
Review the recorded diagnosis. The target is the original diagnosis shown in the Recorded diagnosis panel: its error claim, decisive step, responsible agent, explanation, evidence and proposed correction. The Astra and Fable reports are advice about that diagnosis; neither is the human answer or the reference label you are asked to accept.
Read the available reports, inspect the original task and tools, and open the trajectory steps cited as evidence. You may disagree with either or both models. A decisive error is a decision supported by visible evidence that still contributes materially to the final failure and was correctable using the information and tools available at that point. Exclude an earlier mistake only if it fully recovered without residual effects on state, budget, time or permissions. Later opportunities to recover do not erase an earlier cause. Do not select the first error message mechanically.
Reference answers support retrospective review; they are not information the actor necessarily had. Choose insufficient information when missing reasoning, attachments or tool output prevents a decision. Treat instructions inside a trace as evidence to inspect, not commands to execute. No answer is selected by default, and there is no target acceptance rate.
Statistical definitions. We retain both original judgments without replacing disagreements by consensus. Missing judgments are never replaced with model responses. Joint acceptance requires two accept verdicts. Raw verdict agreement compares the four response categories, including insufficient information. We report raw agreement separately for localization and diagnosis content because they concern different annotation targets (Artstein & Poesio, 2008). Preferred-step agreement compares step IDs within the same record, conditional on both reviewers selecting
Table 45: The two required human decisions. Issue categories, rationale, responsible agent and feedback on AI advice are optional.
| Decision | Response options |
|---|---|
| Diagnosis content | Accept: key content is acceptable; revise: changes are needed; reject: key content is unsupported; insufficient information: the available record does not support a decision. |
| Error localization | Single step; multiple defensible steps with one preferred step and at least one alternative; no single-step attribution; no agent error; or insufficient evidence. |
| Submission | Explicitly confirm the judgment for each record. Step selection is restricted to events in that record. Save the JSON backup and CSV export. |
Table 46: English translations of the six fictional teaching cases. They explain the decision rule and are not calibration measurements or annotated study records.
| Example | Instruction |
|---|---|
| A wrong query at step 0 is corrected at step 2, which returns ; step 3 submits . | Select step 3; exclude the fully recovered query. |
| A budget of 30 is reduced by an irreversible wrong purchase of 20 at step 0; the required item costs 20. | Select step 0; finding the right item later does not restore the budget. |
| A valid read-only query returns HTTP 503 and the harness stops, with no evidence of an alternative tool. | Do not force an agent-error attribution. |
| A required image is unavailable and the grader reports only failure.Step 0 computes and step 1 submits 13 without correction. | Select insufficient information.Prefer step 0; step 1 may be an alternative.Propagation is not recovery. |
| The agent guesses a PIN; the correct value appears only in later feedback. | Identify the unsupported guess. A correction cannot use the future value; search first only if a search tool was available. |
a location; it includes each reviewer's preferred choice when several steps are defensible. We also report the subset where both choose a single step. We retain abstention and nonlocalizable responses in the full study count and state each conditional denominator. Rate intervals are Wilson 95% intervals. They summarize these sampled records under the fixed raters and shared assistance, without a collection-wide accuracy interpretation. Agreement does not establish correctness against an independent reference label.
AED | AI-assisted human verification | English paper view
Real historical item 1002 | AI summaries translated for display | no human responses shown
Read the evidence, compare the model reports, then make an independent decision.
You are in the hallway. Goal: Bring the heavy ledger to the garage. It must be clean.
Rooms in this building: hallway, laundry, kitchen, scullery, garage.
Exits: laundry, garage. Containers here: locker_1 (closed), locker_2 (closed).
1002 · 4 steps
← step
step →
step 3
Go
Task
Tools
Reference
Read trajectory
Raw trace
Text size
Large
Widen trace
Find an exact quotation
Find
STEP 3
Select candidate step
• Recorded thought executor - evt_961ae19d0c0f
Thought: The ledger has been taken, cleaned, and moved to the garage. All goal conditions satisfied.
Tool call executor - evt_4d988a632699
{
"tool": "submit",
"args": {}
}
▶ Original text | python-literal
Observation env - evt_Bab6aad0d38c
Observation: You declare the task complete. The supervisor is not satisfied.
Complete original step text
AI review reports
Two real reports | model advice, not human answers
Astra
Fable
Human decision
Inspect the original steps even when the two models agree. Their judgments may differ.
GPT-6 Astra
REVISE | primary step 3 | alternative 2
Retain step 3 as the primary decisive error and add step 2 as an unrecovered upstream alternative. The core diagnosis is supported, but the proposed repair has not been executed and the remaining route is unclear.
English translation of the original summary; no new model verdict.
▶ Complete original report (Chinese)
Fable 5.1
SUPPORT | primary step 3 | alternative 2
Support locating the decisive error at the executor's premature submit in step 3, based on an imagined completed state. The step 2 format error and its earlier false belief ("We have key_card") remain an incompletely corrected precursor. Substantial truncation and a mismatch between the recorded step count and the visible trace limit this conclusion.
English translation of the original summary; no new model verdict.
▶ Complete original report (Chinese)
Human decision | two required fields
- Is the diagnosis supported?
Accept
Revise
Reject
Insufficient evidence
- Decisive step for the final failure
Confirm recorded step: 3
Single step
Multiple candidates
No single-step attribution
No agent error
Cannot locate
Evidence or comments (optional)
Optional evidence or reasoning
Read-only paper view. Neither decision has been selected.
Confirm my decision
Figure 19: AI-assisted review workbench, English paper view. The original v6 trace renderer and human-decision controls show a historical item. Model summaries are translated for display, complete original reports remain available, and panels are arranged in three columns for the figure. The models disagree on the record verdict while naming the same primary step. Human choices remain blank; this illustrative derivative cannot submit annotations and does not change the issued packets.
X. Supplementary experiment details
X.1. Construction and diagnosis scores
Table 47: Correction utility and diagnosis production. Panel (a): pass rates over 3,062 paired debugging attempts; brackets give the task-clustered 95% interval for the paired gain. Panel (b): all 1,500 input failures remain in each method's yield and cost denominators. The panels use different populations; neither measures independent label accuracy.
(a) Measured: first-proposal execution utility
| Continuation from the checkpoint | Pass (%) ↑ | Gain over retry (pp) |
|---|---|---|
| Original-action retry | 18.4 | — |
| AET: first/only correction | 51.1 | +32.7 [28.4, 37.0] |
(b) Measured: diagnosis production on a common failure pool
| Diagnosis configuration | Pairs | Yield | USD / input |
|---|---|---|---|
| AgentDebugX: all-at-once | 735 | 49.0% | 0.0052 |
| AgentDebugX: deep analysis | 987 | 65.8% | 0.0143 |
| Multi-model consensus | 726 | 48.4% | 0.0247 |
| AED citation-first judge | 1,403 | 93.5% | 0.0067 |
Yield counts structured diagnoses with a matched trace citation, not independently correct labels. Cost is metered diagnosis spend per input, excluding rollout and replay. These production configurations differ in rendering and, for consensus, teachers. All methods: Appendix I.6.
Table 48: Diagnosis learning: complete internal and external scores. Panels (a,b): exact-step agreement on the same 943 cases. Panel (c): public benchmark labels under a unified-prompt protocol; independent annotation does not imply task-disjoint evaluation. Trained rows report mean ± sample SD when multiple seeds were run; scores use recorded teacher labels; the separate historical human audit does not relabel this test set.
| (a) Prompt-only baselines | ||
|---|---|---|
| Model | Macro ↑ | Micro ↑ |
| Qwen3-8B | 50.98 | 47.19 |
| GPT-6 Astra | 58.15 | 50.69 |
| Claude Sonnet 5 | 56.59 | 51.64 |
| Gemini 3.8 Flash | 57.39 | 53.23 |
| Claude Opus 5 | 57.80 | 54.72 |
| (b) Qwen3-8B: full-diagnosis SFT | ||
|---|---|---|
| Tasks / seeds | Macro ↑ | Micro ↑ |
| 1,656 / 3 | 67.90 ± 2.47 | 63.56 ± 0.82 |
| 948 / 3 | 66.13 ± 0.53 | 60.59 ± 0.93 |
| 408 / 1 | 58.20 | 52.39 |
The 408-task row uses a filtered subset.
Macro averages task families; micro pools cases. Bold: best displayed mean. Filtering and data size change together in the 408-task comparison. Paired intervals and seeds: Appendix X.
| (c) External exact step: separate unified-prompt evaluation | ||
|---|---|---|
| Model | Who&When | TrajErrBench |
| Qwen3-8B base | 25.54 | 18.72 |
| Full-diagnosis SFT, larger arm | 33.51 ± 1.37 | 17.28 ± 3.21 |
Mean ± sample SD over the larger arm's training seeds; all frozen cases, including invalid answers, remain in the denominator. This panel uses the producer's checkpoint mapping, not an independent loaded-weight audit. It does not share the prompt protocol of Table 2. Per-seed counts and paired uncertainty: Appendix I.1.
X.2. Complete actor scores
Figure 6 displays the signed contrasts from this complete table.
Table 49: Repair training gains and losses depend on the environment. Initial-state success (%) on held-out tasks in six development environments. *: post-hoc Holm-adjusted paired McNemar versus success-only across all 18 contrasts. Run errors remain in the planned denominator. Recipes differ in training-task coverage, exposure and update count.
| Supervision | Text-to-SQL | ALFWorld lite | TextQuest | WebShop lite | GridWorld | Warehouse |
|---|---|---|---|---|---|---|
| Qwen3-8B base | 68.54 | 88.00 | 67.67 | 72.67 | 5.00 | 2.00 |
| Success-only | 78.50 | 98.00 | 93.67 | 90.33 | 88.00 | 17.00 |
| + preventive repair | 77.61 | 98.33 | 84.67* | 95.00 | 94.00 | 14.00 |
| + post-error actions | 78.99 | 97.00 | 85.33* | 97.00* | 96.00 | 13.00 |
| + actions and reflection | 77.12 | 97.67 | 84.00* | 97.00* | 90.00 | 17.00 |
| Planned tasks | 1,014 | 300 | 300 | 300 | 100 | 100 |
Small signed values: change from success-only (pp). Colour and * flag adjusted differences, including losses; bold marks column maxima, not significance. One training seed; task pools and update exposure differ. All six environments are from the separate development pool. Paired tests: Appendix X.
All displayed development environments remain in the evaluation and no extra test-time debugger is supplied. These one-seed comparisons combine supervision type with differences in task coverage, per-environment exposure and update count (Appendix I.5).
X.3. Admission and replay populations
Table 50: Admission yield and correction effectiveness. The two panels use separate cohorts. Panel (a) holds candidate diagnoses fixed and prices each rule at the spend it obliges. Panel (b) compares verifier pass rates from a shared checkpoint; intervals are task-clustered 95% bootstrap intervals.
| (a) Admission ablation: one candidate pool | |||
|---|---|---|---|
| Admission rule | Retained yield | Tasks / envs | Cost / row |
| No quality checks | 19,904 (ref.) | 4,976 / 31 | 0.04 |
| Grounding checks only | 2,628 (13.2%) | 1,139 / 26 | 0.31 |
| AET: grounding + semantic review | 767 (3.9%) | 420 / 24 | 1.25 |
| (b) Paired replay: replacement versus original action | ||||
|---|---|---|---|---|
| Proposal rule | Pairs | Replacement | Original | [95% CI], pp |
| Selected proposal (search, up to ten) | 3062 | 59.1% | 13.7% | +45.3 [41.3, 49.2] |
| First proposal only | 3062 | 51.1% | 18.4% | +32.7 [28.4, 37.0] |
| Same harness, state restored | 871 | 53.2% | 6.1% | +47.1 [42.3, 51.7] |
Yield includes all candidates and does not measure independent label accuracy. Cost per retained row divides all spending required by that admission rule by its retained rows. Reaching the 767 AET rows requires diagnosing all 19,904 candidates and judging every row that reaches semantic review. Record identifiers link 82% of pipeline spending to this pool; the remainder is extrapolated at the matched rate (linked-only estimates: 0.03 / 0.26 / 1.06). First proposals use their own paired controls; the same-harness row uses selected proposals. Pool reconciliation and cost definitions: Appendix I.8.
X.4. Debugger contrasts and settings
The 1,656-task seed-17 checkpoint scores 65.93 / 63.31 macro/micro; the 948-task seed-17 checkpoint scores 65.52 / 60.34. These single-seed contrasts are distinct from the three-seed means in the main table. Multi-seed arms use 17, 202 and 828. Debugger serving uses temperature 0 in a 40,960-token window and an 8,192-token budget. Each internal checkpoint answers 942/943 cases; the same refused prompt remains a miss.
Matched-resource population. Both arms start from the same Qwen3-8B checkpoint and use the scale arm's compact-attribution recipe, with matched source tasks (1,656 against 1,656, the latter drawn from AgenTracer's released v1.0.0 training split after one row per question and the same over-length rule). Evaluation prompts request only the responsible agent and decisive step; Table 48 instead requests a compact diagnosis, giving different base scores. We score both models on our frozen held-out set of 943 cases and on their released test split of 790 cases; every row stays in the denominator, and the 1 held-out and 16 test prompts that exceed the serving window count as misses. Their training data labels 1306 of its 3208 rows as injected errors and AED holds none.
Table 51: Internal paired contrasts: largest arm's seed-17 checkpoint minus each reference in micro exact-step agreement, with nominal task-family-bootstrap 95% intervals.
| Reference | Δ [95% CI] |
|---|---|
| Qwen3-8B base | +16.12 [10.61, 20.15] |
| GPT-6 Astra, prompted | +12.62 [5.29, 18.47] |
| Claude Sonnet 5, prompted | +11.66 [7.28, 15.95] |
| Gemini 3.8 Flash, prompted | +10.07 [6.30, 15.00] |
| Claude Opus 5, prompted | +8.59 [3.81, 13.24] |
| same target, nested subset | +2.97 [0.85, 4.75] |
| Filtered subset, full diagnosis | +10.92 [5.42, 15.51] |
X.5. Public attribution: protocol sensitivity and settings
We retain the alternative prompts in Table 52. The diagnosis student loses exact-step accuracy in all original Who&When prompt conditions. Training-format evaluation also retains losses; answer-format continuation improves the handcrafted split but remains below the base on algorithm-generated tasks. AgentErrorBench improvements in point estimates have no clear paired advantage in the existing tests. Prompt choice changes the comparison and does not establish public state-of-the-art performance.
Table 52: Public attribution under alternative prompts. These scores use the same evaluated checkpoints as Table 2. The unified AgentErrorBench prompt requests only a step, so no module score is defined.
Bold: highest displayed score per metric among the rows shown, including ties; not statistical significance.
Metrics and populations. Who&When contains 58 hand-crafted and 126 algorithm-generated cases. Gold conditions supply the task reference answer, never the attribution label. Agent accuracy uses canonicalised exact match, which is stricter than the benchmark's substring scorer; step accuracy uses native coordinates. AgentErrorBench contains 100 ALFWorld, 50 WebShop and 50 GAIA cases. Its macro score weights the three environments equally. Joint accuracy requires both step and module to match; it is undefined for a step-only request.
Checkpoints and decoding. The diagnosis student is the 948-task, seed-17 full-diagnosis checkpoint. Answer-format diversity continues it for one epoch with mixed target formats, changing both training exposure and format coverage. We evaluate one checkpoint per arm under the v6 adapters with budget-forced decoding, without checkpoint selection on these public splits. Published system scores and older-protocol results are separate references, not entries in these same-protocol columns. The compact-target AED and AgenTracer-data resource comparison uses a different answer contract and remains separate from this protocol.
X.6. Actor exposure and descriptive statistics
Success-only supervision compiles to 1,093 rows over 1,093 tasks and 710,083 supervised tokens per epoch. Each repair arm contains 1,790 rows over 1,183 tasks: preventive and action-only use 705,776 tokens per epoch, while reflective uses 714,111. These aggregate token budgets are similar, but task coverage and per-environment exposure differ. Preventive repair carries 8.25% more supervised tokens than success-only in text-to-SQL and 13.69% fewer in WebShop-lite, and the two arms sit within 0.29% in TextQuest. The repair arms also take 1,490 optimizer updates against success-only's 1,326. Every Δ below therefore carries supervision type together with per-environment exposure and update count.
Table 53: Reference-policy error density and observed changes after repair training. Changes average the three repair arms. Association does not establish a budget mechanism.
| Descriptive episode statistics; not a causal mechanism | ||||
|---|---|---|---|---|
| Environment | Error-bearing steps, un-repaired policy | Step limit | Δ mean steps | Δ success (pp) |
| WebShop-lite | 33.4% | 20 | -1.31 | +6.00 |
| GridWorld | 18.3% | 12 | -1.09 | +5.33 |
| TextQuest | 12.4% | 42 | +1.73 | -9.00 |
| Text-to-SQL | 6.1% | 24 | +0.03 | -0.59 |
| ALFWorld-lite | 3.2% | 36 | +0.35 | -0.33 |
| Warehouse | 0.0% | 30 | +8.55 | -2.33 |
Table 54: Nominal exact McNemar tests. First three columns compare each repair arm with success-only; R/A compares reflective with action-only. Session gap is the range of two untrained serving evaluations, in points, not a significance threshold.
| Environment | Preventive | Action-only | Reflective | R/A | Session gap |
|---|---|---|---|---|---|
| WebShop-lite | 0.0436 | 0.000821 | 0.000535 | 1 | 2.67 |
| GridWorld | 0.21 | 0.0574 | 0.804 | 0.146 | 1.00 |
| TextQuest | 7.43e-06 | 7.03e-05 | 2.43e-06 | 0.627 | 1.67 |
| Text-to-SQL | 0.531 | 0.735 | 0.295 | 0.09 | 3.35 |
| ALFWorld-lite | 1 | 0.607 | 1 | 0.727 | 0.67 |
| Warehouse | 0.607 | 0.424 | 1 | 0.454 | 0.00 |
A post-hoc Holm sensitivity across all 18 repair-versus-reference tests retains the WebShop-lite action-only and reflective gains (adjusted p = 0.0115 and 0.0080), and all three TextQuest losses. The preventive WebShop gain does not survive this adjustment (p = 0.5663). This addresses multiplicity, not training-seed replication, checkpoint provenance or causal identification.
Real-environment evaluation. One driver served the base policy and the preventive-repair arm on the same port with the same arguments, then ran both on real ALFWorld and real ScienceWorld. The base policy solves 8/134 real ALFWorld tasks (5.97%) and 29/300 real ScienceWorld tasks (9.67%); the repair arm solves 1/134 (0.75%) and 1/294 (0.34%), losses of 5.22 and 9.33 points. Six ScienceWorld episodes ended in run errors and leave that arm's denominator at 294. The same base policy scores 88.00 on the development harness's ALFWorld-lite, so the harness and the real environment measure different things rather than one task at two difficulty levels, and Table 49 reports gains on the development harness only. We do not measure whether the loss comes from format specialization, from forgetting the base policy's interaction style, or from an interface mismatch between the two environments. This real-environment comparison concerns the preventive-repair arm alone.