From ecfb077723eeb2ce9b3fe1837a20bfe3a99f4fe7 Mon Sep 17 00:00:00 2001 From: rUv Date: Fri, 9 Jan 2026 15:39:43 +0000 Subject: [PATCH] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: v3 - Timestamp: 2026-01-09T15:39:43Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/cli/src/commands/hooks.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v3/@claude-flow/cli/src/commands/hooks.ts b/v3/@claude-flow/cli/src/commands/hooks.ts index 87f5528af8..ab28f19188 100644 --- a/v3/@claude-flow/cli/src/commands/hooks.ts +++ b/v3/@claude-flow/cli/src/commands/hooks.ts @@ -3402,7 +3402,8 @@ const routeTaskCommand: Command = { // Silently handle v2-specific flags that don't exist in v3 // --auto-swarm, --detect-complexity are ignored but don't fail if (routeCommand.action) { - return routeCommand.action(ctx); + const result = await routeCommand.action(ctx); + return result || { success: true }; } return { success: true }; }