Executable Preconditions versus Text Similarity for Replaying Compiled Agent Programs: A Pre-registered Test on Real Lock-file Merges

Agents that compile solved tasks into reusable programs must decide when to replay one. We compare executable preconditions, shell probes that must hold on the live state, with text similarity between the request and a program's description, at matched coverage. On states our own injectors built for five git maintenance faults, precondition dispatch mis-fired on 0 of 563 fires while three text scorers mis-fired on 71-90%, but a tree reading only the state matched it. A pre-registered test on 274 real lock-file merges from 11 repositories, labelled by what maintainers committed, falsified the claim that precondition dispatch rarely mis-fires (wrong on 62/150, 10/122 and 132/244 fires): its line-level resolutions expressed 1 of 161 maintainer resolutions. Four more registered studies, on 92 fresh repositories, read lock files as package sets. An action computed from a merge's three sides reproduces the maintainer on 0.69 and 0.76 of conflicts, against 0.07 for line unions; firing it only when no package diverges, itself a precondition, roughly halves its mismatch but not below 0.10 (0.35 [0.18, 0.53]); and merges leave lock files inconsistent more often than ordinary commits (0.067 [0.003, 0.130]). A registered study of 20 builds on 209 more merges tested refusal: how often a build fires on conflicts nothing can resolve ranges from 1% to 100%, and a state reader given the same refusal evidence declines about as often (primary hypothesis not supported, 0.060 [-0.009, 0.153]). What decided the outcome was the action space and giving the decision the state, not executing checks. We release 1,559 real lock-file conflicts from 109 repositories, labelled by maintainers' commits, and lockmerge, a merge driver built on these results. We also mutation-test the graders.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-25
DOI
https://doi.org/10.5281/zenodo.24544471
Primary Topic
Software Engineering Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Executable Preconditions versus Text Similarity for Replaying Compiled Agent Programs: A Pre-registered Test on Real Lock-file Merges

Peilin Yu
Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
preprint

Executable Preconditions versus Text Similarity for Replaying Compiled Agent Programs: A Pre-registered Test on Real Lock-file Merges

Peilin Yu
preprint en

Abstract

Agents that compile solved tasks into reusable programs must decide when to replay one. We compare executable preconditions, shell probes that must hold on the live state, with text similarity between the request and a program's description, at matched coverage. On states our own injectors built for five git maintenance faults, precondition dispatch mis-fired on 0 of 563 fires while three text scorers mis-fired on 71-90%, but a tree reading only the state matched it. A pre-registered test on 274 real lock-file merges from 11 repositories, labelled by what maintainers committed, falsified the claim that precondition dispatch rarely mis-fires (wrong on 62/150, 10/122 and 132/244 fires): its line-level resolutions expressed 1 of 161 maintainer resolutions. Four more registered studies, on 92 fresh repositories, read lock files as package sets. An action computed from a merge's three sides reproduces the maintainer on 0.69 and 0.76 of conflicts, against 0.07 for line unions; firing it only when no package diverges, itself a precondition, roughly halves its mismatch but not below 0.10 (0.35 [0.18, 0.53]); and merges leave lock files inconsistent more often than ordinary commits (0.067 [0.003, 0.130]). A registered study of 20 builds on 209 more merges tested refusal: how often a build fires on conflicts nothing can resolve ranges from 1% to 100%, and a state reader given the same refusal evidence declines about as often (primary hypothesis not supported, 0.060 [-0.009, 0.153]). What decided the outcome was the action space and giving the decision the state, not executing checks. We release 1,559 real lock-file conflicts from 109 repositories, labelled by maintainers' commits, and lockmerge, a merge driver built on these results. We also mutation-test the graders.

Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon