Plugin handler kwargs filtering bug and fixes
Cluster 68318 · 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 in registry.dispatch causes crashes when unexpected keyword arguments (such as task_id) are spread to plugin handlers that don't accept **kwargs. The related members propose fixes to filter or tolerate such mismatched kwargs.
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 2 · duplicate 1
-
#22146 fix(registry): tolerate plugin handlers without **kw · done elsewhere →
913c045,#118842,#68318 -
#68398 fix(registry): filter kwargs for plugin handlers that don't accept **kwargs · duplicate →
#22146 -
#68636 fix(registry): filter kwargs to handler signature in dispatch() (#68318) · done elsewhere →
913c045,#118842,#68318
Closed issues · 1
- Closed#68318[Bug]: v0.19.0 plugin handlers crash — unexpected task_id kwarg (registry.dispatch spreads kwargs to handler)
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