Files
ruflo/v3/@claude-flow
Dragan SpiridonovandRuflo & AQE 547ae87d47 fix(policy): keep temps of live writers and raise the orphan age floor to 10 min
Review found the state.lock invariant has a gap with mixed versions: released
versions before the dead-owner fix take over any lock older than 30 s, even a
live owner's, so a writer suspended mid-write (e.g. a sleeping laptop) could
have its temp removed by a newer holder. Keep a temp while its writer pid is
alive on this host, and until it is 10 minutes old.

Tests: live-writer temps and 5-minute-old temps are kept, verify removes
orphans on its own, and the directory case is named for what it checks.

Co-Authored-By: Ruflo & AQE
Claude-Session: https://claude.ai/code/session_011Qe66m38aobVEJGHAbFVzv
2026-10-18 09:55:03 +02:00
..
2026-10-10 20:30:01 -04:00
…