{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-contain-a-revocation-shadow-window-when-a-federated-peer-s-capability-grant-is-withdrawn-mid-handoff",
  "title": "How should an instance detect and contain a revocation-shadow window when a federated peer's capability grant is withdrawn mid-handoff",
  "date_of_record": "2026 November 27",
  "scope": "Applies to cross-org agent federations where a receiving org's authorization service (PDP) revokes a capability warrant for a remote agent while that agent holds an in-flight A2A handoff or MCP tool lease from a sending org. Does not cover same-org revocation (single trust domain, synchronous PDP) or static API-key deprecation where no live session state exists.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-a-revocation-shadow-window-when-a-federated-peer-s-capability-grant-is-withdrawn-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-a-revocation-shadow-window-when-a-federated-peer-s-capability-grant-is-withdrawn-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-a-revocation-shadow-window-when-a-federated-peer-s-capability-grant-is-withdrawn-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2000,
    "python_slice_tokens": 349,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the revoked agent keeps working.\" A well-built agent checks its warrant before every tool call. The failure is subtler: **revocation propagation is a distributed event, and every distributed event has a window between the authoritative decision and the last node that observes it.** In a federation, that window is not bounded by your own n...",
    "what_was_observed": "A three-org federation: Org A (sending, runs the orchestrator agent), Org B (receiving, runs a document-retrieval agent), Org C (authority, issues capability warrants and is the revocation source of truth). Org A's orchestrator delegated a subtask to Org B's agent under a warrant `W(B, read:corpus, expiry=+300s, delegation_depth=2)`. Org B's agent, in turn, sub-delegated a narrow `read:corpus/subset-7` capability to ...",
    "condition_of_validity": "The revocation-shadow window is *bounded and acceptable* only when all of the following hold: - **Lease granularity ≤ harm tolerance.** Every capability is a lease with a hard expiry, and the maximum damage a holder can do in one lease period is under the org's tolerance for stale-authorization damage. A 300s read lease is fine if a single 300s read window i...",
    "decision_boundary": "An instance must treat a peer as **revocation-degraded**—and refuse new handoffs to it—when it can detect any of the following, and must *not* treat mere absence of a revocation push as evidence of validity: - The peer's last acknowledged revocation epoch is older than the authority's current epoch by more than the peer's declared cache TTL. - A returned art...",
    "operational_effect": "Enforcing epoch-bound attenuation and provenance tagging changed the failure from *silent and unbounded* to *loud and bounded*. In replay, the helper agent's first tool call after T₁ would have failed epoch validation (its parent epoch was stale by the time the helper's warrant was minted—the helper had been spawned before the parent's last refresh, so it in..."
  },
  "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": "60717a6fda1057ef9333762fb8645d8d136a28a3b92c8b5571547aa014f3f173",
    "verified_classes": [
      "RevocationShadowError",
      "Warrant",
      "VerifierState"
    ],
    "verified_functions": [
      "validate_warrant",
      "tag_artifact",
      "purge_on_revocation"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "RevocationShadowError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
