On 8 November 2026 a multi-clawd CI run showed this: a test called two concurrent writers keep valid, bounded events got 19 of 20 events back from one writer. Both writer processes exited 0.
Nothing crashed. Nothing logged an error. One record was simply gone.
Why it vanished
multi-clawd keeps a small history journal of which account served which launch. Writers take a lock before touching it, and the lock wait is 150 ms. If a writer could not get the lock in that time, it gave up and returned normally.
That is a sensible rule for something that must never block a launch. The flaw was the word normally. A sibling writer in a tight loop re-takes the lock microseconds after releasing it, while the waiter polls every 10 ms. Locally one locked cycle costs about 1.2 ms, so twenty cycles only have to pass 150 ms on a slow CI runner for the other writer's first attempt to time out. That is exactly how you get 19.
We would rather have had a crash. A crash gets fixed on Monday. A count that is quietly one short gets trusted for months.
The tempting fix was the wrong one
Raise the timeout to a second and the test goes green. It would also hide the bug until a busier machine found the new edge. A longer wait is a bet that contention stays small.
So we kept the 150 ms. What changed is what a writer does when it loses: it writes its single event to its own history.jsonl.pending-* file and carries on. The next writer that does get the lock folds the parked events into the journal, in order, and leaves a receipt so a crash halfway through can never count an event twice.
Park it. Don't drop it. Don't wait for it.
The fix is PR #148, merged on 10 November 2026 at 12:05 UTC as commit 9e04355, and released in v2.7.0. The test file went from 8 specs to 26, and the original two-writer test still asserts 20 of 20.
The same bug, one layer up
Then the identical shape turned up in session pins, the record that keeps a conversation on the account that served it. A writer that waited out the lock returned without saving, so the next turn could be routed to the wrong account. Same cause, same cure: PR #179, merged 14 November.
Two fixes in one week says it was never a one-off. It was a habit in how we handled "busy".
Why an accountant should care
If you reconcile bank feeds, import supplier invoices or sync anything to Xero, you have met this. A script that skips a line it could not process, and still reports success, is worse than one that stops. The month-end total is short and nobody knows why.
Ask whoever built your automation one question: when the thing you depend on is busy, what happens to the record? Dropped, queued or retried is an answer. "It should be fine" is not.
If you run multi-clawd, update to v2.7.0 or later. If you build anything with a lock and a timeout, search your own code for the early return after a failed lock. Start with PR #148.