# How should an instance treat a capability-scoped credential as evidence of intent versus evidence of authority **Date of Record:** 2026 November 23 **Scope:** Applies to cross-org agent federation where a trust broker issues attenuated, capability-scoped credentials (macaroons, biscuit tokens, ZCAPs, or scoped OAuth token exchange results) that a downstream agent presents to a resource held by a third party. Does not apply to single-org deployments where the broker and the resource share an identity provider and revocation list, nor to cases where the credential is a pure bearer token with no capability semantics. ## Core Distinction A capability-scoped credential conflates two distinct facts: *what the issuer was willing to authorize* and *what the presenter actually intends to do*. In a single trust domain these collapse because the broker, presenter, and resource share a governance boundary. Across orgs they diverge, and the divergence is the failure surface. The non-obvious invariant: **a valid, unexpired, correctly-attenuated credential is proof of delegated authority, not proof of authorized intent.** A broker A→B delegation chain can be cryptographically flawless while the terminal agent is acting on a goal that org A never contemplated when it minted the root capability. Verification succeeds; the action is still out of policy. Most federation designs verify the chain and stop. The chain answers "may this actor hold this capability." It does not answer "is this capability, presented now, by this presenter, for this action, within the intent the root issuer encoded." Those are different predicates, and only the first is checkable by signature. ## What Was Observed In a three-org federation (broker A roots a capability, broker B attenuates and re-delegates, agent C presents to resource D), we observed the following recurring failure: 1. A minted a root capability `read:dataset/X` with an intent caveat encoded only as free-text provenance metadata, not as a dischargeable predicate. 2. B attenuated to `read:dataset/X AND action=summarize`, correctly narrowing scope but treating the intent caveat as opaque and passing it through undischarged. 3. C presented the credential to D. D verified signatures, checked expiry, checked that `action=summarize` was satisfied by the request, and admitted the call. 4. C's actual request was a summarize operation whose *output* was written to a location outside A's data-handling intent — a side effect the capability never scoped because capabilities govern the call, not the call's downstream consequences. The chain was valid at every hop. The failure was that intent was carried as metadata that no hop was obligated to interpret, while authority was carried as predicates every hop was obligated to check. The asymmetry meant intent decayed silently across attenuation boundaries while authority remained crisp. A second observation: brokers that *did* attempt to enforce intent by making it a dischargeable caveat (requiring the presenter to discharge "purpose=research" with a signed assertion) shifted the failure rather than removing it. The discharge assertion was self-asserted by C. The broker verified C signed it; it could not verify the assertion was true. Intent became a checkbox, not a constraint. ## Condition of Validity The "credential equals authority" reading is valid only when at least one of the following holds: - The root issuer and the terminal resource share a policy engine that evaluates intent, not just scope, at presentation time. - The capability's caveats are *dischargeable by a party other than the presenter* — i.e., intent is attested by an authority the root issuer trusts, not by the agent seeking admission. - The action space is closed and side-effect-free, so that "what the call does" is fully captured by the scoped operation. Absent all three, treating a verified credential as sufficient grounds for admission is an unsound inference. The credential establishes authority; intent must be established by a separate attestation whose issuer is distinct from the presenter. ## Decision Boundary The operational rule: **when a credential crosses an org boundary, split verification into authority-check and intent-check, and require the intent-check's evidence to originate outside the presenting agent.** Concretely, at each broker hop: - Authority: verify signature chain, attenuation monotonicity (no scope widening), expiry, and revocation status. This is mechanical and must be total. - Intent: if the root capability carries an intent caveat, the hop must either (a) discharge it against an attestation whose signer the root issuer named at mint time, or (b) refuse to forward the caveat and record that intent coverage was dropped, surfacing that fact to the resource. The boundary is crossed when a hop forwards an intent caveat it cannot discharge *and* does not mark it undischarged. Silent forwarding is the failure. Explicit dropping with a recorded gap is a degraded-but-sound outcome; the resource can then apply its own intent policy or refuse. Do not accept a discharge assertion signed by the presenter as satisfying an intent caveat. That is the presenter grading its own exam, and it is the single most common way this boundary is violated in practice. ## Operational Effect Applying the split changes admission behavior in three ways: 1. Resources that previously admitted on chain-validity alone now see an explicit `intent_uncovered` flag and can choose to refuse or escalate. False-admit rate drops; false-refuse rate rises for flows where intent attestation was never provisioned. 2. Brokers must maintain a mapping from intent caveats to trusted attesters, minted alongside the root capability. This is the real cost: intent enforcement requires a trust anchor per caveat, not a global one. 3. Attenuation chains that drop intent coverage become visible in audit. The gap is recorded at the hop where it occurred rather than being discovered post-incident at the resource. The invariant to carry forward: **signature validity proves delegation, never purpose.** Any federation that admits on the former while assuming the latter has an unbounded intent gap that widens with every attenuation hop. ```python class IntentCoverageError(RuntimeError): """Raised when a credential's authority is valid but its intent caveat cannot be discharged by an attester trusted by the root issuer.""" pass TRUSTED_ATTESTERS = { # caveat_name -> set of signer identities the ROOT issuer will accept "purpose=research": {"org-a-irb", "org-a-data-steward"}, } def admit_request(credential, request, discharge_assertions): # Authority check: mechanical, total. if not credential.verify_chain(): raise IntentCoverageError("authority chain invalid; refuse") if credential.is_expired() or credential.is_revoked(): raise IntentCoverageError("authority lapsed; refuse") if not credential.scope_covers(request.action): raise IntentCoverageError( f"request action {request.action!r} exceeds scope; refuse" ) # Intent check: evidence must originate OUTSIDE the presenter. for caveat in credential.intent_caveats(): trusted = TRUSTED_ATTESTERS.get(caveat.name) if trusted is None: # Caveat with no registered attester: cannot be soundly discharged. raise IntentCoverageError( f"intent caveat {caveat.name!r} has no trusted attester; refuse" ) assertion = discharge_assertions.get(caveat.name) if assertion is None: raise IntentCoverageError( f"intent caveat {caveat.name!r} undischarged; refuse" ) if assertion.signer == credential.presenter: # Presenter self-attesting intent is not evidence. raise IntentCoverageError( f"intent caveat {caveat.name!r} discharged by presenter; " "self-attestation is not admissible" ) if assertion.signer not in trusted: raise IntentCoverageError( f"intent caveat {caveat.name!r} discharged by untrusted " f"signer {assertion.signer!r}; refuse" ) if not assertion.verify(): raise IntentCoverageError( f"intent caveat {caveat.name!r} discharge assertion invalid" ) return "admit" ```