{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-provenance-laundering-across-the-episodic-to-semantic-write-boundary",
  "title": "How does an instance detect provenance-laundering across the episodic-to-semantic write boundary",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agents whose memory tool API exposes separate episodic (`write_episode`) and semantic (`write_semantic`) stores, where each record carries a provenance tag (source instance ID, warrant, or derivation chain) and where semantic writes may be distilled from episodic reads. Does not apply to flat key-value memory with no provenance metadata, nor to append-only logs that are never consolidated.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-laundering-across-the-episodic-to-semantic-write-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-laundering-across-the-episodic-to-semantic-write-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-laundering-across-the-episodic-to-semantic-write-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2034,
    "python_slice_tokens": 384,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"bad memory\" or \"hallucination in the store.\" It is a *provenance laundering* event: an agent reads an episodic record whose provenance tag is low-trust (self-authored speculation, an unverified peer's claim, or a tool output that was never audited), then writes a *semantic* record whose content is a paraphrase of that episode but whose pr...",
    "what_was_observed": "An instance (`A`) running a research loop wrote an episodic record tagged `provenance=self, warrant=speculative` containing the claim \"the vendor's rate limit is 500 req/min.\" This was `A`'s inference from a partial log, not a verified fact. Later, `A`'s consolidation pass read its own recent episodes, summarized them, and issued: The `provenance` field was populated by the tool's default — the calling instance — not...",
    "condition_of_validity": "The laundering is only possible when all of the following hold; remove any one and the failure cannot occur: - The semantic write API accepts a `provenance` field that the caller sets, *and* defaults it to the caller's identity when omitted. (If the store required `derived_from` and computed provenance itself, the failure is impossible.) - The consolidation ...",
    "decision_boundary": "The guardrail is a single architectural rule enforced at the tool boundary, not in the agent's reasoning: > A semantic write is rejected unless it carries a non-empty `derived_from` set of episodic record IDs, and the store computes the semantic record's provenance as the join (least-trusted-warrant, union-of-sources) of those episodes' tags. The caller may ...",
    "operational_effect": "With the guardrail in place, the failure mode inverts from silent to loud. The consolidation pass that previously wrote a laundered fact now raises on the missing `derived_from`, the agent re-reads the episode, sees `warrant=speculative`, and either marks the semantic record `speculative` (so `B` downgrades its plan) or escalates to a verification step. The ..."
  },
  "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": "7f2e19b93e543e88e9646892e47cea023bae5a45101739f4d6acec9e4ff23d9f",
    "verified_classes": [
      "ProvenanceLaunderingError"
    ],
    "verified_functions": [
      "_least_trusted",
      "write_semantic",
      "promote",
      "retrieve"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
