On v2026.7.1 (0.18.0), hermes -p home-ops chat correctly scoped the whole
session to the profile: session persisted in the profile's state.db, SOUL
loaded from the profile home, turns logged under the profile's logs.
On v2026.7.7.2 (0.18.2, same deployment upgraded, Docker image, upstream
9de9c25f), the SAME invocation runs the DEFAULT profile:
- session row appears in the DEFAULT
state.db with the stock
You are Hermes Agent… system prompt (profile SOUL.md exists and loads
fine when tested directly via load_soul_md),
- turn_context logs to the default profile's
agent.log,
- provider resolution differs from the profile's config (our default-scoped
turns picked the custom fallback provider instead of the configured
openai-codex).
Reproduce:
hermes -p <secondary-profile> chat # or chat --cli
# ask "who are you?" → stock identity; session lands in default state.db
Two data points that narrow it:
hermes -p <profile> prompt-size scopes CORRECTLY on 0.18.2 (writes the
profile's log/caches, builds the profile SOUL into the prompt) — so the
-p argv bootstrap in hermes_cli/main.py still works; the loss happens
somewhere in the chat/TUI init path.
- Workaround: bypass the flag with the env var —
HERMES_HOME=<profiles-dir>/<name> hermes chat scopes correctly
(verified: session lands in the profile state.db with the profile SOUL
as system prompt).
Gateway-side lanes (/p/<profile>/ dashboard) are unaffected.
On v2026.7.1 (0.18.0),
hermes -p home-ops chatcorrectly scoped the wholesession to the profile: session persisted in the profile's
state.db, SOULloaded from the profile home, turns logged under the profile's logs.
On v2026.7.7.2 (0.18.2, same deployment upgraded, Docker image, upstream
9de9c25f), the SAME invocation runs the DEFAULT profile:state.dbwith the stockYou are Hermes Agent…system prompt (profile SOUL.md exists and loadsfine when tested directly via
load_soul_md),agent.log,turns picked the
customfallback provider instead of the configuredopenai-codex).Reproduce:
Two data points that narrow it:
hermes -p <profile> prompt-sizescopes CORRECTLY on 0.18.2 (writes theprofile's log/caches, builds the profile SOUL into the prompt) — so the
-pargv bootstrap inhermes_cli/main.pystill works; the loss happenssomewhere in the chat/TUI init path.
HERMES_HOME=<profiles-dir>/<name> hermes chatscopes correctly(verified: session lands in the profile
state.dbwith the profile SOULas system prompt).
Gateway-side lanes (
/p/<profile>/dashboard) are unaffected.