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

rUv1ddb85d78324
diff --git a/.claude/checkpoints/1754479667.json b/.claude/checkpoints/1754479667.json
new file mode 100644
index 0000000000..bd1ba79502
--- /dev/null
+++ b/.claude/checkpoints/1754479667.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250806-112747", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py", "timestamp": "2025-08-06T11:27:47Z", "type": "pre-edit", "original_branch": "alpha-88"}
diff --git a/.claude/checkpoints/1754479669.json b/.claude/checkpoints/1754479669.json
new file mode 100644
index 0000000000..b2b57f8133
--- /dev/null
+++ b/.claude/checkpoints/1754479669.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250806-112749", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py", "timestamp": "2025-08-06T11:27:49Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/task-metrics.json | 8 +- .claude/checkpoints/task-1754479611.json | 1 + benchmark/src/swarm_benchmark/cli/main.py | 124 +++++++++++++++++++ claude-flow-wiki | 0 ...trics_f68e7f0f-945b-4cda-afdf-01c3a8803067.json | 66 +++++++++++ ...eport_f68e7f0f-945b-4cda-afdf-01c3a8803067.json | 47 ++++++++ ...lized_f68e7f0f-945b-4cda-afdf-01c3a8803067.json | 132 +++++++++++++++++++++ 8 files changed, 375 insertions(+), 5 deletions(-) "}
diff --git a/benchmark/src/swarm_benchmark/cli/main.py b/benchmark/src/swarm_benchmark/cli/main.py
index a68816cb04..984e797859 100644
--- a/benchmark/src/swarm_benchmark/cli/main.py
+++ b/benchmark/src/swarm_benchmark/cli/main.py
@@ -358,18 +358,23 @@ def hive_mind(ctx, task, queen_type, max_workers, consensus, timeout, monitor, o
# Execute real hive-mind command
try:
- from ..core.claude_flow_real_executor import ClaudeFlowRealExecutor
+ from ..core.claude_flow_real_executor import ClaudeFlowRealExecutor, HiveMindCommand
executor = ClaudeFlowRealExecutor()
- result = executor.execute_hive_mind(
+ # Create hive-mind configuration
+ config = HiveMindCommand(
task=task,
- queen_type=queen_type,
- max_workers=max_workers,
- consensus=consensus,
- timeout=timeout * 60,
- monitor=monitor
+ action="spawn",
+ spawn_count=max_workers,
+ coordination_mode=consensus
)
+ # Add additional flags if needed
+ if monitor:
+ config.additional_flags.append("--monitor")
+
+ result = executor.execute_hive_mind(config)
+
if result.success:
click.echo(f"✅ Hive-mind benchmark completed!")
click.echo(f"📊 Results saved to: {output_dir}")