Mac: compare Hermes settings against config.yaml; restart with --yes

`hermes config get` fills in and masks ${VAR} references, so the Karakeep
MCP entry (env KARAKEEP_API_KEY: ${KARAKEEP_API_KEY}) never matched and
every deploy re-set it and restarted the gateway. It also prints defaults
for unset keys and exits 1 for keys without one. Compare against
~/.hermes/config.yaml itself instead.

`hermes gateway restart` without a terminal refuses while anything is
running unless given --yes (docs, reference/cli-commands); the failed
handler left the gateway restarting under launchd but the play failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-11 08:33:41 -07:00
1 parent cccdca1469
commit 310e5523f1
3 files changed
+33 -23

No files matched your search

+2 -2
View File
@@ -23,8 +23,8 @@ Manages cogitator-02, an Apple Silicon Mac on the tailnet (`mac.yml`,
override the hash). After setting up Serve, the play checks the dashboard
demands a login through it; if not, it turns Serve off and fails.
- **Hermes settings** (tag `hermes-settings`): the individual keys in
`hermes_settings` (`group_vars/mac/main.yml`), checked with
`hermes config get` and fixed with `hermes config set`; any change restarts the gateway (`hermes gateway restart`)
`hermes_settings` (`group_vars/mac/main.yml`), compared against
`~/.hermes/config.yaml` and fixed with `hermes config set`; any change restarts the gateway (`hermes gateway restart`)
and the dashboard.
Covers update backups, timezone, not borrowing Claude Code's login, sandbox
memory, disabled toolsets, skill-write approval, deny rules, streaming,