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

rUvde6217702616
diff --git a/.claude/checkpoints/task-1754224042.json b/.claude/checkpoints/task-1754224042.json
new file mode 100644
index 0000000000..29bf9ae93f
--- /dev/null
+++ b/.claude/checkpoints/task-1754224042.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250803-122721", "task": "{{user_prompt}} ", "timestamp": "2025-08-03T12:27:22Z", "commit": "c0828bee0e836514284e1bd8da8e315035403588", "github_release": "true"}
diff --git a/src/cli/simple-commands/swarm.js b/src/cli/simple-commands/swarm.js
index 74745a3d6f..0c0b7e4782 100644
--- a/src/cli/simple-commands/swarm.js
+++ b/src/cli/simple-commands/swarm.js
@@ -876,11 +876,7 @@ The swarm should be self-documenting - use memory_store to save all important in
}
console.log();
- const strategy = flags.strategy || 'auto';
- const mode = flags.mode || 'centralized';
- const maxAgents = flags['max-agents'] || 5;
-
- // Get strategy-specific guidance
+ // Get strategy-specific guidance using already declared variables
const strategyGuidance = getStrategyGuidance(strategy, objective);
const modeGuidance = getModeGuidance(mode);
const agentRecommendations = getAgentRecommendations(strategy, maxAgents, objective);