mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
- Reorganize v3/ into implementation/ subfolders: - planning/, architecture/, migration/, integration/ - security/, adrs/, research/, swarm-plans/ - Add 15-agent concurrent swarm implementation plans: - SWARM-OVERVIEW.md: Hierarchical mesh topology, 4 phases - AGENT-SPECIFICATIONS.md: 15 agent configs with capabilities - TDD-LONDON-SCHOOL-PLAN.md: Mock-first TDD methodology - BENCHMARK-OPTIMIZATION.md: Performance targets (2.49x-7.47x) - DEPLOYMENT-PLAN.md: Release strategy, CI/CD, rollback - GITHUB-ISSUE-TRACKING.md: Issue workflow with agent replies - Update .claude/settings.json with proper hooks format - Add bash aliases for claude --dangerously-skip-permissions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2.6 KiB
2.6 KiB
Real Claude Flow Execution Configuration
Overview
The benchmark system is configured to use real claude-flow commands without any simulations.
Current Status
✅ Working Commands
SPARC Commands
All SPARC modes work correctly and produce real output:
sparc spec- Specification modesparc architect- Architecture modesparc tdd- Test-driven development modesparc integration- Integration modesparc refactor- Refactoring mode
Example:
swarm-benchmark real sparc tdd "Create a function" --timeout 1
⚠️ Commands Requiring Claude CLI
Swarm Command
The swarm command requires Claude CLI even with --executor flag:
# This will timeout without Claude CLI installed
swarm-benchmark real swarm "Create API" --strategy development
To install Claude CLI:
npm install -g @anthropic-ai/claude-code
Hive-Mind Command
Similar to swarm, requires Claude CLI for execution.
Configuration
Non-Interactive Defaults
All commands are configured to run non-interactively by default:
- SPARC: Runs without user interaction, produces workflow information
- Swarm: Uses
--executorflag (requires Claude CLI) - Hive-Mind: Uses
--executorflag (requires Claude CLI)
Benchmark Configuration
# In benchmark/src/swarm_benchmark/core/claude_flow_real_executor.py
class RealClaudeFlowExecutor:
def __init__(self, force_non_interactive=True):
# Always uses non-interactive mode
Command Execution
All commands use real claude-flow binary at /workspaces/claude-code-flow/claude-flow
Testing Real Execution
Test SPARC (Works without Claude CLI)
# Test different SPARC modes
swarm-benchmark real sparc spec "Design a system"
swarm-benchmark real sparc tdd "Create a calculator"
swarm-benchmark real sparc architect "Design API structure"
Test with Process Tracking
# View detailed execution metrics
swarm-benchmark real sparc tdd "Build feature" --output-dir ./my-reports
cat ./my-reports/sparc_tdd_*.json
No Simulations
The system has been updated to:
- ❌ Remove all simulation/fallback code
- ✅ Always use real claude-flow commands
- ✅ Report actual command output
- ✅ Track real execution metrics
Limitations
- Claude CLI Dependency: Swarm and hive-mind commands require Claude CLI
- Non-Interactive Only: Interactive mode is not supported in benchmarks
- Timeout Handling: Commands that require Claude CLI will timeout if not installed
Recommended Usage
For benchmarking without Claude CLI, use SPARC commands which provide real workflow information and execution metrics.