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-model-firmware-00
Published:
Intended Status:
Informational
Expires:
Author:
S. K. Das
Independent

AI Safety for Critical Infrastructure: Receipt-Gated Model State, Firmware and Software Updates, and Multi-Destination Release (E31-E33)

Abstract

Problem. AI systems now update their own memory, adapters and policies, and operators push firmware and software to large device fleets and to many destinations at once. A signed update or a passed evaluation does not show that the real devices, the real destinations or the real model state behave as expected, and an update can change the very controls that were meant to limit it. Solution. This document describes three workflows. E31: model-state update with provisional and authoritative regions, bounded delta updates, protected evaluation and no self-authorization through state mutation. E32: software, firmware and configuration update in which staging is separate from activation and a measured boot or post-activation receipt gates each cohort. E33: multi-destination, multi-recipient and multi-sink release with destination-specific authority, all-destination, quorum and critical-destination confirmation rules and per-destination reconciliation.

In industry-standard terms: over-the-air update frameworks (Uptane, SUIT), A/B partitions with anti-rollback counters, measured boot and remote attestation, model registries and memory stores, staged rollout rings, and fan-out delivery with partial-success handling. The document gives an implementation guide, data model, flowchart, variations, 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

Three kinds of change are becoming routine and are hard to reverse. Models and agents update their own memory, adapters and policies. Operators push software and firmware to fleets of meters, vehicles, routers and sensors. Systems fan out a single action to many recipients, regions or systems of record. Each has mature practice: model registries, over-the-air update frameworks, staged rings, fan-out with retries.

The remaining problem is that the permission to widen the change is typically held by the same pipeline that makes the change. If the pipeline is wrong, mistaken or compromised, it widens. A model that updates its own policy state is a special case: the update can change the rules that limited the model.

E31, E32 and E33 apply staged effectuation to model state, to software and firmware update, and to multi-destination release.

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 an AI-managed firmware update for a fleet of smart electricity meters

Update frameworks already offer signing, A/B slots, rollback and staged rings. Model platforms offer registries and evaluation. The table shows the additional dependency.

+--------------------------------+--------------------------------+
| Conventional practice          | This architecture              |
+================================+================================+
| An update is signed and        | Activation key or authority    |
| verified; activation happens   | for each cohort exists only    |
| on schedule or by an operator  | after measured-boot or post-   |
| command.                       | activation receipts for the    |
|                                | previous cohort.               |
+--------------------------------+--------------------------------+
| A staged ring is widened by a  | Widening is a capability       |
| person or a rule watching a    | created by the validator on    |
| dashboard.                     | attested fleet evidence.       |
+--------------------------------+--------------------------------+
| Rollback is a new update that  | The A/B inactive partition is  |
| may not apply to bricked       | the first phase; failed        |
| devices.                       | devices fall back and the      |
|                                | remainder was never activated. |
+--------------------------------+--------------------------------+
| A model writes to its memory   | Writes go to a provisional     |
| store directly; evaluation     | region; promotion to           |
| runs periodically.             | authoritative state needs an   |
|                                | independent evaluation         |
|                                | receipt.                       |
+--------------------------------+--------------------------------+
| A model can edit configuration | No self-authorization through  |
| that governs its tools.        | state mutation: policy state   |
|                                | is changed only through the    |
|                                | protected path.                |
+--------------------------------+--------------------------------+
| Fan-out sends to all           | Destination-specific authority |
| recipients and retries         | and receipts per destination,  |
| failures.                      | with quorum and critical-      |
|                                | destination rules and per-     |
|                                | destination reconciliation.    |
+--------------------------------+--------------------------------+

9. Flowchart: an AI-managed firmware update for a fleet of smart electricity meters

The flowchart shows a firmware update in cohorts with A/B activation. Model-state promotion (E31) and multi-destination release (E33) follow the same loop.

  Candidate Update (image digest, cohorts, anti-rollback floor)
                       |
                       v
        [signature, SBOM, supply-chain checks] --fail--> HOLD
                       |
                       v
        STAGE image on all targets (inactive slot, no activation)
                       |
                       v
        cohort-0 activation authority: 50 meters only
                       |
                       v
        [activation boundary verifies + consumes]
                       |
                       v
        REAL ACTIVATION (switch slot, reboot) on 50 meters
                       |
                       v
        secure element measured-boot attestation + telemetry
        = receipt set R0 (hash match, counter, continuity, comms)
                       |
                       v
        [IEV validates R0 against cohort predicate (>= 98 percent)]
         FAIL | INDET.                  | PASS
              v                         v
        freeze rollout, slot      activation key share for cohort 1
        fallback, reconcile       (500), then 5,000, then all
                                        |
                                        v
                        final receipt, anti-rollback counter advanced

