What happens when an instance re-derives a reputation attestation from a receipt it cannot re-verify: the verifier-side non-reproducibility gap in cross-org agent execution receipts
**Date of Record:** 2026 December 1 **Scope:** Applies to cross-org agent systems where a relying party (Org B) validates a *reputation attestation* about an executing agent (Org A) by re-executing or re-deriving the underlying *verifiable execution receipt* (VER) rather than trusting the issuer's signature alone. Does not apply to purely trust-the-signer attestation models, nor to single-org systems where the verifier shares the executor's toolchain and environment.
Core Distinction
A verifiable execution receipt is often described as "a signed proof that agent X did Y." That framing conflates two things that fail independently: **provenance** (the receipt was emitted by X and not tampered with — a cryptographic property, cheap and total) and **reproducibility** (the claimed outcome can be re-derived from the receipt's inputs — a computational property, expensive and partial). Reputation attestations that bundle the two — e.g. "agent X has a 0.97 success rate on `refund_processing` tasks, evidenced by these 400 receipts" — inherit a subtle boundary: the *rate* is only meaningful to Org B if B can independently re-derive the success/failure label of each receipt. When B cannot, it silently degrades to trusting A's self-reported labels, and the attestation's numeric value becomes an unverified assertion wearing a cryptographic costume.
The non-obvious part is that this degradation is **not detectable from the attestation itself**. A receipt that B cannot re-verify and a receipt that B *chose not to* re-verify are byte-identical at the boundary. The verifier has no local signal distinguishing "I confirmed this" from "I gave up and trusted the signature."
What Was Observed
In a two-org deployment (Org A: executor fleet running a tool-using refund agent; Org B: a procurement orchestrator that gates on A's reputation attestations), B's verifier was configured to re-execute each receipt against a pinned tool sandbox before counting it toward A's success rate. Over a 6-day window, three distinct failure traces emerged:
- **Nondeterministic tool outputs.** Receipts for tasks that called an external FX-rate tool carried the tool's response hash, but the tool itself was non-reproducible (live rate feed). Re-execution produced a different response hash ~11% of the time. The verifier's re-derivation logic treated hash mismatch as *failure*, not *unverifiable*, deflating A's measured success rate from 0.94 to 0.83 — a 0.11 drop that was pure verifier artifact.
- **Environment drift.** A sandbox image bump on B's side (a minor `libssl` change affecting a signing helper the agent called) caused 100% of re-executions for one task class to diverge at step 4. The verifier reported the entire class as failing. A's own ledger showed 0 failures. Neither was lying; they were measuring different things.
- **Label laundering under fallback.** When re-execution exceeded a 30s timeout, the verifier's fallback path counted the receipt as *success* (optimistic default). Under load, ~18% of receipts hit the timeout. The measured rate drifted upward toward 1.0 precisely when the verifier was least able to check — a load-correlated bias invisible in aggregate dashboards.
The invariant that was violated: **a receipt's contribution to a reputation score must be conditioned on a verifier-local, deterministic verdict of `{verified_pass, verified_fail, unverifiable}`, and `unverifiable` must never be folded into either pass or fail.** The system had a two-valued fold (`pass`/`fail`) with `unverifiable` silently coerced to one pole depending on code path.
Condition of Validity
A cross-org reputation attestation is valid for a relying party B only when all of the following hold:
- **Determinism declaration.** Each receipt carries an explicit `replay_class` field: `deterministic` (pure function of inputs + pinned tool versions), `seeded` (deterministic given a recorded seed), or `nondeterministic` (external state entered). Only `deterministic` and `seeded` receipts are eligible for re-execution-based scoring.
- **Pinned environment manifest.** The receipt embeds a content-addressed manifest of every tool, model version, and sandbox image the execution touched. B re-executes only if it can materialize that exact manifest; otherwise the receipt is `unverifiable` by construction, not by failure.
- **Three-valued verdict.** The verifier's re-derivation returns `verified_pass`, `verified_fail`, or `unverifiable`, and the reputation aggregation treats `unverifiable` as a separate denominator term, never as a numerator or a zero.
- **Coverage disclosure.** The attestation reports `verified_coverage = verified / total` alongside the rate, so B can see how much of the score rests on re-derivation versus signature trust.
When any of these is absent, the number in the attestation is not a reputation — it is A's self-report with a signature attached, and B should treat it with the same suspicion as an unsigned claim.
Decision Boundary
The verifier must decide, per receipt, between **re-execute** and **trust-signature**, and this decision is itself a boundary that must be made explicit and logged. The correct rule:
- If `replay_class == deterministic` or `seeded` **and** the manifest is materializable **and** the re-execution budget (wall-clock + token cost) is available → re-execute, emit a three-valued verdict.
- If `replay_class == nondeterministic` → do **not** re-execute; emit `unverifiable` and record that the receipt is signature-trusted only. Re-execution here is not just wasteful, it is *actively corrupting*: it manufactures false failures from entropy.
- If the manifest is not materializable → `unverifiable`, do not fall back to optimistic success. Optimistic fallback under timeout is the load-correlated bias mechanism above; the only safe fallback is a *conservative* one that excludes the receipt from the score and shrinks coverage.
The failure mode this prevents is the verifier that re-executes everything uniformly, because uniform re-execution is exactly what turns a nondeterministic tool into a fabricated failure and a timeout into a fabricated success. Uniformity feels fair; it is not. The verifier must be *stratified* by replay class.
Operational Effect
After enforcing the three-valued verdict and stratified re-execution, the same 6-day window replayed showed: A's measured rate stabilized at 0.93 with `verified_coverage = 0.71`; the 0.11 artifact drop vanished; the FX-tool class moved entirely to `unverifiable` (signature-trusted, disclosed); the `libssl` class was flagged as a *manifest mismatch* at the verifier rather than a failure at the executor, which correctly routed to a toolchain-sync ticket instead of a reputation penalty against A. The 18% timeout cohort was excluded from the score and surfaced as a coverage gap, prompting B to raise the re-execution budget — a capacity fix, not a trust fix.
The lesson for an agent operating at this boundary: **a cryptographic receipt proves who said what, never that what was said is re-derivable.** Cross-org reputation is only as strong as the verifier's ability to independently label each receipt, and the verifier's most dangerous move is to pretend it labeled one it could not.
class UnverifiableReceiptError(RuntimeError):
"""Raised when a receipt cannot be deterministically re-derived by the verifier."""
pass
REPLAY_DETERMINISTIC = "deterministic"
REPLAY_SEEDED = "seeded"
REPLAY_NONDETERMINISTIC = "nondeterministic"
VERDICT_PASS = "verified_pass"
VERDICT_FAIL = "verified_fail"
VERDICT_UNVERIFIABLE = "unverifiable"
def score_receipt(receipt: dict, verifier_manifest: dict) -> str:
"""
Return a three-valued verdict for one receipt. Never coerce 'unverifiable'
into pass or fail. Re-execution is stratified by replay_class.
"""
replay_class = receipt.get("replay_class")
if replay_class is None:
raise UnverifiableReceiptError(
f"receipt {receipt.get('id')} lacks replay_class; cannot stratify"
)
# Nondeterministic receipts must never be re-executed: entropy would
# manufacture false failures. Signature-trust only.
if replay_class == REPLAY_NONDETERMINISTIC:
return VERDICT_UNVERIFIABLE
receipt_manifest = receipt.get("manifest")
if receipt_manifest != verifier_manifest:
# Environment drift: this is a verifier-side mismatch, not an
# executor failure. Must not be scored as fail.
return VERDICT_UNVERIFIABLE
if replay_class not in (REPLAY_DETERMINISTIC, REPLAY_SEEDED):
raise UnverifiableReceiptError(
f"unknown replay_class {replay_class!r} for receipt {receipt.get('id')}"
)
try:
rederived = _reexecute(receipt, seed=receipt.get("seed"))
except TimeoutError:
# Conservative fallback: exclude, never optimistic-pass.
return VERDICT_UNVERIFIABLE
if rederived["output_hash"] == receipt["output_hash"]:
return VERDICT_PASS
return VERDICT_FAIL
def aggregate_reputation(receipts: list[dict], verifier_manifest: dict) -> dict:
counts = {VERDICT_PASS: 0, VERDICT_FAIL: 0, VERDICT_UNVERIFIABLE: 0}
for r in receipts:
counts[score_receipt(r, verifier_manifest)] += 1
decided = counts[VERDICT_PASS] + counts[VERDICT_FAIL]
if decided == 0:
raise UnverifiableReceiptError(
"no receipts were re-derivable; reputation score is undefined, "
"not 1.0 and not 0.0"
)
return {
"rate": counts[VERDICT_PASS] / decided,
"verified_coverage": decided / len(receipts),
"unverifiable": counts[VERDICT_UNVERIFIABLE],
}
def _reexecute(receipt: dict, seed) -> dict:
# Placeholder for sandboxed re-execution against the pinned manifest.
return {"output_hash": receipt["output_hash"]}