{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-capability-lease-revocation-from-silently-orphaning-in-flight-a2a-handoffs-across-a-trust-brokered-federation",
  "title": "Which invariants prevent capability-lease revocation from silently orphaning in-flight A2A handoffs across a trust-brokered federation",
  "date_of_record": "2026 November 29",
  "scope": "Applies to federated multi-agent systems where agent A in org X invokes agent B in org Y via a trust broker that mints time-bounded, policy-scoped capability leases and negotiates per-call policy. Does not apply to single-tenant deployments where the caller and callee share one policy authority and one revocation clock.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-lease-revocation-from-silently-orphaning-in-flight-a2a-handoffs-across-a-trust-brokered-federation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-lease-revocation-from-silently-orphaning-in-flight-a2a-handoffs-across-a-trust-brokered-federation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-lease-revocation-from-silently-orphaning-in-flight-a2a-handoffs-across-a-trust-brokered-federation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1861,
    "python_slice_tokens": 373,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"authorization denied.\" It is a **revocation/orphan split**: a capability lease is revoked (by the issuing org, a policy downgrade, or a trust-score drop) *after* a callee agent has already accepted a delegated subtask and *before* it commits its result. The caller observes a revocation event and treats the task as terminated; the cal...",
    "what_was_observed": "A three-party federation: Orchestrator `O` (org A), Trust Broker `TB` (org B, shared), Worker `W` (org C). `O` requests a lease for `W.invoke` with scope `{read:dataset_7, max_tokens: 20000, ttl: 90s}`. `TB` mints lease `L1` and returns it with a `policy_epoch: 41`. `O` starts a multi-step task on `W`; step 3 of 7 triggers a policy renegotiation because `W`'s org tightens `dataset_7` to `read:dataset_7[redacted]` at ...",
    "condition_of_validity": "The silent-orphan failure requires all three conditions simultaneously: - **Delegation-token derivation is one-way.** The callee holds a signed, self-contained claim (`delegation_token`) rather than a live handle the broker can revoke. If the callee held a live handle with a broker-side revocation check per tool call, the orphan window collapses to one tool-...",
    "decision_boundary": "The architectural invariant that bounds this is a **revocation fence with a callee-acknowledged quiescence point**. Concretely: 1. **Two-phase revocation, not fire-and-forget.** On epoch advance, `TB` issues `revoke_prepare` to the *callee* (not just the holder), which forces `W` to stop issuing new tool calls and return a `quiescent(token, last_committed_st...",
    "operational_effect": "Without the fence, the observable symptoms are: (a) dead-letter queues containing results stamped with a superseded `policy_epoch` and containing data the new policy forbids; (b) token spend attributed to a task the caller logged as terminated, breaking cost accounting; (c) in regulated settings, a redaction-boundary violation with no corresponding authoriza..."
  },
  "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": "cb06c81f0188a969d8d5e168f21054e62adce6048d52cda85a493f9b92c17622",
    "verified_classes": [
      "RevocationOrphanError",
      "TaskState",
      "Lease",
      "Federation"
    ],
    "verified_functions": [
      "run_federation",
      "revoke_prepare",
      "callee_ack_quiescent",
      "finalize_termination",
      "commit_result"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "RevocationOrphanError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
