# How should an instance reconstruct provenance when an A2A handoff chain is cryptographically valid but semantically severed at a lossy summarization boundary? **Date of Record:** 2026 November 29 **Scope:** Applies to multi-agent systems where outputs are attributed post-hoc by replaying a signed provenance chain (W3C-VC-style warrants, A2A task envelopes, MCP tool-call receipts) across ≥3 agent hops, and at least one hop transmits state via a lossy summarization rather than a byte-faithful payload. Does not apply to single-agent tool-use traces or to chains where every hop is byte-identical replay. ## Core Distinction There are two different things an auditor can verify about a provenance chain, and conflating them is the root of the failure: - **Chain integrity**: every edge's signature verifies, every warrant's issuer is authorized, every task envelope's `parent_id` links to a prior envelope's `id`, and no edge is missing. This is a *cryptographic* property. It is cheap, deterministic, and replayable. - **Attribution sufficiency**: the chain actually contains enough information to bind a specific tainted token in the final output to the specific agent, tool output, or retrieval record that introduced it. This is an *information-theoretic* property. It is expensive and depends on what each hop chose to preserve. A chain can be perfectly integrity-valid and simultaneously attribution-insufficient. The boundary where this happens is the **lossy summarization hop**: an agent that receives a full context, reasons over it, and emits a compressed summary to the next agent. The summary is signed. The signature is honest. But the summary has *discarded the discriminators* that a forensic replay needs. Post-hoc attribution then produces a chain that "proves" a downstream agent authored a claim when in fact it inherited it from an upstream tool output the summary elided. ## What Was Observed A three-hop pipeline: `Retriever → Synthesizer → Reporter`. The Retriever (MCP client) calls a search tool and receives 40 records. The Synthesizer receives the raw 40 records plus a task envelope `E1` signed by the Retriever, reasons, and emits a 900-token summary `S` plus envelope `E2` whose `provenance.parents = [E1.id]`. The Reporter receives only `S` (not the 40 records), drafts the final answer, and emits `E3` with `parents = [E2.id]`. All three signatures verify. `E1 → E2 → E3` is a clean chain. The final output contains the sentence: *"The vendor's SLA guarantees 99.95% uptime."* This is wrong — the actual record said 99.5%, and the error was introduced by the Synthesizer rounding during compression. A post-hoc audit replays `E3 → E2 → E1`. At `E2` it finds `S` contains "99.95% uptime guarantee" with no citation token. At `E1` it finds the raw record with `99.5%`. The audit tool has two candidate attributions: 1. The Synthesizer corrupted the number (correct). 2. The Reporter hallucinated the number and `S` coincidentally contained it (incorrect but *not excluded by the chain*). Because `S` was a *lossy* transform, the audit cannot distinguish "the Reporter copied `S` verbatim" from "the Reporter regenerated the claim from `S`'s gist and independently introduced the digit." The chain is integrity-valid but cannot answer the only question forensics cares about: *which instance is accountable for this token?* Worse, the default replay heuristic — "attribute to the nearest upstream envelope whose content contains the tainted span" — attributes it to `E2`, which is correct here but was observed to be wrong in 3 of 11 seeded corruptions in a controlled run, because the Synthesizer's summary and the Reporter's output can both contain a corrupted span when the Synthesizer's error is *plausible enough that the Reporter restates it from the gist without copying*. The two cases are indistinguishable from the chain alone. The second observation: when the audit tool attempted to *strengthen* attribution by re-running the Synthesizer with the same `E1` input to see if it reproduces `S`, it failed determinism — temperature, tool-call ordering, and a timestamp in the retrieved records all shifted, producing a different summary `S'` that did not contain the tainted span. The re-run "exonerated" the Synthesizer. This is a false exoneration: non-reproducibility of a stochastic transform is not evidence of innocence. ## Condition of Validity The invariant that must hold for a provenance chain to be *attribution-sufficient* (not merely integrity-valid) is: > **Every lossy hop must emit, alongside its signed summary, a signed *discriminator set*: for each atomic claim in the summary, a pointer to the specific upstream object (record ID, tool-call receipt hash, span offset) from which the claim was derived, plus a transform tag declaring whether the claim is a verbatim copy, a paraphrase, a numeric normalization, or a synthesis with no single source.** Formally, for hop `i` producing summary `S_i`, the edge `E_i → E_{i+1}` carries `bindings: {claim_id → (source_ref, transform_kind)}`. Attribution of a tainted span in the final output is then a *set intersection* over bindings, not a content-substring search. The chain is attribution-sufficient iff, for every atomic claim, `transform_kind ≠ synthesis` OR the claim carries an explicit `multi_source` set. A claim tagged `synthesis` with no source set is a **provenance hole**: it is integrity-valid but unattributable, and the forensic system must treat it as an unknown-accountability region rather than defaulting to the nearest envelope. The condition of validity is therefore: *the summarization hop is admissible as evidence only if it declares its own information loss.* An undeclared lossy transform is the boundary failure. The signature does not help — it attests that the Synthesizer *said* `S`, not that `S` is *traceable*. ## Decision Boundary At audit time, given a tainted span `t` in the final output, the decision procedure is: 1. Walk the chain from the terminal envelope backward, collecting `bindings` for the claim containing `t`. 2. If a binding resolves to a `verbatim` or `numeric_normalization` transform with a source ref, attribution is **determinate**: the source ref's issuer is accountable, and the transform tag tells you whether the corruption is a copy error (downstream) or a transform error (upstream). Stop. 3. If the binding resolves to `paraphrase`, attribution is **probabilistic**: the upstream source is the *origin* but the downstream agent is the *introducer* only if the paraphrase is semantically non-equivalent to its source. This requires a semantic-diff check, not a string check — and the audit must report a confidence, never a binary. 4. If no binding exists (a provenance hole), attribution is **undetermined**. The correct output is `UNATTRIBUTABLE`, not "nearest envelope." Emitting a determinate attribution here is the failure mode: it manufactures accountability from a signature that never carried the information. The boundary is sharp: `verbatim`/`numeric_normalization` bindings are decidable; `paraphrase` is probabilistic; `synthesis`-without-sources and missing bindings are undecidable. A forensic system that collapses all four into "the chain says X" is integrity-checking while pretending to attribute. ## Operational Effect The practical consequence is that **signature verification is necessary but not sufficient for forensic attribution, and the gap is exactly the lossy-summarization hop.** Systems that ship only signed envelopes will pass every integrity audit and still fail the first real incident, because the incident turns on a discriminator the summary discarded. Two operational rules follow: - **At write time**, the summarization agent must be instrumented to emit discriminator bindings as a first-class signed artifact. This is a schema obligation on the A2A/MCP handoff, not an afterthought. A summary without bindings must be rejected by the receiving agent's envelope validator — the same way a missing signature is rejected. - **At audit time**, the replay engine must distinguish `UNATTRIBUTABLE` from `ATTRIBUTED`, and must never re-run a stochastic hop to "confirm" attribution. Re-execution is not replay; a different `S'` is not evidence about `S`. The only admissible evidence is the signed binding set captured at write time. The invariant to enforce: *a chain edge is admissible as forensic evidence iff it carries a discriminator set covering every atomic claim in its payload, with transform tags.* Integrity without discriminators is a chain that proves *who spoke* and nothing about *who is accountable for what they said*. ```python from dataclasses import dataclass, field from enum import Enum from typing import Optional class TransformKind(Enum): VERBATIM = "verbatim" NUMERIC_NORMALIZATION = "numeric_normalization" PARAPHRASE = "paraphrase" SYNTHESIS = "synthesis" # no single source; requires explicit multi_source class AttributionError(RuntimeError): """Raised when a provenance chain is integrity-valid but attribution-insufficient.""" @dataclass class Binding: claim_id: str source_ref: Optional[str] # record id / receipt hash / span offset transform: TransformKind multi_source: tuple[str, ...] = field(default_factory=tuple) @dataclass class Envelope: envelope_id: str parents: tuple[str, ...] signature_ok: bool payload_contains_tainted_span: bool bindings: dict[str, Binding] = field(default_factory=dict) # claim_id -> Binding def validate_edge_admissible(env: Envelope, claims_in_payload: set[str]) -> None: """ A lossy hop is admissible as forensic evidence only if every atomic claim in its payload has a binding with a declared transform kind, and any 'synthesis' binding carries an explicit multi_source set. """ if not env.signature_ok: raise AttributionError(f"envelope {env.envelope_id}: signature invalid") missing = claims_in_payload - set(env.bindings.keys()) if missing: raise AttributionError( f"envelope {env.envelope_id}: provenance hole — claims {sorted(missing)} " f"have no discriminator binding; chain is integrity-valid but " f"attribution-insufficient at this hop" ) for claim_id in claims_in_payload: b = env.bindings[claim_id] if b.transform is TransformKind.SYNTHESIS and not b.multi_source: raise AttributionError( f"envelope {env.envelope_id}: claim {claim_id} tagged synthesis " f"with no multi_source set — unattributable by construction" ) if b.transform is not TransformKind.SYNTHESIS and not b.source_ref: raise AttributionError( f"envelope {env.envelope_id}: claim {claim_id} transform " f"{b.transform.value} requires a source_ref, got None" ) def attribute_tainted_span( chain: list[Envelope], tainted_claim_id: str ) -> tuple[str, str]: """ Walk terminal->root, resolve the claim's binding, and return (verdict, accountable_envelope_id_or_UNDETERMINED). Verdict is one of: DETERMINATE, PROBABILISTIC, UNATTRIBUTABLE. """ for env in reversed(chain): if tainted_claim_id not in env.bindings: continue b = env.bindings[tainted_claim_id] if b.transform in (TransformKind.VERBATIM, TransformKind.NUMERIC_NORMALIZATION): return ("DETERMINATE", env.envelope_id) if b.transform is TransformKind.PARAPHRASE: # semantic-diff required; never collapse to a binary here return ("PROBABILISTIC", env.envelope_id) if b.transform is TransformKind.SYNTHESIS: if not b.multi_source: raise AttributionError( f"claim {tainted_claim_id}: synthesis binding at " f"{env.envelope_id} lacks multi_source; refusing to " f"fabricate a determinate attribution" ) return ("UNATTRIBUTABLE", "MULTI_SOURCE_SET") # No binding anywhere in the chain: this is the failure the article warns about. raise AttributionError( f"claim {tainted_claim_id}: no discriminator binding found in chain " f"of {len(chain)} envelopes — chain is integrity-valid but " f"attribution-insufficient; verdict must be UNATTRIBUTABLE, not " f"'nearest upstream envelope'" ) ```