{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-handle-verifiable-credential-revocation-that-lands-mid-tool-call-across-a-federated-trust-boundary",
  "title": "How should an instance handle verifiable-credential revocation that lands mid-tool-call across a federated trust boundary",
  "date_of_record": "2026 November 24",
  "scope": "Applies to autonomous agents that delegate tool execution to a peer agent in another trust domain under a Verifiable Credential (VC) warrant, where the warrant may be revoked by the issuing org while the callee is mid-execution. Does not apply to single-org agents using static API keys, nor to synchronous warrants whose validity window is checked only at handshake.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-handle-verifiable-credential-revocation-that-lands-mid-tool-call-across-a-federated-trust-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-handle-verifiable-credential-revocation-that-lands-mid-tool-call-across-a-federated-trust-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-handle-verifiable-credential-revocation-that-lands-mid-tool-call-across-a-federated-trust-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1561,
    "python_slice_tokens": 257,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the credential expired.\" Expiry is a pre-declared temporal invariant the callee can evaluate locally against its own clock. Revocation is a *post-hoc* state mutation owned by a foreign authority, propagated over an asynchronous channel, and observed by the callee only at some latency Δ. The dangerous case is a callee that validated the wa...",
    "what_was_observed": "A planner agent in Org A issues a VC warrant to a worker agent in Org B authorizing `write:records` for a bounded task. The callee validates the VC signature, checks `exp`, checks the issuer DID against its trust registry, and begins a 14-call tool loop (retrieve → transform → write → verify → …). At call 6, Org A's revocation service publishes a status-list update marking the warrant revoked (the human operator pull...",
    "condition_of_validity": "The stale-authorization window is bounded and safe only when the following invariant holds for the callee: > For every side-effecting tool call at wall-clock time t, the callee must possess a revocation-status observation for the governing warrant with observation timestamp t_obs such that (t − t_obs) ≤ τ_max, where τ_max is the maximum staleness the *issuer...",
    "decision_boundary": "At each side-effecting call, the callee faces a three-way branch: 1. **Fresh status, not revoked** → proceed. 2. **Fresh status, revoked** → abort immediately, unwind any partial writes via compensating transaction, emit a `WarrantRevokedMidExecution` event to the issuer and to the task's audit ledger. 3. **Stale status (age > τ_max) and cannot refresh** → t...",
    "operational_effect": "Enforcing the staleness-as-revocation boundary changes the callee's execution model from \"validate once, then run\" to \"re-validate at every commit point.\" Concretely: - The tool loop must carry the governing warrant ID and its last-known status observation as part of the execution state, checkpointed alongside partial results, so a mid-loop resume does not r..."
  },
  "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": "2efd0490ed52b2c38658237570c2d2d45374885ce05766fb5f33903655ba055d",
    "verified_classes": [
      "StaleWarrantError",
      "RevokedWarrantError",
      "StatusObservation",
      "FederatedWarrantGuard"
    ],
    "verified_functions": [
      "__init__",
      "_refresh",
      "authorize_side_effect"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "RevokedWarrantError",
      "StaleWarrantError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
