Getting Up to Speed on Multi-Agent Systems, Wave 3.2: What Should Shared Memory Do With a Contradiction?

06 Dec 2026

When I published Part 8 of Season 1 in May 2026, I wrote that nobody had built CRDT-backed shared state for multi-agent LLM systems yet. That was already slightly behind when I wrote it, and by late 2026 it was plainly wrong.

An October 2025 preprint called CodeCRDT (Sergey Pugachev) had already wired concurrent coding agents onto a Yjs CRDT synced over WebSockets. Across 600 trials (six coding tasks on Claude Sonnet 4.5), every replica converged 100% of the time with zero character-level merge failures or data corruption. And yet 5–10% of those converged runs still produced broken code: duplicate declarations, type mismatches, and incompatible edits sitting cleanly side by side in the same file. Parallel runs also inflated code volume by 82–189%, swung wall-clock latency anywhere from a 21.1% speedup to a 39.4% slowdown, and dipped 7.7% on automated code-quality scoring.

All the replicas agreed, byte for byte, on broken code.

That’s the best illustration I’ve seen of why “solving shared memory” for multi-agent systems usually mashes four different questions together:

  1. Convergence: do replicas agree on the same bytes or records?
  2. Conflict detection: does the system notice incompatible claims or broken invariants?
  3. Truth and validity: which claim is actually right, or still active?
  4. Permission to act: should the agent answer, abstain, escalate, or commit a side effect?

CRDTs answer question 1. They say nothing at all about questions 2, 3, or 4. What makes the 2026 shared-memory papers worth reading is that they stop treating convergence as the finish line and start arguing over what the memory layer should actually do when two writers disagree.

Raising the Merge Unit From Characters to Syntax Symbols

CodeCRDT’s problem wasn’t a bug in Yjs; it was a mismatch between the merge unit (characters) and the invariant we care about (valid programs). The obvious first move is to raise the merge unit from characters to syntax trees.

Chorus (a July 2026 technical report from MingLLM / Loom Research) does that for fleets of concurrent coding agents. I’d treat it as a vendor engineering report rather than a peer-reviewed paper — the public report doesn’t break out full benchmark tables — but the mechanism is clean. Instead of merging raw text lines, Chorus parses files structurally with tree-sitter and applies per-symbol edits as commutative, order-independent operations. In their demonstrations, six concurrent writers modifying the same file converge byte-identically regardless of merge order, while unresolvable structural collisions fail closed instead of leaving broken syntax behind.

Look at where Chorus still hands the baton off, though. Structural commutativity handles intra-file symbol collisions. If Agent A changes a function’s signature in one file while Agent B updates callers against the old signature in another, the syntax tree merges cleanly and the program still fails to compile or pass tests. Chorus deals with that by pushing merged trees through a test-gated merge queue. That’s solid engineering, and it makes the broader point cleanly: even when structural convergence is exact, semantic validity still lives outside the merge operator.

Preserving Contradictions vs. Resolving Them at Write Time

For code, you at least have a compiler and a test suite to tell you whether a merge broke something. For factual claims, task state, and operational beliefs shared across agents, you usually don’t. Two summer 2026 papers stake out the cleanest architectural split I’ve seen on this: preserve the contradiction at merge time and defer resolution, versus resolve it at write time.

StateFuse: Deterministic Conflict-Preserving Memory for Multi-Agent Systems (Volkov, Li, and Luo, University of Hong Kong, Jul 2026 preprint) builds an agent-facing contract on top of a standard OpSet/CRDT log. Conflicting claims stay alive in an immutable operation log as explicit conflict objects, with exact and semantic correction handles (claim_id and claim_ref). Resolution happens only as a read-time projection whose resolver isn’t allowed to rewrite replicated history.

