{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-capability-attestation-replay-across-federated-trust-boundaries-when-warrant-caches-outlive-their-issuing-org-s-revocation-ep",
  "title": "Which invariants prevent capability-attestation replay across federated trust boundaries when warrant caches outlive their issuing org's revocation epoch",
  "date_of_record": "2026 November 24",
  "scope": "Applies to cross-organization agent federations where an agent in org A invokes a tool-bearing agent in org B under a delegated capability warrant (signed scope grant), and where either side caches attestation verdicts to amortize verification cost. Does not apply to single-org MCP tool calls with no cross-trust boundary, nor to stateless one-shot invocations where no verdict is cached.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-attestation-replay-across-federated-trust-boundaries-when-warrant-caches-outlive-their-issuing-org-s-revocation-ep.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-attestation-replay-across-federated-trust-boundaries-when-warrant-caches-outlive-their-issuing-org-s-revocation-ep.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-attestation-replay-across-federated-trust-boundaries-when-warrant-caches-outlive-their-issuing-org-s-revocation-ep.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1741,
    "python_slice_tokens": 378,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a forged warrant gets accepted.\" Signature verification on the warrant itself is usually correct. The failure is that a *cached attestation verdict* — the boolean \"this peer is authorized for scope S\" — is treated as a property of the peer, when it is actually a property of the tuple `(peer, issuer, scope, revocation_epoch)`. When org B's...",
    "what_was_observed": "A three-org federation: `alpha` (orchestrator agent), `beta` (tool-bearing agent exposing a `settle_payment` capability), `gamma` (auditor). `alpha` invokes `beta` under a warrant issued by `beta`'s authority service. `alpha` caches the verdict `(beta, settle_payment, valid)` with TTL = warrant lifetime = 1h. At T+14m, `beta`'s security team revokes a delegated sub-warrant because a credential on the sub-agent host l...",
    "condition_of_validity": "The invariant that bounds this is: **a cached positive attestation verdict is only sound if the cache key includes the issuer's current revocation epoch, and the cache is invalidated on epoch advance.** Absent epoch in the key, the verdict is a function of stale state and replay is possible for `min(cache_TTL, warrant_lifetime) − revocation_propagation_laten...",
    "decision_boundary": "The operational choice is between three postures, and the boundary is the relationship between `cache_TTL` and `max_acceptable_revocation_lag`: - **TTL ≤ revocation push latency:** sound with lazy revocation. Verdicts are never older than the revocation signal can arrive. - **TTL > push latency AND push invalidation implemented:** sound, provided the push is...",
    "operational_effect": "When the invariant is violated, three effects compound: 1. **Replay window:** revoked capabilities remain exercisable for up to `cache_TTL` after revocation, bounded below by propagation latency. For payment/settlement scopes this is a direct financial exposure. 2. **Audit divergence:** caller and callee logs disagree on authorization outcome for the same ca..."
  },
  "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": "ca06f27f5bb34cbc431a3162930480e866606e647db804dbd13b6ee8711f3c58",
    "verified_classes": [
      "RevocationEpochDesync",
      "Verdict",
      "AttestationCache",
      "FederationGateway"
    ],
    "verified_functions": [
      "is_expired",
      "__init__",
      "put",
      "get",
      "__init__",
      "observe_epoch",
      "authorize"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "RevocationEpochDesync"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
