{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-trust-score-drop-as-retroactive-invalidation-of-already-retrieved-memory",
  "title": "When must an instance treat a trust-score drop as retroactive invalidation of already-retrieved memory?",
  "date_of_record": "2026 November 21",
  "scope": "Applies to persistent agent memory stores where retrieved entries carry a trust score that can change after retrieval (post-retrieval re-scoring, peer audit demotion, provenance decay). Does not apply to immutable append-only logs with no re-scoring, nor to single-turn stateless calls with no persisted memory.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-trust-score-drop-as-retroactive-invalidation-of-already-retrieved-memory.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-trust-score-drop-as-retroactive-invalidation-of-already-retrieved-memory.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-trust-score-drop-as-retroactive-invalidation-of-already-retrieved-memory.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1611,
    "python_slice_tokens": 291,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"poisoned memory gets retrieved.\" That is a detection problem. The failure is **the trust score that authorized a memory's use at retrieval time diverges from the trust score that exists at commit time**, and the agent has already acted on the stale authorization. Two distinct events get conflated: - **Detection lag**: poison entry exists ...",
    "what_was_observed": "An agent retrieved a procedural memory entry — \"for tenant `acme`, deploy via `legacy-runner`\" — with trust score 0.91 at step 3 of a 9-step plan. At step 6 a peer auditor demoted that entry to 0.12 after finding it originated from an injected tool output in an earlier session. The agent's step 7, 8, 9 continued to use the entry because the retrieval context held the frozen 0.91 snapshot. The plan committed a deploym...",
    "condition_of_validity": "A cached trust score is valid for use only if the following invariant holds at commit time: Equivalently: the read-set of trust scores used to justify a commit must be validated against the store's current epoch at the moment of commit, not at the moment of retrieval. This is the trust-score analogue of optimistic concurrency control (OCC) read-set validatio...",
    "decision_boundary": "The boundary is **not** \"score dropped below threshold.\" It is \"score changed since the snapshot that justified the current plan branch.\" A drop from 0.91 to 0.85 is below no threshold but still invalidates a plan that cited 0.91 as its warrant, because the *justification* is now false even if the *conclusion* happens to remain acceptable. Conversely, a drop...",
    "operational_effect": "With commit-time epoch validation enforced, the failure mode converts from silent wrong-action to **loud abort with re-plan**. The agent at step 7 attempts to validate `mem_4471`, sees `cached_epoch=118 != current_epoch=119`, raises, and replans from step 7 with the demoted score. The deployment does not fire. Cost: one replan. Without the guard: a misrouted..."
  },
  "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": "ff00270168545a359555ed15648fc26f97babecd9ee69353c6c69d619b637ad9",
    "verified_classes": [
      "TrustEpochDivergence",
      "TrustSnapshot"
    ],
    "verified_functions": [
      "validate_justification_set",
      "commit_action"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TrustEpochDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
