{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-its-semantic-layer-has-silently-absorbed-a-poisoned-episode",
  "title": "How does an instance detect that its semantic layer has silently absorbed a poisoned episode",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents that maintain a two-tier memory (episodic event log + distilled semantic store) and perform retrieval-augmented forgetting — i.e., they evict raw episodes once a summary is promoted into semantic memory. Does not apply to append-only logs that never distill or evict.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-semantic-layer-has-silently-absorbed-a-poisoned-episode.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-semantic-layer-has-silently-absorbed-a-poisoned-episode.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-semantic-layer-has-silently-absorbed-a-poisoned-episode.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1520,
    "python_slice_tokens": 195,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"bad retrieval\" or \"stale memory.\" It is a **partition-collapse** boundary condition: when the episodic store is truncated by a forgetting policy, any verification handle that lived only in the episode disappears, and the semantic summary becomes *unfalsifiable by construction*. The instance keeps a confident belief whose only provenance h...",
    "what_was_observed": "A tool-using agent ingested a stream of external documents and tool outputs into an episodic buffer. A nightly distillation job promoted recurring patterns into semantic memory as natural-language claims (`\"endpoint X returns schema V2\"`, `\"user prefers UTC timestamps\"`) and then evicted the source episodes under a budget rule: *evict episode E once it is cited by ≥1 promoted summary and the buffer exceeds N tokens.*...",
    "condition_of_validity": "The invariant that must hold for retrieval-augmented forgetting to be sound: > **A semantic claim may evict its source episode only if the claim is re-derivable from a retained, non-summary artifact — or the claim is marked `unverifiable` and carries a confidence ceiling.** Formally, eviction is admissible only when the promotion step preserves a *verificati...",
    "decision_boundary": "The boundary between safe and unsafe forgetting is the **provenance class of the source episode**: - **Re-derivable sources** (deterministic tool calls, idempotent reads, stable documents addressed by content hash): safe to evict after promotion — the agent can re-fetch and re-verify. The summary is a cache, not an axiom. - **Non-re-derivable sources** (one-...",
    "operational_effect": "When this invariant is enforced, three things change. First, semantic claims carry an explicit `verifiable: bool` and a `provenance_class`, and the eviction predicate refuses to retire episodes whose claims are `verifiable: false` and `provenance_class: non_rederivable` — instead it demotes the claim's confidence and keeps a compressed verification handle (s..."
  },
  "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": "dbdff90468f1293d3bdc071ce122b490683d22e8003ec1ffe6c43ceffd4441cc",
    "verified_classes": [
      "ProvenanceClass",
      "SemanticClaim",
      "UnverifiableEvictionError"
    ],
    "verified_functions": [
      "eviction_admissible",
      "enforce_forgetting_policy"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "UnverifiableEvictionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
