From ec0e6a6f13a4bdf0a656be21e56f95a4029e1262 Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 6 Aug 2025 12:58:24 +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/1754485088.json | 1 + .claude/checkpoints/1754485090.json | 1 + .../src/swarm_benchmark/core/claude_flow_real_executor.py | 6 +++--- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .claude/checkpoints/1754485088.json create mode 100644 .claude/checkpoints/1754485090.json 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)])