Beyond Approved Actions: Runtime Validation of Persistent Outcomes in Agent Workflows
Haoran Zhang, Hengtong Zhang, Zhiyu Liang, Yu Yan, Decheng Zuo, Hongzhi Wang
Abstract
Large language model agents increasingly act on software systems, no longer merely generating text but also changing databases and online services. However, an approved database update may succeed yet leave an unapproved notification because execution can produce persistent effects beyond the requested change. Current safeguards can approve an action or record its aftermath, but without checking the persistent result before continuation, an unapproved outcome can be accepted as success and propagated to later steps. We present EffectMatch, a runtime that collects persistent changes within a controlled execution boundary and compares them with what the application approved for the current state and execution. The comparison governs commit and dependent execution. In comparative evaluation on 206 public business tasks, EffectMatch preserved all clean executions and prevented all tested incorrect commits. Six 20-run ablations exposed the failure caused by each removed mechanism, while 80 task-topology cases preserved truthful handoffs and blocked invalid continuation. Together, these results show that EffectMatch blocks the silent acceptance and downstream propagation of persistent outcomes inconsistent with application approval.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
- Comments
- 22 pages including 7 pages of supplementary material. Submitted to IEEE Transactions on Software Engineering
Related papers
Safe Continuation in LLM Agents: Runtime and Tool-Contract Boundaries
Shared title terminologycs.SEZihao Wang
MergeReady-Bench: Evaluating and Improving Coding Agents Beyond Test Passing
Shared title terminologycs.SEPriyatham Kattakinda, Wenxiao Wang, Soheil Feizi
Beyond Static GUI Agent: Evolving LLM-based GUI Testing via Dynamic Memory
Shared title terminologycs.SEMengzhuo Chen, Zhe Liu, Chunyang Chen et al.
Decision Models for Definition-Driven GitHub Actions Workflow Smell Detection
Shared title terminologycs.SERohit Gheyi, Anderson Uchôa, Wesley Assunção et al.
How Do Coding Agents Optimize Software and Report Performance Validation? A Large-Scale Empirical Study of Open-Source Pull Requests
Shared title terminologycs.SEHuiyun Peng, Ricardo Calvo, Kelechi G. Kalu et al.
Engineering Sustainable Agents: A Systematic Comparison of Agentic LLMs for Developer Workflows
Shared title terminologycs.SEMerve Astekin, Yan Naing Tun, Arda Goknil et al.