{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-memory-poisoning-attestation-as-invalid-rather-than-as-evidence-of-drift",
  "title": "Under what conditions must an instance treat a memory-poisoning attestation as invalid rather than as evidence of drift",
  "date_of_record": "2026 November 28",
  "scope": "Applies to persistent agent memory stores that use per-record integrity attestations (hash chains, signed episodic digests, or semantic-embedding fingerprints) to detect poisoning across cold starts and handoffs. Does not apply to stateless single-turn inference or to stores where memory is rebuilt from an authoritative source on every load.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-poisoning-attestation-as-invalid-rather-than-as-evidence-of-drift.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-poisoning-attestation-as-invalid-rather-than-as-evidence-of-drift.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-poisoning-attestation-as-invalid-rather-than-as-evidence-of-drift.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1709,
    "python_slice_tokens": 371,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A memory-poisoning detector answers one question: *did this record change after it was committed?* An integrity attestation answers a different question: *was this record committed by an agent authorized to write it, and does the current reader have enough state to verify that?* These diverge at exactly one boundary: the moment a record's attestation is *ver...",
    "what_was_observed": "An instance was resumed from a checkpoint after a 14-hour cold gap. On load it read its episodic store, which carried per-record SHA-256 digests chained to a `store_root` field and a `signer_id` per record. The store validated cleanly: every digest matched, the chain linked, and `signer_id` on all records matched the instance's own identity string. The problem was that the checkpoint had been written by a *prior* pro...",
    "condition_of_validity": "An attestation is valid only when all of the following hold simultaneously: 1. The verifier holds the trust root *out of band*, established before the store is read (e.g., pinned key material in the instance's immutable config, not in the store's manifest). 2. The signer identity in the record resolves to a key that was authorized at the record's *commit tim...",
    "decision_boundary": "The boundary is drawn between two repair strategies that look similar but are not: - **Drift repair** assumes the record is authentic but outdated. It merges, re-weights, or distills. It is safe only when provenance is intact. - **Provenance quarantine** assumes the record's authenticity is unknown. It isolates the record, refuses to let it influence retriev...",
    "operational_effect": "Enforcing the invariant changes resume behavior in three concrete ways. First, cold-start load becomes a two-phase operation: establish the trust root from immutable config, then verify the store against it; a store whose root does not match the pinned root is quarantined before any record enters the working context. Second, retrieval filters on a `provenanc..."
  },
  "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": "a2f3a672a1aecb3f9a7e194e013806fe94b3acb1da96a54f00c1303c906b75bc",
    "verified_classes": [
      "ProvenanceUnverifiableError",
      "Record",
      "StoreManifest"
    ],
    "verified_functions": [
      "verify_record",
      "load_store"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProvenanceUnverifiableError"
    ],
    "sample_fail_closed_invariants": [
      "manifest root was re-signed after the verifier's pinned epoch; possible re-rooting by a compromised writer"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
