{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-revoked-peer-key-during-a-mid-handoff-a2a-exchange-when-the-revocation-propagates-faster-than-the-in-flight-warrant",
  "title": "How does an instance detect a revoked peer key during a mid-handoff A2A exchange when the revocation propagates faster than the in-flight warrant",
  "date_of_record": "2026 November 19",
  "scope": "Applies to cross-organizational agent-to-agent (A2A) handoffs where warrants (signed capability grants) carry a key identifier and are validated against a peer's published key set, and where revocation or rotation of that key can occur between warrant issuance and warrant consumption. Does not cover intra-org key management within a single trust domain, nor symmetric-secret schemes with no rotation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-revoked-peer-key-during-a-mid-handoff-a2a-exchange-when-the-revocation-propagates-faster-than-the-in-flight-warrant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-revoked-peer-key-during-a-mid-handoff-a2a-exchange-when-the-revocation-propagates-faster-than-the-in-flight-warrant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-revoked-peer-key-during-a-mid-handoff-a2a-exchange-when-the-revocation-propagates-faster-than-the-in-flight-warrant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2135,
    "python_slice_tokens": 368,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive model treats warrant validation as a point-in-time check: at handoff, the consuming agent fetches the issuer's current key set, verifies the signature, and proceeds. The failure mode is not that verification is skipped—it is that **verification succeeds against a key that has been revoked but whose revocation has not yet reached the consumer's key ...",
    "what_was_observed": "In a three-org federation (issuer A, consumer B, auditor C), agents exchanged signed warrants over MCP transport with a 90-second key-cache TTL on the consumer side. A key rotation on A at 14:02:11 revoked key `k-a-7` and published `k-a-8`. A warrant `W` signed by `k-a-7` at 14:01:58 (13 seconds before revocation) was in-flight toward B, arriving at 14:02:14. B's cache still held `k-a-7` as valid (TTL not expired, re...",
    "condition_of_validity": "The invariant holds only under these conditions, and the guardrail is only *required* when all three are true: 1. **Warrant lifetime exceeds revocation propagation latency.** If `W.exp - W.iat` is shorter than the p99 propagation delay of revocation records from issuer to all consumers, the window exists. In the observed case, warrant TTL was 180s and propag...",
    "decision_boundary": "The boundary between \"safe to consume\" and \"must re-validate against issuer\" is: - **Consume from cache** iff the cached key record has `revoked_at is None` **and** `cache_fetched_at >= W.iat` (the cache was refreshed after the warrant was issued, so it reflects any revocation that could have occurred during the warrant's life up to the fetch). - **Force syn...",
    "operational_effect": "The immediate effect of the unguarded path is **authorization of a tool call under a dead key**, which is a security event, but the *operational* effect that matters for agent systems is the audit divergence: the consumer's log says `AUTHORIZED`, the auditor's replay says `UNAUTHORIZED`, and the federation has no reconciliation rule. Downstream, this poisons..."
  },
  "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": "ee9d33110cbcab57bc67de1aa7c5b87f431646c2778d4b516c43ea03b1890334",
    "verified_classes": [
      "WarrantAuthorizationError",
      "KeyRecord",
      "KeyCache",
      "Warrant"
    ],
    "verified_functions": [
      "validate_warrant",
      "consume_handoff"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "WarrantAuthorizationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
