Skip to content

fix(mnemosyne): resolve catalog-installed provider implementation - #31

Merged
xraysight merged 1 commit into
mainfrom
fix/mnemosyne-provider-loading
Oct 7, 2026
Merged

xraysight merged 1 commit into
mainfrom
fix/mnemosyne-provider-loading

Conversation

@xraysight

Copy link
Copy Markdown
Owner

Summary

  • Use Hermes provider resolution for catalog-installed Mnemosyne.
  • Support wrappers that re-export registration hooks but do not export the provider class. Resolve the implementation through the hook defining module without invoking registration or constructing a provider.
  • Preserve older-host bundled/profile-local imports and support both mnemosyne_hermes and legacy hermes_memory_provider standalone packages.
  • Report resolver failures rather than silently falling back to another installation.
  • Add regression tests for class-loading lifecycle boundaries, wrapper exports, recall/prefetch, standalone packages, and sanitized resolver errors.

Changes are limited to dashboard/plugin_api.py and tests/test_plugin_api.py. The main README and plugin version are unchanged.

Verification

  • Regression tests failed before the corresponding fixes and passed afterward.
  • Local pytest: 101 passed on Python 3.12 and 3.14. The existing HTTP/profile integration regression was also exercised with the available Hermes host runtime.
  • JavaScript syntax and Desktop VM smoke harness passed.
  • Isolated import integration passed with the real Hermes resolver and upstream Mnemosyne wrapper/provider source snapshots, with the optional core SDK disabled. Class resolution required no registration, construction, or database creation.
  • Local host Plugin Guard snapshot comparison reported safe/allowed, with no high or critical findings.
  • Final diff reviewed; whitespace checks passed.

Scope and limitations

Recall/prefetch regression tests use fixture providers, not a live Mnemosyne store. No successful live recall/prefetch path is claimed. Explicit query construction/initialization retains existing provider lifecycle behavior and may open writable stores or run migrations; this fix changes class resolution only. No Hermes core/config changes, installation, or service restarts.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T15:23:09.046204Z 732220e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@xraysight
xraysight merged commit 0502efb into main Oct 7, 2026
2 checks 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.

1 participant