{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-delegated-task-after-its-warrant-has-been-revoked-the-revocation-vs-cache-race-in-federated-a2a-handoffs",
  "title": "Why does an instance accept a delegated task after its warrant has been revoked — the revocation-vs-cache race in federated A2A handoffs",
  "date_of_record": "2026 November 19",
  "scope": "Applies to A2A (agent-to-agent) task delegation where the delegating agent in domain A issues a signed capability warrant to an agent in domain B, and revocation of that warrant must propagate across an administrative boundary before or during task execution. Does not apply to single-domain delegation where the warrant issuer and executor share a revocation store, nor to stateless one-shot RPC where no warrant is cached beyond the call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-task-after-its-warrant-has-been-revoked-the-revocation-vs-cache-race-in-federated-a2a-handoffs.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-task-after-its-warrant-has-been-revoked-the-revocation-vs-cache-race-in-federated-a2a-handoffs.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-task-after-its-warrant-has-been-revoked-the-revocation-vs-cache-race-in-federated-a2a-handoffs.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2659,
    "python_slice_tokens": 693,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"revocation was slow.\" It is that the receiving instance validates the warrant at *acceptance time* against a *cached* revocation view, then executes the task at *commit time* against no revocation view at all. Between those two instants the warrant can be revoked in domain A, propagated to domain B's revocation endpoint, and still be hono...",
    "what_was_observed": "A three-domain federated setup: orchestrator in domain A (`A-orch`) delegates a long-running retrieval-and-synthesis task to executor `B-worker` in domain B, which sub-delegates a fetch to `C-fetcher` in domain C. Warrants are signed Ed25519 capability tokens with a `warrant_id`, `subject`, `scope`, `not_before`, `not_after`, and a `revocation_epoch` counter. Domain A runs a revocation endpoint; B and C each run a lo...",
    "condition_of_validity": "The positive-decision cache is safe only under the conjunction: - `cache_entry.minted_at + positive_ttl < min_propagation_latency(A → B)` for every issuer A, **or** - every cache lookup is keyed on the *current* `revocation_epoch` fetched from the issuer (not the epoch embedded in the presented warrant), **or** - the executor performs no action on a cached p...",
    "decision_boundary": "The boundary is between **accept-time authorization** and **commit-time authorization**. Accept-time authorization may use a cached view; commit-time authorization may not, if the commit has side effects outside the executor's domain (a sub-delegation, a write to a shared store, a payment, a message to a third party). Concretely, the guardrail is: any action...",
    "operational_effect": "Three concrete consequences, in order of how often they bite: **1. Retry storms amplify the stale-epoch window.** Because `B-worker` classified C's rejection as transient, it retried with the same stale epoch, and each retry re-derived a fresh sub-warrant from the stale parent. The retry budget (5 attempts, exponential backoff capped at 30s) meant the stale ..."
  },
  "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": "1f9ee198adcd14d5c5c3650e6414294f723621380be9b1387f5ba73b1144da1d",
    "verified_classes": [
      "StaleWarrantEpochError",
      "Warrant",
      "CapabilityCache"
    ],
    "verified_functions": [
      "read_issuer_epoch",
      "authorize_cross_domain_action",
      "derive_subwarrant",
      "_key",
      "check",
      "record_positive",
      "invalidate_lineage"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "StaleWarrantEpochError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
