From 202deef80a4ff842df59dbbaa4946eeaaab4c924 Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 6 Aug 2025 13:02:53 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/benchmark/src/swarm=5Fbenchmark/core/claude?= =?UTF-8?q?=5Fflow=5Freal=5Fexecutor.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/task-1754485355.json | 1 + .../src/swarm_benchmark/core/claude_flow_real_executor.py | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .claude/checkpoints/task-1754485355.json 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