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

rUv66215c346587
diff --git a/.claude/checkpoints/1756223870.json b/.claude/checkpoints/1756223870.json
new file mode 100644
index 0000000000..a255d3edb7
--- /dev/null
+++ b/.claude/checkpoints/1756223870.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250826-155750", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/index.js", "timestamp": "2025-08-26T15:57:50Z", "type": "pre-edit", "original_branch": "alpha93"}
diff --git a/.claude/checkpoints/1756223872.json b/.claude/checkpoints/1756223872.json
new file mode 100644
index 0000000000..dd6337482d
--- /dev/null
+++ b/.claude/checkpoints/1756223872.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250826-155752", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/init/index.js", "timestamp": "2025-08-26T15:57:52Z", "type": "post-edit", "branch": "alpha93", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 2352 +++++++++++++++++++++++++++++- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1756223818.json | 1 + .claude/checkpoints/1756223819.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/init/index.js | 2 +- 7 files changed, 2305 insertions(+), 59 deletions(-) "}
diff --git a/src/cli/simple-commands/init/index.js b/src/cli/simple-commands/init/index.js
index b90cf6da1e..2f413abaf0 100644
--- a/src/cli/simple-commands/init/index.js
+++ b/src/cli/simple-commands/init/index.js
@@ -1397,21 +1397,23 @@ ${commands.map((cmd) => `- [${cmd}](./${cmd}.md)`).join('\n')}
console.log(` ⚠️ ${gitignoreResult.message}`);
}
- // SPARC initialization (now included by default)
- console.log('\nπŸš€ Initializing SPARC development environment...');
+ // SPARC initialization (only with --roo flag)
let sparcInitialized = false;
- try {
- // Run create-sparc
- console.log(' πŸ”„ Running: npx -y create-sparc init --force');
- execSync('npx -y create-sparc init --force', {
- cwd: workingDir,
- stdio: 'inherit',
- });
- sparcInitialized = true;
- printSuccess('βœ… SPARC environment initialized successfully');
- } catch (err) {
- console.log(` ⚠️ Could not run create-sparc: ${err.message}`);
- console.log(' SPARC features will be limited to basic functionality');
+ if (initSparc) {
+ console.log('\nπŸš€ Initializing SPARC development environment...');
+ try {
+ // Run create-sparc
+ console.log(' πŸ”„ Running: npx -y create-sparc init --force');
+ execSync('npx -y create-sparc init --force', {
+ cwd: workingDir,
+ stdio: 'inherit',
+ });
+ sparcInitialized = true;
+ printSuccess('βœ… SPARC environment initialized successfully');
+ } catch (err) {
+ console.log(` ⚠️ Could not run create-sparc: ${err.message}`);
+ console.log(' SPARC features will be limited to basic functionality');
+ }
}
// Create Claude slash commands for SPARC