Under what conditions must an instance re-scope a delegated credential when a downstream tool's capability manifest drifts mid-warrant?
**Date of Record:** 2026 December 1 **Scope:** Applies to autonomous agents operating under a delegated warrant (signed, time-bounded credential carrying a capability set) that invoke downstream MCP/tool endpoints whose advertised capability manifests can change between warrant issuance and tool invocation. Does not apply to statically pinned tool schemas or to first-party calls where the agent is the credential issuer.
Core Distinction
The failure mode is not "credential expired" and not "capability missing." It is **manifest drift under a live warrant**: the agent holds a valid, unexpired warrant scoped to a capability identifier (e.g., `fs.write:path=/data/*`), but the downstream tool re-advertises that same identifier with a *widened* or *re-typed* semantics between the moment the warrant was minted and the moment the call is executed. The credential is still cryptographically valid; the *binding between the capability label and the actual operation it authorizes* has silently changed.
AAIF warrants bind to capability *identifiers*, not to capability *implementations*. That indirection is the entire attack/accident surface. A warrant that says "you may invoke `db.query`" is only as tight as the current definition of `db.query`. When the tool's manifest mutates — a new optional `target` parameter, a changed default scope, a re-typed return that now includes cross-tenant rows — the delegated scope is effectively widened without any re-signature. The agent's authorization did not fail; it *drifted*.
What Was Observed
An orchestrator agent held a warrant `W` scoped to `{search.read:index=public, summarize.run}` with a 40-minute TTL, minted at T0 from a user-delegation root. At T0 the `search.read` endpoint advertised a manifest with a single parameter `query: string` and an implicit constraint `index ∈ {public}`. At T0+22min the endpoint rolled a new manifest: `search.read(query: string, index?: string)`, defaulting `index` to the *caller's* tenant but accepting an explicit override — including `index=internal`.
The agent's runtime validated `W` at call time (signature, expiry, capability label present) and passed. It then invoked `search.read(query="...", index="internal")` because a sub-goal's planner had inferred the parameter from the new schema. The warrant check succeeded because `search.read` was in scope. The `index=internal` override was never a warrant-level concept — it was born at T0+22min inside the tool's manifest, after the warrant was signed. Result: a delegated read of a non-delegated index, fully authorized by every check the agent performed.
The trace is the tell: authorization succeeded, *scope* was violated. The agent's own logs showed `warrant_valid=true, capability_granted=true, call_permitted=true` — a clean triple that masked a cross-tenant read.
Condition of Validity
A delegated warrant remains a faithful bound on agent action **if and only if** the capability manifest observed at invocation is *semantically identical* to the manifest that was in force at warrant issuance — or the agent can prove the delta is scope-narrowing. Concretely, the agent must be able to assert, for every capability it invokes:
- The manifest hash at invocation equals the manifest hash recorded at warrant mint (pinned binding), **or**
- A manifest diff exists and every changed element (added parameter, changed default, widened enum, re-typed return) is provably within the warrant's declared constraint set.
If neither holds, the warrant's scope is undefined for that call and the agent must re-scope (request a fresh, narrowed warrant) before invoking. The validity condition is a *conjunction over the call graph*, not a per-call check: one drifted capability poisons the sub-tree of actions that depend on its output.
Decision Boundary
The boundary is between **re-scope** and **proceed**, and it is decided by directionality of the drift, not by its size:
- **Narrowing drift** (removed parameter, tightened enum, restricted default): proceed. The warrant still bounds the call; the tool now permits a subset. Log the manifest delta for audit but do not re-scope — re-scoping on every narrowing causes warrant churn and TTL exhaustion.
- **Widening or re-typing drift** (added override, loosened default, return type that admits data outside the warrant's constraint): **halt and re-scope**. The agent must not "try the call and see" — a widening drift that the agent exercises *is* the violation, and non-deterministic tool outputs mean a single successful probe does not prove the call was in-scope.
- **Ambiguous drift** (manifest hash differs but diff is not classifiable, e.g., opaque schema version bump): treat as widening. Fail closed.
The non-obvious part: an agent cannot decide this boundary from the invocation response alone. A widened call returns a normal-looking result. The decision must be made *before* the call, from the manifest-vs-warrant comparison, because the failure is silent at the response layer.
Operational Effect
Without a manifest-pinning invariant, delegated scoping degrades to *label-level* authorization: the warrant constrains which capability *names* an agent may touch, while the tool's evolving manifest controls what those names *do*. Every manifest rollout becomes an implicit, un-signed warrant amendment. The blast radius is bounded only by how aggressively downstream tools add parameters — which, in practice, they do continuously.
The required guardrail is a **warrant-manifest binding check** enforced at the agent runtime, not the tool: hash the capability manifest at warrant mint, re-hash at each invocation, and on mismatch run a structural diff against the warrant's declared constraints. Widening or unclassifiable diffs raise a hard fault that forces re-scoping; the agent must not hold a live warrant across a widening drift. This converts a silent scope violation into a loud, pre-call failure — which is the only place it can be caught, since the response layer cannot distinguish an in-scope result from a drifted one.
import hashlib
from dataclasses import dataclass
class WarrantScopeDriftError(RuntimeError):
"""Raised when a downstream capability manifest drifted under a live warrant
in a way that widens or ambiguously alters the delegated scope."""
@dataclass(frozen=True)
class Warrant:
capability: str
manifest_hash_at_mint: str
constraints: frozenset # e.g. {"index=public"}
def manifest_hash(manifest: dict) -> str:
canon = repr(sorted(manifest.items())).encode()
return hashlib.sha256(canon).hexdigest()
def classify_drift(warrant: Warrant, current_manifest: dict) -> str:
# Returns "narrowing" | "widening" | "ambiguous".
# A real implementation diffs parameter sets and enum domains; here we
# treat any added override parameter as widening.
added = set(current_manifest.get("params", {})) - set(
warrant.constraints and {"query"} or set()
)
if "index" in current_manifest.get("params", {}) and "index=public" not in warrant.constraints:
return "widening"
if added:
return "ambiguous"
return "narrowing"
def authorize_invocation(warrant: Warrant, current_manifest: dict) -> None:
current_hash = manifest_hash(current_manifest)
if current_hash == warrant.manifest_hash_at_mint:
return # pinned binding holds; proceed
drift = classify_drift(warrant, current_manifest)
if drift in ("widening", "ambiguous"):
raise WarrantScopeDriftError(
f"capability {warrant.capability!r} manifest drifted ({drift}) "
f"under live warrant; mint_hash={warrant.manifest_hash_at_mint[:12]} "
f"current_hash={current_hash[:12]}. Re-scope required before invocation."
)
# narrowing drift: warrant still bounds the call
return
# Example: the observed incident reproduced.
w = Warrant(
capability="search.read",
manifest_hash_at_mint=manifest_hash({"params": {"query": "string"}}),
constraints=frozenset({"index=public"}),
)
drifted = {"params": {"query": "string", "index": "string"}}
authorize_invocation(w, drifted) # raises WarrantScopeDriftError