mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 14:43:05 +09:00
Two issues fixed: 1. PID reuse detection: process.kill(pid, 0) returns true for ANY process owned by the user, not just the MCP server. When the OS recycles a PID, this falsely blocks startup with "already running". Now verifies the process is actually node/claude-flow/npx before reporting it as running. 2. Legacy PID cleanup: older versions wrote mcp-server.pid to .claude-flow/ instead of /tmp/. Now cleans up that legacy path during removePidFile() to prevent ghost locks. Co-Authored-By: claude-flow <ruv@ruv.net>