Files
hermes-agent/tests/hermes_cli
liuhao1024 80c8043a54 fix(gateway): key the messaging fold on the profile name, not the home basename
_platform_payloads passed own_home.name — the directory basename, '.hermes'
for the shipped default root or any custom HERMES_HOME name — into
profile_platforms_from_multiplexer, whose fold only matches a profile NAME.
Only secondaries under profiles/<name> have basename == profile id, so the
default home's re-key came back empty and /api/messaging/platforms kept
reading 'Restart needed' forever while the multiplexer served its flat-keyed
adapters (#123088 follow-up; /api/status already passed 'default'
explicitly).

Resolve the name with profile_name_for_home, and add a regression test whose
fixture home is literally named '.hermes'.
2026-09-28 13:30:57 -07:00
..