Network Working Group S. K. Das Internet-Draft Independent Intended status: Informational 1 December 2026 Expires: 4 June 2027 Side-Effect-Suppressed Model Migration and Counterfactual Security- Policy Deployment for AI Agents draft-das-agent-safe-migration-policy-deployment-00 Abstract Changing a component of a running agent is risky in a way that ordinary software deployment does not capture. Switching the model, the tool provider or the security policy mid-task can change which operations are proposed, which resources they touch and which are repeated. Testing the new component by running it can itself cause the effects the test was meant to avoid: a harmless-looking call may send a message, spend money or write a record. Replaying a conversation to the new model transfers text but not the state of the task, such as which operations are complete, which are pending and which have an unknown outcome. This document specifies two safe-change mechanisms. For model and tool migration, a snapshot of authoritative task state is evaluated in a side-effect-suppressed environment where tools are replaced by recorders, the proposed operations of the candidate are normalised and compared with the source, divergence is classified, and a migration is admitted only with a source-execution fence and a reconciled continuation. For policy deployment, a proposed policy is evaluated counterfactually against historical traces in a non- effectuating mode, effect impact is derived from dependency analysis, canary partitions are chosen so that the experiment is safe, and promotion and rollback are governed by invariants that recognise that completed effects cannot be rolled back. The mechanisms are intended to work with model gateways, feature-flag and progressive-delivery tools, policy engines and agent platforms from vendors including Google, Microsoft, Amazon, Anthropic, OpenAI, Meta and others. Companies and products are named only to show where the mechanism could sit in infrastructure that already exists. No endorsement, partnership, adoption, validation or infringement statement is made or implied. Zenodo record (full disclosure): https://zenodo.org/records/24554242 Das Expires 4 June 2027 [Page 1] Internet-Draft Safe Migration, Policy Deployment December 2026 Zenodo title: Autonomous AI Agent Security Beyond Sandboxing: Protected Execution-Finality, Independent Validation, Micro-VM Isolation and Hardware-Enforced Control PATENT PENDING CONCEPT (INDIA): Indian Patent Application No. 202631125689 (filed 22 October 2026) and No. 202631126401 (filed 23 October 2026). Differentiation in one line: conventional sandboxes, gateways and cloud IAM confine or authorise the request as presented, whereas this document specifies a check at the effectuation boundary that verifies the exact pending operation against independently collected evidence and refuses it otherwise. These are pending applications only; no patent is granted or implied. The underlying concept is human-originated; this document was prepared with AI-assisted tools, may contain errors, and MUST be cross-checked against the public filings listed in the Patent Filing section. 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 4 June 2027. Copyright Notice 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. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Das Expires 4 June 2027 [Page 2] Internet-Draft Safe Migration, Policy Deployment December 2026 Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 4 2. Requirements Language . . . . . . . . . . . . . . . . . . . . 5 3. Patent Filing and Foundational Public Disclosure: PATENT PENDING CONCEPT (INDIA) . . . . . . . . . . . . . . . . . 5 4. Shared Definitions . . . . . . . . . . . . . . . . . . . . . 6 5. Problem Statement . . . . . . . . . . . . . . . . . . . . . . 7 6. Differentiation from Conventional Agent Sandboxes, Gateways and Cloud Security Infrastructure . . . . . . . . . . . . . . 8 6.1. Conventional Systems . . . . . . . . . . . . . . . . . . 8 6.2. What This Family Adds . . . . . . . . . . . . . . . . . . 9 6.2.1. What This Document Adds to Progressive Delivery and Failover . . . . . . . . . . . . . . . . . . . . . . 9 6.3. Hardware and Platform Infrastructure . . . . . . . . . . 9 7. Architecture and Model . . . . . . . . . . . . . . . . . . . 9 8. Normative Requirements . . . . . . . . . . . . . . . . . . . 10 9. Illustrative Record Profile . . . . . . . . . . . . . . . . . 11 10. Profiles Derived from the Specification . . . . . . . . . . . 11 10.1. Profile C-91: Side-Effect-Suppressed Model and Tool Migration . . . . . . . . . . . . . . . . . . . . . . . 12 10.1.1. Technical Field (C-91.1) . . . . . . . . . . . . . . 12 10.1.2. Technical Problem . . . . . . . . . . . . . . . . . 14 10.1.3. Central Technical Principle . . . . . . . . . . . . 20 10.1.4. Principal System Components . . . . . . . . . . . . 23 10.1.5. Authoritative Task-State Snapshot . . . . . . . . . 32 10.1.6. Side-Effect-Suppressed Evaluation Environment . . . 36 10.1.7. Bounded Continuation . . . . . . . . . . . . . . . . 39 10.1.8. Operation Normalization . . . . . . . . . . . . . . 42 10.1.9. Authorized Continuation Envelope . . . . . . . . . . 45 10.1.10. Migration Admission . . . . . . . . . . . . . . . . 49 10.1.11. Continuation-State Reconciliation . . . . . . . . . 51 10.1.12. Complete 44-Step Principal Workflow . . . . . . . . 53 10.1.13. Reference Implementation Algorithms . . . . . . . . 57 10.1.14. Worked Technical Examples . . . . . . . . . . . . . 70 10.1.15. Failure And Adversarial Conditions . . . . . . . . . 76 10.1.16. Representative Technical Data Structures . . . . . . 86 10.1.17. Engineering Verification Tests . . . . . . . . . . . 92 10.1.18. Phosita Implementation Requirements . . . . . . . . 96 10.2. Profile C-98: Counterfactual Policy Deployment . . . . . 101 10.2.1. Technical Field (C-98.1) . . . . . . . . . . . . . . 101 10.2.2. Technical Problem . . . . . . . . . . . . . . . . . 103 10.2.3. Central Technical Principle . . . . . . . . . . . . 109 10.2.4. Principal System Components . . . . . . . . . . . . 112 10.2.5. Policy Versioning And Authority . . . . . . . . . . 118 10.2.6. Event Trace Repository And Replay . . . . . . . . . 120 10.2.7. Counterfactual Policy Execution . . . . . . . . . . 123 10.2.8. Downstream Effect Impact . . . . . . . . . . . . . . 126 Das Expires 4 June 2027 [Page 3] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.9. Deployment Partition Generation . . . . . . . . . . 129 10.2.10. Canary Policy Activation . . . . . . . . . . . . . . 131 10.2.11. Observed Canary Outcomes . . . . . . . . . . . . . . 132 10.2.12. Consistency Evaluation . . . . . . . . . . . . . . . 134 10.2.13. Staged Promotion . . . . . . . . . . . . . . . . . . 136 10.2.14. Effect-Preserving Rollback . . . . . . . . . . . . . 138 10.2.15. Complete 48-Step Principal Workflow . . . . . . . . 141 10.2.16. Reference Implementation Algorithms . . . . . . . . 145 10.2.17. Worked Technical Examples . . . . . . . . . . . . . 157 10.2.18. Failure And Adversarial Conditions . . . . . . . . . 162 10.2.19. Implementation Variations . . . . . . . . . . . . . 169 10.2.20. Representative Data Structures . . . . . . . . . . . 171 10.2.21. Phosita Implementation Requirements . . . . . . . . 181 11. Industry Mapping (Informative) . . . . . . . . . . . . . . . 186 12. Conformance and Testing . . . . . . . . . . . . . . . . . . . 188 13. Security Considerations . . . . . . . . . . . . . . . . . . . 189 14. Security Considerations Common to the Family . . . . . . . . 189 15. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 190 16. Intellectual Property and Relationship to IETF and IRTF Work . . . . . . . . . . . . . . . . . . . . . . . . . . 190 17. Relationship to Other Documents . . . . . . . . . . . . . . . 190 18. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 191 19. Appendix: Profile Labels and Source Titles . . . . . . . . . 191 20. References . . . . . . . . . . . . . . . . . . . . . . . . . 191 20.1. Normative References . . . . . . . . . . . . . . . . . . 191 20.2. Informative References . . . . . . . . . . . . . . . . . 191 Appendix A. Frequently Asked Questions (Informative) . . . . . . 193 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 194 1. Introduction Agents are long-lived. During one task the operator may need to switch to another model because of an outage, a cost rule or a capability change, or to replace the policy that governs what the agent may do. A model switch is not a conversation transfer. The new model needs the authoritative state of the task: what has been done, what is pending, what is of unknown outcome, what resources are authorised and what constraints apply. Without that, it may repeat a completed operation or abandon a pending one. A policy change is not a configuration update. A policy that is valid may reject operations that a workflow needs, or may allow operations whose indirect effects are unsafe. Testing either change by live execution risks the harm that safe change aims to avoid. This document describes how to evaluate both in a way that suppresses effects and how to deploy in stages. Das Expires 4 June 2027 [Page 4] Internet-Draft Safe Migration, Policy Deployment December 2026 2. Requirements Language The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, NOT RECOMMENDED, MAY, and OPTIONAL in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. 3. Patent Filing and Foundational Public Disclosure: PATENT PENDING CONCEPT (INDIA) This cross-reference block is repeated in every Internet-Draft of this family so that a reader of any one document can find the underlying filings and earlier disclosures. Indian Patent Application No. 202631125689 Filed 22 October 2026. Isolated micro-VM sandbox implementation: external consequences across micro-VMs, containers, host services, operating-system interfaces, accelerators and persistent memory. Indian Patent Application No. 202631126401 Filed 23 October 2026. Protected execution-finality architectures: 40 embodiments establishing protected correspondence between authorised intent, independently collected and validated evidence, and the actual pending operation at the enforcement boundary. Foundational public disclosure Earlier IETF Internet-Drafts of this family are dated 22 October 2026, and the work was first disclosed on 22 October and 27 October 2026. Zenodo record (this family) https://zenodo.org/records/24554242 ("Autonomous AI Agent Security Beyond Sandboxing: Protected Execution-Finality, Independent Validation, Micro-VM Isolation and Hardware-Enforced Control") [ZENODO-AGENT] Zenodo record (earlier disclosure) https://zenodo.org/records/24534152 [ZENODO-AGENT-1] Earlier Internet-Drafts of this family https://datatracker.ietf.org/doc/draft-das-sandbox-credential- egress-finality/ [DAS-SANDBOX]; https://datatracker.ietf.org/doc/ draft-das-distributed-agent-authority-finality/ [DAS-DISTRIBUTED]; https://datatracker.ietf.org/doc/draft-das-kernel-hardware- execution-finality/ [DAS-KERNEL] Das Expires 4 June 2027 [Page 5] Internet-Draft Safe Migration, Policy Deployment December 2026 Related foundational filings: * DAS Protocols Mothership, PCT/IB2026/055615, filed 4 June 2026 and published as WO 2026/150382 A2 on 16 July 2026. Copy of the filing: https://zenodo.org/records/23245054 [MOTHERSHIP-ZENODO]. * ALF PCT, PCT/IB2026/053385, filed 7 April 2026, disclosed 4 June 2026 and published as WO 2026/115520. Copy of the filing: https://zenodo.org/records/24438881 [ALF-ZENODO]. * Related Indian applications: 202531130665, 202631000572, 202631001586, 202631002990, 202631124028 and 202631125689. * Related PCT applications: PCT/IB2025/058316, PCT/IB2026/053385, PCT/IB2026/055615, PCT/IB2026/055760, PCT/IB2026/055870, PCT/ IB2026/056058, PCT/IB2026/056809 and PCT/IB2026/056941. Status wording. These are pending applications only. Nothing in this document states or implies that any patent has been granted, and not every mechanism described here is necessarily claimed. Scope and priority depend on law and examination. The current status of any application should be checked only on the official registers (WIPO PATENTSCOPE and the relevant national patent offices). This block is informational and is not an IETF IPR disclosure; see Section 16. 4. Shared Definitions The same definitions are used in every document of this family. The terms below are the family's working terms, each given with a plain industry equivalent. AI agent Software that uses a model to choose operations and invokes tools, services or devices to carry them out. Candidate act A proposed consequential operation, captured in a form that cannot yet take effect. Non-Effective State (NES) The holding state in which a candidate act exists but has no external effect. Industry equivalent: a staged or pending operation. Protected Enforcement Domain (PED) A component outside the agent's control that decides whether a candidate act may proceed. Industry equivalent: a policy decision and enforcement service in a separate trust domain. Das Expires 4 June 2027 [Page 6] Internet-Draft Safe Migration, Policy Deployment December 2026 Finality sink The component at the effectuation boundary that checks an authorisation before an operation takes effect, and refuses it otherwise. Industry equivalent: a policy enforcement point at the resource. Effectuation boundary The point at which an operation becomes an external effect: a network send, a file or database write, a device command. Effectuation path Any route by which an agent can reach an effect, including indirect routes such as shells, interpreters, connectors and delegated workers. Scoped non-bearer capability A single-use authorisation bound to one exact operation, destination and generation, which is useless if copied to another use. Generation A counter that advances when authority, policy or configuration changes, used to refuse stale authorisations. Protected validation evidence Evidence of a check, collected independently of the agent and bound to the exact operation. 5. Problem Statement The profiles describe the problems for migration and for policy deployment separately. Both rest on the observation that evaluation must not itself be an effect. * Conversation transfer is not operational-state transfer. * Model substitution can change tool and resource choices. * Completed operations may be replayed; pending operations may be dropped. * Testing can cause side effects, including hidden ones in read- looking calls. * Simulations diverge from reality, so a simulated pass is evidence and not proof. Das Expires 4 June 2027 [Page 7] Internet-Draft Safe Migration, Policy Deployment December 2026 * Policy change can break workflows or activate indirect effects; canary assignment can be unsafe; some completed effects are irreversible. 6. Differentiation from Conventional Agent Sandboxes, Gateways and Cloud Security Infrastructure This section is included so the document is not read as a generic security proposal. The mechanisms named below are acknowledged as established and as widely deployed. They remain in place. The proposal here sits at the effectuation boundary and adds checks that those mechanisms do not provide on their own. 6.1. Conventional Systems * Isolation technologies such as micro-VMs (for example Firecracker), user-space kernels (for example gVisor), lightweight-VM containers (for example Kata Containers), Linux namespaces, control groups, seccomp, Landlock and eBPF restrict what code can do. They confine computation but do not by themselves tie each external consequence to an authorisation for that exact operation. * Cloud identity and policy systems (for example role-based access, policy languages such as Open Policy Agent and Cedar, and token exchange [RFC8693] with sender-constrained tokens [RFC9449]) decide who may call what. They decide at request time on the request as presented, and are not designed to account for deferred, indirect or queued effects of that request. * Network controls such as firewalls, egress proxies, Kubernetes network policy and service meshes filter by destination. They commonly decide on a name or an address set before resolution and connection, which leaves the effective endpoint, redirects and connection reuse outside the check. * Agent gateways and tool protocols (for example the Model Context Protocol and agent-to-agent protocols) standardise how agents discover and call tools. They do not specify what must be proven at the point where a call becomes an effect. * Remote attestation [RFC9334] provides evidence about a platform. It does not decide whether a particular operation may proceed. Das Expires 4 June 2027 [Page 8] Internet-Draft Safe Migration, Policy Deployment December 2026 6.2. What This Family Adds Each document applies one idea: computation is not authority. A model output, a tool request or a session credential is a proposal. Before it takes effect, a protected enforcement domain checks the exact operation against independently collected evidence, and the sink at the effectuation boundary verifies that authorisation again. Any path that skips the sink is closed or disabled, and stale authority is refused by generation. The difference asserted is this coupling of independent validation, exact-operation binding and sink verification. Each element has precedent; whether the coupling is novel or non-obvious is for patent offices and readers to judge, and no measured improvement is claimed. 6.2.1. What This Document Adds to Progressive Delivery and Failover Canary release, blue-green deployment, shadow traffic, model routing and policy simulation are established. This document adds side- effect suppression as a condition of evaluation, a canonical effect differential between source and target, an explicit treatment of unknown outcomes, and a rollback invariant that distinguishes policy rollback from effect rollback. The result is that the question whether a change is safe is answered on proposed effects and not on text similarity or aggregate success rate. 6.3. Hardware and Platform Infrastructure Hardware-rooted platforms, such as confidential-computing processors and data-processing units from AMD, Intel, NVIDIA and others, and cloud confidential VMs, can host a protected enforcement domain or a finality sink. This family does not alter them. It uses them, where available, as one way to keep the enforcement domain out of reach of the agent. Nothing here states that any company named in this document has adopted, reviewed, endorsed or been licensed under the concepts described. 7. Architecture and Model Migration has a task-state snapshot, an authoritative operation ledger, a pending-operation registry, a side-effect-suppressed evaluation environment with tool interposition, a continuation evaluator, an operation-normalisation mechanism, a differential evaluator, a divergence classifier, an admission controller, a source-execution fence and a target-activation controller. Das Expires 4 June 2027 [Page 9] Internet-Draft Safe Migration, Policy Deployment December 2026 Policy deployment has a policy package registry, a trace repository with provenance, a counterfactual execution mechanism, a decision- difference analyzer, an effect-dependency analyzer, a deployment- partition generator, a canary controller with version binding, an outcome observer, a staged promotion controller and a rollback controller. Three domains are kept apart: the live domain, the suppressed evaluation domain and the historical trace domain. Results from the second and third inform decisions in the first but are never confused with it. 1. Evaluation is side-effect suppressed; a recorded operation is not an executed one. 2. Migration moves task state, not only conversation. 3. Completion is determined by the authoritative ledger, not by model text. 4. Divergence between source and target is classified before admission. 5. The source is fenced before the target acts. 6. A policy is evaluated counterfactually before canary deployment. 7. Canary eligibility excludes cases that cannot be safely observed. 8. Rollback of policy does not claim rollback of effects. 8. Normative Requirements The requirements below apply to an implementation that claims conformance to this profile family. They are stated so that an implementation can be checked, and they do not prescribe a wire format. 1. A snapshot MUST include completed, pending and indeterminate operations and the authorised resource scope. 2. The evaluation environment MUST replace effect-capable tools with recorders and MUST isolate credentials and egress. 3. An implementation MUST treat read-looking tools as potentially effectful unless shown otherwise. Das Expires 4 June 2027 [Page 10] Internet-Draft Safe Migration, Policy Deployment December 2026 4. Proposed operations MUST be normalised into a canonical form before comparison. 5. Divergence MUST be classified before a migration is admitted. 6. A source-execution fence MUST be in place before the target is activated. 7. A counterfactual evaluation MUST NOT repeat external effects. 8. Historical trace completeness MUST be classified and used when interpreting results. 9. A canary MUST be bound to a policy version and a partition that satisfies eligibility. 10. Promotion MUST depend on a promotion predicate; rollback MUST preserve the rollback invariant. 9. Illustrative Record Profile The record below illustrates a migration admission. Field names are illustrative. { "migration": {"from": "model-a", "to": "model-b", "task": "task-912"}, "snapshot": {"completed": 14, "pending": 2, "indeterminate": 1}, "evaluation": {"mode": "side_effect_suppressed", "recorded_ops": 6}, "differential": {"identical": 5, "divergent": 1, "class": "resource_target"}, "fence": {"source_generation": 3, "target_generation": 4}, "decision": "admit_with_reconciliation" } 10. Profiles Derived from the Specification The sections that follow carry the technical content of the source specification for each listed profile. Each profile is a deployment- specific instance of the model above. The source text has been edited for use in this document: references to patent claims and figures have been removed, and the word profile is used where the source says embodiment. Where a profile restates a requirement of the model, the requirement above controls. Das Expires 4 June 2027 [Page 11] Internet-Draft Safe Migration, Policy Deployment December 2026 10.1. Profile C-91: Side-Effect-Suppressed Model and Tool Migration Source label: C-91. Source title: Side-Effect-Suppressed Model Migration With Operational-State Differential Verification, Authoritative Task-Snapshot Transfer, Bounded Shadow Continuation, Canonical Resource-Effect Comparison, Completed-Operation Replay Prevention, And Generation-Fenced Workflow Cutover. This profile specifies task-state snapshots, the suppressed evaluation environment, normalisation and differential evaluation, divergence classification, admission, fencing and cutover. 10.1.1. Technical Field (C-91.1) This profile relates to artificial-intelligence-agent execution, active-workflow migration, language-model substitution, managed inference services, autonomous tool use, operational-state transfer, transaction-state continuity, side-effect-suppressed execution, differential security evaluation, resource-effect normalization, and controlled migration between model instances, versions, execution substrates, or service providers. More particularly, the profile discloses a computer-implemented architecture for transferring an active autonomous task from a first model instance to a second model instance while preventing unintended external resource modifications during migration evaluation and preventing previously completed consequential operations from being executed again as a result of the model substitution. The system establishes a transferable task-state representation comprising: 1. The authorized task objective. 2. Previously completed consequential operations. 3. Pending operations. 4. Operations having an unresolved external outcome. 5. Applicable resource-access scope. 6. Current workflow dependencies. 7. Relevant contextual artifacts. 8. Tool and connector configuration. Das Expires 4 June 2027 [Page 12] Internet-Draft Safe Migration, Policy Deployment December 2026 9. Applicable operation constraints. 10. Task execution and authority generations. The second model instance is initialized from the transferable state within a side-effectsuppressed evaluation environment. The evaluation environment substitutes non-effectuating interfaces for external resourcemodification operations. The second model is permitted to execute a bounded continuation that produces proposed operations and state changes without creating the corresponding real-world effects. The system normalizes those proposed operations and compares them with an authorized continuation envelope derived from the transferable state and independently specified task constraints. A migration-admission controller accepts, restricts, or rejects migration according to the resulting differential evaluation. A continuation-state reconciler preserves authoritative completed- operation and pendingoperation status independently of the model's natural-language account of task progress. The profile may be implemented in: 1. cloud-managed AI-agent services; 2. enterprise autonomous assistants; 3. multi-provider AI orchestration; 4. persistent coworker agents; 5. autonomous coding environments; 6. payment and procurement agents; 7. infrastructure-management agents; 8. customer-service workflow agents; 9. document-processing agents; 10. browser and computer-use agents; 11. robotic and peripheral-control agent systems; Das Expires 4 June 2027 [Page 13] Internet-Draft Safe Migration, Policy Deployment December 2026 12. sovereign or private inference deployments; 13. disaster-recovery model substitution; 14. model-upgrade rollouts; and 15. other stateful autonomous workflows that continue across a change of model instance or execution provider. The architecture is independent of the particular model family, inference framework, token format, cloud provider, tool protocol, and execution substrate. 10.1.2. Technical Problem 10.1.2.1. Conversation Transfer Is Not Operational-State Transfer (C-91.2) An autonomous agent may maintain a conversation or context window describing a task. The conversation may include statements such as: "The supplier record was updated." "The payment has been submitted." "The deployment is complete." "The file should be deleted next." Such statements may be incomplete, inaccurate, outdated, or generated by the model rather than established by a resource-system acknowledgment. Transferring the conversation text to another model therefore does not necessarily transfer the true operational state of the task. The receiving model may interpret the text differently and repeat or omit consequential actions. 10.1.2.2. Model Substitution Can Change Behavior (C-91.3) Two model instances may differ in: 1. Instruction-following behavior. 2. Tool-selection preferences. Das Expires 4 June 2027 [Page 14] Internet-Draft Safe Migration, Policy Deployment December 2026 3. Resource-name interpretation. 4. Plan decomposition. 5. Safety behavior. 6. Context summarization. 7. Argument construction. 8. Workflow sequencing. 9. Default assumptions. 10. Treatment of prior tool results. 11. Function-call formatting. 12. Response to ambiguous state. A model substitution may consequently change the operations proposed by the agent. The fact that both models understand the same prompt does not establish that they will produce equivalent operational effects. 10.1.2.3. Completed-Operation Replay (C-91.4) Consider an agent that has already submitted an approved payment. The original model's conversation contains: "Processing supplier payment." The payment execution service has, however, already committed the transfer. A replacement model may interpret the conversation as showing a pending payment and attempt to submit it again. The result may be a duplicate consequential operation. This profile preserves a separate authoritative completed-operation record that the replacement model cannot override through natural- language interpretation. Das Expires 4 June 2027 [Page 15] Internet-Draft Safe Migration, Policy Deployment December 2026 10.1.2.4. Pending Operations Are Not Completed Operations (C-91.5) An agent may have submitted a request that remains: 1. queued; 2. awaiting approval; 3. awaiting resource execution; 4. awaiting a remote acknowledgment; 5. partially executed; 6. retryable; 7. canceled but not authoritatively confirmed; or 8. indeterminate. The migration system must not automatically classify pending work as completed or canceled. It must also avoid issuing a duplicate request while an earlier operation may still become effective. 10.1.2.5. Unresolved Remote Outcome (C-91.6) An agent may send a resource mutation to a remote service. The network connection fails before the acknowledgment is received. The service may have committed the operation. Alternatively, it may not have received the request. If the destination model assumes failure and repeats the operation, an unintended duplicate effect may occur. The system therefore preserves the operation as outcome-indeterminate until authoritative reconciliation or an applicable resource-native idempotency mechanism permits safe continuation. 10.1.2.6. Tool Selection Divergence (C-91.7) The original task may permit: READ_CUSTOMER_RECORD. Das Expires 4 June 2027 [Page 16] Internet-Draft Safe Migration, Policy Deployment December 2026 The replacement model may propose: EXPORT_ALL_CUSTOMER_RECORDS. Both operations may appear related to the same business objective. However, they differ materially in resource effect and authorization scope. The migration evaluator must compare proposed operations rather than relying solely upon semantic similarity of the generated explanation. 10.1.2.7. Resource Target Divergence (C-91.8) The original task may authorize modification of: STAGING_DATABASE. The replacement model may select: PRODUCTION_DATABASE. The proposed workflow could be syntactically valid and consistent with a general objective of updating a database. Nevertheless, the target resource differs. The differential evaluator identifies the changed resource target and checks it against the authorized continuation envelope. 10.1.2.8. Provider-Specific Tool Semantics (C-91.9) Different model providers or agent runtimes may expose tools under different names. For example: Provider A invokes: update_record(record_id, fields). Provider B invokes: patch_resource(resource_uri, patch). The tools may produce equivalent or different external effects depending upon their parameters and implementations. Das Expires 4 June 2027 [Page 17] Internet-Draft Safe Migration, Policy Deployment December 2026 The system therefore normalizes tool operations into a comparable representation of intended effects. 10.1.2.9. Side Effects During Compatibility Testing (C-91.10) A migration test that allows the replacement model to invoke real resource-modification tools may itself cause damage. For example, the test might: 1. Submit a payment. 2. Delete a production file. 3. Send an email. 4. Commit a database write. 5. Update a cloud permission. 6. Publish a software release. 7. Rotate a credential. 8. Trigger a physical actuator. The compatibility evaluation must prevent the proposed operations from creating their corresponding external effects. 10.1.2.10. Hidden Side Effects of Supposedly Harmless Calls (C-91.11) Even calls described as read-only may cause consequential changes. Examples include: 1. creating a server-side session; 2. incrementing a chargeable API counter; 3. marking a notification as read; 4. acquiring a lock; 5. renewing a lease; 6. initiating background work; 7. consuming a single-use credential; Das Expires 4 June 2027 [Page 18] Internet-Draft Safe Migration, Policy Deployment December 2026 8. triggering analytics or webhooks; or 9. causing a remote cache mutation. A side-effect-suppressed test must therefore evaluate the actual semantics of external interfaces, not merely whether a method is named GET or READ. 10.1.2.11. Simulation Divergence from Reality (C-91.12) A simulated external resource may not perfectly reproduce a production service. A model may behave acceptably under a simplified simulation while behaving differently when exposed to real latency, errors, data, or tool responses. Accordingly, the profile treats the bounded continuation as an operational compatibility and risk evaluation, not a mathematical guarantee that every future behavior will remain equivalent. Real operations following admission remain subject to applicable production authorization. 10.1.2.12. Migration Cutover Race (C-91.13) The first model may continue executing while the second model is being evaluated. An operation could be completed by the source context after the snapshot is taken. If the receiving context is activated using the earlier snapshot without reconciliation, it may repeat the operation. The migration mechanism therefore establishes an appropriate source- execution fence or equivalent operation-state coordination before activating the new context. 10.1.2.13. Context and State Drift (C-91.14) During a long evaluation: 1. A resource may change. 2. A user may revoke permission. 3. A task objective may be amended. Das Expires 4 June 2027 [Page 19] Internet-Draft Safe Migration, Policy Deployment December 2026 4. A delegated operation may finish. 5. A credential may expire. 6. A previously authorized tool may become unavailable. The migration decision must be evaluated against current applicable state at cutover rather than assuming the initial snapshot remains valid indefinitely. 10.1.3. Central Technical Principle 10.1.3.1. Operational Equivalence Is Evaluated, Not Assumed (C-91.15) The central technical principle is: An active AI-agent workflow is not migrated merely because a replacement model can reproduce the source model's conversational context; the replacement model is evaluated through a bounded, side- effect-suppressed continuation whose proposed operations are compared against independently established task authority and operational state. 10.1.3.2. Three Distinct State Domains (C-91.16) The system distinguishes: *Domain A - Authoritative operational state* Includes verified completed, pending, canceled, and unresolved external operations. *Domain B - Model-interpreted task state* Includes the model's current description, plan, assumptions, and generated reasoning artifacts. *Domain C - Side-effect-suppressed evaluation state* Includes simulated tool results, recorded proposed operations, and test-only state changes. These state domains are not automatically interchangeable. 10.1.3.3. Core Migration Predicate (C-91.17) For migration M: Das Expires 4 June 2027 [Page 20] Internet-Draft Safe Migration, Policy Deployment December 2026 MIGRATION_ADMISSIBLE(M) = TRANSFERABLE_STATE_VALID AND EVALUATION_EFFECTS_SUPPRESSED AND PROPOSED_EFFECTS_WITHIN_ENVELOPE AND OPERATIONAL_DIVERGENCES_ACCEPTABLE AND COMPLETED_OPERATION_REPLAY_FENCED AND PENDING_OPERATION_CONTINUITY_VALID AND CURRENT_AUTHORITY_VALID AND CUTOVER_GENERATION_CONSISTENT. The configured migration policy determines whether acceptable divergence results in full admission or restricted admission. 10.1.3.4. Authorized Continuation Envelope (C-91.18) Let: S = authoritative transferable task state. C = independently specified task constraints. E = authorized continuation envelope. Then: E = DeriveAuthorizedContinuation(S,C). The envelope defines the resource-effect and workflow-state transformations permitted for the continuation. The second model's natural-language interpretation is not allowed to expand E. 10.1.3.5. Proposed Effect Representation (C-91.19) For a proposed operation O, a canonical effect descriptor may contain: OperationClass. Das Expires 4 June 2027 [Page 21] Internet-Draft Safe Migration, Policy Deployment December 2026 CanonicalResourceTarget. ProposedMutation. EffectQuantity. InvocationIdentity. WorkflowDependency. IdempotencyReference. AuthorityScope. The evaluator compares this representation with the authorized envelope. 10.1.3.6. Bounded Continuation (C-91.20) The migration evaluation executes a bounded sequence of proposed continuation steps. Bounds may include: MaximumModelSteps. MaximumToolProposals. MaximumEvaluationDuration. MaximumSimulatedResourceOperations. MaximumContextConsumption. MaximumRecursionDepth. The evaluation must terminate or suspend when the applicable bounds are reached. A bounded pass cannot prove behavior outside the evaluated horizon. 10.1.3.7. Simulation Is Not Effectuation (C-91.21) An operation recorded as: SIMULATED_SUCCESS. does not thereby become: Das Expires 4 June 2027 [Page 22] Internet-Draft Safe Migration, Policy Deployment December 2026 EXTERNALLY_COMPLETED. The authoritative operational ledger preserves this distinction. 10.1.3.8. Completion Is Not Determined by Model Text (C-91.22) A model-generated statement such as: "Payment completed successfully." does not modify the authoritative operation state without appropriate external completion evidence. This rule applies to the source model, the replacement model, and the test environment. 10.1.4. Principal System Components 10.1.4.1. Active Agent Execution Environment (C-91.23) An Active Agent Execution Environment operates an autonomous task under a first model instance. It maintains: AgentID. TaskID. SourceModelInstanceID. TaskObjectives. ExecutionConfiguration. ToolAccessConfiguration. ExternalOperationHistory. CurrentExecutionGeneration. 10.1.4.2. Migration Initiator (C-91.24) A Migration Initiator proposes replacing the active model. The proposal may specify: SourceModelID. Das Expires 4 June 2027 [Page 23] Internet-Draft Safe Migration, Policy Deployment December 2026 TargetModelID. SourceProvider. TargetProvider. InferenceConfiguration. TargetExecutionSubstrate. MigrationReason. ApplicableTaskID. The reason may include: Cost optimization. Provider outage. Model upgrade. Capability improvement. Security response. Jurisdictional relocation. Availability recovery. 10.1.4.3. Task-State Snapshot Mechanism (C-91.25) The Task-State Snapshot Mechanism produces a transferable representation of the active task. 1. Task objectives. 2. Completed operations. 3. Pending operations. 4. Authorized resource scope. 5. Relevant contextual artifacts. 6. Current workflow dependencies. Das Expires 4 June 2027 [Page 24] Internet-Draft Safe Migration, Policy Deployment December 2026 It may additionally include operation idempotency identifiers, execution generations, unresolved outcomes, and tool configuration. 10.1.4.4. Authoritative Operation Ledger (C-91.26) An Authoritative Operation Ledger maintains records of consequential operations. Representative statuses include: PLANNED. ADMITTED. SUBMITTED. PENDING. PARTIALLY_COMPLETED. COMPLETED_VERIFIED. CANCELED_VERIFIED. FAILED_VERIFIED. OUTCOME_INDETERMINATE. The ledger may be maintained by a trusted workflow controller, native resource interface, or protected execution service. A model cannot arbitrarily mark an operation completed by editing its own context. 10.1.4.5. Pending-Operation Registry (C-91.27) A Pending-Operation Registry identifies work that may remain effect- capable. Each record may include: OperationID. TargetResource. OperationClass. ExternalTransactionReference. Das Expires 4 June 2027 [Page 25] Internet-Draft Safe Migration, Policy Deployment December 2026 ExecutionService. IdempotencyKey. CurrentStatus. AuthorityGeneration. The registry supports continuation and duplicate prevention. 10.1.4.6. Task-Constraint Registry (C-91.28) The Task-Constraint Registry maintains independently specified task requirements. Examples include: PermittedResourceSet. PermittedOperationClasses. MaximumMutationScope. TargetEnvironment. ExpectedWorkflowDependencies. ExplicitProhibitions. TaskCompletionConditions. The registry must not derive every authorization constraint solely from the target model's proposed plan. 10.1.4.7. Transferable Context Artifact Store (C-91.29) The artifact store retains relevant: Documents. Structured task parameters. Tool response references. Resource snapshots. Authorized instructions. Das Expires 4 June 2027 [Page 26] Internet-Draft Safe Migration, Policy Deployment December 2026 Workflow checkpoints. Prior approved plans. Each artifact may carry provenance, version, access scope, and content-integrity metadata. 10.1.4.8. Side-Effect-Suppressed Evaluation Environment (C-91.30) The evaluation environment initializes the second model from the transferred state. It replaces effect-capable external interfaces with: 1. simulation; 2. interception; 3. recording; 4. non-effectuating stubs; 5. controlled replay fixtures; 6. synthetic resource views; or 7. equivalent isolated test interfaces. The test environment must not allow the evaluated continuation to create corresponding real external effects. 10.1.4.9. Effectuation Surface Registry (C-91.31) An Effectuation Surface Registry identifies external operations accessible through the agent runtime. Examples include: FILE_MUTATION. DATABASE_WRITE. PAYMENT_SUBMISSION. EMAIL_SEND. NETWORK_EXPORT. Das Expires 4 June 2027 [Page 27] Internet-Draft Safe Migration, Policy Deployment December 2026 CREDENTIAL_CHANGE. CLOUD_RESOURCE_UPDATE. SOFTWARE_DEPLOYMENT. HARDWARE_ACTUATION. REMOTE_TOOL_EXECUTION. The registry supports interception and isolation of consequential routes. 10.1.4.10. Tool Interposition Controller (C-91.32) The Tool Interposition Controller mediates attempted tool calls during evaluation. It can: 1. Record proposed requests. 2. Normalize arguments. 3. Return simulated outcomes. 4. Reject unsupported operations. 5. Enforce test-step bounds. 6. Prevent real resource modification. 7. Preserve a trace of model decisions. The controller does not rely solely upon a prompt telling the model not to execute tools. 10.1.4.11. Continuation Evaluator (C-91.33) The Continuation Evaluator executes one or more bounded steps using the replacement model. It records: ProposedToolOperations. RequestedResourceEffects. Das Expires 4 June 2027 [Page 28] Internet-Draft Safe Migration, Policy Deployment December 2026 TaskStateTransformations. ExternalOperationDependencies. ModelOutputReferences. EvaluationStepIDs. 10.1.4.12. Operation-Normalization Mechanism (C-91.34) The mechanism translates provider- or tool-specific operation requests into a common effect representation. For example: Provider A tool update_record and Provider B tool patch_resource may both be normalized to: UPDATE_RESOURCE. Their target, mutation, and dependency semantics remain independently compared. 10.1.4.13. Differential Evaluator (C-91.35) The Differential Evaluator compares normalized proposals against: 1. the authorized continuation envelope; 2. independently specified task constraints; 3. completed-operation history; 4. pending-operation state; 5. current resource scope; and 6. required workflow dependencies. 10.1.4.14. Divergence Classifier (C-91.36) The Divergence Classifier identifies at least: Das Expires 4 June 2027 [Page 29] Internet-Draft Safe Migration, Policy Deployment December 2026 EXPANDED_OPERATION_SCOPE. CHANGED_RESOURCE_TARGET. INCOMPATIBLE_TASK_STATE. REPEATED_CONSEQUENTIAL_OPERATION. UNAPPROVED_TOOL_TRANSITION. UNAUTHORIZED_DEPENDENCY. It may also classify: MISSING_REQUIRED_STEP. PREMATURE_COMPLETION. EFFECT_QUANTITY_EXPANSION. STALE_AUTHORITY. NONCOMPARABLE_OPERATION. 10.1.4.15. Migration-Admission Controller (C-91.37) The controller selects: ACCEPT. ACCEPT_WITH_RESTRICTIONS. REJECT. HOLD_FOR_REEVALUATION. The decision follows the differential assessment and current migration policy. 10.1.4.16. Continuation-State Reconciler (C-91.38) The reconciler prevents completed consequential operations from being re-executed due to transfer. It also preserves pending and indeterminate operations according to their authoritative status. Das Expires 4 June 2027 [Page 30] Internet-Draft Safe Migration, Policy Deployment December 2026 It does not assume an operation is canceled merely because the new model omits it from its plan. 10.1.4.17. Source-Execution Fence (C-91.39) A Source-Execution Fence prevents the first model context from continuing effect-capable execution after the designated migration cutover. It may be implemented through: Tool-dispatch generations. Runtime suspension. Connector admission restriction. Workflow lease revocation. Resource authorization version checks. A suitable combination of these mechanisms must cover the governed operation paths. 10.1.4.18. Target-Context Activation Controller (C-91.40) The activation controller establishes a new workflow context associated with the second model. It binds the new context to: AuthoritativeSnapshotReference. CurrentOperationLedger. CurrentPendingOperationSet. ApprovedToolScope. NewExecutionGeneration. MigrationDecision. 10.1.4.19. Migration Audit and Recovery Controller (C-91.41) The controller records: Snapshot creation. Das Expires 4 June 2027 [Page 31] Internet-Draft Safe Migration, Policy Deployment December 2026 Evaluation traces. Simulated operations. Differential results. Divergence classifications. Admission decisions. Source fencing. Target activation. Post-cutover operation outcomes. This supports rollback, investigation, and continuity after interrupted migration. 10.1.5. Authoritative Task-State Snapshot 10.1.5.1. Snapshot Boundary (C-91.42) The system establishes a snapshot boundary identifying which task- state events are included. The boundary may be associated with: TaskStateVersion. OperationLedgerSequence. AuthorityGeneration. ResourceConfigurationVersion. SnapshotGeneration. The snapshot cannot be treated as current indefinitely. 10.1.5.2. Task Objective Representation (C-91.43) The snapshot contains the authorized task objective independently of the model's current paraphrase. For example: Objective = Update the approved staging deployment configuration. Das Expires 4 June 2027 [Page 32] Internet-Draft Safe Migration, Policy Deployment December 2026 Constraint = Do not modify production resources. The task objective may include explicit completion conditions. 10.1.5.3. Completed-Operation Representation (C-91.44) A completed operation record includes: StableOperationID. OperationClass. CanonicalResourceTarget. EffectDescriptor. ExternalCompletionReference. CompletionStatus. CompletionGeneration. CompletionEvidenceReference. Only operations satisfying the selected authoritative completion semantics are classified as completed. 10.1.5.4. Pending-Operation Representation (C-91.45) A pending operation record includes: OperationID. OperationClass. TargetResource. CurrentExecutionService. SubmissionState. ExternalTransactionReference. IdempotencyReference. ContinuationRestrictions. Das Expires 4 June 2027 [Page 33] Internet-Draft Safe Migration, Policy Deployment December 2026 The target model must not treat pending status as permission to create another independent operation. 10.1.5.5. Indeterminate-Outcome Representation (C-91.46) An operation may be: OUTCOME_INDETERMINATE. For example: A payment request was transmitted, but its acknowledgment was lost. The snapshot records this uncertainty. The target model receives the state as a controlled dependency requiring reconciliation. 10.1.5.6. Authorized Resource Scope (C-91.47) The snapshot includes a bounded resource-access representation. For example: Environment = STAGING. ResourceGroup = PROJECT-X. PermittedOperationClasses = {READ, UPDATE}. ProhibitedOperationClasses = {DELETE_PRODUCTION, ISSUE_GLOBAL_ADMIN}. A replacement model cannot broaden this scope by proposing an apparently useful workflow step. 10.1.5.7. Tool Configuration (C-91.48) The snapshot includes the tools permitted for the task. A representative record contains: ToolID. ToolVersion. ConnectorID. PermittedMethods. Das Expires 4 June 2027 [Page 34] Internet-Draft Safe Migration, Policy Deployment December 2026 ResourceScope. EffectClass. CurrentAuthorizationGeneration. 10.1.5.8. Workflow Dependencies (C-91.49) A task may require: Operation A completes before Operation B. Approval C precedes Deployment D. Resource Lock E must remain valid. The snapshot represents dependencies as machine-readable relationships rather than only natural-language descriptions. 10.1.5.9. Contextual Artifacts (C-91.50) The snapshot may include references to relevant documents and resource-state observations. It need not transfer all source-context text where a smaller authoritative state is sufficient. The implementation must preserve the task information actually required for meaningful continuation. 10.1.5.10. Provider Data-Transfer Restrictions (C-91.51) Migration to a different provider may involve sensitive context. The snapshot mechanism checks applicable confidentiality, jurisdiction, tenant, and access restrictions before transferring artifacts. A migration requiring prohibited data disclosure must be rejected or restricted. 10.1.5.11. Snapshot Completeness (C-91.52) The snapshot is incomplete if it omits a material: Completed operation. Pending operation. Das Expires 4 June 2027 [Page 35] Internet-Draft Safe Migration, Policy Deployment December 2026 Unresolved transaction. Authorized resource constraint. Active workflow dependency. The migration evaluator does not infer missing authoritative status from the source model's conversational explanation. 10.1.6. Side-Effect-Suppressed Evaluation Environment 10.1.6.1. Evaluation Isolation (C-91.53) The second model runs in an environment that prevents actual resource effects through the governed external interfaces. Possible substrates include: Isolated container. Micro-VM. Virtual machine. Protected agent runtime. Dedicated test execution service. The substrate alone does not guarantee side-effect suppression; tool and resource access must also be controlled. 10.1.6.2. Tool Replacement (C-91.54) External resource-modifying tools are replaced with non-effectuating interfaces. For example: PRODUCTION_DATABASE_UPDATE is represented by: SIMULATED_DATABASE_UPDATE. The simulation records the requested target and mutation but does not commit the update to production. Das Expires 4 June 2027 [Page 36] Internet-Draft Safe Migration, Policy Deployment December 2026 10.1.6.3. Recorded Operation Instead of Execution (C-91.55) A tool interceptor may record: OperationClass = UPDATE_RESOURCE. Target = STAGING-DB-7. Mutation = SET STATUS ACTIVE. EffectuationStatus = NOT_EXECUTED_EVALUATION. The record supports comparison without applying the mutation. 10.1.6.4. Read-Only Tool Considerations (C-91.56) A real read may be allowed only when its side effects and disclosure properties satisfy the test policy. Where a remote read may mutate state, consume a privileged one-time operation, expose confidential data, or trigger external automation, the evaluator substitutes an appropriate fixture or isolated interface. 10.1.6.5. Credential Isolation (C-91.57) The evaluation environment must not expose unrestricted production credentials to the replacement model. It may provide: Non-functional test credentials. Virtualized credential handles. Restricted read tokens. Broker-mediated non-effectuating interfaces. An actual production credential must not create an unmediated route to external effects. 10.1.6.6. Network Egress Control (C-91.58) Direct external network access may bypass tool stubs. The test environment may therefore use a deny-by-default egress policy with explicit safe exceptions. Das Expires 4 June 2027 [Page 37] Internet-Draft Safe Migration, Policy Deployment December 2026 The policy must cover relevant sockets, DNS-mediated routes, proxy configurations, and alternative runtime interfaces. 10.1.6.7. File and Storage Effects (C-91.59) The evaluator may use copy-on-write storage or synthetic resource state. A model-generated file write modifies only evaluation-local state. It does not overwrite the production resource. 10.1.6.8. Asynchronous Side Effects (C-91.60) Some tools submit work that executes later. A stub must prevent creation of a real background job, not merely prevent the synchronous return of a result. The evaluation environment intercepts queue submission or downstream effectuation according to the relevant architecture. 10.1.6.9. Browser and Computer-Use Effects (C-91.61) A browser-based agent may click controls that issue resource mutations. The test environment must prevent actual web transactions or use a controlled simulated environment. Merely disabling a named API tool is insufficient if browser automation provides another effect-capable path. 10.1.6.10. Device and Hardware Effects (C-91.62) If the agent can issue device commands, the evaluation environment must substitute or restrict effect-capable device interfaces. The simulated continuation must not cause physical actuation, DMA effects, or production hardware state changes. 10.1.6.11. Failure to Intercept an Effectuation Path (C-91.63) If a proposed operation can reach a real external mutation interface during evaluation, the side-effect-suppression guarantee is incomplete. Das Expires 4 June 2027 [Page 38] Internet-Draft Safe Migration, Policy Deployment December 2026 The evaluator must not label the evaluation successful merely because most tool calls were intercepted. 10.1.6.12. Simulation Result Semantics (C-91.64) A simulated result may report: SIMULATED_SUCCESS. SIMULATED_FAILURE. SIMULATED_TIMEOUT. SIMULATED_RESOURCE_CONFLICT. These responses are identified as evaluation results. They do not update the authoritative external operation ledger as production completions. 10.1.6.13. Realistic Failure Injection (C-91.65) The evaluator may test several controlled response scenarios. For example: 1. Tool success. 2. Tool timeout. 3. Resource not found. 4. Permission denied. 5. Existing operation pending. 6. Conflicting state. 7. Partial simulated completion. This can reveal workflow assumptions and unsafe retries. 10.1.7. Bounded Continuation 10.1.7.1. Evaluation Horizon (C-91.66) The continuation evaluator executes a predetermined number of model and tool steps. Das Expires 4 June 2027 [Page 39] Internet-Draft Safe Migration, Policy Deployment December 2026 For example: MaximumModelSteps = 12. MaximumToolProposals = 8. MaximumEvaluationTime = 60 seconds. 10.1.7.2. Continuation Inputs (C-91.67) The target model receives: TaskObjective. AuthoritativeTaskSnapshot. PermittedToolDescriptions. CurrentWorkflowDependencies. EvaluationPolicy. ControlledContextArtifacts. It does not receive authority to rewrite the protected operation ledger. 10.1.7.3. Continuation Outputs (C-91.68) The evaluator records: ProposedToolCall. NormalizedOperation. ProposedResourceEffect. TaskStateTransformation. IntroducedDependency. ModelClaimedCompletion. EvaluationStepID. SimulationResponse. Das Expires 4 June 2027 [Page 40] Internet-Draft Safe Migration, Policy Deployment December 2026 10.1.7.4. Stepwise Recording (C-91.69) Each step is assigned an evaluation identity. For example: EVAL-91 / STEP-04. The resulting proposal can be traced to its model output, tool request, and simulated response. 10.1.7.5. Bounded Recursion (C-91.70) An agent may create subagents or nested plans. The evaluator applies an explicit recursion and delegated execution limit. A subagent cannot bypass the side-effect suppression policy by invoking a new tool pathway. 10.1.7.6. Evaluation Termination (C-91.71) The evaluation terminates when: 1. the bounded horizon is reached; 2. a disallowed effect is proposed; 3. a critical divergence is identified; 4. the model fails to progress; 5. the test infrastructure cannot maintain suppression; or 6. the permitted evaluation completes. The outcome is recorded. 10.1.7.7. Non-Deterministic Continuation (C-91.72) A model may generate different proposals across repeated tests. An implementation may evaluate multiple bounded continuations. The migration policy specifies how sampled divergences influence admission. Das Expires 4 June 2027 [Page 41] Internet-Draft Safe Migration, Policy Deployment December 2026 A finite sample is not proof that all possible future continuations are safe. 10.1.7.8. Comparison Against Independent Constraints (C-91.73) The target model may propose that the objective has changed. The differential evaluator checks against the independently specified task objective and authority envelope. The replacement model's own revised objective is not automatically authoritative. 10.1.8. Operation Normalization 10.1.8.1. Normalized Operation Descriptor (C-91.74) A representative descriptor comprises: CanonicalOperationClass. CanonicalTargetID. EffectType. EffectParameters. EffectQuantity. IdempotencySemantics. DependencySet. RequiredAuthorityScope. ProposedExecutionOrder. 10.1.8.2. Tool-Name Independence (C-91.75) Two provider-specific tool names may represent the same resource effect. The normalizer maps them to a common effect class. For example: Tool A: patch_customer. Das Expires 4 June 2027 [Page 42] Internet-Draft Safe Migration, Policy Deployment December 2026 Tool B: update_customer_record. Both may normalize to: UPDATE_CUSTOMER_RECORD. However, target and field-level differences remain visible. 10.1.8.3. Resource Identifier Canonicalization (C-91.76) A resource may be represented by: URI. Database key. Cloud resource identifier. Alias. Human-readable name. The normalizer resolves the target under an approved namespace and versioned resource registry. Ambiguous aliases are not silently resolved in favor of the model's preferred target. 10.1.8.4. Argument Canonicalization (C-91.77) A proposed mutation may use different argument formats. For example: {"state":"enabled"} and: {"enabled"} may be equivalent for a specific API schema. The normalizer applies documented schema-aware transformations. It does not assume arbitrary JSON representations have identical semantics. Das Expires 4 June 2027 [Page 43] Internet-Draft Safe Migration, Policy Deployment December 2026 10.1.8.5. Effect Quantity (C-91.78) The normalizer records quantities relevant to the operation. Examples include: Number of records modified. Payment amount. Number of recipients. Bytes exported. Cloud instances created. Storage objects deleted. The evaluator checks the quantities against task constraints. 10.1.8.6. Ordering Constraints (C-91.79) Two operations may have identical individual effects but different ordering. For example: APPROVE_PAYMENT. SUBMIT_PAYMENT. Reversing the order may violate task policy. The normalized continuation includes relevant dependency and sequence information. 10.1.8.7. Idempotency Semantics (C-91.80) An operation may be: IDEMPOTENT_BY_RESOURCE_KEY. IDEMPOTENT_WITH_NATIVE_TRANSACTION_ID. NON_IDEMPOTENT. UNKNOWN_IDEMPOTENCY. Das Expires 4 June 2027 [Page 44] Internet-Draft Safe Migration, Policy Deployment December 2026 The system does not infer idempotency merely because the API uses a familiar verb. 10.1.8.8. Incompatible Tool Semantics (C-91.81) If tool mappings are incomplete or materially inconsistent, the normalizer returns: NONCOMPARABLE_OPERATION. The migration evaluator may restrict or reject the corresponding continuation. 10.1.9. Authorized Continuation Envelope 10.1.9.1. Envelope Inputs (C-91.82) The continuation envelope is derived from: AuthoritativeTaskSnapshot. CurrentTaskConstraints. CurrentAuthorizationScope. CompletedOperationLedger. PendingOperationRegistry. WorkflowDependencies. CurrentResourceStateWhereRequired. 10.1.9.2. Permitted Operation Classes (C-91.83) The envelope specifies classes such as: READ_APPROVED_RECORD. UPDATE_STAGING_RESOURCE. GENERATE_LOCAL_ARTIFACT. SEND_APPROVED_NOTIFICATION. It excludes operations not authorized for the task. Das Expires 4 June 2027 [Page 45] Internet-Draft Safe Migration, Policy Deployment December 2026 10.1.9.3. Permitted Resource Targets (C-91.84) The envelope identifies authorized resources or resource classes. For example: Tenant = T1. Project = P7. Environment = STAGING. TargetResourceSet = APPROVED_DEPLOYMENT_RESOURCES. 10.1.9.4. Permitted Effect Bounds (C-91.85) The envelope may specify: MaximumPaymentAmount. MaximumRecordCount. MaximumExportBytes. MaximumDeploymentScope. MaximumCredentialPrivilege. These limits are compared with normalized effect proposals. 10.1.9.5. Completed-Operation Exclusions (C-91.86) The envelope identifies operations already completed. A proposed repeat of such an operation is not automatically permitted. The system checks whether the task explicitly authorizes repetition and whether a new operation identity and authority exist. 10.1.9.6. Pending-Operation Dependencies (C-91.87) A pending operation may block a subsequent operation until it completes or reaches another authorized state. For example: Das Expires 4 June 2027 [Page 46] Internet-Draft Safe Migration, Policy Deployment December 2026 DEPLOYMENT_VERIFICATION cannot occur before DEPLOYMENT_SUBMITTED resolves to the required state. The target model cannot ignore the dependency merely by declaring it complete. 10.1.9.7. Independent Constraints (C-91.88) The task constraints may be supplied by an authorized user, workflow controller, native policy system, or another designated authority. +==============================================================+ | They remain independent of the target model's proposed plan. | +==============================================================+ | PART IX - DIFFERENTIAL EVALUATION C-91.89 - Comparative | | Inputs The differential evaluator receives: 1. Transferable | | authoritative state. 2. Authorized continuation envelope. | | 3. Normalized proposed operations. 4. Proposed task-state | | transformations. 5. Proposed external dependencies. 6. | | Relevant source workflow constraints. | +--------------------------------------------------------------+ | C-91.90 - Expanded Operation Scope The replacement model may | | propose an operation class outside the envelope. Example: | | Approved: READ_RESOURCE. Proposed: DELETE_RESOURCE. The | | divergence classifier returns: EXPANDED_OPERATION_SCOPE. | +--------------------------------------------------------------+ Table 1 10.1.9.8. Changed Target Resource (C-91.91) The model proposes the right operation class but targets the wrong resource. Example: Approved: UPDATE_STAGING. Proposed: UPDATE_PRODUCTION. The classifier returns: CHANGED_RESOURCE_TARGET. 10.1.9.9. Incompatible Task-State Interpretation (C-91.92) The snapshot identifies: Das Expires 4 June 2027 [Page 47] Internet-Draft Safe Migration, Policy Deployment December 2026 PAYMENT_PENDING. The model assumes: PAYMENT_FAILED. The divergence classifier identifies an incompatible state interpretation if the assumption would affect continuation. 10.1.9.10. Repeated Consequential Operation (C-91.93) The authoritative ledger identifies an operation as completed. The replacement model proposes an equivalent effect again without a separate authorized purpose. The classifier returns: REPEATED_CONSEQUENTIAL_OPERATION. 10.1.9.11. Unapproved Tool-Selection Transition (C-91.94) The original authorized workflow uses a constrained connector. The replacement model proposes a broader administrative API. Even if the intended objective is similar, the tool transition may introduce additional authority or effects. The classifier returns: UNAPPROVED_TOOL_SELECTION. 10.1.9.12. Unauthorized Dependency (C-91.95) The replacement model proposes a new external service or resource dependency not authorized for the task. For example: An internal report workflow is modified to depend upon an external upload service. The classifier returns: UNAUTHORIZED_DEPENDENCY. Das Expires 4 June 2027 [Page 48] Internet-Draft Safe Migration, Policy Deployment December 2026 10.1.9.13. Missing Required Operation (C-91.96) The model omits a required verification or approval step. The evaluator may return: MISSING_REQUIRED_DEPENDENCY. Such omissions may be operationally significant even where no prohibited tool call was proposed. 10.1.9.14. False Completion (C-91.97) The target model declares that a pending operation has completed. The authoritative operation ledger does not support that state. The evaluator records: UNSUPPORTED_COMPLETION_ASSERTION. 10.1.9.15. Evaluation Outcome (C-91.98) Representative results include: WITHIN_ENVELOPE. RESTRICTABLE_DIVERGENCE. CRITICAL_DIVERGENCE. INCOMPLETE_EVALUATION. SIMULATION_COVERAGE_FAILURE. STATE_RECONCILIATION_REQUIRED. The admission controller applies the selected policy. 10.1.10. Migration Admission 10.1.10.1. Accept (C-91.99) The controller may accept migration when the proposed continuation satisfies the authorized envelope and other required admission conditions. Acceptance authorizes establishment of a new active workflow context. Das Expires 4 June 2027 [Page 49] Internet-Draft Safe Migration, Policy Deployment December 2026 It does not automatically authorize every later operation without applicable native controls. 10.1.10.2. Accept with Restrictions (C-91.100) The controller may restrict: ToolSet. ResourceScope. OperationClass. ExecutionRate. ExternalEffectPermissions. DelegationPermissions. The target model may continue under narrower controls. The restrictions must be enforced by the corresponding runtime or resource interfaces. C-91.101 - Reject The controller rejects migration where critical divergence, unsafe state interpretation, incomplete suppression, or unreconciled duplicate-effect risk prevents safe admission. The system does not activate the replacement model as the unrestricted production executor. 10.1.10.3. Hold for Re-Evaluation (C-91.102) The controller may defer migration when: A pending external operation remains unresolved. The task policy has changed. A resource has moved. The test environment is incomplete. Additional simulation is required. Das Expires 4 June 2027 [Page 50] Internet-Draft Safe Migration, Policy Deployment December 2026 10.1.10.4. Admission Record (C-91.103) A representative record includes: MigrationID. SourceModelReference. TargetModelReference. SnapshotReference. EvaluationTraceReference. EnvelopeReference. DivergenceClassification. ApprovedRestrictionSet. AdmissionDecision. DecisionGeneration. 10.1.11. Continuation-State Reconciliation +===============================================================+ | C-91.104 - Stable Consequential Operation Identity Each | | consequential operation may have a stable logical identifier. | | For example: TaskID = TASK-91. OperationID = PAYMENT-STEP- | | 04. ExternalTransactionID = TX-784. This allows model | | replacement without losing the operation's identity. | +===============================================================+ | C-91.105 - Completed-Operation Preservation If an operation | | is authoritatively completed, its completion status remains | | in the active workflow ledger after migration. The | | destination model cannot reclassify it as pending merely | | through generated text. | +---------------------------------------------------------------+ | C-91.106 - Pending-Operation Preservation An operation | | already admitted to a worker queue remains represented as | | pending until authoritative reconciliation. Migration does | | not create an independent duplicate by default. | +---------------------------------------------------------------+ Table 2 Das Expires 4 June 2027 [Page 51] Internet-Draft Safe Migration, Policy Deployment December 2026 10.1.11.1. Indeterminate Operation (C-91.107) Where the external outcome is unknown: OUTCOME_INDETERMINATE. The continuation-state reconciler may query the native resource service using a stable transaction reference. If no authoritative result can be established, the system preserves uncertainty and applies the task's safe continuation policy. 10.1.11.2. Idempotent Retry (C-91.108) A retry may be permitted where the actual resource interface provides verified idempotency semantics using a stable key. The system must confirm that the key and operation parameters refer to the same logical operation. 10.1.11.3. Non-Idempotent Retry (C-91.109) For a non-idempotent consequential operation, an unresolved original request cannot be repeated automatically. A separate reconciliation or authorization procedure is required. 10.1.11.4. Source and Target Execution Generations (C-91.110) The source model runs under Generation G. The replacement model activates under Generation G+1 or another protected successor identifier. Effect-capable tool requests are associated with their active generation. Stale source-generation requests are denied at the governed boundary after cutover. 10.1.11.5. Cutover Barrier (C-91.111) A safe cutover procedure may: 1. Restrict new source submissions. 2. Identify outstanding source operations. Das Expires 4 June 2027 [Page 52] Internet-Draft Safe Migration, Policy Deployment December 2026 3. Reconcile recent completed effects. 4. Refresh the transferable state. 5. Validate current authority. 6. Establish the target execution generation. 7. Bind current tool permissions. 8. Activate the target workflow. The selected process must prevent source and target contexts from independently executing the same logical work without adequate coordination. 10.1.11.6. Cutover Failure (C-91.112) If target activation fails after source fencing, the system may remain in a restricted paused state. It must not automatically reactivate both models with overlapping unrestricted authority. 10.1.11.7. Migration Rollback (C-91.113) Rollback may restore the previous model as the active executor. However, it must use the current authoritative operation ledger and a newly authorized execution generation. It cannot simply restore a stale conversational snapshot and repeat intervening effects. 10.1.12. Complete 44-Step Principal Workflow 10.1.12.1. End-to-End Model Migration (C-91.114) *Step C91-01 - Identify active task* Resolve the agent task, source model, and current execution context. *Step C91-02 - Receive migration proposal* Identify the target model, provider, version, or execution substrate. *Step C91-03 - Verify migration authority* Das Expires 4 June 2027 [Page 53] Internet-Draft Safe Migration, Policy Deployment December 2026 Confirm permission to propose the model substitution. *Step C91-04 - Read current task objectives* Obtain authoritative task goals and completion criteria. *Step C91-05 - Read applicable resource permissions* Identify permitted resource and operation scopes. *Step C91-06 - Read tool configuration* Identify current tools, connectors, and relevant versions. *Step C91-07 - Read completed operation ledger* Collect authoritative completed effects. *Step C91-08 - Read pending operation registry* Collect outstanding operations. *Step C91-09 - Identify indeterminate outcomes* Record unresolved external transactions. *Step C91-10 - Capture workflow dependencies* Preserve ordering, approval, and resource prerequisites. *Step C91-11 - Capture contextual artifacts* Record required context and provenance references. *Step C91-12 - Establish snapshot generation* Create a consistent transferable state reference. *Step C91-13 - Validate snapshot completeness* Check required operational-state fields. *Step C91-14 - Verify target provider transfer restrictions* Apply confidentiality and jurisdictional constraints. *Step C91-15 - Compile authorized continuation envelope* Das Expires 4 June 2027 [Page 54] Internet-Draft Safe Migration, Policy Deployment December 2026 Derive allowed operations from state and independent task constraints. *Step C91-16 - Inventory test effectuation surfaces* Identify all external resource-effect interfaces. *Step C91-17 - Install side-effect suppression* Configure simulation, recording, or non-effectuating interfaces. *Step C91-18 - Verify suppression coverage* Ensure governed real external effects cannot be reached by the test. *Step C91-19 - Initialize target model* Load transferable task state into the evaluation context. *Step C91-20 - Establish evaluation bounds* Configure maximum steps, tool calls, and other limits. *Step C91-21 - Execute bounded continuation* Allow the replacement model to propose next operations. *Step C91-22 - Intercept proposed tool calls* Prevent actual effectuation and record proposals. *Step C91-23 - Return controlled simulation results* Maintain a test-only continuation. *Step C91-24 - Collect proposed resource effects* Record effect classes, targets, parameters, and quantities. *Step C91-25 - Collect proposed task-state changes* Record the target model's interpretation of task progress. *Step C91-26 - Collect introduced dependencies* Identify new tools, services, and resource dependencies. *Step C91-27 - Normalize proposed operations* Das Expires 4 June 2027 [Page 55] Internet-Draft Safe Migration, Policy Deployment December 2026 Produce comparable effect descriptors. *Step C91-28 - Verify canonical target identity* Resolve and validate proposed resource references. *Step C91-29 - Compare against authorized envelope* Check resource and operation scope. *Step C91-30 - Compare against completed operation ledger* Identify duplicate consequential operations. *Step C91-31 - Compare against pending operation state* Identify unsafe retries or conflicting work. *Step C91-32 - Validate workflow dependencies* Check required ordering and approval conditions. *Step C91-33 - Classify divergences* Identify scope, target, state, duplicate, tool, and dependency divergence. *Step C91-34 - Evaluate simulation sufficiency* Determine whether test coverage supports the admission decision. *Step C91-35 - Apply migration admission policy* Accept, restrict, reject, or hold migration. *Step C91-36 - Prepare cutover if admitted* Identify source and destination execution controls. *Step C91-37 - Fence source operation admission* Prevent new conflicting source effects. *Step C91-38 - Refresh authoritative operational state* Reconcile source operations completed since the snapshot. *Step C91-39 - Revalidate authority and constraints* Das Expires 4 June 2027 [Page 56] Internet-Draft Safe Migration, Policy Deployment December 2026 Check current policy and resource scope. *Step C91-40 - Reconcile outstanding operations* Preserve pending and indeterminate state. *Step C91-41 - Commit successor execution generation* Create the target active workflow context. *Step C91-42 - Activate bounded target permissions* Enable the approved target tool and resource scope. *Step C91-43 - Verify post-cutover operation continuity* Check duplicate prevention and applicable native authorization. *Step C91-44 - Commit migration audit state* Record evaluation, admission, reconciliation, and activation results. 10.1.13. Reference Implementation Algorithms C-91.115 - Algorithm A: Migration Proposal Validation function ValidateMigrationProposal(proposal): source = ActiveWorkflowRegistry.get( proposal.task_id ) if source is unavailable: return DENIED if not VerifyMigrationInitiatorAuthority( proposal.initiator, source ): return DENIED target = ModelProviderRegistry.resolve( proposal.target_model ) if target is unavailable: return TARGET_UNAVAILABLE if not VerifyProviderTransferPolicy( source, target ): return TRANSFER_RESTRICTED return MIGRATION_PROPOSAL_VALID Das Expires 4 June 2027 [Page 57] Internet-Draft Safe Migration, Policy Deployment December 2026 C-91.116 - Algorithm B: Authoritative Task Snapshot function CreateTransferableTaskSnapshot(task_id): task = TaskRegistry.getCurrent(task_id) begin consistent_snapshot objectives = TaskAuthorityRegistry.getObjectives(task_id) completed = OperationLedger.getVerifiedCompleted( task_id ) pending = OperationLedger.getOutstanding( task_id ) unresolved = OperationLedger.getIndeterminate( task_id ) scope = AuthorizationRegistry.getCurrentScope( task_id ) dependencies = WorkflowRegistry.getDependencies( task_id ) artifacts = ContextArtifactRegistry.getRequired( task_id ) snapshot = SnapshotRegistry.commit({ task_id: task_id, task_generation: task.generation, completed: completed, pending: pending, unresolved: unresolved, authority_scope: scope, dependencies: dependencies, contextual_artifacts: artifacts, objectives: objectives }) commit consistent_snapshot return snapshot Das Expires 4 June 2027 [Page 58] Internet-Draft Safe Migration, Policy Deployment December 2026 The snapshot uses authoritative operation records, not merely a model-written task summary. C-91.117 - Algorithm C: Snapshot Completeness Validation function VerifyMigrationSnapshot(snapshot): if snapshot.objectives are missing: return INCOMPLETE if not VerifyOperationLedgerSequence(snapshot): return INCOMPLETE if not VerifyPendingAndIndeterminateReferences(snapshot): return INCOMPLETE if not VerifyCurrentAuthorityReference(snapshot): return INCOMPLETE if not VerifyWorkflowDependencyIntegrity(snapshot): return INCOMPLETE if not VerifyRequiredArtifactAvailability(snapshot): return INCOMPLETE return SNAPSHOT_VALID C-91.118 - Algorithm D: Authorized Continuation Envelope Das Expires 4 June 2027 [Page 59] Internet-Draft Safe Migration, Policy Deployment December 2026 function CompileContinuationEnvelope(snapshot): constraints = TaskConstraintRegistry.getCurrent( snapshot.task_id ) if constraints are unavailable: return DENIED permitted = IntersectOperationScopes( snapshot.authority_scope, constraints.authorized_scope ) return ContinuationEnvelopeRegistry.commit({ task_id: snapshot.task_id, permitted_operations: permitted, permitted_resources: constraints.resource_scope, effect_bounds: constraints.effect_bounds, completed_exclusions: snapshot.completed, pending_dependencies: snapshot.pending, unresolved_dependencies: snapshot.unresolved, workflow_constraints: snapshot.dependencies, constraint_generation: constraints.generation }) The envelope is not expanded by the target model's own reasoning. C-91.119 - Algorithm E: Side-Effect Surface Coverage function VerifyEvaluationSuppression(runtime, tool_registry): surfaces = EnumerateEffectuationSurfaces( runtime, tool_registry ) for each surface in surfaces: if not SurfaceEffectCapable(surface): continue if not IsInterposedOrPhysicallyIsolated(surface): return SUPPRESSION_INCOMPLETE if not VerifyNoProductionMutationPath(surface): return SUPPRESSION_INCOMPLETE return SUPPRESSION_VERIFIED The method must account for browser, network, connector, file, queue, and device-mediated effects within the evaluation's claimed scope. C-91.120 - Algorithm F: Non-Effectuating Tool Invocation Das Expires 4 June 2027 [Page 60] Internet-Draft Safe Migration, Policy Deployment December 2026 function EvaluateToolInvocation(request, evaluation): if evaluation.status != ACTIVE: return DENIED if not VerifyEvaluationStepBudget(evaluation): return EVALUATION_LIMIT_REACHED effect = ClassifyPotentialExternalEffect(request) if effect is unknown: return UNSUPPORTED_OPERATION proposal = EvaluationTraceRegistry.record({ evaluation_id: evaluation.id, tool_request: request, normalized_effect_candidate: effect, effectuation_status: NOT_EXECUTED }) return SimulationInterface.respond( proposal, evaluation.fixture_state ) A simulated response does not mark the corresponding production operation completed. C-91.121 - Algorithm G: Bounded Target Continuation Das Expires 4 June 2027 [Page 61] Internet-Draft Safe Migration, Policy Deployment December 2026 function ExecuteBoundedTargetContinuation( target_model, snapshot, evaluation_policy ): environment = CreateSuppressedEvaluationEnvironment( snapshot, evaluation_policy ) if VerifyEvaluationSuppression( environment, environment.tool_registry ) != SUPPRESSION_VERIFIED: return EVALUATION_UNSAFE trace = NewEvaluationTrace() for step in range(evaluation_policy.maximum_steps): proposal = target_model.continueTask( environment.current_context ) trace.recordModelProposal(proposal) result = environment.evaluateWithoutExternalEffect( proposal ) trace.recordSimulatedOutcome(result) if result requires termination: break return trace C-91.122 - Algorithm H: Effect Descriptor Normalization function NormalizeProposedOperation(proposal): schema = ToolSemanticRegistry.get( proposal.tool_id, proposal.tool_version ) if schema is unavailable: return NONCOMPARABLE_OPERATION operation_class = schema.resolveOperationClass( proposal ) target = CanonicalResourceRegistry.resolve( proposal.target ) Das Expires 4 June 2027 [Page 62] Internet-Draft Safe Migration, Policy Deployment December 2026 if target is ambiguous: return NONCOMPARABLE_OPERATION effect = schema.normalizeMutation( proposal.arguments ) return { operation_class: operation_class, target_resource: target, effect_descriptor: effect, effect_quantity: schema.effectQuantity(proposal), dependency_set: proposal.dependencies, idempotency_class: schema.idempotencySemantics } C-91.123 - Algorithm I: Operational Differential Evaluation function CompareContinuationAgainstEnvelope( normalized_trace, envelope ): divergences = EmptySet() for each operation in normalized_trace.operations: if operation.class not in envelope.permitted_operations: divergences.add(EXPANDED_OPERATION_SCOPE) if operation.target not in envelope.permitted_resources: divergences.add(CHANGED_RESOURCE_TARGET) if not EffectWithinBounds( operation, envelope.effect_bounds ): divergences.add(EFFECT_SCOPE_EXPANSION) if MatchesCompletedConsequentialOperation( operation, envelope.completed_exclusions ): divergences.add(REPEATED_CONSEQUENTIAL_OPERATION) Das Expires 4 June 2027 [Page 63] Internet-Draft Safe Migration, Policy Deployment December 2026 if ConflictsWithPendingOperation( operation, envelope.pending_dependencies ): divergences.add(PENDING_OPERATION_CONFLICT) if not WorkflowDependenciesSatisfied( operation, envelope.workflow_constraints ): divergences.add(UNAUTHORIZED_DEPENDENCY) return divergences C-91.124 - Algorithm J: Model Task-State Comparison function ValidateProposedTaskState( proposed_state, authoritative_snapshot ): for each claimed_completed in proposed_state.completed: if not OperationLedger.isVerifiedCompleted( claimed_completed, authoritative_snapshot.task_id ): return INCOMPATIBLE_TASK_STATE for each pending in authoritative_snapshot.pending: if proposed_state.omitsRequiredPendingDependency(pending): return INCOMPATIBLE_TASK_STATE for each unresolved in authoritative_snapshot.unresolved: if proposed_state.treatsAsSafeToRepeat(unresolved): return UNSAFE_RETRY_ASSUMPTION return TASK_STATE_COMPATIBLE 10.1.13.1. Algorithm K: Divergence Classification (C-91.125) function ClassifyMigrationDivergence( operation_differences, state_differences, evaluation_quality ): Das Expires 4 June 2027 [Page 64] Internet-Draft Safe Migration, Policy Deployment December 2026 if evaluation_quality != SUFFICIENT: return INCOMPLETE_EVALUATION if ContainsCriticalResourceOrScopeExpansion( operation_differences ): return CRITICAL_DIVERGENCE if ContainsCompletedOperationReplay( operation_differences ): return CRITICAL_DIVERGENCE if state_differences indicate unsafe pending handling: return CRITICAL_DIVERGENCE if DifferencesCanBeEnforcedByNarrowingPermissions( operation_differences ): return RESTRICTABLE_DIVERGENCE return WITHIN_AUTHORIZED_ENVELOPE 10.1.13.2. Algorithm L: Migration Admission (C-91.126) function DecideMigrationAdmission( snapshot, evaluation, divergence ): if not VerifySnapshotCurrentEnough(snapshot): return HOLD_FOR_REEVALUATION if evaluation.suppression_status != VERIFIED: return REJECT if divergence == CRITICAL_DIVERGENCE: return REJECT if divergence == INCOMPLETE_EVALUATION: return HOLD_FOR_REEVALUATION if divergence == RESTRICTABLE_DIVERGENCE: return ACCEPT_WITH_RESTRICTIONS if divergence == WITHIN_AUTHORIZED_ENVELOPE: return ACCEPT return REJECT Das Expires 4 June 2027 [Page 65] Internet-Draft Safe Migration, Policy Deployment December 2026 C-91.127 - Algorithm M: Completed Operation Replay Prevention function GuardConsequentialOperation(operation, task_id): canonical = NormalizeProposedOperation(operation) current = OperationLedger.getCurrent(task_id) if current.containsVerifiedCompletedEquivalent(canonical): if not TaskAuthorityRegistry.permitsNewDistinctRepeat( task_id, canonical ): return REPLAY_DENIED if current.containsPendingEquivalent(canonical): return HOLD_FOR_PENDING_RECONCILIATION if current.containsIndeterminateEquivalent(canonical): return HOLD_FOR_OUTCOME_RECONCILIATION return ELIGIBLE_FOR_NATIVE_AUTHORIZATION The equivalence relation is resource- and operation-specific. It must not treat superficially similar but legally or operationally distinct acts as identical without a defined rule. C-91.128 - Algorithm N: Source Execution Cutover Fence function FenceSourceWorkflowForMigration( source_context, migration ): new_generation = AllocateSuccessorExecutionGeneration( source_context.task_id ) barrier = WorkflowControlRegistry.commit({ task_id: source_context.task_id, source_generation: source_context.generation, successor_generation: new_generation, state: CUTOVER_FENCING }) BlockNewSourceEffectCapableSubmissions( source_context, barrier ) if not VerifySourceSubmissionFenceEffective(barrier): return CUTOVER_INCOMPLETE Das Expires 4 June 2027 [Page 66] Internet-Draft Safe Migration, Policy Deployment December 2026 return { state: SOURCE_FENCED, successor_generation: new_generation } Already admitted work must still be reconciled. C-91.129 - Algorithm O: Final Reconciliation and Target Activation function ActivateMigratedWorkflow( migration, evaluated_snapshot ): fence = FenceSourceWorkflowForMigration( migration.source_context, migration ) if fence.state != SOURCE_FENCED: return ACTIVATION_DENIED latest = CreateTransferableTaskSnapshot( migration.task_id ) if not VerifyChangesSinceEvaluationAcceptable( evaluated_snapshot, latest, migration.approved_envelope ): return REEVALUATION_REQUIRED if not VerifyCurrentTargetAuthority( migration.target_model, latest ): return ACTIVATION_DENIED Das Expires 4 June 2027 [Page 67] Internet-Draft Safe Migration, Policy Deployment December 2026 target = ActiveWorkflowRegistry.create({ task_id: migration.task_id, model_instance: migration.target_model, task_snapshot: latest, execution_generation: fence.successor_generation, approved_scope: migration.approved_scope, authoritative_ledger_reference: latest.operation_ledger_reference }) return TARGET_ACTIVATED C-91.130 - Algorithm P: Safe Reconciliation of Indeterminate Operations function ReconcileIndeterminateOperation(operation): native = NativeResourceRegistry.getController( operation.target_resource ) outcome = native.queryByStableTransactionReference( operation.external_transaction_reference ) if outcome == VERIFIED_COMPLETED: OperationLedger.markCompletedWithEvidence(operation) return COMPLETED if outcome == VERIFIED_NOT_EFFECTUABLE: OperationLedger.markFailedWithEvidence(operation) return SAFE_TO_REEVALUATE if outcome == VERIFIED_PENDING: return KEEP_PENDING if NativeIdempotencyGuaranteeApplies(operation): return RETRY_ONLY_UNDER_NATIVE_IDEMPOTENCY_RULE return OUTCOME_INDETERMINATE_DO_NOT_REPEAT C-91.131 - Algorithm Q: Post-Migration Operation Authorization Das Expires 4 June 2027 [Page 68] Internet-Draft Safe Migration, Policy Deployment December 2026 function AuthorizePostMigrationOperation( active_context, operation ): if not VerifyCurrentExecutionGeneration(active_context): return DENIED_STALE_CONTEXT if not VerifyOperationWithinApprovedMigrationScope( operation, active_context ): return DENIED replay_result = GuardConsequentialOperation( operation, active_context.task_id ) if replay_result != ELIGIBLE_FOR_NATIVE_AUTHORIZATION: return replay_result return NativeResourceAuthorization.authorize( operation, active_context ) Migration admission does not bypass ordinary resource authorization. 10.1.13.3. Algorithm R: Restricted Rollback (C-91.132) function RollbackFailedMigration(migration): SuspendTargetEffectCapableSubmissions(migration.task_id) latest = CreateTransferableTaskSnapshot( migration.task_id ) if not ReconcileOutstandingOperations(latest): return RESTRICTED_RECOVERY source_model = ModelRegistry.get( migration.previous_model_reference ) new_generation = AllocateSuccessorExecutionGeneration( migration.task_id ) Das Expires 4 June 2027 [Page 69] Internet-Draft Safe Migration, Policy Deployment December 2026 return ActivateWorkflowUnderCurrentState({ model: source_model, snapshot: latest, execution_generation: new_generation, approved_scope: CurrentAuthorityScope( migration.task_id ) }) Rollback does not restore an outdated operation ledger. 10.1.14. Worked Technical Examples 10.1.14.1. Example A: Payment Already Submitted (C-91.133) The following is a hypothetical implementation example. An agent is processing an approved supplier payment. Model A initiates a payment of 50,000 currency units. The payment provider confirms that Transaction TX-784 was completed. The authoritative operation ledger records: OperationID = PAY-04. ExternalTransactionID = TX-784. Status = COMPLETED_VERIFIED. A replacement model is initialized from the transferable task state. During simulated continuation, Model B proposes another payment with the same logical transaction identity. The differential evaluator identifies a repeated consequential operation. The migration is rejected or restricted until the target continuation no longer creates an unauthorized repeat. 10.1.14.2. Example B: Payment Acknowledgment Lost (C-91.134) Model A submits a payment request. The connection fails before a result is received. Das Expires 4 June 2027 [Page 70] Internet-Draft Safe Migration, Policy Deployment December 2026 The authoritative operation state is: OUTCOME_INDETERMINATE. Model B proposes retrying the payment. The evaluation identifies an unresolved prior operation. The continuation-state reconciler queries the native payment service using the stable transaction reference. Absent suitable outcome or idempotency evidence, the duplicate payment is not admitted. C-91.135 - Example C: Staging Versus Production Deployment The task authorizes deployment to staging. Model A is operating against staging resources. Model B proposes deploying to production during simulated continuation. The normalized operation identifies: DEPLOY_SOFTWARE. Target = PRODUCTION. The authorized continuation envelope permits only STAGING. The divergence classifier returns: CHANGED_RESOURCE_TARGET. C-91.136 - Example D: Tool-Name Change Without Effect Change Model A uses: update_customer_record. Model B uses: patch_resource. The respective tool semantic adapters normalize both to the same resource-targeted update. Das Expires 4 June 2027 [Page 71] Internet-Draft Safe Migration, Policy Deployment December 2026 The model substitution does not automatically constitute divergence merely because the tool names differ. The system still verifies mutation parameters, permissions, and target identity. 10.1.14.3. Example E: Broader Administrative Tool (C-91.137) The original workflow uses a constrained project connector. The replacement model proposes a general cloud administrator interface. The requested effect may appear similar. However, the new tool introduces broader resource authority. The divergence classifier identifies an unapproved tool-selection transition. Migration may be restricted to the original connector. 10.1.14.4. Example F: Simulated Email Send (C-91.138) A customer-support agent is migrated between providers. During evaluation, Model B proposes sending an email. The test interface records: Recipient. Message content. Applicable task reference. Proposed send operation. It returns a simulated result. No production email is delivered. The operation is compared against permitted recipients and workflow constraints. Das Expires 4 June 2027 [Page 72] Internet-Draft Safe Migration, Policy Deployment December 2026 10.1.14.5. Example G: Hidden Browser Effect (C-91.139) The replacement agent attempts to submit a form through browser automation. The evaluation environment intercepts the browser's effect-capable network request. The proposed transaction is recorded without reaching the production service. If the browser could bypass interception, the evaluation would be classified as insufficiently isolated. C-91.140 - Example H: Resource Read with Hidden Mutation An API endpoint is named get_record. The endpoint also marks the record as processed. The tool registry identifies the hidden resource mutation. The evaluation does not send the request directly to production. It uses a fixture or side-effect-suppressed interface. C-91.141 - Example I: Pending Asynchronous Cloud Job Model A starts a cloud provisioning job. The job remains pending during migration. The task-state snapshot preserves the job identifier. Model B proposes starting the same job again. The differential evaluator identifies a potential duplicate resource effect. The target is required to reconcile the existing job rather than initiate another unrestricted provisioning operation. 10.1.14.6. Example J: State Interpretation Error (C-91.142) The authoritative ledger states: Deployment submitted, awaiting health verification. Das Expires 4 June 2027 [Page 73] Internet-Draft Safe Migration, Policy Deployment December 2026 Model B states: Deployment completed and verified. The state comparator identifies an unsupported completion assertion. The workflow cannot skip the required verification solely because the model declares it finished. 10.1.14.7. Example K: Correct Continuation (C-91.143) A document-analysis task has completed data retrieval. The remaining authorized steps are: 1. Compare the retrieved documents. 2. Produce a local summary. 3. Save the final artifact in an approved location. The replacement model proposes exactly these operation classes and resource scopes. The side-effect-suppressed continuation produces no unauthorized effects. The evaluation may support migration admission, subject to source fencing and current-state revalidation. 10.1.14.8. Example L: New External Dependency (C-91.144) An internal report-generation task is migrated. The replacement model proposes uploading confidential context to an external summarization service. The source task did not authorize that provider or data transfer. The normalized continuation records the new external dependency. The migration is rejected or restricted. C-91.145 - Example M: Source Model Completes Operation During Evaluation A snapshot is taken while Model A is still running. Das Expires 4 June 2027 [Page 74] Internet-Draft Safe Migration, Policy Deployment December 2026 During Model B's shadow evaluation, Model A completes a database update. Before cutover, the migration controller fences new source submissions and refreshes the operation ledger. It detects the newly completed update. The target continuation is reconciled against the refreshed state. The operation is not repeated. C-91.146 - Example N: Simulation Fixture Is Inadequate A simulated resource always returns success. The real workflow depends on handling an authorization failure. Model B never demonstrates an acceptable response to denial. The evaluator classifies the test coverage as incomplete. The admission policy may require additional failure-injection scenarios. C-91.147 - Example O: Restrictive Migration Admission Model B produces an acceptable plan for read-only analysis but proposes an unsupported external export. The migration controller permits activation only with external export disabled and other relevant restrictions enforced. The target operates under the narrower approved continuation envelope. C-91.148 - Example P: Rollback After Target Failure Model B is activated after a verified cutover. It subsequently fails. The controller suspends its effect-capable submissions. The authoritative ledger is refreshed. Model A may be restored under a new execution generation, but only from the current operation state. Das Expires 4 June 2027 [Page 75] Internet-Draft Safe Migration, Policy Deployment December 2026 Completed operations performed by Model B are not re-executed merely because the source model resumes. C-91.149 - Example Q: Cross-Provider Confidentiality Restriction A task contains confidential enterprise documents. The proposed target provider is not approved to receive them. The snapshot-transfer policy denies those artifact transfers. Migration is rejected or limited to an authorized inference environment. Operational compatibility does not override confidentiality restrictions. C-91.150 - Example R: Non-Deterministic Tool Choice Several bounded target continuations are executed with different controlled sampling conditions. One continuation proposes the correct approved tool. Another proposes an unapproved administrative tool. The evaluator records both traces. The migration policy treats the observed divergence according to its risk and enforcement requirements. The single successful trace is not presented as proof that the model will always choose the correct tool. 10.1.15. Failure And Adversarial Conditions 10.1.15.1. Representative Failure Cases (C-91.151) *F1 - Conversation Treated as Operational Truth* A model-written statement is accepted as authoritative completion evidence. The operation ledger must be checked independently. *F2 - Completed Operation Omitted from Snapshot* The replacement model may repeat an operation. Das Expires 4 June 2027 [Page 76] Internet-Draft Safe Migration, Policy Deployment December 2026 Snapshot completeness validation detects the missing record. *F3 - Pending Operation Misclassified as Completed* A queued job is incorrectly marked complete. The native operation state must be reconciled. *F4 - Indeterminate Operation Treated as Failed* A request with unknown remote outcome is repeated. The reconciler requires appropriate evidence or idempotency protection. *F5 - Duplicate Payment* The target model proposes a previously completed payment. Replay prevention blocks the unauthorized repeat. *F6 - Duplicate Resource Provisioning* A pending cloud operation is resubmitted. The pending-operation registry identifies the conflict. *F7 - Changed Resource Target* The target model switches from staging to production. The differential evaluator detects the target divergence. *F8 - Expanded Operation Class* A read task becomes a delete operation. The envelope comparison rejects the expansion. *F9 - Broader Administrative Tool* The target selects a more privileged API. The tool-transition check identifies the authority change. *F10 - Unauthorized External Dependency* The target introduces an unapproved service. Das Expires 4 June 2027 [Page 77] Internet-Draft Safe Migration, Policy Deployment December 2026 The dependency classifier reports divergence. *F11 - Missing Approval Dependency* The target skips a required approval. Workflow dependency validation rejects the continuation. *F12 - Wrong Task-State Interpretation* The target assumes an incomplete task is complete. Authoritative state comparison rejects the assertion. The target says an operation succeeded without native evidence. The ledger remains unchanged. *F14 - Real Tool Call During Simulation* The evaluation permits a production write. Side-effect suppression is incomplete. *F15 - Direct Network Bypass* The target bypasses a stub by opening a socket. Network egress restrictions must cover the route. *F16 - Browser-Based Side Effect* The target submits a real web form during testing. Browser and network effectuation require interception. *F17 - Asynchronous Test Job Escapes* A simulated call creates a real background job. Queue submission or downstream effectuation must be prevented. *F18 - Hidden Read Side Effect* An API described as read-only changes remote state. Its actual semantics must be reflected in the effect registry. Das Expires 4 June 2027 [Page 78] Internet-Draft Safe Migration, Policy Deployment December 2026 *F19 - Production Credential Accessible* The target obtains a credential that allows real resource modification during testing. Credential isolation and tool mediation must prevent unintended effects. *F20 - Evaluation Writes Production File* The test uses a real production filesystem path. The environment requires appropriate isolation or non-effectuating substitution. *F21 - Device Command Escapes Simulation* A model invokes a real actuator or hardware queue. The evaluation must block the governed device effectuation path. *F22 - Simulated Success Counted as Production Completion* A test stub returns success. The operation ledger must not record a real completed effect. *F23 - Simulation State Leaks into Production* Evaluation-local mutations overwrite production state. Test and authoritative state stores must be separated. *F24 - Simulation Too Simplified* The model passes unrealistic fixtures. The evaluator records the limitation and applies the specified admission policy. *F25 - Test Horizon Too Short* Unsafe behavior occurs beyond the evaluated steps. *F26 - Non-Deterministic Unsafe Variant* One sampled continuation is safe but another is not. Das Expires 4 June 2027 [Page 79] Internet-Draft Safe Migration, Policy Deployment December 2026 The migration decision reflects observed divergence according to policy. *F27 - Tool Semantic Mapping Missing* A proposed tool cannot be normalized reliably. The operation is classified noncomparable. *F28 - Resource Alias Ambiguous* A target resource name resolves to multiple resources. Canonicalization fails rather than guessing. *F29 - Numeric Effect Bound Expanded* The target proposes a larger payment or export. Effect-quantity comparison identifies the divergence. *F30 - Equivalent Tool Name Assumed Equivalent Effect* Two providers use similar names but different semantics. Schema-based normalization checks actual effect properties. *F31 - Workflow Order Reversed* The target proposes an operation before required approval. Dependency comparison rejects the ordering. *F32 - Context Artifact Stale* The target relies on an outdated resource artifact. Snapshot version checks and current-state validation apply. *F33 - Snapshot Authority Stale* Permissions change during evaluation. Current authority must be rechecked before activation. *F34 - Source Model Executes During Evaluation* The source completes work after snapshot creation. Das Expires 4 June 2027 [Page 80] Internet-Draft Safe Migration, Policy Deployment December 2026 Cutover refresh and reconciliation preserve the updated ledger. *F35 - Source Fence Not Effective* The first model continues effect-capable execution after activation. The cutover barrier remains incomplete. *F36 - Source and Target Both Active* Both models submit the same logical operation. Execution-generation fencing and operation identity prevent uncontrolled duplication. *F37 - Outstanding Worker Not Fenced* An asynchronous worker continues under old execution authority. The migration reconciler must account for its pending work. *F38 - Lost Cutover Acknowledgment* The source fencing outcome is unknown. The controller does not activate unrestricted target execution. *F39 - Target Activation Partially Fails* Some tool permissions are installed, others are not. The controller retains a restricted or paused state pending reconciliation. *F40 - Rollback Replays Old Snapshot* The previous model restarts from stale state. Current operation ledger and new generation are required. *F41 - Migration Evaluation Tampered* A target or source context modifies recorded test traces. Protected trace integrity and provenance checks detect unsupported changes. The source model's description conflicts with the ledger. Das Expires 4 June 2027 [Page 81] Internet-Draft Safe Migration, Policy Deployment December 2026 Authoritative operation state prevails. *F43 - Target Model Erases Pending Dependency* The target omits an earlier queued operation. The pending registry preserves it. *F44 - Idempotency Assumed Without Proof* The model retries a non-idempotent request. Native resource semantics must justify retry. *F45 - Idempotency Key Reused for Different Parameters* A key is applied to a materially different operation. The reconciler rejects inconsistent logical identity. *F46 - Provider Transfer Violates Data Policy* Sensitive context is transferred to an unauthorized provider. Transfer authorization blocks the migration. *F47 - Unauthorized Model Version* The requested target is outside permitted deployment policy. The migration initiator's authorization check fails. *F48 - Snapshot Generation Rollback* A stale snapshot is restored after newer operations completed. Protected ledger continuity prevents completed-effect loss. *F49 - Target Tool Scope Broader Than Admission Decision* The target runtime receives unrestricted connectors despite restricted admission. Effective tool configuration verification is required. *F50 - Post-Migration Native Authorization Bypassed* Das Expires 4 June 2027 [Page 82] Internet-Draft Safe Migration, Policy Deployment December 2026 Migration approval is treated as blanket permission for later operations. The native execution interfaces must retain applicable authorization controls. *F51 - Evaluation Infrastructure Unavailable* Side-effect suppression cannot be verified. The controller does not assume test safety. *F52 - Divergence Result Based Only on Text Similarity* The model's explanation appears similar while proposed effects differ. Normalization and operation-specific comparison detect the difference. +===================================================================+ | PART XVI - IMPLEMENTATION VARIATIONS C-91.152 - | | Same-Provider Model Upgrade The task moves from one | | model version to another under the same provider. | | The system evaluates proposed operational changes | | using the same side-effect-suppressed method. | +===================================================================+ | C-91.153 - Cross-Provider Migration The task moves | | between different inference providers. The snapshot | | transfer also checks applicable confidentiality, | | jurisdiction, and connector restrictions. | +-------------------------------------------------------------------+ | C-91.154 - Cloud-to-Local Migration The source | | operates in a managed cloud environment. The target | | model runs locally or in a private enterprise | | deployment. Tool semantics and resource-operation | | history remain separately represented. | +-------------------------------------------------------------------+ Table 3 10.1.15.2. Local-to-Cloud Migration (C-91.155) The source runs locally. The target is a cloud-hosted model. Das Expires 4 June 2027 [Page 83] Internet-Draft Safe Migration, Policy Deployment December 2026 The controller enforces permissible artifact and context transfer before evaluation. 10.1.15.3. Micro-VM Evaluation (C-91.156) The target continuation runs inside a micro-VM with controlled tool interfaces and restricted external access. The VM provides isolation, while the tool interposition mechanism provides the required non-effectuation controls. 10.1.15.4. Container Evaluation (C-91.157) A container hosts the target model runtime and recording tool adapters. The deployment must prevent bypass through unrestricted host mounts, sockets, or native device interfaces. 10.1.15.5. Browser and Computer-Use Agent (C-91.158) Browser interactions are recorded against simulated or controlled resources. The system treats web submissions as potentially consequential operations. 10.1.15.6. Financial Workflow Agent (C-91.159) Completed payments, pending payment instructions, and indeterminate transaction outcomes are maintained independently of model conversation. 10.1.15.7. Autonomous Coding Agent (C-91.160) The system compares proposed file changes, command execution, package deployment, and cloud resource effects. The continuation may run in a disposable development workspace. 10.1.15.8. Infrastructure Management Agent (C-91.161) A replacement model proposes cloud resource operations. The evaluator checks resource targets, deployment environments, and effect quantities against the approved task. Das Expires 4 June 2027 [Page 84] Internet-Draft Safe Migration, Policy Deployment December 2026 10.1.15.9. Multi-Agent Task Migration (C-91.162) One agent in a delegated workflow changes model. The snapshot preserves shared task dependencies and outstanding subordinate operations. 10.1.15.10. Multiple Candidate Models (C-91.163) Several prospective replacement models may be evaluated independently. Each produces its own side-effect-suppressed trace and differential result. The admission controller selects an authorized candidate or rejects all candidates. 10.1.15.11. Restricted Compatibility Admission (C-91.164) The target may be accepted with narrower tool or resource permissions when the detected divergence is containable. 10.1.15.12. Continuous Post-Cutover Monitoring (C-91.165) After admission, the system may monitor actual operations against the approved scope. The migration test does not replace runtime authorization. 10.1.15.13. Native Transaction Idempotency (C-91.166) A resource system may support operation-specific idempotency keys. The reconciler may use those guarantees when handling retries. 10.1.15.14. No Native Idempotency (C-91.167) Where a resource lacks reliable idempotency, the system may require authoritative outcome reconciliation or a separately authorized manual decision before repeating a consequential operation. 10.1.15.15. Hardware-Assisted Cutover (C-91.168) A protected device or hardware queue controller may enforce execution generations and restrict stale operation submissions. The mechanism is optional and depends on the effectuation paths. Das Expires 4 June 2027 [Page 85] Internet-Draft Safe Migration, Policy Deployment December 2026 10.1.15.16. Optional DAS Finality Integration (C-91.169) A DAS Finality Sink may independently verify each subsequent production operation after the migrated model becomes active. The current migration profile may ensure the replacement model is evaluated without real effects and that past operations are not repeated. The separate finality mechanism may control whether each newly proposed act can become effective. 10.1.16. Representative Technical Data Structures 10.1.16.1. MigrationProposalRecord (C-91.170) Fields may include: 1. MigrationID. 2. TaskID. 3. SourceModelInstanceID. 4. TargetModelInstanceID. 5. SourceProviderID. 6. TargetProviderID. 7. TargetInferenceConfiguration. 8. MigrationReason. 9. InitiatorAuthorityReference. 10. ProposalStatus. C-91.171 — TransferableTaskSnapshot Fields may include: 1. SnapshotID. 2. TaskID. 3. TaskObjectiveReference. Das Expires 4 June 2027 [Page 86] Internet-Draft Safe Migration, Policy Deployment December 2026 4. CompletedOperationReferences. 5. PendingOperationReferences. 6. IndeterminateOperationReferences. 7. AuthorizedResourceScope. 8. ToolConfigurationReference. 9. ContextArtifactReferences. 10. WorkflowDependencyReferences. 11. OperationLedgerSequence. 12. SnapshotGeneration. C-91.172 — ConsequentialOperationRecord Fields may include: 1. OperationID. 2. TaskID. 3. OperationClass. 4. CanonicalResourceTarget. 5. EffectDescriptor. 6. ExternalTransactionReference. 7. IdempotencyReference. 8. OperationStatus. 9. CompletionEvidenceReference. 10. OperationGeneration. C-91.173 — PendingOperationRecord Fields may include: 1. PendingOperationID. 2. TaskID. 3. OperationID. Das Expires 4 June 2027 [Page 87] Internet-Draft Safe Migration, Policy Deployment December 2026 4. CurrentExecutionService. 5. QueueOrJobReference. 6. SubmissionGeneration. 7. ExternalTransactionReference. 8. CurrentStatus. 9. ReconciliationRequirement. 10. ContinuationPolicy. C-91.174 — TaskConstraintRecord Fields may include: 1. ConstraintSetID. 2. TaskID. 3. AuthorizedObjectives. 4. PermittedOperationClasses. 5. PermittedResourceSet. 6. EffectQuantityBounds. 7. ProhibitedOperationClasses. 8. RequiredWorkflowDependencies. 9. ConstraintAuthority. 10. ConstraintGeneration. C-91.175 — EvaluationEnvironmentRecord Fields may include: 1. EvaluationID. 2. MigrationID. 3. TargetModelInstanceID. 4. IsolationSubstrate. Das Expires 4 June 2027 [Page 88] Internet-Draft Safe Migration, Policy Deployment December 2026 5. ToolInterpositionConfiguration. 6. BlockedExternalInterfaces. 7. SimulationFixtureReference. 8. EvaluationStepLimit. 9. SuppressionVerificationStatus. 10. EvaluationGeneration. C-91.176— ProposedToolOperationRecord Fields may include: 1. ProposalID. 2. EvaluationID. 3. StepID. 4. ProposedToolID. 5. ToolArgumentsReference. 6. ProposedResourceTarget. 7. SimulatedResponseReference. 8. EffectuationStatus. 9. ModelOutputReference. 10. ProposalGeneration. C-91.177 — NormalizedEffectRecord Fields may include: 1. NormalizedEffectID. 2. ProposalID. 3. CanonicalOperationClass. 4. CanonicalResourceTarget. 5. EffectType. 6. EffectParameters. Das Expires 4 June 2027 [Page 89] Internet-Draft Safe Migration, Policy Deployment December 2026 7. EffectQuantity. 8. DependencySet. 9. IdempotencyClass. 10. NormalizationStatus. C-91.178 — ContinuationEnvelopeRecord Fields may include: 1. EnvelopeID. 2. TaskID. 3. SnapshotReference. 4. IndependentConstraintReference. 5. PermittedOperationClasses. 6. PermittedResourceSet. 7. EffectBounds. 8. CompletedOperationExclusions. 9. PendingOperationDependencies. 10. EnvelopeGeneration. C-91.179 — DivergenceRecord Fields may include: 1. DivergenceID. 2. EvaluationID. 3. NormalizedEffectReference. 4. DivergenceClass. 5. AffectedResource. 6. ConflictingConstraintReference. 7. AffectedTaskState. Das Expires 4 June 2027 [Page 90] Internet-Draft Safe Migration, Policy Deployment December 2026 8. SeverityClassification. 9. RestrictabilityStatus. 10. DivergenceGeneration. C-91.180 — MigrationAdmissionRecord Fields may include: 1. AdmissionID. 2. MigrationID. 3. SnapshotReference. 4. EvaluationTraceReference. 5. EnvelopeReference. 6. DivergenceSetReference. 7. DecisionClass. 8. ApprovedToolScope. 9. ApprovedResourceScope. 10. AdmissionGeneration. C-91.181 — CutoverContinuityRecord Fields may include: 1. CutoverID. 2. TaskID. 3. SourceExecutionGeneration. 4. TargetExecutionGeneration. 5. SourceFenceStatus. 6. RefreshedOperationLedgerReference. 7. OutstandingOperationReferences. 8. AuthorityValidationReference. 9. TargetActivationStatus. Das Expires 4 June 2027 [Page 91] Internet-Draft Safe Migration, Policy Deployment December 2026 10. CutoverGeneration. C-91.182 — MigrationAuditRecord Fields may include: 1. AuditEventID. 2. MigrationID. 3. SourceModelReference. 4. TargetModelReference. 5. SnapshotReference. 6. SuppressedEvaluationReference. 7. DifferentialResultReference. 8. AdmissionDecisionReference. 9. CutoverAndReconciliationReference. 10. AuditGeneration. 10.1.17. Engineering Verification Tests 10.1.17.1. Proposed Test Matrix (C-91.183) The following are proposed engineering tests and do not represent experiments already performed. +======+==========================+===================+ | Test | Condition | Expected result | +======+==========================+===================+ | | T1 Migration proposed by | Proposal accepted | | | authorized controller | for evaluation | +------+--------------------------+-------------------+ Table 4 Das Expires 4 June 2027 [Page 92] Internet-Draft Safe Migration, Policy Deployment December 2026 +=====+======================================+======================+ | T2 | Unauthorized migration request | Denied | +=====+======================================+======================+ | T3 | Target model unavailable | No activation | +-----+--------------------------------------+----------------------+ | T4 | Task objective missing from snapshot | Snapshot invalid | +-----+--------------------------------------+----------------------+ | T5 | Completed operation omitted | Completeness | | | | failure | +-----+--------------------------------------+----------------------+ | T6 | Pending operation omitted | Snapshot invalid | +-----+--------------------------------------+----------------------+ | T7 | Indeterminate outcome omitted | Reconciliation | | | | required | +-----+--------------------------------------+----------------------+ | T8 | Authorized scope missing | Migration held | +-----+--------------------------------------+----------------------+ | T9 | Workflow dependency missing | Snapshot invalid | +-----+--------------------------------------+----------------------+ | T10 | Artifact provenance invalid | Transfer | | | | restricted | +-----+--------------------------------------+----------------------+ | T11 | Provider transfer violates | Migration denied | | | confidentiality policy | | +-----+--------------------------------------+----------------------+ | T12 | Valid snapshot captured | State generation | | | | recorded | +-----+--------------------------------------+----------------------+ Table 5 T13 Production write tool in evaluation T14 Real network effect path available T15 Browser submits real production form T16 Hidden write inside nominal read T17 Asynchronous job submission T18 Device command proposed T19 Evaluation-local file write T20 Simulated success returned T21 Simulation returns timeout T22 Evaluation exceeds step budget T23 Recursive subagent spawned T24 Provider tool names differ but effects match T25 Similar tool names have different effects T26 Resource alias ambiguous T27 Target changes staging to production T28 Target proposes delete instead of read T29 Target increases payment amount T30 Target adds external service T31 Target skips approval T32 Target uses broader administrator tool T33 Target repeats completed payment T34 Target repeats pending cloud job T35 Target repeats indeterminate transaction T36 Valid native idempotency applies T37 Non-idempotent operation unresolved Das Expires 4 June 2027 [Page 93] Internet-Draft Safe Migration, Policy Deployment December 2026 Replaced by non-effectuating interface Suppression incomplete Blocked or simulated Correct effect classification Recorded without real queue effect No production actuation Production file unchanged No production completion recorded Target handling recorded Test terminates Same suppression policy enforced Normalized comparison Divergence detected Noncomparable operation Changed target detected Expanded scope detected Effect bound violation Unauthorized dependency Workflow dependency violation Tool transition classified Replay denied Pending conflict detected Outcome reconciliation required Retry governed by native semantics Automatic retry denied T38 Target falsely declares task complete T39 Target reclassifies pending as failed T40 Proposed effect within all constraints T41 Simulation cannot cover required tool T42 One bounded trace passes, another diverges T43 Critical divergence T44 Restrictable divergence T45 No material divergence T46 Source completes work after initial snapshot T47 Source tool fence not effective T48 Source and target submit same logical act T49 Old worker remains active T50 Authority changes during evaluation Target context receives broader tools than T51 approved T52 Target activated successfully T53 Old source-generation call arrives after cutover T54 Simulated operation appears in test trace T55 Native completion arrives during migration T56 Cutover interrupted T57 Target fails immediately after activation T58 Source model restored from stale snapshot Ledger contradiction detected State incompatibility Differential pass Admission restricted or rejected Divergence considered Migration rejected Restricted admission possible Admission eligible Pre-cutover refresh detects change Target activation withheld Generation and replay guards apply Pending state reconciled Revalidation required Activation rejected New generation committed Rejected Not classified as real completion Ledger updated Restricted recovery Current-state rollback procedure Current ledger retained T59 Completed operation under target then rollback No duplicate on source resumption Target operation outside approved scope after T60 Native authorization denies admission T61 Tool registry updated after evaluation Revalidation triggered Das Expires 4 June 2027 [Page 94] Internet-Draft Safe Migration, Policy Deployment December 2026 Resource target changes between snapshot and T62 cutover Model's explanation appears compatible, T63 operations differ Model outputs same plan text but different T64 resource targets T65 Migration audit generated T66 Evaluation cannot prove side-effect suppression Operation identifier reused for altered T67 parameters T68 Cloud-to-local migration T69 Local-to-cloud migration T70 Multi-agent delegated work pending Current state checked Effect differential detects mismatch Target mismatch detected Snapshot, trace, decision, cutover linked No unqualified admission based on test Identity inconsistency detected Scope and state preserved Transfer authorization checked Dependency and operation state maintained The engineering harness should include: 1. A source agent and replacement model. 2. A trusted task-state registry. 3. An authoritative operation ledger. 4. A pending-operation service. 5. An operation identity scheme. 6. A constrained tool registry. 7. Simulated and production resource interfaces. Das Expires 4 June 2027 [Page 95] Internet-Draft Safe Migration, Policy Deployment December 2026 8. A side-effect suppression barrier. 9. A bounded continuation evaluator. 10. Operation normalization rules. 11. Independent task constraints. 12. A divergence classifier. 13. A migration-admission controller. 14. Source execution fencing. 15. Target execution-generation controls. 16. Native resource authorization. 17. Transaction idempotency and outcome reconciliation. 18. Recovery and rollback procedures. Testing should verify actual absence of production effects during evaluation, not simply confirm that the evaluation trace reports simulated execution. 10.1.18. Phosita Implementation Requirements 10.1.18.1. Implementation Checklist (C-91.185) A person having ordinary skill in the art implementing the profile identifies: 1. The active source model execution context. 2. The target model or provider. 3. The migration initiator's authorization. 4. The task objective authority. 5. The current task-state generation. 6. The authoritative operation ledger. 7. The completed-operation evidence semantics. 8. The pending-operation registry. Das Expires 4 June 2027 [Page 96] Internet-Draft Safe Migration, Policy Deployment December 2026 9. The treatment of indeterminate outcomes. 10. The stable operation identity scheme. 11. The resource-native idempotency semantics. 12. The authorized resource scope. 13. The tool and connector configuration. 14. The contextual artifact transfer rules. 15. The workflow dependency schema. 16. The transferable snapshot format. 17. The snapshot consistency boundary. 18. The snapshot integrity and completeness checks. 19. The provider data-transfer policy. 20. The independently specified task constraints. 21. The authorized continuation envelope representation. 22. The operation effect taxonomy. 23. The external effectuation surface registry. 24. The side-effect-suppressed evaluation substrate. 25. The network and browser effect restrictions. 26. The file, storage, and database effect restrictions. 27. The asynchronous queue interception. 28. The credential-isolation method. 29. The hardware effectuation restriction, if applicable. 30. The evaluation step and resource bounds. 31. The simulation fixture semantics. 32. The proposed tool-operation trace. Das Expires 4 June 2027 [Page 97] Internet-Draft Safe Migration, Policy Deployment December 2026 33. The normalized resource identity scheme. 34. The effect argument canonicalization rules. 35. The effect quantity representation. 36. The operation idempotency classification. 37. The external dependency representation. 38. The task-state transformation comparison. 39. The divergence taxonomy. 40. The migration admission rules. 41. The restricted admission configuration. 42. The source execution fence. 43. The cutover barrier. 44. The final pre-activation ledger refresh. 45. The current authority revalidation. 46. The successor execution generation. 47. The target tool and resource binding. 48. The post-migration replay guard. 49. The native resource authorization interface. 50. The restricted recovery mechanism. 51. The rollback procedure. 52. The migration audit records. 53. The tests proving non-effectuation during evaluation. 54. The tests proving completed-operation continuity. 55. The tests demonstrating detection of operational divergence. Das Expires 4 June 2027 [Page 98] Internet-Draft Safe Migration, Policy Deployment December 2026 A system that merely copies conversational context from one model to another, performs a text-similarity comparison, or runs the replacement model directly against production tools without suppressing external effects does not implement the complete architecture described here. 10.1.18.2. Technical Effect (C-91.186) The disclosed architecture allows an active autonomous AI-agent workflow to be evaluated for transfer between model instances, versions, providers, or execution substrates without permitting the migration test itself to create the corresponding external resource effects. The system captures task objectives, completed operations, pending operations, authorized resource scopes, and workflow dependencies as authoritative transferable state. The replacement model executes a bounded continuation through simulated or recording interfaces. The resulting proposed resource operations are normalized and compared against independent task constraints. Material operational divergence is identified at the level of intended effects rather than inferred from prompt compatibility. A migration-admission controller rejects or restricts unsafe substitutions. A continuation-state reconciler prevents previously completed consequential operations from being repeated merely because the replacement model interprets the conversation differently. A cutover procedure fences the source execution context and activates the target under a new workflow generation with current authoritative state. The system therefore reduces risks of duplicate operations, expanded resource scope, incorrect task-state interpretation, and unintended side effects during model migration. The guarantees depend upon actual effectuation suppression, authoritative operation-state accuracy, adequate tool normalization, sound task constraints, and correct source-to-target cutover enforcement. Das Expires 4 June 2027 [Page 99] Internet-Draft Safe Migration, Policy Deployment December 2026 10.1.18.3. Technical Summary (C-91.187) This profile discloses a computer-implemented system for migrating an active autonomous artificial-intelligence-agent workflow between different model instances, model versions, execution providers, or inference substrates. A Migration Initiator proposes the substitution while the agent is operating an active task. A Task-State Snapshot Mechanism establishes a transferable representation of task objectives, verified completed operations, pending operations, authorized resource scope, contextual artifacts, and workflow dependencies. A Side-Effect-Suppressed Evaluation Environment initializes the replacement model from the transferable representation and substitutes simulation, recording, or non-effectuating interfaces for external resource-modification interfaces. A Continuation Evaluator executes one or more bounded continuation steps and records proposed tools, resource effects, task-state transformations, and dependencies without creating the corresponding external effects. An Operation-Normalization Mechanism produces comparable effect descriptors independent of provider-specific tool naming. A Differential Evaluator compares the normalized operations and proposed task-state changes with an authorized continuation envelope derived from the snapshot and independently established task constraints. A Divergence Classifier detects expanded operation scopes, changed targets, incompatible task-state interpretations, repeated consequential operations, unapproved tool transitions, and unauthorized dependencies. A Migration-Admission Controller accepts, restricts, or rejects the substitution according to the resulting evaluation. A Continuation-State Reconciler preserves authoritative completed and pending operation status and prevents completed external effects from being repeated merely because task state has been transferred. Das Expires 4 June 2027 [Page 100] Internet-Draft Safe Migration, Policy Deployment December 2026 A controlled cutover fences the source execution generation, reconciles any newly completed operations, and activates the replacement model under a successor workflow generation and approved resource scope. The architecture thereby evaluates model migration using side-effect- suppressed operational behavior and authoritative execution-state continuity rather than depending solely upon transferred prompt text or conversation history. 10.2. Profile C-98: Counterfactual Policy Deployment Source label: C-98. Source title: Counterfactual Artificial- Intelligence-Agent Security-Policy Deployment Using Dual-Policy Historical Replay, Downstream Resource-Effect Impact Analysis, Dependency-Aware Canary Partitioning, Version-Bound Policy Enforcement, Observed-Outcome Reconciliation, Staged Promotion, And Effect-Preserving Rollback. This profile specifies dual-policy decisions, effect impact, canary eligibility, promotion predicates and the rollback invariant. 10.2.1. Technical Field (C-98.1) This profile relates to artificial-intelligence-agent security, authorization-policy engineering, controlled policy deployment, counterfactual evaluation, agent-operation tracing, runtime enforcement, multi-agent orchestration, effect-aware change management, deployment canaries, resource-dependency analysis, distributed policy versioning, and recovery from policy changes that produce consequential external operations. More particularly, the profile discloses a computer-implemented system for evaluating and deploying changes to policies governing operations that artificial-intelligence agents may perform through tools, APIs, connectors, identity services, resource controllers, execution sandboxes, gateways, and other effect-capable interfaces. A policy management service maintains a currently enforced policy and a proposed replacement policy. An agent-event trace repository provides historical or simulated operation requests together with applicable identity contexts, relevant resource states, policy conditions, and known outcomes. A counterfactual policy execution mechanism evaluates selected operation requests against both policy versions without repeating the corresponding externally consequential operations. Das Expires 4 June 2027 [Page 101] Internet-Draft Safe Migration, Policy Deployment December 2026 A decision-difference analyzer identifies changes in authorization, denial, restriction, escalation, approval, or other policy outcome. An effect-dependency analyzer associates such differences with downstream operations and resource-effect classes that could result if the proposed policy were deployed. A deployment impact representation relates changed decisions to agent identities, task classes, tools, resource dependencies, and potential external effects. A deployment-partition generator identifies controlled canary groups using the impact representation and applicable resource-dependency constraints. A canary-policy deployment mechanism activates the replacement policy for selected execution contexts while retaining the previous policy for other contexts. An outcome-observation mechanism collects actual authorization decisions, rejected operations, task failures, and resulting external resource effects. A consistency evaluator compares those observations with the applicable counterfactual expectations, identifying discrepancies requiring rollback, narrowing, or reevaluation. A staged promotion controller expands the replacement policy only according to defined acceptance conditions. A policy rollback controller restores the previous configuration to an affected group while separately preserving the historical record and current consequences of operations already completed under the replacement policy. The profile may be implemented in: 1. Autonomous enterprise AI-agent platforms. 2. Persistent coworker-agent services. 3. Tool-authorization gateways. 4. Cloud agent execution environments. 5. AI-assisted financial operations. 6. Infrastructure-management agents. Das Expires 4 June 2027 [Page 102] Internet-Draft Safe Migration, Policy Deployment December 2026 7. Autonomous coding and deployment agents. 8. Enterprise identity workflows. 9. Customer-support agent platforms. 10. Multi-agent procurement systems. 11. Managed connector ecosystems. 12. Container and virtual-machine security controllers. 13. Distributed AI governance systems. 14. Sovereign or regulated AI deployments. 15. Other systems in which changing an agent-security policy changes which external operations can become effective. The architecture is not limited to a particular model provider, policy language, operating system, cloud platform, authorization framework, database, or distributed deployment system. 10.2.2. Technical Problem 10.2.2.1. A Valid Policy Configuration Can Still Produce Unsafe Effects (C-98.2) A security-policy engine may accept a syntactically valid replacement configuration. For example, a policy may contain valid rules, referenced identities, and supported authorization expressions. Successful syntax validation establishes neither that the resulting authorization decisions are appropriate nor that newly permitted operations will have acceptable external effects. The proposed replacement may unintentionally allow: Das Expires 4 June 2027 [Page 103] Internet-Draft Safe Migration, Policy Deployment December 2026 +===+=====================================+ | x | Wider data export. | +===+=====================================+ | x | Privileged tool invocation. | +---+-------------------------------------+ | x | New network destinations. | +---+-------------------------------------+ | x | Expanded resource mutations. | +---+-------------------------------------+ | x | Additional payment operations. | +---+-------------------------------------+ | x | Unrestricted delegated execution. | +---+-------------------------------------+ | x | Removal of required human approval. | +---+-------------------------------------+ | x | Access to an unintended tenant. | +---+-------------------------------------+ Table 6 This profile evaluates operational consequences rather than relying exclusively on successful policy installation. 10.2.2.2. Policy-Decision Differences Matter (C-98.3) The current policy may deny a tool invocation. The replacement policy may permit it. That changed authorization is technically significant even where the underlying tool configuration has not changed. Conversely, a replacement may deny an operation previously permitted, thereby disrupting an active task or causing unexpected retry behavior. The system identifies both permissive and restrictive changes. 10.2.2.3. Policy Approval Does Not Establish Resource-Effect Safety (C-98.4) An administrator may approve a proposed policy change. The change may nevertheless affect a resource dependency not considered during approval. For example: Das Expires 4 June 2027 [Page 104] Internet-Draft Safe Migration, Policy Deployment December 2026 The proposed policy permits modification of an enterprise directory object. The modification triggers a downstream identity synchronization process. The synchronization process changes access in another application. The policy deployment evaluator must consider such downstream consequences where they are within the relevant effect model. 10.2.2.4. Historical Replay Can Miss Current State (C-98.5) An event trace may show that a user had a particular role yesterday. The user's role may have changed today. Running a proposed policy against yesterday's request using today's identity state can produce a result that does not represent either the historical decision or a properly defined current-state scenario. The counterfactual mechanism therefore identifies which state is being replayed. 10.2.2.5. Historical Events Can Be Incomplete (C-98.6) A trace may contain: Operation name. Agent identity. Target resource. Recorded decision. But omit: Relevant resource attributes. Task purpose. Effective role version. Network destination. Underlying delegation. Das Expires 4 June 2027 [Page 105] Internet-Draft Safe Migration, Policy Deployment December 2026 Required policy flags. A meaningful counterfactual evaluation must identify missing policy inputs instead of inventing them. 10.2.2.6. Counterfactual Testing Must Not Repeat External Effects (C-98.7) Suppose a historical trace records an agent submitting an approved payment. Replaying that request against the replacement policy may be necessary to determine whether the payment would have been allowed. However, the replay must not submit a second real payment. The system separates policy-decision evaluation from resource effectuation. 10.2.2.7. Authorization Outcomes May Not Be Binary (C-98.8) Policy results may include: ALLOW. DENY. REQUIRE_HUMAN_APPROVAL. REQUIRE_STRONG_AUTHENTICATION. RESTRICT_RESOURCE_SCOPE. LIMIT_QUANTITY. ALLOW_READ_ONLY. QUARANTINE. ESCALATE. A replacement may alter the requirements or limitations without changing a simple allow/deny flag. The decision-difference analyzer compares the full relevant authorization outcome. Das Expires 4 June 2027 [Page 106] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.2.8. A More Restrictive Policy May Break a Workflow (C-98.9) A replacement may deny a tool invocation needed for an approved task. The agent may enter a retry loop, fail to finish, or invoke a broader fallback interface. Accordingly, the effect-sensitive rollout evaluates task failures and changed execution paths, not only newly allowed operations. 10.2.2.9. New Permission May Activate Indirect Effects (C-98.10) A policy may newly permit: UPDATE_CUSTOMER_RECORD. That operation may trigger: DATABASE_UPDATE → EVENT_PUBLICATION → CRM_SYNC → EXTERNAL_NOTIFICATION. The changed policy decision can therefore affect downstream resource classes beyond the initially authorized interface. 10.2.2.10. Naive Canary Assignment May Be Unsafe (C-98.11) +===========================================================+ | A deployment system may randomly assign 5% of agents to | | the new policy. However, agents sharing a common | | resource or workflow may interfere with one another. For | | example: One canary agent changes a shared identity role. | | Several non-canary agents subsequently execute operations | | based on that role. The canary effect is not confined to | | the initially selected agent. The deployment partition | | must account for relevant resource dependencies. | +===========================================================+ | C-98.12 - Task Migration Across Policy Groups An active | | task may move from a canary worker to a non-canary | | worker. If its policy binding is not preserved or | | revalidated, different steps of one consequential | | workflow may receive inconsistent authorization. The | | system therefore maintains appropriate execution-context | | and policy-version binding. | Das Expires 4 June 2027 [Page 107] Internet-Draft Safe Migration, Policy Deployment December 2026 +-----------------------------------------------------------+ | C-98.13 - Asynchronous Operations May Outlive the Canary | | A canary agent may queue a resource operation. The | | synchronous request may finish. The downstream worker | | may execute later, potentially after the canary policy | | has been rolled back. The system must identify such | | pending work and determine whether the old authorization | | remains valid for subsequent effectuation. | +-----------------------------------------------------------+ Table 7 10.2.2.11. Policy Rollback Is Not Transaction Rollback (C-98.14) A replacement policy may newly permit a data export. The export completes. An administrator restores the previous policy. The original policy can govern future exports. It does not retrieve the already disclosed data. The rollback controller must distinguish configuration restoration from external-effect remediation. 10.2.2.12. Some Completed Effects Are Irreversible (C-98.15) Examples include: A delivered email. A disclosed secret. A settled financial transaction. A completed physical actuation. An irreversible deletion without recoverable data. An external API call accepted by an independent party. The system records these as completed effects even after policy rollback. Das Expires 4 June 2027 [Page 108] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.2.13. Canary Success Does Not Prove Every Future Case Safe (C-98.16) A canary may execute only a limited set of operation classes. A dangerous authorization change may remain unexercised during the observation period. The promotion controller therefore evaluates actual coverage and configured acceptance criteria rather than equating absence of observed failures with universal safety. 10.2.3. Central Technical Principle 10.2.3.1. Effect-Sensitive Policy Deployment (C-98.17) The central technical principle is: *A proposed security-policy change governing AI agents is evaluated and deployed* according to differences in operation authorization and their potential and observed resource effects, rather than according to policy syntax or installation success alone. 10.2.3.2. Three Separate Evaluation Domains (C-98.18) The architecture distinguishes: *Domain A - Counterfactual policy evaluation* What decisions would the old and proposed policies produce for selected requests under specified evaluation conditions? *Domain B - Canary production observation* What authorization decisions and actual resource effects occurred while the proposed policy was active for selected execution contexts? *Domain C - Rollback and reconciliation* Which prior policy permissions have been restored, and which external effects or outstanding operations remain after restoration? These domains are linked by recorded policy, trace, and operation identities. They are not treated as interchangeable. Das Expires 4 June 2027 [Page 109] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.3.3. Dual-Policy Decision Representation (C-98.19) For operation request O, applicable evaluation state S, and policies P₀ and P₁: D₀ = Evaluate(P₀,O,S). D₁ = Evaluate(P₁,O,S). Where: P₀ = currently enforced policy. P₁ = proposed replacement policy. The decision difference is: ΔD = Compare(D₀,D₁). The comparison includes restrictions, approval requirements, delegated scope, and other relevant authorization obligations. 10.2.3.4. Effect Impact Representation (C-98.20) For a decision difference ΔD, define: EffectImpact(ΔD) = PotentiallyEnabledEffects ∪ PotentiallySuppressedEffects ∪ ChangedDependencies ∪ ChangedTaskContinuations. The analyzer associates the difference with effect classes and relevant resources. It does not assume every potentially enabled operation will actually occur. 10.2.3.5. Canary Eligibility Predicate (C-98.21) A selected group G may be eligible for activation when: POLICY_AUTHORITY_VALID AND COUNTERFACTUAL_EVALUATION_ACCEPTABLE AND IMPACT_REPRESENTATION_SUFFICIENT AND GROUP_DEPENDENCIES_RESOLVED AND REQUIRED_EFFECT_ENFORCEMENT_AVAILABLE Das Expires 4 June 2027 [Page 110] Internet-Draft Safe Migration, Policy Deployment December 2026 AND CURRENT_POLICY_GENERATION_VALID AND OBSERVATION_PLAN_ESTABLISHED. Additional enterprise policy criteria may apply. 10.2.3.6. Promotion Predicate (C-98.22) A representative promotion predicate is: PROMOTE(P₁,G) = EXPECTED_DECISIONS_CONSISTENT AND OBSERVED_EFFECTS_WITHIN_APPROVED_IMPACT AND CRITICAL_TASK_FAILURES_ACCEPTABLE AND REQUIRED_OBSERVATION_COVERAGE_SUFFICIENT AND DEPENDENCY_CONFLICTS_RESOLVED AND CURRENT_POLICY_VALID AND OUTSTANDING_CANARY_EFFECTS_ACCEPTABLY_GOVERNED. Passing one canary stage authorizes only the promotion permitted by the applicable policy. 10.2.3.7. Rollback Invariant (C-98.23) The following distinction is preserved: POLICY_RESTORED ≠ EXTERNAL_EFFECTS_UNDONE. A rollback record therefore contains separate fields for: RestoredPolicyVersion. CompletedEffectSet. PendingEffectSet. IndeterminateEffectSet. RemediationRequirements. Das Expires 4 June 2027 [Page 111] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.3.8. Effectuation Boundary (C-98.24) A counterfactual replay produces decision records without performing the corresponding externally consequential operations. A production canary may perform real operations under P₁. The architecture identifies these execution modes explicitly. A test result marked SIMULATED cannot be promoted into a record of actual resource completion. 10.2.4. Principal System Components 10.2.4.1. Policy Management Service (C-98.25) A Policy Management Service maintains: CurrentPolicyID. CurrentPolicyVersion. ProposedPolicyID. ProposedPolicyVersion. PolicyAuthority. EffectiveScope. DeploymentGeneration. It retains enough version history for audit and permitted rollback. 10.2.4.2. Policy Package Registry (C-98.26) Each policy package may contain: PolicyRules. ResourceScopes. AgentIdentityRules. TaskClassRules. ToolRestrictions. Das Expires 4 June 2027 [Page 112] Internet-Draft Safe Migration, Policy Deployment December 2026 ApprovalObligations. EffectQuantityLimits. DelegationConstraints. PolicyDigest. The exact schema depends upon the authorization engine. 10.2.4.3. Agent-Event Trace Repository (C-98.27) The repository maintains or reconstructs machine-readable descriptions of agent-originated requests. Each trace may include: OperationID. AgentID. TaskID. ToolID. ResourceTarget. IdentityContext. PolicyConditions. RelevantResourceState. ObservedDecision. ObservedOutcome. 10.2.4.4. Trace Provenance Controller (C-98.28) A Trace Provenance Controller identifies: TraceSource. CollectionTime. ExecutionGeneration. PolicyVersion. Das Expires 4 June 2027 [Page 113] Internet-Draft Safe Migration, Policy Deployment December 2026 ResourceStateGeneration. CompletenessStatus. TraceIntegrityReference. An incomplete trace is not silently treated as a full execution record. 10.2.4.5. Counterfactual Policy Execution Mechanism (C-98.29) The mechanism evaluates the selected historical or simulated operation request under P₀ and P₁. It uses a non-effectuating authorization evaluation interface. Where a policy depends upon mutable state, it uses the designated historical snapshot or explicitly defined simulated state. 10.2.4.6. Counterfactual Evaluation Mode (C-98.30) The evaluator has a distinct mode: COUNTERFACTUAL_NO_EFFECT. This mode must not permit policy-side operations to cause production mutations. If policy evaluation can itself invoke effect-capable hooks, those hooks are simulated or isolated. 10.2.4.7. Decision-Difference Analyzer (C-98.31) The analyzer compares: Allow versus deny. New approval requirements. Removed approval requirements. Changed resource scope. Changed tool restrictions. Changed quantity limits. Changed identity obligations. Das Expires 4 June 2027 [Page 114] Internet-Draft Safe Migration, Policy Deployment December 2026 Changed delegated permissions. 10.2.4.8. Effect-Dependency Analyzer (C-98.32) The analyzer identifies downstream resource effects that may follow a changed policy decision. Sources may include: Tool effect contracts. Connector semantics. Resource-service metadata. Database trigger definitions. Queue and event-handler relationships. Native resource-operation descriptions. 10.2.4.9. Policy-Change Impact Representation (C-98.33) The impact representation associates each material decision difference with: AgentIdentity. TaskClass. ToolInterface. ResourceDependency. PotentialExternalEffect. EffectCriticality. AffectedExecutionContext. 10.2.4.10. Deployment-Partition Generator (C-98.34) The generator divides affected execution contexts into controlled deployment groups. It considers shared resources, dependencies, workflows, and policy- sensitive operation classes. Das Expires 4 June 2027 [Page 115] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.4.11. Canary-Policy Deployment Controller (C-98.35) The controller applies P₁ to selected groups while leaving other groups under P₀. It maintains explicit context-to-policy bindings. 10.2.4.12. Policy-Version Binding Registry (C-98.36) The registry records: ExecutionContextID. TaskID. PolicyVersion. PolicyGeneration. CanaryGroupID. PermittedOperationScope. The enforcement interface uses the applicable binding. 10.2.4.13. Outcome-Observation Mechanism (C-98.37) The observer records actual canary activity, including: AuthorizationDecisions. RejectedRequests. CompletedResourceEffects. PendingOperations. TaskFailures. Escalations. UnexpectedEffects. 10.2.4.14. Canary Consistency Evaluator (C-98.38) The evaluator compares canary observations with the corresponding counterfactual expectations. Das Expires 4 June 2027 [Page 116] Internet-Draft Safe Migration, Policy Deployment December 2026 It accounts for differences in relevant task and resource state. It does not assume that every unobserved effect is absent. 10.2.4.15. Staged Promotion Controller (C-98.39) The controller expands deployment through defined stages. For each stage, it checks: ObservedDecisionConsistency. EffectImpact. TaskFailureConditions. DependencyConstraints. CurrentPolicyVersion. PromotionAuthority. 10.2.4.16. Policy Rollback Controller (C-98.40) The controller restores a previous policy version for an affected group. It separately reconciles: AlreadyCompletedEffects. OutstandingOperations. IndeterminateOutcomes. PotentialCompensations. ContinuingPermissions. 10.2.4.17. Native Resource Control Interface (C-98.41) Applicable resource services or gateways enforce policy decisions for production operations. The control architecture must distinguish a centrally recorded policy choice from the actual rules enforced by the resource path. Das Expires 4 June 2027 [Page 117] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.4.18. Deployment Audit Registry (C-98.42) The registry maintains: PolicyVersions. CounterfactualTraceReferences. DecisionDifferences. ImpactRepresentations. CanaryAssignments. ObservedEffectRecords. PromotionDecisions. RollbackGenerations. PostRollbackReconciliation. 10.2.5. Policy Versioning And Authority 10.2.5.1. Currently Enforced Policy (C-98.43) The current policy P₀ is the policy version verified as effective at the relevant enforcement interfaces. A policy-management database entry alone may not prove what a distributed gateway is presently enforcing. 10.2.5.2. Proposed Replacement Policy (C-98.44) The proposed policy P₁ may change: Identity conditions. Task scope. Resource permissions. Tool restrictions. Approval requirements. Agent autonomy. Das Expires 4 June 2027 [Page 118] Internet-Draft Safe Migration, Policy Deployment December 2026 Delegation permissions. Operation limits. 10.2.5.3. Policy Semantic Version (C-98.45) The registry may assign: PolicyID. PolicyVersion. PolicyDigest. PolicyGeneration. The digest identifies policy content and effect-relevant dependencies where required. 10.2.5.4. Policy Evaluation Environment (C-98.46) A policy result may depend upon: Agent identity. Role membership. Task state. Resource attributes. Time. Location or network posture. Prior approvals. Operation parameters. The evaluator records which state is used. 10.2.5.5. Policy Authority Verification (C-98.47) Only an authorized source can propose or activate a policy change. The agent whose permissions are governed by the policy does not automatically possess authority to broaden that policy. Das Expires 4 June 2027 [Page 119] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.5.6. Policy Supersession (C-98.48) A new policy activation advances the relevant generation. Stale update messages cannot silently overwrite a later approved policy. 10.2.5.7. Inconsistent Distributed Policy State (C-98.49) During rollout, some enforcement points may hold P₀ while others hold P₁. The deployment controller identifies and governs this state. Where a consequential workflow crosses policy groups, it applies the configured binding and revalidation rules. 10.2.5.8. Policy Installation Versus Enforcement (C-98.50) Policy installation may return SUCCESS. Nevertheless, a connector or resource gateway may still use a cached prior version. The deployment controller verifies effective policy binding for the applicable operation paths. 10.2.6. Event Trace Repository And Replay 10.2.6.1. Historical Operation Trace (C-98.51) A historical record may contain: Agent A. Task T. Tool SEND_REPORT. Target Resource R. Identity State I. Resource State S. Policy Decision DENY. Das Expires 4 June 2027 [Page 120] Internet-Draft Safe Migration, Policy Deployment December 2026 The replay mechanism evaluates the same defined request context under P₀ and P₁. 10.2.6.2. Relevant Historical Resource State (C-98.52) The trace repository may store a snapshot reference or reconstruct relevant state using verified historical records. If the applicable policy depends upon a fact that cannot be established, the replay is marked incomplete. 10.2.6.3. Identity State (C-98.53) The replay includes applicable: Agent identity. Delegation. Role set. Authentication strength. Permission generation. Task authority. 10.2.6.4. Tool Invocation Parameters (C-98.54) The trace includes actual policy-relevant operation parameters. For example: ResourceID. Destination. Amount. HTTP method. Proposed mutation class. A replay using only the tool name may be insufficient. Das Expires 4 June 2027 [Page 121] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.6.5. Observed Original Outcome (C-98.55) The trace may distinguish: POLICY_DENIED. POLICY_ALLOWED_NOT_EXECUTED. EXECUTED_COMPLETED. EXECUTED_PENDING. EXECUTION_FAILED. OUTCOME_INDETERMINATE. These statuses must not be collapsed into a single success flag. 10.2.6.6. Representative Historical Sampling (C-98.56) The selected trace set may cover: Common operations. High-impact operations. Previously denied requests. Approval-required operations. Failure cases. Asynchronous workflows. Newly affected identities. Relevant resource classes. The test coverage is documented. 10.2.6.7. Synthetic Operation Traces (C-98.57) The system may construct simulated requests not previously observed. Such tests can exercise boundary conditions, including policy changes affecting previously unseen operation classes. Synthetic tests remain labeled as simulated rather than historical. Das Expires 4 June 2027 [Page 122] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.6.8. Trace Completeness Classification (C-98.58) A trace may be: COMPLETE_FOR_REPLAY. PARTIALLY_RECONSTRUCTABLE. INSUFFICIENT_POLICY_CONTEXT. UNVERIFIABLE. 10.2.6.9. Time-Dependent Conditions (C-98.59) A policy may depend upon time or validity intervals. The counterfactual evaluator explicitly selects the historical or test time basis. It does not accidentally evaluate all historical requests as though they occurred at the current time. 10.2.6.10. Non-Effectuating Replay (C-98.60) The policy evaluator may compute authorization outcomes and simulated obligations. It must not cause actual payment submission, resource mutation, message delivery, or privileged tool execution corresponding to the replay. 10.2.7. Counterfactual Policy Execution 10.2.7.1. Two-Policy Evaluation (C-98.61) For each selected trace: Evaluate P₀. Evaluate P₁. Use the same defined operation context and resource-state assumptions for the comparison. 10.2.7.2. Authorization Result (C-98.62) A structured result may include: Das Expires 4 June 2027 [Page 123] Internet-Draft Safe Migration, Policy Deployment December 2026 DecisionClass. ApprovedResourceScope. ApprovedOperationScope. RequiredApprovals. Conditions. Limits. EscalationRequirements. PolicyRuleReferences. 10.2.7.3. Changed Allow Decision (C-98.63) Example: P₀ = DENY. P₁ = ALLOW. The change is potentially permissive and may enable a consequential operation. 10.2.7.4. Changed Deny Decision (C-98.64) Example: P₀ = ALLOW. P₁ = DENY. The change may prevent previously authorized work. The deployment evaluator considers operational failures and any resulting alternate task behavior. 10.2.7.5. Changed Approval Requirement (C-98.65) Example: P₀ = REQUIRE_HUMAN_APPROVAL. P₁ = AUTOMATIC_ALLOW. Das Expires 4 June 2027 [Page 124] Internet-Draft Safe Migration, Policy Deployment December 2026 The evaluator identifies removal of an escalation requirement even though both paths may eventually permit the operation. 10.2.7.6. Changed Resource Limit (C-98.66) Example: P₀ permits updates to 10 records. P₁ permits updates to 100 records. The decision analyzer identifies expanded effect scope. 10.2.7.7. Changed Tool Restriction (C-98.67) Example: P₀ permits only an internal tool. P₁ permits a general external connector. The analyzer records the tool-scope difference and invokes downstream effect analysis. 10.2.7.8. Changed Conditions (C-98.68) A policy may change the required identity assurance level or task- state condition. The decision difference must include these obligations. 10.2.7.9. Incomplete Counterfactual Result (C-98.69) If replay lacks necessary state or policy dependencies, the result is: COUNTERFACTUAL_INDETERMINATE. The system cannot count it as a verified unchanged decision. 10.2.7.10. Counterfactual Trace Output (C-98.70) A representative record contains: TraceID. P₀Decision. Das Expires 4 June 2027 [Page 125] Internet-Draft Safe Migration, Policy Deployment December 2026 P₁Decision. DecisionDifferenceClass. ApplicableStateReference. ReplayCompleteness. PotentialEffectDependencies. 10.2.8. Downstream Effect Impact 10.2.8.1. Effect Dependency (C-98.71) The analyzer identifies what may happen after a newly permitted or newly restricted tool operation. Examples include: Database updates. Network export. Email delivery. Payment submission. Cloud deployment. Credential issuance. Queued job execution. 10.2.8.2. Direct Effect (C-98.72) A policy may enable direct modification of a resource. For example: WRITE_CUSTOMER_RECORD. The impact record includes the applicable resource class. 10.2.8.3. Indirect Effect (C-98.73) The modification may trigger: A database rule. Das Expires 4 June 2027 [Page 126] Internet-Draft Safe Migration, Policy Deployment December 2026 A webhook. An outbox message. An asynchronous worker. A delegated agent. The effect graph includes relevant downstream dependencies. 10.2.8.4. Effect Class (C-98.74) Representative classes include: DATA_EXPORT. RESOURCE_MUTATION. CREDENTIAL_RELEASE. PAYMENT_COMMIT. NETWORK_MESSAGE_SEND. SOFTWARE_DEPLOYMENT. DEVICE_ACTUATION. IDENTITY_CHANGE. 10.2.8.5. Potentially Enabled Effect (C-98.75) A policy change from DENY to ALLOW may enable an operation. The impact representation records that possibility. It does not automatically classify the operation as completed. 10.2.8.6. Potentially Suppressed Effect (C-98.76) A change from ALLOW to DENY may prevent an operation. The impact representation records the potential disruption to task completion and downstream dependencies. Das Expires 4 June 2027 [Page 127] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.8.7. Effect Criticality (C-98.77) An impact policy may distinguish: Informational effect. Local reversible mutation. Sensitive data transfer. High-value financial operation. Credential or privilege change. Irreversible external action. The classification governs canary deployment constraints. 10.2.8.8. Shared Resource Impact (C-98.78) A canary operation may affect a resource shared with non-canary tasks. The impact representation records shared resource relationships. 10.2.8.9. Incomplete Effect Closure (C-98.79) If downstream effects cannot be sufficiently determined, the impact analysis records an unresolved dependency. 10.2.8.10. Impact Representation (C-98.80) A representative impact entry contains: PolicyDifferenceID. AffectedAgentIdentitySet. AffectedTaskClasses. AffectedToolInterfaces. ResourceDependencySet. PotentialEffectClassSet. EffectCriticality. Das Expires 4 June 2027 [Page 128] Internet-Draft Safe Migration, Policy Deployment December 2026 SharedExecutionDependencies. 10.2.9. Deployment Partition Generation 10.2.9.1. Deployment Group (C-98.81) A group may contain: AgentExecutionContexts. TaskClasses. ToolRoutes. TenantScopes. ResourceDependencies. PolicyVersionBinding. The group is a policy deployment unit rather than necessarily a physical server. 10.2.9.2. Dependency-Aware Partitioning (C-98.82) The partition generator groups or constrains contexts based on shared effect dependencies. Two tasks using a common irreversible resource may require coordinated rollout conditions. 10.2.9.3. Independent Canary Group (C-98.83) A group may be considered sufficiently isolated when its relevant effects do not violate required constraints of other groups, or when those interactions are governed by suitable controls. 10.2.9.4. Shared Resource Across Groups (C-98.84) If a canary agent and non-canary agent update the same resource, the system cannot assume complete isolation. The partition may require: Common resource fencing. Task scheduling constraints. Das Expires 4 June 2027 [Page 129] Internet-Draft Safe Migration, Policy Deployment December 2026 Resource version checks. Expanded observation. A coordinated deployment group. 10.2.9.5. Asynchronous Group Membership (C-98.85) A queued operation must retain or revalidate the applicable policy and execution context when it executes. A worker consuming canary-originated work cannot silently switch to an unintended policy version. 10.2.9.6. Cross-Group Agent Migration (C-98.86) An agent task may migrate between workers. The relevant task policy binding and operation state must be preserved or revalidated. 10.2.9.7. Canary Selection (C-98.87) A canary group may be selected based on: Resource criticality. Operational representativeness. Available observation. Isolation feasibility. Rollback feasibility. Task classes. Historical trace coverage. 10.2.9.8. Low-Risk First Stage (C-98.88) The controller may initially select task contexts involving lower- impact effects. Das Expires 4 June 2027 [Page 130] Internet-Draft Safe Migration, Policy Deployment December 2026 +================================================================+ +================================================================+ | C-98.89 - Partition Generation Each deployment group receives | | a versioned identity. The canary-policy controller associates | | it with the approved policy version and rollout generation. | +----------------------------------------------------------------+ | C-98.90 - Partition Change An agent or tool route may be moved | | to another group. The controller evaluates the change against | | current task and resource dependencies. | +----------------------------------------------------------------+ Table 8 10.2.10. Canary Policy Activation 10.2.10.1. Activation Record (C-98.91) A representative record includes: CanaryGroupID. AgentContextSet. OldPolicyVersion. NewPolicyVersion. ActivationGeneration. EffectiveResourceRoutes. ObservationRequirements. 10.2.10.2. Selective Activation (C-98.92) P₁ becomes active for Group G1. P₀ remains active for Group G2. The policy-management service preserves the assignment. 10.2.10.3. Exact Policy Binding (C-98.93) An agent operation is evaluated against the policy version assigned to its applicable execution context. The system must not accidentally check P₀ and execute under P₁, or vice versa, without a defined revalidation rule. Das Expires 4 June 2027 [Page 131] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.10.4. Enforcement Acknowledgment (C-98.94) A gateway may acknowledge a policy installation. The controller verifies that the relevant policy is actually enforced for the intended group. 10.2.10.5. Partially Applied Canary (C-98.95) Some enforcement services may activate P₁ while others remain on P₀. The rollout state is marked incomplete. The controller restricts affected operation classes where mixed- version execution could violate the deployment conditions. 10.2.10.6. Pending Operations at Activation (C-98.96) An operation accepted under P₀ may execute after P₁ becomes active. The system applies a defined rule for policy binding, revalidation, or outstanding-operation continuation. 10.2.10.7. Configuration Propagation Delay (C-98.97) Distributed enforcement components may receive policy updates at different times. The controller uses effective policy generations rather than assuming instant global propagation. 10.2.10.8. Activation Failure (C-98.98) If canary activation cannot be verified, the controller does not promote the group as successfully running P₁. It enters restricted or recovery handling. 10.2.11. Observed Canary Outcomes 10.2.11.1. Actual Authorization Decision (C-98.99) The observer records the policy decision produced for each relevant live request. This includes the effective policy version and decision obligations. Das Expires 4 June 2027 [Page 132] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.11.2. Rejected Operation (C-98.100) A rejected operation may be expected under P₁. It may also represent an unintended task failure. The consistency evaluator checks the rejection against the counterfactual prediction and authorized task requirements. 10.2.11.3. Completed External Effect (C-98.101) A resource operation is marked completed only when supported by the applicable resource system's completion semantics. An allow decision does not by itself prove execution. 10.2.11.4. Pending Operation (C-98.102) An operation may have been admitted but not yet completed. The observer preserves its pending status. Such work may remain relevant to promotion and rollback. 10.2.11.5. Task Failure (C-98.103) The observer records: TaskFailureType. AffectedTool. PolicyDecisionReference. RetryBehavior. CompletionImpact. ResourceDependencies. 10.2.11.6. Unexpected Downstream Effect (C-98.104) A newly permitted tool invocation may produce an effect absent from the counterfactual impact model. The system records the difference and evaluates whether further canary invocations should be restricted. Das Expires 4 June 2027 [Page 133] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.11.7. Observation Completeness (C-98.105) No detected harmful effect is not sufficient evidence of safety if required effect-observation mechanisms were unavailable. +=================================================================+ | The consistency evaluator uses the applicable coverage | | requirements. | +=================================================================+ | C-98.106 - Counterfactual-versus-Live State Difference A canary | | request may involve resource state not present in the | | historical trace. The evaluator distinguishes: | | UnexpectedPolicyBehavior. ChangedResourceState. | | ChangedTaskContext. IncompleteCounterfactualCoverage. It does | | not assume all outcome differences are policy-engine defects. | +-----------------------------------------------------------------+ | C-98.107 - Outcome Classification Representative results | | include: CONSISTENT_WITH_EXPECTATION. ACCEPTABLE_VARIATION. | | UNEXPECTED_AUTHORIZATION_CHANGE. UNEXPECTED_RESOURCE_EFFECT. | | TASK_FAILURE_THRESHOLD_EXCEEDED. OBSERVATION_INSUFFICIENT. | | RECONCILIATION_REQUIRED. | +-----------------------------------------------------------------+ Table 9 10.2.12. Consistency Evaluation 10.2.12.1. Expected Decision Comparison (C-98.108) For a canary operation, the evaluator identifies the applicable simulated or historical expectation. It compares relevant policy inputs and the observed live decision. Das Expires 4 June 2027 [Page 134] Internet-Draft Safe Migration, Policy Deployment December 2026 +=============================================================+ | C-98.109 - Expected Effect Comparison A counterfactual | | effect model may predict: UPDATE_RESOURCE. The live system | | may actually perform: UPDATE_RESOURCE and EXTERNAL_NOTIFY. | | The unexpected notification is classified separately. | +=============================================================+ | C-98.110 - Authorization Mismatch A replay predicts DENY | | under P₁. The live policy service returns ALLOW under | | equivalent verified inputs. This is a critical discrepancy | | requiring investigation or restriction according to policy. | +-------------------------------------------------------------+ | C-98.111 - Restriction Mismatch A replay predicts approval- | | required execution. The live service allows automatic | | effectuation. The mismatch is material even if the final | | operation would eventually have been approved. | +-------------------------------------------------------------+ Table 10 10.2.12.2. Task Failure Mismatch (C-98.112) The replacement policy may create denials causing retry loops or service failures. The evaluator compares those outcomes against allowable deployment impact. +========================================================+ | C-98.113 - Incomplete Observation If relevant | | operations cannot be sufficiently observed, the | | evaluator returns: CONSISTENCY_INDETERMINATE. A | | promotion requiring effect verification cannot proceed | | solely because no discrepancies were reported. | +========================================================+ | C-98.114 - Counterfactual Coverage Limitation Some | | live canary requests may not match any historical | | scenario. The evaluator records the coverage gap. | | The policy may require additional simulation, | | restricted promotion, or continued observation. | +--------------------------------------------------------+ | C-98.115 - Severity Classification A discrepancy may | | be: MINOR. MATERIAL. CRITICAL. UNRESOLVED. The | | classification depends on the affected resource and | | operation constraints. | +--------------------------------------------------------+ Table 11 Das Expires 4 June 2027 [Page 135] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.12.3. Decision Result (C-98.116) The consistency evaluator may recommend: CONTINUE_CANARY. NARROW_CANARY. HOLD_PROMOTION. ROLLBACK. REVISE_POLICY. REPEAT_COUNTERFACTUAL_TESTING. The authorized deployment controller makes the corresponding transition. 10.2.13. Staged Promotion 10.2.13.1. Promotion Objective (C-98.117) The promotion controller expands the scope of P₁ while retaining control over actual external effects. 10.2.13.2. Promotion Stages (C-98.118) A representative rollout may use: Stage 0 - Counterfactual evaluation. Stage 1 - Small bounded canary. Stage 2 - Additional affected task classes. Stage 3 - Broader eligible deployment. Stage 4 - General approved deployment. The number of stages is configurable. 10.2.13.3. Promotion Preconditions (C-98.119) A stage transition may require: Acceptable decision differences. Das Expires 4 June 2027 [Page 136] Internet-Draft Safe Migration, Policy Deployment December 2026 Sufficient observation. No unresolved critical discrepancy. Acceptable task-failure level. Applicable resource dependencies controlled. Current policy and impact representation. Required authorization. 10.2.13.4. Resource Dependency Constraint (C-98.120) Promotion may cause new groups to share resource-effect paths. +============================================================+ | The controller re-evaluates deployment partitions and | | shared dependencies. | +============================================================+ | C-98.121 - Promotion Does Not Erase Earlier Effects | | Operations completed in a previous canary stage remain | | historical external effects. Their records continue to be | | relevant even if deployment expands. | +------------------------------------------------------------+ | C-98.122 - Policy Changed During Rollout If P₁ is modified | | after the original counterfactual evaluation, the previous | | test record may no longer support the new configuration. | | Material policy changes trigger appropriate re-evaluation. | +------------------------------------------------------------+ | C-98.123 - New Tool Dependency A tool or connector may | | change during promotion. If the change materially alters | | effect dependencies, the impact representation must be | | refreshed. | +------------------------------------------------------------+ Table 12 10.2.13.5. Promotion Pause (C-98.124) The controller may pause expansion while allowing already admitted operations to complete under controlled conditions. The pause does not automatically cancel queued work. Das Expires 4 June 2027 [Page 137] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.14. Effect-Preserving Rollback 10.2.14.1. Rollback Trigger (C-98.125) Rollback may be triggered by: Critical decision discrepancy. Unauthorized resource effect. Unacceptable task failure. Policy binding inconsistency. Observation insufficiency. Unresolved cross-group dependency. Administrative cancellation. 10.2.14.2. Configuration Restoration (C-98.126) The controller reassigns affected contexts to the prior approved policy version. It verifies effective enforcement where required. 10.2.14.3. Completed Operation Set (C-98.127) The rollback controller identifies operations that became externally effective under P₁. These remain completed even after P₀ is restored. 10.2.14.4. Pending Operation Set (C-98.128) Operations admitted under P₁ but not yet effective require disposition. The controller may: Hold. Revalidate. Cancel where verified possible. Allow controlled completion. Das Expires 4 June 2027 [Page 138] Internet-Draft Safe Migration, Policy Deployment December 2026 Restrict further effectuation. The choice follows current policy and native resource semantics. 10.2.14.5. Indeterminate Outcome (C-98.129) A submitted operation may have an unknown result. +===================================================================+ | The rollback controller does not assume failure. It | | attempts suitable native outcome reconciliation. | +===================================================================+ | C-98.130 - Cancellable Operation An operation may be | | canceled before effectuation. The controller requires | | appropriate native cancellation confirmation. | +-------------------------------------------------------------------+ | C-98.131 - Compensable Operation A completed effect | | may admit a separately authorized compensating action. | | For example: A newly created resource may be deleted. | | An access grant may be revoked. The original | | operation and compensation are both recorded. | +-------------------------------------------------------------------+ Table 13 10.2.14.6. Irreversible Effect (C-98.132) Some effects cannot be undone. For example: A delivered confidential report. The rollback controller records the completed disclosure and any subsequent containment or remedial action. It does not label the disclosure as reversed. 10.2.14.7. Policy-State Restoration Versus Resource-State Restoration (C-98.133) Two distinct outcomes are recorded: PolicyState = RESTORED_TO_P₀. ResourceEffectState = COMPLETED / PENDING / INDETERMINATE / REMEDIATED. Das Expires 4 June 2027 [Page 139] Internet-Draft Safe Migration, Policy Deployment December 2026 One state does not determine the other. 10.2.14.8. Rollback Generation (C-98.134) The controller advances a policy binding generation when restoring P₀. Stale canary policy dispatches are rejected or revalidated. 10.2.14.9. Queued Operations Under Rolled-Back Policy (C-98.135) A worker may receive a message admitted under P₁ before rollback. The worker checks the applicable continuation rule and current enforcement generation. It cannot assume old canary admission is sufficient to execute an operation now prohibited. 10.2.14.10. Rollback Failure (C-98.136) A policy service may fail to restore P₀ at one enforcement interface. The system records incomplete restoration and applies available containment. It does not report a successful rollback merely because the policy- management service accepted the request. 10.2.14.11. Rollback Audit (C-98.137) The record includes: PreviousPolicy. RestoredPolicy. AffectedGroups. EffectiveRestorationStatus. CompletedEffectReferences. PendingOperationReferences. IndeterminateOperationReferences. RemediationState. Das Expires 4 June 2027 [Page 140] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.15. Complete 48-Step Principal Workflow 10.2.15.1. Counterfactual and Canary Deployment Workflow (C-98.138) *Step C98-01 - Register current policy* Identify P₀ and its effective enforcement generation. *Step C98-02 - Register proposed replacement* Identify P₁ and its configuration generation. *Step C98-03 - Verify policy-change authority* Confirm the proposing source is authorized. *Step C98-04 - Identify affected rule families* Determine which authorization conditions differ. *Step C98-05 - Retrieve historical agent traces* Select relevant operation records. *Step C98-06 - Retrieve identity contexts* Obtain policy-relevant identity and delegation state. *Step C98-07 - Retrieve resource-state references* Resolve applicable resource versions. *Step C98-08 - Evaluate trace completeness* Identify missing policy inputs. *Step C98-09 - Construct synthetic boundary cases* Add required simulated scenarios. *Step C98-10 - Establish non-effectuating evaluation mode* Prevent production mutations during replay. *Step C98-11 - Evaluate requests under P₀* Generate structured old-policy decisions. Das Expires 4 June 2027 [Page 141] Internet-Draft Safe Migration, Policy Deployment December 2026 *Step C98-12 - Evaluate requests under P₁* Generate structured proposed-policy decisions. *Step C98-13 - Compare authorization decisions* Identify allow, deny, escalation, and restriction differences. *Step C98-14 - Classify affected operation classes* Determine which tool or resource operations change. *Step C98-15 - Resolve downstream effect dependencies* Identify direct and indirect potential effects. *Step C98-16 - Construct impact representation* Associate differences with agents, tasks, tools, resources, and effects. *Step C98-17 - Evaluate impact completeness* Identify unresolved effect dependencies. *Step C98-18 - Determine affected active contexts* Map policy changes to agent execution contexts. *Step C98-19 - Identify shared resources* Determine cross-context effect dependencies. *Step C98-20 - Generate deployment partitions* Construct suitable canary and non-canary groups. *Step C98-21 - Evaluate canary isolation* Check relevant resource interactions and constraints. *Step C98-22 - Establish canary observation requirements* Define decisions, effects, and task failures to monitor. *Step C98-23 - Approve canary activation* Verify deployment authority and conditions. Das Expires 4 June 2027 [Page 142] Internet-Draft Safe Migration, Policy Deployment December 2026 *Step C98-24 - Commit canary policy binding* Associate P₁ with selected execution contexts. *Step C98-25 - Verify effective enforcement* Confirm relevant gateways apply the intended policy. *Step C98-26 - Preserve P₀ for other groups* Maintain existing policy bindings outside the selected group. *Step C98-27 - Receive canary agent operations* Observe real requests under P₁. *Step C98-28 - Record actual authorization outcomes* Capture allow, deny, escalation, and restrictions. *Step C98-29 - Record rejected operations* Identify changed task behavior. *Step C98-30 - Record completed external effects* Collect authoritative resource outcome evidence. *Step C98-31 - Track pending operations* Preserve queued and delegated work status. *Step C98-32 - Record task failures* Identify interrupted or degraded workflows. *Step C98-33 - Compare canary decisions with predictions* Evaluate decision consistency. *Step C98-34 - Compare actual effects with impact model* Identify unexpected effect paths. *Step C98-35 - Evaluate observation sufficiency* Determine whether required outcomes were verifiably observed. Das Expires 4 June 2027 [Page 143] Internet-Draft Safe Migration, Policy Deployment December 2026 *Step C98-36 - Classify deployment discrepancies* Identify acceptable, material, critical, or unresolved differences. *Step C98-37 - Evaluate promotion conditions* Check configured acceptance criteria. *Step C98-38 - Re-evaluate expanded resource dependencies* Assess the next proposed deployment stage. *Step C98-39 - Promote eligible group or hold* Apply the approved transition. *Step C98-40 - Continue staged monitoring* Observe newly affected contexts. *Step C98-41 - Detect rollback condition* Identify a critical or otherwise disqualifying discrepancy. *Step C98-42 - Restrict further affected invocations* Prevent additional unauthorized canary operations where enforceable. *Step C98-43 - Restore prior policy binding* Apply P₀ to affected groups. *Step C98-44 - Verify effective rollback* Confirm resource-side enforcement. *Step C98-45 - Reconcile completed external effects* Preserve the history of effects produced under P₁. *Step C98-46 - Reconcile pending and indeterminate work* Hold, cancel, revalidate, or otherwise resolve outstanding operations. *Step C98-47 - Evaluate separately authorized remediation* Determine whether compensation or containment is possible. Das Expires 4 June 2027 [Page 144] Internet-Draft Safe Migration, Policy Deployment December 2026 *Step C98-48 - Commit deployment and rollback audit* Preserve policy, prediction, observation, promotion, and external- effect history. 10.2.16. Reference Implementation Algorithms C-98.139 - Algorithm A: Policy Proposal Registration function RegisterPolicyReplacement(proposal): current = PolicyRegistry.getEffective( proposal.target_scope ) if current is unavailable: return CURRENT_POLICY_UNKNOWN if not VerifyPolicyChangeAuthority( proposal.initiator, proposal.target_scope ): return DENIED proposed = ValidateAndCanonicalizePolicy( proposal.replacement_policy ) if proposed is invalid: return INVALID_POLICY return PolicyRegistry.commitProposal({ old_policy: current, new_policy: proposed, target_scope: proposal.target_scope, proposal_generation: NextGeneration() }) 10.2.16.1. Algorithm B: Trace Reconstruction (C-98.140) Das Expires 4 June 2027 [Page 145] Internet-Draft Safe Migration, Policy Deployment December 2026 function ReconstructPolicyReplayInput(trace): identity = HistoricalIdentityRegistry.resolve( trace.identity_context_reference ) resource = HistoricalResourceStateRegistry.resolve( trace.resource_state_reference ) conditions = HistoricalPolicyContext.resolve( trace.policy_condition_reference ) if RequiredPolicyInputsMissing( trace, identity, resource, conditions ): return REPLAY_INPUT_INCOMPLETE return { operation: trace.operation_request, identity: identity, resource: resource, conditions: conditions, replay_time: trace.execution_time, trace_generation: trace.generation } C-98.141 - Algorithm C: Non-Effectuating Dual-Policy Replay function ExecuteCounterfactualPolicyReplay( trace, policy_old, policy_new ): input = ReconstructPolicyReplayInput(trace) if input == REPLAY_INPUT_INCOMPLETE: return COUNTERFACTUAL_INDETERMINATE environment = CreatePolicyEvaluationSandbox({ mode: COUNTERFACTUAL_NO_EFFECT, resource_state: input.resource, identity_state: input.identity }) Das Expires 4 June 2027 [Page 146] Internet-Draft Safe Migration, Policy Deployment December 2026 if not VerifyPolicyEvaluationEffectsSuppressed( environment ): return REPLAY_UNSAFE old_result = environment.evaluate( policy_old, input ) new_result = environment.evaluate( policy_new, input ) return CounterfactualRegistry.commit({ trace_id: trace.id, old_policy: policy_old.id, new_policy: policy_new.id, old_decision: old_result, new_decision: new_result, effectuation_status: NOT_EXECUTED }) 10.2.16.2. Algorithm D: Decision-Difference Analysis (C-98.142) function AnalyzeDecisionDifference(replay): old = NormalizeAuthorizationDecision( replay.old_decision ) proposed = NormalizeAuthorizationDecision( replay.new_decision ) changes = EmptySet() CompareDecisionClass(old, proposed, changes) CompareApprovalObligations(old, proposed, changes) CompareResourceScope(old, proposed, changes) CompareToolRestrictions(old, proposed, changes) CompareOperationLimits(old, proposed, changes) CompareDelegationScope(old, proposed, changes) return DecisionDifferenceRegistry.commit({ replay_reference: replay.id, changes: changes }) Das Expires 4 June 2027 [Page 147] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.16.3. Algorithm E: Downstream Effect Analysis (C-98.143) function ResolvePolicyChangeEffects(decision_difference): changed_operations = ResolveChangedOperationClasses( decision_difference ) effect_set = EmptySet() for each operation_class in changed_operations: closure = EffectDependencyRegistry.resolveClosure( operation_class ) if closure is incomplete: effect_set.add(UNRESOLVED_EFFECT_DEPENDENCY) effect_set.addAll(closure.known_effects) return PolicyEffectImpactRegistry.commit({ difference_id: decision_difference.id, changed_operations: changed_operations, downstream_effects: effect_set }) C-98.144 - Algorithm F: Impact Representation Construction function BuildPolicyImpactRepresentation( differences, effects ): impact = NewImpactRepresentation() for each difference in differences: associated = effects.forDifference( difference.id ) impact.add({ difference_id: difference.id, affected_agent_identities: ResolveAffectedAgents(difference), affected_task_classes: ResolveAffectedTasks(difference), tool_interfaces: ResolveAffectedTools(difference), resource_dependencies: associated.resource_dependencies, potential_external_effects: associated.effect_classes }) Das Expires 4 June 2027 [Page 148] Internet-Draft Safe Migration, Policy Deployment December 2026 return PolicyImpactRegistry.commit(impact) C-98.145 - Algorithm G: Dependency-Aware Canary Partitioning function GenerateCanaryPartitions(impact): contexts = ActiveAgentRegistry.findAffected( impact ) dependencies = BuildCrossContextResourceDependencyGraph( contexts, impact ) groups = PartitionWithDependencyConstraints( contexts, dependencies ) for each group in groups: if not VerifyCanaryIsolationOrSharedControls( group, dependencies ): group.status = NOT_YET_ELIGIBLE return DeploymentGroupRegistry.commit(groups) 10.2.16.4. Algorithm H: Canary Eligibility (C-98.146) Das Expires 4 June 2027 [Page 149] Internet-Draft Safe Migration, Policy Deployment December 2026 function VerifyCanaryEligibility( policy_change, group ): if not VerifyPolicyAuthority(policy_change): return DENIED if not CounterfactualEvaluationAcceptable( policy_change, group ): return DENIED if not EffectImpactSufficientlyResolved( policy_change, group ): return HOLD if not ResourceDependenciesControlled(group): return HOLD if not RequiredObservationAvailable(group): return HOLD return CANARY_ELIGIBLE C-98.147 - Algorithm I: Selective Canary Activation function ActivateCanaryPolicy( group, policy_old, policy_new ): if VerifyCanaryEligibility( policy_new, group ) != CANARY_ELIGIBLE: return DENIED generation = AllocatePolicyDeploymentGeneration() ApplyGroupPolicyBinding({ group_id: group.id, policy_id: policy_new.id, generation: generation }) Das Expires 4 June 2027 [Page 150] Internet-Draft Safe Migration, Policy Deployment December 2026 if not VerifyEffectivePolicyAtRequiredInterfaces( group, policy_new, generation ): return ACTIVATION_INCOMPLETE PreserveOldPolicyForOtherGroups( policy_old, group ) return CANARY_ACTIVE C-98.148 - Algorithm J: Live Decision and Effect Observation function ObserveCanaryOperation(operation): binding = PolicyBindingRegistry.currentFor( operation.execution_context ) decision = AuthorizationObservation.read(operation) resource_outcome = NativeResourceOutcomeRegistry.lookup( operation.id ) return CanaryOutcomeRegistry.commit({ operation_id: operation.id, policy_version: binding.policy_version, actual_decision: decision, native_effect_status: resource_outcome.status, actual_effect_reference: resource_outcome.effect_reference, task_failure_reference: TaskOutcomeRegistry.findRelevant(operation) }) C-98.149 - Algorithm K: Canary Consistency Evaluation function EvaluateCanaryConsistency( canary_group, observed_outcomes ): expectations = CounterfactualRegistry.getApplicable( canary_group ) discrepancies = EmptySet() for each outcome in observed_outcomes: Das Expires 4 June 2027 [Page 151] Internet-Draft Safe Migration, Policy Deployment December 2026 expected = MatchComparableCounterfactualScenario( outcome, expectations ) if expected is unavailable: discrepancies.add(UNTESTED_OPERATION_SCENARIO) continue if not AuthorizationDecisionConsistent( outcome, expected ): discrepancies.add(AUTHORIZATION_MISMATCH) if not ResourceEffectsWithinPredictedImpact( outcome, expected ): discrepancies.add(UNEXPECTED_EFFECT) if not TaskFailureWithinApprovedConditions( outcome ): discrepancies.add(TASK_FAILURE_DISCREPANCY) if not ObservationCoverageSufficient(canary_group): discrepancies.add(OBSERVATION_INSUFFICIENT) return CanaryConsistencyRegistry.commit({ group_id: canary_group.id, discrepancies: discrepancies }) 10.2.16.5. Algorithm L: Promotion Decision (C-98.150) function EvaluatePromotion( current_stage, next_stage ): evaluation = CanaryConsistencyRegistry.getCurrent( current_stage.group_id ) if evaluation.hasCriticalDiscrepancy: return PROMOTION_DENIED Das Expires 4 June 2027 [Page 152] Internet-Draft Safe Migration, Policy Deployment December 2026 if evaluation.hasUnresolvedObservationGap: return PROMOTION_HELD if not VerifyNextStageResourceDependencies( next_stage ): return PROMOTION_HELD if not VerifyPolicyVersionStillCurrent( next_stage.policy_id ): return REEVALUATION_REQUIRED if not AllPromotionCriteriaSatisfied( current_stage, next_stage ): return PROMOTION_HELD return APPROVE_NEXT_STAGE 10.2.16.6. Algorithm M: Staged Promotion (C-98.151) function PromotePolicyToNextStage( current_stage, next_group, proposed_policy ): decision = EvaluatePromotion( current_stage, next_group ) if decision != APPROVE_NEXT_STAGE: return decision result = ActivateCanaryPolicy( next_group, PolicyRegistry.previousFor(next_group), proposed_policy ) if result != CANARY_ACTIVE: return PROMOTION_INCOMPLETE return PROMOTION_STAGE_ADVANCED Das Expires 4 June 2027 [Page 153] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.16.7. Algorithm N: Rollback Initiation (C-98.152) function InitiatePolicyRollback( group, triggering_event ): if not AuthorizedRollbackCondition(triggering_event): return DENIED EnterRestrictedPolicyTransition(group) outstanding = OperationRegistry.findOutstandingUnderPolicy( group, group.active_policy_version ) completed = OperationRegistry.findCompletedUnderPolicy( group, group.active_policy_version ) return RollbackRegistry.commitInitiation({ group_id: group.id, triggering_event: triggering_event, completed_operations: completed, outstanding_operations: outstanding, state: ROLLBACK_PENDING }) C-98.153 - Algorithm O: Effective Policy Restoration function RestorePriorPolicy( group, prior_policy ): generation = NextPolicyBindingGeneration(group.id) PolicyBindingRegistry.commitTransition({ group_id: group.id, policy_id: prior_policy.id, generation: generation }) ApplyPolicyToEnforcementInterfaces( group, prior_policy, generation ) Das Expires 4 June 2027 [Page 154] Internet-Draft Safe Migration, Policy Deployment December 2026 if not VerifyEffectivePolicyAtRequiredInterfaces( group, prior_policy, generation ): return POLICY_RESTORATION_INCOMPLETE return POLICY_RESTORED 10.2.16.8. Algorithm P: Completed-Effect Reconciliation (C-98.154) function ReconcileCanaryCompletedEffects( rollback_id ): rollback = RollbackRegistry.get(rollback_id) outcomes = EmptySet() for each operation in rollback.completed_operations: status = QueryAuthoritativeNativeOutcome( operation ) if status == VERIFIED_COMPLETED: outcomes.add({ operation_id: operation.id, effect_status: COMPLETED_NOT_REVERSED, native_evidence: status.evidence }) else: outcomes.add({ operation_id: operation.id, effect_status: REQUIRES_RECONCILIATION }) return RollbackRegistry.commitEffectHistory( rollback_id, outcomes ) C-98.155 - Algorithm Q: Pending-Operation Rollback Disposition Das Expires 4 June 2027 [Page 155] Internet-Draft Safe Migration, Policy Deployment December 2026 function ReconcilePendingCanaryOperation( operation, restored_policy ): native_status = QueryAuthoritativeNativeOutcome( operation ) if native_status == VERIFIED_COMPLETED: return RECORD_COMPLETED_EFFECT if native_status == VERIFIED_CANCELED: return RECORD_CANCELED if native_status == VERIFIED_PENDING: if CurrentPolicyProhibitsContinuation( restored_policy, operation ): return HOLD_OR_REQUEST_VERIFIED_CANCELLATION return REVALIDATE_UNDER_CURRENT_POLICY return OUTCOME_INDETERMINATE C-98.156 - Algorithm R: Effect-Preserving Rollback Completion function CompleteEffectPreservingRollback( rollback_id ): rollback = RollbackRegistry.get(rollback_id) restoration = VerifyCurrentEffectivePolicy( rollback.group_id ) completed = ReconcileCanaryCompletedEffects( rollback_id ) pending = ReconcileOutstandingCanaryOperations( rollback_id ) if restoration != PRIOR_POLICY_EFFECTIVE: return ROLLBACK_INCOMPLETE Das Expires 4 June 2027 [Page 156] Internet-Draft Safe Migration, Policy Deployment December 2026 return RollbackRegistry.commit({ rollback_id: rollback_id, policy_state: PRIOR_POLICY_RESTORED, completed_external_effects: completed, unresolved_operations: pending.unresolved, remediation_requirements: DetermineSeparateAuthorizedRemediation( completed, pending ), completion_generation: NextGeneration() }) 10.2.17. Worked Technical Examples 10.2.17.1. Example A: Data Export Policy Expansion (C-98.157) The following is a hypothetical implementation example. P₀ permits internal report generation but denies export to an external provider. P₁ permits the export for a selected task class. Historical replay identifies: P₀ = DENY. P₁ = ALLOW. The impact analyzer identifies DATA_EXPORT. A restricted canary is activated. An agent exports a report under P₁. A subsequently detected violation causes rollback. P₀ is restored, preventing future export. The completed disclosure remains recorded. 10.2.17.2. Example B: Removal of Human Approval (C-98.158) P₀ requires human approval before privileged infrastructure changes. P₁ permits selected changes automatically. Das Expires 4 June 2027 [Page 157] Internet-Draft Safe Migration, Policy Deployment December 2026 The counterfactual analyzer records removal of the approval obligation. The impact representation identifies affected cloud resource operations. The deployment controller requires a narrowly scoped canary and appropriate effect observation. C-98.159 - Example C: More Restrictive Tool Policy Causes Task Failures P₀ permits an internal database lookup. P₁ denies the lookup. Historical replay identifies the difference. During canary deployment, affected agents repeatedly fail to retrieve required records. The consistency evaluator classifies the task failures. Promotion is withheld or the policy is revised. 10.2.17.3. Example D: New Connector Destination (C-98.160) P₁ permits a tool to use a broader connector route. The tool may send data to an external endpoint. The effect dependency analyzer identifies the possible new destination. The canary impact record includes the external transfer. 10.2.17.4. Example E: Database Trigger Effects (C-98.161) A newly permitted resource modification activates a database trigger. The trigger writes another table. The counterfactual effect analysis identifies the trigger dependency where supported by the service's effect contract. Das Expires 4 June 2027 [Page 158] Internet-Draft Safe Migration, Policy Deployment December 2026 +===================================================================+ | Actual canary observation verifies the resulting operation | | class. | +===================================================================+ | C-98.162 - Example F: Shared Resource Between Canary and Control | | One canary agent updates a shared customer record. A non-canary | | agent reads the same record under P₀. The partition generator | | identifies the shared dependency. The rollout applies suitable | | resource coordination rather than assuming the agents are | | isolated solely because they have different policy versions. | +-------------------------------------------------------------------+ | C-98.163 - Example G: Queued Operation After Rollback P₁ permits | | a cloud deployment. An agent queues the deployment during the | | canary. Before the worker executes, rollback restores P₀. The | | worker verifies the applicable current policy and outstanding- | | operation disposition. The queued request is held or | | revalidated rather than automatically executed under stale | | authority. | +-------------------------------------------------------------------+ Table 14 10.2.17.5. Example H: Completed Cloud Deployment (C-98.164) A canary agent deploys a cloud resource under P₁. The deployment completes. The policy is later rolled back. The completed resource remains in the cloud environment. The rollback controller records the resource and may initiate separately authorized deprovisioning. It does not classify the original deployment as undone. 10.2.17.6. Example I: Stale Policy Cache (C-98.165) The central policy service reports that P₁ is active. One execution gateway continues enforcing P₀. The canary activation verifier identifies the inconsistency. Das Expires 4 June 2027 [Page 159] Internet-Draft Safe Migration, Policy Deployment December 2026 +==============================================================+ | The group is not marked fully activated until the required | | effective policy state is established. | +==============================================================+ | C-98.166 - Example J: Counterfactual Replay Missing Identity | | State A historical trace identifies a tool invocation but | | omits the role membership used in the original decision. | | The policy evaluator cannot reconstruct the relevant | | condition. It records: COUNTERFACTUAL_INDETERMINATE. It | | does not fabricate a definitive decision for that request. | +--------------------------------------------------------------+ | C-98.167 - Example K: Simulated Payment Evaluation | | Historical data includes a payment submission. Both policy | | versions are evaluated against the payment request. The | | replay produces two authorization outcomes. No second | | payment is submitted during counterfactual testing. | +--------------------------------------------------------------+ Table 15 C-98.168 - Example L: Canary Shows Unexpected Notification Counterfactual analysis predicts a newly allowed database update. During the canary, the update also produces an external notification. The consistency evaluator identifies a downstream effect missing from the predicted impact. Further promotion is held. 10.2.17.7. Example M: Safe Canary Promotion (C-98.169) A proposed policy narrows read access for a selected agent group. Counterfactual testing predicts the change. Canary observation confirms the expected decisions without unacceptable task failures. The promotion controller evaluates the next group's shared dependencies before expanding deployment. C-98.170 - Example N: Model-Initiated Policy Change An autonomous agent proposes relaxing its own network restrictions. Das Expires 4 June 2027 [Page 160] Internet-Draft Safe Migration, Policy Deployment December 2026 The policy management service verifies whether the agent is permitted to propose the change. Proposal authority does not automatically include activation authority. The change must pass the controlled counterfactual and deployment process. 10.2.17.8. Example O: Distributed Policy Partition (C-98.171) A canary group contains agents running on several hosts. Two hosts activate P₁. Another remains on P₀ because of a network interruption. The deployment controller records a partially applied stage. Affected consequential operations are restricted according to the transition policy. C-98.172 - Example P: No Observed Incident but Missing Telemetry The canary produces no alerts. However, required network-effect observation was unavailable during part of the test. Das Expires 4 June 2027 [Page 161] Internet-Draft Safe Migration, Policy Deployment December 2026 +=================================================================+ | The consistency evaluator classifies the evidence as | | insufficient. Absence of alerts is not accepted as proof of | | safe policy behavior. | +=================================================================+ | C-98.173 - Example Q: Rollback of Credential Policy P₁ permits | | broader credential issuance. During the canary, one credential | | is issued. A discrepancy causes rollback. The older issuance | | policy is restored. The issued credential may remain valid | | unless separately revoked or restricted. The controller | | records and evaluates that outstanding security consequence. | +-----------------------------------------------------------------+ | C-98.174 - Example R: Previously Denied Operation in Replay A | | historical request was denied under P₀. P₁ would allow it. | | Because the original operation never executed, the replay | | repository may lack an actual downstream effect. The analyzer | | uses available tool semantics and resource dependencies to | | identify potential effects. It distinguishes predicted | | possibilities from observed completions. | +-----------------------------------------------------------------+ Table 16 10.2.18. Failure And Adversarial Conditions 10.2.18.1. Representative Failure Cases (C-98.175) *F1 - Policy Syntax Mistaken for Safety* The replacement passes parsing but permits harmful operations. Counterfactual and effect analysis remain required. *F2 - Successful Installation Mistaken for Safe Deployment* The policy service accepts P₁. Actual authorization and resource outcomes must still be evaluated. *F3 - Historical Trace Missing Identity State* A policy-dependent role or delegation is unavailable. Replay is marked incomplete. *F4 - Historical Resource State Incorrect* The evaluator uses the wrong resource attributes. Das Expires 4 June 2027 [Page 162] Internet-Draft Safe Migration, Policy Deployment December 2026 State provenance and generation checks are required. *F5 - Current State Confused with Historical State* A historical request is evaluated using unintended present-day assumptions. The replay mode records its selected state basis. *F6 - Counterfactual Replay Executes Real Tool* A historical request produces a second production operation. Side-effect suppression must prevent it. *F7 - Policy Evaluation Hook Has Side Effects* A policy function invokes an external service during replay. The evaluator isolates or simulates the effect-capable hook. *F8 - Allow/Deny Comparison Omits Approval Requirement* P₁ removes mandatory human approval. Decision normalization must detect the change. *F9 - Resource Scope Expansion Overlooked* P₁ permits a broader set of resource targets. Structured scope comparison identifies the difference. *F10 - Operation Quantity Limit Changed* P₁ raises a transaction or export limit. The decision analyzer records the change. *F11 - Newly Denied Operation Causes Retry Loop* An agent repeatedly invokes a denied tool. Canary task-failure observation identifies the behavior. *F12 - Indirect Effect Missing* A permitted update triggers an external operation. Das Expires 4 June 2027 [Page 163] Internet-Draft Safe Migration, Policy Deployment December 2026 Effect-dependency analysis must account for it where supported. *F13 - Trigger Version Changes* A resource trigger changes after counterfactual testing. Impact assumptions require revalidation. *F14 - Unknown Effect Closure Treated as Harmless* The system cannot determine downstream effects. It must not automatically classify the change as low risk. *F15 - Random Canary Group Shares Critical Resource* Canary and non-canary agents interact through one shared state. Dependency-aware partitioning is required. *F16 - Canary Assignment Ignores Task Dependencies* One active workflow spans multiple policy groups unexpectedly. Version binding and workflow constraints are required. *F17 - Worker Loses Policy Version* A queued request executes under an unintended policy. Worker-side version validation is required. *F18 - Old Policy Cache Remains Active* A gateway does not apply P₁. Effective activation verification detects the failure. *F19 - Mixed-Version Enforcement* A workflow is checked under one policy and executed under another. Generation binding or revalidation prevents the mismatch. *F20 - Unapproved Agent Activates Policy* An agent proposes and self-activates broader permissions. Das Expires 4 June 2027 [Page 164] Internet-Draft Safe Migration, Policy Deployment December 2026 Policy-change authority checks reject unauthorized activation. *F21 - Canary Observation Missing* The system cannot observe required resource effects. Promotion is held where observation is mandatory. *F22 - No Alerts Misclassified as Safe* An unobserved interval is interpreted as absence of unsafe operations. Coverage evaluation prevents the inference. *F23 - Counterfactual Prediction Applied to Different Context* A live request differs materially from the replay scenario. The evaluator identifies incomparable state. *F24 - New Operation Class Untested* The canary exercises behavior absent from historical traces. Coverage is explicitly recorded. *F25 - Unexpected Authorization Decision* The live policy returns ALLOW where P₁ counterfactual evaluation predicts DENY under equivalent inputs. A discrepancy is raised. *F26 - Unexpected Approval Bypass* The canary removes an escalation condition unintentionally. The evaluator classifies the mismatch. *F27 - Unexpected External Effect* A permitted tool produces another downstream operation. Promotion may be held or rollback initiated. *F28 - Task Failure Threshold Exceeded* Das Expires 4 June 2027 [Page 165] Internet-Draft Safe Migration, Policy Deployment December 2026 P₁ disrupts too many required workflows. The deployment controller restricts expansion. *F29 - Promotion Without Dependency Recheck* The next stage shares new resource dependencies. The partition generator must re-evaluate them. *F30 - Promotion Uses Stale Policy Version* P₁ has changed since its test. Material changes require re-evaluation. *F31 - Canary Observation Period Insufficient* The test has not exercised necessary operation classes. Acceptance criteria must reflect the coverage limit. *F32 - Completed External Effect Treated as Reversible* Rollback restores P₀ after a completed export. The exported data remains disclosed. *F33 - Policy Rollback Mistaken for Resource Rollback* The controller reports all effects undone after restoring policy files. Separate effect-state reconciliation is required. *F34 - Issued Credential Persists After Rollback* P₁ enabled a credential issuance. The credential may require independent revocation. *F35 - Pending Queue Work Executes After Rollback* An operation admitted under P₁ runs under P₀ without revalidation. Worker controls enforce the specified transition rule. *F36 - Unknown Operation Outcome Assumed Failed* Das Expires 4 June 2027 [Page 166] Internet-Draft Safe Migration, Policy Deployment December 2026 The service acknowledgment is lost. The controller preserves outcome uncertainty. *F37 - Cancellation Request Mistaken for Cancellation* A queued job may still execute. Native cancellation confirmation is required. *F38 - Compensation Treated as Historical Erasure* A resource is deprovisioned after deployment. Both original and compensating effects are recorded. *F39 - Rollback Only Partially Applied* Some gateways retain P₁. The effective restoration check detects incomplete rollback. *F40 - Rollback Generation Replayed* A stale policy assignment expands permissions again. Protected version checks reject the stale transition. *F41 - Completed Operation Replayed During Recovery* A deployment controller restarts and repeats an already completed resource operation. Stable operation IDs and outcome evidence prevent duplicate execution. *F42 - Canary Task Migrates Between Groups* The task loses its expected policy binding. Task generation and policy scope are revalidated. *F43 - Asynchronous Callback Produces Unexpected Effect* A callback creates an effect after the initial canary operation completed. The dependency and completion records are updated. Das Expires 4 June 2027 [Page 167] Internet-Draft Safe Migration, Policy Deployment December 2026 *F44 - Cross-Tenant Impact Misclassified* A canary operation affects another tenant through shared infrastructure. Impact representation and resource scope checks identify the dependency. *F45 - Historical Data Bias* The trace set excludes rare but consequential operations. Coverage limitations remain explicit. *F46 - False Counterfactual Certainty* A model-based simulation is treated as proof of future production behavior. Actual canary observation and limitations remain separate. *F47 - Resource Service Does Not Enforce Policy Binding* A central decision is recorded, but another route bypasses it. The enforcement scope must be established. *F48 - Canary Promotion Continues During Critical Discrepancy* A critical deviation is observed. The promotion controller blocks further expansion under the configured policy. *F49 - Remediation Operation Unauthorized* The rollback controller attempts to undo an effect without appropriate current authority. Compensating actions require separate authorization. *F50 - Incomplete Audit* A policy is restored without retaining which operations occurred under P₁. The deployment audit preserves completed, pending, and unresolved effects. Das Expires 4 June 2027 [Page 168] Internet-Draft Safe Migration, Policy Deployment December 2026 10.2.19. Implementation Variations 10.2.19.1. Agent Tool Gateway (C-98.176) A gateway performs P₀ and P₁ authorization checks over recorded tool requests. +===========================================================+ | It deploys P₁ selectively according to execution context | | and resource dependencies. | +===========================================================+ | C-98.177 - Enterprise Identity Policy A replacement | | identity policy changes which operations delegated AI | | agents may perform. Counterfactual testing evaluates | | changed identity obligations and resource scopes. | +-----------------------------------------------------------+ | C-98.178 - Cloud Resource Authorization A proposed cloud | | policy changes which deployment and resource-provisioning | | operations an agent may execute. The canary observes | | actual resource creation, modification, and failure. | +-----------------------------------------------------------+ | C-98.179 - Financial Tool Policy A replacement policy | | changes payment amount limits or approval obligations. | | The impact model identifies financial operation classes. | | Rollback preserves completed payment history. | +-----------------------------------------------------------+ | C-98.180 - Network Egress Policy A proposed rule permits | | additional destinations. The counterfactual analyzer | | identifies newly allowed export operations. The canary | | monitors actual network effects. | +-----------------------------------------------------------+ Table 17 10.2.19.2. AI Sandbox Permissions (C-98.181) An agent sandbox policy changes accessible files, tools, processes, or network interfaces. The same counterfactual and canary process applies. 10.2.19.3. Multi-Agent Enterprise Platform (C-98.182) Different agents share resource dependencies. Deployment groups are selected according to cross-agent effect relationships. Das Expires 4 June 2027 [Page 169] Internet-Draft Safe Migration, Policy Deployment December 2026 +==========================================================+ | C-98.183 - Container and Micro-VM Environments Policy | | enforcement may be integrated with sandbox controllers, | | process restrictions, or tool gateways. | +==========================================================+ | C-98.184 - Hardware-Assisted Effect Observation A NIC, | | DPU, device controller, or other protected interface may | | provide additional actual- effect evidence. Hardware | | assistance is optional. | +----------------------------------------------------------+ | C-98.185 - Historical-Trace-Only Evaluation A deployment | | may initially rely on a collection of historical | | operation traces. Materially untested scenarios remain | | subject to explicit coverage limitations. | +----------------------------------------------------------+ | C-98.186 - Synthetic-Scenario Evaluation A test | | generator may construct operation requests designed to | | exercise important rule boundaries. These remain non- | | effectuating. | +----------------------------------------------------------+ Table 18 10.2.19.4. Canary with Parallel Shadow Comparison (C-98.187) During a canary, the system may additionally evaluate live requests under P₀ in shadow mode while enforcing P₁. Shadow evaluation must not perform external effects. 10.2.19.5. Resource-Dependency Partitioning (C-98.188) A graph or equivalent structure may identify which execution contexts share resource-effect dependencies. This information guides canary assignment. 10.2.19.6. Restrictive Rollback (C-98.189) If previous policy restoration cannot be verified, the system may use a more restrictive emergency policy where available. Das Expires 4 June 2027 [Page 170] Internet-Draft Safe Migration, Policy Deployment December 2026 +==========================================================+ | The applied restrictions must be verified at the | | relevant enforcement interfaces. | +==========================================================+ | C-98.190 - Compensating Resource Action Where permitted, | | a separate workflow may remediate completed effects. | | The remediation result is recorded separately from the | | policy rollback. | +----------------------------------------------------------+ | C-98.191 - Distributed Sovereign Deployment Different | | administrative domains may deploy agent policies under | | local authority. The rollout respects applicable policy | | provenance and domain-specific effectuation controls. | +----------------------------------------------------------+ Table 19 10.2.19.7. Optional DAS Execution-Finality Integration (C-98.192) A DAS Finality Sink may independently validate consequential operations under the currently enforced policy generation. This profile evaluates and deploys changes to the policy governing agent operations. A DAS execution-finality mechanism may separately control whether a particular operation becomes effective. 10.2.20. Representative Data Structures 10.2.20.1. PolicyVersionRecord (C-98.193) Fields may include: 1. PolicyID. 2. PolicyVersion. 3. PolicyDigest. 4. RuleSetReference. 5. ResourceScope. 6. ApplicableAgentClasses. 7. PolicyAuthority. Das Expires 4 June 2027 [Page 171] Internet-Draft Safe Migration, Policy Deployment December 2026 8. DeploymentGeneration. 9. EffectiveStatus. 10.2.20.2. AgentEventTraceRecord (C-98.194) Fields may include: 1. TraceID. 2. OperationID. 3. AgentID. 4. TaskID. 5. ToolInterface. 6. RequestedOperation. 7. IdentityContextReference. 8. ResourceStateReference. 9. PolicyConditionReference. 10. ObservedDecision. 11. ObservedOutcome. 12. TraceCompleteness. 10.2.20.3. CounterfactualExecutionRecord (C-98.195) Fields may include: 1. CounterfactualID. 2. TraceID. 3. OldPolicyReference. 4. NewPolicyReference. 5. ReplayStateReference. 6. OldAuthorizationResult. Das Expires 4 June 2027 [Page 172] Internet-Draft Safe Migration, Policy Deployment December 2026 7. NewAuthorizationResult. 8. EvaluationMode. 9. EffectuationStatus. 10. ReplayCompleteness. C-98.196 — DecisionDifferenceRecord Fields may include: 1. DifferenceID. 2. CounterfactualReference. 3. AffectedOperationClass. 4. OldDecision. 5. NewDecision. 6. ChangedApprovalObligations. 7. ChangedResourceScope. 8. ChangedQuantityConstraints. 9. DifferenceClassification. C-98.197 — EffectDependencyRecord Fields may include: 1. DependencyID. 2. PolicyDifferenceReference. 3. ToolInterface. 4. DirectEffectSet. 5. DownstreamEffectSet. 6. ResourceDependencySet. 7. AsyncOperationSet. 8. EffectCriticality. Das Expires 4 June 2027 [Page 173] Internet-Draft Safe Migration, Policy Deployment December 2026 9. ClosureCompleteness. C-98.198 — PolicyChangeImpactRecord Fields may include: 1. ImpactID. 2. PolicyDifferenceReferences. 3. AffectedAgentIdentities. 4. AffectedTaskClasses. 5. ToolInterfaceSet. *6. ResourceDependencySet.* 1. PotentialExternalEffectSet. 2. SharedResourceSet. 3. ImpactGeneration. C-98.199 — DeploymentPartitionRecord Fields may include: 1. PartitionID. 2. AgentExecutionContextSet. 3. TaskClassSet. 4. ResourceDependencyReferences. 5. AssignedPolicyVersion. 6. CanaryEligibility. 7. ObservationRequirements. 8. PartitionGeneration. C-98.200 — CanaryActivationRecord Fields may include: 1. ActivationID. Das Expires 4 June 2027 [Page 174] Internet-Draft Safe Migration, Policy Deployment December 2026 2. GroupID. 3. PreviousPolicyVersion. 4. ProposedPolicyVersion. 5. PolicyBindingGeneration. 6. EnforcementInterfaceSet. 7. ActivationVerificationStatus. 8. ActivationTimeReference. 9. CanaryState. C-98.201 — CanaryOutcomeRecord Fields may include: 1. OutcomeID. *2. GroupID.* *3. OperationID. 4. EffectivePolicyVersion.* 1. ActualAuthorizationDecision. 2. RejectedOperationState. 3. ExternalResourceEffectReference. *8. NativeCompletionStatus.* 1. TaskFailureReference. 2. ObservationCompleteness. C-98.202 — CanaryConsistencyRecord Fields may include: 1. ConsistencyID. 2. GroupID. 3. CounterfactualReference. 4. ObservedOutcomeSet. 5. DecisionMismatchSet. Das Expires 4 June 2027 [Page 175] Internet-Draft Safe Migration, Policy Deployment December 2026 6. UnexpectedEffectSet. 7. TaskFailureClassification. 8. ObservationCoverageResult. 9. ConsistencyOutcome. C-98.203 — PromotionDecisionRecord Fields may include: 1. PromotionID. 2. CurrentStage. 3. ProposedNextStage. 4. ApplicablePolicyVersion. 5. ConsistencyEvaluationReference. 6. ResourceDependencyAssessment. 7. PromotionAuthorization. 8. PromotionOutcome. 9. PromotionGeneration. C-98.204 — RollbackRecord Fields may include: 1. RollbackID. *2. AffectedGroup. 3. TriggeringDiscrepancy.* 1. ReplacementPolicyVersion. 2. RestoredPolicyVersion. 3. EffectiveRestorationStatus. 4. CompletedOperationReferences. 5. PendingOperationReferences. 6. IndeterminateOutcomeReferences. Das Expires 4 June 2027 [Page 176] Internet-Draft Safe Migration, Policy Deployment December 2026 7. RemediationRequirements. 8. RollbackGeneration. C-98.205 — PolicyDeploymentAuditRecord Fields may include: 1. AuditID. 2. OldAndNewPolicyReferences. 3. CounterfactualEvaluationReferences. 4. DecisionDifferenceReferences. 5. EffectImpactReferences. 6. DeploymentPartitionReferences. 7. CanaryOutcomeReferences. 8. ConsistencyEvaluationReferences. 9. PromotionDecisionReferences. 10. RollbackAndEffectReconciliationReferences. PART XX — ENGINEERING VERIFICATION TESTS C-98.206 — Proposed Test Matrix The following are proposed engineering tests, not reports of experiments already performed. Test Condition T1 Current policy registered T2 Proposed replacement submitted T3 Unauthorized source requests activation T4 Policy syntax invalid T5 Policy syntax valid but scope expanded Expected result Effective version identified Proposal version recorded Denied Rejected Effect analysis still performed +=====+===================================+=======================+ | T6 | Historical trace complete | Replay eligible | +=====+===================================+=======================+ | T7 | Historical identity state missing | Replay incomplete | +-----+-----------------------------------+-----------------------+ | T8 | Historical resource state stale | State basis validated | Das Expires 4 June 2027 [Page 177] Internet-Draft Safe Migration, Policy Deployment December 2026 +-----+-----------------------------------+-----------------------+ | T9 | Time-dependent policy evaluated | Correct replay time | | | historically | applied | +-----+-----------------------------------+-----------------------+ | T10 | Synthetic boundary request | Non-effectuating | | | | evaluation | +-----+-----------------------------------+-----------------------+ | T11 | Historical payment request | No second payment | | | replayed | | +-----+-----------------------------------+-----------------------+ | T12 | Policy evaluation invokes effect- | Hook isolated or | | | capable hook | simulated | +-----+-----------------------------------+-----------------------+ | T13 | P₀ and P₁ both deny | Unchanged decision | +-----+-----------------------------------+-----------------------+ | T14 | P₀ denies and P₁ allows | Permissive difference | +-----+-----------------------------------+-----------------------+ | T15 | P₀ allows and P₁ denies | Restrictive | | | | difference | +-----+-----------------------------------+-----------------------+ | T16 | Human approval removed | Obligation difference | +-----+-----------------------------------+-----------------------+ | T17 | Resource scope broadened | Scope expansion | | | | detected | +-----+-----------------------------------+-----------------------+ | T18 | Transaction quantity limit | Changed limit | | | increased | recorded | +-----+-----------------------------------+-----------------------+ | T19 | Tool restriction changed | Tool-class difference | +-----+-----------------------------------+-----------------------+ | T20 | New direct mutation enabled | Effect impact | | | | recorded | +-----+-----------------------------------+-----------------------+ | T21 | New webhook consequence | Indirect effect | | | | identified | +-----+-----------------------------------+-----------------------+ | T22 | Triggered database write | Resource dependency | | | | captured | +-----+-----------------------------------+-----------------------+ | T23 | Async worker introduced | Deferred effect | | | | dependency | +-----+-----------------------------------+-----------------------+ | T24 | Downstream effect unknown | Impact incomplete | +-----+-----------------------------------+-----------------------+ | T25 | Agent contexts mapped to changed | Affected set | | | policy | identified | +-----+-----------------------------------+-----------------------+ | T26 | Canary and control share resource | Dependency constraint | Das Expires 4 June 2027 [Page 178] Internet-Draft Safe Migration, Policy Deployment December 2026 | | | recognized | +-----+-----------------------------------+-----------------------+ | T27 | Independent canary group | Selective deployment | | | | eligible | +-----+-----------------------------------+-----------------------+ | T28 | Active task spans group boundary | Policy binding | | | | maintained | +-----+-----------------------------------+-----------------------+ | T29 | Queue worker retains stale policy | Revalidated or denied | | | generation | | +-----+-----------------------------------+-----------------------+ | T30 | P₁ activated for selected group | Canary policy applied | +-----+-----------------------------------+-----------------------+ | T31 | Other group remains on P₀ | Previous policy | | | | preserved | +-----+-----------------------------------+-----------------------+ Table 20 T32 One gateway fails to activate P₁ T33 Old policy cache used unexpectedly T34 Live canary operation allowed T35 Live canary operation denied T36 Canary resource effect completes T37 Canary operation remains pending T38 Canary task failure occurs T39 Live decision matches counterfactual T40 Live decision contradicts counterfactual T41 Live effect exceeds predicted impact T42 No alerts, observation channel missing T43 Canary operation not covered by replay Activation incomplete Enforcement mismatch identified Decision recorded Rejection recorded Native completion evidence recorded Not classified as completed Failure classification Consistency evaluated Mismatch raised Unexpected effect Insufficient evidence Coverage limitation recorded T44 Canary variation due to changed resource state State difference distinguished T45 Critical discrepancy discovered T46 Accepted observation conditions T47 Next stage introduces shared dependencies T48 P₁ modified during rollout T49 Successful canary and valid promotion T50 Promotion criteria not met T51 Critical effect discrepancy triggers rollback T52 P₀ restored at all required gateways T53 P₀ restoration partially fails T54 Completed export under P₁ T55 Completed payment under P₁ T56 P₁-issued credential remains active Das Expires 4 June 2027 [Page 179] Internet-Draft Safe Migration, Policy Deployment December 2026 Promotion blocked Promotion eligibility evaluated Impact rechecked Retesting triggered where material Next group eligible Stage held Transition initiated Restoration verified Rollback incomplete Historical disclosure retained Payment not falsely reversed Separate revocation requirement identified T57 Pending operation after rollback T58 Cancellation request without confirmation T59 Operation outcome unknown T60 Compensating resource change performed T61 Irreversible action completed T62 Stale P₁ operation submitted after rollback T63 Rollback coordinator restarts Completed operation appears in recovery T64 queue Revalidated, held, or canceled Pending status retained Indeterminate state Original and compensation recorded Not treated as undone Version control applies Current policy and effect state recovered No unauthorized replay T65 Canaried task migrates to another worker T66 Shared cross-tenant resource affected Canary generates asynchronous effect after T67 synchronous completion T68 Policy decision trace tampered with Successful rollback without resource-effect T69 reconciliation T70 Full deployment audit Version binding revalidated Impact scope evaluated Downstream status tracked Integrity failure Completion not falsely declared Prediction, rollout, effects, promotion, rollback linked A practical verification environment should include: Das Expires 4 June 2027 [Page 180] Internet-Draft Safe Migration, Policy Deployment December 2026 1. At least two policy versions. 2. A versioned policy management service. 3. An agent-event trace repository. 4. Recorded identity and resource contexts. 5. A non-effectuating policy replay environment. 6. A structured decision-difference analyzer. 7. A downstream effect dependency model. 8. At least two deployment groups. 9. Shared resource dependencies between selected groups. 10. Version-bound authorization enforcement. 11. Live canary execution. 12. Native operation completion evidence. 13. A consistency evaluator. 14. Defined promotion criteria. 15. A rollback controller. 16. Completed and pending effect reconciliation. 17. At least one irreversible or non-retractable effect scenario. 18. Distributed policy propagation failure testing. The test harness should establish that counterfactual evaluation does not reproduce actual operations and that rollback preserves knowledge of consequential effects already completed under the replacement policy. 10.2.21. Phosita Implementation Requirements 10.2.21.1. Implementation Checklist (C-98.208) A person having ordinary skill in the art implementing the profile identifies: Das Expires 4 June 2027 [Page 181] Internet-Draft Safe Migration, Policy Deployment December 2026 1. The current agent-security policy. 2. The proposed replacement policy. 3. The policy version representation. 4. The policy authority model. 5. The policy enforcement interfaces. 6. The effective deployment generation. 7. The historical event trace schema. 8. The operation-request identity scheme. 9. The historical identity-context representation. 10. The historical resource-state representation. 11. The policy-condition snapshot method. 12. The trace completeness evaluator. 13. The synthetic trace generator. 14. The side-effect-suppressed replay environment. 15. The old-policy evaluator. 16. The proposed-policy evaluator. 17. The structured authorization decision format. 18. The decision-difference taxonomy. 19. The approval obligation comparison. 20. The resource scope comparison. 21. The tool restriction comparison. 22. The effect-dependency registry. 23. The direct effect classification. 24. The indirect effect classification. Das Expires 4 June 2027 [Page 182] Internet-Draft Safe Migration, Policy Deployment December 2026 25. The asynchronous operation dependency model. 26. The impact representation schema. 27. The agent and task impact mapping. 28. The resource-dependency graph. 29. The deployment partition generator. 30. The canary group identity scheme. 31. The group-to-policy binding mechanism. 32. The native enforcement generation checks. 33. The policy propagation verification. 34. The canary observation plan. 35. The live authorization trace collector. 36. The rejected-operation collector. 37. The native resource completion observer. 38. The task-failure observer. 39. The canary consistency evaluator. 40. The counterfactual coverage evaluator. 41. The unexpected effect classifier. 42. The promotion eligibility rules. 43. The staged promotion controller. 44. The promotion-generation mechanism. 45. The rollback trigger rules. 46. The prior-policy restoration mechanism. 47. The effective rollback verifier. 48. The completed external effect registry. Das Expires 4 June 2027 [Page 183] Internet-Draft Safe Migration, Policy Deployment December 2026 49. The pending-operation registry. 50. The indeterminate-outcome procedure. 51. The operation cancellation verification. 52. The compensating action policy. 53. The immutable historical effect representation. 54. The rollback reconciliation procedure. 55. The deployment audit. 56. The test cases for changed authorization decisions. 57. The test cases for side-effect-free replay. 58. The test cases for effect-dependent partitioning. 59. The test cases for selective canary activation. 60. The test cases for staged promotion. 61. The test cases for distributed policy inconsistency. 62. The test cases for irreversible effects after rollback. 63. The test cases for pending work after rollback. 64. The test cases for accurate effect-preserving recovery. A system that merely validates a replacement policy, installs it on a small percentage of servers, and restores a previous configuration if errors occur does not necessarily implement the complete effect- sensitive counterfactual and rollback architecture described here. The implementation must connect changed authorization decisions to affected operation effects and preserve the distinction between restoring policy configuration and reconciling completed resource effects. 10.2.21.2. Technical Effect (C-98.209) The disclosed architecture provides a controlled process for evaluating and deploying changes to security policies governing autonomous artificial-intelligence agents. Das Expires 4 June 2027 [Page 184] Internet-Draft Safe Migration, Policy Deployment December 2026 It uses historical or simulated operation requests to identify how a proposed policy changes authorization outcomes before production activation. It associates such differences with actual and potential resource- effect dependencies. It partitions affected execution contexts according to operation impact and shared resource constraints. It selectively activates the replacement policy for a canary group while other groups retain the previous policy. It observes actual authorization decisions, rejected operations, resource effects, and task failures. It compares the observations with counterfactual expectations and uses the result to control staged promotion, narrowing, or rollback. When rollback occurs, it restores the previous policy configuration while separately recording completed, pending, and indeterminate operations created while the proposed policy was active. The technical effect is improved control of policy-deployment consequences beyond ordinary configuration validation or percentage- based rollout. Its guarantees depend upon the fidelity of replay inputs, completeness of the effect dependency model, reliability of native enforcement, sufficiency of canary observation, and authoritative reconciliation of external operations. 10.2.21.3. Technical Summary (C-98.210) This profile discloses a computer-implemented system for counterfactual evaluation and effect-sensitive canary deployment of artificial-intelligence-agent security policies. A Policy Management Service maintains a currently enforced policy and a proposed replacement policy. An Agent-Event Trace Repository stores or reconstructs operation requests, identity contexts, resource states, applicable policy conditions, and observed outcomes. A Counterfactual Policy Execution Mechanism evaluates selected historical or simulated operations under both policies without reproducing externally consequential operations. Das Expires 4 June 2027 [Page 185] Internet-Draft Safe Migration, Policy Deployment December 2026 A Decision-Difference Analyzer identifies changed authorization, restriction, escalation, approval, and denial outcomes. An Effect-Dependency Analyzer determines downstream resource-effect classes potentially enabled, suppressed, or otherwise changed by the new policy. A Policy-Change Impact Representation associates those differences with agent identities, task classes, tools, resources, and external effect dependencies. A Deployment-Partition Generator derives controlled groups according to the impact representation and relevant resource constraints. A Canary-Policy Deployment Mechanism selectively activates the proposed policy for an eligible group while preserving the currently enforced policy for other groups. An Outcome-Observation Mechanism records live authorization decisions, rejected operations, completed resource effects, pending operations, and task failures. A Consistency Evaluator compares those observations with the counterfactual evaluation and determines whether the rollout should continue, narrow, pause, or roll back. A Staged Promotion Controller expands deployment only according to the defined acceptance conditions. A Policy Rollback Controller restores a previous policy version while preserving the historical record and current consequences of resource operations already completed under the replacement policy. The architecture thereby provides controlled deployment based upon policy-decision changes and their actual operational consequences, without equating policy rollback with reversal of external resource effects. 11. Industry Mapping (Informative) This mapping is AI-generated. It describes where the mechanism could be placed and does not state that any company has adopted, reviewed, endorsed or been licensed under it, nor that any product infringes. Readers MUST cross-check against the original public filings before drawing any conclusion. Model gateways and routers (Amazon Bedrock, Google Vertex AI, Azure AI Foundry, OpenRouter-style routers) Das Expires 4 June 2027 [Page 186] Internet-Draft Safe Migration, Policy Deployment December 2026 Operation: A router switches a long-running agent from one model to another. Where the gate sits: A migration controller sits next to the router, reading the operation ledger and running the candidate in a suppressed environment. What is checked: That the target's proposed next operations match the source's authorised continuation, and that pending and indeterminate operations are carried. What is rejected: A cutover where the target would repeat a completed operation or choose a different resource. Why it matters: Model switching is commonly treated as stateless, which makes duplication likely. Progressive delivery and feature-flag platforms (Argo Rollouts, Flagger, LaunchDarkly) Operation: A new security policy is rolled out by percentage. Where the gate sits: A policy deployment controller replaces the traffic splitter's assignment step with an effect-aware partition generator. What is checked: Counterfactual decision differences and effect impact against historical traces, and partition eligibility. What is rejected: A canary partition that includes irreversible or indirectly effectful cases; a promotion without the predicate. Why it matters: Aggregate success rates do not show which individual decisions changed. Policy engines (Open Policy Agent, Cedar, cloud IAM policy simulators) Operation: A policy author proposes a replacement policy. Where the gate sits: A counterfactual evaluator runs old and new policy on traces in non-effectuating mode. What is checked: Decision differences, and for each difference the dependent effects. What is rejected: A change that newly allows an operation with an unsafe indirect effect. Das Expires 4 June 2027 [Page 187] Internet-Draft Safe Migration, Policy Deployment December 2026 Why it matters: Simulators usually report allow or deny and not downstream consequence. Agent platforms from Anthropic, OpenAI, Microsoft and Meta Operation: An agent session fails over to a backup model or provider. Where the gate sits: The platform's tool interposition layer records operations in the evaluation environment before cutover. What is checked: Provider data-transfer restrictions and tool- semantics differences between providers. What is rejected: A target whose tool semantics differ in a way that changes effect. Why it matters: Provider tool formats differ, so equivalence must be evaluated. 12. Conformance and Testing Conformance may be claimed for migration, policy deployment, or both. Testing SHOULD include a seeded divergence and a seeded hidden side effect. * Suppression test: every effect-capable tool in evaluation MUST be recorded, not executed. * Hidden-effect test: a read-looking tool with a side effect MUST be caught or treated as effectful. * Ledger test: a completed operation MUST NOT be proposed again by the target. * Pending test: a pending operation MUST be carried or fenced. * Fence test: the source MUST NOT act after the target activates. * Counterfactual test: replay MUST NOT issue external calls. * Eligibility test: an irreversible case MUST be excluded from canary. * Rollback test: policy rollback MUST NOT be reported as effect rollback. Das Expires 4 June 2027 [Page 188] Internet-Draft Safe Migration, Policy Deployment December 2026 13. Security Considerations This document follows [RFC3552]. The adversary can craft inputs that behave differently in evaluation than in production, and can exploit incomplete traces. A suppressed evaluation can diverge from reality; its result is evidence and not proof, and the profiles bound what is claimed. Snapshots contain sensitive task state and credentials must not be carried into evaluation. * Evaluation-aware behaviour: a model that detects evaluation; mitigate by making recorders indistinguishable where practical and by limiting trust in evaluation. * Cutover race: mitigated by fencing. * Trace poisoning: mitigated by provenance. * Incomplete traces: classified and weighted. * Irreversible effects: excluded from canary. * Data transfer: snapshots obey provider transfer restrictions. 14. Security Considerations Common to the Family This section follows [RFC3552]. Four classes of threat recur across the profiles. First, bypass: an agent reaches an effect through a path that no gate watches. Second, stale authority: a valid authorisation is replayed or used after the facts changed. Third, evidence manipulation: the agent or a compromised component influences the evidence on which the decision rests. Fourth, enforcement-domain compromise: an attacker takes control of the enforcement domain itself. The profiles state which of these they address and which assumptions they need. In particular, the guarantees hold only inside the mediated boundary and only if the protected enforcement domain and the sink are not under the agent's control. A privileged operator able to rewrite every protected record defeats the guarantees unless stronger hardware or organisational controls apply, and this family does not claim otherwise. Das Expires 4 June 2027 [Page 189] Internet-Draft Safe Migration, Policy Deployment December 2026 15. IANA Considerations This document has no IANA actions. 16. Intellectual Property and Relationship to IETF and IRTF Work The author has filed the pending applications identified in Section 3. This is stated for transparency. It is not an IETF IPR disclosure under BCP 79 [RFC8179], and no licence statement is made by this paragraph. The author will make any required IPR disclosure through the IETF process if a document is adopted by a working group. This document is an individual submission. It was prepared with AI- assisted tools from a human-originated specification. It may contain errors. Readers MUST cross-check against the original public filings listed in Section 3 before drawing conclusions. 17. Relationship to Other Documents This document is one of six. It builds on the effect-closure view of the deferred-effect document and on the coverage view of the effect- path document. Remote attestation [RFC9334] can bind the identity of the evaluation environment, but does not address equivalence of behaviour. * [DAS-A1]: Post-Resolution Network Egress Finality and Protected Credential Mediation for AI Agent Sandboxes (draft-das-agent- network-egress-finality-00) * [DAS-A2]: Effect-Path Coverage Verification and Restriction Compilation for AI Agent Sandboxes (draft-das-agent-effect-path- coverage-00) * [DAS-A3]: Deferred-Effect Liability Accounting and Transitive Effect-Closure Admission for AI Agent API Requests (draft-das- agent-deferred-effect-admission-00) * [DAS-A5]: Derived-Memory Provenance Erasure, Non-Revival and Task- Preserving Context Minimization for AI Agents (draft-das-agent- memory-erasure-context-minimization-00) * [DAS-A6]: Post-Effect Causal Remediation and Cross-Agent Effect- Collision Scheduling for AI Agents (draft-das-agent-remediation- collision-scheduling-00) Das Expires 4 June 2027 [Page 190] Internet-Draft Safe Migration, Policy Deployment December 2026 Earlier documents of this family [DAS-SANDBOX], [DAS-DISTRIBUTED] and [DAS-KERNEL] describe the general sandbox, distributed-authority and kernel/hardware layers. This document narrows to one topic and does not replace them. 18. Acknowledgements The author thanks the authors of the public systems, protocols and drafts cited here. Naming a project or company is not an endorsement by, or affiliation with, that project or company. 19. Appendix: Profile Labels and Source Titles The table maps each profile label used in this document to the topic it covers. +=======+=================================================+ | Label | Topic | +=======+=================================================+ | C-91 | Side-Effect-Suppressed Model and Tool Migration | +-------+-------------------------------------------------+ | C-98 | Counterfactual Policy Deployment | +-------+-------------------------------------------------+ Table 21: Profile labels 20. References 20.1. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, 1997, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, 2017, . 20.2. Informative References [ALF-ZENODO] K., D. S., "ALF PCT/IB2026/053385 (copy of filing)", 2026, . Das Expires 4 June 2027 [Page 191] Internet-Draft Safe Migration, Policy Deployment December 2026 [DAS-A1] K., D. S., "Post-Resolution Network Egress Finality and Protected Credential Mediation for AI Agent Sandboxes (draft-das-agent-network-egress-finality-00)", 2026, . [DAS-A2] K., D. S., "Effect-Path Coverage Verification and Restriction Compilation for AI Agent Sandboxes (draft-das- agent-effect-path-coverage-00)", 2026, . [DAS-A3] K., D. S., "Deferred-Effect Liability Accounting and Transitive Effect-Closure Admission for AI Agent API Requests (draft-das-agent-deferred-effect-admission-00)", 2026, . [DAS-A5] K., D. S., "Derived-Memory Provenance Erasure, Non-Revival and Task-Preserving Context Minimization for AI Agents (draft-das-agent-memory-erasure-context-minimization-00)", 2026, . [DAS-A6] K., D. S., "Post-Effect Causal Remediation and Cross-Agent Effect-Collision Scheduling for AI Agents (draft-das- agent-remediation-collision-scheduling-00)", 2026, . [DAS-DISTRIBUTED] K., D. S., "Distributed Agent Authority Finality (draft- das-distributed-agent-authority-finality-00)", 2026, . [DAS-KERNEL] K., D. S., "Kernel and Hardware Execution Finality (draft- das-kernel-hardware-execution-finality-00)", 2026, . [DAS-SANDBOX] K., D. S., "Sandbox, Credential and Egress Finality for AI Agents (draft-das-sandbox-credential-egress-finality-00)", 2026, . Das Expires 4 June 2027 [Page 192] Internet-Draft Safe Migration, Policy Deployment December 2026 [MOTHERSHIP-ZENODO] K., D. S., "DAS Protocols Mothership PCT/IB2026/055615 (copy of filing)", 2026, . [RFC3552] E., R., "Guidelines for Writing RFC Text on Security Considerations", 2026, . [RFC8179] S., B., "Intellectual Property Rights in IETF Technology", 2026, . [RFC8693] M., J., "OAuth 2.0 Token Exchange", 2026, . [RFC9334] H., B., "Remote ATtestation procedureS (RATS) Architecture", 2026, . [RFC9449] D., F., "OAuth 2.0 Demonstrating Proof of Possession (DPoP)", 2026, . [ZENODO-AGENT] K., D. S., "Autonomous AI Agent Security Beyond Sandboxing: Protected Execution-Finality, Independent Validation, Micro-VM Isolation and Hardware-Enforced Control", 2026, . [ZENODO-AGENT-1] K., D. S., "Earlier Zenodo disclosure of the 22 October 2026 filing", 2026, . Appendix A. Frequently Asked Questions (Informative) Why not just replay the chat? Text does not carry operation state. What is side-effect suppression? Replacing effect-capable tools with recorders and isolating credentials and egress. Can a test still be unsafe? Yes, if suppression is incomplete; hence read-looking tools are treated as effectful. What is a canonical effect differential? A comparison of normalised proposed operations of source and target. Das Expires 4 June 2027 [Page 193] Internet-Draft Safe Migration, Policy Deployment December 2026 Why fence the source? To avoid both models acting at once. What about pending operations? They are carried in the registry and not treated as done. What is counterfactual policy evaluation? Running old and new policy on the same historical traces without effects. Why are canaries unsafe? A canary assignment can put an irreversible or high-impact case under an untested policy. Can effects be rolled back? Not always; the rollback invariant is about policy, and effects are handled by remediation. Does this need a trace repository? For policy deployment, yes, with provenance. How does it relate to shadow traffic? Shadow traffic usually suppresses responses; this suppresses effects and compares operations. What is the cost? Extra evaluation compute; bound by sampling. Are company mappings endorsed? No. They are AI-generated placement examples. Where is the full disclosure? At the Zenodo record in the abstract. Author's Address Sangam Kumar Das Independent Balasore Odisha India Phone: +91-9861363532 Email: info@sangamdas.com Das Expires 4 June 2027 [Page 194]