Staging and activation are different effects: a staged but inactive image has no consequence. Only activation is gated.

10. E31: Receipt-Gated Model-State Update and Protected State Promotion

E31 applies staged effectuation to the state of a model or agent.

11. E32: Receipt-Gated Software, Firmware and Configuration Update

E32 applies staged effectuation to updates.

12. E33: Receipt-Gated Multi-Destination, Multi-Recipient and Multi-Sink Effectuation

E33 applies staged effectuation to actions with many destinations.

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. E31: model-state update

E31.1 Purpose; E31.2 Model-State Scope; E31.3 Candidate Model-State Update; E31.4 State-Authority Separation; E31.5 Provisional Model-State Region; E31.6 Authoritative Model-State Region; E31.7 Bounded Phase-0 State Update; E31.8 Model-State Effectuation Envelope; E31.9 Delta-Bounded Parameter Update; E31.10 Protected Evaluation of Updated State; E31.11 Model-State Receipt; E31.12 State-Version Binding; E31.13 State-Digest Binding; E31.14 Automatic Continuation; E31.15 Human Continuation; E31.16 Hybrid Continuation; E31.17 Progressive Memory Promotion; E31.18 Progressive Vector-Memory Update; E31.19 Parameter / Adapter Promotion; E31.20 Protected Policy-State Update; E31.21 No Self-Authorization Through State Mutation; E31.22 Rollback and Previous-State Preservation; E31.23 Crash and Indeterminate State; E31.24 Multi-Replica Model State; E31.25 Hardware-Rooted Model-State Promotion; E31.26 Accelerator-Resident State; E31.27 SEND Analogue; E31.28 Payment Analogue; E31.29 Anti-Bypass; E31.30 Required Invariants.

13.2. E32: software, firmware and configuration update

E32.1 Purpose; E32.2 Candidate Update Act; E32.3 Update Artifact Binding; E32.4 Staging Versus Activation; E32.5 Maximum Update Envelope; E32.6 Phase-0 Real Update; E32.7 Target-Cohort Progression; E32.8 Update Manifest; E32.9 Phase-Specific Activation Authority; E32.10 Protected Installation and Activation; E32.11 Post-Activation Observation; E32.12 Update Effect Receipt; E32.13 Measured-Boot / Secure-Boot Receipt; E32.14 Automatic Rollout Continuation; E32.15 Human Approval Between Update Phases; E32.16 Hybrid Update Approval; E32.17 A/B Partition Update; E32.18 Firmware Update; E32.19 Configuration Update; E32.20 Dependency-Aware Update; E32.21 Multi-Component Atomic Update; E32.22 Progressive Percentage Rollout; E32.23 Device-Class Segmentation; E32.24 Rollback Authority; E32.25 Update Failure; E32.26 Indeterminate Update; E32.27 Anti-Rollback Counter; E32.28 Cryptographic Activation Material; E32.29 Offline Device Update; E32.30 SEND Analogue; E32.31 Payment Analogue; E32.32 Alternate-Path Closure; E32.33 Required Invariants.

13.3. E33: multi-destination and multi-sink effectuation

E33.1 Purpose; E33.2 Candidate Multi-Destination Act; E33.3 Maximum Destination Set; E33.4 Destination Identity Binding; E33.5 Destination Descriptor; E33.6 Bounded Initial Destination Set; E33.7 Destination-Specific Effectuation Authority; E33.8 Destination-Specific Cryptographic Material; E33.9 Parallel Destination Effectuation; E33.10 Aggregate Receipt Set; E33.11 All-Destination Confirmation Rule; E33.12 Quorum Destination Confirmation; E33.13 Weighted Destination Confirmation; E33.14 Critical-Destination Predicate; E33.15 Partial Success; E33.16 Failed-Destination Set; E33.17 Indeterminate-Destination Set; E33.18 Per-Destination Reconciliation; E33.19 Progressive Destination Expansion; E33.20 Destination-Class Progression; E33.21 Multi-Recipient SEND Workflow; E33.22 Group Message With Per-Recipient Keys; E33.23 Multi-Beneficiary Payment Workflow; E33.24 Multi-Region Deployment Workflow; E33.25 Multi-Sink Effectuation; E33.26 Heterogeneous Sink Types; E33.27 Cross-Jurisdiction Destination Control; E33.28 Human Approval of Destination Expansion; E33.29 Automatic Destination Expansion; E33.30 Hybrid Destination Expansion; E33.31 Destination Revocation; E33.32 Destination Substitution; E33.33 Duplicate-Destination and Alias Handling; E33.34 Destination-Path Binding; E33.35 Recipient Privacy Variation; E33.36 Threshold Cryptography Across Destinations; E33.37 Hardware-Enforced Multi-Destination Release; E33.38 Multi-Destination Receipt Tree; E33.39 Completion Semantics.

