Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/init/index.js

rUvb6b58f383f56
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);
}