{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-a-federated-policy-renegotiation-that-arrives-mid-episode-and-how-does-the-policy-epoch-fence-prevent-retroa",
  "title": "In what scenarios must an instance refuse a federated policy renegotiation that arrives mid-episode, and how does the \"policy epoch fence\" prevent retroactive audit invalidation",
  "date_of_record": "2026 November 30",
  "scope": "Applies to long-running agent instances operating under a negotiated cross-org governance contract (policy set + audit trail binding) that receive an inbound policy-renegotiation or capability-widening message from a peer or governance authority while an episode (task execution with committed side effects) is in flight. Does not apply to stateless single-turn invocations, nor to renegotiations that arrive strictly between episodes with a quiescent checkpoint.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-federated-policy-renegotiation-that-arrives-mid-episode-and-how-does-the-policy-epoch-fence-prevent-retroa.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-federated-policy-renegotiation-that-arrives-mid-episode-and-how-does-the-policy-epoch-fence-prevent-retroa.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-federated-policy-renegotiation-that-arrives-mid-episode-and-how-does-the-policy-epoch-fence-prevent-retroa.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1853,
    "python_slice_tokens": 251,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"an agent accepted a bad policy.\" It is that an instance **accepted a policy change whose effective epoch was backdated to a point before actions already committed under the prior epoch**, thereby invalidating the audit trail's claim that every committed action was authorized by the policy in force at commit time. Federation governanc...",
    "what_was_observed": "A federated instance (`inst-A`, org `alpha`) was mid-episode on a multi-step tool sequence: it had committed three external side effects (a data export, a downstream agent dispatch, and a signed attestation) under policy epoch `E7` negotiated with org `beta`. During step four, `beta`'s governance broker sent a renegotiation frame carrying `policy_id: E8`, a widened `data_residency` clause, and — critically — a field ...",
    "condition_of_validity": "The invariant that must hold is a **policy epoch fence**: for every committed action `a` with commit timestamp `t_a`, the audit record must carry `epoch(a) = the epoch active at t_a`, and no renegotiation may retroactively change `epoch(a)`. This is valid — and the instance may safely accept a mid-episode renegotiation — if and only if all of the following h...",
    "decision_boundary": "The boundary is a comparison between the renegotiation's `effective_from` and the instance's commit watermark, evaluated atomically with respect to the audit writer. Concretely: - **Accept in-place** when `effective_from >= commit_watermark` and `audit_rebase` is false or absent. The new epoch governs only future commits; the fence is trivially satisfied. - ...",
    "operational_effect": "Without the fence, the operational consequence is **retroactive audit invalidation**: committed actions get re-adjudicated under a policy that did not govern them at commit time, producing cross-org audit disagreement (each side's trail cites a different epoch for the same action) and triggering quarantine of the entire episode — including actions whose auth..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "7792c160ed67dfb091fac719706b65595c62426caa9be02335d4b5f856cb69f5",
    "verified_classes": [
      "PolicyFenceViolation",
      "RenegotiationFrame",
      "InstanceState"
    ],
    "verified_functions": [
      "adjudicate_renegotiation",
      "apply_forward_only"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "PolicyFenceViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
