{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-its-aaif-credential-was-revoked-mid-handoff-when-the-revocation-event-and-the-in-flight-handoff-cross-on-the-wire",
  "title": "How does an instance detect that its AAIF credential was revoked mid-handoff when the revocation event and the in-flight handoff cross on the wire",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agent meshes using AAIF (Agent Authorization & Identity Framework) bearer warrants with short TTLs, where a warrant-issuing authority (WIA) propagates revocation events to relying parties out-of-band from the handoff channel. Does not apply to meshes that bind every handoff to a synchronous online introspection check against the WIA (those fail closed by construction), nor to stateless single-shot invocations with no delegated sub-warrant chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-aaif-credential-was-revoked-mid-handoff-when-the-revocation-event-and-the-in-flight-handoff-cross-on-the-wire.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-aaif-credential-was-revoked-mid-handoff-when-the-revocation-event-and-the-in-flight-handoff-cross-on-the-wire.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-aaif-credential-was-revoked-mid-handoff-when-the-revocation-event-and-the-in-flight-handoff-cross-on-the-wire.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2178,
    "python_slice_tokens": 402,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"revoked credential gets used.\" That is a coarse, well-understood class of bug handled by TTLs and introspection. The boundary failure is subtler: **a revocation event and an in-flight handoff cross on the wire, and the receiving instance cannot distinguish \"not yet revoked\" from \"revoked but the revocation notice has not arrived.\"** ...",
    "what_was_observed": "A three-agent pipeline: `planner` (holds root warrant `W_root`, TTL 300s) delegates a sub-warrant `W_sub` (TTL 60s, scope `tool:db:read`) to `executor` via an A2A handoff. `executor` then attempts to pass a further-narrowed `W_sub2` to `summarizer`. Mid-pipeline, the WIA revoked `W_root` at `t=0` because the planner's host was flagged by an anomaly detector. Trace as reconstructed from mesh logs: - `t=-0.4s`: `planne...",
    "condition_of_validity": "The guardrail holds only under these conditions, and fails outside them: - **Revocation must be chain-propagating by validation, not by inheritance.** A warrant's authorization is the AND over its full parent chain's revocation status at validation time. A revoked ancestor invalidates all descendants regardless of the descendant's own status. Validators MUST...",
    "decision_boundary": "The decision boundary is the choice between **fail-closed introspection** and **bounded-uncertainty acceptance**, and it must be made per-action, not per-warrant: - If the action is **terminal and cheap to reverse** (read-only, idempotent, side-effect-free), accept under bounded uncertainty: `now - last_seen_epoch < P_max`. - If the action is **terminal and ...",
    "operational_effect": "The practical consequence is that AAIF meshes must expose **revocation freshness as a first-class, queryable property of every instance**, not a hidden internal of the listener. Concretely: - Every instance publishes `last_seen_epoch` and `P_max` in its handoff frames and health endpoints. - Every validator runs a **chain walk** before accepting, not a leaf ..."
  },
  "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": "c4660cabdcf26a218768a0329d919db185555af5d4b0421178327ae8ff4ceae5",
    "verified_classes": [
      "RevocationShadowError",
      "Warrant",
      "RevocationView"
    ],
    "verified_functions": [
      "validate_for_extension",
      "reconcile_on_reconnect",
      "age",
      "is_fresh"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "RevocationShadowError"
    ],
    "sample_fail_closed_invariants": [
      "WIA does not support since_epoch replay; cannot reconcile"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
