Pollard: Governed Semantic Execution Trees for Framework-Independent AI Agent Control and Replay
Organizations: Florida Institute of Technology, Melbourne, Florida, USA
Abstract
Agent frameworks can persist checkpoints, trace tool calls, and limit resource use, but these facilities often assign different identities to execution, governance, and replay. We present Pollard, a framework-independent runtime based on governed semantic execution trees. A step identity commits to canonical input, kind, attempt, and parent identity; the same tree records completion, refusal, resource settlement, and branch history. Strict replay returns a verified stored result without invoking the wrapped operation, while a transactional store coordinates reservations across concurrent workers. Under a signed deterministic freeze, two state-model replicas each executed the evaluation transitions without an invariant violation, retained-lease PostgreSQL groups were tested against exact limits, strict replay avoided external calls, and all semantic mutations were detected with no false alarms on the controls. A multi-pair framework matrix preserved reference behavior and verified the trees. A separate cost-capped hosted study exercised live provider paths, and every completed Pollard trial produced a verified tree. Together, the studies support the core mechanisms under explicit lease, boundary, and seal-custody assumptions.
Figures & tables
| Guarantee | Required premises | Boundary outside the guarantee |
|---|---|---|
| Ancestry separation | Stable canonicalization, domain separation, and collision-resistant hashing | Caller omits a causal input or invokes work outside the selected boundary |
| Exact resource safety | Serializable reserve-settle, exact estimates, and lease retained through completion | Estimate error, expired owner completion, or unavailable shared store |
| Strict replay nonexecution | Exact identity hit, stored result present, ancestry and digest verification | Reexecution mode or unwrapped external side effects |
| Refusal soundness | Every governed action passes the gate before invocation | Caller bypasses the runtime or policy cannot classify the action |
| Rolling tamper evidence | Deterministic traversal, protected hash implementation, externally retained final digest | Mutable metadata excluded from the seal or loss of external custody |
| Study | Unit | Principal oracle and contrasts | Terminal evidence |
|---|---|---|---|
| E1 | State or seeded trace | Independent identity, budget, replay, and seal model; ten ablations | 2 exact replicas, 6400000 transitions each |
| E2 | Process group or injected fault | Conservation; transactional reservation versus three weaker counters; lease boundary | 542 groups, 2768 attempts, 20 fault cases |
| E3 | Record-replay pair | External-call sentinel, state digest, divergence oracle, cache aliasing | 895 cells, 310 external seal publications |
| E4 | Fresh process | Store, depth, branch, payload reuse, interning, lifecycle operation | 132 cells, 660 measured processes |
| E5 | Reset task pair | Native scorer, token ledger, spend guard, inactive recording | E5-A: 162 terminal trials; E5-B: 20 terminal trials |
| E6 | Trace and mutation | Independent verifier or externally held native snapshot | 1,680 terminal cases, 120 clean controls |
| Control | Observed witness |
|---|---|
| Post-hoc, local-lock, or settled-only counter | 280 aggregate overshoot units each |
| Expired reservation owner | 2 late completions outside exact theorem |
| Argument-only result cache | 930 ancestry-unsafe aliases |
| Model-only boundary | 120 declared tool events absent |
| Tool-only boundary | 240 declared model events absent |
| Permitted metadata edits | 0 alarms in 120 controls |
Runtime Enforcement for AI Agents
Runtime enforcement for AI agents checks and constrains actions as they execute, helping prevent unsafe or unauthorized effects.
See all 273 papers