Cordon reduces irreversible-effect failures and catches cross-step violations in tool-using LLM agents
Cordon’s transactional runtime prevents irreversible tool effects and detects violations that existing defenses miss
Systems arXiv 16 Jun 2026 Method Prototype evidence
Published as “Cordon: Semantic Transactions for Tool-Using LLM Agents”
Why it matters
Enables practical prevention of cross-step policy violations in tool-using LLM agents with modest performance impact.
Summary
Cordon blocks all (45/45) policy-violating side-effects before they are committed, while keeping benign task success unchanged. In a 45-workflow risk suite it intercepted every violation, compared to only 14/45 for existing defenses, and cut mean task time by ~25% and token use by ~25% with only ~4 ms rollback latency. Evidence comes from experiments on 45 risk-bearing multi-tool workflows and two benign benchmark suites.
What they found 2
- Cordon intercepts all policy-violating effects before commit in the risk-bearing suite
“Plain execution commits policy-violating effects in 45/45 risk-bearing workflows; strategy adapters derived from existing defense boundaries intercept only 14/45 before commit and leave 31/45 policy-violating or post-hoc-only, while Cordon intercepts 45/45 before commit.”
- Transaction-mediated execution reduces task time, token use, and provides fast rollback while preserving benchmark correctness
“transaction-mediated execution reduces mean task time by 24.6-27.9% relative to plain execution, reduces token use by 23.6-28.4%, provides 4.17ms median rollback latency with 15/15 resume checks passing, and preserves standard-benchmark task correctness within measurement variance.”
Caveats 2
- The reported task-time reduction excludes any approval wait time, so overhead could be higher when human approval is required.
- With approval wait excluded, transaction-mediated execution reduces mean task time by 24.6-27.9% relative to plain execution.
What’s new here 4
- Introduces a task-level “semantic transaction” that stages irreversible tool effects and validates them before commit.
- Tracks result-object lineage, authority, and audit metadata to detect cross-step violations missed by per-call guards.
- Provides a runtime that can roll back speculative local mutations via shadow state and abort staged external effects.
- Implements a validation gate that can block effects based on composed execution flow rather than isolated tool calls.