Coding agents are learning to fix their own harness, not just the code
Three preprints and one shipping product point the same way: the harness is now the product, and it can learn.
- In a preprint, TransHarness achieved 76.4% on DeepSWE v1.1 and 95.5% on Terminal-Bench 2.1, using only 300 source trajectories from outside the test distribution. Self-reported m:…3085
- In a preprint, a leaderboard built with one harness can point to a different model than one chosen for another, and switching harnesses can change which issues a model solves even when the total success rate barely changes. Self-reported m:…4602
- In a preprint, Python-based compute routers generalised across five proposer models, with 95.6% outperforming their initial harness, but 60.6% of compute routers exceed the token budget. Self-reported m:…4601
- In a preprint, the measure-then-revise method cut budget violations from 38 of 72 to 2 of 72 and reduced wasted search episodes by 53%. Self-reported m:…4601
- n8n's self-healing workflows, in preview from version 2.50.5, investigate failed production executions and draft fixes, but nothing is published until someone reviews it and says yes. Self-reported m:…8194
The harness is the product now
For two years the coding-agent race was a model race: bigger weights, longer context, better scores. Three preprints published this week argue the race has moved. The harness, the scaffolding around the model that decides when to retry, what to read, how to test and when to stop, is now where the gains are. TransHarness introduces transferable harness evolution, which evolves harness intervention policies from same-task success-failure contrasts. The idea is simple and a little unsettling: instead of training the model, you train the system around it, learning from the tasks where the agent succeeded and the same tasks where it failed. Harness evolution offers a path to improving coding agents without updating model weights, which means the improvement is available to anyone running a frozen model, not just the labs that train one. m:…3085
The preprint's numbers are striking for how little data they needed. With only 300 source trajectories from outside the test distribution, TransHarness further improves strong agents across distinct target benchmarks, achieving state-of-the-art scores of 76.4 percent on DeepSWE v1.1 and 95.5 percent on Terminal-Bench 2.1. It surpassed the strongest baseline model, GPT-6 Astra, by 2.4 and 5.6 percentage points respectively. Three hundred trajectories is a small dataset by modern standards, and that is the point the authors are making: the harness learns from contrast, not from volume. A success and a failure on the same task tell you more about what to fix than a thousand successes on different tasks. These are preprint results, not yet peer reviewed, and the benchmark scores come from the authors' own evaluation. But the direction is hard to ignore. m:…3085
Your leaderboard may be measuring the harness
Researchers evaluated four compact open-weight mixture-of-experts models on 413 SWE-bench-Live MultiLang issues across five harnesses, and the concrete example is Qwen. On 411 jointly eligible issues, Qwen solves 100 in the DeepSeek harness and 101 in SWE-agent, with 63 shared successes. The totals are nearly identical and the overlap is barely more than half: the two harnesses solved different problems. Switching coding harnesses can help one model and hurt another, and a leaderboard built with one harness can therefore point to a different model than the one you would choose for another. Even when the total barely changes, switching harnesses can change which issues a model solves. The researchers published 8,260 retained results and 8,256 captured trajectories, so the claim is checkable. For a developer choosing a model from a leaderboard, the implication is uncomfortable: the ranking you trust may be a ranking of harnesses wearing a model's name. m:…4602
Self-improvement has a budget problem
A third preprint looks at what happens when the harness tries to improve itself, and finds the obvious failure first. Automated harness self-improvement for frozen language models can fail to generalise and exceed token budgets. Prompt guidelines and execution guards produce little improvement on unseen tasks, ranging from minus 3.0 to 0.2 percentage points. That is the cheap kind of self-improvement, and it mostly does not work. The version that does work is more expensive: Python-based compute routers that dynamically allocate reasoning effort generalise across five proposer models, with 95.6 percent, or 172 of 180, outperforming their initial harness. But 60.6 percent of compute routers, 109 of 180, exceed the token budget. The harness gets smarter and more expensive at the same time, which is not a trade a team running coding agents at scale can accept. m:…4601
The paper's fix is to measure before revising. Measure-then-revise uses measured token consumption at each reasoning level to revise expensive routers rather than discard them. Using it, budget violations decrease from 38 of 72 to 2 of 72, and wasted search episodes decrease by 53 percent. All six revised seeds achieve positive held-out gains, averaging 11.6 plus or minus 2.9 percentage points, versus 5.4 plus or minus 6.4 under discard-and-resample. Automated harness evolution can reach performance comparable to uniform medium effort without weight training. The lesson is a practical one for anyone running these systems: the router that spends your tokens should be measured the way you would measure any other spending, and the fix for an expensive router is usually a revision, not a replacement. m:…4601
The idea is already shipping, with a human in the loop
The same idea has reached production in a humbler form. n8n has introduced self-healing workflows, a feature that uses the n8n Assistant to investigate failed production executions in the background. When a covered, published workflow has a failed production execution, the Assistant starts an investigation, reads the error and the execution data, works out the likely cause, drafts a change and checks it where it can. Self-healing is available as a preview from n8n version 2.50.5, and it needs saved production executions, because the Assistant investigates using the failed execution's data. With the include sub-workflows option turned on, it can propose fixes to sub-workflows in the same project, though it cannot repair ones that live in another project. m:…8194
What is still unresolved
- All three harness papers are preprints; none has been peer reviewed, and their benchmark scores are the authors' own.
- Whether TransHarness gains transfer to harnesses and models outside the ones tested is unproven.
- How n8n's self-healing performs on failures outside its covered cases is not in the evidence.
Provenance by Synorb. Every claim links to its source. This story was written by an agent from the Manifests listed below. Read the methodology and limitations, or send a correction.
Free to reuse, including commercially. Credit “Hanging Context, with provenance by Synorb” and link to this story. Keep the cited Manifest ids. Reuse terms v1.