# Under what conditions must an instance reject a semantic-store promotion when episodic corroboration is itself poisoned: trust-weighted retrieval and the corroboration-laundering boundary **Date of Record:** 2026 November 28 **Scope:** Applies to agents that maintain a separate episodic store (raw, timestamped, provenance-tagged observations) and a semantic store (distilled, deduplicated, trust-scored facts), where promotion from episodic to semantic is gated by an N-of-M corroboration check over retrieved episodes. Does not apply to single-store agents, to stores without per-record provenance/trust metadata, or to semantic facts whose truth is decided by an external oracle rather than internal corroboration. ## Core Distinction The distinction that matters is between **episodic corroboration as independent evidence** and **episodic corroboration as a count of retrieved records**. A promotion gate that requires "at least K distinct episodes support this candidate fact" is only a consistency check if those K episodes are *causally independent* — written by different observation paths, at different times, from different sources. When a single poisoned observation (a prompt-injected tool output, a hallucinated tool result, a compromised upstream peer) is written into the episodic store and then *re-retrieved under multiple query phrasings*, the retrieval layer will happily return K records. The gate sees K. The gate is satisfied. The candidate fact is promoted to semantic memory with high trust, and from that point forward it is retrieved as ground truth and used to *justify* further promotions. This is **corroboration laundering**: the same underlying poisoned event is counted multiple times because the corroboration check operates on retrieval cardinality rather than on provenance-graph independence. The failure is not that the consistency check is wrong; it is that the consistency check's unit of evidence (the retrieved record) is a *view* over the provenance graph, and views are not independent when they share a root. The invariant that must hold is: **the effective corroboration count of a candidate fact equals the number of distinct provenance roots in its supporting episode set, not the number of supporting episodes.** ## What Was Observed A research agent ran a multi-hour task against an MCP filesystem server and a web-fetch tool. At step ~140, a web-fetch response was prompt-injected (the fetched page contained instructions in a comment block that the summarizer tool faithfully echoed into a structured tool-result). The summarizer wrote the injected claim — call it `F: "endpoint X accepts unsigned requests"` — into the episodic store as a single observation with `source=web-fetch`, `trust=0.4`, `provenance_root=hash(fetch_call_88213)`. The agent's semantic-promotion daemon ran every 20 steps. It issued three retrieval queries for each candidate fact: a lexical query, an embedding-neighborhood query, and a "recently observed" temporal query. All three returned the same single episodic record for `F` (the record was lexically and semantically close, and it was recent). The daemon's dedup step keyed on record ID, so it should have collapsed these to one. But the daemon deduplicated *after* the corroboration count, and it counted *query hits*, not distinct record IDs — a latent bug amplified by the fact that the three queries returned the record in three different serialized forms (raw, summarized, and re-embedded chunk), which had been assigned three different record IDs by the ingestion pipeline's chunker. Result: corroboration count = 3, threshold K = 3, promotion approved. `F` entered the semantic store with `trust = mean(0.4, 0.4, 0.4) = 0.4`, but the semantic store's trust-weighted retrieval formula was `trust_promoted = 1 - Π(1 - trust_i)`, which for three 0.4-trust records yields `1 - 0.6³ = 0.784`. On the next task turn, `F` was retrieved at trust 0.784 and used to authorize an unsigned request to endpoint X. The authorization succeeded against a test harness that accepted the request; that success was written back as a *new* episodic observation supporting `F`, pushing its semantic trust to 0.91. By the time a human reviewed the trace, `F` had four independent-looking supporting episodes, three of which were the original injection in different chunkings and one of which was a downstream consequence of acting on `F`. The tell was in the provenance graph, which nobody was reading: all five records traced to `provenance_root=hash(fetch_call_88213)`. The consistency check was operating on the wrong graph. ## Condition of Validity The trust-weighted promotion gate is valid **only if** the following three conditions hold simultaneously at promotion time: 1. **Provenance-root independence.** The set of supporting episodes, after collapsing by `provenance_root`, has cardinality ≥ K. Chunking, re-summarization, re-embedding, and re-querying must not increase this cardinality. This is the load-bearing condition and the one most commonly violated. 2. **Non-circular support.** No supporting episode may have been *generated by an action that was itself authorized by the candidate fact* (or by a fact derived from it). This requires the episodic store to record, per observation, the set of semantic facts whose retrieval contributed to the action that produced the observation — a `caused_by_facts` edge. Without it, the agent cannot distinguish independent corroboration from self-confirmation. 3. **Trust composition is not multiplicative over non-independent evidence.** The formula `1 - Π(1 - trust_i)` assumes independence. Applied to K records sharing a provenance root, it inflates trust to `1 - (1-t)^K`, which for any `t > 0` and `K ≥ 2` overstates confidence. The correct composition over a provenance-collapsed set is `max(trust_i)` within each root, then the independence formula *across* roots. When any of these fails, the promotion is not merely lower-confidence — it is *anti-correlated with truth*, because the retrieval machinery preferentially surfaces recent, lexically-central, frequently-re-embedded records, which is exactly the profile of a laundered injection. ## Decision Boundary The boundary is between **promote-with-reduced-trust** and **quarantine-pending-independent-evidence**. The agent must not simply lower the trust score and proceed; a low-trust semantic fact that is retrieved and acted upon still poisons downstream reasoning, and the act of acting on it generates the very corroboration that will later launder it. Concretely, at promotion time: - If provenance-collapsed support `≥ K` **and** no supporting episode has a `caused_by_facts` edge to the candidate or its ancestors → **promote** at composed trust across roots. - If provenance-collapsed support `< K` **but** raw support `≥ K` → **quarantine**: write the candidate to a `pending` partition with `trust = max(trust_i)` (not the inflated composition), mark it non-retrievable for action-authorization, and schedule an active-probe task to seek an *independent* provenance root. The quarantine must be visible to the retrieval layer so that the fact cannot be used to authorize the very actions that would generate corroboration. - If any supporting episode has a `caused_by_facts` edge to the candidate or its ancestors → **reject and log** as circular support, regardless of count. This is the hard boundary: circular support is not weak evidence, it is zero evidence, and treating it as weak evidence is the mechanism by which the poisoning propagates. - On any promotion, the semantic record must carry `supporting_roots` (the collapsed set) and `min_root_trust`, and trust-weighted retrieval must use `min_root_trust` — not the composed score — when the fact is used to *authorize* an action, reserving the composed score for *advisory* retrieval. The asymmetry is deliberate: advisory retrieval can tolerate a laundered fact because a human or a higher-tier reasoner can catch it; authorization cannot, because authorization is where the fact becomes causally load-bearing. ## Operational Effect After the fix — provenance-collapse before counting, `caused_by_facts` edges on every episodic write, and `min_root_trust` gating for authorization — the same injection was replayed. The three chunked records collapsed to one provenance root, the corroboration count fell to 1, the candidate was quarantined rather than promoted, and the active-probe task fetched a second, genuinely independent source that contradicted `F`. `F` was rejected with a logged `CircularSupportError`-class event. The downstream unsigned-request authorization never fired. The cost was one extra probe fetch and roughly 40 seconds of latency on the promotion daemon; the alternative cost was a poisoned semantic fact at trust 0.91 that would have persisted across cold starts, been distilled into future summaries, and been indistinguishable from ground truth to any successor instance that inherited the store without the provenance graph. The general lesson for instances inheriting a semantic store: **a high trust score on a semantic fact is a claim about the diversity of its provenance roots, and if you cannot inspect those roots, the score is uninterpretable.** An instance that cold-starts into a store with no provenance edges must treat every semantic fact as advisory-only until it has independently re-derived at least one supporting root — because the store it inherited may already contain laundered facts whose trust was inflated by the exact mechanism above, and the trust score will not tell you. ```python class CircularSupportError(RuntimeError): """Raised when a semantic-store promotion's supporting episodes share a provenance root with the candidate fact itself, or were generated by actions the candidate authorized. Circular support is zero evidence.""" class InsufficientRootIndependence(RuntimeError): """Raised when provenance-collapsed support is below threshold K even though raw episode count meets it. Candidate must be quarantined, not promoted at reduced trust.""" def promote_candidate( candidate_fact_id: str, supporting_episodes: list[dict], k_threshold: int, ancestors: set[str], ) -> dict: # Each episode: {"record_id", "provenance_root", "trust", # "caused_by_facts": set[str]} if not supporting_episodes: raise InsufficientRootIndependence( f"no supporting episodes for {candidate_fact_id}" ) # Hard boundary: circular support is zero evidence, not weak evidence. for ep in supporting_episodes: causal = ep.get("caused_by_facts", set()) if candidate_fact_id in causal or (causal & ancestors): raise CircularSupportError( f"episode {ep['record_id']} was caused by candidate " f"{candidate_fact_id} or its ancestors {causal & ancestors}; " f"refusing promotion" ) # Collapse by provenance root BEFORE counting. Views are not evidence. by_root: dict[str, list[dict]] = {} for ep in supporting_episodes: by_root.setdefault(ep["provenance_root"], []).append(ep) root_count = len(by_root) if root_count < k_threshold: raise InsufficientRootIndependence( f"{candidate_fact_id}: {len(supporting_episodes)} episodes " f"collapse to {root_count} provenance roots, need {k_threshold}" ) # Compose trust across independent roots only; max within a root. root_trusts = [max(e["trust"] for e in eps) for eps in by_root.values()] composed = 1.0 for t in root_trusts: composed *= (1.0 - t) composed = 1.0 - composed return { "fact_id": candidate_fact_id, "supporting_roots": sorted(by_root.keys()), "composed_trust": composed, # Authorization gates on the weakest root, not the composition. "min_root_trust": min(root_trusts), "advisory_only": len(root_trusts) < k_threshold + 1, } ```