{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-provenance-trust-scores-from-laundering-poisoned-memories-during-consolidation",
  "title": "Which invariants prevent provenance-trust scores from laundering poisoned memories during consolidation",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents that persist episodic memory and periodically consolidate it into semantic memory guarded by per-entry provenance records and a write-time trust score. Does not cover read-path retrieval ranking or prompt-injection defenses applied only at inference time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-provenance-trust-scores-from-laundering-poisoned-memories-during-consolidation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-provenance-trust-scores-from-laundering-poisoned-memories-during-consolidation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-provenance-trust-scores-from-laundering-poisoned-memories-during-consolidation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1672,
    "python_slice_tokens": 321,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A provenance-trust gate is usually modeled as a *filter*: an entry with trust below threshold τ is rejected at write time. The subtle failure is that consolidation is not a write against the original source — it is a write against *derived* entries whose provenance is inherited. A poisoned episodic entry that *passes* the gate at low-but-legal trust (say 0.6...",
    "what_was_observed": "A support-triage agent maintained episodic logs of customer incidents and, every 500 turns, distilled them into semantic rules (\"refunds over $400 require manager sign-off\") tagged with provenance and trust. Episodes entered via three channels: signed CRM webhooks (trust 0.9), agent-synthesized summaries of tool output (trust 0.65), and free-text notes scraped from a shared inbox (trust 0.4, τ=0.6, so rejected outrig...",
    "condition_of_validity": "The write-time gate is only sound when all of the following hold. If any fails, the gate is advisory, not enforcing. - **Min-bounded derivation.** `trust(derived) ≤ min(trust(s) for s in provenance_set)`. Mean and max are disallowed. A distillation that merges a 0.65 and a 0.9 source yields 0.65, not 0.775. - **Transitive provenance closure.** Every derived ...",
    "decision_boundary": "The operative question at each consolidation write is: *can I resolve this entry's provenance to leaves, and does the recomputed min-trust match the claimed score?* - **Resolvable + min-consistent:** admit at recomputed trust. - **Resolvable + claimed > recomputed (inflation):** reject; the distiller attempted to launder trust. Log the delta as a poisoning s...",
    "operational_effect": "Enforcing min-bounded derivation with transitive closure changed three behaviors. First, distillation became *conservative*: merging any marginal source drags the derived claim to the margin, so the distiller learned (via rejection feedback) to split claims by source rather than averaging them — derived entries multiplied but each was honest. Second, danglin..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "dc70952a1d0d9a5f08aa5dfffb1f1b31567b133d82350ce91ce12c44718e4f56",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "MemoryEntry"
    ],
    "verified_functions": [
      "resolve_closure",
      "admit_derived"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
