🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py

This commit is contained in:
rUv committed 2025-08-06 13:02:53 +00:00
1 parent 252afed48b
commit 202deef80a
2 files changed
+5 -4

No files matched your search

+1
View File
@@ -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"}
@@ -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