hermes-agent/optional-skills
web-dev0521 dfe512c58d fix(paths): route achievements plugin + profile-tui through HERMES_HOME
Four callsites hardcoded Path.home() / '.hermes' with no HERMES_HOME
check, breaking Docker deployments and profile isolation (hermes -p):

- plugins/hermes-achievements/dashboard/plugin_api.py:
  state_path(), snapshot_path(), checkpoint_path() bare-literal paths
- scripts/profile-tui.py:
  DEFAULT_STATE_DB and DEFAULT_LOG defaults ignored HERMES_HOME
- hermes_cli/slack_cli.py:
  except-Exception fallback for slack-manifest.json dump
- optional-skills/migration/openclaw-migration/scripts/openclaw_to_hermes.py:
  --target argparse default

Use get_hermes_home() (with an ImportError shim for the standalone
scripts) or 'os.environ.get("HERMES_HOME") or str(Path.home()/".hermes")'
where importing hermes_constants is impractical.

E2E-verified: with HERMES_HOME=/tmp/x all three achievements paths and
both profile-tui defaults route under /tmp/x.

Salvaged from #18068 (original scope was broader mechanical cleanup
claiming 23 callsites were buggy; most were already respecting
HERMES_HOME via os.environ.get(key, default) — only these 4 had no env
check at all). Credit: @web-dev0521.
2026-04-30 23:21:54 -07:00
..
autonomous-ai-agents feat(honcho): wizard cadence default 2, surface reasoning level, backwards-compat fallback 2026-04-18 22:50:55 -07:00
blockchain feat: add Base blockchain optional skill 2026-03-17 01:50:03 -07:00
communication feat(skills): add one-three-one-rule communication skill (#3797) 2026-03-29 15:25:12 -07:00
creative feat(skills): move comfyui from optional to built-in (#17631) 2026-04-29 14:09:17 -07:00
devops feat(plugins): convert disk-guardian skill into a bundled plugin 2026-04-20 04:46:45 -07:00
dogfood feat(skills): add adversarial-ux-test optional skill 2026-04-21 01:51:20 -07:00
email/agentmail fix: correct agentmail skill — API key goes in config.yaml env block 2026-03-08 23:34:50 -07:00
health feat(skills): add fitness-nutrition skill to optional-skills 2026-04-13 22:10:00 -07:00
mcp skills: move 7 niche mlops/mcp skills to optional (#12474) 2026-04-19 05:14:17 -07:00
migration fix(paths): route achievements plugin + profile-tui through HERMES_HOME 2026-04-30 23:21:54 -07:00
mlops skills: move 7 niche mlops/mcp skills to optional (#12474) 2026-04-19 05:14:17 -07:00
productivity feat(skills): add here.now as an optional skill 2026-04-30 19:48:15 -07:00
research Update SKILL.md 2026-04-20 04:15:04 -07:00
security feat(skills): add Sherlock OSINT username search skill 2026-03-17 02:48:21 -07:00
web-development feat(optional-skills): add page-agent skill under new web-development category (#13976) 2026-04-22 04:54:26 -07:00
DESCRIPTION.md fix: review fixes — path traversal guard, trust_style consistency, edge cases 2026-03-06 01:40:01 -08:00