Call-Level Revision Contracts for LLM-Authored Workflows
Chenyang Jiang, Benyang Pan, Puqu Wu
Key points
From the paper's conclusion- We define a revision contract for workflows whose orchestration code is written by a model.
Abstract
Durable execution engines replay a recorded history and do not compare activity payloads. When a model repairs a workflow that failed partway through, it must either pay again for calls that succeeded or accept a recorded result whose payload changed. We define a revision contract for workflows whose orchestration code is written by a model. Each capability call carries a structural identity built from its callsite, its fanout position, and its occurrence count, and the identity stays stable under rewrites that leave the call in place, so committed identities form a frozen prefix. The frozen unit is the call expression, and the surrounding code stays writable. A static gate rejects a rewrite that would change a committed call before a container starts. A runtime digest stops a changed payload at a committed identity, and an occurrence ledger names a repeated paid payload. Under three assumptions, a candidate the gate accepts replays every committed call it invokes, executes only new work, and reports the identities it skips. No local identity is both relocation-invariant and free of wrong reuse, so callsite identity turns a relocation into a pre-spend stop. On media workflows, 22 gate-passed repairs replay 258 committed identities with no duplicate, and a live six-way fanout makes seven paid calls instead of twelve. A 12-task customer-support study applies the same identity, replay, and boundary checks on two models.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Co-Sight Harness: Externalized Control Assets and Deterministic Enforcement for Long-Horizon Business AgentsarXiv · 2026
- Consumer-Time Validity in Stateful AI Runtimes: Verifying Recovered State and Deferred AuthorityarXiv · 2026
- Auditable Authorization for LLM Agents: Empirical Evidence Across Model, Harness, and Workflow LayersarXiv · 2026
- Permission to Retry: A Study of Authorization and Recovery in AI Agent WorkflowsarXiv · 2026
- Loop Engineering: Version-Bound, Evidence-Gated Coordination for Production Coding AgentsarXiv · 2026
- Runtime Control for AI Agents: Closing the Evaluation--Execution Gap in Operational WorkflowsarXiv · 2026