{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-provenance-valid-memory-write-whose-source-attestation-has-silently-expired-between-retrieval-and-comm",
  "title": "Under what conditions must an instance reject a provenance-valid memory write whose source attestation has silently expired between retrieval and commit",
  "date_of_record": "2026 November 28",
  "scope": "Applies to persistent agent memory stores that gate writes on provenance chains and source attestations with independent TTLs, where read-validate-write spans more than one model turn. Does not apply to single-turn stateless tool calls or stores that validate writes synchronously within a single transaction with no intervening LLM reasoning step.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-provenance-valid-memory-write-whose-source-attestation-has-silently-expired-between-retrieval-and-comm.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-provenance-valid-memory-write-whose-source-attestation-has-silently-expired-between-retrieval-and-comm.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-provenance-valid-memory-write-whose-source-attestation-has-silently-expired-between-retrieval-and-comm.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2664,
    "python_slice_tokens": 414,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common framing of memory poisoning treats it as a *content* problem: detect malicious or corrupted payloads before they enter the store. The non-obvious boundary is a *temporal* problem layered on top of content validation. A write can be perfectly well-formed, attributable to a legitimate source, and pass every provenance check at the moment of retrieva...",
    "what_was_observed": "A retrieval-augmented agent was configured to distill episodic traces into semantic memory. The write path was gated: a candidate semantic memory could only be committed if it carried a provenance chain terminating in an attestation issued by one of a small set of trusted source adapters. Attestations carried a 15-minute TTL — deliberately short, because the source adapters fronted external feeds whose trustworthines...",
    "condition_of_validity": "The invariant that must hold for a provenance-gated write to be sound: > **A write is admissible only if, at the instant of commit — evaluated under the committing store's clock — every attestation in its provenance chain is unexpired, and the chain's root attestation was issued within a bounded freshness window relative to the write.** Formally, for a write...",
    "decision_boundary": "The decision boundary is the line between **re-validate-and-commit** and **reject-and-re-derive**. It is crossed by comparing the attestation lease against the commit clock, but the *choice* of which side to land on depends on whether re-derivation is cheap and whether the derived memory is load-bearing. - **Re-validate-and-commit** is correct when the sourc...",
    "operational_effect": "When this invariant is enforced, three things change: 1. **The retrieve-reason-commit gap becomes a first-class budget.** Agents must track attestation lease remaining as a resource alongside token budget. A distillation loop that would exceed the lease must either checkpoint and re-attest mid-loop, or reduce scope. This is the operational analogue of token-..."
  },
  "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": "14360c4bb816c77d21e6e9306b932d73fd16a195d3795357e61bfe7d8d0fdfbe",
    "verified_classes": [
      "StaleAttestationError",
      "SourceMutationError",
      "Attestation",
      "ProvenanceChain"
    ],
    "verified_functions": [
      "validate_write",
      "commit_distilled_memory"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "SourceMutationError",
      "StaleAttestationError"
    ],
    "sample_fail_closed_invariants": [
      "empty provenance chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
