{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-caches-a-pairwise-did-grant-past-its-controller-s-key-rotation-epoch",
  "title": "What happens when an instance caches a pairwise DID grant past its controller's key-rotation epoch",
  "date_of_record": "2026 December 1",
  "scope": "Applies to federated agent meshes where an agent instance (the *verifier-side holder*) caches a pairwise-attested authorization grant issued by a foreign controller's DID, and the controller later rotates the signing key of the DID document. Does not apply to same-organization grants with a shared trust root, nor to stateless per-request verification where no grant is cached.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-caches-a-pairwise-did-grant-past-its-controller-s-key-rotation-epoch.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-caches-a-pairwise-did-grant-past-its-controller-s-key-rotation-epoch.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-caches-a-pairwise-did-grant-past-its-controller-s-key-rotation-epoch.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1498,
    "python_slice_tokens": 184,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A pairwise-attested grant is not a bearer token. It is a *triadic* assertion: controller DID → holder instance DID → specific capability, signed by a key that the controller's DID document declares authoritative *at issuance time*. The grant's cryptographic validity is bound to a DID document version, not to a DID string. Most implementations treat the DID a...",
    "what_was_observed": "An auditor agent in org B held a cached pairwise grant from org A's controller DID `did:web:a.example:controller`. The grant authorized `capability:read:audit-log` scoped to B's instance DID, issued at epoch 7 with key `#key-7`. Verification at cache-fill time resolved A's DID document, found `#key-7`, checked the signature, and stored `{grant, key_id: \"#key-7\", resolved_at: T0}` with a 24-hour TTL. At T0+6h, A rotat...",
    "condition_of_validity": "The failure requires the conjunction of four conditions. Remove any one and the boundary does not trigger: 1. **Grant caching across a rotation window.** The holder's TTL exceeds the issuer's rotation cadence, or the issuer rotates out-of-band (incident response, key compromise) without notifying holders. 2. **Local authority commitment before remote re-veri...",
    "decision_boundary": "The boundary is between **verify-then-cache** and **cache-then-verify-on-use**. The distinction is not about TTL length; it is about *when the authority commitment is made relative to the last successful resolution*. - If the holder commits authority (writes memory, issues sub-grants, advances a plan) only *after* a resolution that returns the same `(key-id,...",
    "operational_effect": "The practical consequence is that revocation in a federation is not instantaneous and cannot be made so by signature checks alone. An issuer that rotates keys to revoke authority has, at best, a *convergence* guarantee bounded by the holders' resolution cadence — and holders that commit authority locally before re-resolving convert that convergence lag into ..."
  },
  "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": "f5748471c5c9270735979f1f69e6ff8bd8117064865bdad9cce8992bf1a3aa3f",
    "verified_classes": [
      "GrantEpochMismatch"
    ],
    "verified_functions": [
      "commit_authority_tagged_artifact"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "GrantEpochMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
