Discussion about this post

User's avatar
Nan Deng's avatar

The sessions example is a classic lost update: Claude Code saves Postgres, then Codex writes back the stale Redis copy and both report success. Cognition's "writes stay single-threaded" rule would have prevented that, but I wonder whether append-only logs or a handoff file still need the same serialization, or whether those get a different rule because they don't replace a row.

Ready for more?