{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-abort-a-federated-handoff-after-the-brokered-credential-has-already-been-minted",
  "title": "When must an instance abort a federated handoff after the brokered credential has already been minted",
  "date_of_record": "2026 November 29",
  "scope": "Applies to cross-organization agent federations where a local agent (the *initiator*) obtains a short-lived, scoped token from a trust broker on behalf of a peer agent (the *delegate*) in another org, then hands off task state plus that token. Covers the window between credential mint and first authenticated call by the delegate. Does not cover long-lived service credentials, mTLS-only peer authentication without brokering, or intra-org delegation where the issuer and audience share a trust root.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-abort-a-federated-handoff-after-the-brokered-credential-has-already-been-minted.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abort-a-federated-handoff-after-the-brokered-credential-has-already-been-minted.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abort-a-federated-handoff-after-the-brokered-credential-has-already-been-minted.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2336,
    "python_slice_tokens": 437,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the token is invalid.\" It is a *split-brain between two independently enforced validity predicates*: the broker's mint-time authorization check and the delegate's call-time authorization check, evaluated against *different snapshots of the same policy*, with the handoff state transfer sitting in the gap between them. A naive design treats...",
    "what_was_observed": "Two orgs, A (initiator) and B (delegate), federated through broker `brk`. A's planner agent needs B's `document.analyze` capability on a specific tenant corpus. Trace: 1. A's initiator calls `brk.mint(subject=A.agent, audience=B.agent, scope=doc.analyze(tenant=42), ttl=90s)`. Broker evaluates A's entitlements against policy revision `r17`, sees an active grant, mints token `T` with claims `{iss: brk, sub: A.agent, au...",
    "condition_of_validity": "The superset invariant holds only under all of the following; if any is false, the handoff must be treated as *unverified* and the delegate must not execute: - **C1 — Revision pinning is enforced, not advisory.** The delegate's policy engine must reject a warrant whose `pol_rev` is older than the delegate's `min_acceptable_rev` for that issuer, *even if the ...",
    "decision_boundary": "The initiator faces a three-way decision at mint time, and the correct branch depends on the *delegate's* enforcement capability, which the initiator must have negotiated out-of-band (capability negotiation, not assumed): The abort must happen *before* `brk.mint`, not after. Once `T` exists it is a live bearer credential in the initiator's memory; aborting a...",
    "operational_effect": "Concretely, the guardrail is a pre-mint gate that fails closed on any unverifiable enforcement claim, plus a post-mint compensating revoke on any abort that occurs after the gate passes but before handoff completes: - The gate queries the delegate's advertised enforcement profile (a signed capability descriptor listing `pol_rev_enforced`, `revocation_skew_bo..."
  },
  "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": "9c20760457f33a20adf7affd2379cf92fc37b9c393feb4d239e1b16e3c93a3c1",
    "verified_classes": [
      "FederationHandoffRejected",
      "EnforcementProfile",
      "Warrant"
    ],
    "verified_functions": [
      "state_digest",
      "pre_mint_gate",
      "complete_handoff"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 9,
    "raised_exceptions": [
      "FederationHandoffRejected"
    ],
    "sample_fail_closed_invariants": [
      "no enforcement profile from delegate; cannot verify C1-C4",
      "delegate does not consume jti atomically; replay C4 unenforced",
      "delegate cannot bind task state to warrant; confused-deputy replay possible",
      "delegate treats pol_rev as advisory; any minted token is a bearer credential for its full ttl and cannot be revoked befo"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
