| Internet-Draft | AI Safety for Critical Infrastructure: | December 2026 |
| Das | Expires 5 June 2027 | [Page] |
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).¶
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.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document.¶
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].¶
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).¶
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.¶
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.¶
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.¶
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.¶
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:¶
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. | +--------------------------------+--------------------------------+¶
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.¶
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. | +--------------------------------+--------------------------------+¶
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.¶
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.¶
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.¶
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.¶
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.¶
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.¶
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.¶
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.¶
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.¶
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.¶
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.¶
{
"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"
}
¶
{
"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"
}
¶
{
"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
}
¶
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.¶
This walkthrough traces one Candidate Act through the architecture in the vocabulary of this field. Numbers are illustrative and are not performance claims.¶
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.¶
This section gives a recipe that an engineer can follow with current technology. Product names are examples of component classes, not recommendations.¶
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.¶
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.¶
An operator can adopt at Level 2 for most workloads and reserve Levels 3 and 4 for the highest consequence class.¶
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.¶
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.¶
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.¶
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.¶
The mapping is AI-generated, unverified against vendor documentation, and is not an endorsement or adoption claim.¶
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.¶
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.¶
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.¶
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.¶
This document has no IANA actions.¶
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.¶
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.¶
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).¶
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].¶