Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py

rUv7233c3a30dd7
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 <mode> "<task>"
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."""