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