arXiv(opens in a new tab)cs.AIAug 2026Cited by 5 papers on PaperVantage

Manuscript Offprint

arXiv:2608.26218

Same Model, Different Harness: Different Coding-Agent Results

Sydney Lewis

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

A coding agent combines a model with a harness, which decides what the model sees, which tools it can use, and how the work continues. We ask whether changing the harness changes the result when the model and task stay fixed. We compare two configurations of the same harness on three coding benchmarks. The control supplies the full conversation in time order, while the treatment keeps the same record but mechanically shortens older tool results as the context fills and responds to repeated or stalled work. Under tight context, the treatment raises mean per-task fail-to-pass fraction (F2PF) in all three pressure comparisons and increases complete solutions on SWE-bench Verified and SWE-bench Pro. The tight-window Verified comparison uses 169 tasks, a 20,480-token window, and a fixed 480-second attempt endpoint; on this cohort, treatment raises mean per-task F2PF from 28% to 49% and complete solutions from 43 to 72. Without model-specific retuning, the same frozen treatment also raises both endpoints on the same cohort for three additional models with different designs. In the wide-window Qwen3.6 comparisons, observed arm outcomes are close on Verified and Pro, while FeatureBench retains a higher mean per-task F2PF under treatment. On the wide-window Verified cohort, treatment also serves fewer prompt tokens per turn. Because changing the harness changed what unchanged model weights could accomplish, coding-agent evaluations should treat the model and harness together as the tested solver.

1 Introduction

A coding agent begins with an issue and a repository. It searches for the relevant code, opens files, runs tests, makes edits, and tests again. Each step leaves more text behind: commands, outputs, errors, and the model's own replies. On a large codebase, that history can become part of the problem. One investigation may produce full files, broad search results, failed commands, and long test logs, all of which compete for the same finite context window.

Changing the model or its context window is one lever, while changing how the harness uses the available working space is another. Before every new step, a harness decides which text the model will see, supplies the tools, and decides whether the run may continue. These choices may look like background plumbing, but they are part of the solver. Context pressure makes the contrast between harness configurations measurable, although we study the harness, not context pressure itself. The control configuration presents the history as one growing transcript in time order and stops the run when the transcript fills the context window, even if the patch is incomplete. Must the model's working view grow in the same way as the permanent record of its work?

We built Yuj [1], the coding-agent harness evaluated here, to test another path. Yuj keeps a durable record of the run but can show the model a smaller, changing view. It also watches for simple patterns such as repeated failing commands or repeated reading without an edit. When such a pattern appears, the harness applies a fixed response and watches what happens next. The harness thus observes, acts, and checks again. We call this a closed-loop harness. These mechanisms could help or harm. A smaller view can make room for the next step but also hide a useful detail, while a response to repeated work can break a loop but also interrupt useful repetition. We therefore ask whether the same model repairs more required behavior and finishes more tasks, or takes a different path without improving either endpoint.

We tested the treatment against the same harness's control configuration. Within each pair, both arms used the same model weights, tasks, context capacity, and run protocol. We measured complete solutions and the share of required failing tests that each patch made pass.

This work grew out of direct experience building and operating coding-agent harnesses. The references identify the specific models, benchmarks, software, and reports that the study uses; they do not define an intellectual lineage for the work. We claim no historical priority over earlier or independently developed work and no novelty for the individual treatment mechanisms. Our contribution is the treatment package as tested and the paired evidence that changing the harness changes what the same model accomplishes on the same tasks.