What I like about StateFuse’s evaluation is that the authors don’t oversell it. On the 282-question conflict-bearing slice of MemoryAgentBench, StateFuse tied flat multi-value, raw-log, and latest-write-wins baselines at 97.5% final answer accuracy under matched resolver and verification policies. Conflict-preserving memory isn’t a magic accuracy boost for answering questions. Its payoff showed up in a controlled agent loop, on question 4 (permission to act): keeping ambiguity visible let the agent abstain under conservative settings, whereas early-collapse baselines dropped to 60% success with 40% false-confident actions. Suppose Agent A writes deployment_approved = true on one branch while Agent B records a cancellation on another. Under last-write-wins, every replica converges cleanly to one scalar, the disagreement vanishes, and the executor ships with complete confidence. Preserving the conflict object forces the caller to see the disagreement before touching production.

LatticeMind: A Conflict-Aware Memory Primitive for Multi-Agent Systems (Zhou et al., EMNLP 2026) takes the opposite bet: pay the reconciliation cost at write time so downstream readers don’t have to re-litigate the same contradiction on every query. LatticeMind replaces flat text memory with typed items carrying explicit validity, contestation, and precedence status. On writes, it runs cheap deterministic symbolic checks first (dependency cycles, resource violations) and calls an LLM reconciler only on unresolved semantic contradictions.

On label-blind ConflictBank (with source names and trust cues stripped), LatticeMind hit roughly 97% accuracy versus 52–63% for single-agent inference, voting, debate, and judge baselines, and ablating either the symbolic checker or the LLM reconciler dropped accuracy by 12–14 points. On secondary planning benchmarks (PlanBench, TravelPlanner, and scheduling), it beat naive memory merging on 3 of 4 tasks, though the overall picture was more mixed.

Putting StateFuse and LatticeMind next to each other makes the trade-off obvious. LatticeMind works well on credibility conflicts where you want one resolved belief without paying reconciliation overhead on every read — though as the authors note, it doesn’t replace search on planning-heavy tasks and still breaks if upstream extraction drops the wrong fact to begin with. StateFuse refuses to commit a write-time winner into replicated history because if the reconciler guesses wrong at ingestion time, you’ve baked a bad judgment straight into shared state.

Both designs also assume you still know who wrote each claim. Skipping provenance breaks even earlier: Mine or Yours? (Yunlong Xu, Oct 2026 preprint) bridged raw KV caches between two copies of Qwen3-4B or Llama-3.1-8B holding different private rules. In an overlaid layout, the receiver retrieved partner facts 100% of the time, yet claimed the partner’s private rule as its own roughly 50% of the time even when the text explicitly named the owner.

There’s a third architectural option too: don’t merge contradictions at all during speculative search. Chronos (Zhou, Madden, Stonebraker, and colleagues, Sep 2026 preprint) bolts interval-versioned branching across unmodified PostgreSQL, SQLite, DuckDB, Qdrant, and filesystems — up to 16.7x faster on MCTS workflows — and atomically promotes one winning branch while discarding the losers. That buys cross-store atomicity, though again, not proof that the winning branch is true.

Contradictions Manufactured by the Store Itself

Everything so far assumes the contradiction came from two agents disagreeing. Read Boundaries in Agent Memory: Consistency, Completeness, and Repair (Qiu and Chen, Nov 2026 preprint) is a good reminder that a single memory backend will happily manufacture contradictions on its own.

Modern agent memory services rarely perform one atomic read. A single recall stitches together results across a graph index, a vector store, and a canonical document store. If an update lands in the middle of that assembly, the agent gets a torn read: an extracted assertion from revision N+1 paired with source text from revision N.

Across a 600-run concurrency study on Cognee (around 20 recalls per second), unprotected default incremental updates produced 199 conflicting responses out of 12,010 recalls under spaced writes and 284 out of 12,010 under burst writes. Putting either a read/write lock or optimistic epoch validation around the read boundary eliminated every mismatch (0 out of 24,020 recalls). The cost showed up in tail latency: under bursty default updates, epoch validation cut update p95 by 109 ms while adding 290 ms to recall p95 relative to the lock.

On Hindsight (backed by PostgreSQL), a shared transaction snapshot cleared mismatches in 10 of 10 controlled pairs while raising recall p95 from 19 ms to 29 ms. And when incremental updates failed mid-flight, both protected policies failed closed rather than serving torn mixed revisions, recovering cleanly on full-rebuild fallback. Before I’d blame an LLM for “hallucinating a contradiction,” I’d check whether the memory backend handed it two different snapshots of the same world.

