How a broker and custodian enforce a policy · Chapter 4 of 6

III. Eliminating Direct Machine-to-Machine Access via an Immutable Ledger

On this page
  1. Stage One: Request Submission by the Requesting Agent
  2. Stage Two: Verification and Endorsement by the Policy Broker
  3. Stage Three: Execution and Signed Reply by the Resource Custodian
  4. Stage Four: Reply Verification and Notification by the Policy Broker

Even the most rigorously formulated policy rules will fail if requesting agents can establish direct network connections to the machines that store sensitive records or execute system programs. In conventional distributed systems, client applications open direct Transmission Control Protocol sockets or remote procedure call channels to backend servers. Although these channels are routinely wrapped in transport-layer encryption and guarded by perimeter firewalls, direct connectivity exposes the target server’s network stack, protocol parsers, and authentication handlers to raw, untrusted input generated by the requesting client. If a malicious human operator discovers a memory-corruption flaw in the server’s input parser, or if a rogue agent crafts a malformed command sequence that triggers an unhandled exception in an administrative endpoint, the direct network connection serves as a high-speed conduit for remote code execution and lateral movement across internal infrastructure.

To close these direct structural attack paths permanently, the architecture abolishes direct machine-to-machine communication between requesting agents and resource custodians. In its place, all requests, authorization endorsements, execution outcomes, and notifications are routed through an independent, cryptographically signed, immutable ledger operated by a certified third party. Within this topology, the ledger functions as an append-only, tamper-evident public or semi-public message board that mediates every interaction across the network. No requesting agent is permitted to hold a network route, firewall opening, or socket connection to any storage archive, execution host, or publication service; conversely, no resource custodian listens on external network ports for client commands. Every machine communicates exclusively by reading from and appending signed records to the certified ledger interface.

This architectural separation transforms the security posture of the infrastructure by converting interactive network exploitation into asynchronous, auditable state transitions. The complete execution lifecycle across the mediated ledger unfolds through four distinct, cryptographically verifiable stages:

Stage One: Request Submission by the Requesting Agent

When an autonomous worker seeks to perform an operation, whether retrieving an approved interview extract or running a citation comparison, it constructs a structured proposal specifying the exact action verb, the canonical identifier of the target resource, the input arguments, the intended destination, and a unique operation identifier. The worker attaches the cryptographic reference to its human-originated policy grant (and any intermediate delegation chain), signs the entire canonical payload with its own execution key, and submits the signed entry to the ledger’s intake interface. At this initial stage, the entry is merely an unverified proposal sitting on an append-only log; it carries zero authority to trigger execution, and no target custodian has processed a single byte of its payload. Furthermore, to prevent sensitive data from leaking at the moment of submission, the intake protocol prohibits placing confidential record contents in public request fields, utilizing opaque resource identifiers and encrypted payload envelopes readable only by authorized participants.

Stage Two: Verification and Endorsement by the Policy Broker

An independent, registered architectural component known as the policy broker continuously monitors the ledger for newly submitted proposals. Upon detecting a new request, the broker performs a deterministic, multi-step verification sequence before any execution service ever sees the command. First, the broker verifies the cryptographic signature of the submitting worker and confirms that the worker’s machine identity is currently active and unrevoked in the network membership directory. Second, the broker traces the attached delegation chain back to the originating human approval receipt, verifying the signatures at every link and confirming that the human principal holds the institutional role required to authorize the requested class of action. Third, the broker retrieves the immutable policy terms bound to the human grant and evaluates the complete requested tuple, worker, operation, target resource, arguments, and destination, against those policy rules and any shared quantitative budgets.

If every cryptographic signature and policy condition passes verification, the broker constructs an endorsement record referencing the exact cryptographic digest of the worker’s request, signs that endorsement with its own institutional key, and appends it to the ledger. This signed endorsement serves as cryptographic proof that an independent authority has qualified the exact request for execution. Conversely, if the request lacks a valid human origin, if a stolen credential is used to request an action outside its bound policy, or if a hallucinating agent proposes an unauthorized file modification, the broker immediately appends a signed refusal record to the ledger and halts the lifecycle. The offending request never enters the execution queue of any downstream custodian.

Stage Three: Execution and Signed Reply by the Resource Custodian

The respondent custodian, the isolated service responsible for administering the protected storage archive, the program execution sandbox, or the publication catalog, monitors its restricted view of the ledger exclusively for entries that bear both a valid worker signature and a valid endorsement signature from an authorized policy broker. Raw, unendorsed submissions posted to the ledger are invisible to the custodian’s execution loop. Upon reading a properly endorsed request, the custodian independently verifies both the worker’s signature and the broker’s endorsement, confirms that the request matches its own local resource rules and current revocation state at the exact moment of commitment, and executes the specified operation within its isolated environment.

Once the operation completes, the custodian constructs a structured response payload reporting the outcome, such as placing a sealed copy of the redacted extract into the private viewing room or recording the count of unresolved citations in the author’s private folder. Crucially, the custodian computes the cryptographic digest of the exact original request and endorsement under which it acted, embeds that digest into the reply, signs the reply with its own custodian key, and appends it to the ledger. Sensitive output data is encrypted specifically for the authorized destination, ensuring that posting the signed receipt onto the shared ledger exposes no confidential contents to unauthorized observers.

Stage Four: Reply Verification and Notification by the Policy Broker

In the final stage, the policy broker observes the newly appended reply on the ledger. The broker verifies that the reply’s signature belongs to the authentic custodian designated to govern the target resource, confirms that the embedded request digest matches the exact proposal the broker originally qualified, and verifies that the named destination remains authorized to receive the output. Upon completing these checks, the broker appends a final validation entry to the ledger and issues a signed notification alerting the requesting worker that its authenticated result is available through the authorized delivery path.