Mac: Hermes sandbox sees only ~/hermes; Cua skills via external_dirs

terminal.cwd "." resolved against each process's working directory, so
the dashboard's sandbox mounted / (the whole disk, writable) and the
gateway's mounted ~/.hermes (including .env). Point it at ~/hermes.

The cua-driver symlink in ~/.hermes/skills made Hermes give each sandbox
a temp copy of the skills and delete the previous copy, emptying running
sandboxes' skills (hermes-agent #53630). Read Cua's pack through
skills.external_dirs and remove the symlink.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-11 15:12:16 -07:00
1 parent b2e045c9f1
commit 20258e04f8
4 files changed
+42 -13

No files matched your search

+15 -4
View File
@@ -25,6 +25,9 @@ hermes_dashboard_port: 9119
hermes_dashboard_url: "https://{{ ansible_host }}"
hermes_dashboard_username: admin
# The one host folder Hermes's sandbox sees (mounted at /workspace).
hermes_workspace: "{{ ansible_user_dir }}/hermes"
# Individual Hermes settings, set with `hermes config set`. The rest of
# ~/.hermes/config.yaml stays Hermes's own (its updates migrate that file).
hermes_settings:
@@ -33,10 +36,12 @@ hermes_settings:
# Never borrow Claude Code's login: subscription use outside Anthropic's own
# apps breaks its terms, and refreshing it can break Claude Code's login.
auth.adopt_external_logins: false
# Hermes's default. /workspace (a container path) made the host log a
# warning every few seconds (hermes-agent #140527); with the docker backend
# a host cwd never becomes the container's working directory anyway.
terminal.cwd: .
# The host folder mounted into the sandbox at /workspace
# (terminal.docker_mount_cwd_to_workspace). "." meant each process's own
# working directory: / for the dashboard (the whole disk) and ~/.hermes for
# the gateway (its .env with the API keys). A container path such as
# /workspace made the host log a warning every few seconds (#140527).
terminal.cwd: "{{ hermes_workspace }}"
terminal.container_memory: 3072 # MB; must fit in the Podman VM (podman_machine_memory)
# kanban: multi-agent boards (unused here); its 14 tools were 25 KB of the
# 65 KB of tool definitions sent with every message.
@@ -44,6 +49,12 @@ hermes_settings:
# rate-limited). Search and page fetching go through Kagi's MCP server.
agent.disabled_toolsets: [kanban, web]
skills.write_approval: true # skills Hermes writes wait for your approval
# Cua's skill pack, read in place instead of through the symlink
# `cua-driver skills install` puts in ~/.hermes/skills (removed by the
# settings tasks). A symlink there makes Hermes give each sandbox a temp
# copy of the skills, and deleting the old copy empties running sandboxes'
# skills (hermes-agent #53630).
skills.external_dirs: ["~/.cua-driver/skills"]
# Never run these, even in the sandbox and even under /yolo (examples from
# Hermes's hardening guide). Case-insensitive globs over the whole command.
approvals.deny: