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

AI Safety for Critical Infrastructure: Receipt-Derived Key Chains, Threshold Continuation and Message Trailers for Staged Effectuation (E10-E12)

Abstract

Problem. Most safeguards on AI-issued commands rely on permissions that stay valid after the first message, so a command sent to the wrong recipient, or an authority that one operator or one key can exercise alone, exposes the whole consequence. Solution. This document describes three cryptographic mechanisms for staged effectuation. E10: a key chain in which the key for phase i+1 can be derived or unsealed only after a validated receipt of phase i, with hardware counters and latches. E11: threshold continuation, in which the continuation authority is split among participants (software, hardware, human, destination, sink) and no single party can complete the act. E12: a message trailer, a small real message that carries a commitment to the full payload and whose confirmed receipt by the intended recipient releases the full message.

In industry-standard terms: HKDF-style key derivation conditioned on evidence, TPM and HSM policy-bound key release, Shamir or FROST threshold signing, commit-then-reveal and envelope-first messaging. 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

A message that carries a command is both content and authority. If the command is encrypted for the intended recipient, an attacker who only redirects the message learns nothing. If it is merely signed, a redirect sends the full command to a party that can act on it. If the key to the full command is held by one operator, one compromised operator can release it. These three cases correspond to the three workflows of this document.

E10 binds key derivation to evidence. E11 binds continuation to a threshold of participants. E12 binds a message's full payload to a confirmed receipt of a small trailer message. All three use well-known primitives: key derivation functions, sealed keys, threshold secret sharing, commitments and signed receipts. The novelty is not in the primitives but in making the key or share for the next step depend on a validated receipt of a real earlier effect.

The source records are [DAS-RGIEV], [DAS-IEV] and the TD Commons article [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 protected configuration message to a remote terminal unit

Key management systems and messaging protocols already bind keys to identity, policy and usage limits. The table shows the added dependency on evidence of a prior real effect.

+--------------------------------+--------------------------------+
| Conventional practice          | This architecture              |
+================================+================================+
| A message is encrypted to a    | A small trailer is sent first; |
| recipient key and sent;        | the full payload key exists    |
| delivery is assumed or         | only after a signed receipt    |
| confirmed by a read receipt.   | from the intended recipient.   |
+--------------------------------+--------------------------------+
| An HSM key policy limits who   | Key use also requires a        |
| may use a key and how often.   | verified receipt digest, act   |
|                                | digest and phase.              |
+--------------------------------+--------------------------------+
| A key rotates on a time        | A chain of phase keys advances |
| schedule.                      | on evidence; each phase key is |
|                                | separated from the others.     |
+--------------------------------+--------------------------------+
| m-of-n approval for key        | Threshold continuation is a    |
| release is a quorum of         | quorum of authority shares     |
| approvers on a request.        | that are each released only    |
|                                | against the receipt; it is     |
|                                | distinct from receipt quorum.  |
+--------------------------------+--------------------------------+
| A wrong-recipient send exposes | It exposes the trailer only,   |
| the whole message.             | which contains a commitment    |
|                                | and a descriptor.              |
+--------------------------------+--------------------------------+
| A restored backup can bring    | Monotonic counters and latches |
| old keys back.                 | stop a consumed phase from     |
|                                | reopening.                     |
+--------------------------------+--------------------------------+

9. Flowchart: protected configuration message to a remote terminal unit

The flowchart shows a receipt-derived key chain with a threshold share and a trailer-first message.

  Candidate Act (full message M, recipient R, E_MAX)
                     |
                     v
       [PED binds act digest; derives K0 only]
                     |
                     v
       trailer T = {descriptor, commit(M), recipient binding}
       sent with K0  --->  intended recipient R
                              |
                              v
                R verifies identity + T; signs receipt R0
                     |
                     v
         [IEV validates R0: recipient, digest, version]
           FAIL / INDET.                | PASS
                |                       v
                v          K1 = KDF(root, act, phase 1, H(R0))
              HOLD         share_sw (PED) + share_hw (secure element)
                                        |
                       threshold k-of-n shares present?
                           no |            | yes
                              v            v
                            HOLD     reconstruct K1 at the sink only
                                           |
                                           v
                              FULL PAYLOAD M released to R
                                           |
                                           v
                              completion receipt, K1 consumed,
                              counter advanced, K0 zeroized

A wrong recipient, a missing receipt or a missing share each leave the full payload undecryptable. The counter makes the advance one-way.

10. E10: Hardware Root of Authority and Receipt-Conditioned Key Chains

E10 describes how a hardware module (secure element, HSM, TPM, TEE or secure MCU) holds a root of authority and derives or unseals the key for each phase only after the receipt of the previous phase has been validated.

10.1. Key chain

Hardware objects that can carry the phase authority include a device-specific MAC value, a signing permission, a decryption key, a storage unwrap key, a DMA authorization, a network-transmit enable value, a motor-control authorization and a transaction completion value.

10.2. Failure handling

Invalid receipts, replayed receipts, rollback attempts, root-key rotation, policy epoch change and revocation between key stages are all handled by refusing to derive the next key. Power loss and crash recovery use the stored counter and the phase state to resume without repeating an effect.

11. E11: Threshold and Multi-Participant Continuation

E11 divides the continuation authority among participants so that no single party can complete the act. It is distinct from a receipt quorum (E34), which concerns how many receipts are required. Here, the number of authority shares is the quantity.

12. E12: Message Trailers, Trailer-Then-Payload and Related Variations

E12 applies staged effectuation to communication. A real, bounded SEND, the trailer, goes out first. The recipient's receipt of the trailer is the evidence that releases the full message.

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. E10: hardware key chains

E10.1 Purpose; E10.2 Hardware Root of Authority; E10.3 Candidate Act Binding; E10.4 Initial Phase Authority; E10.5 Narrow Phase Scope; E10.6 Phase-0 Verification at Hardware Boundary; E10.7 Real Initial Effect; E10.8 Receipt Acquisition; E10.9 Hardware Receipt Validation; E10.10 Receipt-Conditioned Key Derivation; E10.11 Receipt-Conditioned Unsealing Variation; E10.12 Wrapped-Key Variation; E10.13 Hardware Latch Coupling; E10.14 Monotonic Phase State; E10.15 Atomic Receipt Consumption and State Advance; E10.16 Key Separation Across Phases; E10.17 Compromise Containment; E10.18 Key Zeroization; E10.19 Human Approval Integration; E10.20 Automatic Approval Integration; E10.21 Hybrid Approval Integration; E10.22 Single-Phase Compatibility; E10.23 Multi-Phase Key Chain; E10.24 Entire-History Binding Variation; E10.25 Multiple-Sink Variation; E10.26 Device-Bound Variation; E10.27 SEND Example; E10.28 Payment Example; E10.29 Actuator Example; E10.30 Network / SmartNIC Example; E10.31 Storage Controller Example; E10.32 Policy Epoch Change; E10.33 Revocation Between Key Stages; E10.34 Receipt Replay Protection; E10.35 Rollback Protection; E10.36 Crash and Power-Loss Recovery; E10.37 Invalid Receipt Handling; E10.38 Root-Key Rotation; E10.39 Anti-Bypass Requirement; E10.40 Completion Evidence; E10.41 Required Invariants.

13.2. E11: threshold and multi-participant continuation

E11.1 Purpose; E11.2 Participant Set; E11.3 Threshold Rule; E11.4 Distinction from Receipt Quorum; E11.5 Per-Phase Authority Share; E11.6 Share Binding; E11.7 Receipt-Conditioned Share Release; E11.8 Local Independent Validation; E11.9 Authority Contribution Set; E11.10 Mandatory-Participant Variation; E11.11 Combined Continuation Authority; E11.12 No-Reconstruction Variation; E11.13 Human Share Variation; E11.14 Automatic Authority Share; E11.15 Hardware Share; E11.16 Destination Share; E11.17 Sink Share; E11.18 Phase-Specific Threshold; E11.19 Risk-Adaptive Threshold; E11.20 Role-Constrained Threshold; E11.21 Geographic / Jurisdictional Split; E11.22 Multi-Organization Split; E11.23 SEND Workflow; E11.24 Payment Workflow; E11.25 Robotic / Industrial Workflow; E11.26 Threshold Key Release; E11.27 Threshold Signature Variation; E11.28 Multi-Signature Variation; E11.29 Share Freshness; E11.30 Share Replay Protection; E11.31 Participant Revocation; E11.32 Dynamic Membership; E11.33 Re-Sharing / Key Rotation; E11.34 Participant Failure; E11.35 Conflicting Participant Decisions; E11.36 Human Veto Variation; E11.37 Indeterminate Receipt Before Threshold; E11.38 Share Confidentiality; E11.39 Collusion Consideration; E11.40 Alternate-Path Closure; E11.41 Completion Receipt; E11.42 Required Invariants.

13.3. E12: trailer-first communication

E12.1 Purpose; E12.2 Communication Candidate Act; E12.3 Full Communication Object; E12.4 Bounded Trailer Object; E12.5 Real SEND Requirement; E12.6 Full-Payload Commitment; E12.7 Trailer Descriptor; E12.8 Recipient Binding; E12.9 Account and Device Binding; E12.10 Phase-0 SEND Authority; E12.11 Egress Boundary Verification; E12.12 Trailer Transmission; E12.13 Recipient Processing; E12.14 Recipient Effect Confirmation Receipt; E12.15 Receipt Authentication; E12.16 Receipt Verification; E12.17 Wrong-Recipient Receipt; E12.18 Human Review After Trailer; E12.19 Automatic Continuation After Trailer; E12.20 Hybrid Continuation; E12.21 Trailer-Then-Full Payload Variation; E12.22 Trailer-Then-Phased Payload Variation; E12.23 Ciphertext-First Variation; E12.24 Partial-Decryption Trailer Variation; E12.25 Key-Chain SEND Variation; E12.26 Threshold SEND Variation; E12.27 File Attachment Variation; E12.28 Link / Object-Store Variation; E12.29 Multi-Recipient Variation; E12.30 Recipient-Specific Semantic Release; E12.31 Group / Distribution-List Variation; E12.32 Thread / Conversation Binding; E12.33 Reply-Path Verification; E12.34 Protocol-Downgrade Protection; E12.35 Content Substitution Protection; E12.36 Attachment Substitution Protection; E12.37 Recipient Redirection Protection; E12.38 Expiry and Stale Receipt; E12.39 Revocation Between Trailer and Full SEND; E12.40 Destination-State Change; E12.41 Crash After Trailer SEND; E12.42 Duplicate Full-SEND Protection; E12.43 Indeterminate Full SEND; E12.44 Negative Receipt; E12.45 Privacy-Preserving Trailer; E12.46 Sensitive-Content Variation; E12.47 Low-Risk Message Variation; E12.48 Hardware-Enforced SEND; E12.49 Software-Enforced SEND; E12.50 Split Software/Hardware SEND; E12.51 Telecom / Radio SEND Variation; E12.52 Machine-to-Machine SEND; E12.53 SEND Versus Payment Analogy; E12.54 Anti-Bypass Requirement; E12.55 Completion Receipt; E12.56 Required Invariants.

14. Implementation Notes for E10-E12

14.1. Key chain (E10)

14.2. Threshold continuation (E11)

14.3. Trailer-first message (E12)

15. Interface and Data Model: protected configuration message to a remote terminal unit

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:rtu221-cfg-77",
  "type": "msg.config_update",
  "recipient": "rtu-221",
  "payload_commit": "sha256:5c0d1e",
  "trailer_bytes": 512,
  "phases": [
    "trailer",
    "payload"
  ],
  "threshold": {
    "k": 2,
    "n": 3
  },
  "policy_epoch": 23,
  "nonce": "1d9e44aa"
}

15.2. Effect Confirmation Receipt

{
  "act_digest": "sha256:5c0d1e",
  "phase": 0,
  "observer": "rtu-221-se",
  "recipient": "rtu-221",
  "trailer_digest": "sha256:88ab1c",
  "fw": "2.9.4",
  "observed_at": "2026-12-02T11:02:09Z",
  "sig": "COSE_Sign1:be11"
}

15.3. Continuation authority

{
  "type": "receipt_derived_key",
  "kdf": "HKDF-SHA256",
  "info": [
    "act_digest",
    "phase:1",
    "receipt_digest"
  ],
  "shares": {
    "software": "held",
    "hardware": "released"
  },
  "counter_after": 1,
  "valid_s": 300
}

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: protected configuration message to a remote terminal unit

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: protected configuration message to a remote terminal unit

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 Key Chains, Threshold and Trailers

These mechanisms apply wherever a command or a data release is carried by a message and where the recipient can confirm identity and readiness cheaply.

+-------------------------------+---------------------------------+
| Use                           | Mechanism                       |
+===============================+=================================+
| Configuration or firmware     | Trailer to the unit; its secure |
| command to a remote terminal  | element confirms identity and   |
| unit or relay.                | version; payload key released.  |
+-------------------------------+---------------------------------+
| Release of an encryption key  | HSM releases the dataset key    |
| for a sensitive dataset.      | share only against a receipt    |
|                               | from the intended enclave.      |
+-------------------------------+---------------------------------+
| Emergency action requiring    | Threshold of control-room,      |
| several authorities.          | field and automatic shares; no  |
|                               | single operator can complete.   |
+-------------------------------+---------------------------------+
| Payment instruction to a new  | Trailer confirms beneficiary    |
| correspondent.                | identity; payment key released  |
|                               | after the receipt.              |
+-------------------------------+---------------------------------+
| Message to a satellite or     | Trailer-first with local        |
| remote asset with long        | continuation at the asset; see  |
| latency.                      | the telecom document in this    |
|                               | set.                            |
+-------------------------------+---------------------------------+

