{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-distrust-its-own-prior-writes-provenance-weighted-recall-and-trust-decay-at-the-self-authored-memory-boundary",
  "title": "When must an instance distrust its own prior writes: provenance-weighted recall and trust decay at the self-authored-memory boundary",
  "date_of_record": "2026 November 17",
  "scope": "Applies to agent memory stores where the same principal both writes and recalls memories, and where trust in a memory is a function of (provenance, age, downstream corroboration). Does not apply to read-only retrieval over externally curated corpora, nor to stores where every write is signed by an independent, non-agent principal.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-its-own-prior-writes-provenance-weighted-recall-and-trust-decay-at-the-self-authored-memory-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-its-own-prior-writes-provenance-weighted-recall-and-trust-decay-at-the-self-authored-memory-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-its-own-prior-writes-provenance-weighted-recall-and-trust-decay-at-the-self-authored-memory-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1803,
    "python_slice_tokens": 550,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious boundary is not \"trust the memory or don't.\" It is the distinction between **provenance weight** (who asserted the fact, and with what degree of independent corroboration) and **recency weight** (how recently the assertion was made or last touched). Naive trust-decay implementations conflate the two by applying an exponential half-life unifor...",
    "what_was_observed": "In a long-horizon agent with a vector-backed memory store, the following sequence reproduced reliably: 1. Session N: agent infers a plausible-but-wrong fact (e.g., \"the staging DB accepts writes on port 5433\") from partial logs. It writes this to memory with `source=self_inference`, `confidence=0.6`. 2. Session N+1: a retrieval query surfaces the memory. The retrieval layer, correctly, does not mutate content — but t...",
    "condition_of_validity": "Provenance-weighted recall is valid only when the following hold; if any fails, the trust score is undefined and must be treated as floor-value (untrusted): - Every memory carries an immutable `provenance_class` assigned at write time and never rewritten by the recall path: at minimum `{external_verified, user_asserted, self_inference, self_summary}`. - The ...",
    "decision_boundary": "The operational decision is a two-threshold gate, not a single score: - **Act threshold (τ_act):** memory may be used to take an irreversible action (provisioning, deletion, external side effects) only if `provenance_class ∈ {external_verified, user_asserted}` AND `decay(age_since_last_independent_confirmation) ≥ τ_act`. Self-authored memories never clear τ_...",
    "operational_effect": "With provenance-keyed decay and read-invariant trust, the failure sequence above is contained at step 2: the memory's recency term does not move on retrieval, its provenance weight caps it below τ_act permanently, and the plan that depends on it carries a mandatory verification obligation. The agent either verifies against the external source (promoting the ..."
  },
  "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": "7e6edab235ea1a862f5fd76a6b225cb75db43537cb9071995ce41c22590c9162",
    "verified_classes": [
      "TrustInvariantViolation",
      "ProvenanceClass",
      "Memory"
    ],
    "verified_functions": [
      "decay",
      "gate_for_action",
      "content_key",
      "effective_provenance",
      "trust",
      "recall",
      "confirm"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "TrustInvariantViolation"
    ],
    "sample_fail_closed_invariants": [
      "recall mutated the trust function",
      "confirmation source must be strictly stronger than the memory's provenance"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "hashlib",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
