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

AI Safety for Critical Infrastructure: Quorum-Confirmed Effectuation and Recovery from Negative, Indeterminate and Conflicting Evidence (E34-E35)

Abstract

Problem. Critical systems are replicated, and effects often complete partly, late or ambiguously. A timeout, a lost acknowledgement, replicas that disagree, or a receipt that arrives after a retry can each lead an AI agent or an automated workflow to repeat an effect, skip a failure or widen authority on false information. Solution. This document describes two workflows. E34: replicated, quorum-confirmed and consensus-based effectuation, in which continuation needs a quorum of replica receipts, commit certificates, membership and epoch binding, split-brain handling and fencing. E35: handling of negative, indeterminate and conflicting evidence, with an explicit outcome state set, a rule that a missing receipt is not a negative receipt, protected reconciliation, retry authority, partial-effect quantification, compensation and rollback receipts and recovery authority that is itself consumed.

In industry-standard terms: Raft, Paxos and PBFT-style quorum commit, fencing tokens and epochs, split-brain prevention, idempotent receivers, the saga pattern with compensating transactions, reconciliation and exactly-once effects, and fail-safe states. 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

Replicated systems agree on state by quorum, consensus or similar means. Operators know the failure modes well: split brain, stale replicas, deposed leaders, lost acknowledgements, retries that duplicate an effect, partial success across destinations, late confirmations after a compensating action. Mature systems handle most of them with epochs, fencing tokens, idempotent receivers, saga patterns and reconciliation jobs.

An AI agent that operates such systems adds two problems. It tends to proceed on a plausible reading of ambiguous evidence, and it can both initiate the effect and interpret the evidence. E34 and E35 give the evidence rules that an enforcement domain applies so that continuation never rests on a single replica's word, a missing receipt, or the agent's own reading.

E34 describes replicated and quorum-confirmed effectuation. E35 describes negative, indeterminate and conflicting evidence and how recovery authority is created and consumed.

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-driven primary promotion in a three-region replicated ledger

Consensus protocols, fencing and sagas are standard. The table shows how they compose with an evidence-gated authority rather than replace it.

+--------------------------------+--------------------------------+
| Conventional practice          | This architecture              |
+================================+================================+
| Consensus makes replicas agree | A commit certificate from      |
| on a log; the application      | replicas, bound to membership  |
| proceeds when the commit is    | version and epoch, is evidence |
| reported.                      | that creates the next-phase    |
|                                | authority.                     |
+--------------------------------+--------------------------------+
| A timeout is treated as        | A missing receipt is           |
| failure and retried, or as     | INDETERMINATE and is never     |
| success and skipped.           | treated as a negative receipt. |
+--------------------------------+--------------------------------+
| An orchestrator or agent       | Recovery needs a recovery      |
| decides how to recover.        | authority created from a       |
|                                | recovery receipt; the agent    |
|                                | cannot create it.              |
+--------------------------------+--------------------------------+
| A late success after a         | Late positive receipts after   |
| compensating action causes     | negative receipts or retries   |
| inconsistency that a job later | are handled by explicit states |
| reconciles.                    | and duplicate-effect           |
|                                | detection.                     |
+--------------------------------+--------------------------------+
| Fencing tokens protect         | Fencing and epoch authority    |
| resources from stale leaders   | are part of the receipt        |
| at the resource.               | binding and the continuation   |
|                                | authority.                     |
+--------------------------------+--------------------------------+
| Compensation is a business     | Compensation and rollback      |
| process.                       | receipts are first-class       |
|                                | evidence and have their own    |
|                                | consumption rules.             |
+--------------------------------+--------------------------------+

9. Flowchart: an AI-driven primary promotion in a three-region replicated ledger

The flowchart shows quorum confirmation of a bounded effect and the evidence classification that drives continuation, retry or recovery.

        Bounded real effect on replicated set (step i)
                       |
                       v
        replicas sign receipts (membership_v, epoch, log pos)
                       |
                       v
        [IEV: classify evidence]
          |             |               |               |
          v             v               v               v
      POSITIVE      NEGATIVE       INDETERMINATE     CONFLICT
      quorum met,   explicit       missing / late /  replicas or
      critical      failure        incomplete        observers
      replica ok    receipt                          disagree
          |             |               |               |
          v             v               v               v
     continuation   compensate /   protected        evidence
     authority      roll back;     recovery query   hierarchy +
     + new          no retry       -> PROVEN_       escalation
     fencing        without        EFFECTED /           |
     token          retry          PROVEN_NOT_          |
          |         authority      EFFECTED /           |
          |             |          INDETERMINATE        |
          |             +----------------+--------------+
          v                              v
     next step i+1               recovery receipt -> recovery
                                  authority (single use) -> retry,
                                  compensate, or safe state

No branch lets the proposer decide. Each non-positive branch ends in a protected state, a recovery authority that is consumed, or a safe state.

10. E34: Replicated, Quorum-Confirmed and Consensus-Based Effectuation

E34 applies staged effectuation when an effect is carried out by, or confirmed by, many replicas.

