"""Regression guard for #15225 — macOS gateway-pid detection. Two independent bugs in ``hermes_cli/gateway.py`` caused ``find_gateway_pids()`` to return an empty list on macOS, which made ``hermes cron list`` print a false-positive "Gateway is not running" warning even when launchd had the service loaded and cron firing was working normally. Bug 1 — ``_get_service_pids()`` called ``launchctl list