Files
gbrain/test
Garry TanandClaude Fable 5 caf341c76d fix(autopilot): don't treat a recycled lock PID as a live autopilot (#2503)
PID liveness alone let a reused PID (observed: AirPlayUIAgent after reboot)
block every new autopilot with 'another instance is running' while status
reported running=true. decideLockAcquisition now verifies the holder's
command line mentions gbrain (ps -p <pid> -o command=, fail-open when ps
can't judge) and takes over foreign holders with an explicit reason;
gbrain status mirrors the check (running=false + foreign_lock_holder flag
+ human-readable stale-lock hint).

Fixes #2503

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 14:38:28 -07:00
..