From 3e76badcf9d6f8a64648b907989062e3ef8ae4cd Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 6 Aug 2025 12:03:30 +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-1754481762.json | 1 + .../core/claude_flow_real_executor.py | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 .claude/checkpoints/task-1754481762.json diff --git a/.claude/checkpoints/task-1754481762.json b/.claude/checkpoints/task-1754481762.json new file mode 100644 index 0000000000..f48868d789 --- /dev/null +++ b/.claude/checkpoints/task-1754481762.json @@ -0,0 +1 @@ +{"checkpoint": "task-20250806-120240", "task": "is this actually using claude-flow? I don't see the hello world and runs really quickly. and the hiv", "timestamp": "2025-08-06T12:02:42Z", "commit": "94603abdc4fa567f3a138dabcdf183bf69dc03ec", "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 9a3c03fd2a..06143783bd 100644 --- a/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py +++ b/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py @@ -326,22 +326,22 @@ class RealClaudeFlowExecutor: def execute_sparc(self, config: SparcCommand) -> RealExecutionResult: """Execute a real SPARC command.""" + # SPARC command format: claude-flow sparc "" command = [ self.claude_flow_path, "sparc", - "run", config.mode, - config.task, - "--non-interactive" + config.task ] - if config.memory_key: - command.extend(["--memory-key", config.memory_key]) + # Add output format if needed + if config.output_format: + command.extend(["--format", config.output_format]) # Add additional flags command.extend(config.additional_flags) - return self._execute_streaming_command(command, 300) # 5 minute default timeout + return self._execute_streaming_command(command, 60) # 1 minute timeout for sparc def _execute_streaming_command(self, command: List[str], timeout_seconds: int) -> RealExecutionResult: """Execute command and parse streaming output."""