Mac: start the Podman VM from launchd; settings restart the dashboard too

The VM resize in a92d4c1 worked but left the VM stopped: a VM started from
an Ansible task is stopped when the task ends. Nothing started the VM at
login either, so after a reboot Hermes's sandbox stayed down.

- launchd job local.podman-machine runs `podman machine start` at login;
  the resize now starts the VM through it and waits until it's running.
- Hermes setting changes also restart the dashboard, which keeps its own
  copy of the settings (it kept logging the old /workspace cwd).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-11 07:23:28 -07:00
1 parent a92d4c199c
commit 4592ee2132
5 files changed
+73 -7

No files matched your search

+6 -3
View File
@@ -25,13 +25,16 @@ Manages cogitator-02, an Apple Silicon Mac on the tailnet (`mac.yml`,
- **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` (or `unset` for a
null value); any change restarts the gateway with `hermes gateway restart`.
null value); 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 and
voice-note transcription. Leave `agent.reasoning_effort` out: `config set`
refuses it without `--force` (hermes-agent #140221).
- **Podman VM** (tag `podman`): `podman_machine_memory` for the VM that runs
Hermes's sandbox. A change stops and restarts the VM.
- **Podman VM** (tag `podman`): a launchd job (`local.podman-machine`) that
starts the VM running Hermes's sandbox at login, and `podman_machine_memory`
for its size. A resize stops the VM and starts it again through that job
(a VM started from an Ansible task is stopped when the task ends).
- **Hermes cron jobs** (tag `hermes-cron`): `hermes_cron_jobs` in
`group_vars/mac/main.yml`, with their scripts from `files/hermes-scripts/`
copied to `~/.hermes/scripts/`. Missing jobs are created; existing ones are