From b8edcc7da7540ab29cdce4209117ab9945d4dcdd Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 6 Aug 2025 13:03:12 +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/1754485371.json | 1 + .claude/checkpoints/1754485373.json | 1 + .../swarm_benchmark/core/claude_flow_real_executor.py | 10 +++++----- 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 .claude/checkpoints/1754485371.json create mode 100644 .claude/checkpoints/1754485373.json diff --git a/.claude/checkpoints/1754485371.json b/.claude/checkpoints/1754485371.json new file mode 100644 index 0000000000..17eabb62df --- /dev/null +++ b/.claude/checkpoints/1754485371.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250806-130251", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py", "timestamp": "2025-08-06T13:02:51Z", "type": "pre-edit", "original_branch": "alpha-88"} diff --git a/.claude/checkpoints/1754485373.json b/.claude/checkpoints/1754485373.json new file mode 100644 index 0000000000..75be9d3bfb --- /dev/null +++ b/.claude/checkpoints/1754485373.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250806-130253", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py", "timestamp": "2025-08-06T13:02:53Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/task-1754485355.json | 1 + benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py | 8 ++++---- claude-flow-wiki | 0 5 files changed, 9 insertions(+), 8 deletions(-) "} 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 7f4cfaec3e..7b7a9fcf2a 100644 --- a/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py +++ b/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py @@ -289,16 +289,16 @@ class RealClaudeFlowExecutor: def execute_swarm(self, config: SwarmCommand) -> RealExecutionResult: """Execute a real swarm command with built-in executor (non-interactive).""" - # Build real swarm command with --non-interactive for non-interactive execution + # Build command: swarm "objective" --strategy S --mode M --max-agents N --executor --non-interactive command = [ self.claude_flow_path, "swarm", - config.objective, - "--non-interactive", # CRITICAL: Use non-interactive mode - "--executor", # Use built-in executor + config.objective, # Objective comes right after swarm "--strategy", config.strategy, "--mode", config.mode, - "--max-agents", str(config.max_agents) + "--max-agents", str(config.max_agents), + "--executor", # Use built-in executor + "--non-interactive" # Non-interactive flag at the end ] # Add additional flags