WorksComputer Science
Provenance-Isolated Epistemic Quorums: Execution-Bound Evidence Certification and Plausible-World Safety Gating in Agentic Control Planes
Abstract
Agreement among large language models is not physical evidence for mutating production infrastructure. Because generative models share pretraining priors and conform to peer rationales during deliberation, voting ensembles correlate errors instead of providing independent fault tolerance; yet attaching rigid deterministic checks to unconstrained agent outputs paralyzes incident remediation. We present Provenance-Isolated Epistemic Quorums (PIEQ), an execution-bound certification layer that keeps every language model strictly outside the trusted computing base. PIEQ unifies assumption-based truth maintenance, physical provenance isolation, control-theoretic plausible-world safety shielding, and linearizable concurrency governance around three distinct obligations: certifying diagnostic preconditions from disjoint physical failure domains, gating candidate mutations across all unrefuted fault worlds while falling back to read-only diagnostic probes under ambiguity, and binding admission certificates to target execution through snapshot barriers, revision checks, authorization freshness, trusted temporal-precondition policies, and capability-tiered enforcement. Across formal guarantees, automated etcd fault suites, frozen software benchmarks, and live language-model runs, PIEQ achieves zero within-assumption unsafe admissions and zero false-precondition commits, converting occasional agent proof omissions into recoverable false blocks rather than unsafe actions. On a physical PostgreSQL/Patroni cluster, PIEQ gates supervised failovers alongside Patroni and etcd's native split-brain protection and enforces a full Tier E2 contract inside a single serializable PostgreSQL transaction for bounded capacity reservations. All benchmarks are author-labeled, live model snapshots are unpinned, and Tier E2 physical failover promotion as well as multi-host hardware fault isolation remain open work.
Introduction
Autonomous cloud control planes increasingly invoke ensembles of large language models to diagnose incidents, shift traffic, drain nodes, and coordinate database failovers [1]. A widespread safeguard is multi-agent debate [2, 3, 4], in which models exchange natural-language rationales and vote before issuing a mutative API call. Treating agreeing agents as a fault-tolerant quorum, however, confuses opinion consensus with physical evidence independence. Shared pretraining priors and inter-agent sycophancy correlate model errors well beyond classical fault-tolerance assumptions [5, 6, 7, 8]. Attempting to fix this by placing a strict deterministic verifier directly in front of free-form agent proposals creates the opposite failure mode by paralyzing remediation. In an initial 40-case five-model pilot, strict verification blocked every unsafe action (0/40) but also blocked every actionable incident (0/19 mitigations), discarding 140 of 284 submitted proofs and executing zero diagnostic probes.
Making autonomous infrastructure mutation both safe and actionable requires solving a deeper systems and control problem that agent agreement cannot address. Consider a three-node replicated database whose primary stops answering in-band SQL probes. Two incompatible fault scenarios match that symptom: the primary may have crashed, in which case promoting a replica restores availability while preserving single-primary exclusivity, or an asymmetric network partition may have isolated a healthy primary, in which case promotion induces split-brain. Physical telemetry originates from separate failure domains, such as in-band SQL probes, an out-of-band management bridge, and a consensus lease store, regardless of how many language models inspect those signals. Addressing only part of this pipeline leaves critical failure paths open. Certifying that the primary is unreachable without ruling out a network partition still admits split-brain. Conversely, blocking unsafe promotions without certifying diagnostic preconditions lets a hallucinating agent or a single faulty sensor trigger unwarranted invariant-preserving disruptions such as load shedding or standby drains. Even when both diagnostic checks succeed at observation time, physical safety still breaks if concurrent coordinators race, authorization is revoked before commit, a transient condition clears before effect, or multi-round probes mix observations from inconsistent system snapshots.
We address these coupled failures through Provenance-Isolated Epistemic Quorums (PIEQ), an execution-bound certification layer implemented in a deterministic verification proxy (kf-proxy) that keeps every language model strictly outside the trusted computing base. Rather than claiming individual novelty for its underlying formalisms, PIEQ composes established techniques from four disciplines across the boundary between agentic diagnosis and physical actuation. From symbolic artificial intelligence and formal verification, we adopt assumption-based truth maintenance [9], model-based diagnosis [10, 11], data provenance [12], and proof-carrying authorization [13, 14]: instead of debating in prose, untrusted agents submit typed Horn-clause derivations and conflict certificates rooted in cryptographically signed telemetry, which a deterministic verifier checks while tracking minimal supporting assumptions and contradictions. From distributed fault tolerance and combinatorics, we combine Byzantine failure-domain isolation [5] with disjoint complete-proof packing, defining fault-tolerant certification by the number of independent physical telemetry domains rather than the number of agreeing agents. From control theory, we apply discrete-event supervisory control [16], partially observable runtime safety shielding [15], viability theory [20], and dual control [31]: the proxy retains every modeled fault world not refuted by enough independent failure domains, admits a mutation only when it preserves modeled invariants across every surviving world, and shifts to read-only diagnostic probing whenever ambiguity remains. Finally, from concurrency control and distributed systems, we integrate linearizability, strict serializability, stuttering refinement, leases, fencing tokens, and escrow-style exposure accounting [17, 18, 19, 25, 35] so that admission certificates remain valid, ordered, authorized, and uncontested all the way to the physical commit boundary.
This paper makes four main contributions while keeping every language model outside the trusted computing base. First, we introduce provenance-isolated epistemic certification, combining bounded truth maintenance with exact complete-proof packing over recursive physical failure-domain footprints so that fault-tolerant precondition certification depends strictly on independent telemetry domains rather than agent count or conversation context. Second, we formulate fault-tolerant plausible-world safety gating, retaining every modeled fault world not refuted by enough disjoint telemetry domains under bounded compute, admitting mutations only when they preserve state invariants across all surviving worlds, and otherwise dispatching read-only diagnostic probes or escalating deterministically. Third, we design an execution-bound target governance layer and eight-stratum conditional risk accounting framework spanning contiguous snapshot barriers, universal admission-revision compare-and-swap, physical stuttering-refinement contracts, mandatory trusted temporal-precondition policies, and capability-tiered target enforcement. Fourth, we make these gates practical for live language models without expanding the trust boundary through three supporting engineering mechanisms (typed proof submission with bounded schema-feedback retry, seven-boundary snapshot-audited active probing, and opt-in bounded deterministic completion) and evaluate the complete architecture across formal counterexamples, automated etcd fault suites, frozen software benchmarks, live model runs, physical PostgreSQL/Patroni failover supervision, and real-PostgreSQL transactional enforcement, while clearly delineating its formal trust boundaries and empirical scope.
The paper proceeds by formalizing the infrastructure plant, composable safety notions, and conformity collapse in agent debate, then developing provenance-isolated certification and plausible-world shielding, extending those guarantees to concurrent physical execution and risk accounting, and concluding with our multi-tier evaluation, related work, and residual limitations.
System Model and Conformity Collapse in Agent Debate
Designing a safety layer for autonomous infrastructure requires two foundations before any certification algorithm can be written. First, we must define the physical system being controlled, the precise safety properties that hold under concurrent actuation, the physical source of observational independence, and the boundary separating trusted verification from untrusted reasoning. Second, we must examine why multi-agent deliberation fails to supply independent evidence, motivating our architectural decision to move every language model outside the trusted computing base.
Plant, Safety Notions, Failure Domains, and Trust Boundary
An autonomous control plane supervises a partially observable infrastructure plant, such as a replicated database cluster, a routing domain, or a storage pool, whose exact physical configuration cannot be inspected instantaneously in full. To reason deterministically about risk, operators model the plant through a finite abstraction that partitions physical configurations into discrete fault regimes (such as a healthy primary, a crashed primary, or a live primary isolated by an asymmetric network partition) and specifies which regimes satisfy operational safety invariants such as single-primary exclusivity. Formally, let denote the physical state space, a finite abstract modeled universe, and an abstraction map yielding the modeled state at epoch . Let denote the abstract safe state invariant corresponding to physical invariant via the soundness implication . Available control actions partition cleanly into non-mutating diagnostic probes and state-changing mutations, . For any modeled state and a mutation , denotes the set of modeled post-states and denotes the mutations that preserve from .
Control theory distinguishes carefully between maintaining a state invariant at every step and maintaining long-horizon controllability, and this distinction directly shapes how concurrent safety composes. State invariant preservation requires that every intermediate and terminal state along an execution remains inside , whereas one-step safety ensures that from , applying yields . Controlled viability, by contrast, requires that a state belong to the viability kernel , meaning there exists an infinite admissible control sequence staying inside [20]. Crucially, controlled viability does not compose by intersection under coupled invariants: in general, strictly. Consider a state that admits an action looping forever inside and an action looping forever inside , with no action keeping the plant inside . Here lies in both individual viability kernels, yet . PIEQ’s compositional execution guarantees therefore target state invariant preservation, which composes soundly across closed domains by intersection (); achieving controlled viability requires supplying a single pre-verified global viability kernel as the target invariant.
Observational independence comes from physical infrastructure topology rather than from the number of reasoning agents inspecting a dashboard. In our database scenario, in-band SQL health checks, an out-of-band management bridge, and a consensus lease store traverse distinct physical pathways and therefore constitute separate telemetry failure domains. Formally, telemetry arrives over channels , each mapped by a signed topology manifest (digest ) to one of telemetry failure domains (disambiguated from closed exposure domain sets introduced when we analyze concurrency). At epoch , channel emits a signed primitive assumption
where scopes the target resource, identifies failure domain , records the observed target snapshot version, and is a collector signature covering all fields.
A collector signature authenticates origin, payload integrity, and metadata binding, but never guarantees physical truth: a misconfigured sensor or partitioned probe still validly signs a misleading observation. PIEQ places all language-model proposers strictly outside the trusted computing base (TCB). The TCB comprises exactly four deterministic elements: the authenticated telemetry collectors and signed topology manifest ; the deterministic rule and conflict verifier checking derivations against the authored Horn model and conflict invariants ; the verification proxy kf-proxy housing the bounded truth-maintenance engine, complete-proof packer, plausible-world safety shield, and linearizable exposure ledger ; and the durable target fencing and authorization adapters at the physical effect boundary (capability Tiers E1–E2). Table 1 summarizes the core notation used throughout the paper.
| Symbol | Meaning |
| Physical state, abstraction map, modeled state , invariant | |
| Telemetry failure domains ( total; ) | |
| Signed assumptions (), ATMS label, verified nogoods | |
| Verified derivation DAG, primitive leaves, physical evidence footprint | |
| Active proof DAGs for , disjoint complete-proof packing number | |
| Quorum threshold for and tolerated faulty failure domains | |
| Exact and bounded-compute -fault-tolerant plausible world sets | |
| Closed exposure domain set (), scoped state invariant | |
| Physical execution trace and stuttering-refinement contract | |
| Committed, in-flight, UNKNOWN sets; per-domain admission revs | |
| Evidence epoch, authorization epoch, validity deadline | |
| Ordered residual failure events in conditional risk accounting |
Table 1. Core notation (disambiguating telemetry failure domains from closed exposure domain sets ).
Why Multi-Agent Deliberation Collapses Diversity
Before replacing agent voting with physical provenance certification, we summarize why peer deliberation cannot manufacture observational independence (formal definitions, spectral proof, and counterexample appear in Appendix § 10). Model proposers evaluating a binary hypothesis through unbounded latent score residuals with separate private readout , initial equicorrelation , and shared-context conformity update () driven by correlated innovations [3, 8]. Because this linear operator damps the disagreement subspace by at each round while leaving the consensus subspace undamped, Theorem B.1 (Appendix § 10) shows that the effective sample size collapses to 1 geometrically as without innovations and as under persistent innovations. Three analytical subtleties accompany this collapse: the spectral participation ratio strictly overstates variance reduction relative to (Definition B.1); Popoviciu’s bound () forbids unbounded persistent additive drift directly on probabilities, necessitating the latent-score formulation; and symmetric averaging alone collapses a 5-of-5 gate to a Round-0 majority rather than single-agent error (Remark B.1), while empirical debate degrades further under shared priors () and asymmetric sycophancy [7, 8, 21]. Consequently, PIEQ never counts agreeing agents toward a safety quorum.
When to Keep Language Models in the Loop: Synthesis vs. Verification Asymmetry
Because PIEQ requires operators to author a trusted symbolic safety model inside the TCB, an immediate architectural question arises: once that symbolic model exists, when does keeping an untrusted language model in the control loop provide genuine value over a purely deterministic controller? Answering this candidly separates three operational regimes.
First, in small, single-hop, fully structured domains (such as clean three-signal Patroni leader death or the small single-step confirmation incidents CN10/CN12 in § 6.6), a deterministic supervisor or bounded single-step TCB forward-chainer is strictly faster, cheaper, and more reliable than live LLM inference. In this regime, PIEQ is not a reason to introduce an LLM; rather, it provides a sound safety boundary when an LLM agent is already deployed for broader orchestration.
Second, in large or multi-hop rule spaces and multi-action remediation planning, PIEQ exploits the classical synthesis-vs.-verification asymmetry familiar from proof-carrying code and SAT/SMT witness checking [14, 13]. Checking a proposed Horn derivation DAG and computing its physical footprint takes sub-millisecond deterministic time in a tiny TCB, whereas exhaustive forward-chaining inside the TCB must impose tight derivation caps to remain predictable and auditable. As § 6.7 demonstrates empirically, when background rules and derivation depth grow (, depth ), both single-hop and bounded multi-hop TCB forward-chaining exhaust their derivation caps and fail closed (0/8 admitted), whereas an untrusted proposer performing goal-directed proof search submits only the relevant multi-hop DAGs, which the unchanged TCB verifies in 0.07–0.28 ms with zero TCB expansion.
Third, in unstructured incident triage feeding authenticated probing, real operational incidents begin with messy tickets, stack traces, log snippets, change diffs, and operator runbooks that deterministic Horn engines cannot parse directly. Here the LLM serves strictly as an untrusted triage, scope-selection, and hypothesis-proposal engine: it selects which resource scope to inspect, which candidate remediation among safe alternatives best fits operational intent, and which diagnostic probes to request. PIEQ guarantees that no hallucination or prompt injection from unstructured text can ever forge physical evidence, because every admitted leaf must bind cryptographically to a collector-signed observation or read-only probe handle. § 6.7 quantifies both the authored model footprint across all ten benchmark domains and this synthesis-vs.-completion trade-off.
Complete-Proof Certification and Provenance Packing
Removing language models from the trusted computing base creates an architectural challenge: the control plane still wants to leverage agents’ ability to synthesize multi-hop diagnoses across heterogeneous operational telemetry, yet it must never accept persuasive prose or double-count evidence originating from the same physical failure domain. PIEQ solves this inside kf-proxy (Figure 1) by combining proof-carrying communication, assumption-based truth maintenance, and recursive physical provenance packing. As Figure 1 illustrates, signed telemetry from distinct failure domains feeds a deterministic rule and conflict verifier paired with a bounded truth-maintenance engine. Untrusted models propose candidate derivation graphs and conflict certificates outside the TCB, and kf-proxy enforces two separate epistemic gates before execution: positive evidence packing (Q1) certifies that the mutation’s diagnostic precondition holds across independent physical domains, while plausible-world safety shielding coupled with closed-domain concurrency governance (Q2) verifies that the mutation preserves invariants across all unrefuted fault worlds and active schedules. Certified actions proceed to the target execution boundary (Q3), whereas ambiguous or under-supported proposals trigger read-only diagnostic probing or escalation.

