Aivora Code: A Rust Coding Agent — Why the Harness Decides Outcomes, and How to Prove It
A coding agent is a large language model (LLM) wrapped in a loop — read, reason, call a tool, observe, repeat — that can edit a repository, run its tests and return a diff for human review. The loop is the same in every system; the outcomes are not. This paper asks how much of the outcome the harness decides, and states the question as six falsifiable hypotheses (Section 7 and Section 8): the harness matters at least as much as the model (H1); cost-adjusted ranking differs from raw ranking (H2); a 3-round cap loses at most 15% (H3); post-compaction decision recall stays above 80% (H4); a coordinator-gated loop is cheaper than a model-decided loop (H5); compression before re-shadow restores decision quality in long sessions (H6). It defines two metrics to test them — cost-adjusted pass rate (CAPR) and decision recall after compaction (DRAC) — and a frozen benchmark protocol, AivoraBench-Rust, on which the tests run. One of the six problems is solved in this paper. H2 is solved by computation on the February 2026 same-harness board (mini-SWE-agent v2.0.0, SWE-bench Verified): ranking by CAPR is not ranking by pass rate — MiniMax M2.5 resolves 1,083 tasks per dollar against 102 for Claude Opus 4.5 at the same 75.8–76.8% pass rate. The coordinator's decision accuracy is measured directly: the Aivora Harness enforcement gate scored 20/20 exact on its full corpus and 15/15 blind, with 0 forbidden decisions, on DeepSeek Harness on 2026-11-21 — that measurement is evidence for H5, not a solution of it: H5's full test, CAPR of the gated loop against the model-decided loop on AivoraBench-Rust, is future work. H1, H3, H4, H5 and H6 are unsolved: each carries an explicit rejection condition and a specified experiment, feasible in phase M3, and no result is claimed for them. The background is compressed to what the hypotheses need: twelve systems reduced to a five-axis framework, the same-harness board set against the any-scaffold board, the conflicting compaction thresholds, and the Rust evidence that a small agent can be one binary. The second half of the paper is a buildable specification for Aivora Code v2 (one OpenAI-compatible provider, six tools, a 3-round loop, TOML configuration, a loopback HTTP+SSE server, a Transcript-driven UI). The specification is the apparatus the experiments run on, not the contribution. Price data is appendix material, not part of the argument. Every unverified claim is flagged; no benchmark, price or API signature is invented.
Authors
- Hoàng An Đặng
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-29
- DOI
- https://doi.org/10.5281/zenodo.24635958
- Primary Topic
- Software Engineering Research
- Type
- preprint