Skip to content

Cancellation Is Not Reclamation: Cleanup Ownership and Resource Accounting in Software-Agent Evaluation

You Liu, Quanchao Lu

cs.SE

Abstract

Software-agent evaluation depends on execution environments that preserve task state, release resources after interruption, and expose interpretable costs. We compare 15 execution components and eight measurement cases using an operation-level contract record that connects observed events and resource boundaries to engineering decisions. A controlled OpenSandbox Docker study independently reproduces and extends previously reported cancellation retention. In 18 main trials, all 12 normal-destroy and known-ID controls issued SDK deletion and showed container absence at the first post-return check. All six creates cancelled after backend acceptance but before ID delivery retained containers beyond 30 seconds. Finite-lifetime targets were reclaimed by expiry; manual-lifetime targets were removed administratively after observation. A separate default-lifetime check measured expiry reclamation around 600 seconds. The comparison also shows how faster acquisition can accompany greater reserved capacity, and why rollout speedup differs from full-cycle speedup. A six-field checklist connects these findings to evaluation validity, task success, lifecycle events, and resource accounting for software-agent harnesses.

Create a lesson

Metadata

Categories
cs.SE, cs.AI, cs.DC, cs.MA
Comments
Accepted to the Workshop on Agentic Software Engineering (AgenticSE) at AAAI 2027. 9 pages, 1 figure. Code and data: https://github.com/LIUYOU2015/execution-contract-artifact