From b6b58f383f56f2895ae471ebdfd3e1787b0f3e97 Mon Sep 17 00:00:00 2001 From: rUv Date: Tue, 12 Aug 2025 14:42:59 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/src/cli/simple-commands/init/index.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/1755009717.json | 1 + .claude/checkpoints/1755009719.json | 1 + src/cli/simple-commands/init/index.js | 10 +++++++--- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .claude/checkpoints/1755009717.json create mode 100644 .claude/checkpoints/1755009719.json diff --git a/.claude/checkpoints/1755009717.json b/.claude/checkpoints/1755009717.json new file mode 100644 index 0000000000..e939c66943 --- /dev/null +++ b/.claude/checkpoints/1755009717.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250812-144157", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/help.js", "timestamp": "2025-08-12T14:41:57Z", "type": "pre-edit", "original_branch": "alpha-89"} diff --git a/.claude/checkpoints/1755009719.json b/.claude/checkpoints/1755009719.json new file mode 100644 index 0000000000..89a888f65c --- /dev/null +++ b/.claude/checkpoints/1755009719.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250812-144159", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/help.js", "timestamp": "2025-08-12T14:41:59Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 96 ++++++++++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 8 +-- .claude/checkpoints/1755009705.json | 1 + .claude/checkpoints/1755009706.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/init/help.js | 6 ++ 7 files changed, 109 insertions(+), 5 deletions(-) "} diff --git a/src/cli/simple-commands/init/index.js b/src/cli/simple-commands/init/index.js index dc0784b097..76108a7631 100644 --- a/src/cli/simple-commands/init/index.js +++ b/src/cli/simple-commands/init/index.js @@ -141,9 +141,13 @@ export async function initCommand(subArgs, flags) { return; } - // Default to enhanced Claude Flow v2 init - // Use --basic flag for old behavior - if (!flags.basic && !flags.minimal && !flags.sparc) { + // Check for verification flags first + const hasVerificationFlags = subArgs.includes('--verify') || subArgs.includes('--pair') || + flags.verify || flags.pair; + + // Default to enhanced Claude Flow v2 init unless other modes are specified + // Use --basic flag for old behavior, or verification flags for verification mode + if (!flags.basic && !flags.minimal && !flags.sparc && !hasVerificationFlags) { return await enhancedClaudeFlowInit(flags, subArgs); }