diff --git a/.claude/checkpoints/1754485088.json b/.claude/checkpoints/1754485088.json new file mode 100644 index 0000000000..bcedbd37cf --- /dev/null +++ b/.claude/checkpoints/1754485088.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250806-125808", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py", "timestamp": "2025-08-06T12:58:08Z", "type": "pre-edit", "original_branch": "alpha-88"} diff --git a/.claude/checkpoints/1754485090.json b/.claude/checkpoints/1754485090.json new file mode 100644 index 0000000000..ad4db1b880 --- /dev/null +++ b/.claude/checkpoints/1754485090.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250806-125810", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py", "timestamp": "2025-08-06T12:58:10Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 12 ++++++++++++ .claude-flow/metrics/task-metrics.json | 8 ++++---- .claude/checkpoints/task-1754485072.json | 1 + .../src/swarm_benchmark/core/claude_flow_real_executor.py | 5 +++-- claude-flow-wiki | 0 6 files changed, 21 insertions(+), 7 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 73984c5ed3..6446a0aef6 100644 --- a/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py +++ b/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py @@ -322,10 +322,10 @@ class RealClaudeFlowExecutor: "--non-interactive" # CRITICAL: Add non-interactive flag ] - # Add the task/objective as a single quoted argument + # Add the task/objective as a single argument (subprocess handles quoting) if config.task: - # Ensure the task is passed as a single argument with quotes - command.append(f'"{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)])