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/core/claude_flow_real_executor.py

rUv202deef80a4f
diff --git a/.claude/checkpoints/task-1754485355.json b/.claude/checkpoints/task-1754485355.json
new file mode 100644
index 0000000000..dc48d67462
--- /dev/null
+++ b/.claude/checkpoints/task-1754485355.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250806-130234", "task": "the command should like: ./claude-flow hive-mind spawn "Design hello world in ./hello-bench/" --coun", "timestamp": "2025-08-06T13:02:35Z", "commit": "303e727d311d65ef4836ff04d065bee3e664a824", "github_release": "true"}
diff --git a/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py b/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py
index f6766c062a..7f4cfaec3e 100644
--- a/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py
+++ b/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py
@@ -314,15 +314,15 @@ class RealClaudeFlowExecutor:
"""Execute a real hive-mind command with built-in executor (non-interactive)."""
# For hive-mind, we need to handle the spawn command differently
if config.action == "spawn":
- # Build command list ensuring task stays as single argument
+ # Build command: hive-mind spawn "task" --count N --coordination MODE --non-interactive
command = [
self.claude_flow_path,
"hive-mind",
"spawn",
- "--non-interactive",
- config.task, # Task is passed as single string argument
+ config.task, # Task comes right after spawn
"--count", str(config.spawn_count),
- "--coordination", config.coordination_mode
+ "--coordination", config.coordination_mode,
+ "--non-interactive" # Non-interactive flag at the end
]
else:
# Other hive-mind commands