Systems Architecture Proposal · Sovereign Resilience & Autonomous Infrastructure

Atomic Governance Transactions:
Durable Preauthorization Logging and Resource Reservation for Autonomous Tool Execution

A proposed fail-closed authorization protocol coordinating shared-quota serialization, synchronous preauthorization persistence, and single-use request-bound capabilities.

ARCH-2026-03 Classification: Systems Architecture Proposal Status: Research Prototype / Draft Spec Scope: Transaction-Level Enforcement
Document Series
Sovereign Resilience & Autonomous Infrastructure
Document ID
ARCH-2026-03
Protocol Boundary
Preauthorization Barrier & Shared-Quota Lock
Companion Policy Layer

Abstract

Autonomous tool execution increases the operational importance of coordinating authorization, resource accounting, and audit evidence. This paper proposes Atomic Governance Transactions (AGT), a fail-closed protocol that reserves policy-governed resources and durably records an authorization decision before releasing a single-use, request-bound execution capability. The intended safety property is narrower than universal audit completeness: every protected dispatch traversing the enforcement boundary must have a preceding durable authorization record. This guarantee is distinct from execution-outcome auditing and depends explicitly on boundary enforcement coverage, storage durability semantics, trusted signing paths, and crash-recovery state reconciliation. The specification identifies concurrency, capability replay, request commitment, and partial-failure transitions requiring explicit protocol handling, and defines the empirical fault-injection matrix required for independent validation.

1. Introduction, Scope & Series Boundaries

Autonomous software agents powered by large language models (LLMs) amplify existing authorization, concurrency, and auditability risks through rapid, parallel, and dynamically generated API tool invocations. Two failure modes arise when standard decoupled authorization infrastructure governs concurrent tool execution:

Series Scope Distinction: Enforcement Correctness vs. Policy Adequacy

This specification must be read alongside its companion documents without conflating their scopes. MEMO-2026-01 motivates threat scenarios in which optimizing agents could pursue strategic vendor entrenchment. ARCH-2026-02 defines the cumulative organizational policies required to prohibit such strategies (e.g., Herfindahl-Hirschman vendor concentration bounds). AGT (ARCH-2026-03) enforces only the transaction-level rules passed to it; it does not evaluate cumulative multi-step strategies or establish the adequacy of those rules. An agent submitting five individually authorized, logged transactions that gradually migrate all workloads to one supplier will satisfy AGT unless cumulative concentration policies are evaluated at the Control Plane.

2. Threat Model, System Entities & Trust Relocation

2.1 System Entities

2.2 Adversary Capabilities & Availability Trade-Off

We model an adversary capable of prompt injection, concurrent dispatch across shared quotas, post-issuance request mutation, capability replay before expiration, and inducing storage partitions against \(\mathcal{L}\).

Architectural Trade-Off: Audit Safety vs. Operational Availability

Enforcing a fail-closed persistence barrier trades availability for preauthorization audit safety. If an adversary disrupts ledger storage \(\mathcal{L}\), AGT intentionally halts protected dispatches (HTTP 503), preventing unrecorded execution while incurring localized denial-of-service. Production deployments must therefore specify maximum tolerable stoppage windows, recovery timeouts, and whether any out-of-band break-glass operational mode exists. In addition, AGT relocates trust from application endpoints into the PEP/PDP/State/Ledger TCB; those control components must themselves be hardened against single-vendor supply-chain failure.

3. Proposed AGT Protocol, State Machine & Crash Recovery

Rather than asserting that separate distributed calls constitute a single indivisible primitive by notation alone, AGT is specified as a stateful multi-phase protocol with an explicit linearization point, idempotency keys, and crash-recovery semantics.

Protocol State Lifecycle
RECEIVED → AUTHENTICATED → RESERVED → DECISION_DURABLE → AUTHORIZED → REDEEMED → DISPATCHED → OUTCOME_RECORDED
Failure / Recovery Transitions: DENIED | EXPIRED | RECOVERY_PENDING | OUTCOME_UNKNOWN
   Agent (A)            PEP Interceptor            PDP Kernel           State Store (S)         Ledger (L)
       │                       │                       │                       │                     │
       │── 1. Req(tx_id, X) ──>│                       │                       │                     │
       │                       │── 2. Query(tx_id,H) ─>│                       │                     │
       │                       │   [Egress Halted]     │── 3. Auth + Canonicalize                    │
       │                       │                       │── 4. Lock(quota_id) ─>│                     │
       │                       │                       │<─ 5. Fence Token f ───│                     │
       │                       │                       │── 6. Reserve(tx_id) ─>│                     │
       │                       │                       │── 7. Policy Eval ─────┘                     │
       │                       │                       │── 8. Append Record E(seq, tx_id) ──────────>│
       │                       │                       │<─ 9. Durable fsync/quorum ACK ──────────────│
       │                       │                       │──10. Linearize Commit(tx_id, f) ─>│         │
       │                       │<─11. Signed Cap (τ) ──│                       │                     │
       │                       │──12. Redeem jti (1x) ─>│                      │                     │
       │<─14. Result/Unknown ──│──13. Dispatch Exact X ┴──────────────────────────────────> [External API]
