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

rUv07aa39ef6af4
diff --git a/.claude/checkpoints/1754484601.json b/.claude/checkpoints/1754484601.json
new file mode 100644
index 0000000000..01f848c400
--- /dev/null
+++ b/.claude/checkpoints/1754484601.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250806-125001", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py", "timestamp": "2025-08-06T12:50:01Z", "type": "pre-edit", "original_branch": "alpha-88"}
diff --git a/.claude/checkpoints/1754484603.json b/.claude/checkpoints/1754484603.json
new file mode 100644
index 0000000000..609e6d988e
--- /dev/null
+++ b/.claude/checkpoints/1754484603.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250806-125003", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py", "timestamp": "2025-08-06T12:50:03Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 814 +++++++++++++++++---- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1754484589.json | 1 + .claude/checkpoints/1754484591.json | 1 + .../core/claude_flow_real_executor.py | 3 +- claude-flow-wiki | 0 7 files changed, 685 insertions(+), 142 deletions(-) "}
diff --git a/benchmark/src/swarm_benchmark/cli/main.py b/benchmark/src/swarm_benchmark/cli/main.py
index 6acb521317..ac1ac8072f 100644
--- a/benchmark/src/swarm_benchmark/cli/main.py
+++ b/benchmark/src/swarm_benchmark/cli/main.py
@@ -482,12 +482,14 @@ def hive_mind(ctx, task, queen_type, max_workers, consensus, timeout, monitor, o
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})"
+ error_msg = "Command timed out (requires Claude CLI for execution)"
+ click.echo(f"❌ Hive-mind benchmark failed: {error_msg}")
+ click.echo("πŸ’‘ Tip: Hive-mind requires Claude CLI. Install with: npm install -g @anthropic-ai/claude-code")
+ click.echo(" Or use SPARC commands which work without Claude CLI:")
+ click.echo(" swarm-benchmark real sparc tdd \"Your task\"")
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}")
+ 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