PluginManager _cli_ref unset in query mode bug
Cluster 67597 · agent. Data as of
Nothing open on GitHub. Fix merged in #118842. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #118842. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #118842. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug where PluginManager._cli_ref was not initialized during query mode, preventing PluginContext.dispatch_tool from injecting parent_agent. Multiple fix attempts address wiring _cli_ref before query-mode agent initialization.
Open issues0
Open PRs0
Fixes on record
-
#118842 Provider-plugin contracts: chronos no longer eagerly loaded, narrow plugin tool handlers survive dispatch, -q wires _cli_ref, builtin memory sentinel, context-engine clone/user-dir (#62951 #68318 #67597 #75647 #115113 #99640 #61839)
files:
agent/agent_init.py,agent/context_engine.py,agent/memory_provider.py,hermes_cli/cli_single_query.py,hermes_cli/doctor_state.py,hermes_cli/memory_provider_migration.py,hermes_cli/plugins_discovery.py,hermes_cli/plugins_manifest.py,hermes_cli/update_cmd_deps.py,hermes_cli/web_server_memory.py,plugins/context_engine/__init__.py,tests/agent/test_context_engine.py,tests/agent/test_plugin_context_engine_clone.py,tests/hermes_cli/test_memory_provider_core_sentinels.py,tests/hermes_cli/test_plugins.py,tests/hermes_cli/test_single_query_plugin_cli_ref.py,tests/plugins/test_context_engine_user_dir.py,tests/tools/test_registry.py,tools/registry.py,website/docs/developer-guide/context-engine-plugin.md(+1 more)
3 PRs closed without merging
From the close comments: done elsewhere 3
-
#67610 fix: initialize PluginManager._cli_ref in query mode (fixes #67597) · done elsewhere →
913c045,#118842,#67597 -
#67611 fix(cli): wire plugin manager _cli_ref in query mode so dispatch_tool injects parent_agent (#67597) · done elsewhere →
913c045,#118842,#67597 -
#67633 fix(cli): expose _cli_ref to plugins before query-mode agent init · done elsewhere →
913c045,#118842,#67597
Closed issues · 1
- Closed#67597[Bug]: PluginManager._cli_ref is not set in query mode, preventing PluginContext.dispatch_tool from injecting parent_agent
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- agent
- Merged PRs
- #118842
- Closed issues
- 1
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 22 Sep 2026