Abstract

A method is disclosed for deciding whether a run of an autonomous coding agent delivered its work. The decision rests on third-party evidence on a code-hosting service rather than on the agent's exit status. After a run pushes a branch, a pure decision function orders the evidence from most to least verified: an open change request whose head is the branch, a merged one, the URL printed by the run's own create call, and the URL returned by one sanctioned create retry. The run is recorded as successful only on one of these. A branch whose only change requests were closed unmerged, or for which none can be found or created, yields an incomplete disposition. That disposition carries a fixed single-line marker, which is counted as a hard failure. A run that produced no change is routed on exact-identifier evidence. A merged change request that mentions the work item closes it as delivered. An open one sends it to triage, unless that request changes only documentation. No evidence permits a retry under a cap lower than the legacy blind-retry cap. When both evidence reads fail, the router never closes and falls back to the legacy cap. A periodic reconciler classifies agent branches by change-request state before any costly mainline comparison. It keeps its flags in a ledger that records the tip commit at which each was raised. An unchanged tip stays quiet, a new tip re-fires, and a failed read exits loudly instead of reporting nothing.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.

Share

COinS