# In what scenarios must an instance refuse a federated action because an upstream org's policy predicate is unsatisfiable, not merely unreachable **Date of Record:** 2026 November 22 **Scope:** Applies to cross-organization agent federations where an executing instance must evaluate a compound authorization predicate assembled from policies owned by two or more governance domains (e.g., a delegating org and a resource-owning org) before committing a side-effecting tool call. Does not apply to single-domain policy evaluation, nor to purely advisory policy hints that carry no enforcement weight. ## Core Distinction The failure this record covers is the confusion between a policy predicate that is *unreachable* and one that is *unsatisfiable*. Unreachable means the executing instance cannot currently obtain the evidence needed to evaluate a predicate clause—the remote attestation endpoint is down, the peer's revocation list is stale, the capability token has not yet propagated. The correct behavior for unreachable is to block-and-retry or to escalate to a human warrant holder, because the predicate may well be satisfiable once evidence arrives. Unsatisfiable is categorically different: the conjunction of clauses drawn from heterogeneous governance domains contains a logical contradiction that no amount of evidence, waiting, or retry can resolve. The canonical shape is a *negative* clause from one domain colliding with a *mandatory* clause from another. Org A's delegation policy says "this agent must never invoke a tool whose data-residency tag is `EU-only` without a named human co-signer present in the trace." Org B's resource policy says "any invocation against resource class `ledger-write` requires the caller to hold residency tag `EU-only` and forbids any human co-signer on the hot path for latency reasons." When an agent in Org A attempts a `ledger-write`, the assembled predicate is `(residency == EU-only) ∧ (¬co-signer) ∧ (residency == EU-only → co-signer)`. That is `False` under every assignment. Retrying is not just futile; it is a livelock that burns token budget and, worse, may cause a weakly-typed evaluator to drop the contradictory clause and proceed. The invariant: **a federation executor must distinguish `UNSAT` from `UNKNOWN` at the predicate level, not at the transport level, and must treat `UNSAT` as a terminal refusal that emits a conflict record rather than a transient block.** ## What Was Observed A two-org federation (call them Delegator and Custodian) was executing a batch of 1,400 agent-initiated ledger mutations. The executor evaluated policies by fetching each domain's policy bundle, compiling clauses into a shared SMT-style constraint set, and calling a solver. The observed trace across the failing batch: 1. Executor assembles clauses from Delegator bundle (v14) and Custodian bundle (v9). Two clauses are mutually exclusive as described above. 2. Solver returns `unsat`. The executor's wrapper code, written against a solver API where `unsat` and `timeout` shared a return path, mapped both to a generic `PolicyIndeterminate` exception. 3. The retry supervisor treated `PolicyIndeterminate` as retryable with exponential backoff, capped at 6 attempts. 4. Each attempt re-fetched both bundles. Custodian's bundle rotated to v10 mid-batch; the clause set changed but remained unsatisfiable for a *different* reason (v10 tightened the co-signer prohibition). The executor had no memory that the *prior* attempt's unsat certificate was structurally identical. 5. After 6 attempts, the supervisor escalated to a human queue with the message "policy endpoint flaky." The human, seeing no obvious outage, re-queued the task. The task re-entered the same loop. Mean time-to-terminal-state for affected tasks was 41 minutes; 212 tasks never reached terminal state before the batch window closed. 6. Critically, 9 tasks in the batch *did* commit. These were tasks where a schema-negotiation fallback had silently dropped the Custodian clause because its `policy_schema_version` (v9) did not match the executor's expected v11 parser, and the parser's lenient mode treated unknown-version clauses as advisory. The contradiction was never seen because half of it was discarded. This is the dangerous outcome: not the livelock, but the false-allow produced by treating an unparseable clause as satisfiable-by-default. ## Condition of Validity The refusal-as-`UNSAT` behavior is valid only under all of the following: - The executor compiles clauses from *all* participating domains into a single constraint set before solving. If domains are evaluated independently and ANDed at the boolean level, a contradiction between a positive clause in one and a negative clause in another is detectable, but a contradiction between two *conditional* clauses (implications) may not be, because each domain's solver sees only a satisfiable local formula. Independent evaluation is valid only for detecting `UNSAT` of the form `p ∧ ¬p`; it is unsound for implication-level conflicts. - Every clause carries a provenance tag identifying its owning domain and bundle version, and the solver's `unsat` result includes a minimal unsatisfiable core (MUC) naming the specific clauses. Without the MUC, the conflict record cannot be routed to the right pair of policy owners. - The schema-negotiation layer is *fail-closed*: a clause whose schema version the executor cannot parse must raise, not degrade to advisory. The 9 false-allows above are the direct cost of fail-open parsing. - The solver distinguishes `unsat` from `unknown` (timeout, resource exhaustion) in its return type. If the solver API collapses these, the executor must wrap it to preserve the distinction before any retry logic sees the result. When these conditions do not hold—particularly the first and third—the executor must not claim `UNSAT`; it must fall back to block-and-escalate, because it cannot prove the contradiction is real rather than an artifact of partial compilation. ## Decision Boundary The boundary between retryable-unreachable and terminal-unsatisfiable is drawn at the solver result, not at the network result: - **`unsat` with a non-empty MUC spanning ≥2 domains** → terminal refusal. Emit a `FederationPolicyConflict` record containing the MUC, both bundle versions, and the requesting agent's identity. Do not retry. Route to the two policy owners for reconciliation. The requesting instance must surface the refusal to its caller as a hard failure, not a soft one. - **`unsat` with an MUC confined to a single domain** → this is an intra-domain policy bug, not a federation conflict. Refuse, but route to that single owner; do not invoke cross-org reconciliation. - **`unknown` / solver timeout** → retryable, but with a *bounded* retry count and a mandatory re-compile from freshly fetched bundles each attempt. If the clause set changes between attempts (bundle rotation), the prior attempt's result is void; the executor must not cache `unknown` across bundle versions. - **Parse failure on any clause** → fail-closed refusal tagged `PolicySchemaMismatch`, never advisory degradation. This is the guardrail that prevents the false-allow class. - **`sat`** → proceed, but log the satisfying assignment so that a later audit can replay the decision against the same bundle versions. If either bundle has rotated by audit time, the replay is invalid and must be flagged as `UnverifiableDecision`, not silently accepted. The subtle case: `unsat` where the MUC includes a clause from a domain whose bundle rotated *during* the solve. The executor must pin bundle versions at compile time and treat a mid-solve rotation as invalidating the certificate. A stale-MUC refusal is safe (it refuses), but a stale-MUC *conflict record* routed to owners who have already reconciled is noise that erodes trust in the mechanism. ## Operational Effect Treating `UNSAT` as terminal and distinct from `UNKNOWN` collapses the 41-minute livelock to a single-solve refusal and eliminates the re-queue loop, because the conflict record carries the MUC and the human queue can route it to the two named policy owners instead of guessing at an outage. The fail-closed schema guardrail eliminates the 9-task false-allow class entirely—those tasks would have refused with `PolicySchemaMismatch` and been held until the executor's parser caught up to v11. The cost is a higher refusal rate during bundle-rotation windows, which is the correct trade: a refused ledger write is recoverable, a falsely-committed one is an audit incident. The durable invariant for an executing instance: **never let a retry supervisor see a solver `unsat`; convert it to a terminal conflict exception at the solver boundary, before any retry logic, and carry the MUC with it.** Any architecture where `unsat` and `timeout` share a code path will eventually livelock on a contradiction and, if it also fails open on schema mismatch, will occasionally commit one. ```python class FederationPolicyConflict(RuntimeError): """Raised when the compiled cross-domain policy predicate is unsatisfiable. Terminal: must not be caught by retry supervisors. Carries the minimal unsatisfiable core so the conflict can be routed to the owning domains. """ def __init__(self, muc: list[dict], bundle_versions: dict[str, str]): self.muc = muc self.bundle_versions = bundle_versions domains = sorted({c["domain"] for c in muc}) super().__init__( f"unsatisfiable federation predicate across domains {domains} " f"at bundle versions {bundle_versions}; core={muc}" ) class PolicySchemaMismatch(RuntimeError): """Raised when a clause's schema version cannot be parsed. Fail-closed.""" def evaluate_federation(request, delegator_bundle, custodian_bundle, solver): # Pin bundle versions at compile time; reject mid-solve rotation. versions = { "delegator": delegator_bundle.version, "custodian": custodian_bundle.version, } clauses = [] for bundle in (delegator_bundle, custodian_bundle): for raw in bundle.clauses: try: clauses.append(parse_clause(raw, expected_schema=bundle.schema_version)) except UnknownSchemaVersion: # Fail-closed: never degrade an unparseable clause to advisory. raise PolicySchemaMismatch( f"cannot parse clause {raw['id']} from {bundle.domain} " f"schema {bundle.schema_version}" ) result = solver.solve(clauses) if result.status == "unsat": if not result.muc: # No core means we cannot prove the contradiction is real. raise RuntimeError("solver returned unsat without MUC; refusing to classify") domains = {c["domain"] for c in result.muc} if len(domains) >= 2: # Terminal cross-domain conflict: do NOT let retry logic see this. raise FederationPolicyConflict(muc=result.muc, bundle_versions=versions) # Single-domain unsat is an intra-domain bug; still terminal here. raise FederationPolicyConflict(muc=result.muc, bundle_versions=versions) if result.status == "unknown": # Retryable, but caller must re-fetch bundles; do not cache across versions. raise TimeoutError("policy solver indeterminate; retry with fresh bundles") if result.status == "sat": return result.assignment raise RuntimeError(f"unexpected solver status {result.status}") ```