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

rUv00c4f158369b
diff --git a/.claude/checkpoints/1754483602.json b/.claude/checkpoints/1754483602.json
new file mode 100644
index 0000000000..24f4476e17
--- /dev/null
+++ b/.claude/checkpoints/1754483602.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250806-123322", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py", "timestamp": "2025-08-06T12:33:22Z", "type": "pre-edit", "original_branch": "alpha-88"}
diff --git a/.claude/checkpoints/1754483604.json b/.claude/checkpoints/1754483604.json
new file mode 100644
index 0000000000..0b008a75b1
--- /dev/null
+++ b/.claude/checkpoints/1754483604.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250806-123324", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py", "timestamp": "2025-08-06T12:33:24Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 24 ++++++++++ .claude-flow/metrics/task-metrics.json | 6 +-- .claude/checkpoints/task-1754483539.json | 1 + .../core/claude_flow_real_executor.py | 56 ++++------------------ claude-flow-wiki | 0 6 files changed, 38 insertions(+), 51 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 6ff2f0ab1d..d6403b72d1 100644
--- a/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py
+++ b/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py
@@ -334,20 +334,22 @@ class RealClaudeFlowExecutor:
return self._execute_streaming_command(command, 300) # 5 minute default timeout
def execute_sparc(self, config: SparcCommand) -> RealExecutionResult:
- """Execute a real SPARC command (non-interactive by default)."""
- # Build real SPARC command - always non-interactive
+ """Execute a real SPARC command."""
+ # Build real SPARC command
command = [
self.claude_flow_path,
"sparc",
config.mode,
- config.task,
- "--verbose" # Add verbose for better output in non-interactive mode
+ config.task
]
# Add output format if specified
if config.output_format:
command.extend(["--format", config.output_format])
+ # Add verbose for better output
+ command.append("--verbose")
+
# Add file output if task contains a path
if " in " in config.task:
output_path = config.task.split(" in ")[-1].strip('"').strip("'")
@@ -357,8 +359,8 @@ class RealClaudeFlowExecutor:
if config.additional_flags:
command.extend(config.additional_flags)
- # Try with a shorter timeout for SPARC (2 minutes)
- return self._execute_streaming_command(command, 120)
+ # Execute with appropriate timeout
+ return self._execute_streaming_command(command, 300) # 5 minutes for SPARC
def _execute_streaming_command(self, command: List[str], timeout_seconds: int) -> RealExecutionResult:
"""Execute command and parse streaming output."""