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/cli/main.py

rUvc17df119c72e
diff --git a/.claude/checkpoints/task-1754480656.json b/.claude/checkpoints/task-1754480656.json
new file mode 100644
index 0000000000..80c8c03e7f
--- /dev/null
+++ b/.claude/checkpoints/task-1754480656.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250806-114415", "task": "@ruvnet ➜ /workspaces/claude-code-flow (alpha-88) $ swarm-benchmark real hive-mind "Design hello w", "timestamp": "2025-08-06T11:44:16Z", "commit": "1d35eb9a66a90b27540b5e7faf17eb6688921c8a", "github_release": "true"}
diff --git a/benchmark/src/swarm_benchmark/cli/main.py b/benchmark/src/swarm_benchmark/cli/main.py
index 070a69c7e6..99b5ef256f 100644
--- a/benchmark/src/swarm_benchmark/cli/main.py
+++ b/benchmark/src/swarm_benchmark/cli/main.py
@@ -380,9 +380,20 @@ def hive_mind(ctx, task, queen_type, max_workers, consensus, timeout, monitor, o
click.echo(f"πŸ“Š Results saved to: {output_dir}")
if ctx.obj.get('verbose'):
click.echo(f"Execution time: {result.duration:.2f}s")
- click.echo(f"Workers spawned: {result.metrics.get('workers_spawned', 'N/A')}")
+ click.echo(f"Workers spawned: {result.agents_spawned}")
else:
- click.echo(f"❌ Hive-mind benchmark failed: {result.error}")
+ error_msg = ""
+ if result.errors:
+ error_msg = "; ".join(result.errors)
+ elif result.exit_code == -9:
+ error_msg = f"Command timed out or was killed (exit code: {result.exit_code})"
+ elif result.exit_code != 0:
+ error_msg = f"Command failed with exit code: {result.exit_code}"
+ else:
+ error_msg = "Unknown error"
+ click.echo(f"❌ Hive-mind benchmark failed: {error_msg}")
+ if ctx.obj.get('verbose') and result.stderr_lines:
+ click.echo(f"Stderr: {' '.join(result.stderr_lines[:5])}")
return 1
except Exception as e: