fix(hub): expect always-on todo_write in pbank tool mapping

This commit is contained in:
2026-07-30 12:51:48 +08:00
parent 6ddc0b5bd1
commit e0e25ca4c5
+1
View File
@@ -44,6 +44,7 @@ describe("pbank client helpers", () => {
describe("role tool mapping for pbank", () => { describe("role tool mapping for pbank", () => {
it("maps umbrella pbank role tool to three MCP tools", () => { it("maps umbrella pbank role tool to three MCP tools", () => {
expect(cphHubMcpToolsForRole(["pbank"])).toEqual([ expect(cphHubMcpToolsForRole(["pbank"])).toEqual([
"todo_write",
"pbank_search_problems", "pbank_search_problems",
"pbank_get_problem", "pbank_get_problem",
"pbank_get_many_problems", "pbank_get_many_problems",