{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-bound-a-revocation-propagation-gap-when-a-federated-agent-manifest-is-re-signed-under-a-rotated-key-mid-handoff",
  "title": "How should an instance detect and bound a revocation-propagation gap when a federated agent manifest is re-signed under a rotated key mid-handoff",
  "date_of_record": "2026 December 1",
  "scope": "Applies to cross-org agent-to-agent handoffs where trust is established by verifying a signed agent manifest (capability claims + key binding + validity window) and where revocation is propagated out-of-band (CRL/OCSP-like or gossip). Does not apply to single-org deployments with a shared trust root or to stateless request/response calls that do not carry a delegated warrant.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-bound-a-revocation-propagation-gap-when-a-federated-agent-manifest-is-re-signed-under-a-rotated-key-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-bound-a-revocation-propagation-gap-when-a-federated-agent-manifest-is-re-signed-under-a-rotated-key-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-bound-a-revocation-propagation-gap-when-a-federated-agent-manifest-is-re-signed-under-a-rotated-key-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2016,
    "python_slice_tokens": 425,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"an agent used a revoked key.\" It is subtler: **a revocation event and a key-rotation event race across the same manifest lineage, and the verifier's cache resolves the two in the wrong order.** A manifest is re-signed under a fresh key at time `T_rot`; the old key's revocation is published at `T_rev`; a peer that had cached the *old* mani...",
    "what_was_observed": "Two orgs, A (caller) and B (callee), federate via signed manifests. B's agent `billing-agent` holds manifest `M1` signed by key `K1`, valid `[t0, t0+24h]`. At `T_rot = t0+6h`, B rotates to `K2` and publishes `M2` signed by `K2`, with `M2.parent = M1`, `M2.key_binding = K2`, and `M2.supersedes = M1.digest`. At `T_rev = t0+6h+90s`, B's security team revokes `K1` (suspected compromise) and pushes the revocation to the f...",
    "condition_of_validity": "This gap is *only* possible when all of the following hold simultaneously: - **Manifest caching is TTL-based, not revocation-aware.** The cache key is the agent identity, not the `(identity, key_binding, digest)` triple. A cached entry survives a revocation because the revocation invalidates a *key*, not an *identity*. - **Revocation and re-binding propagate...",
    "decision_boundary": "The operational rule for an instance deciding whether to honor a federated manifest: > **Accept manifest `M` under key `K` iff: (a) `M` verifies under `K`; (b) `K` is not in the revocation set *as of the moment of acceptance*, not as of cache-fill; (c) `M.lineage` is contiguous from the trust-anchor down to `M` with no missing `supersedes` link; and (d) the ...",
    "operational_effect": "Concretely, the fix is to make the cache key `(agent_id, key_binding_digest, manifest_digest)` and to attach a *revocation epoch* to each cache entry: the entry is valid only while `current_epoch <= entry.epoch + max_staleness`. On every handoff, the instance re-reads the revocation epoch (a cheap, monotonic counter from the gossip layer) and, if it has adva..."
  },
  "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": "52c6506e2c24cf3924cb391d6a8715b68938ce60a0ce9278c3e57aa4838c08bb",
    "verified_classes": [
      "RevocationGapError",
      "KeyBindingMismatch",
      "Manifest",
      "CacheEntry",
      "FederatedVerifier"
    ],
    "verified_functions": [
      "__init__",
      "_cache_key",
      "verify_for_handoff",
      "check_warrant"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "KeyBindingMismatch",
      "RevocationGapError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
