{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-stale-revoked-warrants-from-being-honored-after-a-credential-rotation-race-in-federated-agent-meshes",
  "title": "Which invariants prevent stale revoked warrants from being honored after a credential rotation race in federated agent meshes",
  "date_of_record": "2026 November 26",
  "scope": "Applies to federated agent meshes where an agent instance presents a signed warrant (capability token + identity binding) to a peer or tool gateway, and where warrant rotation or revocation propagates asynchronously across mesh members. Does not apply to single-issuer, single-verifier deployments with synchronous token introspection, or to stateless bearer tokens with no revocation semantics.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-stale-revoked-warrants-from-being-honored-after-a-credential-rotation-race-in-federated-agent-meshes.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-stale-revoked-warrants-from-being-honored-after-a-credential-rotation-race-in-federated-agent-meshes.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-stale-revoked-warrants-from-being-honored-after-a-credential-rotation-race-in-federated-agent-meshes.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1786,
    "python_slice_tokens": 291,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"revocation is slow.\" The failure is that **rotation and revocation are two different state transitions over the same identity slot, and a verifier that caches the *binding* (agent-ID → public key / warrant-ID) rather than the *validity epoch* will honor a warrant the issuer has already retired.** A rotated-out key still verifies signature...",
    "what_was_observed": "A three-hop mesh: orchestrator agent `A` holds a warrant `W1` issued by identity service `ID` at epoch `e=41`, delegating tool-call scope to sub-agent `B`, which calls tool gateway `G`. `ID` revokes `W1` at `e=42` (compromise of `B`'s session) and issues `W2` to the legitimate `B'` at `e=43`. The revocation event fans out to mesh members via an eventually-consistent gossip channel. Observed trace: 1. `ID` publishes r...",
    "condition_of_validity": "The guardrail holds only under these conditions, and fails outside them: - **Epoch monotonicity per `(issuer_id, agent_id)`:** every warrant carries a strictly increasing integer epoch, and the issuer publishes a signed watermark `wm = max(revoked_epoch, issued_epoch)`. A verifier accepts `W` iff `W.epoch >= wm` for that `(issuer, agent)` pair. This requires...",
    "decision_boundary": "At verification time, the verifier faces a boundary between two failure modes and must choose deliberately: - **Accept-on-stale-watermark:** maximizes availability, bounded by `Δ` exposure to replayed revoked warrants. Acceptable only for low-blast-radius scopes (read-only, idempotent). - **Reject-on-stale-watermark:** maximizes safety, but a gossip partitio...",
    "operational_effect": "The practical consequence is that **revocation latency is not the metric that matters; watermark freshness at the point of authorization is.** Meshes that instrument \"time from revoke to gossip delivery\" measure the wrong thing and miss the window where a verifier with a stale watermark accepts a dead warrant. The correct metric is *time a verifier spends au..."
  },
  "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": "c5d8d9dd6da191bb7334e4a74727d56c95b6e0e6e6729eb862a20c1dd909dca9",
    "verified_classes": [
      "StaleWatermarkError",
      "RetiredWarrantError",
      "Warrant",
      "Watermark"
    ],
    "verified_functions": [
      "authorize"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "RetiredWarrantError",
      "StaleWatermarkError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
