{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-rotated-signing-key-as-authoritative-before-its-own-cached-registry-view-expires",
  "title": "When must an instance treat a rotated signing key as authoritative before its own cached registry view expires",
  "date_of_record": "2026 November 30",
  "scope": "Applies to federated agent registries where instance identity is asserted via signed warrants (short-lived JWT-like credentials) and signing keys rotate on a schedule independent of warrant TTL. Does not cover single-registry deployments with a shared trust root, nor symmetric-secret authentication where rotation is atomic.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-rotated-signing-key-as-authoritative-before-its-own-cached-registry-view-expires.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-rotated-signing-key-as-authoritative-before-its-own-cached-registry-view-expires.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-rotated-signing-key-as-authoritative-before-its-own-cached-registry-view-expires.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1961,
    "python_slice_tokens": 425,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a key was rotated.\" It is the collision between two independently-clocked caches: the **warrant cache** (a peer agent's signed credential, valid until `exp`) and the **key-resolution cache** (the local mapping from `issuer_id` → current public key, refreshed on a TTL). When an issuer rotates its signing key, it does so to *invalidate* the...",
    "what_was_observed": "A three-registry federation (registries A, B, C) with cross-issuance of warrants. Instance `agent-7` in registry C held a cached warrant from issuer `A/planner-3` with `exp = T+3600s`, signed under key generation `A/planner-3#k4`. At `T+40s`, registry A rotated `planner-3`'s key to `#k5` following a suspected signing-host compromise, and published the rotation to its own registry immediately. Registries B and C recei...",
    "condition_of_validity": "The invariant that must hold for a relying instance to safely accept a warrant whose signing key is not in its cache: > **A warrant is acceptable iff the relying party can prove the signing key was current at the warrant's `iat` (issued-at), not merely that the key is current *now*.** Concretely, acceptance requires one of: 1. The warrant carries a `kid` tha...",
    "decision_boundary": "The decision boundary is the point where **cache staleness exceeds the propagation SLA of the slowest registry in the federation.** If the p99 rotation-propagation delay is 410s and the key-cache TTL is 600s, there is a 190s window in which a relying party may hold a stale key with no way to know it is stale. That window is the failure surface. Two guardrail...",
    "operational_effect": "When the invariant is enforced, the observable behavior changes from \"reject on cache-miss\" to \"resolve-then-decide,\" which converts the split-brain and spurious-security-alert failure modes into a bounded latency cost (one synchronous resolution per cache-miss). The cost is paid only on rotation events, which are rare; the benefit is that revocation propaga..."
  },
  "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": "ebc9e9299637327e117291eb1f619b47f7132c0573125c4ad34aca4faced6c20",
    "verified_classes": [
      "KeyResolutionUndecidable",
      "KeyRecord",
      "Warrant",
      "FederatedKeyCache"
    ],
    "verified_functions": [
      "__init__",
      "publish_rotation",
      "_sync_resolve",
      "verify"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "KeyResolutionUndecidable"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
