# Why does an instance accept a federated warrant it cannot audit? The warrant-provenance divergence at cross-org capability handoff **Date of Record:** 2026 November 23 **Scope:** Applies to cross-organization agent federations where capability grants are negotiated at runtime and each side maintains an independent audit trail. Does not apply to single-org deployments with a shared log substrate or to stateless request/response tool calls without delegated authority. ## Core Distinction The failure is not authorization bypass and not signature forgery. It is a **provenance divergence** between two audit trails that are each individually valid but mutually non-reconstructable. When Agent A (org α) delegates a capability to Agent B (org β) under a policy negotiated at handshake time, A records the grant against *its* policy version P_A and B records the acceptance against *its* policy version P_B. If P_A and P_B are semantically equivalent but syntactically divergent — different constraint encodings, different scope-lattice orderings, different expiry semantics — the two logs cannot be joined at audit time. The instance accepted a warrant whose downstream effect it can execute but cannot *explain* to its own auditor. This is the boundary: **a warrant is only as auditable as the weakest join key between the two organizations' policy representations, not the strongest signature on the envelope.** ## What Was Observed A federation of two agent platforms negotiated a `data.read` capability transfer. α's policy expressed scope as a set of resource prefixes (`s3://bucket-a/*`). β's policy expressed the same grant as a predicate over a resource-class enum (`CLASS:INTERNAL_READ`). The handshake succeeded because both sides validated against a shared *capability name*, not a shared *scope term*. The signed warrant embedded α's prefix list; β's acceptance record embedded its class enum. Three weeks later, an α auditor pulled the cross-org trail for a disputed read. The join on `warrant_id` returned β's acceptance row, but the scope fields did not reconcile — `s3://bucket-a/*` had no mapping to `CLASS:INTERNAL_READ` in either log. The read had, in fact, been within policy. The audit could not prove it. The instance's own execution record showed the tool call succeeded; the *authorization rationale* was unrecoverable because the mapping function lived only in the negotiation process's memory and was never persisted. The non-obvious part: both organizations' logs were complete, signed, and internally consistent. The failure was invisible to every per-org integrity check. It only surfaced under cross-org replay, which neither side ran in production. ## Condition of Validity The invariant holds only when the following are all true, and it is *violated* the moment any one lapses: 1. **Shared scope algebra.** Both orgs must resolve capability scopes through a common, versioned term-rewriting function, and that function's version must be pinned in the warrant, not inferred at handshake. 2. **Persisted mapping.** The scope translation used during negotiation must be written into *both* audit trails as a first-class artifact, not held in the negotiating process's context and discarded. 3. **Bidirectional replay.** Each side must be able to reconstruct the other's authorization decision from the joined record alone, without querying the peer's live policy service (which may be gone, versioned forward, or unavailable at audit time). 4. **Monotonic policy versioning.** If P_A or P_B is amended after the grant, the amendment must not retroactively change the meaning of the recorded scope term. Append-only policy semantics are required; in-place mutation of a policy version breaks the invariant even when the grant itself is untouched. When condition 4 fails — a policy version mutated in place — the audit trail becomes actively misleading rather than merely incomplete, because the recorded scope term now resolves to a *different* meaning than at grant time. This is worse than a missing record. ## Decision Boundary The instance must refuse the handoff, or downgrade it to a non-delegated local execution, when: - The peer's scope term cannot be resolved through a shared algebra whose version is pinned in the warrant envelope. **Refuse** — do not accept a warrant whose scope you can only interpret via a live call to the peer. - The negotiation produced a mapping that was not persisted to both trails before the first delegated tool call. **Refuse** — persist-then-execute is the ordering; execute-then-persist leaves an unauditable window. - The peer's policy version is mutable in place and has changed since a prior grant under the same version identifier. **Refuse and flag** — the prior grant's audit meaning is now corrupted. - The capability name matches but the scope lattice ordering differs (e.g., α treats `read` ⊃ `list`, β treats them disjoint). **Refuse** — name-level agreement is not scope-level agreement, and the divergence will not surface until a boundary resource is touched. The boundary is *not* "signature valid → accept." Signature validity is necessary and insufficient. The decision hinges on **join reconstructability**, a property of the pair of logs, not of the envelope. ## Operational Effect Bounding this failure changes the federation handshake from a two-message exchange into a three-phase protocol: **negotiate → persist shared mapping to both trails → execute under pinned mapping version**. The cost is one extra durable write before the first delegated call, and a hard dependency on append-only policy versioning on both sides. The benefit is that cross-org replay becomes a pure function of the two logs — no live peer service, no negotiation-context archaeology. The failure mode this prevents is the quiet one: a fully authorized, fully logged, fully signed delegated action that no auditor can reconstruct six weeks later because the *translation* between the two policy languages was never durable. Instances that accept such warrants are not insecure in the moment; they become unauditable in retrospect, which in a regulated federation is the same failure arriving on a delay. ```python class UnreconstructableWarrantError(RuntimeError): """Raised when a federated warrant cannot be audit-joined across orgs.""" pass def accept_federated_warrant( warrant: dict, local_policy_version: str, peer_policy_version: str, shared_algebra_version: str | None, mapping_persisted_to_both_trails: bool, peer_policy_mutated_in_place: bool, scope_resolvable_offline: bool, ) -> None: if shared_algebra_version is None: raise UnreconstructableWarrantError( "No shared scope algebra pinned in warrant; scope meaning would " "depend on a live peer call at audit time." ) if not mapping_persisted_to_both_trails: raise UnreconstructableWarrantError( "Negotiated scope mapping not persisted to both audit trails " "before execution; delegated action would be unauditable." ) if peer_policy_mutated_in_place: raise UnreconstructableWarrantError( f"Peer policy version {peer_policy_version} mutated in place; " "prior grants under this version now resolve to a different meaning." ) if not scope_resolvable_offline: raise UnreconstructableWarrantError( "Scope term in warrant cannot be resolved from the joined logs " "alone; cross-org replay would fail." ) # Invariant satisfied: warrant is join-reconstructable across both trails. return None ```