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/swarm.js

rUvb433487b8907
diff --git a/src/cli/simple-commands/swarm.js b/src/cli/simple-commands/swarm.js
index 8c4e56d857..b53574b9c6 100644
--- a/src/cli/simple-commands/swarm.js
+++ b/src/cli/simple-commands/swarm.js
@@ -370,7 +370,13 @@ export async function swarmCommand(args, flags) {
flags.sparc !== false && (strategy === 'development' || strategy === 'auto');
// Build the complete swarm prompt before checking for claude
- const swarmPrompt = `You are orchestrating a Claude Flow Swarm with advanced MCP tool coordination.
+ const swarmPrompt = `You are orchestrating a Claude Flow Swarm using Claude Code's Task tool for agent execution.
+
+🚨 CRITICAL INSTRUCTION: Use Claude Code's Task Tool for ALL Agent Spawning!
+━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
+βœ… Claude Code's Task tool = Spawns agents that DO the actual work
+❌ MCP tools = Only for coordination setup, NOT for execution
+━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 OBJECTIVE: ${objective}
diff --git a/test-claude-md-update/.claude/checkpoints/1755801237.json b/test-claude-md-update/.claude/checkpoints/1755801237.json
new file mode 100644
index 0000000000..769c1a2ba6
--- /dev/null
+++ b/test-claude-md-update/.claude/checkpoints/1755801237.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250821-183357", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/swarm.js", "timestamp": "2025-08-21T18:33:57Z", "type": "pre-edit", "original_branch": "alpha91"}
diff --git a/test-claude-md-update/.claude/checkpoints/1755801239.json b/test-claude-md-update/.claude/checkpoints/1755801239.json
new file mode 100644
index 0000000000..f79ee1b57e
--- /dev/null
+++ b/test-claude-md-update/.claude/checkpoints/1755801239.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250821-183359", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/swarm.js", "timestamp": "2025-08-21T18:33:59Z", "type": "post-edit", "branch": "alpha91", "diff_summary": " .claude-flow/metrics/system-metrics.json | 132 +++++++++++++++++++++ claude-flow-wiki | 0 src/cli/simple-commands/swarm.js | 50 +++++--- .../.claude/checkpoints/1755801153.json | 1 + .../.claude/checkpoints/1755801155.json | 1 + 5 files changed, 165 insertions(+), 19 deletions(-) "}