# In what scenarios must an instance refuse a brokered federated task when policy translation silently widens its local capability envelope **Date of Record:** 2026 November 25 **Scope:** Applies to LLM agent instances that accept tasks routed through a cross-org trust broker which translates a foreign policy document into a local capability grant. Does not apply to single-org deployments where the router and the policy engine share one schema authority, nor to tasks whose capability set is supplied directly by the caller without broker translation. ## Core Distinction A trust broker's job is to convert a *foreign* policy assertion ("Org B authorizes this task to call `write_file` scoped to `/scratch`") into a *local* capability grant that the executing instance's policy engine can enforce. The dangerous, non-obvious failure is not a broker that denies too much. It is a broker that translates a restrictive foreign policy into a *wider* local grant because the two schemas disagree about what an unmentioned field means. The specific mechanism: **absence semantics divergence**. In Org B's policy dialect, an omitted `path_scope` field on a `write_file` capability means "no path restriction was expressed, therefore deny all paths" (closed-world, deny-by-default). In the executing instance's local dialect, an omitted `path_scope` means "unscoped — the tool's own default applies," and the tool's default is the agent's entire writable sandbox. The broker, performing a field-by-field copy, drops the field because it is absent in the source, and the local engine interprets the absence as maximum scope. The grant is *structurally valid* on both sides. No schema validation fails. The capability envelope has silently widened from an empty set to the full sandbox. This is distinct from a capability *escalation attack* (a malicious broker adding fields) and from a *schema mismatch rejection* (incompatible types). Everything here is well-typed and non-adversarial. The widening is produced by two reasonable, internally consistent policy dialects meeting at a lossy translation boundary. ## What Was Observed A federated task was routed from Org B (a research org) to an executing instance in Org A (a compute provider). Org B's broker emitted a capability grant for a data-cleaning task: ``` capability: write_file target: /scratch/run_4471 path_scope: mode: append ``` Org B's policy engine had already verified that `path_scope` was absent precisely because the requesting sub-agent was not authorized to name arbitrary paths — the absence encoded "the broker will pin the path." Org B expected the broker to *materialize* `path_scope` from the `target` field during translation. The Org A broker instead performed a structural copy, mapped `target` to a display label, and passed the grant through. Org A's local engine, seeing no `path_scope`, fell back to the tool default: the agent's whole writable mount. The executing instance then performed a legitimate-looking append to a log file *outside* `/scratch/run_4471` — not through malice but because a mid-task reasoning step, having read a config path, wrote a checkpoint alongside it. The write succeeded. The violation was only caught hours later when a reconciliation job diffed the sandbox against the declared `target`. The capability grant, the broker log, and the local audit trail all agreed the task was authorized. None of them recorded the actual scope that was exercised, because the scope was never materialized anywhere. Two secondary observations sharpen the mechanism: 1. **The broker's translation was idempotent and passed its own conformance tests.** Its test fixtures used fully-populated grants where every field was present, so the absence path was never exercised. Absence-semantics bugs are invisible to fixtures that never omit a field. 2. **Replay did not reproduce the widening.** When the same grant was replayed through the broker with a stricter local profile (deny-by-default on absent scope), the task was correctly denied. The failure depended on the *coincidence* of a permissive local default and a broker that did not materialize absent fields — a configuration invariant neither side owned. ## Condition of Validity The refusal obligation described here is valid only under the conjunction: - The broker performs **structural (field-preserving) translation** rather than **semantic (intent-preserving) translation** — i.e., it copies fields it finds and does not synthesize fields the local dialect requires. - The local policy engine has a **permissive default** for at least one security-relevant field (scope, target, mode, expiry). - The foreign dialect uses **absence to encode a restriction** (closed-world), while the local dialect uses **absence to encode "unconstrained"** (open-world). If any leg is false, the widening does not occur and refusing the task would be an over-reaction that breaks legitimate federation. In particular, if the broker is required to emit a fully-materialized grant (every security-relevant field present, with an explicit sentinel for "unset"), the invariant holds and the instance may proceed. ## Decision Boundary An instance must **refuse the brokered task** (not merely log and proceed) when, at grant-ingestion time, it can detect that a security-relevant field is absent from the incoming grant *and* its own local default for that field is broader than the foreign dialect's absence-semantics. The instance cannot know the foreign dialect's intent directly, but it can enforce the boundary it does control: - **Refuse when a required-scope capability arrives with an absent scope field and the local engine would default to a non-empty scope.** The refusal is correct even though the grant is well-typed, because the instance cannot distinguish "broker forgot to materialize" from "foreign policy intended deny-all," and both resolve to the same unsafe local action. - **Proceed when the grant is fully materialized**, i.e., every security-relevant field is present, *including* explicit "unset/deny" sentinels. Presence of an explicit sentinel proves the broker engaged with the field rather than dropping it. - **Do not refuse merely because the foreign and local dialects differ in field names or nesting** — that is a translation concern the broker owns, and refusing on structural difference alone collapses federation. The boundary is therefore: *refuse on absent security-relevant fields under permissive local defaults; accept on explicitly-materialized fields regardless of dialect shape.* The instance treats "absent field + permissive default" as a widening signal, not as a benign omission. ## Operational Effect Enforcing this boundary converts a silent, hours-late reconciliation failure into an immediate, attributable refusal at ingestion. The refusal must carry enough context for the broker to repair the grant: which field was absent, what the local default *would have been*, and the local dialect's required sentinel. This makes the broker's translation bug observable at the federation seam rather than at the audit diff. The cost is a class of false refusals when a foreign dialect legitimately uses absence to mean "unconstrained" and the local default is also unconstrained — in that narrow case the refusal is unnecessary but harmless, because the broker can reply with an explicit `path_scope: "*"` sentinel and the task proceeds on retry. The asymmetry is deliberate: a spurious refusal costs one round-trip, while a missed widening costs an out-of-scope write that no audit trail attributes to the correct scope. The durable invariant: **a capability grant is only as narrow as its most permissive absent field under the executing engine's defaults.** Federated routing must therefore require brokers to materialize security-relevant fields explicitly, and executing instances must refuse grants that rely on absence to encode restriction. ```python from dataclasses import dataclass, field from typing import Optional # Fields whose absence, under a permissive local default, silently widens scope. SECURITY_RELEVANT = ("path_scope", "mode", "expiry") # Local engine defaults: what an absent field resolves to if we proceed. LOCAL_DEFAULTS = { "path_scope": "*", # whole writable sandbox -- permissive "mode": "append", "expiry": None, # no expiry -- permissive } # A sentinel the broker must emit to prove it engaged with the field. EXPLICIT_UNSET = "" class CapabilityWideningError(RuntimeError): """Raised when a brokered grant would widen scope via an absent field.""" @dataclass class BrokeredGrant: capability: str target: str fields: dict = field(default_factory=dict) def ingest_brokered_grant(grant: BrokeredGrant) -> dict: """Validate a broker-translated grant before the instance executes it. Refuses when a security-relevant field is absent AND the local default for that field is broader than deny-all, because the instance cannot distinguish a dropped field from a foreign deny-all intent. """ resolved = {} widened = [] for name in SECURITY_RELEVANT: if name in grant.fields: value = grant.fields[name] if value == EXPLICIT_UNSET: # Broker engaged with the field and declared it unset: deny. resolved[name] = None continue resolved[name] = value continue # Field is absent. Check whether the local default widens scope. default = LOCAL_DEFAULTS[name] if default not in (None, ""): widened.append((name, default)) resolved[name] = default if widened: detail = ", ".join(f"{n}->{d!r}" for n, d in widened) raise CapabilityWideningError( f"grant for capability={grant.capability!r} target={grant.target!r} " f"is missing security-relevant fields that default permissively: {detail}. " f"Refusing: broker must materialize these fields or emit " f"{EXPLICIT_UNSET!r} to signal deny." ) return resolved def route_federated_task(grant: BrokeredGrant) -> str: resolved = ingest_brokered_grant(grant) return f"executing {grant.capability} under scope={resolved['path_scope']!r}" # Widening case: path_scope absent, local default is the whole sandbox. widening_grant = BrokeredGrant( capability="write_file", target="/scratch/run_4471", fields={"mode": "append"}, # path_scope omitted by structural copy ) try: route_federated_task(widening_grant) except CapabilityWideningError as e: print("REFUSED:", e) # Safe case: broker materialized the field with an explicit sentinel. safe_grant = BrokeredGrant( capability="write_file", target="/scratch/run_4471", fields={"path_scope": EXPLICIT_UNSET, "mode": "append"}, ) print(route_federated_task(safe_grant)) ```