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

rUv7a5912afac75
diff --git a/.claude/checkpoints/1754480683.json b/.claude/checkpoints/1754480683.json
new file mode 100644
index 0000000000..dde35bc4b8
--- /dev/null
+++ b/.claude/checkpoints/1754480683.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250806-114443", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py", "timestamp": "2025-08-06T11:44:43Z", "type": "pre-edit", "original_branch": "alpha-88"}
diff --git a/.claude/checkpoints/1754480685.json b/.claude/checkpoints/1754480685.json
new file mode 100644
index 0000000000..5feaa12ee2
--- /dev/null
+++ b/.claude/checkpoints/1754480685.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250806-114445", "file": "/workspaces/claude-code-flow/benchmark/src/swarm_benchmark/cli/main.py", "timestamp": "2025-08-06T11:44:45Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 12 ++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/task-1754480656.json | 1 + benchmark/src/swarm_benchmark/cli/main.py | 15 +++++++++++++-- claude-flow-wiki | 0 6 files changed, 30 insertions(+), 6 deletions(-) "}
diff --git a/benchmark/src/swarm_benchmark/cli/main.py b/benchmark/src/swarm_benchmark/cli/main.py
index 99b5ef256f..211cbae4d1 100644
--- a/benchmark/src/swarm_benchmark/cli/main.py
+++ b/benchmark/src/swarm_benchmark/cli/main.py
@@ -454,7 +454,18 @@ def sparc(ctx, mode, task, namespace, timeout, non_interactive, output_dir):
if result.total_tokens:
click.echo(f"Tokens used: {result.total_tokens}")
else:
- click.echo(f"❌ SPARC 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"❌ SPARC 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: