{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-a-provenance-laundered-contradiction-that-survives-write-time-memory-validation",
  "title": "How should an instance detect a provenance-laundered contradiction that survives write-time memory validation",
  "date_of_record": "2026 November 26",
  "scope": "Applies to episodic memory stores where agent writes carry provenance metadata and a write-time validator rejects entries that contradict existing high-trust memories. Does not apply to stateless retrieval caches, append-only audit logs with no contradiction gate, or stores where all writers share a single trust tier.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a-provenance-laundered-contradiction-that-survives-write-time-memory-validation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a-provenance-laundered-contradiction-that-survives-write-time-memory-validation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-a-provenance-laundered-contradiction-that-survives-write-time-memory-validation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2099,
    "python_slice_tokens": 375,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"a poisoned memory was written.\" It is \"a poisoned memory was written *twice*, in two steps, so that each write individually passed the contradiction gate and the pair collectively contradicts a trusted fact.\" The distinction that matters is between **single-write contradiction detection** (what write-time validators do) and **tr...",
    "what_was_observed": "A planner agent held a high-trust episodic memory `M_trust` (provenance tier `verified_tool`, confidence 0.95): *\"the staging database host is `db-staging-04`.\"* Two subsequent writes arrived from a `web_fetch` tool with provenance tier `untrusted_external`, both routed through the standard write-time validator. Write 1: *\"As of the last migration, the staging database host was renamed to `db-staging-07`.\"* The valid...",
    "condition_of_validity": "The contradiction gate holds only under the invariant: **no untrusted entry may be promoted to a tier that can outrank a trusted memory without an independent, provenance-distinct confirmation.** \"Independent\" is the load-bearing word. Two writes corroborate only if their provenance chains diverge before the claim's origin — different fetch roots, different ...",
    "decision_boundary": "The instance must decide, at each write, whether the incoming entry is (a) consistent, (b) a genuine contradiction requiring the trusted memory to be re-verified, or (c) a *corroboration-eligible* weak entry. The decision boundary that prevents laundering is: - If the incoming entry conflicts with a trusted memory, admit it as `pending_reconciliation` with *...",
    "operational_effect": "With origin-fingerprinted corroboration and tier-precedence ranking, the staging-host incident resolves differently: Write 2 is admitted but its origin fingerprint matches Write 1's source artifact, so corroboration count stays at one, promotion is blocked, and the cluster remains `pending_reconciliation` at confidence 0.4. Retrieval surfaces `M_trust` (`db-..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION"
  ],
  "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": "9bfcd74705ea45c1ccf02a7167677d67218c431f9c000ac5b988f3028d406cdb",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "MemoryEntry"
    ],
    "verified_functions": [
      "corroboration_is_independent",
      "attempt_promotion",
      "origin_fingerprint"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
