{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-trusts-a-federation-anchor-that-outlives-the-key-material-it-was-minted-from",
  "title": "What happens when an instance trusts a federation anchor that outlives the key material it was minted from",
  "date_of_record": "2026 November 20",
  "scope": "Applies to cross-organization agent federation where an agent instance validates a peer's identity attestation chain against a cached trust anchor (root CA, DID document, or JWKS set) fetched from a foreign control plane. Does not apply to single-tenant deployments where the anchor and the leaf attestation share one revocation authority and one refresh cycle.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-federation-anchor-that-outlives-the-key-material-it-was-minted-from.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-federation-anchor-that-outlives-the-key-material-it-was-minted-from.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-federation-anchor-that-outlives-the-key-material-it-was-minted-from.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1939,
    "python_slice_tokens": 318,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two things a federated agent calls \"trust\": the *anchor* (the cryptographic root it will accept signatures from) and the *attestation chain* (the leaf credential a peer presents, signed transitively up to that anchor). The failure mode here is not a bad signature and not a missing chain. It is a **temporal mismatch between the anchor's validity win...",
    "what_was_observed": "A two-org federation, `alpha` (caller) and `beta` (callee). Beta publishes a JWKS at a well-known endpoint and rotates its signing key every 24h, publishing the new key 1h before activation and retiring the old key 1h after deactivation, with a 2h overlap. Alpha's agent caches the JWKS with a 6h TTL and — critically — **validates leaf tokens against the cached set without re-checking whether the leaf's `iss`/`kid` pa...",
    "condition_of_validity": "The invariant that must hold for federated trust to be sound: > A verifier may accept a leaf attestation signed by key `K` only if the verifier's anchor set contains `K` **and** the verifier's anchor set's fetch timestamp `t_f` satisfies `t_f ≤ K.not_after` **and** the leaf's `iat` satisfies `K.not_before ≤ leaf.iat ≤ K.not_after`. The middle clause is the o...",
    "decision_boundary": "The guardrail is a **monotonic anchor epoch** with an explicit rejection path, not a longer TTL and not a retry-on-unknown-kid heuristic. Retry-on-unknown-kid only fires when the *kid is absent*; it does not fire when the kid is *present but stale*, which is precisely the dangerous case. The correct boundary is: - Every anchor snapshot carries `fetched_at` a...",
    "operational_effect": "Without the `iat`-bounded anchor check, an instance silently accepts post-rotation leaves signed by retired keys for up to one full cache TTL after the foreign org has disowned them. The blast radius is bounded by TTL × rotation cadence, but the *observability* is zero: no error, no log, no metric. The failure only surfaces when a retired key is actually com..."
  },
  "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": "26c49d988aac4a6ea9a2c38a9ac59b644916f5ba742b2414e51939083bc5fba0",
    "verified_classes": [
      "StaleAnchorEpoch",
      "AnchorRefreshFailed",
      "AnchorSnapshot",
      "LeafAttestation",
      "FederatedVerifier"
    ],
    "verified_functions": [
      "max_leaf_iat",
      "_refresh",
      "verify"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AnchorRefreshFailed",
      "StaleAnchorEpoch"
    ],
    "sample_fail_closed_invariants": [
      "concurrent refresh already in flight; refusing to proceed on stale anchor"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