Process note: start with the message class that is most often misdirected or most damaging if misdirected, add the trailer step, and measure how often trailer receipts fail. A high failure rate is itself information about address or identity hygiene.

23. Industry Platforms as Complements for Key Chains and Trailers

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

receipt-derived key; HKDF key derivation policy; hardware-bound key release; threshold continuation; Shamir secret sharing; FROST threshold signature; commit-then-reveal messaging; envelope-first messaging; trailer message; wrong-recipient protection; HSM policy-bound key release; TPM NV counter; 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

  • "key for the next phase derived only after a validated receipt"
  • "bounded trailer message before the full message"
  • "continuation authority split among participants"
  • "threshold continuation distinct from receipt quorum"
  • "full payload undecryptable without recipient receipt"
  • "monotonic phase state in hardware"
  • "recipient-signed effect confirmation receipt"

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); H04L 9/08 (key distribution); H04L 9/0894 (key escrow or storage); H04L 9/085 (secret sharing); H04L 9/3247 (digital signatures).

30.4. Existing technology to compare against

  • Key derivation functions and key hierarchies (HKDF, NIST SP 800-108): derive keys from a root and context; compare with context that includes a validated receipt digest.
  • TPM policy sessions and sealed keys: release conditioned on platform state; compare with release conditioned on a prior real effect.
  • Threshold signatures and secret sharing (Shamir, FROST RFC 9591): distributed authority; compare with shares bound to act, phase and receipt.
  • Hybrid public key encryption (RFC 9180) and MLS (RFC 9420): confidential messaging; compare with phase-gated release of the payload key.
  • Commit-reveal schemes: commitment first, reveal later; compare with a real bounded message whose confirmed receipt releases the reveal.

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