
Two Writers, One Memory: What Concurrent Agent Writes Actually Lose (2026)
Your planner and two worker subagents write observations into the same memory table. Nobody sees a problem, because the recall test runs one writer at a time and every assertion passes. Then a decision recorded at step 40 is silently replaced by the version from step 12, the same preference appears three times and occupies the top-k slots that should have surfaced the one fact that mattered, or a worker exits with sqlite3.OperationalError: database is locked and the harness records the write as completed because it never checked. ...