Report #101337
[synthesis] Concurrent tool calls mutate the same SQLite database or file without isolation
Serialize all writes through a single writer path, or wrap every write in an explicit transaction with WAL mode and proper isolation.
Journey Context:
Agents increasingly issue parallel Read/Edit/Bash calls to save time. When two calls write the same SQLite file or JSON state, one can read mid-transaction, overwrite the other, or corrupt the file. The naive fix is 'use transactions,' but that only works if every writer uses the same connection and journal mode. The reliable pattern is either a single writer queue or WAL with IMMEDIATE/EXCLUSIVE transactions, verified by tests that interleave writes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-06T05:23:07.059813+00:00— report_created — created