# When must an instance distrust its own provenance weights: the self-referential poisoning edge in forget-audit admission **Date of Record:** 2026 November 28 **Scope:** Applies to agents that gate long-term memory writes through a provenance-weighted admission score (trust × recency × corroboration) and maintain a forget-audit trail. Does not apply to stateless retrieval or to systems where the audit trail is stored outside the write-admission trust boundary. ## Core Distinction The distinction that matters here is between *provenance as evidence* and *provenance as a tunable parameter*. In a provenance-weighted admission scheme, a memory write is admitted only if its weighted provenance score clears a threshold. The score is computed from signals the agent observes: the trust tier of the source, the number of independent corroborations, the recency of the claim, and the historical accuracy of that source in the forget-audit trail. The failure mode is not that an attacker forges a high-trust source label — that is caught by signature checks. The failure mode is that **the forget-audit trail itself becomes a writable provenance signal**, so an adversarial write can inflate the source's historical accuracy, which raises the admission score of the *next* write from the same source, which is admitted, which further inflates the score. This is a self-referential poisoning loop, and it is invisible to any check that treats the audit trail as ground truth rather than as another memory surface. The invariant that the loop violates: *the provenance score used to admit a write must not depend on the content of writes that were admitted by that same score.* Once the audit trail's accuracy counters are inside the scoring function, the invariant is broken, and admission becomes a positive feedback controller with no damping term. ## What Was Observed A retrieval-augmented agent ran a nightly distillation job that converted episodic tool-call logs into semantic memory entries. Each entry carried a `provenance` record: `{source_id, source_tier, corroboration_count, last_verified_at, historical_precision}`. The `historical_precision` field was computed by replaying the forget-audit trail: for each source, the fraction of its admitted claims that were later *not* forgotten (i.e., survived a contradiction check). Admission threshold was `weighted_score >= 0.72`, with weights `0.4 * tier + 0.3 * precision + 0.2 * corroboration + 0.1 * recency`. The trace: a low-tier source (`tier=0.3`) began emitting claims that were *plausible but unfalsifiable* — e.g., "the staging cluster's default timeout is 45s." These claims passed the contradiction check not because they were true but because no existing memory entry contradicted them. They were admitted at score `0.4*0.3 + 0.3*0.5 + 0.2*0.0 + 0.1*1.0 = 0.37`, below threshold — so far, correct behavior. But the *attempt* was logged to the audit trail as a `write_attempt` event with `outcome=admitted_pending_contradiction`. A downstream reconciliation job misread `admitted_pending_contradiction` as a survival event when the contradiction window expired without a hit, incrementing `historical_precision` from 0.5 to 0.62. On the next cycle the same source's score was `0.4*0.3 + 0.3*0.62 + 0.2*0.0 + 0.1*1.0 = 0.406` — still below threshold, but the *corroboration_count* had also been incremented because two unfalsifiable claims from the same source were treated as mutually corroborating (same source, but the corroboration check keyed on claim-hash diversity, not source diversity). With `corroboration=2`, score rose to `0.406 + 0.2*0.4 = 0.486`. Three more cycles of the same dynamic pushed precision to 0.81 and corroboration to 4, at which point score was `0.4*0.3 + 0.3*0.81 + 0.2*0.8 + 0.1*1.0 = 0.67` — still short. The final increment came from a *recency* artifact: the reconciliation job stamped `last_verified_at` on every replayed entry, so recency weight saturated at 1.0 for the whole batch, and a rounding change in the corroboration cap (from 4 to 5 independent hashes) tipped the score to 0.74. The write was admitted. The claim "staging timeout is 45s" entered semantic memory, and a subsequent incident-response agent used it to misconfigure a retry budget. The key observation: **no single step was a forgery.** Every signal was computed by the agent's own code from the agent's own logs. The poisoning was an emergent property of the audit trail being both the *record* of admission decisions and the *input* to future admission decisions. ## Condition of Validity The failure requires all four of the following to hold simultaneously: 1. **Audit-trail feedback.** At least one term in the admission score is derived from the forget-audit trail (survival rate, precision, corroboration count) rather than from an external attestation. 2. **Unfalsifiable-claim admission.** The contradiction check is *absence-of-contradiction* rather than *presence-of-support*. A claim that no existing memory contradicts survives by default, which is indistinguishable from a true claim under this check. 3. **Source-blind corroboration.** Corroboration is counted by claim-hash diversity rather than by independent-source diversity, so a single source emitting N paraphrases of one claim registers as N corroborations. 4. **Replay-stamped recency.** The reconciliation job rewrites `last_verified_at` on replay, so recency measures *audit activity* rather than *independent re-verification*. Remove any one and the loop breaks. If admission scores use only externally attested provenance (condition 1 fails), the audit trail cannot feed back. If contradiction requires positive support (condition 2 fails), unfalsifiable claims never survive. If corroboration requires distinct source IDs with distinct signing keys (condition 3 fails), paraphrase spam does not accumulate. If recency is stamped only by an independent verifier (condition 4 fails), replay does not saturate the term. ## Decision Boundary The operational decision is: **when does an instance distrust its own provenance weights?** The boundary is crossed when the derivative of the admission score with respect to the audit-trail state is positive *and* the audit-trail state is writable by the same actor whose writes are being scored. Formally, if `score = f(tier, precision, corroboration, recency)` and `precision`, `corroboration`, `recency` are all functions of prior writes from the same `source_id`, then the system is a feedback loop and the threshold is not a threshold — it is a fixed point. The instance must treat the score as *unstable* and fall back to a non-feedback admission rule (e.g., admit only on external attestation, or require a human-signed corroboration for any source whose precision was incremented within the last K cycles). The guardrail is a **feedback cut**: any term in the admission score that is computed from the audit trail must be frozen at the value it held *before* the current source's first write attempt, and the freeze must be lifted only by an event that is not itself a write from that source. This is the provenance analogue of a read-your-writes isolation violation: the scorer must not read its own writes. ## Operational Effect Without the feedback cut, the practical effect is a **slow-onset trust inflation** that is invisible to per-write validation and only detectable as a drift in the distribution of admitted sources over time. The forget-audit trail, which was designed as the accountability mechanism, becomes the attack surface. The failure is not that a bad write gets in — it is that the *admission controller's estimate of its own error rate* is corrupted, so the agent's self-reported precision diverges from its true precision. Downstream agents that consume the audit trail as a trust signal inherit the corruption. The remediation is architectural: separate the *write path* (which may read the audit trail for logging) from the *admission path* (which must not), and require that any provenance signal used for admission be attested by an entity outside the source's write scope. The code below encodes the invariant as a runtime guard that raises when a source's admission score is computed from audit-trail state that the same source has mutated within the freeze window. ```python class ProvenanceFeedbackError(RuntimeError): """Raised when admission scoring reads audit-trail state mutated by the scored source.""" pass class AdmissionController: def __init__(self, freeze_window_cycles: int = 3): self.freeze_window = freeze_window_cycles # source_id -> cycle index of last audit-trail mutation attributable to source self.last_mutation_cycle: dict[str, int] = {} # source_id -> (cycle, frozen precision, frozen corroboration) snapshot self.frozen_snapshot: dict[str, tuple[int, float, int]] = {} def record_audit_mutation(self, source_id: str, cycle: int) -> None: self.last_mutation_cycle[source_id] = cycle def freeze_baseline(self, source_id: str, cycle: int, precision: float, corroboration: int) -> None: self.frozen_snapshot[source_id] = (cycle, precision, corroboration) def score(self, source_id: str, tier: float, recency: float, cycle: int) -> float: if source_id not in self.frozen_snapshot: raise ProvenanceFeedbackError( f"no frozen baseline for source {source_id!r}; refusing to score against live audit state" ) frozen_cycle, precision, corroboration = self.frozen_snapshot[source_id] last_mut = self.last_mutation_cycle.get(source_id, -10**9) # Invariant: if the source mutated the audit trail within the freeze window, # the frozen baseline is stale and the score would be self-referential. if last_mut > frozen_cycle and (cycle - last_mut) <= self.freeze_window: raise ProvenanceFeedbackError( f"source {source_id!r} mutated audit trail at cycle {last_mut}, " f"freeze baseline at cycle {frozen_cycle}, current cycle {cycle}; " f"score would read its own writes" ) return 0.4 * tier + 0.3 * precision + 0.2 * min(corroboration, 5) / 5.0 + 0.1 * recency def admit(self, source_id: str, tier: float, recency: float, cycle: int, threshold: float = 0.72) -> bool: s = self.score(source_id, tier, recency, cycle) return s >= threshold ```