Files
ansible/group_vars/mac/main.yml
T
PhilandClaude Opus 5.5 a92d4c199c Mac: Hermes quick fixes from the setup review
Via hermes_settings (now compared structurally, with null = unset, and a
gateway restart on change):
- timezone America/Denver (was unset)
- auth.adopt_external_logins false: never borrow Claude Code's login
- terminal.cwd unset: stops the /workspace warnings (#140527)
- agent.disabled_toolsets [kanban]: unused, 25 KB of tool schema per call
- skills.write_approval true
- approvals.deny: force-push, curl|sh, dd to devices (docs' examples)
- streaming.enabled true, stt.local.model small
- terminal.container_memory 3072, inside a 4 GB Podman VM (was 2 GB VM
  with a 5 GB container limit), set by a new podman task

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 07:17:54 -07:00

66 lines
2.9 KiB
YAML

# cogitator-02: an Apple Silicon Mac on the tailnet. Ansible manages it as
# phil; only tasks that set `become: true` use sudo.
ansible_python_interpreter: /usr/bin/python3
ansible_become_password: "{{ vault_cogitator02.become_password }}"
homebrew_taps:
- beeper/tap
homebrew_formulae:
- beeper/tap/bbctl
homebrew_casks:
- beeper
- claude-code
# Power settings (pmset, AC power). The Mac had `sleep 1` and only stayed up
# because BlueBubbles runs caffeinate; this keeps it up on its own.
mac_pmset:
sleep: 0 # never sleep
disksleep: 0 # never spin down disks
autorestart: 1 # power back on after a power cut
womp: 1 # wake on network access
# Hermes's web dashboard: a launchd service listening on 127.0.0.1 only,
# published to the tailnet over HTTPS by Tailscale Serve.
hermes_dashboard_port: 9119
hermes_dashboard_url: "https://{{ ansible_host }}"
hermes_dashboard_username: admin
# Individual Hermes settings, set with `hermes config set`. The rest of
# ~/.hermes/config.yaml stays Hermes's own (its updates migrate that file).
# A value of null removes the key (back to Hermes's default).
hermes_settings:
updates.pre_update_backup: full # zip of ~/.hermes before every update
timezone: America/Denver # cron schedules and the time in the prompt
# 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
# Container path the host checks and warns about (hermes-agent #140527);
# the sandbox uses its own home directory without it.
terminal.cwd: null
terminal.container_memory: 3072 # MB; must fit in the Podman VM (podman_machine_memory)
# Kanban is for multi-agent boards (unused here) and its 14 tools were 25 KB
# of the 65 KB of tool definitions sent with every message.
agent.disabled_toolsets: [kanban]
skills.write_approval: true # skills Hermes writes wait for your approval
# 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:
- "git push --force*"
- "*curl*|*sh*"
- "dd if=* of=/dev/*"
streaming.enabled: true # replies stream into Telegram as they're written
stt.local.model: small # voice notes: more accurate than base
# Podman VM that runs Hermes's sandbox containers.
podman_machine_memory: 4096 # MB
# Hermes cron jobs. `script` is a file in roles/mac/files/hermes-scripts/,
# copied to ~/.hermes/scripts/. Jobs are created when missing; to change one,
# edit or remove it in Hermes (`hermes cron edit|remove <name>`) and redeploy.
hermes_cron_jobs:
- name: hermes-update-notice
schedule: "7 9 * * 1" # Mondays 09:07
script: hermes-update-notice.sh
no_agent: true # just the script's output, no model
deliver: telegram