Problem
The Hermes and OpenClaw release installers overwrite the wn-agent binary and systemd user unit, run systemctl --user daemon-reload, then call systemctl --user enable --now. As with #832, enable --now starts an inactive unit but does not restart an already-active service. An upgrade can therefore report success while the connector-specific wn-agent process keeps running the old executable and old unit configuration until manual restart or reboot.
Affected paths:
scripts/install-hermes-marmot.sh
scripts/install-openclaw-marmot.sh
Expected behavior
After replacing the binary/unit and reloading systemd, restart an already-active user service; retain enable --now for inactive/fresh installs and preserve existing no-start/no-service semantics. Add deterministic installer coverage for fresh and active-service upgrade paths.
Scope
Found during adversarial review of #833. PR #833 is correctly scoped to the OpenCode installer and should not be expanded to unrelated connector installers.
Problem
The Hermes and OpenClaw release installers overwrite the
wn-agentbinary and systemd user unit, runsystemctl --user daemon-reload, then callsystemctl --user enable --now. As with #832,enable --nowstarts an inactive unit but does not restart an already-active service. An upgrade can therefore report success while the connector-specificwn-agentprocess keeps running the old executable and old unit configuration until manual restart or reboot.Affected paths:
scripts/install-hermes-marmot.shscripts/install-openclaw-marmot.shExpected behavior
After replacing the binary/unit and reloading systemd, restart an already-active user service; retain
enable --nowfor inactive/fresh installs and preserve existing no-start/no-service semantics. Add deterministic installer coverage for fresh and active-service upgrade paths.Scope
Found during adversarial review of #833. PR #833 is correctly scoped to the OpenCode installer and should not be expanded to unrelated connector installers.