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/benchmark/src/swarm_benchmark/swe_bench/official_integration.py

rUv926b83541bba
diff --git a/.claude/checkpoints/task-1754576562.json b/.claude/checkpoints/task-1754576562.json
new file mode 100644
index 0000000000..ed2992e083
--- /dev/null
+++ b/.claude/checkpoints/task-1754576562.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250807-142241", "task": "it works for me ruvnet ➜ /workspaces/claude-code-flow (swe-bench) $ ./claude-flow hive-mind spawn ", "timestamp": "2025-08-07T14:22:42Z", "commit": "da1756e25d75d7dc2aff2e3e7789352a4adf6f05", "github_release": "true"}
diff --git a/benchmark/src/swarm_benchmark/swe_bench/official_integration.py b/benchmark/src/swarm_benchmark/swe_bench/official_integration.py
index bf3f4540a1..57f165ea8a 100644
--- a/benchmark/src/swarm_benchmark/swe_bench/official_integration.py
+++ b/benchmark/src/swarm_benchmark/swe_bench/official_integration.py
@@ -131,22 +131,19 @@ Return ONLY the git diff patch in proper format."""
if Path.cwd().name == 'benchmark':
claude_flow_path = '../claude-flow'
- # Use swarm command (more stable than hive-mind in non-interactive)
+ # Use hive-mind spawn with --claude flag (as it works for you)
cmd_args = [
- claude_flow_path, 'swarm',
+ claude_flow_path, 'hive-mind', 'spawn',
simple_prompt,
- '--strategy', self.config.strategy.value.lower()
+ '--claude', # This generates the Claude Code coordination
+ '--non-interactive' # Must be at the end
]
- # Add mode
- cmd_args.extend(['--mode', self.config.mode.value.lower()])
-
- # Add agent count
+ # Optionally add max workers
if self.config.max_agents:
- cmd_args.extend(['--max-agents', str(self.config.max_agents)])
-
- # Non-interactive must be last
- cmd_args.append('--non-interactive')
+ # Insert before --non-interactive
+ cmd_args.insert(-1, '--max-workers')
+ cmd_args.insert(-1, str(self.config.max_agents))
print(f" 📋 Executing: {' '.join(cmd_args[:5])}...")