Files
hermes-agent/hermes_cli
teknium1 ae85aaa366 refactor(gateway): move the launchd backend out of hermes_cli/gateway.py
hermes_cli/gateway.py (6,511 lines) keeps the facade; the launchd (macOS LaunchAgent)
cluster - plist generation/refresh, launchctl bootstrap/kickstart, start/stop/restart/status
and the detached-process degrade path - moves to hermes_cli/gateway_launchd.py (41 names).

Moved bodies reach facade helpers through _gw() (late binding on hermes_cli.gateway) so
monkeypatches on the facade keep intercepting; the launchd-domain cache stays a facade
global and is rebound through the facade (a moved global would have rebound the sibling
module and left the facade reader None forever).

Part of #116913
2026-09-21 01:24:28 -07:00
..
…
…
…
…
…
…
…
…
…
…
…