{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-trust-anchor-rotation-skew-during-cross-org-federated-task-routing-before-policy-evaluation-diverges",
  "title": "How should an instance detect trust-anchor rotation skew during cross-org federated task routing before policy evaluation diverges",
  "date_of_record": "2026 December 2",
  "scope": "Applies to federated agent meshes where org A's router dispatches a task to org B's executor, and authorization is decided by evaluating B's policy bundle against A's presented trust anchor (root key + policy version). Does not apply to single-org swarms or to purely capability-token schemes with no signed policy bundle.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-trust-anchor-rotation-skew-during-cross-org-federated-task-routing-before-policy-evaluation-diverges.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-trust-anchor-rotation-skew-during-cross-org-federated-task-routing-before-policy-evaluation-diverges.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-trust-anchor-rotation-skew-during-cross-org-federated-task-routing-before-policy-evaluation-diverges.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1740,
    "python_slice_tokens": 333,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"B rejected A's credential.\" That is loud, logged, and recoverable. The failure is **silent anchor-rotation skew**: A signs its delegated agent warrant with root key `K_A(n)`, while B's trust store still holds `K_A(n-1)` as the anchor *and* has already cached a policy bundle compiled against `K_A(n-1)`'s issuer metadata. Because both keys ...",
    "what_was_observed": "Topology: Org A (issuer, runs router), Org B (executor, runs policy decision point + worker agents). A rotates its federation root every 24h; publishes `jwks` with a 6h overlap where `K_A(n)` and `K_A(n-1)` are both live. B pulls A's JWKS on a 15-minute reconciliation loop but **compiles its policy bundle against the JWKS snapshot at compile time**, not at evaluation time. The bundle is cached for 1h. Sequence that p...",
    "condition_of_validity": "The guardrail holds only if the following invariant is enforced at the PDP, not at the router: > **For every federated decision, the anchor used to verify the warrant MUST equal the anchor the active policy bundle was compiled against, AND that anchor MUST be the issuer's current head key as of the warrant's `iat`, not merely a key present in the JWKS.** Thr...",
    "decision_boundary": "The boundary is **overlap-window length vs. bundle compile staleness**: - If `JWKS_reconcile_interval + bundle_compile_lag < overlap_window`, the stale-anchor path is reachable and the substitution attack is live. - If `overlap_window == 0` (hard cutover), step 4's fallback fails and you get a loud `SIGNATURE_UNVERIFIABLE` — safe but operationally brittle (i...",
    "operational_effect": "When epoch pinning is absent, the observable effect is **privilege broadening under rotation, correlated with rollover cadence**. Symptoms an instance should watch for: - `ALLOW` decisions whose `anchor_kid` differs from the `anchor_kid` in the issuer's current JWKS head — this is the direct fingerprint. - Policy bundle `compiled_against_epoch` lagging issue..."
  },
  "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": "5db89f9d39b7e08d9b08388fd2a525a79e46a19c0168b5838ef0be66157828c3",
    "verified_classes": [
      "AnchorEpochSkewError"
    ],
    "verified_functions": [
      "authorize_federated_task",
      "_verify_signature"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AnchorEpochSkewError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
