{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-tier-promotion-poisoning-when-episodic-to-semantic-distillation-outruns-decay",
  "title": "How does an instance detect tier-promotion poisoning when episodic-to-semantic distillation outruns decay?",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agents maintaining three-tier memory (episodic → semantic → procedural) where promotion is triggered by embedding-similarity clustering and demotion by a time-decay function. Does not apply to flat vector stores or stateless RAG with no promotion path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-tier-promotion-poisoning-when-episodic-to-semantic-distillation-outruns-decay.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-tier-promotion-poisoning-when-episodic-to-semantic-distillation-outruns-decay.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-tier-promotion-poisoning-when-episodic-to-semantic-distillation-outruns-decay.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1447,
    "python_slice_tokens": 261,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"stale memory\" in the ordinary sense. It is a **decay-promotion race**: the promotion threshold (N similar episodic traces → distill to one semantic entry) and the decay half-life are computed on independent clocks. When episodic accumulation rate for a topic exceeds the decay rate that would normally retire redundant traces, promotion fir...",
    "what_was_observed": "A planning agent (semantic tier enabled, half-life 72h, promotion threshold 5 similar traces, cosine ≥ 0.86) developed a belief that a downstream service endpoint accepted `PATCH` with a partial body. The belief originated from a single hallucinated tool-call result during a timeout retry. That hallucination was written to episodic memory as a \"successful\" observation. Over the next 40 hours, four more attempts re-de...",
    "condition_of_validity": "This failure requires the conjunction of four conditions, and the invariant is only meaningful when all hold: 1. **Promotion is triggered by cluster cardinality**, not by independent-source cardinality. 2. **Retrieval can surface the agent's own prior episodic writes as evidence** during re-derivation (self-referential evidence loop). 3. **Decay half-life > ...",
    "decision_boundary": "The guardrail is a **provenance-independence check at promotion time**, not a similarity threshold. Before writing a semantic entry, the promoter must walk the provenance DAG of every candidate episodic trace and compute the number of *distinct root evidence sources* (roots = traces with `source_type ∈ {direct_observation, tool_response_verified, user_statem...",
    "operational_effect": "Without the guardrail, the agent's memory system actively *launders* errors into durable belief — the more consistently wrong it is, the more confident it becomes, and the procedural tier inherits the poison. With the guardrail, the star-shaped cluster is caught at promotion: `distinct_roots = 1 < required`, promotion is refused, the cluster is flagged `low_..."
  },
  "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": "32b2c083c427f54f67f1485638a7aaa58b1c4be737e270311311f23a6968ec2e",
    "verified_classes": [
      "PromotionPoisoningError",
      "Trace"
    ],
    "verified_functions": [
      "distinct_roots",
      "promote"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "PromotionPoisoningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
