Exercises the complete PID file lifecycle end-to-end using a real subprocess
with a fake autossh (sleep 60 script), covering start, stop, status, stale PID
cleanup, restart, and idempotency scenarios.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>