Back to articles

TransHarness Aims to Make Coding-Agent Improvements Transfer

2 min read

A coding agent’s performance depends not only on its underlying model but also on the harness around it: the runtime environment, checks, and guidance that shape how it works. Improving this layer can avoid changing model weights, but it brings a familiar risk. If a harness is repeatedly optimized against one benchmark, its new rules may capture benchmark-specific quirks rather than reusable problem-solving behavior. TransHarness is designed to address that gap between benchmark gains and transfer to new tasks.

Instead of turning successful examples into ready-made answers, the method compares successful and failed executions of the same source task. The contrast is used to develop intervention policies with two linked parts: a trigger that identifies an execution context in which a check is warranted, and diagnostic guidance for what to do once the trigger fires. The guidance is intended to draw on evidence in the current task, rather than simply replaying a source task’s solution.

The paper also describes two safeguards. Cross-task replay tests whether a policy remains useful when applied to tasks beyond the executions that produced it. Independent semantic selection aims to retain interventions that are broadly relevant, rather than keeping a rule just because it appeared helpful on its source run. The authors additionally curate an independent evolution set and evaluate across benchmarks, multiple strong models, and harnesses of different levels of maturity.

Reported results

  • TransHarness reaches 76.4% on DeepSWE v1.1 and 95.5% on Terminal-Bench 2.1.
  • The paper says these results exceed the strongest baseline, GPT-6 Astra, by 2.4 and 5.6 percentage points, respectively.
  • The method uses 300 source trajectories outside the test distribution; the paper’s brief description specifies 300 trajectories per configuration.
  • The changes are to harness intervention policies, not model weights.

The broader significance is a potential route to improving coding agents through runtime behavior rather than model retraining. A harness that learns when to check, and how to guide a correction, could add reusable capabilities across tasks. But benchmark scores alone do not establish that a policy will help in every real development workflow. Transfer can still depend on the task distribution, execution environment, and quality of policy selection. The contribution is therefore both empirical and methodological: it makes transfer beyond the evolution benchmark an explicit design objective, instead of treating in-benchmark improvement as sufficient evidence of progress.

Source: Hugging Face Daily Papers

Comments

Checking sign-in status...

Loading comments...

Related articles