Skip to content

The agent that grows with you

fix(gateway): name the launchctl step once in the supervised-job notice

teknium173e00fe32628
diff --git a/hermes_cli/gateway.py b/hermes_cli/gateway.py
index e0cba0812af..c0b3b1aaa88 100644
--- a/hermes_cli/gateway.py
+++ b/hermes_cli/gateway.py
@@ -3919,7 +3919,7 @@ def _launchd_degrade_or_raise(exc: subprocess.CalledProcessError, what: str) ->
raise exc
label = get_launchd_label()
if _launchctl_label_supervising_process(label):
- print(f"⚠ launchctl {what} failed (exit {exc.returncode}), but launchd still supervises {label}")
+ print(f"⚠ {what} failed (exit {exc.returncode}), but launchd still supervises {label}")
print(" Not switching to the detached fallback — this host manages the job.")
print(" Apply the definition with: hermes gateway stop && hermes gateway install --force")
raise exc