11. E35: Negative, Indeterminate, Conflicting Evidence, Reconciliation and Recovery

E35 states what the architecture does when the evidence is not a clean positive.

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

12.1. E34: replicated and quorum-confirmed effectuation

E34.1 Purpose; E34.2 Replicated Effectuation Set; E34.3 Replica-Specific Phase Authority; E34.4 Real Replicated Effect; E34.5 Replica Receipt; E34.6 Replica Role Binding; E34.7 Protected Receipt Set; E34.8 Quorum Rule; E34.9 Weighted Quorum; E34.10 Role-Constrained Quorum; E34.11 Consensus Confirmation; E34.12 Commit Certificate; E34.13 Commit Certificate Construction; E34.14 Receipt-Tree Aggregation; E34.15 Replicated-State Version Binding; E34.16 Membership Version Binding; E34.17 Replica Lag; E34.18 Partial Replica Success; E34.19 Critical Replica Requirement; E34.20 Split-Brain Detection; E34.21 Split-Brain Effect State; E34.22 Byzantine or Malicious Replica Variation; E34.23 Same-Organization Replica Variation; E34.24 Cross-Organization Replica Variation; E34.25 Phase-Specific Quorum; E34.26 Risk-Adaptive Quorum; E34.27 Human Approval After Quorum; E34.28 Automatic Continuation After Quorum; E34.29 Hybrid Continuation; E34.30 Receipt-Derived Continuation Authority; E34.31 Hardware-Rooted Aggregate Confirmation; E34.32 Database Replication Example; E34.33 Distributed Storage Example; E34.34 SEND / Messaging Example; E34.35 Payment Example; E34.36 Cloud Deployment Example; E34.37 Telecom Example; E34.38 Physical-Control Example; E34.39 Replica Failure During Phase; E34.40 Membership Change During Phase; E34.41 Late Receipt Handling; E34.42 Quorum Receipt Consumption; E34.43 Replica Receipt Replay Protection; E34.44 Conflicting Aggregate Certificates; E34.45 Network Partition; E34.46 Fencing and Epoch Authority; E34.47 Reconciliation After Replica Divergence; E34.48 Anti-Bypass Requirement; E34.49 Software Implementation; E34.50 Hardware / Split Implementation; E34.51 Required Invariants.

12.2. E35: negative, indeterminate and conflicting evidence and recovery

E35.1 Purpose; E35.2 Negative Receipt; E35.3 Negative Receipt Representation; E35.4 Indeterminate Receipt; E35.5 Conflict Receipt / Conflict Evidence; E35.6 Outcome State Set; E35.7 Positive Evidence Versus Negative Evidence; E35.8 Missing Receipt Is Not Negative Receipt; E35.9 Negative Receipt Validation; E35.10 Effect-State Granularity; E35.11 Protected Reconciliation State; E35.12 Reconciliation Evidence Set; E35.13 Reconciliation Function; E35.14 PROVEN_EFFECTED Result; E35.15 PROVEN_NOT_EFFECTED Result; E35.16 Retry Authority; E35.17 Retry Counter; E35.18 Consequence-Safe Retry; E35.19 Partial Effect Result; E35.20 Partial Effect Quantification; E35.21 Compensation Receipt; E35.22 Rollback Receipt; E35.23 Late Positive Receipt After Negative Receipt; E35.24 Late Receipt After Retry; E35.25 Duplicate-Effect Detection; E35.26 Conflicting Protected Evidence; E35.27 Evidence Authority Hierarchy; E35.28 Human Reconciliation Approval; E35.29 Automatic Reconciliation; E35.30 Hybrid Recovery; E35.31 Time-Bounded Indeterminate State; E35.32 Protected Recovery Query; E35.33 Query Result Receipt; E35.34 SEND Example - Missing Delivery Confirmation; E35.35 SEND Example - Wrong Recipient Rejection; E35.36 Payment Example - Timeout After Submission; E35.37 Payment Example - Partial Settlement; E35.38 Database Example; E35.39 Storage Example; E35.40 Hardware Actuation Example; E35.41 Vehicle / UAV Example; E35.42 Industrial Example; E35.43 Telecom Example; E35.44 GPU / Accelerator Example; E35.45 Model-State Example; E35.46 Software/Firmware Update Example; E35.47 Multi-Destination Recovery; E35.48 Replicated Recovery with E34; E35.49 Recovery Receipt; E35.50 Recovery-Receipt-Derived Authority; E35.51 Recovery Authority Consumption; E35.52 Recovery Policy Change; E35.53 Revocation During Reconciliation; E35.54 Safe-State Authority; E35.55 Audit and Evidence Preservation; E35.56 Privacy-Preserving Reconciliation; E35.57 Anti-Bypass Requirement; E35.58 Fail-Closed and Fail-Limited Recovery; E35.59 Required Invariants.

13. Implementation Notes for E34-E35

13.1. Quorum (E34)

13.2. Recovery (E35)

14. Interface and Data Model: an AI-driven primary promotion in a three-region replicated ledger

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.

14.1. Candidate Act Descriptor

