Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

Action Scaling at the Harness Boundary Can Beat Trajectory Re-Runs

Mid-Harness tests whether verifying candidate commands before execution can outperform rerunning whole terminal-agent trajectories. Its results favor action scaling in specific configurations, not universally.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For terminal agents, checking several candidate commands before running one can outperform rerunning complete task trajectories—but only when the verifier can identify the right command. In one Mid-Harness TerminalBench-Lite comparison, combining action-level verification with Best-of-3 trajectories achieved a higher Pass@1 score than Best-of-7 alone at lower estimated reference-priced token cost. That is evidence for a useful strategy in a tested setting, not a guarantee that action scaling always wins.

How candidate verification works

Mid-Harness studies extra inference at the boundary between an action-generating model and the execution harness. At each step, the model proposes multiple possible next actions from the same interaction history. A verifier compares those candidates, selects one, and passes it to the existing harness for execution.

As an Amazon Associate I earn from qualifying purchases.

The key is timing: alternatives are assessed before they change the environment. A terminal command can alter files, install packages, or otherwise shape what the agent can do next. For example, the DEV Community article illustrates how a package-install typo—pip install yaml instead of pip install pyyaml—could send a task down a worse path. That is an illustration, not a measured result from the paper.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Trajectory scaling allocates inference differently. Rather than comparing commands at one decision point, it runs or refines multiple task trajectories and compares those broader attempts. Mid-Harness keeps the action generator and harness fixed in its central comparisons to examine what changes when more computation is spent selecting actions.

What the benchmark results show

The central TerminalBench-Lite comparison used TMAX-9B as the action generator. The reported figures show a substantial gain when a capable verifier evaluates a pool of candidate actions:

TerminalBench-Lite configuration Reported Pass@1
TMAX-9B base-agent result 50.00%
Same TMAX-9B generator with eight sampled actions and a GPT-5.6 Sol verifier 68.03%
Verifier-distillation comparison, with the action generator unchanged 54.76% to 57.14%

The paper also compares action and trajectory scaling. With TMAX-9B on TerminalBench-Lite, Mid-Harness combined with Best-of-3 trajectories scored 66.33% Pass@1, compared with 59.18% for Best-of-7 alone. The combined setting had lower estimated reference-priced token cost. These cost figures are experiment-specific estimates, not a prediction of a provider bill or universal cost per task.

Results beyond this benchmark are not uniform. For example, the paper reports TMAX-9B improving from 21.72% to 27.34% Pass@1 on Terminal-Bench 2.1 under zero-shot verification, and from 46.67% to 48.00% on the SWE-bench-Verified Mini subset. The study covers additional models, benchmarks, and harnesses; gains depend on the evaluation setting and verifier variant.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why the verifier matters more than candidate count

Sampling creates options, not better decisions by itself. The verifier has to recognize which candidate suits the task and the current environment. In the authors’ words, “With a TMAX-9B generator, more action sampling yields little benefit under weak verification, whereas a capable verifier can exploit useful alternatives from the same generator.”

Among the evaluated self-verification methods, pairwise verification performed best. Distilling responses from a stronger verifier improved a smaller verifier without changing the action generator, but did not close the full gap to frontier verification. The authors also report persistent disagreement with the stronger verifier over command semantics and execution feasibility.

How to compare action scaling with trajectory reruns

A fair comparison needs to account for more than the number of samples. Check these dimensions in the target system:

  • Task success: compare the same benchmark, task set, and metric. Pass@1 and Pass@3 are not interchangeable.
  • Inference cost: distinguish raw token counts, estimated reference-priced cost, and actual deployment spend. The reported cost comparison uses estimated reference pricing.
  • Verifier method: identify whether candidates are judged by a stronger external model, self-verification, pairwise comparison, or a distilled verifier.
  • Environment executions: action filtering can select a returned run’s next command using one environment instance, while trajectory sampling may execute multiple complete attempts.
  • Transfer: name the model, benchmark, and harness. Performance can vary across all three.

These distinctions matter when deciding whether to spend inference on more candidate commands, complete reruns, or a combination. The paper’s experiment supports combining action-level selection with trajectory sampling; it does not establish one allocation as best for every agent or task.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What the evidence does not establish

The reported head-to-head result supports the claim that action scaling can beat trajectory reruns in a particular evaluated configuration. It does not show that action-level scaling is always cheaper, more successful, or safer in production. Nor does it establish that any harness verifier will reliably select commands in a live environment.

The authors note that they lack gold action labels, which limits direct measurement of candidate coverage and verification correctness. Their findings are benchmark evidence about a method, not proof of universal production safety. Likewise, the cost comparison is tied to its model mix, token counts, and reference pricing; it should not be read as a general dollar-per-task saving.

When this approach is worth testing

Action-level verification is a reasonable option to evaluate when a terminal agent often has several plausible next commands and a verifier capable of distinguishing them. Measure it against trajectory reruns on the same tasks, tracking success, inference spend, and environment executions. If the verifier is weak, simply widening the action pool may add little value; if it is capable, action selection may improve the cost-success trade-off or complement trajectory scaling.

Primary study: Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agents, posted September 30, 2026. Practical illustration: Reid Marlow’s DEV Community article, posted October 1, 2026.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.