.. raw:: latex \pagestyle{plain} \thispagestyle{plain} %% Suppress all TOC entries for the overview chapter (sections, subsections, %% Copyright addcontentsline) — restored just before \sphinxtableofcontents %% so chapters from Introduction onward appear in the TOC normally. \let\osiaorigaddcontentsline\addcontentsline \renewcommand{\addcontentsline}[3]{} .. _chapter-overview: Two-Axis Governance Envelope & Ephemeral Control Plane (CDA 2.0) ================================================================== .. only:: html **Deterministic Runtime Enforcement Boundary (Data Plane Primitive) for WG2 Deliverable 4** .. raw:: latex \begin{center}\textbf{Deterministic Runtime Enforcement Boundary (Data Plane Primitive) for WG2 Deliverable 4}\end{center} Abstract -------- Autonomous AI agents rely on probabilistic reasoning to generate actions, yet enterprise and cross-organizational backends require deterministic, verifiable authorization before executing consequential state mutations. Existing identity checks and static access-control tokens fail to prevent semantic drift, stale context execution (Time-of-Check to Time-of-Use), or silent evaluation failures where an enforcement gate permits an action without having completed its security checks. Cognitive Decision Architecture (CDA 2.0) specifies a deterministic, zero-trust runtime enforcement boundary (Data Plane primitive) that physically decouples an AI agent's stochastic reasoning from backend execution authority. Within the remit of **WG2 (Identity, Behaviour and Enforcement for AI Agents — IBEA)**, this contribution provides an executable reference specification for **Deliverable 4**, operationalizing action-time enforcement verdicts via a Two-Axis Governance Envelope, short-lived cryptographic leases (PASETO ``v4.local``), atomic *Check-to-Act* verification, and a tamper-evident SHA-256 forensic audit ledger. History ------- .. list-table:: :header-rows: 1 :widths: 10 26 18 14 32 * - Version - Document - Approval - Focus Group - Working Group * - 0.0 - Two-Axis Governance Envelope & Ephemeral Control Plane (CDA 2.0) - 2026-11-23 - TIDA - WG2 (IBEA) Authors ------- .. list-table:: :header-rows: 1 :widths: 30 40 30 * - Name - Affiliation - Contact * - Matías Salgado Mancilla - Independent - matias.cloudarch@gmail.com Keywords -------- Agentic AI, Runtime Enforcement, Control Plane, Data Plane, Two-Axis Governance Envelope, PASETO v4, TOCTOU, Check-to-Act, Fail-Closed, Forensic Audit Ledger, WG2, IBEA. .. raw:: latex \newpage \osiacenternextsection Foreword -------- Agentic AI systems now act as autonomous entities capable of reasoning, planning, and executing tasks across services, infrastructures, and organizational boundaries. This fundamentally changes the nature of identity in digital systems: identity is no longer limited to human users and static machine instances but must also encompass autonomous, dynamic, and goal-oriented agents. And identity alone is insufficient — the core question extends beyond "what an entity is" to "whether, and under what conditions, that entity should be trusted to act". The Focus Group on Trust and Identity for humans and agentic AI (FG-TIDA) addresses trust management and interoperable digital identity infrastructure for humans and for agentic AI, supporting the development of secure, trustworthy digital ecosystems in which humans and agentic AI can safely interact and collaborate. FG-TIDA was established under Recommendation ITU-T A.7 (Focus groups: Establishment and working procedures), with ITU-T Study Group 17 as its parent group. Further details are available in the group's terms of reference. .. raw:: latex \osiacenternextsection Note ---- This contribution is submitted as an input to **FG-TIDA WG2 (IBEA) Deliverable 4** for the 1st ITU-T FG-TIDA In-Person Meeting (UNESCO Headquarters, Paris, 30 November – 1 December 2026). It consolidates architectural work from **Theme #26** (*Cryptographic Runtime Enforcement Boundary*) and aligns with **UC-4 (#4)** (*Federated ecosystem defense across independently governed organizations*) and **UC-21 (#21)** (*When the controls work but the system fails*). Document License: ``SPDX-License-Identifier: Apache-2.0``. .. raw:: latex %% Restore \addcontentsline so the TOC below (and Chapter 1 onward) populate. \let\addcontentsline\osiaorigaddcontentsline \sphinxtableofcontents \osiamainmatter 1. Scope and Problem Statement ============================== Autonomous AI agents rely on stochastic reasoning to plan and invoke external tools, APIs, and cross-organizational workflows. While identity and coarse-grained authentication verify who an agent is, they do not guarantee that a specific consequential action remains authorized and contextually valid at the exact millisecond of execution. Three systemic failure modes arise at the execution boundary: - **Semantic and Authority Drift:** Locally valid permissions or composed reasoning steps produce a downstream action that exceeds the principal's current mandate or operating regime. - **Time-of-Check to Time-of-Use (TOCTOU) Gaps:** Environmental state, policy versions, or revocation conditions change between policy evaluation and actual resource mutation. - **Silent Evaluation Failures:** Infrastructure errors, skipped checks, or unhandled exceptions inside a Policy Decision Point (PDP) default to permissive execution without leaving an auditable trace that evaluation failed. Cognitive Decision Architecture (CDA 2.0) addresses these gaps by specifying a deterministic, fail-closed **Data Plane enforcement primitive** operating at the action-time verdict boundary within the remit of **WG2 (Identity, Behaviour and Enforcement for AI Agents — IBEA)**. 2. Architectural Principles =========================== CDA 2.0 enforces four architectural invariants across the decision-to-actuation lifecycle: 1. **Separation of Concerns (PDP vs. PEP):** Physically decouples policy evaluation in the deterministic Policy Decision Point (**Kernel**) from cryptographic verification and actuation blocking in the Policy Enforcement Point (**Gate**). 2. **Two-Axis Governance Envelope:** Separates business authorization verdicts from evaluation integrity evidence so infrastructure faults, skipped checks, or missing dependencies are never masked as valid business approvals: - **Axis 1 (Action Verdict):** Evaluates business intent outcomes using the 5-state taxonomy (``PERMIT`` / native ``ALLOW``, ``REMEDIATE``, ``ESCALATE`` / native ``REQUIRES_HUMAN_REVIEW``, ``BLOCK`` / native ``DENY``, and ``INDETERMINATE`` paired with a mandatory fail-closed fallback). - **Axis 2 (Evaluation Evidence):** Captures evaluation integrity, execution status, and executed check traces (``PAYLOAD_VALID``, ``INVALID_REGIME_CONTEXT``, ``TOCTOU_STALE_CONTEXT_DETECTED``, ``EXPIRED_LEASE_TOKEN``). 3. **Cryptographic Ephemeral Leases:** Issues short-TTL (60 seconds) PASETO ``v4.local`` tokens (symmetric authenticated encryption using XChaCha20-Poly1305 / BLAKE2b) binding entity identity, evaluated policy version hashes (``policy_ref_hash``), and authorized execution parameters. 4. **Forensic Audit Ledger:** Maintains an append-only SHA-256 hash-chained ledger preserving liability attribution across three distinct operational observation layers: - ``guard_decision``: Policy Kernel verdict (Axis 1) and evaluation evidence attestation (Axis 2). - ``attempted_action``: Raw requested intent and target operation submitted by the AI agent. - ``independently_observed_target_state``: Verified downstream resource state confirming zero mutation upon block, expiration, or context drift. 3. Boundary Enforcement Mechanisms ================================== 3.1 Syntactic Payload Lock and Deterministic Remediation -------------------------------------------------------- The Enforcement Gate validates incoming execution parameters against claims cryptographically sealed inside the PASETO ``v4.local`` lease. Any parameter modification prior to downstream execution triggers an immediate ``PAYLOAD_TAMPERING_DETECTED`` trace and blocks actuation. When policy rules require bounded parameter adjustment (``REMEDIATE`` under rule ``POL-REM-001``), the Kernel preserves original payload attributes (such as currency and entity identifiers) while capping constrained fields and sealing the adjusted payload hash. 3.2 Behavioral Circuit Breaker and Human-in-the-Loop (HITL) ----------------------------------------------------------- In-memory rate and anomaly tracking halts runaway execution loops at the Gate boundary. High-risk or out-of-bounds intents transition Axis 1 to ``ESCALATE`` (native ``REQUIRES_HUMAN_REVIEW``), placing the action on ``HOLD`` until an authorized human operator resolves the queue via a cryptographically signed override within a bounded 10-second armed revocation window. 3.3 Atomic Time-of-Check to Time-of-Use (TOCTOU) Protection ----------------------------------------------------------- Context freshness and lease validity are verified atomically at the actuation boundary (*Check-to-Act*). If a material context freeze (``global_context_freeze``) occurs between authorization and actuation or the 60-second lease TTL elapses, the Gate rejects execution deterministically with ``TOCTOU_STALE_CONTEXT_DETECTED`` or ``EXPIRED_LEASE_TOKEN``, leaving the downstream target state untouched. 3.4 Fail-Closed Context Opacity ------------------------------- Unrecognized, unmapped, or opaque regime contexts deterministically yield an ``INDETERMINATE`` Axis 1 verdict paired with a mandatory ``BLOCK`` fallback action, recording ``execution_status: INVALID_REGIME_CONTEXT`` on Axis 2 without minting an execution lease. Silent fallbacks to default policies are strictly prohibited. 4. Reference Implementation, Verification, and Scope Boundaries =============================================================== 4.1 FG-TIDA Alignment and Schema Compliance ------------------------------------------- - **WG2 (IBEA) Deliverable 4 & Theme #26:** Provides a concrete Data Plane enforcement primitive implementing the action-time verdict boundary complementary to Control Plane privilege lifecycle management and policy-expression proposals (aligning with Theme #6's 5-state taxonomy and Two-Axis evaluation integrity separation). - **UC-4 & UC-21 Schema Alignment:** Compliant with ``urn:uc4:experiment-contract:1.1.0`` (``UC4_CDA_Mapping_Review_v0.1.1``), preserving native Axis 1, Axis 2, and fallback states alongside normalized decision enums. 4.2 Frozen Implementation Pin and Verification Lineage ------------------------------------------------------ - **Reference Repository:** ``https://github.com/matiascloudarch/cognitive-decision-architecture`` - **Frozen Release Pin:** Tag ``v1.0.1`` (Commit SHA: ``9beefa5eefb908920f7446f33eed139e07c1db83``), reproducible via ``docker compose run --rm cda-audit`` (26/26 pytest unit tests passing, 5/5 ITU-T synthetic vectors passing, ``ruff`` and ``mypy`` static verification passing). - **Audit Lineage:** Builds upon the executed UC-4 native baseline at commit ``afac9f037acef88aa6922875fbdfb13020df441c``` (26/26 upstream tests, 5/5 synthetic vectors, 30/31 native observation assertions). Source corrections in ``v1.0.1`` (``9beefa5``) resolving ``VEC002`` payload attribute preservation and ``VEC003`` Axis 2 ``INVALID_REGIME_CONTEXT`` status alignment have been source-reviewed in UC-4/UC-21, with independent native regression replay scheduled within the UC-4 testbed cycle. 4.3 Explicit Trust Boundary and Scope Limitations ------------------------------------------------- CDA 2.0 guarantees deterministic runtime enforcement over verified inputs within a bounded *Check-to-Act* window (60-second PASETO lease TTL). It does not claim omniscient discovery of unobservable external regime shifts or external revocation-propagation SLAs; rather, it renders missing dependencies, expired leases, or opaque contexts cryptographically observable and fail-closed at the enforcement boundary. 5. References ============= - **ITU-T FG-TIDA Theme #26:** *Cryptographic Runtime Enforcement Boundary (Control Plane Primitive)*, FG-TIDA Themes Repository. - **ITU-T FG-TIDA Theme #6:** *Intent-based Security Policies: Expression, Coexistence, and Runtime Verification*, FG-TIDA Themes Repository. - **ITU-T FG-TIDA UC-4 (#4):** *Federated ecosystem defense across independently governed organizations*, FG-TIDA Use Cases Repository (Schema 1.1.0). - **ITU-T FG-TIDA UC-21 (#21):** *When the controls work but the system fails — six failure scenarios and three implementation walkthroughs*, FG-TIDA Use Cases Repository. - **IETF PASETO Draft:** *Platform-Agnostic Security Tokens (PASETO)*, ``draft-paragon-paseto-rfc`` (v4.local symmetric authenticated encryption). - **IETF RATS (RFC 9334):** *Remote ATtestation procedureS (RATS) Architecture*, IETF. - **OWASP Top 10 for LLM Applications (v1.1):** *LLM08: Excessive Agency*, OWASP Foundation. - **NIST AI RMF 1.0:** *Artificial Intelligence Risk Management Framework (NIST AI 100-1)*, National Institute of Standards and Technology. - **European Union AI Act:** *Regulation (EU) 2024/1689*, Article 11 (Technical Documentation) and Article 12 (Record-Keeping).