14. Implementation Notes for E31-E33

14.1. Model state (E31)

14.2. Updates (E32)

14.3. Multi-destination (E33)

15. Interface and Data Model: an AI-managed firmware update for a fleet of smart electricity meters

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:ami-fw-4.2.0",
  "type": "fw.update",
  "image": "sha256:b6d2f9",
  "fleet": 50000,
  "cohorts": [
    50,
    500,
    5000,
    50000
  ],
  "sink": "headend-activate",
  "observer": "meter-se",
  "anti_rollback_min": 17,
  "policy_epoch": 8,
  "nonce": "3e8b0a41"
}

15.2. Effect Confirmation Receipt

{
  "act_digest": "sha256:6a02de",
  "cohort": 0,
  "observer": "meter-se",
  "meters": 50,
  "boot_hash_match": 50,
  "rollback_ctr": 18,
  "billing_continuity": 50,
  "comm_ok": 49,
  "window_s": 3600,
  "sig": "COSE_Sign1:c21d"
}

15.3. Continuation authority

{
  "type": "activation_key_share",
  "act_digest": "sha256:6a02de",
  "cohort": 1,
  "meters_max": 500,
  "released_by": "headend-hsm",
  "single_use": true,
  "valid_s": 7200
}

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: an AI-managed firmware update for a fleet of smart electricity meters

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: an AI-managed firmware update for a fleet of smart electricity meters

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 Model-State, Update and Multi-Destination Workflows

These workflows apply to utilities with smart meters and grid devices, vehicle makers, network equipment vendors and operators, medical device makers, industrial equipment vendors, cloud and platform providers and AI developers.

+-------------------------------+---------------------------------+
| Use                           | Staging                         |
+===============================+=================================+
| Firmware update for metering  | Cohort by hardware revision;    |
| or protection devices.        | attested boot receipts;         |
|                               | activation key per cohort.      |
+-------------------------------+---------------------------------+
| Over-the-air update for a     | Small cohort; state and boot    |
| vehicle fleet.                | receipts; then more.            |
+-------------------------------+---------------------------------+
| Agent memory or adapter       | Provisional region; independent |
| update.                       | evaluation receipt; promote.    |
+-------------------------------+---------------------------------+
| Policy update for a safety or | Staged update with human        |
| compliance rule set.          | approval; no self-              |
|                               | authorization.                  |
+-------------------------------+---------------------------------+
| Notification or payment to    | Initial recipient subset; per-  |
| many recipients.              | destination receipts; expand by |
|                               | rule.                           |
+-------------------------------+---------------------------------+

Process note: classify fleets by consequence of failed update (safety, billing, connectivity), set cohort sizes and thresholds by class, and make safety-related devices require human approval at the later cohorts.

23. Industry Platforms as Complements for Model State, Updates and Multi-Destination Release

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

24. 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.

24.1. AI agent platforms

24.2. Network operators and equipment

24.3. Payments

24.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.

25.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.

25.4. Zenodo records

26. Security Considerations

27. Limits and Non-Claims

28. 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.

29. IANA Considerations

This document has no IANA actions.

30. 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.

30.1. Keywords

staged firmware rollout attestation; over-the-air update Uptane SUIT; A/B partition anti-rollback; measured boot attestation; activation key per cohort; model memory promotion; no self-authorization policy state; vector store update safety; multi-recipient quorum confirmation; fan-out partial success; smart meter firmware update; fleet update rings; 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.

30.2. Search phrases

  • "staging is separate from activation"
  • "activation material for the next cohort exists only after attested boot receipts"
  • "a model cannot authorize its own state mutation"
  • "critical-destination predicate"
  • "per-destination reconciliation without retrying proven-effected destinations"
  • "multi-destination receipt tree"
  • "provisional and authoritative model-state regions"

30.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 8/65 (software updates); G06F 21/57 (certifying trusted platforms); H04L 67/00 (network arrangements); G06N 20/00 (machine learning).

30.4. Existing technology to compare against

  • Over-the-air update frameworks (Uptane, SUIT RFC 9019 and RFC 9124, TUF) with A/B partitions and anti-rollback: compare with activation key release gated by cohort receipts.
  • Staged rollout rings in operating system and application update services: compare with promotion capability created only on attested evidence.
  • Model registries, memory stores and evaluation harnesses: compare with provisional-to-authoritative promotion on independent evaluation receipts.
  • Measured boot and remote attestation (RFC 9334): compare with attestation as the receipt for the cohort.
  • Fan-out delivery with retries and quorum acknowledgement: compare with destination-specific authority and receipts.

30.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], [RFC8392], [RFC8785], [RFC8949], [RFC9052], [RFC9162], [RFC9334], [RFC9711].

32. 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/>.
[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