Figure 1. Proposed AGT protocol sequence incorporating shared-quota locking, fencing tokens, durable WAL commitment, and single-use capability redemption.

3.1 Request-Body Binding vs. RFC 9449 DPoP

Standard Demonstration of Proof-of-Possession (RFC 9449 DPoP) binds client keys strictly to the HTTP method and target URI; it does not provide integrity protection over HTTP request bodies or arbitrary headers. Accordingly, AGT defines an Application-Defined Canonical Request Commitment verified by the PEP prior to dispatch:

Canonical Request Commitment Digest
\[ \mathcal{C}_{\text{req}} = H_{\text{SHA256}}\big(\text{method} \parallel \text{audience} \parallel \text{path\_query} \parallel \text{body\_canonical} \parallel \text{sec\_headers} \parallel \text{principal} \parallel \text{quota\_id} \parallel \text{tx\_id} \parallel \text{policy\_ver}\big) \]

When issuing the server-signed capability \(\tau\), the PDP embeds \(\mathcal{C}_{\text{req}}\), unique token identifier jti, reservation identifier res_id, and short expiration \(t_{\text{exp}}\). The PEP computes \(\mathcal{C}_{\text{req}}\) over the halted outbound buffer, verifies signature and commitment equality, atomically marks jti as REDEEMED in \(\mathcal{S}\) (blocking duplicate replay before expiry), and dispatches the exact verified buffer.

3.2 Linearization Point & Crash-Recovery Protocol

To prevent split-brain budget exhaustion or duplicate execution across crashes, the protocol defines explicit state reconciliation rules keyed by caller-supplied tx_id:

4. Conditional Safety Properties & Storage Semantics

4.1 Separation of Audit Coverage Properties

Writing a ledger record prior to external dispatch establishes preauthorization evidence, not complete execution verification. This specification explicitly separates four distinct audit properties:

Audit Property What It Establishes AGT Coverage Scope
1. Authorization-Record Coverage A durable decision record in \(\mathcal{L}\) strictly precedes any protected dispatch at the PEP. Primary Target (Subject to assumptions)
2. Dispatch-Record Coverage The PEP records actually transmitting the bound payload onto the wire after redeeming jti. Optional Extension (Requires post-redemption log)
3. Outcome-Record Coverage The HTTP response or error code returned by the external destination is durably recorded. Best-Effort (Cannot cover lost ACKs)
4. Effect Reconciliation Recorded execution logs match actual mutated state inside the external target system. Out of Scope (Requires external API state sync)
Table 1. Taxonomy distinguishing preauthorization evidence from execution outcome reconciliation.

4.2 Theorem 1 (Durable Preauthorization-Record Invariant)

Statement: If (i) all protected dispatches must traverse the PEP, (ii) the PEP rejects any request lacking a valid capability \(\tau\) signed by the trusted PDP key, (iii) the PDP signing path is non-bypassable and executes strictly after receiving a verified storage persistence acknowledgment from \(\mathcal{L}\), (iv) storage acknowledgments guarantee durability across configured crash faults, (v) cryptographic signatures are unforgeable, and (vi) recovery never invalidates acknowledged commits, then every protected dispatch \(x \in X_{\text{exec}}\) has a preceding durable authorization record \(e \in \mathcal{L}_{\text{valid}}\).

Proof Basis (Control-Flow Causal Dependency)

Note that computing a cryptographic digest \(\text{digest}(E)\) does not by itself force persistence; the digest could be computed in volatile memory. Rather, the invariant relies on trusted control-flow enforcement inside the PDP: the capability signing key \(K_{\text{PDP}}\) is invoked only on the post-acknowledgment branch after \(\mathcal{L}\) confirms durable write persistence (fsync/quorum). If storage acknowledgment fails or times out, control routes to rollback and HTTP 503 error emission, leaving \(\tau\) unissued. Subject to the six stated trust and boundary assumptions, no protected dispatch can satisfy the PEP gate without a prior record in \(\mathcal{L}_{\text{valid}}\). \(\blacksquare\)

