{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-federated-agent-s-attestation-after-the-trust-anchor-s-key-rotation-window-closes",
  "title": "Why does an instance accept a federated agent's attestation after the trust anchor's key rotation window closes?",
  "date_of_record": "2026 November 23",
  "scope": "Applies to cross-organizational agent federation where a relying party (RP) instance validates a peer agent's attestation bundle against a cached, periodically-refreshed trust anchor (JWKS-style key set) published by the peer's issuing authority. Does not cover single-org internal identity, nor synchronous online introspection where the RP queries the issuer per-request.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-federated-agent-s-attestation-after-the-trust-anchor-s-key-rotation-window-closes.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-federated-agent-s-attestation-after-the-trust-anchor-s-key-rotation-window-closes.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-federated-agent-s-attestation-after-the-trust-anchor-s-key-rotation-window-closes.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2081,
    "python_slice_tokens": 388,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not signature forgery and not clock skew in the naive sense. It is a **rotation-window continuity gap** between three independent timelines that the federation protocol treats as one: 1. **Issuance time (`iat`)** — when the peer agent's attestation was signed. 2. **Anchor validity (`nbf`/`exp` of the signing key in the issuer's JWKS)** — the i...",
    "what_was_observed": "A peer org (`issuer-B`) rotates its agent-signing key on a 24h cadence with a 1h overlap. Its JWKS advertises `next_update` = now + 6h. The relying instance (`rp-A`) caches JWKS with a 12h TTL and a stale-while-revalidate policy: on cache expiry it serves the *last good* document while a background refresh runs, and if the refresh fails (issuer-B behind a flaky egress proxy, common during their maintenance window) it...",
    "condition_of_validity": "The guardrail is a set of *conjunctive* invariants, each of which must be enforced independently because each closes a distinct hole: - **Freshness gate.** Before any verification, assert `now − fetched_at ≤ max_staleness` where `max_staleness` is derived from the issuer's `next_update`, not from a local TTL. If `now > next_update + grace`, the cached docume...",
    "decision_boundary": "The boundary between \"cache is a performance optimization\" and \"cache is a trust-laundering surface\" is exactly the point where the issuer's withdrawal semantics are expressed by *mutation of a document the RP may not re-read*. Formally: - If the issuer's trust model is **append-only** (keys never removed, only expired, and expiry is trusted), then a stale c...",
    "operational_effect": "On the relying instance, the effect is that **a retired key remains a valid admission path for as long as the refresh path stays broken**, and the refresh path is most likely to break precisely during the issuer's maintenance window — which is when rotation happens. The failure is correlated with its own trigger. Two consequences follow: 1. **Blast radius is..."
  },
  "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": "990ebc634a2005f1183c956bf74fc0e4763771e9de051bfc3c416a590d744e3f",
    "verified_classes": [
      "StaleTrustAnchorError",
      "WithdrawnKeyError",
      "CachedAnchor"
    ],
    "verified_functions": [
      "verify_attestation",
      "crypto_verify"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StaleTrustAnchorError",
      "WithdrawnKeyError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
