🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/src/swarm_benchmark/swe_bench/official_integration.py

This commit is contained in:
rUv committed 2025-08-07 14:23:10 +00:00
1 parent da1756e25d
commit b2c258ca3d
2 files changed
+9 -11

No files matched your search

+1
View File
@@ -0,0 +1 @@
{"checkpoint": "task-20250807-142241", "task": "it works for me ruvnet ➜ /workspaces/claude-code-flow (swe-bench) $ ./claude-flow hive-mind spawn ", "timestamp": "2025-08-07T14:22:42Z", "commit": "da1756e25d75d7dc2aff2e3e7789352a4adf6f05", "github_release": "true"}
@@ -131,22 +131,19 @@ Return ONLY the git diff patch in proper format."""
if Path.cwd().name == 'benchmark':
claude_flow_path = '../claude-flow'
# Use swarm command (more stable than hive-mind in non-interactive)
# Use hive-mind spawn with --claude flag (as it works for you)
cmd_args = [
claude_flow_path, 'swarm',
claude_flow_path, 'hive-mind', 'spawn',
simple_prompt,
'--strategy', self.config.strategy.value.lower()
'--claude', # This generates the Claude Code coordination
'--non-interactive' # Must be at the end
]
# Add mode
cmd_args.extend(['--mode', self.config.mode.value.lower()])
# Add agent count
# Optionally add max workers
if self.config.max_agents:
cmd_args.extend(['--max-agents', str(self.config.max_agents)])
# Non-interactive must be last
cmd_args.append('--non-interactive')
# Insert before --non-interactive
cmd_args.insert(-1, '--max-workers')
cmd_args.insert(-1, str(self.config.max_agents))
print(f" 📋 Executing: {' '.join(cmd_args[:5])}...")