Internet-Draft AI Safety for Critical Infrastructure: December 2026
Das Expires 5 June 2027 [Page]
Workgroup:
Independent Submission
Internet-Draft:
draft-das-ai-safety-infra-enforcement-00
Published:
Intended Status:
Informational
Expires:
Author:
S. K. Das
Independent

AI Safety for Critical Infrastructure: Software, Hardware and Split Protected Enforcement Domains for Receipt-Gated Effectuation (E07-E09)

Abstract

Problem. A gate that runs inside the same compromised host as the AI agent is not a gate. For grid, network, plant and data-centre control, where authority state and keys are held decides whether the safety layer survives a compromised agent, a compromised host or a compromised vendor component. Solution. This document describes three realizations of the protected enforcement domain that holds authority for receipt-gated staged effectuation: protected software (E07: services, proxies, kernel and security hooks, late credential injection, egress gates), hardware (E08: secure element, HSM, TEE, DPU or SmartNIC, storage controller, accelerator, actuator controller, baseband) and a split design (E09) in which neither side alone holds complete authority.

In industry-standard terms this is a policy enforcement point backed by a hardware root of trust, with monotonic counters, sealed keys, remote attestation and confidential computing. The document gives an implementation guide with current technology, data model, flowchart, variations, a comparison with conventional systems, an adoption process and a map of industry platforms.

