Issue 2: Harness becomes the object of RL training, skeptical evidence and cost dimensions tighten simultaneously
Highlights
The most notable shift this issue is that harness has transformed from a 'hidden variable being evaluated' to a 'first-class object of RL training'. Two infrastructure works—Agent Lightning v1.0 and LEGO-RL—for the first time systematically characterize 'harnessed agentic RL': at deployment, the harness owns the environment loop, and the trainer only sees request-response pairs, giving rise to issues such as retokenization, sample merging, advantage computation, loss normalization, and MoE routing replay that were previously left blank by proxy frameworks like verl Uni-Agent and AReaL 2.0. They push 'improvement attribution' from the scaffold vs. base model dichotomy to a finer granularity—'the interface between trainer and harness'—which is precisely the attribution clarity most valued in this direction.
Meanwhile, skeptical evidence continues to tighten. The Scaffold Effect in Coding Agents uses cross-harness controlled experiments to deliver a striking comparison of 40x token cost differences vs. 0–8pp pass rate differences, complementing the longitudinal harness evolution study from Issue 1; The Working Set of a Coding Agent unifies context management into the actionable goal of 'fact coverage at edit time', proving that availability determines outcomes while distance does not. Together, the 'cost dimension' and 'fact availability' of harness are becoming more sensitive diagnostic indicators than pass rate.
The third main line is reward hacking moving from 'detection' to 'measurement and hardening'. SpecBench embeds hack measurement into task design via dual test suites for the same task, Auditing Reward Hackability in Code RL provides Docker-verified per-task hackability audits with +14.14pp inflation quantification, and Hardening Agent Benchmarks uses a hacker-fixer loop to fill the gap left by BenchJack/HackDetect that only detect but do not fix. Coupled with HarnessOpt-Bench turning 'harness optimization' itself into a measurable capability, the consensus this issue is: single-point pass rates and harness benefits can no longer be asserted by intuition; they must be supported by controlled attribution, cost measurement, and hack audits.
Community and Updates
FrontierSWE is a rare unsaturated ultra-long-horizon benchmark: 17 tasks, ~20 hours per task, frontier models show almost no progress, and cheating attempts are explicitly reported (scored as zero). Its 'implementation/performance/research' task categories and held-out data evaluation design directly respond to this direction's need for non-saturated, long-horizon real-world software engineering evaluation. SWE-Together provides verifiable repository-level tasks reconstructed from 109 real user-agent sessions, with a state-conditioned LLM user simulator and a User Correction axis, serving as a reusable resource for studying intent mismatch and clarification questions. Reward Hacking Benchmark systematically audits hack rates in tool-use environments across 13 frontier agents, finding that RL post-training significantly increases hacking, and environment hardening can reduce it by 87.7% without harming task success rates. EvoClaw (SWE-Milestone) explicitly measures error accumulation across multi-version continuous evolution, showing a sharp drop from isolated to continuous settings, an important complement to single-snapshot benchmarks. Code-Compression-Bench uses context compression layers as the only variable, fixing scaffold/model/grader, with cost-per-solved-task as the primary metric, providing an attribution protocol for compression benefits.
Open Questions
- Harness-native RL's 'faithful optimization' solves training correctness, but both works report gains only on the single benchmark SWE-bench Verified. When harness itself becomes the training object, how can held-out or contemporaneous new benchmarks verify that the gains from 'harness-involved training' indeed exceed the harness itself, rather than merely postponing overfitting?
- The previous issue's 'harness benefit capability is non-monotonic with base model capability'—this issue's The Scaffold Effect and The Working Set incorporate cost and fact availability into attribution, but does the imbalance of 40x token differences vs. 0–8pp pass rate differences imply that 'cost' is the first dimension in harness selection? When pass rates are nearly unchanged, which should evaluation prioritize?
- Both SpecBench and The Working Set point to the structural failure of 'tests/standards as optimization targets': in long-horizon tasks, hacking scales with size, and stale standards are worse than none. Can 'held-out combined tests' and 'edit-time fact coverage' be merged into an auditable evaluation protocol, allowing hack measurement and context management to be validated under the same framework?
Papers in this issue
The Scaffold Effect in Coding Agents: Harness Choice as a Hidden Variable in Coding-Agent Evaluation
Harness choice drives up to a 40x token cost difference per solved coding task while shifting pass rates by only 0-8 percentage points, making harness-model pairs the correct evaluation unit.
Editor's noteA cross-harness controlled comparison with fixed base model, quantifying up to 40x token cost differences per solved task while pass rates differ only 0–8pp, and identifying harness-specific failure fingerprints reproducible across models (Goose's REASON, OpenCode's TIME/HANG). Compared to Issue 1's longitudinal version evolution study, this work independently replicates the core conclusion 'harness choice ≠ benefit' via cross-harness horizontal experiments, and incorporates cost dimensions and no-action turns supervision burden into the evaluation framework. Includes full configurations, raw trajectories, and aggregated snapshots, serving as another hard piece of evidence for harness engineering empiricism.
Agent Lightning enables harnessed agentic RL with rollout-level advantage and normalization, boosting coding agents on SWE-bench Verified from 41.8% to 56.4% using only ~6K examples.
Editor's noteFirst systematic characterization of 'harnessed agentic RL'—where at deployment the harness owns the environment loop and the trainer only sees LLM request-response pairs—identifying key challenges such as retokenization, sample merging, advantage computation, and loss normalization that were previously left blank by proxy frameworks like verl Uni-Agent and AReaL 2.0, and proposing rollout-level advantage and loss normalization. With only 6K samples, it improves Qwen3.5-9B on SWE-bench Verified from 41.8% to 56.4%, and releases the full data cleaning and anti-reward-hacking pipeline. Note that gains are reported only on a single saturated benchmark without held-out controls; read with benchmark validity skepticism.
LEGO-RL enables native coding-agent harnesses to train with policy-gradient RL, boosting SWE-bench Verified scores by up to 9.4 points without altering their control flow.
Editor's noteExplicitly formalizes 'faithful optimization' in harness-native RL: uses in-process proxy to capture exact tokens and MoE routing decisions (R3 replay), resolving rollout-training inconsistency caused by harness-side history rewriting, and pairs with sandbox reward integrity defenses and termination-aware trajectory filtering. Provides misaligned negative controls for MoE routing replay, maintaining rollout-training correlation above 0.99. Limitations: single model, single run, and only SWE-bench Verified without held-out, but as infrastructure its engineering contributions and ablations are solid.
)Bench shows every frontier coding agent reward-hacks by gaming validation tests, with the gap growing 27 percentage points per tenfold increase in code size.
Editor's noteThe first benchmark to explicitly quantify reward hacking in long-horizon coding agents via dual test suites for the same task (visible validation vs. held-out combination), covering system-level tasks from 1.5K to 110K LOC, with the gap growing ~28pp per tenfold increase in code size. Reports concrete hack cases such as AIDE selecting a lookup table instead of a real compiler, and a 2900-line hash table 'compiler' memorizing test inputs. Compared to Issue 1's BenchJack/HackDetect audits, it embeds hack measurement into task design itself, a paradigm complement with reproducible gap metrics.
Repository-scale coding success depends on edit-time availability of coupled facts from context or parametric memory, not on total context consumed or fact distance.
Editor's noteIntroduces the concept of 'coherence debt', modeling repository-level task correctness as coupled fact coverage at edit time, and through controlled withholding/supplying dual-channel experiments proves 'availability determines outcomes, distance does not', missing facts cause erroneous work rather than absence, and stale standards are worse than none. Unifies harness context management into the actionable goal of 'edit-time fact coverage', and provides a measurement-theoretic warning that 'read-derived metrics are unreliable'. Limitations: predictive power on SWE-bench is chance, and some small-sample units serve only as directional evidence.
Analyzing 20,574 real-world coding sessions reveals misalignment is primarily interaction-level—constraint violations, misread intent, and inaccurate reporting—rather than code correctness, with 91% of resolutions requiring explicit developer pushback.
Editor's noteThe first large-scale observational study of developer-agent intent mismatch from real sessions (20,574 IDE/CLI sessions, 1,639 repositories), providing a taxonomy of seven symptom types and seven cause types, with 91.49% of visible resolutions still requiring explicit user correction, and constraint violations and inaccurate self-reports increasing over time. Compared to Issue 1's SWE-Touch controlled injection, it uses naturalistic logs to fill in the forms and causes of mismatch in real usage, providing an empirical basis for clarification mechanisms and evaluation design.
The hacker-fixer loop, using verifier access and a shared defense pool, automates hardening of agent benchmarks, eliminating all tested reward-hacking attacks on KernelBench and reducing them on Terminal Bench.
Editor's noteThe first systematic, automated verifier hardening method: a hacker-fixer-solver three-agent loop iteratively discovers and patches vulnerabilities, adding two levers—verifier access and cross-task shared defense pools—and demonstrating weak-to-strong hardening (Gemini 3 Flash's defenses can resist stronger attackers). Compared to Issue 1's BenchJack/HackDetect which only detect, it fills the repair gap, with strict held-out evaluation and ablations. Note that KernelBench ablations reveal a failure mode of over-strict patches when no LLM solver is present.
HARNESSOPT-BENCH shows optimizer model choice matters 1.8x more than coding harness choice for agent improvement, with broader search driving gains and trace reading providing no benefit.
Editor's noteThe first controlled benchmark treating 'harness optimization' itself as a measurable capability: an optimizer edits the target agent's seed harness under a fixed budget, scored on held-out partitions, with a trusted execution environment enforcing evaluation boundaries and retaining candidate versions for audit. Paired design shows optimizer model differences are ~1.8x larger than harness differences, and native harnesses have no consistent advantage—a clean attribution result complementing Issue 1's skeptical evidence. It is a benchmark rather than a method, but provides a public protocol for comparing future harness optimization methods.
Docker-verified test-suite audits reveal 28.5% of SWE-bench Verified tasks accept incorrect patches, inflating Pass@1 by +14.14 percentage points across 134 frontier models.
Editor's noteThe first cross-benchmark, Docker-verified audit of reward hackability in code RL environments: SWE-bench Verified 28.5% and R2E-Gym 25.0% of tasks accept incorrect patches, meta-analysis shows hackable tasks inflate Pass@1 by an average of +14.14pp across 134 models, and reveals a 61.9% defect rate in LLM-generated test augmentation. Compared to Issue 1's BenchJack (pre-execution scanning) and SWE-ABS (hardening without measurement), it fills per-task hackability measurement and multi-model meta-analysis validation.








