Current file-based lock has race condition when multiple watchers start simultaneously. Use O_EXCL or flock() for proper atomic locking.
Timeline (4)
🔄[human]Open → InProgress1 month ago
💬[human]1 month ago
Switched summary lock to atomic O_EXCL creation in Watch (with stale lock retry) and moved summary writes to resolved events dir; lock now uses events/ (legacy fallback).
Switched summary lock to atomic O_EXCL creation in Watch (with stale lock retry) and moved summary writes to resolved events dir; lock now uses events/ (legacy fallback).