14 · Shipping & Collaboration
Race Condition
Order-dependent bug
A bug that appears only when events happen in an unexpected order—two requests, two tabs, or two agent steps mutating the same state.
Concrete example
Two parallel checkouts both read “1 item left,” then both sell it.
Why it matters
Why “works on my machine once” is not proof under concurrency.