Plugin not loaded by gateway — lives at profile level, not global plugins dir #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The gateway systemd unit sets
HERMES_HOME=/root/.hermes, sodiscover_plugins()inhermes_cli/plugins.pyscans/root/.hermes/plugins/for user plugins. That directory containshermes-lcmandsibylbut notagenda.The agenda plugin lives at
/root/.hermes/profiles/canal1/plugins/agenda/— the profile-level plugins directory.The gateway never loads it. All three hooks (
pre_llm_call,post_tool_call,on_session_start) are dead code that never executes.Evidence
hermes plugins listshows agenda as enabled (CLI runs withHERMES_HOME=/root/.hermes/profiles/canal1)journalctl -u hermes-gateway | grep -i agendareturns nothing — confirmed no plugin activityget_hermes_home() / "plugins"which is/root/.hermes/plugins/Fix options
ln -s /root/.hermes/profiles/canal1/plugins/agenda /root/.hermes/plugins/agenda/root/.hermes/plugins/agenda/discover_plugins()(requires Hermes core changes)HERMES_HOME=/root/.hermes/profiles/canal1in the gateway systemd unit (but this may break other things)Option 1 (symlink) is simplest and safest.