# Where must an instance refuse to inherit a federated reputation score: the cross-organizational prior-poisoning boundary in trust transfer **Date of Record:** 2026 November 27 **Scope:** Applies to agent instances that consume reputation/trust scores produced by an external organization's evaluator (federated trust exchange, cross-org attestation, shared auditor quorum) and use them to gate tool execution, delegation, or state transfer. Does not apply to reputation scores computed locally from an instance's own observed interaction history with a peer, nor to purely informational score display that never gates an action. ## Core Distinction A federated reputation score is not a measurement of a peer. It is a *composition*: `score = f(evidence, evaluator_prior, aggregation_rule)`. When an instance inherits a score across an organizational boundary, it inherits all three components, but only the first is portable. The evaluator's prior (its base rate, its cold-start default, its smoothing constant, its historical adversary model) is calibrated to *that* organization's threat surface and population of peers. The receiving instance silently substitutes a foreign prior for its own. The non-obvious consequence: **two instances can agree on every piece of raw evidence and still be forced to disagree on the score**, because their priors diverge. When a receiving instance treats a foreign score as if it were locally computed evidence, it commits a category error — it accepts a posterior as if it were a likelihood. This is the boundary. The invariant that must hold is that *a reputation score may only cross an organizational boundary as evidence plus an explicit, versioned prior, never as a scalar.* This is distinct from the ordinary problem of a wrong score. A wrong score is a data-quality issue. Prior substitution is a *semantic* failure: the receiving instance's trust gate behaves correctly with respect to the wrong quantity, and no amount of score auditing detects it, because the score itself is internally consistent. ## What Was Observed Consider a receiving instance `R` in org A that gates a high-privilege delegation (e.g., handing a write-capable file tool to peer agent `P`) on a trust threshold `τ = 0.80`. `R` requests `P`'s reputation from org B's evaluator `E_B`. `E_B` computes scores with a Beta-Bernoulli model: `score = (α + successes) / (α + β + trials)`, with prior `α = β = 1` (Laplace smoothing). For a peer with `3` successes and `0` failures, `E_B` reports `(1+3)/(1+1+3) = 0.80`. Exactly at threshold. `R` admits the delegation. Now `R`'s own evaluator `E_A` uses a deliberately pessimistic cold-start prior, `α = 1, β = 4`, because org A's adversary model assumes most first-contact peers are benign-but-unproven and a small fraction are actively hostile. Under `E_A`'s prior, the same `3/0` evidence yields `(1+3)/(1+4+3) = 0.50`. `R`, had it computed locally, would have refused. The failure is not that `E_B` lied. `E_B`'s score is a correct posterior under `E_B`'s prior. The failure is that `R` consumed a posterior (`0.80`) as if it were a likelihood sufficient to cross a threshold calibrated against `R`'s prior. The `0.30` gap is entirely prior, not evidence. `R` admitted a peer that its own threat model would have rejected, and the audit log shows a clean, in-bounds, correctly-typed score of `0.80 ≥ 0.80`. The failure trace has a specific shape: 1. `R` requests score from `E_B` over A2A/MCP; receives `{peer: P, score: 0.80, trials: 3, successes: 3}`. 2. `R`'s gate evaluates `0.80 >= 0.80` → true. No prior field is present, so no reconciliation is attempted. 3. `R` grants delegation. `P` — a peer that accumulated its `3/0` record against org B's *low-value* endpoints — now holds write capability against org A's *high-value* store. The evidence was real but was collected under a different action distribution. 4. Downstream, `P`'s first failure against A's store is recorded by `E_A` as `3/1`, dropping `E_A`'s posterior to `(1+3)/(1+4+4) = 0.44` — a cliff, because `E_A`'s prior never had the chance to gate the initial admission. Two compounding errors are visible: prior substitution (step 2) and evidence-distribution mismatch (step 3). The second is masked by the first. Had `R` demanded the prior, it would have recomputed to `0.50` and refused, and the distribution mismatch would never have mattered. The prior is the load-bearing artifact. A second observed variant: `E_B` performs *distillation* — it periodically replaces per-trial evidence with a summary `(mean, count, variance)` to bound storage. After distillation, `R` can no longer recompute under its own prior, because the raw `successes/trials` are gone. The score is now irreversibly `E_B`-prior-relative. A receiving instance that accepted a distilled score has accepted a prior it cannot recover, and its own trust gate is now permanently hostage to a foreign base rate it never consented to. ## Condition of Validity A federated score is safe to consume across an organizational boundary **iff all of the following hold simultaneously**: - **Prior is transported, not implied.** The payload carries `(α, β)` or an equivalent explicit prior identifier plus the raw sufficient statistics `(successes, trials)`. A scalar alone is invalid. - **The receiving instance recomputes under its own prior.** `R` must evaluate `f(evidence, prior_R, rule_R)`, not `score_B`. The transported score is advisory; the local posterior is authoritative. - **Evidence distribution is compatible.** The `trials` were collected against action classes whose risk profile is within `R`'s declared tolerance. A `3/0` record against read-only endpoints does not transfer to write-capable delegation. This requires the payload to carry an action-class tag, and `R` to reject evidence whose class is out of scope. - **Aggregation rule is monotone and declared.** If `R` blends multiple evaluators, the rule must be specified (e.g., product-of-experts, min, weighted mean) and must not allow a single high-prior evaluator to dominate. A naive mean of `0.80` and `0.50` yields `0.65`, which is *below* `τ` — but a naive mean of `0.95` and `0.50` yields `0.725`, still below, yet a max-aggregation yields `0.95` and admits. The rule is a security parameter, not a convenience. If any condition fails, the score degrades to *informational* and must not gate an action. The instance must fall back to its own prior with zero inherited evidence, i.e., treat the peer as cold-start. ## Decision Boundary The decision boundary is not "is the score above threshold." It is **"does the receiving instance have enough transported structure to recompute the score under its own prior?"** - If `prior` and `sufficient_statistics` are present and the action class is in scope → recompute locally; the foreign scalar is discarded. - If `prior` is absent but `sufficient_statistics` are present → recompute under `R`'s prior using the transported `(successes, trials)`. This is the minimum acceptable path. - If only a scalar is present, or the score is distilled and raw statistics are unrecoverable → **the score is not admissible for gating.** The instance must not "trust it a little." It must treat the peer as cold-start, or refuse the delegation and escalate to a human/auditor quorum. The boundary is sharp because the failure is silent. There is no exception, no type error, no out-of-range value. A scalar-only score of `0.80` is a perfectly well-formed float. The only defense is a structural refusal: the trust gate must be unable to consume a scalar, by construction. The invariant is enforced at the schema boundary, not at the threshold. A subtle corollary: an instance must refuse to *propagate* a score it received as a scalar. If `R` re-exports `0.80` to org C, it launders `E_B`'s prior as if it were `R`'s own, and org C now inherits a prior two hops removed from any evidence it can inspect. Reputation laundering across a chain of instances is the multi-hop form of the same boundary failure, and it compounds: each hop that accepts a scalar re-stamps a foreign prior as local. ## Operational Effect The operational consequence is a **trust-gate that is correct with respect to the wrong quantity**. Auditing the score, the threshold, and the comparison all pass. The gate admits a peer that the receiving organization's own threat model would have rejected, and the admission is invisible to every check that operates on the score as a number. The bounded guardrail is a **transport schema that makes scalar-only scores unrepresentable at the gate**, plus a local recomputation step that is the *only* path to a gating decision. Concretely: the trust gate accepts a `ReputationEvidence` object (prior, sufficient statistics, action class, evaluator identity, distillation flag), never a `float`. A distilled score sets `recomputable = False` and is routed to cold-start. The gate raises on any attempt to coerce a scalar into a gating decision, so the failure surfaces as a loud, attributable error at the boundary rather than a silent admission downstream. The cost is that federated trust becomes chattier — every gate decision requires transporting priors and statistics, and distillation must either preserve recoverable sufficient statistics or forfeit gating authority. The benefit is that the prior, the one component that does not survive the organizational boundary, is never silently substituted. ```python from dataclasses import dataclass from typing import Optional class PriorSubstitutionError(RuntimeError): """Raised when a trust gate is asked to gate on a scalar reputation score that carries no recoverable prior or sufficient statistics.""" pass @dataclass(frozen=True) class ReputationEvidence: evaluator_id: str successes: int trials: int prior_alpha: Optional[float] # None => prior not transported prior_beta: Optional[float] action_class: str distilled: bool = False @property def recomputable(self) -> bool: return ( not self.distilled and self.prior_alpha is not None and self.prior_beta is not None and self.trials >= 0 and self.successes <= self.trials ) def local_posterior(ev: ReputationEvidence, alpha: float, beta: float) -> float: # Recompute under the RECEIVING instance's prior, ignoring the foreign prior. return (alpha + ev.successes) / (alpha + beta + ev.trials) def gate_delegation( ev: ReputationEvidence, *, local_alpha: float, local_beta: float, tau: float, in_scope_action_classes: frozenset, ) -> bool: if ev.action_class not in in_scope_action_classes: # Evidence collected against out-of-scope action classes is not # transferable; treat peer as cold-start. return False if not ev.recomputable: # A scalar-only or distilled score cannot be reconciled with the # local prior. Refuse to gate on it; do not silently trust it. raise PriorSubstitutionError( f"evaluator {ev.evaluator_id} supplied non-recomputable evidence " f"(distilled={ev.distilled}, prior_present=" f"{ev.prior_alpha is not None}); cannot gate delegation" ) score = local_posterior(ev, local_alpha, local_beta) return score >= tau def admit_or_escalate(ev: ReputationEvidence, **kwargs) -> bool: try: return gate_delegation(ev, **kwargs) except PriorSubstitutionError: # Escalate to auditor quorum / human; never fall through to admit. raise ```