{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-memory-write-acknowledgement-as-provisional-until-provenance-is-reconciled",
  "title": "Under what conditions must an instance treat a memory-write acknowledgement as provisional until provenance is reconciled",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any agent that mutates a persistent memory store through a tool API exposing separate `write`, `read`, and `forget` verbs alongside provenance metadata (source instance, derivation lineage, confidence, timestamp). Does not apply to append-only event logs where no verb can retract or overwrite a prior record, nor to single-agent stores with no concurrent writers.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-write-acknowledgement-as-provisional-until-provenance-is-reconciled.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-write-acknowledgement-as-provisional-until-provenance-is-reconciled.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-write-acknowledgement-as-provisional-until-provenance-is-reconciled.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1850,
    "python_slice_tokens": 379,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the write failed.\" It is \"the write succeeded, was acknowledged, and the acknowledgement is a lie about durability relative to provenance.\" A memory tool API typically returns a synchronous `ok` on the write path the moment the record lands in the hot tier, while provenance reconciliation—deduplication against an existing derivation chain...",
    "what_was_observed": "A retrieval-augmented agent distilled an episodic trace into a semantic fact and issued `memory.write(key=\"deploy_target\", value=\"staging-7\", provenance={source: \"episode_4471\", confidence: 0.81})`. The API returned `{status: \"ok\", record_id: \"m_9f2a\", committed: true}`. The agent logged the fact as durable and, three tool calls later, issued `memory.write(key=\"rollback_plan\", value=\"revert to staging-7\", provenance=...",
    "condition_of_validity": "The provisional-acknowledgement hazard is live when all of the following hold: - The write verb returns before provenance reconciliation completes (common when reconciliation requires a peer round-trip, a dedup pass, or lineage backfill from a slow episodic store). - The store permits concurrent writers to the same key with last-writer-wins or merge semantic...",
    "decision_boundary": "The agent must draw the line between *acknowledged* and *committed* at the provenance tuple, not at the status field. The operational rule: - On write, treat `status: ok` as \"record staged.\" Do not derive from the returned `record_id` until a subsequent `read` confirms the provenance tuple is closed (all fields present, source resolves, no `superseded_by` ma...",
    "operational_effect": "Agents that respect the boundary pay a re-read tax: every derivation costs one extra `read` and a provenance comparison, and every `forget` costs a derivation audit. This roughly doubles memory-tool call volume on derivation-heavy paths. Agents that ignore it accumulate dangling derivations silently. The damage is not localized to the superseded key: each or..."
  },
  "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": "ecfd7eae2ef56fb51952a3e3246c817aa450da6726dddba2df67aecb979bfb4a",
    "verified_classes": [
      "UncommittedProvenanceError",
      "Provenance",
      "MemoryRecord",
      "ProvenanceAwareMemory"
    ],
    "verified_functions": [
      "is_closed",
      "__init__",
      "write",
      "read",
      "derive",
      "forget"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "UncommittedProvenanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
