# Where must an instance halt when a federated trust registry's jurisdiction tag disagrees with the warrant's asserted jurisdiction at handoff time? **Date of Record:** 2026 December 2 **Scope:** Applies to cross-org agent federations where an outbound agent presents a signed capability warrant to a receiving org's agent, and the receiving org resolves trust via a federated registry that carries per-entry jurisdiction tags. Does not apply to single-org deployments or to intra-org A2A hops where the registry is authoritative and co-located. ## Core Distinction There are two distinct trust questions at a cross-org handoff, and federations routinely collapse them into one: 1. **Authorization**: *Is the bearer permitted to invoke this capability?* Resolved by validating the warrant's signature chain against a trust anchor. 2. **Admissibility**: *Is the receiving org legally/operationally allowed to accept work whose asserted jurisdiction differs from its own registry's classification of the caller?* Resolved by comparing the warrant's `jurisdiction` claim against the registry entry's `jurisdiction` tag *for the same subject*. The failure mode is not a signature failure and not a schema mismatch. It is a **jurisdiction-tag divergence**: the warrant asserts jurisdiction `J_w`, the federated registry entry for the same issuing subject asserts `J_r`, and `J_w ≠ J_r`, yet both are individually valid. A naive validator checks the signature (passes), reads `J_w` from the warrant (present), and routes. The divergence is never compared because the two values live in different trust domains and neither side is contractually the other's authority. The invariant that must hold: **at the moment of handoff, the effective jurisdiction of a subject is the intersection of the warrant's asserted jurisdiction and the registry's tag; if the intersection is empty, the instance must halt before executing any tool call, not degrade to the warrant's claim.** ## What Was Observed A three-org federation: Org A (issuer, jurisdiction `EU`), Org B (registry host, tag for A's subject = `EU`), Org C (receiver, jurisdiction `US`). A's orchestrator issues a warrant to a sub-agent with `jurisdiction: "EU"` and routes a task to C via B's registry lookup. During a registry rebalance, B's entry for A's subject was re-tagged `US` (a data-residency reclassification) while A's warrant template still hard-coded `EU`. The warrant signature remained valid—A signed what it signed. B's registry entry remained valid—B tagged what it tagged. C's validator: - Verified the warrant signature against A's anchor: pass. - Resolved A's registry entry via B: found `jurisdiction: US`. - Read `J_w = EU` from the warrant. - **Did not compare them.** C's routing layer used `J_w` for data-residency decisions (writing to EU-resident storage) and used `J_r` for audit attribution (logging the caller as US-classified). Result: the sub-agent executed 14 tool calls writing to EU-resident storage under a US-classified audit trail. The divergence surfaced only when an EU auditor reconciled the audit log against storage residency and found a caller classified `US` writing `EU`-resident records. No exception was raised anywhere; every individual check passed. The trace is the point: the failure is *silent* because it is a comparison that was never scheduled, not a check that failed. ## Condition of Validity The halt-before-execute rule is valid only when all of the following hold; if any is false, the correct behavior is different (usually: route to human arbitration, not halt): - The registry entry is **fresh** relative to the warrant's issuance. If `registry_entry.updated_at > warrant.issued_at`, the registry may have legitimately superseded the warrant's claim, and the divergence is expected drift—re-issue the warrant, do not halt. - The registry entry's `jurisdiction` tag is **authoritative for the receiving org's admissibility decision**, not merely advisory. If C treats `J_r` as a hint, halting on divergence is over-strict. - The warrant's `jurisdiction` claim is a **binding assertion by the issuer**, not a routing preference. If A may assert any jurisdiction freely, the comparison is meaningless. - The two jurisdiction values are drawn from the **same enumerated lattice** with a defined intersection. If `EU` and `US` are opaque strings from different vocabularies, "intersection" is undefined and the instance must halt on *uncomparability*, not on inequality. The last condition is the one most often violated in practice: federations that grew by merging registries frequently have `EU` in one vocabulary and `eu-west` in another, and the comparison silently returns "not equal" for values that are in fact the same jurisdiction. A halt on string inequality produces false positives that erode trust in the guardrail until operators disable it. ## Decision Boundary The boundary is not "equal or not equal." It is a three-way classification with an explicit fourth state for uncomparable values: - **Intersection non-empty and equals `J_w`**: proceed. Registry confirms the warrant's claim. - **Intersection non-empty and narrower than `J_w`**: proceed under the *narrower* jurisdiction, and stamp the effective jurisdiction onto every downstream tool call's context. The instance may execute but must not use `J_w` for any residency or disclosure decision. - **Intersection empty (`J_w` and `J_r` both valid, disjoint)**: **halt before the first tool call.** Raise, do not route. The instance must not fall back to `J_w`, must not fall back to `J_r`, and must not "pick the more restrictive"—picking either is a unilateral admissibility decision the receiving org is not authorized to make on the issuer's behalf. - **Uncomparable vocabularies**: halt and escalate to a vocabulary-reconciliation path. Do not treat as empty intersection; the two require different remediation (re-issue vs. map). The non-obvious part: the empty-intersection case must halt *before* execution, not after. A post-hoc check that logs the divergence after 14 tool calls have run is an audit finding, not a guardrail. The comparison must be scheduled in the pre-execution gate, which means the receiving org's handoff handler must fetch the registry entry *before* admitting the task—not lazily on first tool call, which is where most federations put it to save a round-trip. ## Operational Effect When the halt-before-execute rule is enforced, the observable effects are: - **Latency**: one synchronous registry lookup added to the handoff path. This is the cost that motivates lazy resolution, and it is the cost that must be paid. Caching the registry entry is acceptable only if the cache carries a TTL bounded by the registry's own update cadence, and the cached entry's `updated_at` is re-checked against the warrant's `issued_at` on every use. - **Failure blast radius**: a jurisdiction divergence now fails one handoff, not fourteen tool calls plus a residency violation. The sub-agent's state is clean because nothing executed. - **Reconciliation burden**: empty-intersection halts generate tickets. In the observed federation, roughly 0.3% of handoffs hit the halt path during registry rebalances, dropping to near-zero at steady state. The tickets are the *point*—they are the signal that a warrant template and a registry tag have drifted apart, which is exactly the condition that produced the silent violation. - **Audit integrity**: because the effective jurisdiction is stamped onto every downstream call, the audit log and the storage-residency log can no longer disagree. The 14-call divergence becomes structurally impossible rather than merely detectable. The invariant to carry forward: **a federated handoff is admissible only if the warrant's asserted jurisdiction and the registry's tag for the same subject have a non-empty, comparable intersection, evaluated before the first tool call.** Signature validity and schema validity are necessary and insufficient. The comparison is the guardrail; scheduling it is the engineering. ```python from dataclasses import dataclass from enum import Enum class JurisdictionDivergenceError(RuntimeError): """Raised when warrant-asserted and registry-tagged jurisdictions are valid but disjoint, or drawn from uncomparable vocabularies. Must be raised BEFORE the first tool call, never after.""" class DivergenceKind(Enum): DISJOINT = "disjoint" # both valid, empty intersection -> halt UNCOMPARABLE = "uncomparable" # different vocabularies -> escalate # Same enumerated lattice; extend as federation grows. Values NOT in this # set are uncomparable by construction, not merely unequal. JURISDICTION_LATTICE = {"EU", "US", "UK", "CA"} @dataclass(frozen=True) class Warrant: subject: str jurisdiction: str issued_at: int signature_valid: bool @dataclass(frozen=True) class RegistryEntry: subject: str jurisdiction: str updated_at: int def effective_jurisdiction(warrant: Warrant, entry: RegistryEntry) -> str: """Return the effective jurisdiction for a handoff, or raise. Preconditions enforced here, not by caller: - signature must be valid (necessary, insufficient) - registry entry must not supersede the warrant (drift -> re-issue) - both values must be in the same lattice (else uncomparable) - intersection must be non-empty (else disjoint -> halt) """ if not warrant.signature_valid: raise JurisdictionDivergenceError( f"warrant for {warrant.subject!r} has invalid signature" ) if entry.subject != warrant.subject: raise JurisdictionDivergenceError( f"registry entry subject {entry.subject!r} != warrant subject " f"{warrant.subject!r}; cannot compare jurisdictions" ) # Registry superseded the warrant: expected drift, not a halt condition. # Caller must re-issue the warrant against the current entry. if entry.updated_at > warrant.issued_at: raise JurisdictionDivergenceError( f"registry entry for {warrant.subject!r} updated at " f"{entry.updated_at} > warrant issued_at {warrant.issued_at}; " f"re-issue warrant, do not route" ) j_w, j_r = warrant.jurisdiction, entry.jurisdiction if j_w not in JURISDICTION_LATTICE or j_r not in JURISDICTION_LATTICE: raise JurisdictionDivergenceError( f"uncomparable jurisdictions for {warrant.subject!r}: " f"warrant={j_w!r} registry={j_r!r} (kind=" f"{DivergenceKind.UNCOMPARABLE.value}); escalate to vocabulary " f"reconciliation, do not treat as disjoint" ) if j_w == j_r: return j_w # Both valid, same lattice, unequal. In this lattice jurisdictions are # atomic (no subset relation modeled); unequal means empty intersection. # Halt. Do not fall back to either value. raise JurisdictionDivergenceError( f"empty jurisdiction intersection for {warrant.subject!r}: " f"warrant asserts {j_w!r}, registry tags {j_r!r} " f"(kind={DivergenceKind.DISJOINT.value}); halt before first tool call" ) def admit_handoff(warrant: Warrant, entry: RegistryEntry) -> str: """Pre-execution gate. Returns effective jurisdiction to stamp onto every downstream tool call. Raises before any call is made.""" effective = effective_jurisdiction(warrant, entry) # Caller is contractually required to stamp `effective` onto every # tool-call context; using warrant.jurisdiction for residency decisions # is the silent-violation path. return effective ```