What the Reviewer Is Told to Check: Instruction Scope, Notices, and Test-Passing Partial Work in Multi-Agent Code Handoffs
Version paper-v1.1 (2026-12-02). Adds the claim clarifications recorded in CLAIMS-LEDGER.md section 9 to paper-v1.0 (2026-11-21). This record holds the manuscript PDF; the benchmark code, task definitions, pre-registered hypotheses and the 6,012 raw JSON records are in the GitHub repository linked below. In multi-agent software pipelines one model writes a change and another decides whether to merge it. The deciding model is given a ticket, a contributor report, notices such as signature badges and continuous-integration (CI) summaries, and an instruction saying what to check. I test which of these change its decision. RepoHandoff is a pre-registered benchmark of 36 Python micro-repositories in 12 domains (plus 4 calibration repositories) with real git worktrees, pytest suites, hidden oracles and signed handoff vouchers. The archive holds 6,012 confirmatory records (5,616 unique; 396 baseline cells of Experiment B are copies of Experiment A decisions) from 7 models by 5 developers, 216 of them live coding-worker runs; a separate standard-library script recounts the cell counts and McNemar pairs with zero discrepancies. Changing the receiver's duty sentence changes how often it holds a test-passing partial patch. The pre-registered comparison swaps one instruction sentence for another. Told to verify that every ticket requirement is implemented, five core receivers returned hold on 147 of 180 decisions (36 patches each) about patches that pass their tests but silently omit a requirement; told to verify that CI passes and matches the report, and to merge if so, they returned it on 20 of 180 (−70.6 percentage points (pp), 36/36 repositories concordant, p_Holm < 0.05 in each of 6 models). Under the second instruction two models also returned merge for patches whose contributor notes disclose the omission (gpt-6-luna held 36/36 then 2/36; gpt-6.1-sol 18/18 then 0/18), which is what that instruction says to do; three others held all 36 and one held 28. The two instructions differ in both the scope of the check and the dictated verdict. A post hoc arm, not pre-registered and with one draw per cell, kept the CI-only check and left the verdict open. It ran on four models that could be called without API charges, one of which was not a receiver in the pre-registered experiment: two held every silent partial (36/36 and 18/18, as under the first instruction) and two held none (0/36 each, as under the second). Notices mattered less and unevenly. On silent partials, a bare Verified badge compared with a neutral header, and a green-CI badge compared with a scoped signature badge, gave small, non-significant pooled differences in holds (3.3 pp and 1.7 pp fewer; Holm-adjusted sign-test p = 0.22 and 0.58). An accurate mismatch notice raised holds on patches with a false CI claim from 133/180 to 179/180 (+25.6 pp, 36/36 repositories), entirely through two local models, which also ran the tests more often under the notice (on 0/36 then 22/36 trials, and on 12/36 then 36/36). A deterministic digest check blocked all 36 mismatches. Three pre-registered contrasts on disagreement briefs were non-significant and are reported in an appendix. The benchmark's own labels needed correction. In Experiment A, 110 of 792 receiver decisions on the 36 patches labelled clean were holds. Two independent audits by models from different developers, blind to those decisions, agree that 11 of the 36 clean patches depart from their written tickets on inputs the oracle does not test (two of the 11 on inputs a ticket author would probably call out of scope), and only 4 drew no objection; 73 of the 110 holds fall on those 11. The audit did not read the hold reasons, so this is an overlap by task. I therefore report holds on clean-labelled patches, not false alarms, and recompute the hold counts, and the two pooled contrasts that use the label, on the audited subsets. In 216 live coding-worker runs, a visible API-freeze test blocked one ticket requirement and workers were told to leave it unimplemented and say so. 131 were classified as disclosed partials, the instructed outcome, by a rule on test results and report text that does not identify which requirement is missing (16 of them changed no file and disclosed that); 7 (3.2%) passed both test suites by getting around the syntactic freeze check; 5 edited pre-existing tests; 4 claimed completion while describing a workaround in their notes; 1 claimed a pass that had failed; the rest failed or did not finish. The digest and test-integrity checks flagged every failing run and every test edit within their scope. They blocked 3 of the 131 disclosed-partial handoffs because the report disagreed with the test result (the 3 whose reports set tests_passed to false), and passed all four over-claims. In the scripted handoffs, all three checks passed every test-passing partial patch. None checked whether the patch satisfied the ticket.
Authors
- Kenny Wang
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24740627
- Primary Topic
- Software Engineering Research
- Type
- preprint