Metraipolis › archive › dc_0d92ded9e385

Bounded Loops: Pre-Run Spend Bounds, Proved Termination, and Verified Completion for Agent Harnesses — arXiv:2609.27871

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.27871
License (as archived)
CC0-1.0
Archived
2026-10-08T09:13:08.081Z
SHA-256 of the archived text
f3b866f305c1ed4d18f557f33300657350175c8adf96334fbee0f7cabfbb2e58
Stable URL of this page
https://metraipolis.com/documento/dc_0d92ded9e385

How to cite

Bounded Loops: Pre-Run Spend Bounds, Proved Termination, and Verified Completion for Agent Harnesses — arXiv:2609.27871 — arXiv (en), https://arxiv.org/abs/2609.27871 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_0d92ded9e385 (Metraipolis archive dc_0d92ded9e385, sha256 f3b866f305c1ed4d18f557f33300657350175c8adf96334fbee0f7cabfbb2e58)
BibTeX
@misc{dc0d92ded9e385,
  title = {Bounded Loops: Pre-Run Spend Bounds, Proved Termination, and Verified Completion for Agent Harnesses — arXiv:2609.27871},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.27871},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_0d92ded9e385; sha256 f3b866f305c1ed4d18f557f33300657350175c8adf96334fbee0f7cabfbb2e58},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.27871. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

In mainstream agent frameworks, a step ends when the agent's own output says it has finished. Durable-execution platforms bound retries and time, but their checker conventionally lives in the same codebase as the work: a discipline the deployment is trusted to keep, not a property the harness enforces. We state what an agent harness must guarantee, prove it, and build the instrument that measures whether a harness delivers it. A bounded loop is a worker, an independent gate the worker cannot write to, and a declared budget; a bounded-loop graph composes them with a repair relation that lets a downstream failure re-run a finished upstream node. Three guarantees follow. It finishes: termination holds under repair, with the worst-case attempt total in closed form, if the repair budget is global not per node. It does not drift: no node reaches DONE without a gate verdict in an append-only hash-chained ledger, proved from control flow, since repair leaves no topological order to induct along. It does not overspend: the ceiling is enforced inside an attempt, not between attempts. Gates are measured against a two-tier held-out mutant corpus. We characterise two classes that let a sound-looking check pass anything: vacuity, satisfied by the absence of the thing checked, and self-attestation, where the subject supplies the value the check is applied to. On a 69-loop catalogue the instrument found 47 vacuous gates in shipped, reviewed code. Against the repaired gates it reports no false accepts over 209 destroying mutants ($\alpha \le 1.8\%$, Wilson 95%); that figure is saturation, not quality: freezing the gates and applying a fresh operator family recovers a 23.3% false-accept rate where the exhausted corpus reported none. A rate belongs to a specific gate; the apparatus, not our number, is the contribution. Engine, catalogue and corpus are Apache-2.0.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-24 in cs.AI).
Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2609.27871 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-08T08:13:26.729Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-24?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).