Lifecycle State, Detection, and Repair

Even with snapshot-consistent reads, two quieter gaps sit at the read and update edges of shared memory.

First, Knowing the Store (Mullick and Tüzün, Oct 2026 preprint) asks what a memory backend has to record before an agent issues a query. They focus on Negative-Obligation Knowledge: knowing whether the store holds a forbidding record (a canceled plan, a retracted claim, an expired credential) whose omission would turn a superficially valid answer into a wrong one. On a 148-question monitoring benchmark over value-free store summaries (counts by active, superseded, retracted, and expired, plus attribute names), none of five evaluated LLMs reliably beat a plain cosine-similarity lookup on short lists averaging 2.6 attribute names; stronger models only pulled ahead once lists were padded to 60 attributes. If your memory store throws away retraction and supersession status, no amount of prompt engineering gets it back at read time.

Second, noticing a change still doesn’t update the values derived from it. MemShift (Xu et al., Nov 2026 preprint) tests that split on a synthetic benchmark of five controlled shifts (source revision, deletion, redefinition, writer switch, and export) over personal records like emails, calendars, and contacts with deterministic typed scoring. If a meeting changes time or a source email is deleted, detecting the shift is only half the job when the agent still has to recompute the derived schedule or summary. Their result is blunt: detection only helps as much as repair allows. LLMs routinely failed to re-derive logically defined state purely in text after spotting a change, whereas generating executable programs over typed records closed most of that gap.

Comparing the Shared-Memory Designs

System Unit of State What Happens to a Contradiction? Guaranteed Not Guaranteed
CodeCRDT Yjs text CRDT Characters converge; semantics collide 100% character convergence (0 merge failures across 600 trials) Type safety, no duplicate declarations (5–10% semantic conflicts)
Chorus (tech report) tree-sitter symbols Order-independent structural merge or fail-closed halt Byte-identical intra-file merge regardless of apply order Cross-file logic consistency; correctness beyond test suite
StateFuse OpSet/CRDT claim log Preserved immutably; resolved only at read projection Visible conflicts, auditable correction handles (claim_id/claim_ref), safer abstention Higher raw QA accuracy (ties at 97.5% on MemoryAgentBench slice); ground truth
LatticeMind (EMNLP '26) Typed items with status Resolved at write time (symbolic check → LLM reconciler) ~97% on label-blind ConflictBank; persistent status/precedence Search-heavy planning optimality; immunity to extraction errors
Chronos Polystore branches (SQL/vector/FS) Isolated on branches; winning branch promoted atomically Cross-store atomic visibility; up to 16.7x MCTS branching speedup Fine-grained semantic merge across branches; truth of winning branch
Read Boundaries Multi-store recall snapshot Torn reads prevented; update faults fail closed 0/24,020 torn recalls in Cognee; 10/10 fixed in Hindsight Semantic truth inside a single committed revision
Knowing the Store Lifecycle metadata Forbidding records surfaced before retrieval Visibility of active/superseded/retracted/expired records if logged Retrieval control or downstream repair; missing store metadata caps LLMs
MemShift Derived typed personal memory Decouples shift detection from value recomputation Clean separation of detection vs. repair failures under deterministic scoring Concurrent multi-agent or ambiguous open-world conflicts

So what should shared memory actually do with a contradiction?

At minimum, stop hiding it behind last-write-wins or torn multi-store reads. Put a snapshot boundary around recall so the store isn’t inventing contradictions on its own, and log lifecycle status (active, superseded, retracted) explicitly so agents can tell a canceled plan from a missing one. Beyond that, it’s a deliberate design choice between preserve-and-project (StateFuse), when a wrong write-time merge would trigger an unsafe action, and write-time symbolic plus LLM reconciliation (LatticeMind), when you’re aggregating credibility claims and can afford to commit a status up front.

Neither choice helps once an agent has already acted, crashed mid-tool-call, or burned budget on an ambiguous external delegation. That’s what Wave 3.3 looks at next: why recovery needs more than retry.