From c1030d545e1c4372e663cc1be2cf5a42b14db4ac Mon Sep 17 00:00:00 2001 From: rUv Date: Tue, 12 Aug 2025 14:39:49 +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/1755009575.json | 1 + .claude/checkpoints/1755009576.json | 1 + src/cli/simple-commands/init/index.js | 4 ++++ 3 files changed, 6 insertions(+) create mode 100644 .claude/checkpoints/1755009575.json create mode 100644 .claude/checkpoints/1755009576.json diff --git a/.claude/checkpoints/1755009575.json b/.claude/checkpoints/1755009575.json new file mode 100644 index 0000000000..51b0e98c86 --- /dev/null +++ b/.claude/checkpoints/1755009575.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250812-143935", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/index.js", "timestamp": "2025-08-12T14:39:35Z", "type": "pre-edit", "original_branch": "alpha-89"} diff --git a/.claude/checkpoints/1755009576.json b/.claude/checkpoints/1755009576.json new file mode 100644 index 0000000000..b740bd63f9 --- /dev/null +++ b/.claude/checkpoints/1755009576.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250812-143936", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/index.js", "timestamp": "2025-08-12T14:39:36Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 36 ++++++++++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 8 +++---- .claude/checkpoints/1755009483.json | 1 + .claude/checkpoints/1755009485.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/init/index.js | 4 ++++ 7 files changed, 47 insertions(+), 5 deletions(-) "} diff --git a/src/cli/simple-commands/init/index.js b/src/cli/simple-commands/init/index.js index 4e3c27f6ad..fc759916cc 100644 --- a/src/cli/simple-commands/init/index.js +++ b/src/cli/simple-commands/init/index.js @@ -182,6 +182,10 @@ export async function initCommand(subArgs, flags) { const initDryRun = subArgs.includes('--dry-run') || subArgs.includes('-d') || flags.dryRun; const initOptimized = initSparc && initForce; // Use optimized templates when both flags are present const selectedModes = flags.modes ? flags.modes.split(',') : null; // Support selective mode initialization + + // Check for verification and pair programming flags + const initVerify = subArgs.includes('--verify') || flags.verify; + const initPair = subArgs.includes('--pair') || flags.pair; // Get the actual working directory (where the command was run from) // Use PWD environment variable which preserves the original directory