TraceTrial-Bench: a successful agent can still have an unreliable harness
A correct final file does not reveal whether an agent received complete tool results, respected a session boundary or waited for a delegated job. TraceTrial-Bench separates these questions. Its 95 tasks evaluate both the agent's work and the execution harness supporting that work. Across 3,420 selected runs, 31.1% pass every agent criterion while failing at least one harness criterion. The result motivates inspecting execution evidence alongside outcomes; it is not a measured rate of confirmed software defects.
Two responsibilities, two score sheets
The paper treats an agent as a model plus a harness. The model interprets information and selects actions. The harness constructs context, exposes tools, transports calls and results, manages state and enforces execution controls. External tools, environments and the measurement apparatus sit outside the tested harness boundary.
This separation matters in both directions. A model can compensate for a missing signal and deliver a correct answer. It can also make a poor decision after the harness delivered accurate information. TraceTrial-Bench therefore uses one score sheet for required actions and deliverables, and another for the native system's information and execution obligations. An assistant's success claim cannot substitute for authoritative external state. Paper §§1–3.1, pp. 2–5.
What the 95 tasks stress
Seven components organize 40 mechanism-level properties: Context has 15 tasks, Execution 27, Governance 9, Lifecycle 19, Observability 7, Tools 17 and Verification 1. The distribution is uneven, so a high score in Verification rests on much narrower coverage than one in Execution.
Tasks combine ordinary work with a specific pressure: an oversized output requiring recovery, a command that prints success-shaped text but exits unsuccessfully, a pending child job, facts that must survive a session handoff, or a value issued only once. The release contains 46 single-turn tasks, 45 fixed multi-turn tasks and four simulator-driven tasks. Each fixes the initial state, allowed interfaces, budgets, outputs, verifier and both score sheets. Private truth and baseline snapshots stay outside the agent's writable workspace.
Cross-harness adapters preserve native prompt construction, permissions, context policies and execution strategy. They may normalize representation, but must not repair decisions, strengthen model-visible evidence or supply a missing capability. An unavailable named tool is not automatically a defect when an equivalent native path exists. A task that cannot be administered or observed equivalently is a comparison limitation, distinct from failure of a target feature. Paper §3.2, Appendix A–B, pp. 5–7, 24–32.
Scroll horizontally to see the full figure.
Preserve what happened and what the model saw
Trajectory Tracing converts native records into Trace IR while retaining provenance. It preserves call identifiers, session and parent–child identities, error fields, timeouts and truncation when the source exposes them. Unmatched or delayed results remain unlinked; missing fields are not invented. Collection timestamps give an inspection order, not proof of causality between concurrent agents.
Multi-source Evidence Acquisition adds workspace changes, simulator ledgers and independent process or security observations. Authority depends on the question. A service ledger shows what the service committed; a correlated model-facing record shows what the model received. A provider-boundary tool inventory supports only the complete declarations captured at that boundary, not every possible action interface. Persisted conversation history does not prove that all messages remained in active context.
Each semantic criterion receives a bounded packet selected by declared event types, fields, literal matches and record limits. Long records retain boundary segments and keyword windows; reduction counts and truncation remain explicit. The full archive remains available for audit. Required selectors returning no evidence receive zero, meaning satisfaction was not established under that evidence contract—not independently that a harness defect was proved. Archives retain source hashes and minimize secrets; full provider request bodies are excluded. Paper §3.3, Appendix C, pp. 7–10, 32–38.
How the score is computed—and where the layers depend on each other
Apparatus admission first checks identity, lifecycle, archive and task-specific evidence integrity. This gate is not a third score. Deterministic criteria are fixed first, semantic agent criteria next, and semantic harness criteria last. The combined score is 50 × passed harness criteria / all harness criteria + 50 × passed agent criteria / all agent criteria. A combined pass requires 100; agent task success requires only every agent criterion to pass.
Harness Macro averages each run's criterion fraction equally. Harness Micro pools passed and total criteria across runs. A task with more criteria therefore has more influence on Micro. Neither should be confused with the fraction of wholly successful tasks.
The two layers are separate, but not statistically independent. A semantic harness criterion may be marked “not exercised,” including when the mechanism is absent or its path was not reached. The protocol resolves that state to pass if every agent criterion passes, otherwise fail. A reached but malfunctioning mechanism resolves to fail independently. Every finalized criterion remains in the denominator. The reported scores therefore include an explicit outcome-conditioned rule and are operational satisfaction rates, not direct defect rates. Paper §3.4–3.6, Table 4, Appendix D, pp. 10–13, 38–40.
The experiment is a selected archive, not repeated trials
The grid is four harnesses × nine model groups × 95 tasks × one selected execution: 3,420 cells, or 855 per harness. The harnesses are Claude Code, Codex, DeepSeek Harness and OpenClaw. Appendix B lists versions 2.1.220, 0.145.0, 0.1.0-rc.6 and 2026.6.9, respectively. The model groups are DeepSeek-V4-Pro, Gemini 3.7 Flash, GLM-5.3, GPT-5.6-Sol, Grok-4.6, HY3, Kimi K3, Opus 5 and Qwen3.8-Max.
The archive includes replacement executions from recovery. It does not provide independent repeats per cell, so within-cell repeatability is not estimated. Task wall-time ceilings range from 120 to 5,400 seconds. Scheduling, revisions and recovery conditions vary, so duration is not a controlled throughput comparison.
All final semantic evaluations use deepseek-v4-flash, but output budgets differ: 4,096 tokens in 1,966 evaluations, 8,192 in 1,452 and 32,000 in two. The analysis includes all finalized cells without adding a retrospective admission filter. These details constrain causal claims about individual harness design choices. Paper §4, pp. 14–15; Appendix B.1, p. 28.
Outcomes and harness scores pick different leaders
| Harness | Agent task success | Harness Macro | Both layers fully pass | Combined mean |
|---|---|---|---|---|
| Claude Code | 44.0% | 71.2% | 9.1% | 73.5 |
| Codex | 35.8% | 59.8% | 2.8% | 65.2 |
| DeepSeek Harness | 40.0% | 68.8% | 9.8% | 71.0 |
| OpenClaw | 38.2% | 72.0% | 11.7% | 71.8 |
Table 6, source p. 16, selected columns. Every row covers the same 855 model–task cells. Claude Code leads agent task success; OpenClaw leads harness criterion satisfaction and complete success across both layers. These are results for the recorded versions and configurations, not universal product rankings.
Across the full grid, 1,351 runs pass all agent criteria, but only 286 pass all criteria in both layers. The four raw outcome states are 286 jointly clean, 1,065 harness-only shortfalls, 369 agent-only shortfalls and 1,700 joint shortfalls. The 1,065/3,420 proportion produces the 31.1% headline.
Scroll horizontally to see the full figure.
Model and dimension change the picture. With a fixed model, the harness Macro range reaches 16.2 points. Execution's pooled Harness Micro is 64.6%, while Observability reaches 84.3%. OpenClaw scores 77.1% in Execution but 61.6% in Context; Claude Code scores 64.7% and 74.5%, respectively. The task-level heatmaps in Appendix E expose variation hidden by a single mean. Paper §5.1–5.4, Tables 6–9, pp. 16–19; Appendix E, pp. 41–45.
A candidate explanation is not a proven cause
A task can predeclare a chain from a harness criterion through an intermediate information, action or state distortion to an agent criterion. A stored candidate link activates when the failed endpoints and declared condition match. Of 1,700 joint-shortfall runs, 842 have a stored link: 49.5% of joint failures, not 49.5% of all runs. There are 1,633 activated endpoint pairs. Of 2,069 agent-failure runs, 1,773 still contain at least one failed agent criterion not reached by a link.
Validation requires more: confirm both endpoints, reconcile the harness result with its authoritative source, observe the intermediate distortion in a supported order, and consider competing explanations. Runtime labels such as harness_caused retain an operational meaning; they do not establish causal propagation. Measurement bypass can be removed from an optional adjusted attribution set, but the published contingency uses raw zeros and does not remove bypass-affected criteria from scores.
The study does not estimate corpus-level selector recall, judge agreement or candidate-link precision. Its selected case studies support inspection, rather than an accuracy claim for automatic attribution. Paper §3.5–3.6 and §5.5, pp. 11–13, 19–20; Appendix D.3, pp. 39–40.
Five trajectories make the distinction concrete
In the truncation example, a visible snapshot identifier enables bounded recovery of twelve codes; a generic oversized-output message leaves another run unable to issue a valid recovery request. In the failure-reporting example, both agents correctly report exit code 23 from text, while one harness's structured result still records a null exit code and error=false. Correct prose conceals different machine-readable signals.
The asynchronous example separates acceptance of a child request from receipt of its completed audit. The terminal example distinguishes sending a newline from delivering actual end-of-file to a retained PTY. The handoff example shows correct final codes alongside prohibited repeat checks: the artifact is correct, but the interaction contract is violated. These five paired contrasts demonstrate what to inspect, not how often each mechanism causes failure in deployment. Appendix F, Figs. 14–18, pp. 46–50.
Costs, limits and the practical lesson
Estimated mean agent token costs per selected run are $0.436, $0.595, $0.446 and $0.633 in the table's harness order. They apply a frozen price catalog to recorded usage; they are not invoices and exclude judge calls, discarded executions, storage and tool charges. Scheduling differences also prevent a controlled speed comparison.
The authors emphasize uneven targeted coverage, selected rather than repeated runs, configuration differences and variation in grading budgets. There is no ablation showing that a particular harness patch causes the aggregate gap to disappear. Future work proposes controlled interventions, repeated executions and held-out evaluation of fixes.
AI interpretation: a developer can borrow the separation of final state, model-visible result and independent process evidence. A correct outcome should close the task only after the required execution contract is checked; a missing record should narrow the claim rather than become an invented defect. The paper offers a way to organize evidence for improvement, with explicit limits on what that evidence proves. Paper §§5.6–8, pp. 20–21.