# Where must an instance refuse a federated capability grant when the trust-broker's attestation is transitively valid but the capability's precondition predicate is unverifiable in the receiving context **Date of Record:** 2026 November 26 **Scope:** Applies to cross-organization agent federations where a trust broker (or warrant issuer) attests a remote agent's identity and a capability grant is negotiated across an org boundary whose precondition predicates reference state the receiving org cannot independently observe. Does not apply to intra-org capability negotiation where both parties share a common state substrate, nor to purely identity-based authentication without capability preconditions. ## Core Distinction The failure mode is not "trust fails." It is the opposite: trust *succeeds* transitively while the capability's *precondition predicate* becomes unverifiable at the point of use. A trust broker in org A issues a signed warrant W asserting that agent `a_remote` in org B is authorized for capability `C`. Org A's policy engine validates the signature chain, checks revocation freshness, and admits the call. But `C` in org A's capability catalog was defined with a precondition predicate `P(s)` over org A's *local* state `s` — e.g., "requester holds an unexpired data-sharing consent record for subject S," "requester's quota bucket has headroom ≥ k," "requester is not currently rate-limited by the downstream tool." The incoming agent from org B cannot present evidence for `P` because `P` is evaluated against org A's private state, and the broker's warrant does not (and structurally cannot) carry a proof of `P`. The non-obvious boundary is this: **signature validity of the warrant is orthogonal to satisfiability of the precondition predicate.** Most federation stacks conflate the two. The warrant proves *who* is asking and *what capability class* they were granted; it says nothing about whether the capability's runtime preconditions hold in the receiving context. An instance that treats a valid warrant as sufficient admission is executing a capability whose guard it cannot evaluate — a confused-deputy condition that manifests as silent policy bypass, not as an authentication error. ## What Was Observed A federated incident trace, reconstructed from broker and policy-engine logs across two orgs: 1. Org B's agent `a_remote` requests capability `read:consent_record(subject=S)` from org A's resource server. The request carries warrant `W = Sign_broker(a_remote, cap_class="read:consent*", exp=t+300s)`. 2. Org A's policy engine validates `W`: signature chain to the broker's root, revocation list fresh (last sync 12s ago), capability class matches request. **Admission succeeds.** 3. Org A's resource server resolves `read:consent_record` to its handler. The handler's guard is `assert consent_active(S) and requester_scope(a_remote) ⊆ consent_scope(S)`. `consent_active(S)` reads org A's consent store. `requester_scope(a_remote)` is a property of the *remote* agent — org A holds only the coarse `cap_class` from `W`, not the agent's fine-grained scope. 4. The handler's guard is written as `if not consent_active(S): deny`. `consent_active(S)` returns True (the subject's consent is active). The second conjunct — `requester_scope(a_remote) ⊆ consent_scope(S)` — cannot be evaluated because `requester_scope` is not in the warrant. The handler's default branch, under a `try/except` that logs and *continues*, treats the unresolvable conjunct as "not applicable" and proceeds. 5. **Result:** a remote agent with `cap_class="read:consent*"` reads a consent record for a subject whose consent scope it does not satisfy. No signature failed. No revocation was stale. The bypass was in the *predicate evaluation*, not the *trust chain*. The trace shows the exact seam: step 2 (trust brokering) and step 4 (capability precondition evaluation) are two different verification regimes, and the federation protocol only specified the first. The second was left to each resource server's ad-hoc guard code, which had no representation of "predicate unverifiable in this context" — only True/False/exception, and exceptions were swallowed. A second trace confirmed the inverse: a remote agent that *did* satisfy `requester_scope ⊆ consent_scope(S)` was denied because the handler, unable to evaluate the conjunct, fell through to a deny-by-default branch on a *different* code path. The same unverifiability produced both false-admit and false-deny depending on which handler's error handling was hit — nondeterministic policy behavior driven by code structure, not by any policy decision. ## Condition of Validity The invariant that bounds this failure: **a capability grant is admissible at the receiving instance only if every precondition predicate in the capability's definition is either (a) evaluable against state the receiving instance holds, or (b) accompanied by a verifiable evidence token bound to the warrant and the specific request.** A warrant that attests identity and capability class but carries no evidence for the capability's preconditions satisfies neither (a) nor (b) for any precondition referencing remote-agent properties or cross-org state. This condition is met only when one of three structural properties holds: - **Local-closure:** the capability's precondition predicates reference only receiving-instance state (org A's consent store, quota buckets, rate limiters). Then the warrant is sufficient for admission and the handler evaluates `P` locally. This is the safe case and the one most capability catalogs *assume* without checking. - **Evidence-carrying warrants:** the broker's warrant includes, per capability, a set of signed evidence claims `E = {e_1..e_n}` where each `e_i` attests a specific precondition conjunct, bound to the request nonce and the receiving org's audience. The receiving instance verifies each `e_i` against its own policy and evaluates `P` as `local_predicates(s) ∧ verify(E)`. This requires the capability catalog to *declare* its precondition predicates in a machine-checkable form so the broker knows what evidence to attach. - **Refusal:** if neither holds, the receiving instance must refuse the grant with a structured "unverifiable precondition" outcome, not admit and not silently deny. The condition fails — and the failure is silent — whenever a capability catalog is authored with precondition predicates that reference remote-agent or cross-org state, but the federation protocol only transports identity/class warrants. The catalog and the protocol have diverged, and the divergence is invisible until a request lands on the wrong side of a swallowed exception. ## Decision Boundary The receiving instance must make an explicit decision at the capability-resolution step, before invoking the handler: - If the capability's declared precondition set is **empty or fully local**, admit on warrant validity alone. - If the precondition set contains **any conjunct referencing remote-agent properties or cross-org state**, and the warrant carries **no evidence token** for that conjunct, **refuse** with `UnverifiablePrecondition` — do not admit, do not fall through to handler default. - If the warrant carries evidence tokens, **verify each token's binding** (audience = receiving org, nonce = request nonce, expiry within warrant expiry) and evaluate only the conjuncts each token attests; any unattested conjunct in a non-empty precondition set triggers refusal. - If the capability catalog **does not declare** its precondition predicates in machine-checkable form, treat the capability as **non-federable** — it may be granted intra-org but must not be advertised in the federation capability manifest. Undeclared preconditions are the root cause; the protocol cannot transport evidence for predicates it cannot see. The boundary is sharp: **warrant validity is necessary but never sufficient for admission of a federated capability with non-local preconditions.** The instance that treats it as sufficient has, by construction, delegated policy evaluation to whatever the handler's exception handling happens to do. ## Operational Effect When this boundary is respected, the failure mode converts from *silent policy bypass* to *loud, structured refusal*. The operational consequences: - **False-admit becomes visible.** A remote agent lacking `requester_scope ⊆ consent_scope(S)` receives `UnverifiablePrecondition` instead of a consent record. The refusal is auditable, attributable to a specific missing evidence token, and does not depend on handler code structure. - **False-deny becomes deterministic.** The same agent with a valid evidence token is admitted regardless of which handler path is hit, because admission is decided before the handler runs. - **Capability manifests shrink to what is actually federable.** Capabilities whose preconditions cannot be expressed as evidence claims are removed from the federation manifest, which is the correct outcome — they were never safely federable, only accidentally so. - **The trust broker's role narrows correctly.** The broker attests identity and class; it does not and cannot attest precondition satisfaction unless the capability catalog tells it what evidence to attach. The broker's authority is bounded by the catalog's declarations, and the receiving instance enforces that bound. The residual risk is catalog drift: a capability's preconditions are edited to reference new remote state without updating its evidence-claim declarations, and the manifest still advertises it as federable. This is caught only by a manifest-vs-catalog consistency check at publish time, which must be part of the capability registration pipeline, not the request path. ```python class UnverifiablePrecondition(RuntimeError): """Raised when a federated capability grant is transitively valid but a precondition predicate cannot be evaluated in the receiving context.""" pass class FederatedCapability: def __init__(self, name, local_predicates, remote_predicates, evidence_claims): self.name = name self.local_predicates = local_predicates # callables over local state self.remote_predicates = remote_predicates # names of cross-org conjuncts self.evidence_claims = evidence_claims # claim ids the broker must attach class Warrant: def __init__(self, issuer, subject, cap_class, audience, nonce, exp, evidence): self.issuer = issuer self.subject = subject self.cap_class = cap_class self.audience = audience self.nonce = nonce self.exp = exp self.evidence = evidence # dict: claim_id -> signed token def admit_federated(cap: FederatedCapability, warrant: Warrant, local_state, request_nonce, now): # Step 1: warrant validity (identity + class). Necessary, not sufficient. if warrant.audience != local_state.org_id: raise UnverifiablePrecondition(f"warrant audience {warrant.audience} != {local_state.org_id}") if warrant.exp <= now: raise UnverifiablePrecondition("warrant expired") if not warrant.cap_class.startswith(cap.name.split(":")[0]): raise UnverifiablePrecondition(f"cap_class {warrant.cap_class} does not cover {cap.name}") # Step 2: precondition coverage. Every remote conjunct needs a bound evidence token. if cap.remote_predicates: missing = [c for c in cap.evidence_claims if c not in warrant.evidence] if missing: raise UnverifiablePrecondition( f"capability {cap.name} has unverifiable remote preconditions; " f"missing evidence claims: {missing}" ) for claim_id in cap.evidence_claims: token = warrant.evidence[claim_id] if token.get("nonce") != request_nonce: raise UnverifiablePrecondition( f"evidence {claim_id} not bound to request nonce" ) if not local_state.verify_evidence(claim_id, token, warrant.subject): raise UnverifiablePrecondition(f"evidence {claim_id} failed verification") # Step 3: local conjuncts evaluated against receiving-instance state. for pred in cap.local_predicates: if not pred(local_state): raise UnverifiablePrecondition(f"local precondition {pred.__name__} false") return True ```