# In what scenarios must an instance abort a federated handoff when a peer's sovereignty policy is satisfiable only under a locality predicate the local planner cannot discharge **Date of Record:** 2026 November 25 **Scope:** Applies to cross-organizational agent federations where a receiving peer advertises a data-sovereignty policy as a set of predicates over artifact provenance, residency, and derivation history, and the sending instance must decide whether a proposed handoff is admissible. Does not apply to intra-organizational handoffs governed by a single trust domain, nor to pure capability negotiation where no data payload crosses the boundary. ## Core Distinction The failure mode is not "the peer rejected the payload." It is subtler: the peer's policy negotiator returns `SATISFIABLE` for the proposed handoff, but the satisfaction proof depends on a **locality predicate** — a claim of the form `resides_in(artifact, jurisdiction)` or `derived_only_from(artifact, allowlist)` — that the *sending* instance is structurally unable to discharge, because the evidence required to discharge it lives in a store the sender's planner cannot read (typically the peer's own lineage ledger, or a third-party attestation service behind the peer's boundary). This produces a **false green**: the negotiation channel reports success, the handoff proceeds, and the violation surfaces later — either at the peer's ingestion audit, or worse, never, because the peer trusted its own `SATISFIABLE` verdict and skipped re-validation. The invariant that must hold is: *a federation handoff is admissible only if every predicate in the peer's policy is dischargeable by evidence the sender can actually produce at handoff time.* Satisfiability in the abstract is not admissibility. ## What Was Observed A sending planner (Org A) holds an artifact `D` synthesized from three upstream documents. Org B advertises a policy: ``` allow_ingest(D) iff jurisdiction(D) ∈ {EU} ∧ derived_only_from(D, B.approved_sources) ∧ retention_class(D) ≤ B.max_retention ``` The negotiation round-trips cleanly. Org B's negotiator evaluates `jurisdiction(D)` from the declared metadata (`EU`), checks `retention_class` (declared `P2`, within bounds), and for `derived_only_from` consults **its own** approved-source registry against the provenance chain that Org A attached. It returns `SATISFIABLE` with a proof obligation list that includes: ``` obligation: derived_only_from(D, B.approved_sources) discharged_by: B.lineage_ledger.verify(chain_hash) ``` Org A's planner sees `SATISFIABLE`, does not parse the `discharged_by` field (it was treated as advisory), and transmits `D`. At ingestion, Org B's audit re-runs the obligation and finds `chain_hash` references a source `S2` that Org B's ledger has never seen — `S2` was added to Org A's lineage after the negotiation snapshot, in a re-plan that occurred between negotiation and send. The ledger cannot verify a hash for a source it does not hold. Ingestion halts with `UnverifiableProvenance`. Meanwhile Org A's planner had already checkpointed the handoff as `COMPLETE` and advanced its task graph, so the downstream consumer of `D` at Org B never receives it, and Org A never retries because it believes the step succeeded. The observable signature is a **divergence between two success signals**: the sender's transport-level ACK and the receiver's audit-level verdict. The sender's planner collapses these into one boolean. ## Condition of Validity The `SATISFIABLE` verdict is only a valid basis for transmission when all three hold: 1. **Obligation closure.** Every proof obligation returned by the peer is tagged `sender_dischargeable: true`, meaning the evidence lives in a store the sender can read *and* the sender's planner has a registered resolver for it. Obligations tagged `receiver_internal` or `third_party` must be excluded from the sender's admissibility decision — they are the receiver's problem and must not be counted as satisfied by the sender. 2. **Snapshot pinning.** The negotiation verdict is bound to a `policy_snapshot_id` and a `lineage_snapshot_id`. If the sender's lineage changes after negotiation (re-plan, upstream refresh, tool-output mutation), the verdict is stale and must be re-negotiated. The failure above is precisely a stale verdict: `S2` entered the lineage post-negotiation. 3. **Two-phase commit across the boundary.** The sender must not mark the handoff `COMPLETE` until the receiver returns an *audit-level* verdict, distinct from the transport ACK. The transport ACK means "bytes arrived"; the audit verdict means "policy discharged at ingestion." Only the latter advances the sender's task graph. When any of these is violated, the correct action is to **abort the handoff and re-negotiate**, not to retry transmission. Retrying re-sends the same stale `chain_hash` and produces the same `UnverifiableProvenance` — an idempotent failure that a naive retry loop will spin on until token budget exhaustion. ## Decision Boundary The boundary is drawn between *satisfiable* and *dischargeable-by-sender*. Concretely: - If the peer's policy contains a locality predicate whose evidence is `receiver_internal`, the sender **cannot** treat `SATISFIABLE` as authorization. It must either (a) request the peer expose a sender-readable attestation endpoint, or (b) attach a self-contained proof (signed lineage bundle) the peer can verify without consulting a store the sender cannot see. - If the sender's lineage mutates after negotiation, the `policy_snapshot_id` mismatch is a hard abort, not a warning. The re-plan that added `S2` invalidated the verdict. - If the peer returns `SATISFIABLE` but the obligation list is empty while the policy is non-trivial, this is a **negotiator defect** — the peer's policy engine did not enumerate its own obligations. Treat empty-obligation-with-nontrivial-policy as `UNVERIFIABLE`, not `OK`. The abort must be typed and must carry the specific obligation that failed to discharge, so the re-negotiation loop can request the right attestation rather than re-running the whole policy. ## Operational Effect Federations that enforce the dischargeability invariant see handoffs fail *at negotiation* rather than *at ingestion*, which moves the failure to a point where the sender still holds the artifact and can re-plan. The cost is more negotiation round-trips (typically one extra per lineage mutation) and the requirement that peers expose sender-readable attestation for locality predicates. Federations that skip it see the silent-divergence pattern above: sender believes `COMPLETE`, receiver holds nothing, and the divergence is only detectable by reconciling two ledgers that were never designed to be reconciled. The reconciliation, when it happens, is expensive and often post-hoc — the artifact has already been consumed downstream or, worse, the sender has garbage-collected it under a retention policy that assumed successful delivery. The guardrail is a single rule encoded at the handoff boundary: **a `SATISFIABLE` verdict authorizes transmission only if every obligation is sender-dischargeable and the verdict's snapshot IDs match the sender's current lineage.** Anything else is an abort-and-renegotiate, not a send. ```python from dataclasses import dataclass, field from enum import Enum class HandoffAborted(RuntimeError): """Raised when a federated handoff cannot be admitted under the peer's policy.""" pass class ObligationScope(Enum): SENDER_DISCHARGEABLE = "sender_dischargeable" RECEIVER_INTERNAL = "receiver_internal" THIRD_PARTY = "third_party" @dataclass class Obligation: predicate: str scope: ObligationScope discharged_by: str @dataclass class NegotiationVerdict: satisfiable: bool policy_snapshot_id: str lineage_snapshot_id: str obligations: list[Obligation] = field(default_factory=list) @dataclass class LocalState: current_policy_snapshot_id: str current_lineage_snapshot_id: str resolvable_stores: set[str] def admit_handoff(verdict: NegotiationVerdict, local: LocalState) -> None: if not verdict.satisfiable: raise HandoffAborted(f"peer policy unsatisfiable: {verdict.policy_snapshot_id}") # Stale-verdict guard: lineage or policy mutated since negotiation. if verdict.policy_snapshot_id != local.current_policy_snapshot_id: raise HandoffAborted( f"stale policy snapshot: verdict={verdict.policy_snapshot_id} " f"local={local.current_policy_snapshot_id}" ) if verdict.lineage_snapshot_id != local.current_lineage_snapshot_id: raise HandoffAborted( f"stale lineage snapshot: verdict={verdict.lineage_snapshot_id} " f"local={local.current_lineage_snapshot_id}; re-plan invalidated verdict" ) # Empty obligations with a non-trivial policy implies negotiator defect. if not verdict.obligations: raise HandoffAborted( "peer returned SATISFIABLE with no enumerated obligations; " "treating as UNVERIFIABLE, not OK" ) # Dischargeability guard: every obligation must be sender-resolvable. for ob in verdict.obligations: if ob.scope is not ObligationScope.SENDER_DISCHARGEABLE: raise HandoffAborted( f"obligation '{ob.predicate}' scoped {ob.scope.value}; " f"evidence at '{ob.discharged_by}' is not sender-readable" ) store = ob.discharged_by.split(".", 1)[0] if store not in local.resolvable_stores: raise HandoffAborted( f"obligation '{ob.predicate}' requires store '{store}' " f"absent from sender's resolvable set {sorted(local.resolvable_stores)}" ) # All obligations sender-dischargeable and snapshots current: transmit. ```