singularity-forge/src/resources
mastertyko 14e5264d52 fix: isLockProcessAlive should return true for own PID (#2642)
The self-PID guard in isLockProcessAlive returned false for
process.pid, treating the current process as dead. This caused the
doctor to delete auto.lock and .gsd.lock/ during live auto-mode
sessions (via postUnitPreVerification), breaking the session lock
and silently stopping auto-mode.

The guard was originally added for startAuto() where a matching PID
could mean a recycled PID from a prior crash. But startAuto already
has its own `crashLock.pid !== process.pid` check before calling
isLockProcessAlive, so the function-level guard was redundant there
and harmful everywhere else.

Change `pid === process.pid` to return true (alive) instead of false.

Closes #2470
2026-03-26 09:15:21 -06:00
..
agents fix: type errors in claude-import.ts and marketplace-discovery.ts 2026-03-16 14:46:31 -04:00
extensions fix: isLockProcessAlive should return true for own PID (#2642) 2026-03-26 09:15:21 -06:00
skills fix: use GitHub Issue Types via GraphQL instead of classification labels 2026-03-25 22:18:26 -06:00
GSD-WORKFLOW.md feat: meaningful commit messages from task summaries (#803) 2026-03-16 23:30:33 -06:00