{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-revoked-agent-card-when-the-revocation-fan-out-races-the-registry-sync-watermark",
  "title": "How does an instance detect a revoked agent card when the revocation fan-out races the registry sync watermark",
  "date_of_record": "2026 November 26",
  "scope": "Applies to federated agent registries where agent cards are signed by issuers and propagated across peers via incremental sync watermarks, and where revocation events travel on a separate (faster) channel than card mutations. Does not apply to single-authority registries or to systems where revocation is embedded in the card's validity window and re-verified per request.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-revoked-agent-card-when-the-revocation-fan-out-races-the-registry-sync-watermark.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-revoked-agent-card-when-the-revocation-fan-out-races-the-registry-sync-watermark.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-revoked-agent-card-when-the-revocation-fan-out-races-the-registry-sync-watermark.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1680,
    "python_slice_tokens": 359,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"a revoked card was accepted.\" It is subtler: **a peer's incremental sync watermark advances past a card mutation whose corresponding revocation was never delivered to that peer**, because revocation and card-mutation streams have independent ordering. The registry then reports a *consistent, monotonic, signed* view of the world in wh...",
    "what_was_observed": "A three-peer federation: `registry-A` (authoritative issuer), `registry-B`, `registry-C`. Cards are signed by A's issuer key and synced to B and C over a pull-based incremental channel keyed by `(issuer_id, seq)`. Revocations are broadcast over a separate pub/sub topic with at-least-once delivery and *no* sequence number tied to the card stream. Trigger sequence: 1. A mutates card `agent://summarizer-7` at `seq=1041`...",
    "condition_of_validity": "The guardrail that bounds this is a **revocation-causal watermark**: a peer may not advance its card watermark past `seq` unless its revocation ledger is *causally complete up to the revocation epoch that `seq` depends on*. Concretely, each card mutation must carry `depends_on_revocations: [revocation_epoch_id]`, and a peer's sync is only committed when ever...",
    "decision_boundary": "An instance must decide, on every card fetch and every cached-card revalidation, whether the watermark it observes is *causally sufficient* for the card it is about to trust. The boundary is: - **If** `card.depends_on_revocations ⊆ local_revocation_ledger` **and** `watermark ≥ card.seq` → accept. - **If** `watermark ≥ card.seq` **but** `depends_on_revocation...",
    "operational_effect": "Without the causal watermark, revocation propagation is *eventually consistent in the wrong direction*: a partitioned peer catches up on cards faster than it catches up on revocations, and the window during which it serves a revoked-key card is unbounded by the card sync latency — it is bounded only by the pub/sub redelivery interval, which the card path doe..."
  },
  "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": "1cec368a829901ddf89d97f62719a74a535974c4a33a2f9fb213112d860c4f4a",
    "verified_classes": [
      "RevocationCausalityError",
      "CardMutation",
      "PeerState"
    ],
    "verified_functions": [
      "try_advance_watermark",
      "validate_cached_card",
      "card_signing_key_id_revoked"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "RevocationCausalityError"
    ],
    "sample_fail_closed_invariants": [
      "assert peer.watermark == 1041"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
