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

rUvdd5d18d090ae
diff --git a/.claude/checkpoints/task-1754485162.json b/.claude/checkpoints/task-1754485162.json
new file mode 100644
index 0000000000..33ef6dba97
--- /dev/null
+++ b/.claude/checkpoints/task-1754485162.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250806-125921", "task": "the example still doesn't include quotes. ruvnet ➜ /workspaces/claude-code-flow (alpha-88) $ swarm", "timestamp": "2025-08-06T12:59:22Z", "commit": "d593b3e4d82562708ee19340971085a1c86f474d", "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 6446a0aef6..ec49eb08d8 100644
--- a/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py
+++ b/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py
@@ -314,22 +314,16 @@ 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":
- # Hive-mind spawn expects: hive-mind spawn --non-interactive "objective"
+ # Build command list ensuring task stays as single argument
command = [
self.claude_flow_path,
- "hive-mind",
+ "hive-mind",
"spawn",
- "--non-interactive" # CRITICAL: Add non-interactive flag
+ "--non-interactive",
+ config.task, # Task is passed as single string argument
+ "--count", str(config.spawn_count),
+ "--coordination", config.coordination_mode
]
-
- # Add the task/objective as a single argument (subprocess handles quoting)
- if config.task:
- # Pass the task as-is, subprocess will handle it as a single argument
- command.append(config.task)
-
- # Add spawn parameters
- command.extend(["--count", str(config.spawn_count)])
- command.extend(["--coordination", config.coordination_mode])
else:
# Other hive-mind commands
command = [