Earliest public disclosure. The invention described here was first publicly disclosed in the IETF Internet-Draft draft-das-receipt-gated-iev-00, dated 1 October 2026 (https://datatracker.ietf.org/doc/draft-das-receipt-gated-iev/), together with the companion Internet-Draft draft-das-interim-effectuation-validation-00 (October 2026), and then on Zenodo from 9 October 2026 (DOI 10.5281/zenodo.23254538, https://zenodo.org/records/23254538) and in the Technical Disclosure Commons article "Enterprise AI Safety - When AI Takes Control of Critical Infrastructure, Who Verifies the Real-World Consequences?" posted 10 November 2026 (https://www.tdcommons.org/dpubs_series/12960/). This document, dated 2 December 2026, explains and cross-references those records; any later public document or product that discloses the same mechanism is later in time than the dates above. This is a statement of dates for prior-art searching, not a legal conclusion about priority or patentability.

Basis. This document is based on Indian Patent Office application number 202631117633, "Systems and Methods for Cryptographically Staged Effectuation with Verified Partial Effect, Receipt-Bound Full Effectuation, and Software-Hardware Enforcement", filed 1 October 2026 (pending). Related disclosures: the Mothership application PCT/IB2026/055615 (WO 2026/150382 A2), filed 4 June 2026 and publicly disclosed on 16 July 2026, and the ALF application PCT/IB2026/053385 (WO 2026/115520), filed 7 April 2026 and disclosed 4 June 2026. All filings are pending applications only; nothing in this document states or implies that any patent has been granted. Check current status only on official registers (WIPO PATENTSCOPE and national patent offices).

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 5 June 2027.

▲

Table of Contents

1. Introduction

Receipt-gated staged effectuation needs somewhere to keep the authority state: the phase counter, the root secret that derives the next phase's key, the record of which receipts were accepted. If that state lives where the AI agent can write to it, a compromised or mistaken agent can set it. The protected enforcement domain (PED) is the answer to the question "who holds the state, and what can the proposer reach?".

Workflows E07, E08 and E09 describe three realizations: software (E07), hardware (E08) and split software and hardware (E09). The choice is a function of consequence class, latency, cost and what has to be assumed compromised.

This document is part of a set split by technical field from one specification. Source records: [DAS-RGIEV], [DAS-IEV], [DAS-TDC].

2. Earliest Public Disclosure and Prior-Art Dating

This section is written for patent examiners and prior-art searchers. It lists, in date order, the public records that describe receipt-gated staged effectuation and the Interim Effectuation Validator, so that the earliest public text for each concept can be located and dated.

Two further Zenodo records on the same subject were found by a web search when this document was prepared, but their publication dates were not read from the record pages and are therefore not asserted here: 23258090 (https://zenodo.org/records/23258090) and 23730878 (https://zenodo.org/records/23730878).

2.1. How to use these dates

A searcher who finds a later patent publication, standard, product description or paper that describes the same mechanism (a bounded real first effect, independent protected evidence of what occurred, independent validation, and a continuation condition that does not exist until validation passes) can compare its date with the dates above. The dated records use some terms that are specific to this family (for example Effect Confirmation Receipt and Finality Sink). Each document in this set therefore maps those terms to industry-standard terms such as progressive delivery, canary analysis, two-phase commit, attestation, hardware root of trust, maker-checker and fail-safe state, so that a search using standard words reaches the same concept.

2.2. What these dates do and do not establish

The dates are the dates on which the listed public records were published, as read from the record pages and the IETF text when this document was prepared. They are not a determination of legal priority, novelty, inventive step or enforceable scope, which depend on law and on the official examination record. Check official registers (WIPO PATENTSCOPE and national patent offices) for the status of the filings.

3. Core Concept in Plain Words

Most authorization asks one question before an action: is this allowed? In critical infrastructure that is not enough. A permitted action can still fail to do what was expected, because the real destination, route, device, version, sensor or counterparty is not the one that was assumed when permission was given. An AI agent that adjusts a grid setpoint, re-routes traffic in a radio network, releases a payment or changes a production database can be perfectly authorized and still cause harm.

The architecture in this document separates two kinds of authority. The first is authority to propose or approve an action. The second is authority to let the complete consequence become effective. The second authority is withheld at first. The system causes a first, deliberately bounded, real effect through the real effect-capable path. A protected observer produces evidence of what actually happened. An independent validator compares that evidence with what was expected. Only after the comparison passes is the next, broader authority created, released or accepted. The evidence is therefore a technical dependency of the later effect, not a log written afterwards.

In short: the key to the next step does not exist until the previous step has been proven on the real path.

This is different from a simulation (which predicts), a dry run (which avoids the effect), an ordinary canary release (which is watched by people or dashboards) and a post-hoc audit (which reports after the fact). In the architecture described here the first stage may be a real but bounded consequence, and the next stage is cryptographically or structurally conditioned on evidence from it.

4. Scope: Critical Infrastructure, Not Chat Assistants

This document addresses AI and automation that can change the state of the world: power and water control, rail and traffic systems, telecommunications and radio networks, payment and settlement rails, cloud and data-centre control planes, hospitals and medical devices, industrial plants and logistics. These are the settings in which one wrong consequential action is expensive or irreversible and in which regulators and operators ask who verifies the real-world consequence.

Text generation by a chatbot is out of scope. The same mechanisms might be applied to consumer agents, but the threat model, the latency budget and the failure costs discussed here are those of operated infrastructure.

Companion text on the same subject: the Technical Disclosure Commons article "Enterprise AI Safety - When AI Takes Control of Critical Infrastructure, Who Verifies the Real-World Consequences?" [DAS-TDC] and the Internet-Draft [DAS-RGIEV] on which it is based.

5. Terminology

6. Reference Sequence and State Machine

 Candidate Act (bound to descriptor, E_MAX, phase plan)
        |
        v
 Protected policy / approval  --->  authority A0 (bounded scope)
        |
        v
 Finality Sink verifies A0, consumes it once  --->  REAL EFFECT E0
        |
        v
 Observer / device / counterparty  --->  Receipt R0
        |
        v
 IEV: authentic? same act? same sink? within tolerance?
      fresh? not replayed? policy/revocation current?
        |  PASS                |  FAIL / UNKNOWN
        v                      v
 Continuation C1 created   hold, retry bounded, reduce scope,
        |                  reconcile, roll back, or terminate
        v
 Sink verifies C1  --->  REAL EFFECT E1 ... repeated to the end

Phase states: PROPOSED, AUTHORIZED_P0, EFFECTED_P0, RECEIPT_VALID, CONTINUED_Pi, COMPLETE, DENIED, INDETERMINATE, QUARANTINED, TERMINATED. There is no direct transition from PROPOSED to a full effect and no transition from INDETERMINATE to CONTINUED without reconciliation evidence.

Invariants that every realization must keep:

7. How This Differs from Conventional Systems

Conventional safety layers for automation and AI answer one question before the action: is this requester allowed to do this? They then trust the path. This architecture adds a second question after a small real step: did the real path actually produce the effect that the plan assumed, as shown by evidence the requester does not control? The table compares the two at the points where they differ.

CONVENTIONAL                    THIS ARCHITECTURE
-----------------------------------------------------------------
request --> check --> FULL      request --> check --> BOUNDED REAL
           (allow)    EFFECT                (allow)    EFFECT
                        |                                  |
                        v                                  v
                  log / ack /                    protected observer
                  dashboard                      issues receipt
                        |                                  |
                 (after the fact)                          v
                                                independent validator
                                                PASS / FAIL / INDET.
                                                           |
                                                      PASS v
                                                next-phase condition
                                                is created, then the
                                                FULL or NEXT-SIZED
                                                EFFECT
+--------------------------------+--------------------------------+
| Conventional practice          | This architecture              |
+================================+================================+
| What unlocks the next step: a  | Independently validated        |
| passed check on the request    | evidence that the previous     |
| (identity, policy, schedule, a | bounded step really happened   |
| human click).                  | on the real path.              |
+--------------------------------+--------------------------------+
| Meaning of success: a log      | Not accepted alone. Evidence   |
| line, HTTP 200 or              | must come from a protected     |
| acknowledgement written by the | observer that is not the       |
| actor or its tooling.          | proposer.                      |
+--------------------------------+--------------------------------+
| Who can create the next        | Only the validator domain, and |
| authority: the orchestrator,   | only after PASS. The proposer  |
| administrator or pipeline that | cannot mint it.                |
| proposed the act.              |                                |
+--------------------------------+--------------------------------+
| Shape of the first step:       | A real effect with an enforced |
| usually the full effect, or a  | ceiling (E_MAX and a phase     |
| canary watched by people and   | plan) that the holder cannot   |
| dashboards.                    | exceed.                        |
+--------------------------------+--------------------------------+
| Dry run or simulation:         | Real but small, so it          |
| predicts, no real effect.      | exercises the actual           |
|                                | destination, version,          |
|                                | firmware, route and lag.       |
+--------------------------------+--------------------------------+
| Credentials: a token or role   | Phase-scoped, single-use,      |
| valid for the whole task.      | receipt-derived. Later-phase   |
|                                | material does not exist before |
|                                | evidence.                      |
+--------------------------------+--------------------------------+
| Missing acknowledgement: retry | INDETERMINATE state. Hold,     |
| or assume success.             | reconcile, never widen         |
|                                | authority.                     |
+--------------------------------+--------------------------------+
| Replay protection: idempotency | Atomic consume of authority    |
| keys in the application.       | and receipt at the sink, bound |
|                                | to act, phase, nonce and       |
|                                | epoch.                         |
+--------------------------------+--------------------------------+
| Rollback: scripts or           | The remainder never became     |
| compensating transactions      | effective. Only the bounded    |
| after harm has spread.         | part needs to be reversed.     |
+--------------------------------+--------------------------------+
| Bypass: an admin console, a    | Alternate-path closure. The    |
| direct API or another path     | sink refuses effect without    |
| usually still works.           | current authority on every     |
|                                | path.                          |
+--------------------------------+--------------------------------+
| Compromised orchestrator: can  | Cannot self-certify. It needs  |
| approve itself and edit logs.  | evidence and state it does not |
|                                | control.                       |
+--------------------------------+--------------------------------+
| Audit: after-the-fact log      | Gating before effect, plus a   |
| review.                        | tamper-evident chain of phases |
|                                | and receipts.                  |
+--------------------------------+--------------------------------+

7.1. Closest conventional mechanisms and the remaining difference

The following mechanisms are the closest in general practice. They are strong in their own domains and are expected to be used together with this architecture. The statements below describe common practice, not any specific product, and a specific product may do more.

8. Difference from Conventional Practice in a DPU-based gate for an AI-operated data-centre power controller

Policy enforcement points, sidecars and gateways are widely used. The table shows what is added when the enforcement domain is built so that the agent's host cannot alter its state.

+--------------------------------+--------------------------------+
| Conventional practice          | This architecture              |
+================================+================================+
| Policy enforcement point runs  | Authority state sits in a      |
| on the same host or in the     | separate process, device or    |
| same trust zone as the         | hardware module the proposer   |
| workload.                      | cannot write.                  |
+--------------------------------+--------------------------------+
| Authorization is a token that  | Authority is a counter         |
| is valid until it expires.     | transition, latch, unsealed    |
|                                | key or capability that exists  |
|                                | only after a receipt.          |
+--------------------------------+--------------------------------+
| Keys are non-exportable but    | Key use is conditioned on a    |
| usable by any caller the key   | verified receipt, act digest   |
| policy admits.                 | and phase.                     |
+--------------------------------+--------------------------------+
| Remote attestation proves the  | Attestation is one input; the  |
| platform state at connection   | next-phase key is released     |
| time.                          | only after a prior real effect |
|                                | is proven.                     |
+--------------------------------+--------------------------------+
| Snapshots and backups can      | Monotonic counters and fuses   |
| resurrect old authority.       | detect rollback; consumed      |
|                                | authority stays consumed.      |
+--------------------------------+--------------------------------+
| If the policy service is down  | Fail-closed or fail-limited    |
| the system fails open or stays | behaviour is defined per       |
| on a stale decision.           | class, with a safe physical    |
|                                | state.                         |
+--------------------------------+--------------------------------+

9. Flowchart: a DPU-based gate for an AI-operated data-centre power controller

The flowchart shows the split realization (E09), which contains the software and hardware realizations as special cases.

   Candidate Act --> [SOFTWARE DOMAIN: policy, risk class, workflow]
                          |
                          v
                 decision record + authorization digest
                 H(act, scope, phase, policy_epoch, sw_version)
                          |
                          v
        +---------------------------------------------+
        | HARDWARE DOMAIN (secure element / HSM / TEE)|
        |  verify digest format; check phase counter  |
        |  check E_MAX; check attestation of caller   |
        |  hold root secret; hold latch + counter     |
        +----------------------+----------------------+
                               | allowed
                               v
                 bounded phase authority released
                               |
                               v
                [Finality Sink] -> BOUNDED REAL EFFECT
                               |
                               v
                 receipt from protected observer
                               |
                               v
              [IEV PASS] --> hardware verifies receipt
                               |
                               v
         counter advance + next-phase key (software share XOR
         hardware share) --> next phase
   software compromised: hardware still enforces scope + phase
   hardware failed: software alone cannot widen authority

Neither domain alone can widen authority: software cannot use a hardware share for another act, and hardware cannot independently widen software policy.

10. E07: Software Protected Enforcement Domain

The enforcement and receipt-gating logic runs in protected software. The software PED may:

Realization forms: services and daemons, API gateways, reverse proxies, transaction managers, eBPF and other kernel security hooks, Linux security modules and mandatory access control, message-broker gates, database proxies and stored procedures, storage gates and remote protected services.

Required software properties: durable state and crash recovery, rollback resistance, anti-replay, alternate-path closure, and a defined fail-closed mode and fail-limited mode (limited operation with reduced authority) when state or the validator is unavailable.

Examples: a SEND gate that releases a trailer before the full message; a payment gate that places a hold before capture; a database gate that commits a bounded change before the broader mutation.

11. E08: Hardware Protected Enforcement Domain

Authority and state live in protected hardware or hardware-rooted logic: secure element, HSM, TEE or secure enclave, secure MCU, FPGA or ASIC, security island, NIC or DPU, storage controller, modem or baseband, actuator controller, or a vehicle or flight controller.

Properties:

Hardware realizations: secure element, HSM, TEE and enclave, DPU and SmartNIC network embodiment, storage-controller embodiment, GPU and accelerator embodiment, motor and actuator controller, vehicle and flight controller, radio and baseband.

Hardware human approval and automatic decision verification: the hardware verifies the signature on a human approval object or the automatic decision before releasing the next phase material.

12. E09: Split Software and Hardware Protected Enforcement Domain

Functions are divided so that neither side alone needs to hold complete authority.

Key rules:

Containment: if the software is compromised, the hardware still enforces the bounded scope and the phase; if the hardware fails, software alone cannot expand beyond what it was authorized to.

Use cases: local split on one machine, remote hardware split, DPU split, storage split, payment split, SEND split, robotics split and cloud or accelerator split.

13. Specification Clause Map

The clause titles below are the section titles of the workflows that this document covers in Indian application 202631117633 (Advanced Section 1, frozen detailed workflows). They are listed so that a searcher can match this document's vocabulary to the structure of the filed specification. They are titles only; no claim scope is implied.

13.1. E07: software protected enforcement domain

E07.1 Purpose; E07.2 Software PED Functional Boundary; E07.3 Candidate Act Intake; E07.4 Caller Attribution; E07.5 Protected Software State; E07.6 Software Validation Predicate; E07.7 Automatic Approval Integration; E07.8 Human Approval Integration; E07.9 Hybrid Approval Integration; E07.10 Scoped Software Capability; E07.11 Capability Without Exposed Token; E07.12 Credential Brokerage; E07.13 Late Credential Injection; E07.14 Network Egress Gate; E07.15 Kernel-Level Software Gate; E07.16 eBPF / Security-Hook Variation; E07.17 LSM / Mandatory-Access-Control Variation; E07.18 Proxy-Based Effectuation Gate; E07.19 Database Gate; E07.20 Storage Gate; E07.21 Message-Broker Gate; E07.22 Transaction Manager Variation; E07.23 Remote Software PED; E07.24 Software Attestation Input; E07.25 Receipt Generation in Software; E07.26 Durable Software State; E07.27 Crash Recovery; E07.28 Software Rollback Resistance; E07.29 Alternate-Path Closure; E07.30 Software PED Fail-Closed Mode; E07.31 Software PED Fail-Limited Mode; E07.32 SEND Example; E07.33 Payment Example; E07.34 Required Invariants.

13.2. E08: hardware protected enforcement domain

E08.1 Purpose; E08.2 Hardware PED Components; E08.3 Hardware Root of Authority; E08.4 Hardware Protected State; E08.5 Hardware Identity; E08.6 Platform Measurement; E08.7 Hardware Attestation; E08.8 Hardware Validation Predicate; E08.9 Hardware Phase Key; E08.10 Receipt-Derived Hardware Key; E08.11 Hardware Unsealing Variation; E08.12 Protected Hardware Latch; E08.13 Monotonic Counter; E08.14 Secure-Element Embodiment; E08.15 HSM Embodiment; E08.16 TEE / Secure-Enclave Embodiment; E08.17 DPU / SmartNIC Network Embodiment; E08.18 Storage-Controller Embodiment; E08.19 GPU / Accelerator Embodiment; E08.20 Motor / Actuator Controller Embodiment; E08.21 Vehicle / Flight Controller Embodiment; E08.22 Radio / Baseband Embodiment; E08.23 Hardware Human-Approval Verification; E08.24 Hardware Automatic-Decision Verification; E08.25 Hardware Receipt Generation; E08.26 Hardware Receipt Verification; E08.27 Hardware Anti-Replay; E08.28 Hardware Crash / Power-Loss Recovery; E08.29 Hardware Rollback Protection; E08.30 Hardware Alternate-Path Closure; E08.31 Fail-Closed Hardware Mode; E08.32 Fail-Safe Physical Mode; E08.33 SEND Example; E08.34 Payment Example; E08.35 Required Invariants.

13.3. E09: split software and hardware enforcement

E09.1 Purpose; E09.2 Functional Separation; E09.3 Software Decision Record; E09.4 Authorization Digest; E09.5 Hardware Does Not Blindly Trust Software; E09.6 Software Scope and Hardware Scope; E09.7 Hardware Root Secret; E09.8 Receipt-Gated Split Progression; E09.9 Software-First Receipt Verification; E09.10 Hardware-First Receipt Verification; E09.11 Dual Verification; E09.12 Human Approval Split; E09.13 Automatic Approval Split; E09.14 Hybrid Approval Split; E09.15 Split Key Shares; E09.16 Software Cannot Use Hardware Share for Another Act; E09.17 Hardware Cannot Independently Expand Software Policy; E09.18 Split Transaction Atomicity; E09.19 Two-Record Commit Variation; E09.20 Hardware Receipt of Software State; E09.21 Software Receipt of Hardware State; E09.22 Local Split Embodiment; E09.23 Remote Hardware Split Embodiment; E09.24 DPU Split Embodiment; E09.25 Storage Split Embodiment; E09.26 Payment Split Embodiment; E09.27 SEND Split Embodiment; E09.28 Robotics Split Embodiment; E09.29 Cloud/Accelerator Split Embodiment; E09.30 Software Compromise Scenario; E09.31 Hardware Compromise / Failure Containment; E09.32 Version and Upgrade Binding; E09.33 Revocation Synchronization; E09.34 Policy Synchronization; E09.35 Split Anti-Rollback; E09.36 Alternate-Path Closure; E09.37 Fail-Closed Split Rule; E09.38 Fail-Limited Split Rule; E09.39 Indeterminate Split State; E09.40 Completion Receipt; E09.41 Required Invariants.

14. Implementation Notes for E07-E09

14.1. Software PED (E07)

14.2. Hardware PED (E08)

14.3. Split PED (E09)

15. Interface and Data Model: a DPU-based gate for an AI-operated data-centre power controller

An implementer needs three objects: the Candidate Act Descriptor, the Effect Confirmation Receipt and the continuation authority. The JSON below is for readability. A deployment may carry the same fields in deterministic CBOR [RFC8949] with COSE signatures [RFC9052] or JSON with canonicalization [RFC8785]. Field names are illustrative.

15.1. Candidate Act Descriptor

{
  "act_id": "urn:act:hall-3-cap-0087",
  "type": "dc.power_cap",
  "hall": "H3",
  "phases_percent": [
    5,
    15,
    30
  ],
  "sink": "dpu-gw-3",
  "observer": "pdu-fw-row-12",
  "pdl": {
    "inlet_max_c": 32
  },
  "policy_epoch": 9,
  "nonce": "6af20c1b"
}

15.2. Effect Confirmation Receipt

{
  "act_digest": "sha256:be9102",
  "phase": 0,
  "observer": "pdu-fw-row-12",
  "observed": {
    "row": 12,
    "delta_percent": 4.9,
    "inlet_c_max": 29.4,
    "fw": "3.7.0"
  },
  "observed_at": "2026-12-02T14:20:41Z",
  "sig": "COSE_Sign1:a9f3"
}

15.3. Continuation authority

{
  "type": "hw_unsealed_key",
  "act_digest": "sha256:be9102",
  "phase": 1,
  "max_cap_percent": 15,
  "counter_before": 0,
  "counter_after": 1,
  "released_by": "se-dpu-gw-3"
}

15.4. Validation order

The validator applies the checks in a fixed order so that cheap rejections come first and every rejection is recorded.

1. parse; reject unknown critical fields
2. verify observer signature or attestation (COSE / RATS / EAT)
3. check receipt not already consumed (replay set)
4. check freshness window and clock source
5. check binding: act_digest, phase, nonce, epoch, destination
6. check receipt source is the observer named in the act
7. evaluate the field predicate against receipt fields
8. check cumulative effect + this phase <= E_MAX
9. check policy epoch and revocation state are current
10. PASS: write phase state, derive continuation, consume receipt
    otherwise: FAIL or INDETERMINATE, record reason, no widening

The sink repeats checks 3, 5 and 8 on its side before making any later phase effective, so that a compromised validator cannot cause the sink to exceed E_MAX.

16. Worked Walkthrough: a DPU-based gate for an AI-operated data-centre power controller

This walkthrough traces one Candidate Act through the architecture in the vocabulary of this field. Numbers are illustrative and are not performance claims.

17. Failure Modes and Responses: a DPU-based gate for an AI-operated data-centre power controller

The architecture is judged mostly by what it does when something goes wrong. Each case below is a condition that a test plan for this field should exercise.

18. Implementation Recipe Shared by All Profiles

This section gives a recipe that an engineer can follow with current technology. Product names are examples of component classes, not recommendations.

18.1. Step 1. Describe the Candidate Act

18.2. Step 2. Hold the authority outside the proposer

18.3. Step 3. Issue bounded authority

18.4. Step 4. Verify and consume at the sink

18.5. Step 5. Produce the receipt at the effect, not at the requester

18.6. Step 6. Validate independently

18.7. Step 7. Treat missing evidence as a state

18.8. Step 8. Close alternate paths

18.9. Step 9. Fail closed or fail limited

18.10. Step 10. Test

19. Reference Sketch (Not Hardened)

The following Python sketch shows the core mechanics: canonical digest, receipt-derived continuation, validator tolerance check, atomic consume and cumulative envelope. It is a teaching sketch. It uses a shared-key MAC for brevity; production systems would use asymmetric signatures or hardware-held keys, durable storage, a trusted clock and proper key management. It has not been security reviewed.

"""Staged-effect core sketch (not hardened)."""

import hashlib, hmac, json, sqlite3, threading, time


def canon(o):
    return json.dumps(
        o, sort_keys=True, separators=(",", ":")
    ).encode()


def dig(o):
    return hashlib.sha256(canon(o)).hexdigest()


def tag(key, *parts):
    return hmac.new(
        key, canon(list(parts)), hashlib.sha256
    ).hexdigest()


class Validator:
    """IEV: holds the root key; the proposer never sees it."""

    def __init__(self, root, sink_key, tol=0.05, ttl=30):
        self.root, self.sink_key = root, sink_key
        self.tol, self.ttl = tol, ttl
        self.seen = set()

    def authority(self, act, phase, scope, prev=""):
        d = dig(act)
        return {
            "act": d,
            "phase": phase,
            "scope": scope,
            "tag": tag(self.root, d, phase, scope, prev),
        }

    def validate(self, act, rec, expected, now=None):
        now = time.time() if now is None else now
        d = dig(act)
        body = {
            k: rec[k]
            for k in ("act", "phase", "observed", "ts")
        }
        ok = hmac.compare_digest(
            rec["mac"], tag(self.sink_key, body)
        )
        if not ok or rec["act"] != d:
            return None
        if now - rec["ts"] > self.ttl or dig(rec) in self.seen:
            return None
        if (
            abs(rec["observed"] - expected)
            > self.tol * expected
        ):
            return None
        self.seen.add(dig(rec))
        nxt = rec["phase"] + 1
        return self.authority(
            act, nxt, act["plan"][nxt], dig(rec)
        )


class Sink:
    """Finality sink: verify, consume once, act."""

    def __init__(self, root, sink_key, act):
        self.root, self.key, self.act = root, sink_key, act
        self.db = sqlite3.connect(
            ":memory:", check_same_thread=False
        )
        self.db.execute("create table used(k text primary key)")
        self.lock, self.total = threading.RLock(), 0.0

    def run(self, auth, prev="", effect=lambda s: s, now=None):
        d = dig(self.act)
        want = tag(
            self.root, d, auth["phase"], auth["scope"], prev
        )
        if auth["act"] != d or not hmac.compare_digest(
            auth["tag"], want
        ):
            return None
        with self.lock:
            if self.total + auth["scope"] > self.act["emax"]:
                return None
            try:
                self.db.execute(
                    "insert into used values(?)", (auth["tag"],)
                )
            except sqlite3.IntegrityError:
                return None
            self.total += auth["scope"]
        obs = effect(auth["scope"])
        body = {
            "act": d,
            "phase": auth["phase"],
            "observed": obs,
            "ts": time.time() if now is None else now,
        }
        return {**body, "mac": tag(self.key, body)}

A reader can reproduce the behaviour with eleven test cases: three-phase progression, replayed authority, forged receipt, mismatched observation, stale receipt, replayed receipt, phase skipping, envelope overflow, receipt for another act, twenty concurrent consumers (exactly one succeeds) and a missing or invalid receipt giving no authority.

20. Variations

21. Industrial Applicability and Adoption Process

21.1. Where the architecture applies

The architecture is applicable wherever a machine, including an AI agent, can cause a consequence that is expensive, slow or impossible to undo, and where a small real first step can reveal whether the real path behaves as planned. Typical settings are power and water utilities, telecommunications and radio networks, payment and settlement infrastructure, cloud and data-centre operations, factories and process plants, transport and mobility, logistics, healthcare devices, and AI model operations. It is least useful where there is no meaningful bounded first effect and the cost of a delay exceeds the risk; E01 single-phase protected effectuation exists for those cases.

21.2. Adoption process in ten steps

21.3. Maturity levels

An operator can adopt at Level 2 for most workloads and reserve Levels 3 and 4 for the highest consequence class.

21.4. Operating measures

21.5. Cost and latency

Staging adds at least one extra observation interval. The interval can be short (milliseconds for a hardware latch, seconds for a deployment health probe, minutes for a settlement confirmation). The design choice is to spend that interval only on acts whose consequence class justifies it, and to run lower classes in single-phase mode.

21.6. Roles and separation of duties

At least three roles are kept separate: the owner of the proposer (the agent or automation), the owner of the sink (the system that makes effects real) and the owner of the validator and enforcement domain. Where one organization holds all three, separate administrative credentials and separate hosts or hardware are used so that compromise of the proposer does not give control of the validator.

21.7. Relevant frameworks (context only)

The following frameworks are context for operators. This document does not claim that the architecture satisfies any of them, and conformance is for the operator and the relevant assessor to determine.

22. Industrial Applicability of Enforcement Domains

The choice of domain is a function of consequence class, latency and compromise model.

+--------------------------------+--------------------------------+
| Class and domain               | Realization                    |
+================================+================================+
| Low consequence, software-     | Service with its own identity, |
| trusted host. Software PED.    | durable state and kernel       |
|                                | egress gate.                   |
+--------------------------------+--------------------------------+
| Medium consequence, shared     | Attested image; keys sealed to |
| multi-tenant host. Software    | measurement; operator cannot   |
| PED in a confidential VM or    | read state.                    |
| enclave.                       |                                |
+--------------------------------+--------------------------------+
| High consequence, physical     | Secure element or HSM with     |
| effect. Hardware PED.          | counter and latch near the     |
|                                | actuator or sink.              |
+--------------------------------+--------------------------------+
| Highest consequence, one-sided | Software decision record plus  |
| compromise must be survivable. | hardware share; two-record     |
| Split PED.                     | commit.                        |
+--------------------------------+--------------------------------+
| Network-egress control on a    | DPU or SmartNIC holds phase    |
| server fleet.                  | state; host cannot open egress |
|                                | without it.                    |
+--------------------------------+--------------------------------+

Process notes: select the domain per boundary, document the compromise model in one paragraph, define how counters survive power loss, test restore-from-backup to confirm that consumed authority does not return, and rehearse a validator outage.

23. Sector Complement for Enforcement Domains

24. More Platforms as Complements for Enforcement Domains

The mapping is AI-generated, unverified against vendor documentation, and is not an endorsement or adoption claim.

25. Complementary Industry Technology and Where This Layer Could Sit

This section maps existing products and platforms to places where a staged-effect layer could be inserted. The mapping is AI-generated from public product names, has not been checked against vendor documentation and must be cross-checked. It is an architectural suggestion, not a statement that any company uses, supports, endorses or infringes anything. The product names follow those listed in [DAS-TDC].

For each entry: where the gate sits, what is checked, what is rejected, and why it matters.

25.1. AI agent platforms

25.2. Network operators and equipment

25.3. Payments

25.4. Operated infrastructure

This layer complements, and does not replace, existing safety functions such as safety instrumented systems, interlocks, type-tested protection relays, change-management and human operating procedures.

For patent examiners and researchers: every item below is a public record that uses the same or a mapped vocabulary. Addresses come from the applicant's records and from the IETF and Zenodo sites; they should be re-verified before reliance.

26.3. Sibling drafts in this set

The set splits one specification by technical field so that each field has a document in that field's own vocabulary. Each name is 46 characters or fewer.

Which of these have been submitted to the IETF has not been verified here.

26.4. Zenodo records

27. Security Considerations

28. Limits and Non-Claims

29. Status, Intellectual Property and Notices

This Internet-Draft is submitted as an individual contribution. It is not an IETF standard, has no working group status and does not represent IETF consensus.

Intellectual property: the author is aware of the pending patent applications listed in the section "Related Patent Applications and Public Disclosures". If this draft is submitted to the IETF, the author will make the disclosure required by BCP 79 before or with submission.

Origin and AI assistance. The underlying invention is human-originated and is described in the Indian application named above. AI-assisted tools were used to prepare this document (summaries, mapping to existing technology and threat scenarios). It may contain errors. Readers must cross-check it against the original publicly available sources (the source Internet-Draft and the TD Commons article linked above) before drawing any conclusion.

Scope. This document concerns AI safety for critical infrastructure and other high-consequence systems. It is not about consumer chat assistants. The architecture is experimental; it is not an IETF standard.

Industry names. Company, product and standards names appear only to identify existing technology and possible places where this architecture could sit. The mapping is AI-generated and has not been checked against vendor documentation. Their appearance is not an endorsement, validation, adoption, partnership or infringement statement, and nothing here presumes patent validity, licensing obligations or technical superiority.

30. IANA Considerations

This document has no IANA actions.

31. Search Aid for Patent Examiners and Researchers

This section lists plain, industry-standard search terms. It is an aid to prior-art searching and is not a claim construction or a statement about scope.

31.1. Keywords

policy enforcement point; hardware root of trust; confidential computing attestation; TPM monotonic counter; HSM key policy release; secure element latch; DPU SmartNIC egress control; eBPF LSM enforcement; split key shares; rollback protection; protected enforcement domain; software protected enforcement domain; hardware protected enforcement domain; split software hardware enforcement; receipt-derived hardware key; monotonic counter; hardware latch; secure element authority; TPM NV counter; confidential computing attestation; DPU SmartNIC egress gate; eBPF LSM egress control; late credential injection; split key shares; rollback protection; fail-safe physical mode; receipt-gated staged effectuation; interim effectuation validator; effect confirmation receipt; finality sink; candidate act; verified partial effect; AI safety critical infrastructure; autonomous agent security; agentic AI governance; tool-call authorization; zero trust; anti-replay protection; cyber-physical systems; industrial control security; progressive delivery; canary release; two-phase commit; hardware root of trust; maker-checker; fail-safe state; human-in-the-loop; NIST AI RMF; EU AI Act human oversight.

31.2. Search phrases

  • "the proposing software cannot directly set the protected completion state"
  • "hardware does not blindly trust software"
  • "neither side alone need possess complete authority"
  • "software cannot use a hardware share for another act"
  • "hardware cannot independently expand software policy"
  • "receipt-conditioned hardware key"
  • "hardware permits only a bounded first command and exposes broader command material only after an accepted receipt"
  • "late credential injection at the effectuation boundary"
  • "alternate-path closure"
  • "fail-closed and fail-limited modes"
  • "two-record commit software decision hardware state"
  • "protected enforcement domain collapsed or distributed"
  • "enforcement domain the agent's host cannot write"
  • "key release conditioned on a verified receipt of a prior real effect"
  • "monotonic counter advanced only after receipt validation"

31.3. Indicative classification starting points

Indicative only; not an official classification of the application. G06F 21/57 (certifying or maintaining trusted computer platforms); G06F 21/62 (protecting access to data); H04L 9/32 (authentication, message integrity); H04L 63/20 (network security policy); G05B 9/02 (safety arrangements, electric); G05B 19/048 (monitoring, safety of control programs); G06F 11/14 (error detection, recovery); G06N (AI computing systems); G06F 21/53 (execution in a restricted environment, e.g. sandbox); G06F 21/72 (protection within security modules, e.g. secure elements); G06F 21/74 (operating in isolation).

31.4. Existing technology to compare against

  • Trusted platform and confidential computing (TPM, SEV-SNP, TDX, Arm CCA): attestation and sealed secrets; compare with receipt-derived release of next-phase keys.
  • HSM and KMS key policies: per-key usage control; compare with release conditioned on a validated receipt of a prior real effect.
  • Sidecar and API-gateway policy enforcement and eBPF-based enforcement: access control at the boundary; compare with phase-state and envelope enforcement.
  • Secure element and smart-card counters: usage limits; compare with phase counters bound to act and receipt.
  • Threshold signatures and secret sharing: distributed authority; compare with continuation shares bound to act and phase.

31.5. Informative references for context

The following references identify the existing specifications and drafts against which this document should be read: [DAS-CER], [DAS-EFPL], [DAS-IEV], [DAS-RGIEV], [DAS-TDC], [RFC2119], [RFC8392], [RFC8785], [RFC8949], [RFC9052], [RFC9162], [RFC9334], [RFC9711].

33. Informative References

[DAS-CER]
Das, "Verified Actual-Effect Receipts and Protected Causal Continuation", Work in Progress, Internet-Draft, draft-das-causal-effect-receipts-00, , <https://datatracker.ietf.org/doc/draft-das-causal-effect-receipts/>.
[DAS-EFPL]
Das, "The Missing Protocol Layer for the Agentic Internet: Computation Is Not Authority", Work in Progress, Internet-Draft, draft-das-execution-finality-protocol-layer-01, , <https://datatracker.ietf.org/doc/draft-das-execution-finality-protocol-layer/>.
[DAS-IEV]
Das, "Authority Is Earned from the Real Path, Not Granted Per Session", Work in Progress, Internet-Draft, draft-das-interim-effectuation-validation-00, , <https://www.ietf.org/ietf-ftp/internet-drafts/draft-das-interim-effectuation-validation-00.txt>.
[DAS-RGIEV]
Das, "Evidence Is the Key, Not the Log: Receipt-Gated Staged Effectuation and Interim Effectuation Validation", Work in Progress, Internet-Draft, draft-das-receipt-gated-iev-00, , <https://datatracker.ietf.org/doc/html/draft-das-receipt-gated-iev-00>.
[DAS-TDC]
Das, "Enterprise AI Safety - When AI Takes Control of Critical Infrastructure, Who Verifies the Real-World Consequences?", , <https://www.tdcommons.org/dpubs_series/12960/>.
[RFC2119]
Bradner, "Key words for use in RFCs to Indicate Requirement Levels", RFC 2119, <https://www.rfc-editor.org/info/rfc2119>.
[RFC8392]
Jones, "CBOR Web Token (CWT)", RFC 8392, , <https://www.rfc-editor.org/info/rfc8392>.
[RFC8785]
Rundgren, "JSON Canonicalization Scheme (JCS)", RFC 8785, , <https://www.rfc-editor.org/info/rfc8785>.
[RFC8949]
Bormann, "Concise Binary Object Representation (CBOR)", RFC 8949, , <https://www.rfc-editor.org/info/rfc8949>.
[RFC9052]
Schaad, "CBOR Object Signing and Encryption (COSE): Structures and Process", RFC 9052, , <https://www.rfc-editor.org/info/rfc9052>.
[RFC9162]
Laurie, "Certificate Transparency Version 2.0", RFC 9162, , <https://www.rfc-editor.org/info/rfc9162>.
[RFC9334]
Birkholz, "Remote ATtestation procedureS (RATS) Architecture", RFC 9334, , <https://www.rfc-editor.org/info/rfc9334>.
[RFC9711]
IETF, "The Entity Attestation Token (EAT)", RFC 9711, <https://www.rfc-editor.org/info/rfc9711>.

Author's Address

Sangam Kumar Das
Independent
Balasore
Odisha
India