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