VeriHarness: Extending long-horizon task verification with an agentic verifierVeriHarness: Scaling Agentic Verification for Long-Horizon Tasks
VeriHarness revises long-horizon artifacts with the same model: Flash averages +6.2 points across five benchmarks, Opus +6.4 points (relative to a single rollout).
- Long-horizon agent artifacts such as reports and tables are difficult to verify as a whole, and at test time there is no stronger reviewer, reference answer, or scoring rubric. Across multiple rollouts of the same model, consensus can preserve errors, while disagreement can expose correct candidates.
- VeriHarness gives the generator the same model workspace, evidence tools, and reusable skills. The disagreement solver checks competing claims, the consensus challenger tests shared claims and looks for missing requirements, then selects or revises the artifact accordingly. Skills can be updated from development failure feedback.
- Across five workspace benchmarks and two frontier models, the authors claim the selection score is the highest among the evaluated baselines. Evidence revision raises the average gain over single rollout to 6.2 points for Flash and 6.4 points for Opus. Skills evolved from failure feedback outperform the human skill library on held-out tasks.
- The authors note that a pool of ten rollouts has cost, does not give a scalar score to a single rollout, and only does same-model verification, and that multi-round verification adds latency. Generalization beyond the held-out tasks, and whether improvement is possible without development-set score feedback, the authors say remains to be established.
- Evaluated models
- Gemini 3.5 FlashClaude Opus 4.8
- Benchmarks
- APEX-Agents (v1.0)Workspace-Bench LiteWorkBuddy BenchSpreadsheetBench 2JobBench
- Metrics
- 各基准原生分数相对single rollout的增益
The paper proposes VeriHarness, which, given a fixed base model and without providing reference answers or grading criteria at test time, transforms the generative model itself into an agentic verifier, equipping it with a workspace, evidence tools, and reusable verification skills. The method consists of two parts: a divergence resolver uses environmental evidence to check conflicting claims, while a consensus challenger examines claims on which all parties agree and looks for omitted requirements; the findings of both are used to select and revise the final artifact. On five long-horizon workspace benchmarks and two frontier models, VeriHarness achieves the highest selection scores among the evaluated baselines; evidence-supported revisions further improve average performance, by 6.2 points on Gemini 3.5 Flash and 6.4 points on Claude Opus 4.8 relative to a single rollout. The verification skills can also self-improve from failure feedback. The authors release about 26,000 rollouts covering all five benchmarks and two models, at a cost exceeding $100,000.
Paper analysis
What problem does this paper attempt to solve?
How to verify multiple rollouts and revise long-horizon artifacts with the same model and no reference answer.
How the same model, without seeing a reference answer or scoring rubric, verifies long-horizon artifacts from multiple rollouts and the task environment, and selects or revises a deliverable that scores higher externally.
- Scenario: The authors say long-horizon agents increasingly produce artifacts such as reports and tables, and evaluating correctness itself requires substantial work. General complex tasks rarely have direct feedback such as unit tests or formal proofs; checking a report may require tracing sources, recomputing quantities, and understanding requirements across files.
- Limitations of existing work: Most test-time methods only use rollouts. Majority voting and self-consistency treat the most common answer as correct, and LLM-as-a-judge scores by reading. The authors say both rely on the model's prior beliefs rather than evidence the environment can provide.
- Observation: The authors report that in Claude Opus 4.8's ten-rollout pool on APEX-Agents, 34% of consensus values were judged wrong (H=0, n=917); among disputed claims, 74% contained a correct candidate, and the most frequent value was correct only 47% of the time (H>0, n=775, Figure 2). On this basis they want to both distinguish competing answers and challenge the consensus shared by all.
- Method: Proposes VeriHarness. The same model used by the generator obtains a workspace, evidence tools, and reusable verification skills; the findings of the disagreement resolver and consensus challenger guide the selection and revision of the final artifact. The authors also examine whether skills can accumulate from failure feedback without changing the model.
- Verification setup: The generator and verifier are the same model with the same tools, and at test time there is no external grader, reference answer, or scoring rubric. The goal is to maximize the external grader's quality score for the delivered rollout. Comparison methods use the same frozen pool, so gains come from the model's own rollouts and the environment.
What related research exists?
Related work is divided into output verification, test-time scaling, and harness and skill self-evolution.
In Section 7, the authors divide related work into three groups.
Verifying model outputs
- Judge and trained verifiers: Zheng et al. (2023) prompt models as judges; Cobbe et al. (2021), Lightman et al. (2024), and Zhang et al. (2025) train verifiers or process reward models on labeled data.
- Test-time and actionable verification: Kwok et al. (2026), Lifshitz et al. (2025), Wan et al. (2026), Zeng et al. (2026a), and Zhao et al. (2026) extend verification with finer-grained scores, repeated evaluation, or checkable criteria. Yuan et al. (2026), Zeng et al. (2026b), Zhang et al. (2026d), and Zhuge et al. (2025) have verifiers check the workspace against requirements, collect repository evidence, or call tools under reinforcement learning.
- Same-model limitations: The authors cite Huang et al. (2024), Long et al. (2026), and Goel et al. (2025), summarizing that without external feedback models cannot correct their own reasoning, self-checks are mostly confirmatory, and same-family judge errors correlate with the model. The authors state that the above methods either train verifiers or check a single output against given criteria.
Test-time scaling for agents
- Repeated sampling: Brown et al. (2024) and Snell et al. (2025) increase the chance that a given rollout is correct; the authors state that voting and reward models often fail to select well. For agents, the authors state that parallel scaling stops at the verification gap, and sequential scaling stops at the context limit (Li et al., 2026a; Zhu et al., 2025).
- Operating on rollouts: voting, tournaments, or aggregation agents (Chen et al., 2023; Wang et al., 2023; Kim et al., 2026; Lee et al., 2026b; Wang et al., 2025a; Zhao et al., 2025). Ehrlich et al. (2025) and Li et al. (2025) mainly use external evidence for code, by generating tests or distinguishing inputs.
- Debate: Irving et al. (2018) and Khan et al. (2024) handle the setting where the judge is not stronger than the debaters, relying on argumentation between models rather than environmental evidence. The authors state that this paper brings evidence gathering to tasks without executable tests and uses rollouts to decide what to check.
Harnesses and self-evolution
- Engineering layer: Anthropic (2024), OpenAI (2026), and Wei (2026) treat the agent harness as an engineering layer outside the frozen model; Huang et al. (2026) extend this to the environment side.
- Evolution targets: Lee et al. (2026a), Lin et al. (2026), Nie et al. (2026), and Zhang et al. (2026a,c) evolve harnesses from execution traces. Ouyang et al. (2026), Wang et al. (2024, 2025b), Zhang et al. (2026e), and Gao et al. (2026) accumulate skills or experience libraries without changing weights; Zhang et al. (2026b) makes verification itself an evolvable skill.
- Wang et al. (2026): The authors cite their finding that evolved harnesses often cannot beat budget-matched test-time scaling and overfit when the development set overlaps the evaluation set. The authors state that this paper evolves verifier skills rather than generator scaffolding; candidates are admitted on the development set, evaluated on held-out tasks, and deployment does not require ground truth.
Baselines and benchmarks
- Baselines: majority voting, best-of-N judge, pairwise tournament, LLM-as-a-Verifier (Kwok et al., 2026), an agentic verifier with the same environment tools but no protocol or skills, pool aggregation (Lee et al., 2026b; Wang et al., 2025a), agentic verifier plus revision, and a selection oracle that takes the highest score in the pool using a grader.
- Benchmarks: APEX-Agents (v1.0), Workspace-Bench Lite, WorkBuddy Bench, SpreadsheetBench 2, JobBench.
The authors position VeriHarness as a training-free, long-horizon verification harness usable across benchmarks and models, and state that it is the first agentic verification harness for long-horizon tasks: check targets come from divergence and consensus, and it delivers better rollouts using environmental evidence rather than scores.
How does the paper address this problem?
VeriHarness uses a disagreement solver and a consensus challenger against environmental evidence, then adjudicates and revises.
VeriHarness puts the frozen model used by the generator into a verification harness: the divergence resolver handles claims where candidates disagree, the consensus challenger checks claims on which all agree and looks for omitted requirements, then adjudicates in a new context, selects, and revises according to evidence.
Tasks, claims, and entropy
- Tasks and pools: A task t=(s, E), where s is the description and E contains source files, data, and application state. One attempt produces a rollout r_i=(d_i, w_i, τ_i), i.e., the delivered artifact, final workspace state, and action trajectory. Repeated sampling yields a pool R. In experiments, N=10.
- Verification objective: The verifier uses the same model and tools as the generator. It delivers r★, selected from R or revised from its members, along with a record C of checks, findings, and unresolved issues. The objective is to maximize the external grader's quality of r★; the verifier cannot see that grader, reference answers, or grading scales.
- Checks: A claim is an assertion about whether a task-relevant number, interpretation, or requirement is satisfied. A check χ runs in the environment to obtain evidence e=E(χ). The verifier selects checks based on the task, the candidate pool, and existing evidence. Evidence can support or refute a candidate, or establish a correction not present in the pool; if evidence is insufficient, the claim remains unresolved. Content missing from all artifacts is also indicated by task requirements as claims that should be checked.
- Consensus and divergence: For a common question p, the values from each artifact form an empirical distribution π_p, with omissions treated as a separate value. The entropy is
H(πp)=−∑v∈ Vpπp(v)logπp(v)
It measures only differences among candidates. H=0 is a consensus claim, H>0 is a disputed claim; all can still agree even when all are wrong.
Framework components
The verifier is written as
Verifier=(M, HV), HV=(W, T, Π, S)
W is the workspace, T is the evidence tools, Π is the verification protocol, and S is the skill library.
- Workspace and tools: Each rollout's artifact, final state, and trajectory are exposed as files along with the task and environment. The verifier can trace sources or computations, recompute quantities, and run code forensics. Native tools include reading files, listing directories, searching, retrieval, and shell; writing and editing are limited to the output directory.
- Protocol: Two checks enter different model contexts, followed by adjudication and delivery. The program provides the context and information access; the model decides which claims to check, which checks to run, and when to stop. The protocol does not depend on artifact type; the same harness is used for reports, tables, and code; artifact-specific knowledge is placed only in skills.
- Skills: Short text descriptions of reusable failure modes and check steps, optionally with scripts. Tools execute checks; skills indicate what to check and contain no task-specific answers. Section 4 uses a human-written library; Appendix H lists 18 skills. Section 5 extends the skill library from failure feedback without changing the model or protocol.
- Same model can still differ: Appendix B and Table 3 give the authors' rationale: multiple rollouts explicitly present competing values, completed artifacts make checks more focused, targeted forensics can expose evidence not in the rollouts, and accumulated skills can also hint at requirements omitted by all. The authors also state that the value depends on finding informative checks, and shared blind spots remain when claims are not checked or evidence cannot adjudicate.
The two checks
- Divergence resolver: Compares artifacts, locates disputed claims and candidate values, traces sources and computations, and prefers checks with high expected information gain. Gain is judged qualitatively in the form of Lindley (1956); the paper states it is not computed numerically. Candidates refuted by evidence are eliminated. If evidence resolves, the claim is closed; if it refutes all candidates, it is recorded only when evidence establishes a new value, otherwise it remains open. Results are written to L≠.
- Consensus challenger: There are no competing values to measure. It first proposes how consensus might fail, then checks against the environment, and ranks qualitatively by the likelihood of exposing task-relevant errors. The three object types are consensus numbers, consensus interpretations, and consensus omissions. Omissions appear in no artifact and must first be turned into verification targets. Skills provide knowledge of "how seemingly settled artifacts fail". Results are written to L=.
- Separate contexts: The two investigations run in parallel and do not read each other's records, so that disputed claims do not crowd out attention to consensus. Appendix F evaluates this separation. Figure 3 illustrates the mechanism with a financial report example: the resolver checks version history to distinguish draft from final, the challenger in another context checks units in source metadata, and adjudication merges into a revision plan.
Adjudication, delivery, and skill updates
- Adjudication: A new context of the same model reads both records, the task, and the rollouts, without inheriting the investigators' conversation history. It can maintain, overturn, or shelve findings, and outputs base, revision_plan, and unresolved. base belongs to R, or is empty. The selection criterion is: the fewest evidence-supported defects on the task's substantive requirements, weighted by importance to the requested deliverable. base is empty when there is no usable starting point.
- Delivery: For selection only, base is returned as is. The full harness executes the revision plan: if the plan is empty, base is kept; if not, it is revised, or a new artifact is created from the plan when base is empty. Unresolved claims remain pending in record C; when format allows, both interpretations are presented, with the base interpretation first. Each evidence record links the claim, check, evidence, and adjudication. Appendix C gives the full procedure.
- Skill updates: Qualified tasks are split roughly 3:1 into development and held-out sets. Each round, the same verifier model reads development failures and itemized grader feedback and proposes candidate libraries; a candidate replaces the current library only if its development score is not lower. Held-out scores are recorded each round but not used for selection. Held-out verification does not see reference answers or grading scales.
What experiments did the paper conduct?
Across five benchmarks and two models, the average gain of revision relative to a single rollout is 6.2 and 6.4 points.
Experimental setup
- Models: Gemini 3.5 Flash and Claude Opus 4.8, each serving as both generator and verifier, with thinking level set to high. Both models use the same scaffolding on each benchmark. The pool is frozen before verification, and all methods receive the same pool of N=10.
- Benchmarks: Task counts in Table 1: APEX-Agents v1.0 has 480, Workspace-Bench Lite 100, WorkBuddy Bench 200, SpreadsheetBench 2 321, JobBench 65. Appendix D states that WorkBuddy's 200 items come from code 80, office 50, web 70.
- Baselines: Majority voting, best-of-N judge, pairwise tournament, LLM-as-a-Verifier, agentic verifier with environment access only, pool aggregation, agentic verifier with revision, and a selection oracle that picks the highest grader score in the pool. VeriHarness (select) returns only the base with verdicts; the full version additionally performs revision.
- Metrics: Three-seed means and cross-seed standard deviations of native scores per benchmark; Avg is the unweighted average across the five benchmarks. Gains are relative to a single rollout, i.e., the pool mean. Single and oracle do not resample the pool. The oracle only upper-bounds selection from a fixed pool, not revision.
- Grading: The verifier does not see the grader. The item-by-item grading model for APEX-Agents and JobBench is Gemini 3 Flash. Workspace-Bench Lite uses a Claude Code agent with model Claude Opus 4.8. WorkBuddy's code domain uses tests and rules, office domain uses rules plus Gemini 3.5 Flash, and web domain uses the benchmark's judge process. SpreadsheetBench 2 recomputes workbooks and compares cell-by-cell with the reference. When the judge scores, the base and the deliverable are scored in the same round, and the report archives the base score plus the same-round difference.
- Runs: A proprietary runtime mounts rollouts and environment read-only, with no network. The CLI lines put the same instruction and skills into Gemini CLI 0.46.0, Claude Code 2.1.246, and Codex 0.149.1.
Main results
According to Table 2, the table below shows three-seed means. Select refers to VeriHarness (select), and revise refers to the full VeriHarness. WSB is Workspace-Bench Lite, SB-2 is SpreadsheetBench 2.
Swipe horizontally to read the table
Method APEX WSB WorkBuddy SB-2 JobBench Flash single 48.1 56.5 73.2 27.3 30.9 Flash select 53.3 62.0 77.8 31.5 33.5 Flash revise 54.8 65.4 78.2 32.2 36.2 Opus single 35.8 60.5 79.0 30.1 42.8 Opus select 41.2 65.0 83.0 33.4 46.1 Opus revise 47.5 67.3 83.7 34.3 47.6 - Selection: The authors state that selection scores are higher than the evaluated baselines in all ten model–benchmark settings, and the gains exceed cross-seed variation. In the main comparison group of Table 2, the highest selection score on each benchmark is marked for VeriHarness (select). Avg is 51.6 for Flash (+4.4 relative to single) and 53.7 for Opus (+4.1); single Avg is 47.2 and 49.6.
- Controls: The authors state that majority voting and best-of-N give only modest average gains; an agentic verifier with the same environment access but no protocol and no skills recovers only about half the gain, so the authors conclude that access alone is insufficient. That row's Avg is 49.4 for Flash and 51.6 for Opus.
- Revision and upper bound: Revision further improves scores in all ten settings, with Avg gains of 6.2 for Flash (Avg 53.4) and 6.4 for Opus (Avg 56.1). The authors state that pool aggregation without evidence checking is below the harness on every benchmark, and the revision gains come from the evidence records rather than rewriting itself. The selection oracle's Avg is 62.7 and 63.1.
Skill self-evolution
- What was tested: Claude Opus 4.8, full harness with revision. A is an empty library, B is a frozen human library, C evolves from A, D evolves from B. Scores come from held-out subsets of APEX-Agents and SpreadsheetBench 2, not the same set as the full results in Table 2 (Section 5).
- Results: Held-out scores in Figure 4a: APEX A 38.6, B 45.3, C 49.6, D 52.1; SpreadsheetBench 2 A 32.8, B 35.7, C 38.5, D 39.4. The authors state that C is 11.0 and 5.7 points higher than A, and C exceeds B; D is 6.8 and 3.7 points higher than B.
- Authors' interpretation: With the model and protocol fixed, failure feedback can improve the skills that guide checking and revision. In Figure 4b, D reaches C's trajectory endpoint score earlier, with a larger reduction in rounds on APEX. The authors state that round count itself does not constitute a compute advantage, both trajectories have held-out dips, the plots are point estimates, and statistical significance is not established (Appendix I).
Component contributions and sources of disagreement
- Ablating one side: Table 4 shows scores after revision. On Opus, solver-only Avg is 54.3, challenger-only 52.6, both together 56.1, single 49.6. The authors state the gains are complementary; the solver's share is largest on APEX, and the two are closer on SpreadsheetBench 2 and JobBench. On Flash the order is the same: 51.5, 50.0, 53.4, single 47.2.
- Disagreement and scores: Figure 5, Opus on APEX. On 154 consensus pools, selection scores are only 0.6 points above the pool mean; on 262 disputed pools, 6.1 points higher. Within disputed pools: low entropy n=139 is 4.5, medium entropy n=108 is 7.7, high entropy n=15 is 9.4. The authors state that the harness turns candidates exposed by disagreement into scores.
- Consensus blind spots: The authors state that the challenger never rejects claims that all rollouts got right. In Table 7, among maintained all-wrong claims, 70% checked the correct intermediate quantity but the error was in a later step, 14% were different definitions, periods, or source versions of the same quantity, 12% confirmed the wrong value of the scored quantity, and 4% were omissions or mapping noise. The authors state that the verifier tends to stop where the rollout stopped, and the skill library provides priors on where else to look.
Other ablations and analyses
- Removing the skill library: Opus Avg 53.8, Flash 51.3, full version 56.1 and 53.4; the authors state that every benchmark declines, with the largest loss on APEX (Table 4).
- Merging the two investigations into the same context: the authors state a loss of 0.8 points. In Table 4, Opus is 55.3 vs. full 56.1, Flash 52.6 vs. 53.4.
- The evolved library has 95 checks: 5 restate human checks, 48 make human checks concrete, 42 are new checks (Section 6). The authors state that both evolution sides instruct the verifier not to treat recomputation consistent with the pool as confirmation.
- Verification cost: Flash select $1.44/task, Opus $3.92/task; the authors state that revision is about three times the cost of selection. 86% to 91% of input tokens come from cache; at full price, selection is $5.40 and $13.06 (Appendix K).
- Some selection baselines are below single: Flash majority voting on APEX is 47.3 and on SB-2 27.0, single is 48.1 and 27.3; Opus majority voting on SB-2 is 29.5, single 30.1 (Table 2).
- CLI: The authors state that Flash's two CLIs are within two points of the proprietary implementation on every benchmark; in Table 2, Codex's JobBench is 35.6, select 33.5. Opus's Claude Code on JobBench is 42.4 and on SB-2 30.9, single 42.8 and 30.1; the authors state that these two return to single-rollout levels.
What are some points that can be further explored?
The authors note pool cost, no scalar scores, same-model scope, and latency; out-of-distribution generalization remains to be established.
Limitations and future directions noted by the authors
- Pool cost: Results use ten rollouts per task. The authors describe this as a standard budget for test-time scaling; comparisons in Table 2 are made at the same generation cost, and the verification cost itself is placed in Appendix K (Limitations).
- No single score: The harness delivers artifacts and verification records, not a scalar score per rollout. The authors state that long-horizon artifacts contain many claims that can be independently right or wrong, and turning these judgments into calibrated rollout-level scores, e.g., reward signals, is left for future work (Limitations).
- Same-model setting: The study is limited to the verifier and generator being the same model. The authors believe a stronger verifier could further improve scores, but its gains would conflate the harness's contribution with the capability gap between the two models; separating them is beyond the scope of this paper (Limitations).
- Latency: Verification is multi-round interrogation, which increases wall-clock time. The authors state that the goal is professional deliverables such as reports, workbooks, and patches, where quality matters more than response time (Limitations).
- Training use: The authors state that verification records link each claim to checks, evidence, and verdicts, and thus can provide claim-level signals to supervise the generator; turning these records into training data for long-horizon agents is a natural next step (Conclusion).
- Evolution extrapolation: Held-out comparisons show that the learned skill library helps on unseen tasks within the evaluated distribution. Generalization beyond that task distribution, and whether improvement is possible without grader feedback on a development set, are stated by the authors as still to be established. The authors also state that the evolution plots are point estimates and do not establish statistical significance (Appendix I).
Experimental coverage
- The generating-and-verifying models are Gemini 3.5 Flash and Claude Opus 4.8. The five benchmark task counts are in Table 1: 480, 100, 200, 321, 65; N=10 per task per model, and the verifier runs three independent rounds (Section 4, Table 2).
- Grading is separated by benchmark: APEX-Agents and JobBench use Gemini 3 Flash; Workspace-Bench Lite uses Claude Code with Claude Opus 4.8; WorkBuddy uses a composite verifier; SpreadsheetBench 2 recomputes and compares cell-by-cell (Appendix D). The authors state they do not run the security domain of WorkBuddy because tasks in that domain persistently trigger model API safety alerts.
- Skill evolution is run only on Claude Opus 4.8, with benchmarks APEX-Agents (excluding file-delivery tasks) and SpreadsheetBench 2 (template and financial-model tasks); the development set and held-out set are roughly 3:1, and held-out scores do not participate in selection (Section 5, Appendix I).
- The paper reports verification costs (Appendix K) and states the rollout pool is about 26,000 rollouts with generation costs exceeding $100,000. Table 2 reports three-seed means and cross-seed standard deviations; the paper does not report statistical significance tests.
- Claim-level statistics cover 434 tasks and 1,692 claims for Claude Opus 4.8 on APEX-Agents, an offline analysis reading the benchmark rubric, which the verifier does not see (Appendix A).
Summarize the main content of the paper
VeriHarness revises long-horizon artifacts with the same model, with average gains of 6.2 for Flash and 6.4 for Opus across five benchmarks.
VeriHarness is a training-free, same-model verification framework that selects and revises artifacts from multiple long-horizon rollouts.
- Problem: Long-horizon workspace tasks rarely have executable end-to-end correctness checks. The authors aim to improve delivery quality using only the same model, its rollouts, and the environment, when the generator is already the strongest model currently available, there is no stronger judge at test time, and there are no reference answers or grading scales.
- Approach: The divergence resolver uses environmental evidence to distinguish competing claims; the consensus challenger first proposes how shared claims might fail, then checks numbers, interpretations, and requirements omitted by all. A new context synthesizes the two evidence records, selects a base rollout, and revises it according to the evidence. The skill library can be updated from development failure feedback, still without seeing ground truth at deployment.
- Main results: In Table 2, the unweighted average gain across five benchmarks of revision relative to a single rollout is 6.2 points for Gemini 3.5 Flash (Avg 53.4 vs. 47.2) and 6.4 points for Claude Opus 4.8 (56.1 vs. 49.6). The selection-only gains are 4.4 and 4.1 points. The authors state that on the ten model–benchmark cells of the main comparison, selection scores are higher than all evaluated baselines. The selection upper-bound oracle has Avg 62.7 and 63.1 and does not constrain revision.
- Mechanism numbers: In Figure 2, in Opus's APEX pool of ten rollouts, 34% of consensus values are judged wrong, and 74% of disputed claims contain a correct candidate. In Figure 5, the selection gain for the consensus pool is 0.6 points and for the disputed pool 6.1 points. In Figure 4, skills evolved from an empty library outperform the human-written library on held-out sets; evolving further from the human library yields 6.8 more points on APEX and 3.7 more points on SpreadsheetBench 2.
- Authors' conclusion: Verification capability need not wait for stronger models; it can be built around the existing model, the structure of its rollouts, evidence in the environment, and accumulated experience. The authors also state that the claim-level signals provided by verification records can be further turned into data for training long-horizon agents.