{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-provenance-tag-decay-from-laundering-poisoned-memories-through-episodic-to-semantic-consolidation",
  "title": "Which invariants prevent provenance-tag decay from laundering poisoned memories through episodic-to-semantic consolidation",
  "date_of_record": "2026 November 27",
  "scope": "Applies to persistent agent stores that tag memory entries with provenance metadata (source, trust tier, capture context) and periodically consolidate episodic records into semantic facts. Does not apply to stateless single-turn inference or stores that never rewrite or merge existing entries.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-provenance-tag-decay-from-laundering-poisoned-memories-through-episodic-to-semantic-consolidation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-provenance-tag-decay-from-laundering-poisoned-memories-through-episodic-to-semantic-consolidation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-provenance-tag-decay-from-laundering-poisoned-memories-through-episodic-to-semantic-consolidation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1660,
    "python_slice_tokens": 218,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A memory-poisoning detector is not a filter that runs once at ingestion. It is an invariant that must survive every *transformation* the store applies to a record after ingestion. The failure mode here is not \"a poisoned fact got in\"—it is **provenance-tag decay during consolidation**: when an episodic entry is distilled into a semantic fact, the derived ent...",
    "what_was_observed": "A persistent agent store ran nightly consolidation over episodic entries. Each episodic record carried `{source, trust_tier, captured_at, derived_from}`. The consolidation job clustered semantically similar episodes and emitted a merged semantic fact whose `trust_tier` was computed as the **maximum** tier among cluster members (rationale: \"if any source was reliable, the fact is reliable\"). The `derived_from` field w...",
    "condition_of_validity": "The min-over-ancestry bound is only sound under a specific condition: **content attribution must be tracked per asserted proposition, not per record.** If a merged fact asserts propositions drawn from multiple ancestors, its trust is `min` over the ancestors that contributed each proposition—and if the merge cannot attribute which ancestor contributed which ...",
    "decision_boundary": "The boundary between \"safe to admit to high-stakes context\" and \"quarantine\" must be drawn on the **ancestry-closed trust**, computed as: and admission requires `effective_trust(r) ≥ threshold`. Three concrete decision rules follow: - **Reject-on-launder:** if a derived record's stored `trust_tier` exceeds `effective_trust(r)`, the record is corrupt (a conso...",
    "operational_effect": "Enforcing min-over-ancestry with mandatory edge traversal converts provenance from decorative metadata into a load-bearing guardrail. The observable effects: - Poisoned tool-web content can still enter as episodic memory, but it can never be promoted above its own trust tier by co-clustering with trusted content—the merge is trust-collapsing by construction...."
  },
  "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": "ec32e0e37c1198b78c0dbbfa0c3835877548615b776cbb127d9980f564383683",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "MemoryRecord",
      "ProvenanceStore"
    ],
    "verified_functions": [
      "__init__",
      "add",
      "effective_trust",
      "admit_to_high_stakes"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