{
  "act_id": "urn:act:ledger-promote-0099",
  "type": "db.primary_promote",
  "replicas": [
    "eu-w1",
    "eu-c1",
    "us-e1"
  ],
  "quorum": 2,
  "critical": "eu-c1",
  "steps_percent": [
    1,
    10,
    50,
    100
  ],
  "membership_v": 31,
  "epoch": 118,
  "sink": "write-router",
  "policy_epoch": 52,
  "nonce": "a09c11f6"
}

14.2. Effect Confirmation Receipt

{
  "act_digest": "sha256:e44a02",
  "step": 0,
  "replica": "eu-c1",
  "log_pos": 882110,
  "membership_v": 31,
  "epoch": 118,
  "lag_ms": 42,
  "split_brain": false,
  "cert": "sha256:6b9d10",
  "sig": "COSE_Sign1:f003"
}

14.3. Continuation authority

{
  "type": "routing_capability",
  "act_digest": "sha256:e44a02",
  "step": 1,
  "write_percent_max": 10,
  "fencing_token": 4411,
  "membership_v": 31,
  "epoch": 118,
  "single_use": true
}

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

15. Worked Walkthrough: an AI-driven primary promotion in a three-region replicated ledger

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

16. Failure Modes and Responses: an AI-driven primary promotion in a three-region replicated ledger

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.

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

17.1. Step 1. Describe the Candidate Act

17.2. Step 2. Hold the authority outside the proposer

17.3. Step 3. Issue bounded authority

17.4. Step 4. Verify and consume at the sink

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

17.6. Step 6. Validate independently

17.7. Step 7. Treat missing evidence as a state

17.8. Step 8. Close alternate paths

17.9. Step 9. Fail closed or fail limited

17.10. Step 10. Test

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

19. Variations

20. Industrial Applicability and Adoption Process

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

20.2. Adoption process in ten steps

20.3. Maturity levels

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

20.4. Operating measures

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

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

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

21. Industrial Applicability of Quorum and Recovery Workflows

These workflows apply to financial ledgers and payment systems, distributed databases and storage, cloud control planes, telecom cores, power-system control centres with redundant servers, and any system where replicas or multiple observers confirm effects.

+-------------------------------+---------------------------------+
| Use                           | Rule                            |
+===============================+=================================+
| Leader or primary promotion   | Small traffic share; commit     |
| in a replicated database.     | certificate; fencing; widen on  |
|                               | PASS.                           |
+-------------------------------+---------------------------------+
| Cross-region payment          | Quorum of regional              |
| settlement.                   | confirmations; critical region  |
|                               | required.                       |
+-------------------------------+---------------------------------+
| Control-centre failover of a  | Local confirmation from         |
| SCADA server.                 | redundant servers; fence old    |
|                               | master.                         |
+-------------------------------+---------------------------------+
| Timeout after a high-value    | INDETERMINATE; recovery query;  |
| instruction.                  | recovery authority; retry or    |
|                               | compensate.                     |
+-------------------------------+---------------------------------+
| Bulk operation with partial   | Quantify partial effect;        |
| failure.                      | compensate exactly; reconcile.  |
+-------------------------------+---------------------------------+

Process note: write the outcome state machine and the evidence hierarchy for each critical boundary before enabling staging. Rehearse timeouts, partitions and late receipts in non-production and keep the results.

22. Industry Platforms as Complements for Quorum and Recovery

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

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

23.1. AI agent platforms

23.2. Network operators and equipment

23.3. Payments

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

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

24.4. Zenodo records

25. Security Considerations

26. Limits and Non-Claims

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

28. IANA Considerations

This document has no IANA actions.

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

29.1. Keywords

quorum confirmation; commit certificate; fencing token epoch; split-brain prevention; Raft Paxos PBFT quorum; idempotent receiver; saga compensating transaction; exactly-once effect; indeterminate state reconciliation; negative receipt; recovery authority; partial effect quantification; 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.

29.2. Search phrases

  • "a missing receipt is not a negative receipt"
  • "continuation never rests on a single replica's word"
  • "recovery authority created from a recovery receipt and consumed once"
  • "late positive receipt after retry"
  • "evidence authority hierarchy"
  • "commit certificate bound to membership version and epoch"
  • "PROVEN_EFFECTED and PROVEN_NOT_EFFECTED"

29.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 11/14 (error detection or correction of data by redundancy); G06F 11/20 (error detection using redundancy in hardware); G06F 16/27 (replication in distributed databases); H04L 67/1095 (replication of data).

29.4. Existing technology to compare against

  • Consensus protocols (Raft, Paxos, PBFT) and quorum replication: agreement on state; compare with commit certificates as evidence creating next-phase authority.
  • Fencing tokens, leases and STONITH: protection from stale actors; compare with fencing bound to continuation authority.
  • Saga pattern, compensating transactions and reconciliation jobs: business-level recovery; compare with protected reconciliation and consumed recovery authority.
  • Idempotent receivers and exactly-once processing patterns: compare with duplicate-effect detection and indeterminate-state handling.
  • Incident runbook automation: compare with receipt-gated retry and recovery.

29.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].

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