Testing Settlement Flags after Late Evidence and Process Restart
Zengjian Liu, Tommy He, ELE Zhao, HongLiang Sun
Key points
From the paper's conclusion- We generated 504 synthetic histories, ran each through a file implementation and a separately coded SQLite implementation, and observed 672 controlled process exits.
Abstract
A settlement flag can survive an application restart while the economic effects remain ambiguous. We define a contract linking the fixed plan, source admission at two cutoffs, identity-keyed ledger effects and post-invocation state. We generated 504 synthetic histories, ran each through a file implementation and a separately coded SQLite implementation, and observed 672 controlled process exits. The file implementation missed 54 same-identity payment-date conflicts, including 27 that credited cash early, and a monitor using run flags, artifact presence and purchase counts accepted all 54. The same contract distinguishes a purchase awaiting closure from a correct quote wait for a single writer on a running kernel and filesystem.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- FinalityBench: An Effect-Level Benchmark for Agent Decisions Under Delayed and Conflicting Financial FinalityarXiv · 2026
- The Defect Is in the Arithmetic Between the Files: Static Detection of Exactly-Once Violations in Payment PipelinesarXiv · 2026
- TrustBound: Mechanized Completeness for Payment Epochs Initiated by AI AgentsarXiv · 2026
- From Public Evidence to Contractual Outcome: First and Stable Decidability on KalshiarXiv · 2026
- Atomic Common-Day Invoice Clearing under Causal Daily Scheduling: Path-Enabled and Bounded-Cycle PoliciesarXiv · 2026
- Replay Is a Family of Assertions: Fork-Safety in Event-Sourced Agent RuntimesarXiv · 2026