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

This commit is contained in:
rUv committed 2025-08-06 13:03:12 +00:00
1 parent 202deef80a
commit b8edcc7da7
3 files changed
+7 -5

No files matched your search

+1
View File
@@ -0,0 +1 @@
{"branch": "checkpoint/pre-edit-20250806-130251", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py", "timestamp": "2025-08-06T13:02:51Z", "type": "pre-edit", "original_branch": "alpha-88"}
+1
View File
@@ -0,0 +1 @@
{"tag": "checkpoint-20250806-130253", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py", "timestamp": "2025-08-06T13:02:53Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/task-1754485355.json | 1 + benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py | 8 ++++---- claude-flow-wiki | 0 5 files changed, 9 insertions(+), 8 deletions(-) "}
@@ -289,16 +289,16 @@ class RealClaudeFlowExecutor:
def execute_swarm(self, config: SwarmCommand) -> RealExecutionResult:
"""Execute a real swarm command with built-in executor (non-interactive)."""
# Build real swarm command with --non-interactive for non-interactive execution
# Build command: swarm "objective" --strategy S --mode M --max-agents N --executor --non-interactive
command = [
self.claude_flow_path,
"swarm",
config.objective,
"--non-interactive", # CRITICAL: Use non-interactive mode
"--executor", # Use built-in executor
config.objective, # Objective comes right after swarm
"--strategy", config.strategy,
"--mode", config.mode,
"--max-agents", str(config.max_agents)
"--max-agents", str(config.max_agents),
"--executor", # Use built-in executor
"--non-interactive" # Non-interactive flag at the end
]
# Add additional flags