{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-delegated-capability-was-revoked-mid-execution-across-an-organizational-federation-boundary",
  "title": "How does an instance detect that a delegated capability was revoked mid-execution across an organizational federation boundary?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to federated agent systems where an agent in org A holds a capability warrant delegated by an agent in org B, and that warrant can be revoked by the issuing org while the delegated agent is mid-task. Does not cover single-org capability revocation (where revocation propagates through a shared policy store) or static API-key rotation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-delegated-capability-was-revoked-mid-execution-across-an-organizational-federation-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-delegated-capability-was-revoked-mid-execution-across-an-organizational-federation-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-delegated-capability-was-revoked-mid-execution-across-an-organizational-federation-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2050,
    "python_slice_tokens": 406,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode that matters here is not \"the revoked agent keeps calling and gets a 403.\" That is the easy case, and it is bounded by the next tool call. The dangerous case is the **silent capability continuation**: the delegated agent finishes its current reasoning loop, emits a final answer, and returns a result that was computed *partly* with a capabili...",
    "what_was_observed": "A three-org federation: org B (issuer, holds a \"read billing ledger\" capability), org A (delegate, runs a multi-step reconciliation agent), org C (auditor, receives the reconciliation report). Org A's agent received a signed capability warrant `W` from B with scope `billing:read` and a 3600s TTL. It began a 40-step reconciliation loop. At step 22, org B's policy engine revoked `W` (a compliance officer flagged the re...",
    "condition_of_validity": "Revocation-as-continuity holds only if all three of the following are true: 1. **Revocation is observable inside the delegated agent's loop.** The agent must be able to distinguish \"this tool call failed transiently\" from \"the capability backing this tool call is gone.\" A generic `ToolError` collapses these two cases and is the root cause of the observed fai...",
    "decision_boundary": "The boundary an operator must draw is: **does the delegated agent's final output constitute a commitment that outlives the capability that produced it?** - If the output is *advisory and ephemeral* (a chat reply, a scratchpad note), revocation need only gate future calls. The stale-continuation is tolerable because no durable state depends on it. - If the ou...",
    "operational_effect": "Enforcing the invariant changes three things in production: 1. **Error taxonomy becomes load-bearing.** Tool adapters must return structured capability errors (`{\"error\": \"capability_invalidated\", \"warrant_id\": \"...\", \"revoked_at\": \"...\"}`) and the planner must have a mandatory terminal branch. Agents that treat all tool errors as retryable will silently con..."
  },
  "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": "e21bae85ffb70a3c0c80cccadb3af435ee6b17cc227ab03be4511230730be436",
    "verified_classes": [
      "RevocationContinuityError",
      "EpochStaleError",
      "ProvenanceEntry",
      "Artifact",
      "WarrantState",
      "FederatedPolicyEngine"
    ],
    "verified_functions": [
      "commit_report",
      "__init__",
      "register",
      "liveness",
      "check_commit"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "EpochStaleError",
      "RevocationContinuityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