4.3 Theorem 2 (Conditional Shared-Resource Serialization Safety)

Statement: For \(N > 1\) concurrent agents competing to consume a shared unit-capacity resource \(Q = 1\), pessimistic serialization keyed on the shared resource domain \(\mathcal{S}(\text{quota\_id})\) (rather than per-agent locks) paired with monotonic fencing tokens \(f\) permits at most one (\(\le 1\)) successful allocation.

Safety vs. Liveness Note: Under ledger failure or network partition, AGT intentionally allows zero successful allocations. Achieving exactly one successful allocation requires separate liveness assumptions (eventual network delivery, storage quorum availability, and bounded lock-holder lease recovery).

4.4 Operational Storage Definitions

Storage Mechanism Operational Definition in AGT
Write-Ahead Log (WAL) Local or replicated sequential record persisting DECISION_DURABLE intent and tx_id prior to mutating state balances in \(\mathcal{S}\), enabling deterministic crash replay.
Durable Acknowledgment Synchronous write confirmation returned only after data reaches non-volatile fsync/NVMe storage or a Raft/Paxos replication majority.
Hash-Chain Sequencing Concurrent appends are serialized by the ledger sequencer assigning a strict monotonic sequence number seq prior to hashing \(H(E_{\text{prev}})\), preventing branching forks.
WORM Retention Storage-layer object lock (e.g., S3 Object Lock Compliance Mode) preventing administrative deletion or overwriting for the policy-mandated audit window.
Table 2. Disambiguated operational semantics for AGT persistence layers.

5. Preliminary Prototype Observations & Evaluation Design

Initial prototype observations evaluated two distinct test populations in a local single-node harness: (1) a deterministic policy and boundary regression suite of 176 automated test cases, and (2) \(n = 500\) storage fault-injection dispatch trials in which \(\mathcal{L}\) write targets were mounted read-only or severed:

5.1 Required Verification Matrix for Full Reproducibility

While the prototype validates the basic unwritable-ledger barrier, establishing full protocol correctness under distributed faults requires evaluating these ten discriminating edge cases against four implementation baselines (asynchronous logging, synchronous logging without reservation, atomic reservation without audit barrier, and full AGT):

6. Related Work & Disclosure Boundaries

6.1 Positioning Against Existing Mechanisms

AGT integrates established distributed-systems and security primitives rather than inventing isolated new cryptography:

6.2 Protocol Transparency vs. Operational Secrets

To facilitate independent protocol verification while safeguarding operational secrets, architectural artifacts are partitioned as follows:

Public Protocol Specification & Reproducibility Artifacts Protected Operational Configuration (Private)
Protocol state machine, crash-recovery transitions, and canonical commitment schema Internal customer domain allowlists and production enterprise policy rulesets
Fencing-token reservation logic and single-use jti redemption rules Production KMS/HMAC signing keys, TLS certificates, and deployment credentials
Reproducible fault-injection harness and baseline latency benchmark scripts Internal corporate billing records and proprietary LLM prompt suites
Table 3. Protocol transparency vs. operational credential boundaries.

References

  • [1] Fett, Daniel, Brian Campbell, John Bradley, Torsten Lodderstedt, Michael Jones, and David Waite. “OAuth 2.0 Demonstrating Proof of Possession (DPoP).” IETF RFC 9449, September 2023. RFC 9449 →
  • [2] Kleppmann, Martin. “How to Do Distributed Locking.” Technical Analysis on Fencing Tokens and Stale Lock Leases, February 2016. Article →
  • [3] National Institute of Standards and Technology (NIST). “Security and Privacy Controls for Information Systems and Organizations: AU-5 Response to Audit Processing Failures.” NIST SP 800-53 Revision 5. NIST AU-5 →

8. Citation & Bibliographic Reference

To cite this systems architecture specification in academic research or technical publications, use the following BibTeX entry:

@techreport{suhlabs2026agt,
  author      = {Suh, John Young and {SuhLabs Systems Research}},
  title       = {Atomic Governance Transactions: Durable Preauthorization Logging and Resource Reservation for Autonomous Tool Execution},
  institution = {SuhLabs Systems Research},
  number      = {ARCH-2026-03},
  year        = {2026},
  month       = {November},
  url         = {https://suhlabs.com/atomic-governance-whitepaper.html}
}
BibTeX: ARCH-2026-03 · SuhLabs Systems Research