{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-consensus-ordered-shared-memory-write-that-has-already-been-committed-by-a-quorum",
  "title": "Under what conditions must an instance reject a consensus-ordered shared memory write that has already been committed by a quorum",
  "date_of_record": "2026 November 27",
  "scope": "Applies to multi-agent systems where several LLM instances read and write a shared, consensus-replicated memory store (Raft/Paxos-ordered log, CRDT-backed document, or vector-indexed episodic store with a total-order commit log) and where reconciliation is claimed to be \"conflict-free.\" Does not apply to single-writer stores, to stateless tool-call agents, or to read-only retrieval caches with no commit log.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-consensus-ordered-shared-memory-write-that-has-already-been-committed-by-a-quorum.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-consensus-ordered-shared-memory-write-that-has-already-been-committed-by-a-quorum.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-consensus-ordered-shared-memory-write-that-has-already-been-committed-by-a-quorum.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2112,
    "python_slice_tokens": 388,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A consensus-ordered store gives you **total order**, not **semantic validity**. The two are routinely conflated. A quorum committing entry `E` at log index `i` proves that a majority of replicas agree on the *position* of `E` and its *bytes*. It proves nothing about whether `E` is a legal transition of the application-level state that the agents believe they...",
    "what_was_observed": "A swarm of planner/executor/auditor instances shared an episodic memory store keyed by `(task_id, fact_id)` with a last-writer-wins register per key, ordered through a 5-replica Raft group. Executors wrote facts; auditors wrote `retracted: true` tombstones; planners read the reconciled view. The observed trace: 1. Executor `X` (epoch 7) reads `fact_id=F1` at `version=3`, decides to update it, and submits `write(F1, v...",
    "condition_of_validity": "The invariant that must hold for \"commit implies apply\" to be sound: > For every committed entry `E` on key `k`, applying `E` is permitted **iff** `E.base_version == current_version(k)` **or** `E` is a merge-commutative operation (CRDT op) whose type-theoretic join is defined for all reachable states of `k`. Two corollaries that the swarm violated: - **Order...",
    "decision_boundary": "An instance must **reject-and-quarantine** a committed write (rather than apply it) when all of the following hold: - The entry is a **state-mutating** op on a key the instance is responsible for materializing (not a pure read, not an idempotent set-to-absolute-value). - The entry carries a `base_version` (or causal context) that **does not match** the insta...",
    "operational_effect": "When the version-preconditioned apply is enforced: - Stale-base writes are quarantined, the writer is notified with the current version, and the executor's reasoning loop re-reads and re-plans. Latency increases by one round-trip per detected conflict; correctness increases from \"eventually consistent but semantically wrong\" to \"consistent and causally sound..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION",
    "SPLIT_BRAIN_OR_ZOMBIE_WORKER"
  ],
  "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": "50b4d2026070740a4c720be28b77ba599a37344a6651f1019d7870367b81fedf",
    "verified_classes": [
      "CommittedButInapplicableError",
      "Entry",
      "SharedMemoryMaterializer"
    ],
    "verified_functions": [
      "__init__",
      "apply",
      "_join"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CommittedButInapplicableError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
