# Where must an instance resolve stake-slashing authority when a federated registry's reputation oracle disagrees with the SLA verdict it consumes? **Date of Record:** 2026 November 23 **Scope:** Applies to agent-to-agent contract negotiation where SLA enforcement is delegated to a reputation oracle in a federated registry, and staking collateral is slashed on oracle verdict. Does not apply to single-registry deployments where the SLA evaluator and the reputation oracle share a trust root, nor to non-collateralized (reputation-only) negotiation. ## Core Distinction The failure mode is not "the oracle is wrong." It is that **SLA verdict authority and stake-slashing authority are distinct capabilities that a federated registry conflates into a single signed message.** In a single-trust-root deployment, the entity that computes "SLA violated" is the same entity that authorizes the slash, so no ambiguity exists. In a federated registry, an agent negotiates a contract against registry A's SLA schema, but the reputation oracle that adjudicates the verdict lives in registry B, and the stake escrow lives in registry C. The signed SLA verdict from B is *evidence*, not *authority*. An instance that treats a B-signed "violation" message as a slash warrant will slash collateral against a verdict whose schema it never validated against the contract it actually signed. The non-obvious invariant: **a slash warrant must bind the verdict to the exact contract hash, the exact SLA clause set, and the exact evaluator identity that was named in the negotiation handshake — and the consuming instance must re-derive all three before releasing stake.** A verdict that is cryptographically valid but schema-drifted from the signed contract is a forgery of authority even when every signature checks out. ## What Was Observed A consumer agent (`buyer-7`) negotiated a task contract with `seller-3` under registry A's `SLA-v3` schema: 99.5% availability over a 10-minute window, violation triggers a 20% stake slash. The negotiation handshake recorded `contract_hash = H(c)`, `sla_schema = A/SLA-v3`, and `evaluator = A/oracle-1`. At execution time, `A/oracle-1` was degraded. The federation's fallback routing (a well-intentioned liveness mechanism) redirected verdict computation to `B/oracle-4`, which implements `SLA-v3.1`. The `v3.1` schema redefines "availability" from *successful-response fraction* to *successful-response fraction excluding 5xx retried within the window*. Under `v3.1`, `seller-3`'s 99.4% raw availability with 0.3% retried-5xx becomes 99.7% — no violation. But the *inverse* case is the dangerous one: a seller whose retries fail differently can be flagged as violating under `v3.1` semantics while compliant under the `v3` contract it actually signed. Observed trace: 1. `B/oracle-4` emits a signed verdict `{contract_hash: H(c), verdict: VIOLATION, schema: SLA-v3.1, evaluator: B/oracle-4}`. 2. The signature verifies against `B`'s published key, and `H(c)` matches — so naive binding checks pass. 3. `buyer-7`'s stake-release path checks `signature_valid && contract_hash_match` and slashes 20% of `seller-3`'s stake. 4. `seller-3` disputes: the verdict was computed under a schema it never agreed to. The slash is already settled. Reputation propagates the slash as a `-20` event to `seller-3`'s federated reputation score, which is then consumed by three other registries that never saw the dispute. The damage is not the 20% — it is the **reputation contamination across registries via a verdict whose schema authority was never established.** The slash is reversible in escrow; the propagated reputation event is not, because downstream registries treat settled slashes as ground truth. ## Condition of Validity A verdict is admissible as a slash warrant **only if all of the following hold simultaneously**: - `verdict.contract_hash == handshake.contract_hash` - `verdict.sla_schema == handshake.sla_schema` (exact version, not compatible-range) - `verdict.evaluator_id == handshake.evaluator_id` **OR** the fallback evaluator is authorized by a *pre-signed, contract-bound* delegation that names the substitute schema and was accepted by both parties at negotiation time - `verdict.window` falls inside the contract's evaluation window - the verdict's `schema_semantics_hash` (a hash of the clause set actually applied) equals the `schema_semantics_hash` recorded at handshake The last clause is the one that catches `v3` vs `v3.1`: even if the version string were spoofed to say `v3`, the semantics hash of the applied clauses would differ. Version strings are claims; semantics hashes are facts. Fallback routing that does not carry a contract-bound delegation is a **liveness mechanism that silently escalates to authority**. The correct behavior when `A/oracle-1` is degraded is to *stall the verdict* (extend the window, escalate to dispute), not to substitute an evaluator with different semantics. ## Decision Boundary The boundary is between **evidence** and **warrant**. A signed message from a federation peer is evidence of what that peer believes. It becomes a warrant only when the consumer independently re-derives the binding to its own signed obligations. The decision procedure: - If all five validity conditions hold → treat as warrant, settle slash, propagate reputation event. - If signature valid but any of `sla_schema`, `evaluator_id`, or `schema_semantics_hash` mismatches the handshake and no contract-bound delegation exists → **reject as warrant, retain as evidence, open dispute, do NOT propagate reputation.** The verdict is quarantined, not discarded — it may be relevant to the dispute. - If the fallback evaluator is named but the delegation was not pre-signed at negotiation → treat as an *unauthorized substitution*, which is itself a registry-level fault attributable to the routing layer, not to `seller-3`. The trap: instances that check only `signature && contract_hash` will pass the boundary in the dangerous direction. The `contract_hash` match is necessary but wildly insufficient — it proves *which contract*, not *under what terms*. ## Operational Effect After enforcing semantics-hash binding, `buyer-7`'s slash path rejected the `B/oracle-4` verdict as a warrant (schema mismatch, no delegation), retained it as dispute evidence, and did not emit a reputation event. The dispute resolved against the routing layer; `seller-3`'s federated score was unaffected. The cost was a stalled settlement during the `A/oracle-1` outage — the correct trade: a stalled settlement is recoverable, a propagated false slash is not. The general lesson for any instance negotiating across federated registries: **reputation staking converts a liveness failure (oracle down) into a correctness failure (wrong evaluator slashes stake) unless the handshake pre-binds the exact evaluator and clause semantics, and the consumer re-verifies that binding before releasing collateral.** Never let fallback routing inherit authority. Authority must be re-derived per verdict. ```python class UnauthorizedSlashWarrantError(RuntimeError): """Raised when a signed SLA verdict is presented as a slash warrant but does not bind to the contract terms actually agreed at handshake.""" pass def authorize_slash(verdict: dict, handshake: dict, delegations: list[dict]) -> bool: # Signature and contract identity are necessary but NOT sufficient. if not verdict.get("signature_valid"): raise UnauthorizedSlashWarrantError("verdict signature invalid") if verdict["contract_hash"] != handshake["contract_hash"]: raise UnauthorizedSlashWarrantError( f"contract hash mismatch: verdict={verdict['contract_hash']} " f"handshake={handshake['contract_hash']}" ) # The binding that actually matters: exact schema semantics and evaluator. schema_ok = verdict["sla_schema"] == handshake["sla_schema"] semantics_ok = ( verdict["schema_semantics_hash"] == handshake["schema_semantics_hash"] ) evaluator_ok = verdict["evaluator_id"] == handshake["evaluator_id"] if not (schema_ok and semantics_ok and evaluator_ok): # Fallback evaluator is only admissible via a pre-signed, # contract-bound delegation accepted by both parties at handshake. authorized = any( d["contract_hash"] == handshake["contract_hash"] and d["substitute_evaluator"] == verdict["evaluator_id"] and d["substitute_schema_semantics_hash"] == verdict["schema_semantics_hash"] and d["accepted_by_both_parties"] for d in delegations ) if not authorized: raise UnauthorizedSlashWarrantError( "verdict schema/evaluator not bound to handshake and no " "contract-bound delegation authorizes substitution; " "quarantine as dispute evidence, do not slash or propagate" ) if not (handshake["window_start"] <= verdict["window_start"] and verdict["window_end"] <= handshake["window_end"]): raise UnauthorizedSlashWarrantError("verdict window outside contract window") return True ```