Skip to content

fix: align plugins list with nested bundled plugin enablement#41595

Closed
mnajafian-nv wants to merge 3 commits into
NousResearch:mainfrom
mnajafian-nv:fix/plugins-list-nested-bundled-status
Closed

fix: align plugins list with nested bundled plugin enablement#41595
mnajafian-nv wants to merge 3 commits into
NousResearch:mainfrom
mnajafian-nv:fix/plugins-list-nested-bundled-status

Conversation

@mnajafian-nv

Copy link
Copy Markdown
Contributor

Summary

Fix hermes plugins list for nested bundled plugins such as observability/nemo_relay.

The runtime loader already supports nested path-derived plugin keys and legacy bare manifest names for enablement back-compat. The CLI list path did not fully match that behavior, so a nested bundled plugin could be enabled at runtime while hermes plugins list still showed it as not enabled or omitted it from --enabled.

What Changed

  • Reused the runtime scanner model for hermes plugins list so nested bundled plugins are discovered with their path-derived keys.
  • Made CLI status and --enabled filtering honor both the path-derived key and the legacy bare manifest name, consistent with runtime loader behavior.
  • Added focused regressions for nested bundled plugin discovery and legacy-name enabled-state reporting.

Validation

Passed:

  • uv run --with pytest --with pytest-timeout python -m pytest -q tests/hermes_cli/test_plugins_cmd_list.py
  • uv run --with pytest --with pytest-timeout python -m pytest -q tests/hermes_cli/test_plugin_scanner_recursion.py -k bundled

Also ran:

  • scripts/run_tests.sh

The repo-wide wrapper currently reports unrelated failures outside this change scope. The focused plugin-list regressions above passed for this branch.

Clear NeMo Relay plugin-config observability only after the last active Hermes session finalizes.

Use the plugin's async-safe awaitable helper for both initialize and clear so session rotation remains safe under active event loops.

Disable the direct ATIF fallback when plugins.toml already owns the ATIF exporter lifecycle to avoid duplicate trajectory export on finalization.
Signed-off-by: mnajafian-nv <mnajafian@nvidia.com>
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/cli CLI entry point, hermes_cli/, setup wizard comp/plugins Plugin system and bundled plugins labels Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants