Skip to content

refactor: rename Hermes → Engram#22

Merged
JaidenSy merged 1 commit into
mainfrom
refactor/rename-to-engram
Jul 23, 2026
Merged

refactor: rename Hermes → Engram#22
JaidenSy merged 1 commit into
mainfrom
refactor/rename-to-engram

Conversation

@JaidenSy

Copy link
Copy Markdown
Owner

Renames the daemon Hermes → Engram to disambiguate from Nous Research's hermes-agent (which we're adopting as the separate home-assistant per the comparison decision).

Key move: internal paths now derive from Path(__file__).parent instead of hardcoded ~/hermes, so the ~/hermes → ~/engram folder move needs zero path edits and the .venv follows the folder. Tests use the same trick so they pass before and after the move.

  • hermes.pyengram.py; docstring + user-facing strings updated ([ENGRAM], "Engram starting up/commands", engram-* session prefix).
  • Dual trigger prefix: accepts [ENGRAM] (new) and [HERMES] (your muscle-memory) — both optional.
  • project_registry: engram key + hermes → engram alias so old routes still work.
  • Deliberately kept: keychain service hermes-telegram-bot (that's where the live bot token is — renaming breaks auth), internal markers (## Hermes Run Log, hermes-meta — renaming orphans existing data), and /api/hermes/* Mission Control routes (frontend depends on them).

The live parts (folder move, launchd label dev.arbiterai.engram, GitHub repo rename) happen right after merge, then reload + verify.

Tests: 165 pass / 1 skip. Full rename approved by Jaiden.

🤖 Generated with Claude Code

Renames the daemon to Engram. Internal paths now derive from each file's own
location (Path(__file__).parent), so the ~/hermes → ~/engram move needs zero
path edits and the .venv follows the folder.

- hermes.py → engram.py; module docstring + user-facing strings ([ENGRAM],
  'Engram starting up', 'Engram commands', session prefix engram-*).
- Dual trigger prefix: accepts [ENGRAM] (new) and [HERMES] (muscle-memory);
  both optional. config trigger_prefix → [ENGRAM].
- project_registry: repo key 'engram' (path from __file__), 'hermes'→'engram'
  alias so old references still route.
- Tests: import engram; sys.path derived from __file__ so they pass before AND
  after the dir move.
- KEPT as-is on purpose: keychain service 'hermes-telegram-bot' (live token),
  internal markers (## Hermes Run Log, hermes-meta) and /api/hermes/* routes
  (renaming would orphan existing data / break the Mission Control UI).

Live migration (dir move, launchd label, GitHub repo) done separately after merge.

Tests: 165 pass / 1 skip.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@JaidenSy
JaidenSy merged commit f18cee1 into main Jul 23, 2026
1 check passed
@JaidenSy
JaidenSy deleted the refactor/rename-to-engram branch July 23, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant