Skip to content

fix(honcho): resolve externally installed Honcho provider - #30

Merged
xraysight merged 1 commit into
xraysight:mainfrom
merodahero:fix/honcho-external-provider
Oct 7, 2026
Merged

xraysight merged 1 commit into
xraysight:mainfrom
merodahero:fix/honcho-external-provider

Conversation

@merodahero

Copy link
Copy Markdown
Contributor

Problem

Recent Hermes builds no longer bundle Honcho in core. It is installed as a catalog plugin under $HERMES_HOME/plugins/honcho, and Hermes loads it under a synthetic module namespace (_hermes_user_memory.honcho__source_<hash>). The two hardcoded imports in dashboard/plugin_api.py:

from plugins.memory.honcho.client import HonchoClientConfig, resolve_config_path
from plugins.memory.honcho.client import get_honcho_client

therefore fail, and the Honcho panel shows:

Honcho provider helpers unavailable: No module named 'plugins.memory.honcho'

Honcho itself is healthy (hermes memory status reports it as available). Only the dashboard's import path is wrong.

Fix

Add a _honcho_client_module() helper that resolves the client through Hermes's plugins.memory.import_provider_module("honcho", "client"). This is the same resolver _make_hindsight_provider() already uses. When that resolver is unavailable on older Hermes builds, the helper falls back to the old plugins.memory.honcho.client import, so bundled-core installs keep working.

Tests

  • New test_honcho_payload_resolves_externally_installed_provider: Honcho is reachable only through import_provider_module, and plugins.memory.honcho is not importable. The test fails without the fix and passes with it.
  • The existing Honcho tests still cover the legacy bundled path through the fallback.
  • Full suite: 93 passed, 1 skipped.

I also verified the fix against a live self-hosted Honcho on Hermes v0.21.5: the panel now returns peer cards and conclusions with no error.

@xraysight

Copy link
Copy Markdown
Owner

@merodahero, thanks for the fix! I reviewed the changes and verified that the new regression test fails on main and passes with your patch. All 94 tests pass locally, and GitHub CI is green too. The resolver-based approach looks good, including the fallback for older Hermes versions.

No blocking issues found. Thanks for contributing!

@xraysight
xraysight marked this pull request as ready for review October 7, 2026 13:55
@xraysight
xraysight merged commit 1d443fe into xraysight:main Oct 7, 2026
1 check passed
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.

2 participants