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

+19 -5
View File
@@ -1,12 +1,26 @@
# The Hermex app's Bot Chat works here: its session's saved folder is
# mounted into the sandbox at /workspace. Saved once with Hermes's
# update_session_cwd, since Hermes has no command for it.
- name: Bot Chat workspace folder
# terminal.cwd: the folder the sandbox gets at /workspace. The Hermex Bot
# Chat session's saved folder points here too (set once with Hermes's
# update_session_cwd, since Hermes has no command for it).
- name: Hermes workspace folder
ansible.builtin.file:
path: "{{ hermes_bot_workspace }}"
path: "{{ hermes_workspace }}"
state: directory
mode: "0755"
# Replaced by skills.external_dirs (see group_vars). Only a symlink is
# removed; a real folder of that name is left alone.
- name: Look for the cua-driver skills symlink
ansible.builtin.stat:
path: "{{ ansible_user_dir }}/.hermes/skills/cua-driver"
register: hermes_cua_skills_link
- name: Remove the cua-driver skills symlink
ansible.builtin.file:
path: "{{ ansible_user_dir }}/.hermes/skills/cua-driver"
state: absent
when: hermes_cua_skills_link.stat.islnk | default(false)
notify: [Restart Hermes gateway, Restart Hermes dashboard]
# Secrets go in first, so servers and settings that reference them
# (${VAR}) find them when the gateway restarts.
- name: Secrets in Hermes's .env