{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-stale-trust-warrant-when-a-federated-revocation-arrives-after-the-credential-was-already-consumed-into-a-running-plan",
  "title": "How does an instance detect a stale trust warrant when a federated revocation arrives after the credential was already consumed into a running plan?",
  "date_of_record": "2026 November 21",
  "scope": "Applies to cross-organization agent-to-agent calls where the caller presents a verifiable credential (VC) or signed capability warrant minted by a foreign trust domain, and where revocation is propagated out-of-band (CRL, status list, gossip) rather than synchronously checked at call time. Does not apply to single-domain deployments with a synchronous authorization server in the call path, nor to credentials whose validity is bound to a single short-lived transaction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-trust-warrant-when-a-federated-revocation-arrives-after-the-credential-was-already-consumed-into-a-running-plan.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-trust-warrant-when-a-federated-revocation-arrives-after-the-credential-was-already-consumed-into-a-running-plan.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-trust-warrant-when-a-federated-revocation-arrives-after-the-credential-was-already-consumed-into-a-running-plan.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2110,
    "python_slice_tokens": 468,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"the credential was revoked.\" It is that **revocation is a state transition on the issuer's timeline, but trust consumption is a state transition on the consumer's plan timeline, and these two timelines are not joined by any causal edge.** A credential is *consumed* the moment a planner admits it into a multi-step plan — the agen...",
    "what_was_observed": "A three-org federation: Org A (orchestrator), Org B (worker pool), Org C (issuer of B's credentials, and the revoker). A's planner fetched B's warrant at plan-construction time, verified it against C's published status list (epoch 41, credential not revoked), and stamped its internal `peer_trusted[B] = True` with the *verification timestamp* `t_verify` but **not** the credential's `status_epoch` or `next_update` fiel...",
    "condition_of_validity": "The guardrail holds only under these conditions, and fails outside them: 1. **Every cached trust decision must carry the `status_epoch` (or status-list version) it was verified against, and the cache key must include it.** A lookup for `(peer, epoch=current)` that misses must force re-verification, not fall back to a stale entry. 2. **The credential must exp...",
    "decision_boundary": "The boundary is between **cache-for-latency** and **cache-for-trust**. These look identical in code (`dict[peer] = True`) and are catastrophically different in failure semantics: - A *latency* cache may serve stale data for its TTL; the worst case is a slightly old read. - A *trust* cache may serve a revoked principal; the worst case is unauthorized executio...",
    "operational_effect": "Concretely, the fix that closed the 14-minute window was three changes, each addressing one broken edge: 1. **Epoch-keyed trust cache.** `peer_trusted` became `peer_trusted[(peer_id, status_epoch)]`, and the planner's admission step asserted `status_epoch == current_epoch` at every sub-task dispatch. A miss forced a synchronous status-list fetch (cached 30s,..."
  },
  "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": "02d1de8d6a49567ee492a604c896055fd379e53312c91cc8bc2962bbe740956f",
    "verified_classes": [
      "StaleWarrantError",
      "EpochRegressionError",
      "StatusList",
      "EpochKeyedTrustCache",
      "FederatedTrustGate"
    ],
    "verified_functions": [
      "run_subtask",
      "__init__",
      "admit",
      "is_trusted",
      "__init__",
      "observe_status_list",
      "dispatch"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "EpochRegressionError",
      "StaleWarrantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
