From bc3252133ff9ca2f711636cadfaaf79a84920cc7 Mon Sep 17 00:00:00 2001 From: r Date: Wed, 11 Nov 2026 08:29:01 -0500 Subject: [PATCH] fix(cli): show the centroid method in the hooks route table With CLAUDE_FLOW_ROUTER_CENTROID=1 the table printed 'Method: keyword' while Backend said 'nearest centroid'. Co-Authored-By: RuFlo --- v3/@claude-flow/cli/src/commands/hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v3/@claude-flow/cli/src/commands/hooks.ts b/v3/@claude-flow/cli/src/commands/hooks.ts index 997a4c5af0..d0c1dac2bc 100644 --- a/v3/@claude-flow/cli/src/commands/hooks.ts +++ b/v3/@claude-flow/cli/src/commands/hooks.ts @@ -728,7 +728,7 @@ const routeCommand: Command = { if (result.routing) { output.writeln(); output.writeln(output.bold('Routing Method')); - const methodDisplay = result.routing.method.startsWith('semantic') + const methodDisplay = result.routing.method.startsWith('semantic') || result.routing.method === 'centroid' ? output.success(`${result.routing.method} (${result.routing.backend || 'semantic'})`) : 'keyword'; output.printList([