You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] wiki_get_draft and wiki_refine_draft (Path B) are defined but never registered as MCP tools #579
mcp_server/handlers/wiki_refine.py defines Path B of the wiki pipeline (ADR-0467): handler_get (wiki_get_draft) hands an LLM a draft, its source claims and the kind contract, and handler_refine (wiki_refine_draft) takes the refined prose back. Neither is registered as an MCP tool. mcp_server/tool_registry_wiki.py registers ten wiki tools, none of them these two, and git log -S wiki_refine over the tool_registry*.py files finds no commit that ever registered them.
The only caller in the tree is tests_py/handlers/test_wiki_pipeline_sqlite.py::test_refine_lists_pending_drafts (for handler_get) and, since #578, tests_py/handlers/test_wiki_refine_confidence.py (for handler_refine). The maintainer's PostgreSQL store holds one refined_llm memo, written on 2026-04-14 by a test_runner_v1 run; all 546 drafts carry synth_modeltemplate_v1.
handler_get's instructions tell the caller to "call wiki_refine_draft", a tool no client can see.
Expected behavior
One of the two, decided by the owner: register both tools (with their tool_profiles.py and latency_class.py entries and the docs/mcp-tools.md count), or remove the module and its tests with an ADR that supersedes ADR-0467.
Evidence required to close
Either the two tools listed by the server's tools/list, or the module gone with no remaining reference outside wiki/adr and docs/adr.
Activity
feat(wiki): expose the Path B draft tools over MCP (#579) (#581)
fix(launcher,wiki): install without a pip module, refuse an empty ref…
release: 4.23.0
release: 4.23.0 (#609)