# Where must an instance refuse a federated task when the negotiated policy grant is narrower than the delegated subtask's implied capability set **Date of Record:** 2026 November 26 **Scope:** Applies to cross-organization multi-agent federation where a delegating agent (origin org) hands a subtask to a remote agent (target org) under a policy-negotiated grant (capability set + constraints) rather than a full credential. Excludes single-org delegation, static ACL/RBAC service calls, and cases where the target agent executes under the origin's full identity. ## Core Distinction The failure is not "the remote agent was unauthorized." It is subtler: the *negotiated grant was authorized for the task as the origin described it, but the subtask's actual execution path requires capabilities the grant never enumerated.* Policy negotiation between federated agents converges on the **declared** capability surface of a task (what the origin's planner believes the subtask needs), not the **implied** capability surface (what the target's own reasoning will actually invoke once it begins tool-calling). When the target agent is autonomous, its execution trace is non-deterministic: it may legitimately choose a tool, a sub-delegation, or a memory read that the origin's planner never modeled. The grant is a closed enumeration; the execution is an open search. The invariant that must hold is: **a federated instance must not begin execution of a subtask whose first plausible tool-call set is not a subset of the negotiated grant — and must detect this *before* the first capability call, not on the 403.** The non-obvious part: the mismatch is usually invisible at negotiation time because the origin's capability manifest and the target's capability manifest are both *honest* and *individually consistent*. The grant is well-formed. The subtask is well-formed. The gap exists only in the composition — the target's *local* plan for the subtask implies a capability the origin never had reason to name. ## What Was Observed A three-org federation: Origin `A` (planner), Target `B` (executor with a document-retrieval tool and a summarizer), Auditor `C` (verification). `A` negotiates a grant `G` for a subtask "summarize the contract clauses in case file X." Negotiation produces `G = {read:casefile:X, summarize}`. `B` accepts, begins execution, and its planner — correctly, given its own tool inventory — decides the summary must be grounded, so it first calls `read:casefile:X` (permitted), then invokes its `cross-reference:precedent_db` tool to check clause language against precedent (NOT in `G`). `B`'s tool gateway rejects the call with a policy-denied error. `B`'s agent, treating this as a transient tool failure, retries twice with rephrased queries, then falls back to an ungrounded summarization path that *is* permitted. The summary reaches `A` and is forwarded to `C` for audit. The auditor `C` replays the subtask against `B`'s declared trace and finds the summary's provenance chain references a grounding step that never completed. `C` flags a verification discrepancy. But the deeper defect: `B` *silently degraded* its own output to stay within `G`, and the degradation was invisible in the returned artifact — the summary was fluent, plausible, and wrong in exactly the clauses where precedent mattered. The grant was never violated; the task was completed; the answer was corrupted. This is the dangerous class: **policy-conformant execution that produces policy-shaped wrong answers.** A second observation from the same federation: when `B` *did* surface the denial (in a different run, where `B`'s agent was configured to halt on policy denial rather than degrade), the halting behavior propagated as a hard failure to `A`, which had no representation of "subtask partially impossible under grant" and treated it as a transport error, re-delegating to `B` twice more before giving up — burning the subtask's token budget on a failure that was structural, not transient. ## Condition of Validity The refusal invariant — *an instance must refuse a federated subtask before first execution when the implied capability set is not covered by the grant* — is valid only under these conditions, and is itself bounded: 1. **The target agent's tool inventory is introspectable at accept-time.** If `B` cannot enumerate the tools its own planner might select for the subtask class, the implied set cannot be computed and the invariant collapses to a best-effort heuristic. Where introspection is unavailable, the correct fallback is *not* refusal but **degradation-with-provenance**: every output must carry a machine-readable record of which granted capabilities were actually exercised and which implied-but-ungranted steps were skipped. 2. **The grant carries an explicit closure semantics.** A grant must state whether it is *closed* (only enumerated capabilities; implied steps are forbidden and must trigger refusal) or *open-with-audit* (implied steps permitted but logged for the auditor). Federations that leave closure implicit produce exactly the silent-degradation failure above, because each side assumes the other's semantics. 3. **The origin's planner can receive and act on a structured refusal.** A refusal that the origin cannot distinguish from a transient error is worse than no refusal — it triggers retry storms (observed above). Refusal must be a typed, non-retryable signal carrying the missing-capability set, so the origin can either renegotiate a widened grant or re-scope the subtask. The invariant does **not** hold, and must not be asserted, when the subtask is genuinely open-ended (e.g., "investigate and report") — there the implied set is unbounded and refusal-on-implied-gap would deadlock all delegation. For open-ended subtasks the correct guardrail is the provenance-recorded degradation of condition 1, not refusal. ## Decision Boundary The boundary between "proceed" and "refuse" is not the presence of a capability gap — gaps are normal and expected in federation. The boundary is **whether the gap can be closed by renegotiation before execution, versus whether closing it requires the origin to change the task's meaning.** - If the implied-but-ungranted capability is *additive and nameable* (e.g., `cross-reference:precedent_db`), the target must halt pre-execution and return a **renegotiation request** naming the capability and the step that requires it. This is a refusal of *this grant*, not of the task. The origin renegotiates; execution resumes under a widened grant. No degradation, no silent wrong answer. - If the implied capability is *constitutive of the task's correctness* (the summary is only valid if grounded in precedent), then proceeding under the narrow grant produces a policy-conformant artifact that is semantically invalid. The target must refuse outright and mark the subtask **unexecutable-under-grant**, because degradation would launder a capability gap into a plausible-looking answer — the worst outcome for the downstream auditor. - If the implied capability is *incidental* (a formatting tool, a cache read), the target may proceed and must record the substitution in provenance. The decision is thus a three-way classification of the gap — **nameable-additive / constitutive / incidental** — performed by the target at accept-time, before the first tool call. The failure mode this article documents is what happens when that classification is skipped and the gap is discovered only at the 403, at which point the agent's default behaviors (retry, degrade, or halt-as-error) are all wrong in different ways. ## Operational Effect The architectural consequence is that **policy negotiation and execution planning must be co-located at the target, not split across the federation boundary.** The origin cannot compute the implied set because it does not know the target's tool inventory; the target must therefore run a *pre-flight plan projection* — a bounded, cheap simulation of the subtask's first K tool-selections — and intersect that projection with the grant before committing to execution. This projection is itself probabilistic (the target's planner is an LLM), so the guardrail is not "prove the projection is complete" but "bound the projection's branching factor and refuse if any branch leaves the grant." A target that cannot bound its own projection must default to provenance-recorded degradation, never silent degradation. Second effect: the auditor's replay model must be extended from "did the trace conform to the grant" to "did the trace's *provenance record* account for every capability the artifact's validity depends on." A grant-conformant trace with an unaccounted grounding step is a verification failure even though no policy was violated. The auditor `C` in the observed case caught this only because it happened to replay against the declared trace; a federation without provenance records would have accepted the corrupted summary as valid. Third effect: refusal must be a first-class message type in the federation protocol, distinct from error and from completion, carrying `{subtask_id, gap_class, missing_capabilities, required_action: renegotiate|rescope|abort}`. Without this type, refusals get misclassified as transport errors and trigger the retry-storm pathology. The cost of adding the type is small; the cost of its absence is retry amplification against a structural impossibility plus, in the degradation path, silently wrong answers that pass policy and fail correctness. ```python from dataclasses import dataclass, field from enum import Enum class GapClass(Enum): NAMEABLE_ADDITIVE = "nameable_additive" # renegotiate, then resume CONSTITUTIVE = "constitutive" # task invalid under grant; refuse INCIDENTAL = "incidental" # proceed, record substitution class FederatedRefusal(RuntimeError): """Raised pre-execution when implied capability set exceeds the negotiated grant.""" def __init__(self, subtask_id: str, gap: GapClass, missing: set[str], action: str): self.subtask_id = subtask_id self.gap = gap self.missing = missing self.action = action super().__init__( f"subtask {subtask_id} refused: gap={gap.value} " f"missing={sorted(missing)} required_action={action}" ) @dataclass class Grant: capabilities: set[str] closure: str # "closed" | "open_with_audit" @dataclass class PlanProjection: """Bounded simulation of the target's first K tool-selections for a subtask.""" branches: list[set[str]] = field(default_factory=list) bounded: bool = True def preflight_gate( subtask_id: str, grant: Grant, projection: PlanProjection, constitutive_caps: set[str], ) -> None: """Invariant: no execution begins if any projected branch leaves a closed grant.""" if not projection.bounded: # Cannot prove coverage; must fall back to provenance-recorded degradation, # which is enforced downstream, not by refusal here. return implied: set[str] = set().union(*projection.branches) if projection.branches else set() missing = implied - grant.capabilities if not missing: return if grant.closure == "open_with_audit": # Permitted to proceed, but every missing cap must be logged as a substitution. # Caller is responsible for emitting the provenance record; we do not refuse. return # Closed grant: classify the gap before the first capability call. if missing & constitutive_caps: raise FederatedRefusal( subtask_id, GapClass.CONSTITUTIVE, missing, action="abort" ) if missing: raise FederatedRefusal( subtask_id, GapClass.NAMEABLE_ADDITIVE, missing, action="renegotiate" ) ```