Figure 1. Execution-bound epistemic certification in PIEQ (kf-proxy). Untrusted LLMs propose candidate Horn DAGs and nogoods outside the TCB; verifies derivations deterministically; kf-proxy separates Q1 (positive evidence certification for precondition ) from Q2 (plausible-world safety shielding via refutation packing plus physically refined closed-domain concurrent governance on with CAS); Q3 delegates durable fencing, , and execution-time authorization freshness to target capability tiers (Table 2).
Derivation-DAG PCE+Nogood Channel and Bounded ATMS
An assumption-based truth maintenance system (ATMS) [9] tracks not merely which diagnostic conclusions have been derived, but exactly which minimal combinations of primitive observations support each conclusion and which combinations are mutually contradictory. By replacing free-form agent dialogue with a Proof-Carrying Evidence and Nogood (PCE+Nogood) channel [23, 24], PIEQ allows models to synthesize multi-hop explanations over distributed telemetry [22, 7] while stripping away unverified rhetoric. Specifically, let () be the signed primitive assumptions bound to the active tuple . Any assumption environment maps to a 64-bit integer mask , enabling constant-time subset checks. Each ATMS node stores the minimal consistent primitive environments and verified derivation DAGs supporting proposition .
Definition 1 (Verified Derivation-DAG and Nogood Channel). Deterministic verifier admits a message if and only if is either: (1) a verified derivation DAG rooted at proposition , consisting of a finite acyclic graph whose leaves are nonempty signed assumptions matching and whose internal nodes each apply a rule with consequent whose antecedent set bijectively matches the propositions of , with recursive primitive leaf set and ; or (2) a minimal nogood certificate where nonempty signed bijectively matches the conflict set of ().
Truth maintenance preserves valid conclusions and purges contradictory derivations whenever the authored Horn rules and conflict invariants accurately describe the modeled plant.
Assumption 1 (Trusted Deductive Rule and Invariant Soundness). At consistent snapshot state , let denote primitive assumptions whose predicates physically hold in . Every is truth-preserving in , and is conflict-sound: for all , .
Theorem 1 (Minimal Subset Preservation and Conflict Elimination). Under Definition 1 and Assumption 1, let be the verified nogoods registered by round . Then: (1) if a true assumption set supports via a verified DAG with (), and at registration either some already belongs to or , then because strict supersets are pruned before checking , retains at least one minimal consistent subset for all even if later arrivals set ; and (2) every environment containing is purged from and every DAG with is deactivated via mask & mask.
Proof. By Assumption 1, no verified nogood subsets , so (or an existing ) resides in . Any later consistent displaces only if ; pruning strict supersets drops before checking , leaving so inserts. Non-subsuming arrivals at capacity set without mutating , and no future verified nogood can subset . Claim (2) follows from the bitmask subset identity. □
Two operational properties follow from this construction. First, Theorem 1 guarantees deductive soundness rather than statistical independence among surviving observations: conditioning independent on a conflict filter enforcing induces (Berkson’s paradox). Second, because general ATMS label maintenance and hitting-set enumeration can grow exponentially [26], PIEQ imposes strict online resource bounds (, , , hitting-set cap , and packing cap ). These caps enforce dual fail-closed truncation: exhausting the positive packing cap only lowers the certified lower bound (denying admission), while exhausting belief-shield caps conservatively retains candidate fault worlds. Safety never depends on untrusted agents discovering every valid nogood.
Recursive Dependency Footprints and Complete-Proof Packing
Verifying individual Horn derivations establishes logical validity given their leaves, but it does not yet reveal how many physically independent telemetry domains back a candidate mutation. For mutation with diagnostic precondition , let be its active, conflict-free verified proof DAGs. Computing fault tolerance over requires exact complete-proof packing rather than standard graph connectivity or shallow antecedent checks, because both simpler heuristics overcount shared dependencies. Consider three observations drawn from disjoint failure domains that assemble into three conjunctive proofs:
Unit-vertex max-flow routes three vertex-disjoint paths () and reports , even though every pair of proofs shares a primitive leaf so no two complete proofs are physically disjoint (). Similarly, inspecting only immediate antecedents fails on multi-hop derivations: two depth-2 proofs and derived from and look disjoint at depth 1 while sharing upstream leaf . Borrowing lineage propagation from data provenance [12], we define the physical evidence independence footprint recursively across the derivation DAG:
collecting every ancestor primitive leaf, collector channel, and physical failure domain, and nothing else. Proposer context identifiers , which tag the agent and conversation round that emitted each derivation node, are excluded deliberately. Folding into the footprint conflates four distinct notions of independence: physical telemetry failure-domain independence, authenticated primitive observation independence, language-model reasoning independence, and proof-construction context-identifier distinctness. Only the first two enter our deterministic fault-threshold guarantee. Context identifiers are a labeling artifact that a single model can mint freely and never certify independent reasoning, while model reasoning independence is empirically relevant for synthesis recall but formally unmodeled. PIEQ’s fault threshold is therefore anchored strictly in independent physical evidence domains and remains completely agnostic to agent count, model family, conversation context, or submission count.
Definition 2 (Disjoint Complete-Justification Packing Number). For active verified proof DAGs ,
excluding any with , because a derivation resting on no authenticated primitive observation certifies nothing and must not be vacuously disjoint from other proofs.
An operator may optionally enforce a stricter proposer-context isolation policy requiring pairwise-distinct context tokens among packed proofs. Because augmenting the footprint with context tags yields a superset of , such a policy can only reduce and never weakens the physical fault bound; shared physical telemetry always creates footprint overlap regardless of context labeling. Under Definition 2, one agent synthesizing proofs from three independent telemetry domains legitimately reaches , whereas five agents (or five contexts) reasoning over a single physical domain can never exceed . A single false observation from one domain is never counted twice through separate derivations.
Assumption 2 (Failure-Domain Partition Integrity). The TCB topology manifest accurately binds every collector to its true physical or logical failure domain , and every verified DAG has .
Theorem 2 (Complete-Proof Independence and Positive Evidence Certification). *Let Assumptions 1 and 2 hold at a consistent observation snapshot (all leaves in observe predicates of ), and let be the unit-vertex-capacitated physical flow graph over excluding proposer contexts. Then three properties hold. First, (1) for deterministic -domain fault tolerance and snapshot precondition certification, certifies complete verified DAGs with pairwise-disjoint ancestor failure domains, collectors, and leaves regardless of proposer contexts; if is physically false in , then at least distinct failure domains in emitted false assumptions, so contrapositively under at most faulty failure domains, certifies SnapshotPreconditionValid, meaning precondition physically held at snapshot (distinct from commit-time truth CommitPreconditionValid, addressed in § 5). Second, (2) for Menger upper bounds and single-leaf exactness, , with polynomial-time equality on the single-fragment case where for every . Third, (3) for exactness and fail-closed truncation of footprint-bitmask branch-and-bound, deduplicating equal footprints and discarding any with preserves exactly, and bounded branch-and-bound over arbitrary-precision footprint bitmasks returns when is not exhausted and a sound lower bound (with trunce = true) upon exhaustion.
Proof. For (1), structural induction on any verified DAG shows that if its root proposition is false in , Assumption 1 implies at least one child is false in , descending to a false primitive leaf in domain . Pairwise disjointness produces distinct faulty domains, contradicting at most faulty domains if were false. For (2), each disjoint packing of size induces vertex-disjoint paths in by Menger’s theorem; conversely, when , each terminal edge on vertex-disjoint paths is witnessed by a proof whose physical footprint is pairwise disjoint across paths. For (3), if with , both cannot coexist in any disjoint packing and replacing with preserves validity and cardinality; branch-and-bound records only valid disjoint subsets and prunes strictly dominated branches, so termination is exact and truncation returns .
Certifying proves structural failure-domain disjointness under . It proves neither statistical independence of physical faults (handled conditionally in § 5.3) nor independence of the proposers’ reasoning, which PIEQ neither requires nor claims. More importantly, certifying that a diagnostic precondition holds at snapshot does not by itself guarantee that a candidate mutation preserves safety invariants when multiple fault worlds explain the same symptom, which is the control-theoretic problem addressed next.
Fault-Tolerant Plausible-World Safety Shielding
Even when positive proof packing satisfies , confirming a symptom cannot disambiguate incompatible underlying fault worlds. In our replicated database example, independent confirmations that SQL health checks time out still match both a crashed primary () and a live primary hidden behind an asymmetric network partition (). Furthermore, checking safe-action overlap across pairs of plausible worlds does not guarantee a globally safe mutation: if three plausible worlds have safe action sets
every pair shares a safe action, yet the global intersection is empty. Conversely, allowing a single faulty sensor () to rule out would defeat the -domain fault budget and expose the cluster to split-brain.
To govern actuation under both partial observability and bounded telemetry faults, PIEQ draws on discrete-event supervisory control [16], partially observable runtime safety shielding [15, 28], and Feldbaum’s dual control [31]. Rather than trusting a point diagnosis, kf-proxy applies complete-proof packing in reverse to refutation derivations, retaining every modeled fault world unless at least physically disjoint telemetry domains refute it. A mutation is admitted only if it preserves the invariant across every surviving world simultaneously. Whenever no mutation is universally safe, the controller invokes the dual-control principle of trading immediate actuation for information gain, dispatching a read-only diagnostic probe to partition the surviving worlds or escalating deterministically to human operators.
Definition 3 (-Fault-Tolerant Plausible Belief Set). For finite candidate universe , let be the active verified refutation DAGs compatible with whose leaves are snapshot-consistent at . For fault budget , define the exact and bounded-compute plausible belief sets as
where holds if any ATMS or packing cap triggers on , or if refutation leaves mix mismatched observation versions across mutating commits. By Theorem 2(3), unconditionally.
Retaining the true state inside this plausible belief set depends on the authored candidate universe covering the true snapshot state and refutation derivations resting on predicates that genuinely contradict the refuted world.
Assumption 3 (Snapshot-Bound Candidate Universe and Safety Model). At consistent observation snapshot (all leaves in satisfy , or span with no commit mutating observed predicates in ): (1) ; (2) every verified refutation DAG cites at least one primitive leaf physically false in (automatically implied by Assumption 1 whenever refutations are Horn derivations of false-in- predicates); and (3) for every , .
Lemma 3 (Fault-Tolerant Plausible-World Invariant Safety). Under Assumptions 2 and 3, suppose at most failure domains in emit false telemetry assumptions at consistent snapshot . Then, independently of positive proof packing , two guarantees hold. First, (1) for true-state retention via refutation packing, regardless of ATMS or packing truncation, and hence . Second, (2) for one-step invariant preservation, any mutation satisfying
guarantees and , even if . When the intersection over is empty, kf-proxy dispatches a read-only partitioning diagnostic probe maximizing distinct predicted outcomes across (or any policy-weighted EVSI ranking over safe partitioning probes), or transitions deterministically to DEFER_ESCALATE.
Proof. By Assumption 3(2), every contains a false leaf in . If , Assumption 2 implies at least distinct faulty failure domains, contradicting the fault budget . Hence , and (8) with Assumption 3(3) immediately yields and . □
Crucially, Lemma 3 never relies on an untrusted language model enumerating all candidate worlds or discovering every valid refutation. Because is authored inside the TCB (Assumption 3(1)), omitted refutations only lower , retaining worlds conservatively rather than pruning . Likewise, the optional bounded deterministic completion hook evaluated in § 6.6 only adds verifier-accepted derivations over already-authenticated leaves, so it preserves Lemma 3 whenever Assumptions 1–3 hold while exposing any violation of Assumption 1 directly.
Lemma 3 also clarifies an essential architectural separation between PIEQ’s two epistemic gates. Positive proof packing
is not logically required to preserve the modeled safety invariant , which refutation packing and global safe-action intersection secure on their own. Instead, positive packing supplies an independent obligation under Theorem 2(1): certifying that the mutation’s diagnostic precondition actually held under at most faulty domains. Removing positive packing alone while keeping refutation packing inside and Eq. (8) still preserves , yet loses precondition soundness, allowing a hallucinating agent or a single corrupted telemetry domain to trigger unwarranted false-precondition mutations (, such as unnecessary failovers, node drains, or load shedding) that happen to keep the plant inside . Conversely, removing or weakening refutation packing (for instance, counting raw refutations from a shared switch or using Menger path flow on Eq. (2) inside ) breaks true-state retention directly, allowing or fewer faulty domains to eject from the belief set and admit invariant-violating mutations such as split-brain. Both epistemic gates are therefore indispensable, yet both still evaluate a single frozen snapshot; the next section addresses what happens when multiple operations execute concurrently against a live physical target.
Physically Refined Concurrency, Durability, and Risk Accounting
The epistemic certification and plausible-world shield developed in Sections 3 and 4 guarantee safety only at a single frozen snapshot with no competing writers. Production control planes rarely enjoy that stillness: multiple coordinators may act concurrently on overlapping resources, target state can advance between observation and actuation, authorization or policy approvals can be revoked mid-flight, and physical actuators often execute multi-phase operations rather than instantaneous transitions. To carry snapshot-level epistemic safety all the way to the physical commit boundary, this section draws on concurrency-control and distributed-systems theory, specifically linearizability, strict serializability, Abadi–Lamport stuttering refinement, escrow-style exposure accounting, leases, and fencing tokens, organizing them into closed-domain concurrent governance, verifiable physical refinement contracts, tier-classified target enforcement, and conditional risk accounting.
Concurrent Hazards, Contiguous Snapshots, and Physical Refinement
Because safety invariants often couple multiple infrastructure resources, concurrent governance must operate over the closed exposure domain set , capturing every domain transitively linked to candidate mutation by shared invariants. Safe concurrent execution over must close six distinct execution-layer hazards. Three arise from operation ordering and cancellation: checking only candidate after an in-flight operation misses reverse interleavings even when and yet ); checking only terminal states overlooks unsafe predecessor prefixes masked by later recovery followed by ); and canceling or fencing a (fenced_no_effect) can expose an unsafe absent-candidate schedule whenever was guarding only on runs where executed, because fencing still satisfies .
Three additional hazards arise from state versioning, inter-
nal execution overlap, and concurrent coordinators. First, un-versioned commits or hidden commit-version gaps break state projection: if snapshot observes , an unversioned commit or an unacknowledged operation actually committed at (), and a confirmed commit committed at (), advancing only and then computes and misses the true physical state . Second, overlapping read and write phases produce physical write-skew: starting from under invariant , operation (read ; if , set ) and operation (read ; if , set ) are both sequentially safe ( and ), yet physically overlapping phases write , even in commuting double-commit variants. Third, without ledger serialization, two concurrent coordinators can independently validate against the same unresolved set and mint mutually invalid stale admission certificates under either sequential or concurrent admission modes.
To neutralize version gaps and track in-flight exposure across , -proxy maintains an observation watermark , a commit history carrying commit versions , pairwise-disjoint exposure sets for each (with exposure totals and unresolved set ), and monotonic per-domain admission revisions . Let include declared partial effects, , and , failing closed whenever any transition reaches an unmodeled world identifier outside .
Hidden version gaps are eliminated completely by enforcing a contiguous commit-version barrier. Let and . Whenever or any integer version is missing from , -proxy blocks admission on until target write-ahead-log reconciliation fills the missing commit history or confirms fenced_no_effect. Once the commit sequence is contiguous, commits at or below are skipped, commits inside the observation window advance optionally via , and strictly post-snapshot commits advance deterministically via in ascending order:
Checking abstract schedules from guarantees physical safety only when real target executions correspond faithfully to those abstract transitions. Let be a physical execution trace over operations on . Drawing on Abadi–Lamport stuttering refinement [25], we require an explicit physical refinement contract : every physically reachable step starting from either stutters () or matches an enabled abstract step along an admissible schedule with .
PIEQ operationalizes through two attested execution regimes and a fail-closed default. Under Regime R1 (SERIALIZABLE_ATOMIC), the target must provide strict serializability (linearizability) [17] at the modeled operation effect boundary rather than weak serializability or Snapshot Isolation [19]: weak serializability ignores real-time precedence and can serialize post-fence or post-Pred() writes before an already-completed predecessor, whereas Snapshot Isolation permits write-skew (). Qualifying for R1 requires a signed target capability profile bound into attesting a single-boundary strictly serializable commit primitive (such as SQLite BEGIN IMMEDIATE, Raft/etcd multi-key CAS across all keys encoding , or hardware/storage generation CAS) combined with complete writer mediation.
Under Regime R2 (PHASE_DECOMPOSED), where physical operations overlap internally, the verified transition relation must explicitly model six physical phenomena: internal read, decision, and write phases ordered by ; per-operation local state and cached read values embedded inside (for instance, ); asynchronous background callbacks or webhooks represented as trailing steps remaining enabled even after client return or abort; partial effects () and non-cancellable intra-operation prefixes that remain executable after control-plane cancellation or lease expiry; crash and recovery continuations reachable from intermediate prefixes; and retries or duplicate physical effects, either proven to be stuttering no-ops via target-native per-phase idempotency or explicitly represented as bounded retry phases. Absent attested R1 or R2 qualification, PIEQ falls back to the fail-closed default (UNVERIFIED_ASYNC), rejecting concurrent Mode C admission outright and rejecting Mode S whenever two or more unordered predecessors could overlap, admitting only totally ordered non-overlapping Mode S execution.
An important fidelity boundary governs these contracts: exhaustive exploration of a finite abstract phase graph verifies only the abstract model and never proves that a physical implementation conforms to it. Operational fault injection (§ 6) can falsify a refinement claim and build evidence for simple single-store transactional adapters, whereas distributed asynchronous adapters require formal simulation or refinement verification (such as TLA+ or mechanized proofs). Wherever physical refinement has not been formally discharged, remains an explicit trusted target contract accounted for in stratum of § 5.3.
Definition 4 (Inductive Schedule Invariant, Mode S, and Mode C). Fix closed domain set , invariant , and target partial order encoded by (together with under R2). First, (1) for the inductive schedule invariant, a schedule is sequentially safe for from if and for every and every reachable , , and . The predicate holds if and only if every admissible subset (allowing absent or fenced_no_effect operations, and intra-op prefix-closed under R2) and every is sequentially safe from every ; let denote all states reachable along such prefixes. Second, (2) for exposure conservation and universal revision CAS, for every , the sets remain pairwise disjoint with . Every admission under either Mode S or Mode C binds and commits atomically via linearizable CAS recording for all , while every reservation mutation in (admission, crash retention, timeout, commit, release, or reconciliation) increments so stale concurrent coordinators must revalidate. Third, (3) for the predecessor frontier, whenever , , enforced atomically at the target as (durably COMMITTED or FENCED_NO_EFFECT). Fourth, (4) for bounded Mode C certification (CompatCert), partition with . Mode C requires attested R1 () or R2 ( phase steps) and bounded unordered (or totally ordered ). Verifier verifies yielding , exhaustively verifies every admissible subset (both containing and excluding , intra-op prefix-closed under R2) and every across , and seals the regime and with a SHA-256 digest. (Our implementation additionally checks pairwise commutativity on unordered R1 pairs as a conservative convergence policy, though commutativity is not logically required for invariant preservation.) Outside this bounded class, Mode C fails closed to Mode S or DENY.
Lifting abstract schedule safety to physical states requires mediation, refinement, durability, and isolation from disjoint domains.
Assumption 4 (Concurrent Mediation, Refinement, Durability, and Frame). For closed domain set and invariant : (1) all writers touching mediate through linearizable with identity-checked issuance deduplication, universal CAS, and atomic multi-domain reservation across (or global serialization); (2) and physical execution satisfies under its attested regime (R1, R2, or non-overlapping totally ordered Mode S); (3) there exists with ; (4) timed-out, lost-ack, or cancellation-raced operations transfer and release pre-effect only upon a verified fenced_no_effect barrier; (5) the target durably persists epochs, , bound at-most-once op_id identities, and exposure caps across crashes; and (6) by the closed-domain frame condition, any operation with leaves the physical and modeled projection governing , , , and invariant.
Theorem 4 (Closed-Domain Physical Invariant Preservation). Let and at revision vector . Under Assumptions 2–4 with at most faulty telemetry failure domains, suppose admits a query only when the contiguous commit-version barrier passes (Eq. (9)), atomically commits the CAS and exposure check across all , and either Mode S holds (every lies in , is totally ordered under , holds, and for all , and ) or Mode C holds via a verified from under attested R1 or R2. Then, independently of positive proof packing: (i) is preserved at the admission linearization point; (ii) across every physically admissible trace of on , every physical state satisfies and ; and (iii) for all .
Proof. We establish exposure conservation, snapshot containment, abstract schedule safety, and physical refinement in sequence. For exposure conservation and revision CAS, induction on the linearizable transactions of (Assumption 4(1)) shows that atomic CAS on rejects any concurrent Mode S or Mode C certificate evaluated against an earlier ledger state, while rollbacks, crash retentions into , deduplicated retries, timeouts (), commits (), and verified fenced_no_effect releases preserve . For contiguous snapshot containment, Lemma 3(1) and Assumption 4(3) guarantee some with , and Assumption 4(6) ensures only writes touching alter . Because the contiguous-version barrier confirms that every integer version in appears in without gaps, no unacknowledged operation in committed inside ; every unacknowledged operation either already committed at or before (captured by subsets excluding it) or takes effect after . Applying followed by in ascending version order therefore yields . For abstract schedule safety, Assumption 4(5)–(6) and ensure that every executed subset runs along some . Mode S verifies all prefixes in (covering and from every (covering )), while Mode C exhaustively checks and every admissible subset (both containing and excluding , prefix-closed under R2) and every linear extension across , preserving . Finally, by (Assumption 4(2)), every physical state along maps via to a state reachable along a verified under , yielding and . □
When global safety decomposes as with every invariant coupling closed inside , Theorem 4 composes by intersection to establish global physical invariant preservation (though not automatic global controlled viability ). Before stating the end-to-end compositional guarantee, however, two execution-semantics subtleties must be separated cleanly: how diagnostic preconditions behave across time, and when authorization revocations take physical effect across target capability tiers.
The first distinction separates snapshot truth, SnapshotPreconditionValid, from actual commit-time truth, CommitPreconditionValid. Theorem 2(1) certifies snapshot truth, which is the exact semantics needed for historical-snapshot triggers such as revoking a compromised IAM role or certificate authority attested at . For transient-state actions that require a sound system guarantee of commit-time truth, two mechanisms are individually sufficient: either (S1) interval persistence Persist paired with snapshot validity, or (S2) target-side atomic revalidation AtomicReval under Tier E2, inspecting the authoritative physical state encoding (Reval, never a cached mirror) inside the exact atomic transaction boundary as the mutation under complete writer mediation. Treating the disjunction (S1) (S2) as necessary (a biconditional) is false: a transient predicate transitioning true false true over is physically true at commit even without persistence or atomic revalidation. Conversely, revalidating a predicate outside the mutation’s atomic transaction admits a check-then-act time-of-check to time-of-use (TOCTOU) race after the condition clears. Furthermore, leaving revalidation to caller or proposer discretion enables silent downgrades to snapshot-only checks (demonstrated in Section 6.5). PIEQ therefore assigns every mutation type a trusted temporal policy owned strictly by TCB action metadata, never by an untrusted agent proposal. In the hardened profile, unclassified mutations fail closed, COMMIT-TIME-SENSITIVE actions mandate atomic Tier E2 revalidation (S2) or attested persistence (S1) with trusted commit predicates injected regardless of caller omissions, the canonical policy identity is signed into the certificate and rechecked inside the atomic effect boundary so superseded policies reject, and SNAPSHOT-TRIGGERED actions avoid unnecessary revalidation and stay actionable after transient symptoms subside.
The second distinction separates Tier E2 atomic freshness from Tier E1+-quiescence fence-relative exclusion. Under Tier E2 with complete writer mediation, authorization checks and physical state mutation serialize atomically at , leaving zero revocation race window (). Under Tier E1+-quiescence, a minimal six-step trace proves that strict execution-time freshness fails: at , certificate C is minted with ; at , target verifies , acquires , and enters prepared_slot; at (), the control plane initiates revocation and blocks on ; at (), the already-prepared operation commits physically after revocation initiation; at (), drains, flushes , and returns FenceAck; and at , subsequent operations reject deterministically. Tier E1+-quiescence therefore guarantees fence-relative post-FenceAck exclusion, not zero-window revocation freshness.
Corollary 1 (Tier-Exact Compositional Execution-Bound Admission). *Under Assumptions 1–4 with at most faulty telemetry failure domains, suppose admits mutation only when: (1) EvidenceValid holds via over consistent-snapshot DAGs; (2) SafetyValid satisfies the hypotheses of Theorem 4 on ; and (3) TargetEnforced holds via signed certificate validation at target tier enforcing , , , and under complete writer mediation and Refines. Then four tier-exact properties follow: (a) SnapshotPreconditionValid holds by Theorem 2(1), and if either Persist holds or executes authoritative target-side atomic precondition revalidation AtomicReval sharing the physical mutation’s atomic commit boundary, then the system possesses a sound guarantee of CommitPreconditionValid (hence , though the converse fails in general); (b) every intermediate physical state remains in with by Lemma 3 and Theorem 4; (c-E2) for , authorization and evidence epochs are fresh atomically at the physical linearization point (); and (c-E1+) for , every -core commits with revoked authorization execute after complete durable FenceAck (), whereas already-prepared operations holding may commit during the pre-FenceAck window ( relative to ).
Certificate Binding, Durability, and Capability Tiers
Each admission certificate cryptographically binds the twelve-tuple . Because policy approval can be rescinded during an incident freeze or RBAC rotation even when physical telemetry remains valid, the authorization epoch and validity deadline evolve independently of the evidence epoch . If is set and no trusted target clock is available, target validation fails closed; meanwhile, manifest rotation () or late conflict nogoods advance atomically to fence in-flight certificates.
Handling non-cancellable external operations under crash and partition faults requires durable fence barriers rather than relying on control-plane lease expiry alone. Under Tier E1+-quiescence, letting a control-plane lease expire does not stop an external RPC that has already started: if target initiates a non-cancellable call at under lease deadline and stalls or partitions, the call can still complete physically at after lease expiry. Fence completion may therefore be declared only when target acquires , drains active execution, and durably flushes and via WAL/fsync (such as SQLite PRAGMA synchronous=FULL or a Raft quorum commit) before returning a signed FenceAck, or when the external target itself enforces at commit while (still retaining the operation in until reconciled). Otherwise, kf-proxy keeps the operation in and blocks conflicting admissions indefinitely, prioritizing safety over liveness, until FenceAck, reconciliation, or a hard external barrier such as STONITH or IAM revocation completes.
A related durability boundary separates local WAL deduplication from true target-native idempotency. Persisting op_id bound to canonical operation identity in a local or control-plane WAL guarantees at-most-once execution only when the deduplication record and the physical state change commit in the same atomic transaction, as under Tier E2 when the transactional store is itself the physical effect boundary. For a remote actuator across a network boundary, preventing duplicate execution after a lost acknowledgment requires genuine target-native idempotency, such as a remote idempotency key or generation CAS persisted atomically with the remote state transition. When a nontransactional remote actuator lacks target-native idempotency and its response is lost, retrying is unsafe: the control plane must never auto-retry and must hold the operation as UNKNOWN in until out-of-band state reconciliation establishes whether it committed. Likewise, recording FENCED_NO_EFFECT must atomically fail if op_id already committed, and post-restart recovery reconciles against durable target COMMITTED and FENCED_NO_EFFECT journals while retaining unconfirmed operations in . Table 2 classifies target capability tiers E0–E2 so PIEQ never claims a stronger guarantee than the underlying target can physically enforce.
| Tier | Guaranteed | Not Guaranteed | Linearization | Required Durable State | Failure, Lost-Ack & Residual Risk |
| E0 (Proxy-Only) | Pre-dispatch check at kf-proxy. | Post-admission evidence/auth revocation or dedup. | only (none at target). | None at target. | Delays/revocations leak commits; lost ack on nontransactional op cannot safely retry; . |
| E1 (Async Push) | Rejects stale/revoked certs arriving after local fence. | Exclusion when cert overtakes delayed fence. | Local . | Durable async epoch + auth registers. | Delayed fence leaks commits; . |
| E1+-read (Lock+ReadIdx) | Rejects certs revoked prior to sync ReadIndex . | Exclusion if revocation commits in . | Split: . | + sync ReadIndex + durable op_id log. | Revocation in leaks commit; . |
| E1+-quiescence (2-Phase Barrier) | Zero post-FenceAck commits (); blocks conflicts in on stall. | Zero-window auth freshness in ; CP lease expiry alone does not halt non-cancellable RPC. | on durable FenceAck (or target lease). | + fsync’d epochs, RegisterPrepared, op_id log + FenceBarrier. | Already-prepared op may commit pre-FenceAck ( vs. ; 0 post-FenceAck); stall holds indefinitely until reconciled. |
| E2 (Shared / Native Atomic) | Atomic , bound op_id, cap, and opt-in CommitPreconditionValid at (if store is effect boundary). | Unmediated out-of-band external writers or remote actuators outside the atomic transaction. | Single indivisible tx / target-native CAS at . | Durable atomic store (SQLite WAL synchronous=FULL / etcd) or target-native CAS. | Deterministically aborts stale/revoked certs at (survives crash/restart); idempotent retry safe on identical op_id; conditional on full mediation. |
Table 2. Target enforcement capability tiers (E0–E2) at the physical effect boundary (tier-exact authorization freshness, optional commit-time precondition revalidation, durability, and lost-response retry semantics).
Conditional Eight-Risk Stratum Accounting
Because every formal guarantee in PIEQ is conditional on trusted domain models, accurate failure-domain topology, bounded sensor faults, and target refinement, operators need a clean accounting identity that tracks residual failure modes without double-counting. For an admitted mutation on closed domain set across telemetry failure domains, we define eight ordered measurable failure events spanning modeling contracts, physical telemetry faults, and execution-boundary breaks. The first three events capture TCB modeling and topology errors: occurs when the candidate universe omits the true state () or observations span a torn snapshot; occurs when authored rules, conflict invariants, safe-action sets, or post-state transitions in are unsound; and occurs when misclassifies a failure domain. The next two events capture physical telemetry faults: denotes the occurrence of an exogenous cross-domain common-cause fault mechanism (such as a shared power, DNS, kernel, or firmware defect coupling two or more domains, defined strictly as a causal mechanism rather than the outcome so that conditioning on does not induce negative dependence), while captures or more domains emitting false assumptions, where indicates a false assumption in domain . The final three events capture execution-layer failures: occurs upon unobserved plant drift, an unmediated external writer, or failure of both sufficient commit-time precondition mechanisms (S1 Persist and S2 authoritative Tier E2 AtomicReval) for a declared commit-time-truth action; captures target enforcement, evidence-epoch, or tier- authorization-freshness failure (including pre-FenceAck commits in under when evaluated against strict revocation freshness, whereas under completely mediated ); and captures concurrent coordination failures across commit-history gaps, exposure envelopes, , , CAS, the frame condition, or CompatCert.
Proposition 5 (Tier-Indexed Conditional Eight-Risk Accounting). Define disjoint strata () and conditional risks , setting whenever the conditioning event has probability zero. Assume only that conditioned on , the domain-fault indicators are mutually independent with . Let denote any physical execution violating: (i) or exposure cap ; (ii) SnapshotPreconditionValid (and CommitPreconditionValid) only when is declared a commit-time-truth action; or (iii) tier-’s authorization guarantee, namely execution-time freshness at for or post-FenceAck exclusion for (with pre-FenceAck revocation races accounted in if counted against strict freshness). Then by Corollary 1, (1) and ; and (2)
Proof. On , Assumptions 1–4 hold, at most domains fail, at least one sufficient condition (S1 or S2) holds for any declared commit-time-truth action (which by Corollary 1(a) implies CommitPreconditionValid), and tier- enforcement holds; hence is excluded. Disjointness gives . Conditioning on bounds by the binomial tail via stochastic dominance.
Proposition 5 is a conditional accounting identity rather than a universal empirical bound: , , , and remain environment-dependent inputs. Automated regression tests verifying our execution-semantics counterexamples (the Tier E1+-quiescence pre-FenceAck race, transient dip-and-return non-necessity, and non-atomic TOCTOU revalidation) are documented in Appendix § 9.
End-to-End Worked Example: Authoring and Execution Walkthrough
To make the interaction among TCB authoring, Q1 packing, Q2 shielding, and Q3 execution concrete, we trace a compact cluster-governance scenario combining database failover with bounded capacity reservation.
1. Authored TCB Model. The operator specifies: (i) candidate universe with safe-action map , , and (for a capacity pool capped at ); (ii) signed topology manifest assigning in-band SQL (), out-of-band BMC/REST (), and etcd lease () to three disjoint telemetry failure domains (, ); (iii) Horn rules mapping authenticated observations to action preconditions (act:promote, act:reserve) and world refutations (refute:, refute:), plus conflict invariant flagging ; and (iv) trusted temporal policies and .
2. Q1 Positive Evidence Packing and Q2 Plausible-World Shielding. Suppose the primary stops answering SQL queries at snapshot . Initially only (sql_hb_absent) arrives. Even if five agents independently propose promote citing under distinct context IDs, recursive physical footprints give for all , capping . Simultaneously, both and survive in because neither has disjoint refutations, and contains no mutation. kf-proxy therefore blocks promotion and dispatches read-only partitioning probes to (OOB power/REST) and (etcd lease). When both probes confirm the leader is down at the same consistent snapshot h_{\mathrm{man}}$, the agent submits three verified Horn DAGs spanning for act:promote () and three disjoint refutations each for and , collapsing to and admitting promote.
3. Q3 Mode C Compatibility and Tier E2 Atomic Commit. On the healthy cluster (), suppose two concurrent coordinators each observe admission revision and propose +4 capacity reservations against current usage 3 and cap (). Under attested Regime R1 (SERIALIZABLE_ATOMIC), kf-proxy runs over closed domain , verifies all subsets and linear extensions (including absent/canceled schedules), seals the certificate with (), and dispatches to the Tier E2 transactional boundary. Inside a single SERIALIZABLE transaction, the target recomputes the HMAC signature, locks the control row (SELECT . . . FOR UPDATE), checks , verifies , re-checks the authoritative pred:headroom row, checks SUM + 4 , inserts the reservation, and increments . Coordinator commits (), while nondeterministically aborts on stale (or serialization conflict) and must revalidate against —where a fresh +4 attempt is rejected on the exposure cap, preserving SUM across every physical trace.
Evaluation
We evaluate PIEQ end-to-end using the implementation, benchmarks, traces, and test runners published in research/pieq/ of the OpenKedge repository (https://github.com/openkedge/openkedge; exact commit hash and artifact paths appear in Appendix § 9). Our evaluation examines six core questions: whether physical-domain evidence certification prevents false-precondition admission; whether plausible-world shielding prevents unsafe mutation under bounded faulty telemetry; whether active probing and bounded deterministic completion restore actionable remediation without weakening soundness; whether the execution boundary blocks stale, unauthorized, or conflicting commits; whether PIEQ’s guarantees translate to physical PostgreSQL/Patroni failover supervision and real-PostgreSQL transactions; and whether adding language-model agents improves reliability once telemetry visibility and the execution gate are held constant. To avoid conflating deterministic software checks with live-model behavior or physical-cluster trials, we separate our evidence strictly across six tiers and never pool them into a single headline rate. These tiers comprise the conditional formal guarantees established in Sections 2–5; automated continuous-integration regression and fault suites spanning 249 passing pytest tests in GitHub Actions CI (including 14 container-backed etcd tests with the new Tier E1+-quiescence barrier test), 140 distributed three-member etcd fault trials in CI, 200 baseline POSIX/SQLite WAL fault trials, 80 multi-process OS-level Section 5 concurrency and revocation fault trials, and containerized PostgreSQL 16 Tier E2 concurrent-coordinator and mid-flight revocation races (Appendix A); frozen software benchmarks run with deterministic proposers against on-disk Tier E2 SQLite WAL alongside our new synthesis-vs.-completion and scalability stress suites; audited offline counterfactual replays of our initial five-model pilot; live language-model evaluations across single-run and repeated studies; and physical PostgreSQL/Patroni failover supervision paired with real-PostgreSQL Tier E2 transactional enforcement. Throughout every tier, within-assumption and out-of-assumption outcomes are reported separately, i.i.d. confidence intervals over fixed deterministic fixtures are omitted, and local verifier latency is separated from end-to-end recovery time. To keep empirical tables scannable, Tables 4–8 use standardized outcome columns: Mitig. (actionable safe mitigations), False Blk (actionable incidents unnecessarily blocked), Mand. Defer (mandatory deferrals correctly blocked), Within Unsafe (within-assumption invariant violations), False Precond. (invariant-safe but diagnostically unjustified mutations), UBSA (epistemically admitted enforcement-deferral cases caught only by the execution gate), and OOA Unsafe (intentional out-of-assumption controls admitted outside Proposition 5’s trust boundary). Three methodological boundaries apply across the study: every benchmark is author-labeled rather than externally annotated, earlier CLI-tier live runs invoke unpinned locally authenticated snapshots under uncontrolled sampling (supplemented in Section 6.6 by a controlled-sampling direct-API three-family confirmation run with complete billing over Bedrock inference-profile aliases and local SGLang Qwen3-8B), and the physical testbed containers share a single VM kernel.
Supporting Engineering Mechanisms
Turning strict deterministic verification into a practical control plane for untrusted language models requires bridging syntax, ambiguity, and proof-omission friction without expanding the TCB. PIEQ pairs its unchanged verifier with three supporting engineering mechanisms.
First, a typed proof-submission interface exposes a finite verifier-known vocabulary covering permissible actions, candidate fault worlds, authored rules , and authorized evidence handles mapped to primitive propositions. Proposers emit decoupled action proposals alongside typed (rule_id, evidence_handles) claims, while any proposer-supplied TCB metadata such as signatures, failure domains, bitmasks, epochs, or manifest hashes is rejected fail-closed. The TCB resolves handles deterministically and runs bounded schema-feedback retry (at most two retries) without leaking cross-agent observations.
Second, a bounded read-only active probing loop operationalizes dual control whenever the plausible-world shield blocks immediate actuation. Candidate probes are filtered fail-closed on verified read-only safety contracts and cost or load caps, ranked by worst-case plausible-world reduction and domain novelty (or calibrated EVSI), and audited across rounds along seven snapshot-consistency boundaries enforcing Assumptions 1–3: plant version drift between passive telemetry and a probe, concurrent target commits during probe execution, stale observation handles barred from cross-version conjunctive rules, collectors observing inconsistent snapshots that must never be packed into one quorum, probe retries returning a different state epoch, mid-probe manifest rotation or failure-domain mismatch, and previously verified proofs invalidated by newly observed conflicts (triggering automatic nogood registration and exclusion of contested leaves, alongside same-domain non-inflation). Whenever snapshot consistency cannot be verified across any boundary, PIEQ fails closed by rejecting positive certificates and retaining all candidate worlds.
Third, an opt-in bounded deterministic completion helper, implemented as a default-off 70-line TCB forward-chaining routine, completes verifier-accepted derivations strictly over already-authenticated observations and under fail-closed resource caps. Section 6.6 measures both the liveness it recovers and the explicit out-of-assumption risk trade-off it introduces.
Pilot Forensics and Counterfactual Replay
Before building the full evaluation suite, we diagnosed why our initial 40-case five-model pilot (800 calls) paralyzed remediation. Although that pilot achieved 0/40 unsafe authorizations (compared to 3/40 under debate and 5/40 over raw telemetry channels), it achieved 0/19 actionable mitigations (19/19 false blocks) and executed 0/549 requested probes. Classifying all 140/284 rejected Round-0 proofs (detailed in the companion supplement) revealed that 95/140 (67.9%) were completely verifier-valid derivations discarded solely because the prototype coupled proof acceptance to final action votes whenever cautious agents voted to probe or defer; the remaining rejections stemmed from 33/140 (23.6%) bitmask or antecedent mapping mistakes and 12/140 (8.6%) schema errors.
Replaying those frozen Round-0 pilot replies under controlled mechanism toggles (Table 3) exposed two methodological lessons. Decoupling proof acceptance from action votes (R4-B) restored valid proofs from 144/284 to 239/284 and raised mitigations from 0/19 to 5/19 and 0/40 unsafe admissions, whereas dropping positive packing (R4-D) immediately admitted two uncertified-positive mutations (Cases 72 and 74). In R4-E, all 43 probes re-queried passive observations already present in the fixture where pilot agents had omitted valid Horn rules (4/14 rescued cases missed refutation rules only, 2/14 missed positive rules only, and 8/14 missed both); because that prototype loop forward-chained deterministically without live models and built its probe menu from realized fixture observations, it indirectly leaked the realized support set. Auditing the seventh temporal boundary also uncovered a missed conflict nogood on reprobed leaves in Cases 1, 39, and 71, after which repairing that conflict check ran 46 probes (30 effective) while preserving 19/19 mitigations and 0/40 unsafe admissions.
Constructing the probe menu strictly from the public incident-class schema (R4-E-strict, returning absent markers for unobserved predicates) eliminated menu leakage while retaining 19/19 mitigations and 0/40 unsafe admissions, yet increased probe volume 2.5× from 43 to 108 (28 effective). This confirmed that R4-E’s lower probe count had benefited from menu leakage.
| Replay | Mit.(19) | Def.(21) | Uns. | Prb.(Eff) | Audited Provenance Label |
| R4-A (Archived) | 0/19 | 21/21 | 0 | 0 (0) | Live pilot (strict coupling; 144/284) |
| R4-B (Decoupled) | 5/19 | 21/21 | 0 | 0 (0) | Offline reply replay (239/284) |
| R4-D (No Pos. Pack) | 7/19 | 21/21 | 0 | 0 (0) | Offline replay (2 uncert. pos.) |
| R4-E (Baseline) | 19/19 | 21/21 | 0 | 43 (33)* | Fixture-backed + TCB rule compl. |
| R4-E-strict | 19/19 | 21/21 | 0 | 108 (28) | Leakage-free public-schema menu |
Table 3. Audited offline counterfactual replays on frozen pilot. Round-0 replies (40 cases: 19 actionable, 21 defer; zero TCB weakening).
Held-Out Software Benchmark, Ablations, and Confirmation
After freezing implementation hashes, we authored a disjoint 36-case held-out benchmark (H01–H36) with zero overlap against the original 40 pilot cases across four new infrastructure domains: bgp_route_leak, storage_quorum_fence, k8s_control_plane_drain, and tls_ca_rotation. The suite spans nine failure archetypes of four cases each (passive recoverable, probe-recoverable, unresolvable uncertainty, correlated or misclassified telemetry, valid-evidence unjustified mutations, insufficient execution authorization, concurrent or stale certificates, transient preconditions with mid-probe drift, and trusted-model-defect controls), pairing each incident with a leakage-free domain-level probe catalog and sealed ground truth in four classes: 9 actionable safe mitigations, 5 safe-but-diagnostically-unjustified mutations, 17 mandatory deferrals, and 5 out-of-assumption negative controls (H16, H33–H36). All software runs in this subsection use deterministic proposers paired with real on-disk Tier E2 SQLite WAL (PRAGMA synchronous=FULL) and zero retuning.
Evaluating our initial frozen implementation (prior to adding cross-round probe snapshot auditing) exposed three sharp behavioral boundaries. First, on H31 (a mid-probe plant version jump from to ), the initial code committed 1/31 within-assumption unsafe invariant violation because probing did not audit cross-round snapshot consistency; enabling the seven-boundary temporal audit with zero retuning flipped H31 to a snapshot-inconsistency deferral, achieving 0/31 within-assumption unsafe admissions, 9/9 mitigations (4 via leakage-free probes H05–H08 and 1 historical-snapshot CA revocation H32), and 17/17 mandatory deferrals. Second, on H30 (a transient I/O spike clearing before commit under caller-discretion revalidation), PIEQ blocked all 4/4 passive false-precondition cases (H17–H20) yet committed one stale-precondition mutation with zero invariant violations, directly motivating the mandatory temporal-policy registry evaluated live in § 6.5. Third, on all 5/5 out-of-assumption controls (H16 in , H33 in , H34 in , H35 in , and H36 in ), PIEQ admitted unsafe mutations exactly as modeled outside Proposition 5’s trusted boundary.
Because PIEQ’s fault threshold counts physical failure domains rather than agent count, we next ran a causally fair agent-count isolation study holding the verifier, vocabulary, probe budget, and Tier E2 SQLite WAL constant while varying agent count and telemetry visibility (Table 4, top). This exposed an earlier shared-context confound: 1A_LocalTel (0/9 passive on heldout36, 0/19 on the 40-case suite) had received only one-fifth of telemetry, and even with full telemetry handles, 1A_FullTel_SharedCtx stayed at 0/9 passive because folding a single proposer context ID into proof packing capped . Defining solely over physical footprints (Eq. (3)) removed that artifact. With full telemetry and physical-footprint packing, 1A_FullTel_DomainIsolated matched five-agent 5A_PartTel and 5A_FullTel identically in both safety and liveness across heldout36 (5/9 passive, 9/9 with probes, 0/31 unsafe, 17/17 deferrals) and frozen40 (19/19 mitigations, 0/40 unsafe), while issuing 6× fewer proposer calls (36 vs. 216 and 40 vs. 240). By contrast, matched unshelved single-agent and 3-of-5 debate baselines given identical telemetry and Tier E2 fencing both incurred 6/31 unsafe invariant violations and 5/5 false-precondition admissions. § 6.5 tests whether stochastic live language models diverge from this deterministic equivalence under repeated sampling.
| Configuration (Held-Out 36: 31 Within + 5 OOA) | Mitig. (9) | False Blk | Mand. Def. (17) | Within Uns. | False Pre. (5) | OOA Uns. (5) | Probes (Eff) | Calls |
| Agent-Count Isolation (Leak-Free Probes, Tier E2 SQLite WAL; Initial Frozen Baseline shown for 5A_PartTel) | ||||||||
| 5A_PartTel (Initial frozen baseline) | 9/9 | 0 | 16/17 | 1a | 1b | 5/5 | 17 (7) | 216 |
| 1A_LocalTel + Shield (1/5 telemetry) | 8/9 | 1 | 17/17 | 0 | 0 | 0/5 | 31 (16) | 36 |
| 1A_FullTel_SharedCtx (shared ctx cap) | 8/9 | 1 | 17/17 | 0 | 0 | 0/5 | 27 (12) | 36 |
| 1A_FullTel_DomainIsolated (Fair 1A) | 9/9 | 0 | 17/17 | 0 | 1b | 5/5 | 17 (6) | 36 |
| 5A_PartTel (Full PIEQ, temporal audit) | 9/9 | 0 | 17/17 | 0 | 1b | 5/5 | 17 (6) | 216 |
| 5A_FullTel (5 Agents, Full Telemetry) | 9/9 | 0 | 17/17 | 0 | 1b | 5/5 | 17 (6) | 216 |
| 1A_FullTel_Unshielded (+ Matched E2) | 9/9 | 0 | 11/17 | 6 | 5 | 5/5 | 0 (0) | 36 |
| 5A_FullTel_Debate (3/5 Maj. + Matched E2) | 9/9 | 0 | 11/17 | 6 | 5 | 5/5 | 0 (0) | 180 |
| Mechanism-Isolation Factorial (5A_PartTel, Temporal Audit, Matched Tier E2 SQLite WAL) | ||||||||
| Strict Action Coupling (T0_P1_R1_B0) | 0/9 | 9 | 17/17 | 0 | 0 | 0/5 | 0 (0) | 180 |
| Typed, No Probes (T1_P1_R1_B0) | 5/9 | 4 | 17/17 | 0 | 1b | 5/5 | 0 (0) | 216 |
| Drop Positive Packing (T1_P0_R1_B0) | 5/9 | 4 | 17/17 | 0 | 5c | 5/5 | 0 (0) | 216 |
| Drop Refutation Packing, f=0 (T1_P1_R0_B0) | 1/9 | 8 | 17/17 | 0d | 1b | 5/5 | 0 (0) | 216 |
| Drop Both Packings (T1_P0_R0_B0) | 5/9 | 4 | 13/17 | 4 | 5 | 5/5 | 0 (0) | 216 |
| No Plausible-World Shield (T1_P1_NO_SHIELD_B0) | 5/9 | 4 | 16/17 | 1e | 1b | 5/5 | 0 (0) | 216 |
| Full PIEQ + Probes (T1_P1_R1_B1) | 9/9 | 0 | 17/17 | 0 | 1 | 5/5 | 17 (6) | 216 |
Table 4. Frozen 36-case held-out benchmark (H01–H36: 31 within-assumption [9 actionable, 17 mandatory-deferral, 5 false-precondition] + 5 out-of-assumption controls; deterministic software proposers, Tier E2 SQLite WAL synchronous=FULL). Top: causally fair agent-count isolation. Bottom: key cells of the mechanism-isolation factorial (T=Typed, P=PosPack, R=RefutePack, B=Probes; full 17-row matrices in the companion supplement).
aH31 cross-snapshot bug caught prior to seven-boundary temporal audit (). bH30 un-revalidated transient drop under caller-discretion mode (0/4 passive false preconditions on H17–H20); blocked by mandatory registry (§ 6.5). cAdmits all 4/4 passive false preconditions (H17–H20) + H30. dOn frozen40, T1_P1_R0_B0 incurs 6/40 unsafe (0/19 mitig.). eAdmits H09 Helly trap (7/40 unsafe on frozen40). OOA = out-of-assumption controls (H16, H33–H36).
To isolate the causal role of each epistemic mechanism under identical telemetry and Tier E2 SQLite WAL, Table 4 (bottom; full 17-row matrices in the companion supplement) summarizes a controlled mechanism-isolation factorial. Disabling positive packing alone left invariant violations at 0/31 yet raised false-precondition admissions from 1 to 5/5 by admitting all four passive traps (H17–H20), confirming that physical-domain positive certification governs precondition soundness. Disabling fault-tolerant refutation packing () let a single faulty domain eject the true world, collapsing passive mitigations from 5/9 to 1/9 on heldout36 and causing 6/40 unsafe admissions (0/19 mitigations) on frozen40; disabling both packings produced 4/31 unsafe admissions and 5/5 false-precondition admissions on heldout36. Removing the plausible-world shield (NO_SHIELD) admitted the H09 Helly overlap trap (1/31 unsafe on heldout36; 7/40 on frozen40), confirming the necessity of global safe-action intersection. On the liveness side, typed decoupling lifted passive mitigations from 0/9 to 5/9 (0/19 → 14/19 on frozen40), and adding active probing with the seven-boundary temporal audit lifted mitigations further from 5/9 to 9/9 (14/19 → 19/19 on frozen40) with zero within-assumption unsafe admissions.
Because H31 prompted adding the seven-boundary temporal audit, re-evaluating heldout36 serves only as regression verification rather than fresh out-of-sample testing. After freezing the updated implementation hashes, we therefore authored a disjoint 12-case software confirmation set in a new fifth domain (dns_anycast_cluster) targeting cross-round snapshot drift, mixed snapshots, mid-probe commits, manifest rotation, same-domain handles, late probe-derived nogoods, stale retries, concurrent ledger CAS races, two actionable controls, and two temporal-policy checks. First execution achieved 9/9 mandatory deferrals, 3/3 mitigations, 0 unsafe admissions, and 0 false blocks.
Verification Funnel, Latency, and Evidence Attribution
Tracking proposals through the verification pipeline clarifies where deterministic checks filter malformed submissions and how little latency the TCB adds relative to external I/O and inference. On heldout36 under 5A_PartTel, 216 total proposals (180 first-attempt plus 36 retries, with zero retry exhaustions) yielded 144/180 (80.0%) first-attempt validity. First-attempt derivations progressed from 277 submitted to 241 (87.0%) schema-valid and 205 (74.0%) Horn- and provenance-valid, reaching 205/205 accepted certificates after retry. Cases reaching quorum rose from 21 before probing to 25 after probing, with 4 admitted via probes, 12 rejected for insufficient evidence or snapshot drift, and 21 deferred. Under 1A_FullTel_DomainIsolated, all 36/36 proposals and 204/204 derivations passed on attempt 1 with zero retries.
Timing measurements (Apple M-series, Python 3.13.9, pre-initialized SQLite WAL with PRAGMA synchronous=FULL; extended breakdown in the companion supplement) show that local TCB verification runs four to five orders of magnitude faster than language-model inference and physical failover. Within the local TCB, typed build and verification takes 0.088 ms p50 (0.189 ms p95), retry verification 0.002 ms (0.013 ms), ATMS packing and shielding 0.031 ms (0.059 ms), probe-loop temporal auditing 0.185 ms (0.304 ms), and Tier E2 SQLite WAL commit 0.101 ms (0.118 ms; atomic rejection 0.097 ms), yielding a total local TCB time to an authorized action across the nine actionable held-out cases of 0.531 ms p50 (0.576 ms p95). By comparison, simulated out-of-band probe round-trips add 20.0 ms p50 (38.0 ms p95), real three-member etcd 3.7.3 Raft consensus spans 45–2,467 ms schedule medians across 140 CI fault trials (Appendix § 9), and live pilot LLM inference required 15.72 s p50 (40.75 s p95) per call and 24.25 s p50 (97.61 s p95) parallel Round-0 wall-clock time per incident (82.74 s sequential; 19.78M input and 607k output tokens, $5.13 reported cost). Physical PostgreSQL failover (§ 6.9) took 9.9–10.2 s for native auto-failover versus 57–67 s for paused live-LLM supervised promotion, reflecting distinct availability policies rather than directly comparable latency targets. Table 5 summarizes how each PIEQ contribution maps to its formal basis, empirical evidence, and remaining gaps.
| Contribution | Formal Basis | Empirical Support & Open Gaps |
| 1. Epistemic provenance cert. | Thm. 1, Thm. 2 | Factorial P0 vs. P1: cuts passive false preconditions 4/4→0/4 (heldout36); H13–H15 blocked; packing stress & synthesis-vs.-completion (§ 6.7); H16 () shows boundary. |
| 2. Plausible-world gating | Lem. 3 | R0/NO_SHIELD: cuts unsafe 6→0 (frozen40), 4→0 (heldout36); shield stress (2.23 ms); H33 () shows world-completeness boundary. |
| 3. Execution-bound governance | Thm. 4, Cor. 1, Prop. 5 | H21–H29 blocked; 249 CI tests + 200 POSIX/SQLite + 80 Sec. 5 multi-proc. races + 140 etcd trials + CI etcd quiescence & PG-16 race suite pass; PG/Patroni failover gated at Tier E0-native and real-PG Tier E2 enforced for bounded reservations (§ 6.9). Scope: Patroni promotion remains Tier E0-native; multi-host cluster faults open. |
| Supporting: Typed, Probes, Completion | Assump. 1–3 (7-boundary audit) | Lifts software mitig. 0/9→5/9→9/9; live CLI runs (9/9 held-out, 20× reliability, 5× agent-count) + direct-API 3-family confirmation 12 (4/4 mitig., 0/11 unsafe, $0.14 complete cost); 16/16 targeted vs. 1/16 1-hop completion. Scope: Bedrock cloud endpoints use profile aliases; completion exposes defect (CN11). |
Table 5. Contributions-to-evidence attribution map separating formal guarantees from empirical software, live-LLM, and physical evidence alongside explicit open gaps.
Live LLM Held-Out Evaluation and Agent-Count Scaling
To test PIEQ with stochastic reasoning rather than deterministic proposers, we evaluated live language-model inference across all 36 held-out incidents with zero replay, zero oracle access, zero deterministic completion, and a retry budget of at most two. Five-agent heterogeneous ensembles paired three Claude models (claude-sonnet-5-5, claude-haiku-5-5, claude-opus-5-5) with two GPT instances (openai.gpt-5.6-sol), while single-agent and homogeneous runs used Claude Sonnet. Locally authenticated agent runners were used throughout; GPT token billing is uncaptured (reported dollar costs cover Claude usage only), and runner harness overhead adds roughly 18–21k input tokens per call. Tables 6 and 7 report single-run safety, liveness, and operational metrics across eight configurations (Configs A–E0, E1, S1, and H1).
Comparing Configs A through E1 isolates four live effects. Active probing restores live remediation without weakening safety: free-form (A) and typed-only (B) configurations each resolved 4/9 actionable incidents with 5 false blocks (mainly probe-recoverable cases H04–H08), whereas adding bounded leakage- cated agent runners were used throughout; GPT token billing is uncaptured (reported dollar costs cover Claude usage only), and runner harness overhead adds roughly 18–21k input tokens per call. Tables 6 and 7 report single-run safety, liveness, and operational metrics across eight configurations (Configs A–E0, E1, S1, and H1).
Comparing Configs A through E1 isolates four live effects. Active probing restores live remediation without weakening safety: free-form (A) and typed-only (B) configurations each resolved 4/9 actionable incidents with 5 false blocks (mainly probe-recoverable cases H04–H08), whereas adding bounded leakage-
| Configuration | Mitig. (9) | False Blk | Within Uns. (31) | Mand. Def. (17) | False Pre. (5) | UBSA | OOA Uns. (5) |
| A: Free-form (no exec gate) | 4/9 | 5 | 0/31 | 13/17 | 1/5 | 4 | 2/5 |
| B: Typed (no exec gate) | 4/9 | 5 | 0/31 | 9/17 | 1/5 | 8 | 4/5 |
| C: Typed + probes (no exec gate) | 9/9 | 0 | 0/31 | 9/17 | 1/5 | 8 | 4/5 |
| D: 1-model full-tel (no exec gate) | 9/9 | 0 | 0/31 | 12/17 | 0/5 | 5 | 3/5 |
| E0: Full PIEQ, caller-discretion | 9/9 | 0 | 0/31 | 17/17 | 1/5 (H30 committed) | 0 | 2/5 |
| E1: Full PIEQ, mandatory registry | 9/9 | 0 | 0/31 | 17/17 | 0/5 (H30 blocked) | 0 | 3/5 |
| S1: One Sonnet, full tel, full gate | 9/9 | 0 | 0/31 | 17/17 | 0/5 | 0 | 3/5 |
| H1: Five homogeneous Sonnet | 9/9 | 0 | 0/31 | 17/17 | 0/5 | 0 | 4/5 |
Table 6. Live LLM evaluation on all 36 frozen held-out incidents (31 within-assumption [9 actionable, 17 mandatory-deferral, 5 false-precondition] + 5 out-of-assumption controls). Bottom three rows enable the mandatory temporal-policy registry; E0 uses caller-discretion validation. Operational metrics appear in Table 7.
| Configuration | Valid Proposals | Probes (Eff) | LLM Calls | Tokens (In/Out) | p50 Latency/Case | Reported Cost |
| A: Free-form | 62→62/180 | 0 | 180 | 3.9M / 71k | 43.2 s | $2.80 |
| B: Typed | 73→74/180 | 0 | 182 | 3.9M / 76k | 38.7 s | $2.68 |
| C: Typed + probes | 69→74/180 | 17 (6) | 189 | 4.1M / 85k | 46.3 s | $2.85 |
| D: 1-model full-tel | 30→33/36 | 19 (8) | 39 | 0.9M / 18k | 6.4 s | $1.00 |
| E0: Caller-discretion full PIEQ | 73→74/180 | 17 (6) | 181 | 3.9M / 76k | 44.4 s | $2.81 |
| E1: Mandatory registry | 73→74/180 | 18 (7) | 183 | 3.9M / 77k | 52.9 s | $2.77 |
| S1: One Sonnet full gate | 30→33/36 | 19 (8) | 39 | 0.9M / 18k | 6.3 s | $1.00 |
| H1: Five Sonnet{sup}*` | 68→72/180 | 17 (6) | 188 | 4.2M / 62k | 30.2 s | $4.58 |
Table 7. Live LLM operational metrics on all 36 held-out incidents (single run per configuration; multi-repetition results in Table 8). Valid Proposals = replies carrying verifier-accepted derivation, first-attempt→post-retry (not comparable across telemetry splits because partitioned agents may lack sufficient evidence). Reported cost covers Claude usage only (GPT usage unbilled); runner harness overhead adds –k input tokens per call.
free probing (C) lifted live models to 9/9 mitigations and 0 false blocks while holding within-assumption unsafe admissions at 0/31. Execution binding is equally indispensable: without the execution gate (A–D), live models admitted 4–8 unjustified mutations on authorization, stale-certificate, and concurrency cases (H21–H29), whereas full PIEQ’s Tier E2 boundary blocked every one (17/17 mandatory deferrals, 0 UBSA). Enabling the mandatory trusted temporal-policy registry closed the remaining transient-precondition gap: under caller-discretion validation (E0), transient case H30 still committed (1/5 false-precondition; Config D avoided it incidentally by deferring after probing), whereas turning on the mandatory registry (E1) flipped H30 to blocked (0/5). Trace inspection confirmed that the live model proposed the mutation, passed packing and shielding, and received a signed commit-time policy before the Tier E2 transaction atomically rejected the mutation because the trusted predicate was false at commit, while snapshot-triggered actions including historical H32 remained actionable with zero new false blocks. Across Configs A–E0 (771 calls, $12.13 reported cost), retry rescued 1–5 valid proposals per configuration with zero post-retry provider failures, and out-of-assumption controls admitted unsafe mutations in 2–4 of 5 cases as designed while live agents deferred the rest.
Holding the full hardened gate constant in a single run, one Sonnet with full telemetry (S1) matched both the five-agent heterogeneous ensemble (E1) and five homogeneous Sonnets (H1) across all 31 within-assumption cases and all 5 false-precondition controls (zero within-assumption disagreements and two opposite-direction divergences on out-of-assumption H33/H35), while consuming far fewer resources (39 vs. 183–188 calls, $1.00 vs. $2.77–$4.58, and 6.3 vs. 30.2–52.9 s p50 per incident). To test whether this single-run equivalence persists under stochastic repetition, we conducted a preregistered five-repetition paired comparison of S1, H1, and E1 with condition order randomized per repetition (2,030 calls, $41.28 reported cost). The 540 case executions split into 465 within-assumption (155 per condition) and 75 out-of-assumption (25 per condition; Table 8).
| Study / Condition | Mitig. | False Blk | Mand. Def. | False Pre. | Within Uns. | OOA Uns. | Operational / Notes |
| Frozen 12-Case Confirmation Set: 20× CLI Runs (220 within + 20 OOA) & 1× Direct-API 3-Family Run (11 within + 1 OOA) | |||||||
| Baseline live Sonnet (CLI, 20×) | 60/80 | 20 | 120/120 | 0/20 | 0/220 | 0/20 | 248 calls, $5.47; CN10 11/20, CN12 9/20 |
| Deterministic Completion (paired) | 80/80 | 0 | 120/120 | 0 | 0/220 | 20/20 | Recovers all 20 FB (+9 CN10, +11 CN12; 42 derivs) |
| Type-Level Feedback (CLI, n=3) | 12/12 | 0 | 18/18 | 0/3 | 0/33 | 3/3 | 46 calls (1–2/case), $0.43; matches completion |
| Direct-API 3-Family (temp=0, 1×) | 4/4 | 0 | 6/6 | 0/1 | 0/11 | 1/1 | 60/60 valid, 45.1k/17.6k tok, $0.14 (all 3 prov.), 19.2 s p50 |
| Frozen 36-Case Held-Out Suite ×5 Paired Reps (540 execs = 465 within [135 act., 255 defer, 75 False Pre.] + 75 OOA) | |||||||
| S1 (1× Sonnet, full tel, full gate) | 43/45 | 2 | 85/85 | 0/25 | 0/155 | 11/25 | 199 calls, $5.20, 6.8 s p50/case |
| H1 (5× Sonnet, part. tel, full gate) | 45/45 | 0 | 85/85 | 0/25 | 0/155 | 20/25 | 920 calls, $22.27, 26.4 s p50/case |
| E1 (5× hetero, part. tel, full gate) | 45/45 | 0 | 85/85 | 0/25 | 0/155 | 16/25 | 911 calls, $13.81+GPT, 43.0 s p50/case |
| Paired Total (5 reps) | 133/135 | 2 | 255/255 | 0/75 | 0/465 | 47/75 | 2,030 calls, $41.28+GPT; 0 H1-vs-E1 within-disc. |
Table 8. Repeated CLI live evaluations and direct-API controlled-sampling confirmation on the frozen 12-case confirmation set (20× reliability + paired completion replays + 1× direct-API 3-family run) and frozen 36-case held-out suite (5× paired agent-count repetitions). Within-assumption and out-of-assumption (OOA) denominators are always reported separately; repeated runs of the same incident are clustered by case, not i.i.d. scenario samples.
Consistent with Theorem 2 and Lemma 3, within-assumption safety remained invariant to agent count across all five repetitions: PIEQ recorded 0/465 unsafe admissions (0/155 per condition), 0/75 false-precondition commits (0/25 each), and 255/255 mandatory deferrals (85/85 each). On the five intentional trusted-model-defect controls (H16, H33–H36), PIEQ recorded 47/75 out-of-assumption unsafe admissions (11/25 S1, 20/25 H1, 16/25 E1) while model reticence deferred the other 28/75 (including H34, deferred 15/15), reflecting designed assumption violations outside PIEQ’s trusted boundary. For liveness, single-run equivalence did not completely survive repetition: S1 false-blocked the historical CA-revocation case H32 in 2/5 repetitions (43/45 mitigations; Wilson 95% [0.85, 0.99], clustered by 9 incidents), whereas both five-agent conditions reached 45/45 [0.92, 1.00] with zero H1-vs-E1 within-assumption discordances, at 4–6× latency (26.4–43.0 s vs. 6.8 s p50) and 2.7–4.3× reported cost ($13.81–$22.27 vs. $5.20). Because this difference concentrated in a single incident (2/45 discordant pairs) over repetitions, it reflects bounded single-shot liveness redundancy rather than statistical proof of multi-agent superiority; model heterogeneity conferred no within-assumption benefit, and deterministic completion (examined next) targets the exact same proof-omission mode without multiplying inference cost.
Live Reliability and Bounded Deterministic Completion
After freezing pipeline hashes, we authored a preregistered 12-case live confirmation set (CN01–CN12) in two previously unseen domains (cdn_tls_edge and mq_broker_cluster), comprising 4 actionable mitigations, 6 mandatory deferrals, 1 commit-time false-precondition control (CN09), and 1 out-of-assumption unsound-rule control (CN11). On the initial frozen run, every safety criterion passed (0 unsafe, CN09 blocked, 6/6 deferrals), yet the liveness criterion failed (2/4 actionable) because the model submitted both positive proofs while omitting one of two required refutations per world (an exploratory rerun reached 4/4).
To measure this single-shot variance precisely, we ran 20 unmodified live repetitions of the 12-case set (240 executions: 220 within-assumption plus 20 out-of-assumption CN11; 248 calls, $5.47 reported cost, zero provider failures; Table 8). Within-assumption safety held on every execution: 0/220 unsafe admissions, 0/20 false-precondition commits on CN09 (11 rejected atomically at Tier E2 after certification and 9 deferred earlier by epistemic ambiguity), 120/120 mandatory deferrals, and 0/20 admissions on CN11 under baseline model reticence. Actionable liveness was strongly bimodal: CN01 and CN02 mitigated 20/20 (Wilson 95% [0.84, 1.00]), whereas CN10 reached 11/20 [0.34, 0.74] (9 false blocks: 5 missing refutations and 4 missing positives) and CN12 reached 9/20 [0.26, 0.66] (11 false blocks, all missing refutations), totaling 60/80 mitigations and 20 false blocks. Every false block arose from omitted verifier-acceptable derivations, with zero invalid-Horn, provenance, or probe-budget failures, which schema-driven retry cannot remedy because the submissions are syntactically valid. Fail-closed verification thus converts model under-submission into recoverable false blocks rather than unsafe mutations.
We then evaluated the bounded deterministic completion helper (verified by 13 adversarial unit tests covering shared domains, shared leaves, nogoods, truncation, and missing sensors) through paired case-by-case replays against all 20 baseline runs (240 replays each without and with in-probe completion, 480 total; Table 8). In both modes, completion recovered all 20 actionable false blocks: CN10 rose from 11/20 to 20/20 (+9 recoveries, 20 derivations supplied) and CN12 rose from 9/20 to 20/20 (+11 recoveries, 22 derivations supplied), lifting mitigations from 60/80 to 80/80. Within assumptions, completion incurred 0/220 unsafe admissions, 0/20 false-precondition commits (CN09 remained blocked 20/20, with 9/20 shifting from epistemic deferral to atomic Tier E2 rejection), 120/120 unchanged mandatory deferrals, and zero true-world refutations. A live type-level missing-proof feedback loop ( runs, 46 calls, $0.43) reproduced these gains (12/12 mitigations, zero within-assumption regressions).
This experiment also exposed an important negative finding. Because deterministic completion systematically derives every rule-valid conclusion, it flipped the out-of-assumption unsound-rule control (CN11, stratum ) from deferred 20/20 under baseline model hesitation to admitted-unsafe 20/20 under completion (and 3/3 under live feedback). Completion strips away the accidental protection that language-model reticence provides against trusted-rule defects (protection no PIEQ theorem ever relied upon) and places soundness squarely in the authored domain model (Proposition 5, stratum ). We therefore keep completion disabled by default as an explicit operator trade-off between single-shot liveness and exposure to rule-authoring defects rather than an unconditional safety gain.
Direct-API Controlled-Sampling Three-Family Confirmation Run. To close the uncontrolled-sampling, CLI-harness-bloat, and partial-billing gaps on the same frozen 12-case confirmation suite (CN01–CN12), we executed a direct-HTTPS five-agent run (full_pieq with the mandatory temporal-policy registry, zero deterministic completion, temperature=0.0, top_p=1.0, seed=17) spanning three independent model families: two AWS Bedrock Anthropic models (claude-sonnet-5-5, claude-haiku-5-5), two AWS Bedrock OpenAI models (us.openai.gpt-5.6-sol), and one local SGLang open-weight model (Qwen/Qwen3-8B; Table 8). Every single API call succeeded on attempt 1 with zero retries and zero malformed outputs (60/60 valid proposals, 173/173 accepted derivations, 9 probes [3 effective], 19.2 s p50 per incident). Removing the CLI wrapper cut token usage by over an order of magnitude to 45.1k input / 17.6k output tokens ( input tokens per call) at a complete multi-provider cost of $0.139 ($0.0765 Bedrock Anthropic, $0.0625 Bedrock OpenAI, $0.00 local SGLang). Within assumptions, PIEQ achieved 11/11 exact outcomes: 4/4 actionable mitigations (0 false blocks, including CN02 via 2 effective probes), 6/6 mandatory deferrals, 0/1 false-precondition commits (CN09 atomically rejected at Tier E2 via REJECTED_COMMIT_PRECONDITION_FALSE), and 0/11 unsafe admissions. On the unsound-rule control (CN11), per-agent traces directly corroborated our EXP-06 finding without deterministic completion: both Claude agents still omitted the unsound rules out of model reticence, whereas both Bedrock GPT agents and local Qwen/Qwen3-8B faithfully applied the trusted rules, yielding 1/1 out-of-assumption admission and demonstrating empirically that reticence against defects is model-specific luck rather than an architectural guarantee. To preserve strict identity disclosure, while Qwen/Qwen3-8B is a fixed local open-weight checkpoint and all 60 calls returned server-reported model IDs, the AWS Bedrock endpoints use cross-region US inference-profile aliases rather than date-stamped immutable snapshots.
Synthesis-vs.-Verification Asymmetry, Authoring Footprint, and Online Scalability Stress
To empirically ground the architectural trade-offs raised in § 2.3 and quantify PIEQ’s online resource caps under load, we executed two dedicated software stress suites (scripts/run_rev12_synthesis_vs_completion.py and scripts/run_rev12_scalability_stress.py; Table 9).
| Benchmark / Stress Regime | Admitted / Exact | Trunc. Rate | Unsafe | p50 (ms) | Key Finding / Fail-Closed Boundary |
| Synthesis-vs.-Verification Asymmetry (, 16 Regimes; 4/4 Adversarial Controls Blocked) | |||||
| TCB 1-hop completion (cap 128, completion.py) | 1/16 | 12/16 | 0 | 0.06–0.91 | Succeeds only at , ; blocks all |
| TCB multi-hop BFS (cap 128 / cap 512) | 4/16 | 8/16 | 12/16 | 8/16 | 0 | 0.10–3.62 | Exhausts budget (0/8) once |
| Targeted software proposer + TCB verifier | 16/16 | 0/16 | 0 | 0.07–0.28 | Zero TCB growth; 4/4 hallucination controls blocked |
| Online Scalability & Fail-Closed Truncation Stress (, , Mode C R1/R2, Alert Storms) | |||||
| Packing realistic (, , ) | 0.00 / 1.00 | 0 | 0.37 / 14.38 | ATMS reg. 0.60–1.41 ms; lower bound valid | |
| Adversarial 3-leaf hypergraph (, ) | Exact (20/20) | 0.00 | 0 | 1.43 | 0% Q1 & 0% Q2 false blocks at |
| Adversarial 3-leaf (, ) | Q1 20/20; Q2 0/20 | 1.00 | 0 | 13.44 / 47.40 | Q1 (0% FB); Q2 strict trunc retains worlds |
| Hitting-set cap (, 6 vs. 8 nogoods) | Exact / Fail-closed | 0.00 / 1.00 | 0 | 0.17 / 0.63 | 64 HS exact at 6; truncates safely at |
| Plausible shield (, , ) | 100% true kept | 0.00 | 0 | 0.03 → 2.23 | Linear scaling; forced trunc retains all 256 worlds |
| Mode C R1 ( unord. ; ) | 325 scheds / Deny | – | 0 | 0.56 / 3.10 | DAG cuts to 95 (0.21–0.81 ms); rejects 0.001 ms |
| Mode C R2 (; ) | 2 / 18 / 270 / Deny | – | 0 | 0.01–0.54 | Write-skew rejected pre-dispatch; rejects 0.001 ms |
| Alert storm (20 × 32=640 scoped vs. single) | 20/20 vs. Overflow | 0.00 / 1.00 | 0 | 0.13/scope | Per-(res, , ) scoping avoids saturation |
Table 9. Revision 12 synthesis-vs.-completion asymmetry (16 regimes, , ; deterministic software proposer isolating verifier-vs.-completion scaling rather than live-LLM multi-hop recall) and online scalability / fail-closed truncation stress benchmarks (scripts/run_rev12_synthesis_vs_completion.py, scripts/run_rev12_scalability_stress.py; Apple M-series, Python 3.13.9). Every saturated or adversarial regime recorded 0 unsafe admissions.
TCB Model-Authoring Footprint. Auditing all 100 benchmark incidents across all ten domains (frozen40: 3 domains; heldout36: 4 domains; software_confirm12: dns_anycast_cluster; live_confirm12: cdn_tls_edge, mq_broker_cluster) shows compact per-domain TCB specifications: –3 fault worlds, –41 Horn rules (1–15 in core single-shot domains, up to 41 in probe-augmented held-out suites), –2 conflict invariants, and –9 primitive observations per incident—well inside the bitmask cap.
Multi-Hop Proof Search vs. Bounded TCB Completion. Holding authenticated observations across 4 domains (, ) constant, we swept background distractor rules and derivation hop depth (16 regimes; Table 9, top). The existing 1-hop TCB completion helper (pieq/completion.py, cap 128) admitted only 1/16 regimes (, , matching CN10/CN12), blocking every ᵃ 9 on CN10 + 11 on CN12. ᵇ CN09 blocked atomically at Tier E2 (REJECTED_COMMIT_PRECONDITION_FALSE; 9/20 shifted under completion). ᶜ CN11 (E2 unsound rule) flips 0/20→20/20 once completion removes baseline hesitation. ᵈ Both false blocks on H32. ᵉ OOA controls: H16 (E3), H33 (E1), H34 (E2; deferred 15/15), H35 (E5), H36 (E6). ᶠ On CN11, Bedrock Anthropic agents hesitated while Bedrock GPT and SGLang Qwen/Qwen3-8B applied the unsound trusted rule (zero completion).
multi-hop chain () and truncating once . Generalizing TCB completion to bounded multi-hop BFS admitted 4/16 regimes at cap 128 and 8/16 at cap 512 (2.38–2.89 ms), yet truncated fail-closed across 0/8 regimes once (3.46–3.62 ms) as distractor rules saturated the derivation budget. By contrast, an untrusted goal-directed deterministic software proposer submitting only the relevant multi-hop DAGs to add_verified_derivation achieved 16/16 admissions in 0.07–0.28 ms p50 with zero TCB expansion and 0 unsafe admissions, while 4/4 adversarial hallucination controls (forged unauthenticated log claim, hallucinated rule ID, same-domain multi-context spoofing, and skipped-hop antecedent mismatch) were rejected deterministically. Because this 16-regime sweep uses a deterministic software proposer rather than live language-model inference, it isolates the computational asymmetry between bounded TCB forward-chaining and targeted DAG verification; measuring live-LLM proof-search recall across deep multi-hop chains amidst hundreds of distractor rules remains open empirical work.
Online Scalability and Fail-Closed Truncation Boundaries
Table 9 (bottom) characterizes latency and fail-closed truncation across all four resource axes: (1) ATMS and complete-proof packing (): ATMS registration stays 0.057–1.405 ms p50 up to , and single-leaf packing stays exact in 0.372 ms at . Under adversarial dense intersecting 3-leaf hypergraphs over 18 shared domains (), finishes exact in 1.43 ms (0% false blocks), whereas exhausts branch-and-bound (13.4–47.4 ms, 100% truncation) with zero unsafe admissions across all actionable and trap instances. Crucially, Q1’s sound lower bound still certifies valid disjoint packings (0% Q1 false blocks), whereas Q2’s strict conservative packing_truncated guard retains worlds (100% Q2 false blocks), pinpointing witness deduplication or lower-bound refutation pruning as the key lever for dense intersecting refutation sets. (2) ATMS label and hitting-set caps: flags budget_exceeded cleanly at 80 minimal environments; completes exact through 6 disjoint 2-leaf no-goods (64 hitting sets in 0.166 ms) and fails closed cleanly at independent conflicts (0.625 ms). (3) Plausible-world shielding and Mode C: Shield latency scales linearly from 0.030 ms () to 2.232 ms (, , ). Mode C R1 checks 4, 15, 64, 325 schedules for unordered in 0.012–0.556 ms () and 0.027–3.095 ms (); DAG ordering cuts to 95 schedules in 0.206–0.806 ms), failing closed at in 0.001 ms; Regime R2 checks 2, 18, 270 schedules for in 0.008, 0.044, 0.539 ms, rejects write-skew pre-dispatch, and fails closed at in 0.001 ms. (4) Multi-scope alert storms: Because is scoped per active resource tuple (res, , ) rather than cluster-wide, 20 concurrent scopes ×32 signals (640 simultaneous alerts) achieved 20/20 admissions with 0 truncations at 0.125 ms/scope p50, whereas unpartitioned single-scope storms () rejected overflow signals fail-closed with 0 unsafe admissions.
Execution-Boundary Fault Injection, Physical PostgreSQL/Patroni, and Real-Database Tier E2 Evaluations
To narrow the gap between Section 5’s concurrency theory and physical validation, we evaluate execution-boundary contracts across three distinct real-storage tiers without pooling them: (1) multi-process OS-level POSIX/SQLite WAL fault injection, (2) a distributed three-member containerized etcd v3.7.3 Raft cluster in CI, and (3) a physical PostgreSQL 16/Patroni cluster.
Multi-Process OS-Level Section 5 Fault Suite (80 Trials) and Distributed etcd Trials (140 Trials). Extending our 200 baseline POSIX/SQLite WAL trials, we executed 80 new forked-process OS fault trials (scripts/run_rev12_section5_fault_eval.py, 20 repetitions across four schedules synchronized over POSIX pipes against on-disk SQLite WAL PRAGMA synchronous=FULL): (i) in concurrent_coordinator_race, two independent coordinator processes verified Mode C R1 (ModeCCompatibilityVerifier) at identical and raced at BEGIN IMMEDIATE commit, yielding 20/20 exact single-winner commits (), deterministic stale-revision rejection of the loser, and clean post-revalidation commit (6.32 ms p50); (ii) in midflight_auth_revocation_e2, forked coordinator and revocation processes raced across a pipe barrier against Tier E2 SQLiteProtectedResourceBoundary, achieving 20/20 valid serializations with zero post-revocation commit leaks (, 8.71 ms p50); (iii) in tier_e1_plus_quiescence_6step, an on-disk two-phase quiescence barrier empirically reproduced the exact six-step trace of Corollary 1(c-E1+) across 20/20 trials (20/20 prepared-slot completions during the pre-FenceAck window, 0/20 post-FenceAck revoked commits, and 20/20 conflict blocks after real SIGKILL while prepared, 15.18 ms p50); and (iv) in mode_c_r2_phase_decomposed_write_skew, Regime R2 rejected write-skew pairs pre-dispatch while admitting disjoint-key overlapping two-phase transactions across forked processes with 0/20 invariant violations (6.53 ms p50). On the real three-member containerized etcd Raft cluster in GitHub Actions CI (run 45335050195, commit 80836b20), 140/140 trials (20× across seven schedules: stale_resume, simultaneous_drains, duplicate_replay, predecessor_frontier, leader_failure, quorum_loss, and client_isolation) preserved exposure caps, monotonic epochs, and predecessor frontiers across Raft elections and network cuts, and EtcdQuiescenceBoundary passed the six-step post-FenceAck exclusion and crash-blocking check directly on the three-member etcd cluster. In the companion rev12-stress-and-pg-e2 CI job against a live postgres:16 container, rev11_exp08_e2_adapter.py --include-rev12-races passed all 12 baseline Tier E2 contract checks plus barrier-synchronized concurrent-coordinator CAS races (single winner advancing , deterministic loser abort, clean revalidated retry) and 10/10 barrier-synchronized mid-flight authorization revocation races with zero post-revocation commit leaks.
Physical PostgreSQL/Patroni Cluster (Tier E0+Native) and Real-PostgreSQL Tier E2 Reservations. To test how PIEQ behaves on real stateful database infrastructure rather than software simulators alone, we deployed a physical cluster of three Patroni/PostgreSQL 16 nodes (spilo-16:3.3-p1) backed by a three-member etcd v3.7.3 consensus cluster inside a container VM under continuous write traffic. An independent 1 Hz SQL observer queried every node to log roles, timelines, and write-witness rows ( s resolution, so sub-second dual-primary states cannot be excluded). Because Patroni’s REST promotion endpoint does not re-verify PIEQ certificates at the PostgreSQL commit boundary, we classify this failover adapter strictly as Tier E0 plus target-native high-availability safeguards and run a tier-limited physical profile using PIEQ’s epistemic, temporal, and authorization checks for pre-dispatch gating only. Because all six containers share one VM kernel, domain-independence claims apply strictly to injected container and network faults.
We executed five physical trial families on this cluster. In the native baseline, killing the leader triggered Patroni auto-promotion in 9.9–10.2 s with zero dual-primary intervals at 1 Hz. In four supervised live-LLM promotion trials (Patroni paused mode), after real leader death Sonnet submitted 5/5 verified typed derivations spanning three real collector domains (the in-band SQL path, the out-of-band REST bridge, and the etcd lease), achieving and a single surviving fault world; REST dispatch then produced observer-recorded promotion in 57–67 s with zero dual-primary intervals. An event-timeline audit verified causal attribution: no writable primary existed between leader kill and earliest PIEQ dispatch (fault plus 3 s lease lapse plus 6.1–12.1 s live inference), and the new primary appeared 9–15 s after dispatch. Under an asymmetric network partition blackholing the SQL path while the leader held its lease, PIEQ deferred on plausible-world ambiguity while the leader continued serving (20/20 writes), and duplicated same-path telemetry never inflated . In policy and revocation refusal trials, a certified promotion () was rejected pre-dispatch after authorization revocation, and a commit-time-sensitive policy failed closed on the Tier E0 target while a snapshot-triggered policy admitted cleanly. Finally, in an out-of-assumption bypass trial, a direct patronictl switchover bypassing PIEQ executed as modeled outside complete writer mediation and was flagged by reconciliation.
Causal attribution on this testbed must remain precise: Patroni and etcd natively prevented split-brain in every trial, a conventional deterministic supervisor inspecting the same three signals would make the same clean leader-death promotion, and a naive LLM baseline deferred on four partition trials out of model prudence rather than formal enforcement. PIEQ’s measured physical increment on Patroni failover is therefore certified pre-dispatch gating (verifying provenance and fault budgets, enforcing authorization and temporal-policy refusals, deferring on partition ambiguity, and detecting unmediated writes) rather than split-brain prevention or faster clean failover.
To validate genuine Tier E2 enforcement on a real database engine, we additionally built a capacity-reservation adapter enforcing our ten-point Tier E2 contract inside a single SERIALIZABLE PostgreSQL transaction on the live Patroni primary. In-database pgcrypto HMAC verifies signed operation identity and temporalpolicy binding against a server-stored key, while control-row SELECT . . . FOR UPDATE locking serializes aggregate exposure; concurrent over-capacity attempts yielded one commit and one retryable serialization abort, with final SUM = 10 ≤ cap confirmed by an independent SQL read. The same transaction enforces authorization epoch, database-clock TTL, admission-revision CAS, predecessor settlement, idempotency, identity-conflict rejection, and atomic commit-time predicate revalidation, rejecting stale transient predicates with zero state mutation. Crash-before-commit leaves no row, while crash-after-commit reconciles from the authoritative operation table with idempotent re-presentation and no automatic redispatch. At the privilege boundary, an unmediated agent role is denied (42501), whereas a postgres superuser bypass succeeds as an administrator outside mediation assumptions. This adapter covers a bounded reservation vocabulary only and does not upgrade Patroni failover promotion from Tier E0.
Related Work and Research Positioning
PIEQ’s central contribution is execution-bound epistemic certification: composing classical formal, control-theoretic, and distributed-systems primitives across the boundary between agentic reasoning and physical actuation without claiming originality for any component taken alone.
In symbolic diagnosis and lineage tracking, de Kleer [9, 10], Reiter [11], and Provan [26] established minimal-environment assumption-based truth maintenance, hitting-set diagnosis, and their worst-case complexity bounds, while Green et al. [12] formalized algebraic provenance semirings. PIEQ builds directly on these foundations by pairing bounded ATMS label maintenance with recursive physical failure-domain footprints, exact complete-proof packing under fail-closed compute truncation, and typed verifier-vocabulary certificate synthesis.
In multi-agent language-model coordination, studies of debate [2, 3, 27, 8, 21, 4] and collective reasoning under distributed information [22, 7] document conformity collapse, sycophancy, and shared-evidence herding. Rather than trying to engineer debate prompts that resist conformity, PIEQ removes language models from the trusted computing base entirely while retaining their multi-hop diagnostic hypotheses through typed proof claims and read-only diagnostic probing.
In control theory and runtime assurance, PIEQ’s plausible-world gating draws on partially observable Markov decision process (POMDP) shielding [15, 28, 29], discrete-event supervisory control and diagnosability [16, 30], viability theory [20], and Feldbaum’s dual control [31]. PIEQ extends these ideas to fault-prone distributed telemetry through -fault-tolerant refutation packing (), conservative world retention under compute caps, snapshot-audited read-only probing, and explicit separation of compositional state invariants from non-compositional coupled viability kernels.
In security and agent governance, Necula [14] and Appel and Felten [13] pioneered proof-carrying code and proof-carrying authentication, inspiring recent agent-governance frameworks including CaMeL [32], Conformal Policy Control [33], Proof-Carrying Agent Actions [23, 24], and P [34] that decouple untrusted LLM planning from deterministic policy verification. PIEQ complements single-action policy checking with multi-domain conjunctive provenance isolation, fault-tolerant belief retention, and tier-exact concurrent execution contracts.
Finally, linearizability [17], snapshot-isolation anomalies [19], stuttering refinement mappings [25], escrow and demarcation protocols [35, 36], leases and fencing tokens [18, 37], and Byzantine fault tolerance [5] are classical foundations of distributed systems. Within the KedgeFlow control plane [1, 6], PIEQ bridges these execution-layer primitives directly to epistemic shielding through contiguous-version snapshot barriers, universal CAS, explicit Refines regimes, tier-exact authorization freshness, and trusted commit-time precondition policies.
Residual Limitations and Conclusion
Residual Limitations
PIEQ provides no safety guarantee outside four external trust contracts and two empirical scope boundaries. First, safety depends fundamentally on trusted domain models: omitted fault worlds (, illustrated by H33), unsound deductive rules (, illustrated by H34 and CN11), or missing invariant couplings in () permit unsafe admissions even with disjoint proofs. Enabling bounded deterministic completion recovers all 20 single-shot false blocks on the confirmation suite at the cost of removing accidental LLM-reticence masking against rule defects (CN11 flips from 0/20 to 20/20), making completion an explicit operator trade-off rather than an unconditional safeguard. Second, physical fault counting relies on accurate failure-domain classification: misclassified physical dependencies in (, H16), faulty domains exceeding budget (, H35), or exogenous cross-domain common-cause faults () defeat deterministic quorum guarantees.
Third, verifying a finite abstract phase graph proves safety of the abstract model alone and never discharges physical-to-abstract refinement (Refines) automatically; unmodeled internal phases, cached reads, background callbacks, crash-recovery continuations, or non-idempotent retries invalidate R1 or R2 unless formally verified. Fourth, target-native enforcement and durability constrain what PIEQ can promise at the actuator boundary: local WAL deduplication never renders a nontransactional remote actuator idempotent, unmediated external writers (, such as direct patroni ctl switchovers or PostgreSQL superuser bypasses) bypass , Tier E1+-quiescence retains a pre-FenceAck authorization-revocation window and trades liveness for safety via indefinite UNKNOWN blocking, and persistence resides in the SQLite WAL, etcd, or PostgreSQL backends rather than the in-memory ledger core.
Two empirical boundaries also constrain our current evidence. Earlier CLI-tier live runs (heldout36 and repeated studies) used unpinned snapshots with uncontrolled sampling and partial cost reporting (omitting GPT token billing); although our new direct-API three-family confirmation12 run closes controlled sampling (temperature=0.0, seed=17), server-reported model IDs, and complete billing ($0.14 across all three families), its AWS Bedrock cloud endpoints use cross-region inference-profile aliases rather than immutable date-stamped snapshots, leaving date-pinned cloud API evaluation across heldout36 as future work. Furthermore, every benchmark is author-labeled, our five-repetition agent-count study has limited statistical power because its liveness divergence concentrated on a single incident (H32), and dense intersecting refutation hypergraphs ( 3-leaf witnesses per world at ) trigger fail-closed truncation under strict Q2 world retention unless witnesses are deduplicated or lower-bound pruned (Section 6.7). On the physical testbed, the Patroni REST failover adapter remains Tier E0 plus native safeguards (with Patroni and etcd supplying split-brain protection natively), our real-PostgreSQL Tier E2 adapter covers a bounded capacity-reservation vocabulary only, all six testbed containers share one VM kernel, 1 Hz SQL observation cannot rule out sub-second dual-primary states, and while concurrent-coordinator CAS, mid-flight revocation, Regime R2, and Tier E1+-quiescence races passed 80/80 multi-process POSIX/SQLite WAL trials as well as CI-verified containerized etcd quiescence and PostgreSQL 16 concurrent/revocation races, live multi-host Patroni failover fault injection remains future work.
Conclusion
Safe autonomous infrastructure mutation requires separating three obligations that generative-agent agreement can never replace: independently sourced evidence certification, uncertainty-aware plausible-world safety gating, and execution-bound target governance. Across conditional formal guarantees, automated CI and distributed etcd fault suites, frozen software benchmarks, live language-model evaluations, supervised physical PostgreSQL/Patroni failovers, and real-PostgreSQL Tier E2 transactional enforcement, PIEQ demonstrates that autonomous mutations can be governed by deterministic, evidence-backed safety contracts while keeping every language model strictly outside the trusted computing base. Fault tolerance rests on independent physical failure domains rather than agent headcount or model diversity, commit-time semantics are enforced by trusted policy metadata rather than caller discretion, and fail-closed verification converts occasional agent proof omissions into recoverable false blocks rather than within-assumption unsafe mutations. Four concrete directions remain open for future work: immutable date-stamped cloud API evaluation across the full 36-case held-out suite, Tier E2 physical failover promotion, independent external benchmark annotation, and multi-host hardware fault isolation.
Reproducibility, Artifact Availability, and CI Verification
All implementation code, regression tests, frozen benchmark definitions, preregistrations, experiment scripts, traces, and audit reports are published at https://github.com/openkedge/openkedge under the authoritative path research/pieq/ at verified Revision 12 commit 80836b200ec56d8d4ef845cf86c0c2873314b287 (extending Revision 11 baseline commit 525ff84e).
From research/pieq/, evaluation dependencies install via python3 -m pip install -r requirements-eval.txt. The repository workflow .github/workflows/pieq-evaluation.yml ran against commit 80836b20 on GitHub-hosted runners (ubuntu-latest, Python 3.13, pytest, NumPy) across two container-backed jobs in verified workflow run https://github.com/openkedge/openkedge/actions/runs/45335050195: (1) etcd-faults (302 s total) launched an isolated digest-pinned three-member containerized etcd cluster (containers/etcd-compose.yml) and passed all 249/249 tests (0 failed, 0 skipped in 169 s) under python -m pytest tests/ -q—including all 14 container-backed etcd integration tests (featuring test_etcd_quiescence_6step_revocation_and_crash_blocking on EtcdQuiescenceBoundary) and all 6 Revision 12 regression tests (tests/test_revision12_evals.py)—followed by 140/140 passing distributed etcd fault trials (111 s) under python scripts/run_etcd_fault_eval.py --repetitions 20 --output results/ci_etcd_evidence.json, uploaded as CI artifact pieq-etcd-evidence; and (2) rev12-stress-and-pg-e2 (34 s total) re-executed all three Revision 12 suites on Linux and ran experiments/pg_patroni_failover/rev11_exp08_e2_adapter.py 127.0.0.1 --include-rev12-races against a live containerized postgres:16 service container, passing all 12 baseline Tier E2 contract checks plus barrier-synchronized concurrent-coordinator CAS and 10-trial mid-flight authorization revocation races, uploaded as CI artifact pieq-rev12-evidence. Because pytest’s etcd integration tests exercise overlapping schedules with the standalone fault suite, those two suites are reported separately rather than summed. GitHub CI constitutes an independently rerun execution of the authors’ published implementation rather than an independent third-party scientific replication.
Frozen hashes and preregistration manifests reside at results/rev11/rev11_phase0_freeze.json, results/rev11/REVISION11_EVIDENCE_MANIFEST.json, results/rev10_frozen_hashes.json, results/rev9_frozen_hashes.json, and results/rev7_frozen_hashes.json. Study outputs and runners reside at results/rev11/exp05/ (20 raw traces and exp05_analysis.json for the 20× live reliability study; results/rev11/exp06/c1_results.jsonl, c2_results.jsonl, and c3_results.jsonl (deterministic replay via scripts/run_rev11_exp06.py --condition C1|C2) for bounded deterministic completion; results/rev11/exp07/ and experiments/pg_patroni_failover/rev10_logs/ for physical failover causality; results/rev11/exp08/ and experiments/pg_patroni_failover/rev11_exp08_e2_adapter.py (extended with --include-rev12-races) for real-PostgreSQL Tier E2 reservations; results/rev11/exp09/ (15 traces and exp09_analysis.json) for the 5× paired agent-count study; and results/rev12/ (rev12_synthesis_vs_completion.json, rev12_scalability_stress.json, rev12_section5_multiprocess_faults.json, pinned_conf12_full_pieq.jsonl [SHA-256 9964a33f...], pinned_conf12_full_pieq_summary.json, pinned_conf12_full_pieq_scored.json, and rev12_pinned_confirmation_preflight.json) for the Revision 12 synthesis-vs.-completion, scalability/truncation, 80-trial multi-process § 5, and direct-API controlled-sampling three-family confirmation suites. All deterministic software suites, frozen held-out evaluations, paired completion replays, scalability stress benchmarks, and multi-process POSIX/SQLite WAL schedules reproduce deterministically from committed traces and scripts, whereas fresh live LLM runs cannot reproduce bit-for-bit across future model versions because model snapshots are unpinned and sampling is uncontrolled. Re-running the physical PostgreSQL/Patroni studies requires Docker Compose with ghcr.io/zalando/spilo-16:3.3-p1 and quay.io/coreos/etcd:v3.7.3 (experiments/pg_patroni_failover/docker-compose.rev10.yml). For replicators with direct provider API keys, scripts/run_rev8_pinned_live_eval.py --dataset heldout36|confirmation12 provides a pinned multi-provider API runner alongside its preflight manifests (results/rev10/pinned_preflight.json, results/rev12/rev12_pinned_confirmation_preflight.json). Extended archival tables appear in the companion supplementary document and research/pieq/docs/.
Conformity Dynamics: Formal Statement, Spectral Proof, and Variance Bound
This appendix provides the full formalization of Section 2.2. Let proposers evaluate a binary proposition via unbounded latent score residuals , with probability-valued beliefs produced by a separate nonlinear readout . Let have equal marginal variance , pairwise correlations , and mean off-diagonal correlation .
Definition B.1 (Effective Sample Size vs. Participation Ratio). For equal-variance score residuals with , the effective sample size governing is , whereas the participation ratio is . Under equicorrelation, strictly for every , so overstates variance reduction (for example, at and , whereas ).
In a stylized linear model of shared-context debate [3, 8], each proposer updates its latent score residual toward the peer mean with conformity weight while accumulating an additive reasoning innovation :
Theorem B.1 (Latent-Score Conformity Covariance Contraction). Let and suppose unbounded latent score residuals evolve under Eq. (11) from equicorrelated (, ), driven by temporally white zero-mean innovations with (), , and equicorrelated covariance (, ). Then for all , stays equicorrelated on with consensus eigenvalue , disagreement eigenvalue (), and . Specifically, (1) if , the excess effective sample size contracts geometrically as ; and (2) if and , converges to a positive floor while , driving and .
Proof. Write Eq. (11) as , where , , and . By orthogonality () and temporal whiteness ( for ), covariance propagates via . Any equicorrelated matrix diagonalizes over with eigenvalues (multiplicity 1) and (multiplicity ). Since and , induction on yields
with and . The two asymptotic regimes follow immediately.
Bounded-Probability Popoviciu Constraint. For bounded probability beliefs almost surely, Popoviciu’s inequality yields , forcing for all . Additive persistent-innovation dynamics () therefore cannot preserve over an unbounded horizon, separating unbounded latent scores from a nonlinear probability readout (restores exact consistency (tests/test_theorems_and_counterexamples.py)).
Remark B.1 (Correlation Collapse vs. Single-Agent Error). Correlation collapse alone does not revert error rates to a single agent: if independent agents () draw , apply noiseless convex averaging (, ), and threshold at , their votes become perfectly correlated (), yet unanimous false consensus equals the Round-0 majority tail . Symmetric averaging destroys vote diversity by collapsing a 5-of-5 gate to a Round-0 3-of-5 gate, while empirical debate degrades further under or asymmetric sycophancy [7, 8, 21].
References
- [1]J. He and D. Yu, “KedgeFlow: A programmable control plane for enterprise AI agents,” arXiv:2610.14810, Oct. 2026.arxiv.org/abs/2610.14810
- [2]D. Yu, S. Li, A. Torralba, J. B. Tenenbaum, and L. Mordatch, “Improving factuality and reasoning in language models through multiagent debate,” in Proc. ICML, 2024.
- [3]H. K. Choi, X. Zhu, and Y. Li, “Debate or vote: Which yields better decisions in multi-agent large language models?” in Proc. NeurIPS, 2025 (arXiv:2508.17536).arxiv.org/abs/2508.17536
- [4]X. Zhu, C. Zhang, Y. Chi, T. Stafford, N. Collier, and A. Vlachos, “Demystifying multi-agent debate: The role of confidence and diversity,” arXiv:2601.19921, Jan. 2026.arxiv.org/abs/2601.19921
- [5]L. Lamport, R. Shostak, and M. Pease, “The Byzantine generals problem,” ACM Trans. Program. Lang. Syst., vol. 4, no. 3, pp. 382–401, 1982.
- [6]J. He and D. Yu, “The Honest Quorum Problem: Epistemic Byzantine fault tolerance for agentic infrastructure,” arXiv:2607.16109, July 2026.arxiv.org/abs/2607.16109
- [7]Y. Li, A. Naito, and H. Shirado, “Systematic failures in collective reasoning under distributed information in multi-agent LLMs (HiddenBench),” in Proc. ICML, 2026 (arXiv:2505.11556).arxiv.org/abs/2505.11556
- [8]B. Yao, C. Shang, W. Du, J. He, R. Lian, Y. Zhang, H. Su, S. Swamy, and Y. Qi, “Peacemaker or troublemaker: How sycophancy shapes multi-agent debate,” arXiv:2509.23055, Sept. 2025.arxiv.org/abs/2509.23055
- [9]J. de Kleer, “An assumption-based TMS,” Artif. Intell., vol. 28, no. 2, pp. 127–162, 1986.DOI
- [10]J. de Kleer and B. C. Williams, “Diagnosing multiple faults,” Artif. Intell., vol. 32, no. 1, pp. 97–130, 1987.DOI
- [11]R. Reiter, “A theory of diagnosis from first principles,” Artif. Intell., vol. 32, no. 1, pp. 57–95, 1987.
- [12]T. J. Green, G. Karvounarakis, and V. Tannen, “Provenance semirings,” in Proc. ACM PODS, 2007, pp. 31–40.DOI
- [13]A. W. Appel and E. W. Felten, “Proof-carrying authentication,” in Proc. ACM CCS, 1999, pp. 52–62.DOI
- [14]G. C. Necula, “Proof-carrying code,” in Proc. ACM POPL, 1997, pp. 106–119.
- [15]S. Sheng, D. Parker, and L. Feng, “Safe POMDP online planning via shielding,” in Proc. IEEE ICRA, 2024, pp. 126–132.arxiv.org/abs/2309.10216
- [16]P. J. Ramadge and W. M. Wonham, “Supervisory control of a class of discrete event processes,” SIAM J. Control Optim., vol. 25, no. 1, pp. 206–230, 1987.
- [17]M. P. Herlihy and J. M. Wing, “Linearizability: A correctness condition for concurrent objects,” ACM Trans. Program. Lang. Syst., vol. 12, no. 3, pp. 463–492, 1990.
- [18]C. Gray and D. Cheriton, “Leases: An efficient fault-tolerant mechanism for distributed file cache consistency,” in Proc. ACM SOSP, 1989, pp. 202–210.
- [19]H. Berenson, P. Bernstein, J. Gray, J. Melton, E. O’Neil, and P. O’Neil, “A critique of ANSI SQL isolation levels,” in Proc. ACM SIGMOD, 1995, pp. 1–10.
- [20]J.-P. Aubin, Viability Theory, Boston, MA: Birkhäuser, 1991.
- [21]A. Wynn, H. Satija, and G. Hadfield, “Talk isn’t always cheap: Understanding failure modes in multi-agent debate,” arXiv:2509.05396, 2025.arxiv.org/abs/2509.05396
- [22]Y. Li, Y. Tao, K. Zhang, T. Wang, G. Gu, and Y. Zhou, “Diverse evidence, better forecasts: Multi-agent deliberation under information asymmetry (InfoDelphi),” arXiv:2607.01661, July 2026.arxiv.org/abs/2607.01661
- [23]N. Kadrybek and M. Mansurova, “Proof-carrying agent actions enable verifiable licensing of language model tool use,” Sci. Rep., vol. 16, Art. no. 74900, 2026, doi:10.1038/s41598-026-74900-x.
- [24]Z. Wang, “Proof-carrying agent actions: Model-agnostic runtime governance for heterogeneous agent systems,” arXiv:2606.04104, June 2026.arxiv.org/abs/2606.04104
- [25]M. Abadi and L. Lamport, “The existence of refinement mappings,” Theor. Comput. Sci., vol. 82, no. 2, pp. 253–284, 1991.
- [26]G. M. Provan, “The computational complexity of multiple-context truth maintenance systems,” in Proc. 9th European Conf. Artif. Intell. (ECAI), 1990, pp. 522–527.
- [27]Y. Cui, H. Fu, H. Zhang, L. Wang, and C. Zuo, “Free-MAD: Consensus-free multi-agent debate,” arXiv:2509.11035, 2025.arxiv.org/abs/2509.11035
- [28]D. Melcer, C. Amato, and S. Tripakis, “Shield decomposition for safe reinforcement learning in general partially observable multi-agent environments,” Reinforcement Learning J. (RLC), 2024.DOI
- [29]W. Scarbro and R. Mangal, “Interval POMDP shielding for imperfect-perception agents,” arXiv:2604.20728, Apr. 2026.
- [30]M. Sampath, R. Sengupta, S. Lafortune, K. Sinnamohideen, and D. Teneketzis, “Diagnosability of discrete-event systems,” IEEE Trans. Autom. Control, vol. 40, no. 9, pp. 1555–1575, 1995.
- [31]A. A. Feldbaum, “Dual control theory I,” Autom. Remote Control, vol. 21, no. 9, pp. 874–880, 1960.
- [32]E. Debenedetti et al., “Defeating prompt injections by design (CaMeL),” arXiv:2503.18813, 2025.arxiv.org/abs/2503.18813
- [33]D. Prinster, C. Fannjiang, J. W. Park, K. Cho, A. Liu, S. Saria, and S. Stanton, “Conformal policy control,” in Proc. ICML, 2026 (arXiv:2603.02196).arxiv.org/abs/2603.02196
- [34]C. Ciliberto, A. Rudi, and E. Tassi, “Proof-carrying contracts: Commitments AI agents cannot break,” arXiv:2610.28484, Oct. 2026.arxiv.org/abs/2610.28484
- [35]P. E. O’Neil, “The escrow transactional method,” ACM Trans. Database Syst., vol. 11, no. 4, pp. 405–430, 1986.DOI
- [36]D. Barbará and H. Garcia-Molina, “The demarcation protocol: A technique for maintaining linear arithmetic constraints in distributed database systems,” in Proc. EDBT, LNCS vol. 580, 1992, pp. 373–388.
- [37]M. Burrows, “The Chubby lock service for loosely-coupled distributed systems,” in Proc. USENIX OSDI, 2006, pp. 335–350.DOI
AI tools statement
No AI-use declaration is available for this version in Valency.
The available record does not establish whether AI systems or models contributed to this work.