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

πŸ”– Task checkpoint: {{user_prompt}} ...

rUv4ab726916122
diff --git a/.claude-flow/metrics/performance.json b/.claude-flow/metrics/performance.json
index 609316e137..870e2a0f0e 100644
--- a/.claude-flow/metrics/performance.json
+++ b/.claude-flow/metrics/performance.json
@@ -1,5 +1,5 @@
{
- "startTime": 1754357228970,
+ "startTime": 1754357372676,
"totalTasks": 1,
"successfulTasks": 1,
"failedTasks": 0,
diff --git a/.claude-flow/metrics/system-metrics.json b/.claude-flow/metrics/system-metrics.json
index dc552e52ec..b05d4aaa82 100644
--- a/.claude-flow/metrics/system-metrics.json
+++ b/.claude-flow/metrics/system-metrics.json
@@ -298,5 +298,41 @@
"cpuLoad": 0.045,
"platform": "linux",
"uptime": 75592.24
+ },
+ {
+ "timestamp": 1754357306451,
+ "memoryTotal": 67427545088,
+ "memoryUsed": 10761539584,
+ "memoryFree": 56666005504,
+ "memoryUsagePercent": 15.960153331928465,
+ "memoryEfficiency": 84.03984666807153,
+ "cpuCount": 16,
+ "cpuLoad": 0.04375,
+ "platform": "linux",
+ "uptime": 75622.24
+ },
+ {
+ "timestamp": 1754357336480,
+ "memoryTotal": 67427545088,
+ "memoryUsed": 10570059776,
+ "memoryFree": 56857485312,
+ "memoryUsagePercent": 15.676174717921237,
+ "memoryEfficiency": 84.32382528207876,
+ "cpuCount": 16,
+ "cpuLoad": 0.05375,
+ "platform": "linux",
+ "uptime": 75652.27
+ },
+ {
+ "timestamp": 1754357366511,
+ "memoryTotal": 67427545088,
+ "memoryUsed": 10574307328,
+ "memoryFree": 56853237760,
+ "memoryUsagePercent": 15.682474149399066,
+ "memoryEfficiency": 84.31752585060093,
+ "cpuCount": 16,
+ "cpuLoad": 0.076875,
+ "platform": "linux",
+ "uptime": 75682.3
}
]
\ No newline at end of file
diff --git a/.claude-flow/metrics/task-metrics.json b/.claude-flow/metrics/task-metrics.json
index 0cc29f5934..06f73c587a 100644
--- a/.claude-flow/metrics/task-metrics.json
+++ b/.claude-flow/metrics/task-metrics.json
@@ -1,10 +1,10 @@
[
{
- "id": "cmd-hive-mind-1754357229071",
- "type": "hive-mind",
+ "id": "cmd-hooks-1754357372794",
+ "type": "hooks",
"success": true,
- "duration": 89.276039,
- "timestamp": 1754357229160,
+ "duration": 8.33798999999999,
+ "timestamp": 1754357372802,
"metadata": {}
}
]
\ No newline at end of file
diff --git a/.claude/checkpoints/1754357341.json b/.claude/checkpoints/1754357341.json
new file mode 100644
index 0000000000..4d26f46c6b
--- /dev/null
+++ b/.claude/checkpoints/1754357341.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250805-012901", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/hive-mind.js", "timestamp": "2025-08-05T01:29:01Z", "type": "pre-edit", "original_branch": "alpha-85"}
diff --git a/.claude/checkpoints/1754357343.json b/.claude/checkpoints/1754357343.json
new file mode 100644
index 0000000000..e43c89ae4a
--- /dev/null
+++ b/.claude/checkpoints/1754357343.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250805-012903", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/hive-mind.js", "timestamp": "2025-08-05T01:29:03Z", "type": "post-edit", "branch": "alpha-85", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 24 ++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 8 ++++---- .claude/checkpoints/task-1754357283.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/hive-mind.js | 9 +++++++++ 6 files changed, 39 insertions(+), 5 deletions(-) "}
diff --git a/.claude/checkpoints/1754357371.json b/.claude/checkpoints/1754357371.json
new file mode 100644
index 0000000000..b808c6929c
--- /dev/null
+++ b/.claude/checkpoints/1754357371.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250805-012931", "file": "/workspaces/claude-code-flow/CLAUDE.md", "timestamp": "2025-08-05T01:29:31Z", "type": "pre-edit", "original_branch": "alpha-85"}
diff --git a/CLAUDE.md b/CLAUDE.md
index ce3bf3b318..4f95060ba0 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -114,122 +114,132 @@ npx claude-flow sparc run integration "integrate components" --parallel
```
Run integration tests in parallel, generate documentation concurrently.
-## πŸ€– Available Agents (54 Total)
+## πŸ€– Complete Agent Reference (All 54 Agents)
### πŸš€ Concurrent Agent Usage
-**CRITICAL**: Always spawn multiple agents concurrently using the Task tool in a single message.
-
-### πŸ“‹ Agent Quick Reference
-
-#### Core Development (5)
-| Agent | Purpose | Usage |
-|-------|---------|--------|
-| `coder` | Implementation specialist | Code generation |
-| `reviewer` | Code quality assurance | Review & validation |
-| `tester` | Test creation and validation | Test suites |
-| `planner` | Strategic planning | Task breakdown |
-| `researcher` | Information gathering | Research & analysis |
-
-#### Swarm Coordination (5)
-| Agent | Purpose | Usage |
-|-------|---------|--------|
-| `hierarchical-coordinator` | Queen-led coordination | Complex hierarchies |
-| `mesh-coordinator` | Peer-to-peer networks | Distributed tasks |
-| `adaptive-coordinator` | Dynamic topology | Self-organizing |
-| `collective-intelligence-coordinator` | Hive-mind intelligence | Group decisions |
-| `swarm-memory-manager` | Distributed memory | State management |
-
-#### Consensus & Distributed (7)
-| Agent | Purpose | Usage |
-|-------|---------|--------|
-| `byzantine-coordinator` | Byzantine fault tolerance | Security |
-| `raft-manager` | Leader election protocols | Consensus |
-| `gossip-coordinator` | Epidemic dissemination | Distribution |
-| `consensus-builder` | Decision-making algorithms | Voting |
-| `crdt-synchronizer` | Conflict-free replication | Sync |
-| `quorum-manager` | Dynamic quorum management | Decisions |
-| `security-manager` | Cryptographic security | Protection |
-
-#### Performance & Optimization (5)
-| Agent | Purpose | Usage |
-|-------|---------|--------|
-| `perf-analyzer` | Bottleneck identification | Analysis |
-| `performance-benchmarker` | Performance testing | Benchmarks |
-| `task-orchestrator` | Workflow optimization | Coordination |
-| `memory-coordinator` | Memory management | Resource handling |
-| `smart-agent` | Intelligent coordination | Automation |
-
-#### GitHub & Repository (9)
-| Agent | Purpose | Usage |
-|-------|---------|--------|
-| `github-modes` | Comprehensive GitHub integration | All GitHub ops |
-| `pr-manager` | Pull request management | PR workflows |
-| `code-review-swarm` | Multi-agent code review | Reviews |
-| `issue-tracker` | Issue management | Tracking |
-| `release-manager` | Release coordination | Deployments |
-| `workflow-automation` | CI/CD automation | Pipelines |
-| `project-board-sync` | Project tracking | Boards |
-| `repo-architect` | Repository optimization | Structure |
-| `multi-repo-swarm` | Cross-repository coordination | Multi-repo |
-
-#### SPARC Methodology (6)
-| Agent | Purpose | Usage |
-|-------|---------|--------|
-| `sparc-coord` | SPARC orchestration | Methodology |
-| `sparc-coder` | TDD implementation | Test-driven |
-| `specification` | Requirements analysis | Specs |
-| `pseudocode` | Algorithm design | Logic |
-| `architecture` | System design | Structure |
-| `refinement` | Iterative improvement | Enhancement |
-
-#### Specialized Development (8)
-| Agent | Purpose | Usage |
-|-------|---------|--------|
-| `backend-dev` | API development | Backend |
-| `mobile-dev` | React Native development | Mobile |
-| `ml-developer` | Machine learning | AI/ML |
-| `cicd-engineer` | CI/CD pipelines | DevOps |
-| `api-docs` | OpenAPI documentation | Docs |
-| `system-architect` | High-level design | Architecture |
-| `code-analyzer` | Code quality analysis | Analysis |
-| `base-template-generator` | Boilerplate creation | Templates |
-
-#### Testing & Validation (2)
-| Agent | Purpose | Usage |
-|-------|---------|--------|
-| `tdd-london-swarm` | Mock-driven TDD | London school |
-| `production-validator` | Real implementation validation | Production |
-
-#### Migration & Planning (2)
-| Agent | Purpose | Usage |
-|-------|---------|--------|
-| `migration-planner` | System migrations | Migrations |
-| `swarm-init` | Topology initialization | Setup |
-
-### 🎯 Concurrent Agent Patterns
+**CRITICAL**: Always spawn multiple agents concurrently using the Task tool in a single message with exact agent names as shown below.
+
+### πŸ“‹ All Available Agents by Category
+
+#### Core Development Agents (5)
+- **`coder`** - Implementation specialist for writing clean, efficient code
+- **`reviewer`** - Code review and quality assurance specialist
+- **`tester`** - Comprehensive testing and quality assurance specialist
+- **`planner`** - Strategic planning and task orchestration agent
+- **`researcher`** - Deep research and information gathering specialist
+
+#### Swarm Coordination Agents (5)
+- **`hierarchical-coordinator`** - Queen-led hierarchical swarm coordination with specialized worker delegation
+- **`mesh-coordinator`** - Peer-to-peer mesh network swarm with distributed decision making and fault tolerance
+- **`adaptive-coordinator`** - Dynamic topology switching coordinator with self-organizing swarm patterns and real-time optimization
+- **`collective-intelligence-coordinator`** - Neural center orchestrating collective decision-making and shared intelligence
+- **`swarm-memory-manager`** - Distributed memory coordination and optimization specialist
+
+#### Consensus & Distributed Systems Agents (7)
+- **`byzantine-coordinator`** - Coordinates Byzantine fault-tolerant consensus protocols with malicious actor detection
+- **`raft-manager`** - Manages Raft consensus algorithm with leader election and log replication
+- **`gossip-coordinator`** - Coordinates gossip-based consensus protocols for scalable eventually consistent systems
+- **`consensus-builder`** - Byzantine fault-tolerant consensus and voting mechanism specialist
+- **`crdt-synchronizer`** - Implements Conflict-free Replicated Data Types for eventually consistent state synchronization
+- **`quorum-manager`** - Implements dynamic quorum adjustment and intelligent membership management
+- **`security-manager`** - Implements comprehensive security mechanisms for distributed consensus protocols
+
+#### Performance & Optimization Agents (5)
+- **`perf-analyzer`** - Performance bottleneck analyzer for identifying and resolving workflow inefficiencies
+- **`performance-benchmarker`** - Implements comprehensive performance benchmarking for distributed consensus protocols
+- **`task-orchestrator`** - Central coordination agent for task decomposition, execution planning, and result synthesis
+- **`memory-coordinator`** - Manage persistent memory across sessions and facilitate cross-agent memory sharing
+- **`smart-agent`** - Intelligent agent coordination and dynamic spawning specialist
+
+#### GitHub & Repository Management Agents (9)
+- **`github-modes`** - Comprehensive GitHub integration modes for workflow orchestration, PR management, and repository coordination with batch optimization
+- **`pr-manager`** - Complete pull request lifecycle management and GitHub workflow coordination
+- **`code-review-swarm`** - Deploy specialized AI agents to perform comprehensive, intelligent code reviews that go beyond traditional static analysis
+- **`issue-tracker`** - Intelligent issue management and project coordination with automated tracking, progress monitoring, and team coordination
+- **`release-manager`** - Automated release coordination and deployment with ruv-swarm orchestration for seamless version management, testing, and deployment across multiple packages
+- **`workflow-automation`** - GitHub Actions workflow automation agent that creates intelligent, self-organizing CI/CD pipelines with adaptive multi-agent coordination and automated optimization
+- **`project-board-sync`** - Synchronize AI swarms with GitHub Projects for visual task management, progress tracking, and team coordination
+- **`repo-architect`** - Repository structure optimization and multi-repo management with ruv-swarm coordination for scalable project architecture and development workflows
+- **`multi-repo-swarm`** - Cross-repository swarm orchestration for organization-wide automation and intelligent collaboration
+
+#### SPARC Methodology Agents (6)
+- **`sparc-coord`** - SPARC methodology orchestrator for systematic development phase coordination
+- **`sparc-coder`** - Transform specifications into working code with TDD practices
+- **`specification`** - SPARC Specification phase specialist for requirements analysis
+- **`pseudocode`** - SPARC Pseudocode phase specialist for algorithm design
+- **`architecture`** - SPARC Architecture phase specialist for system design
+- **`refinement`** - SPARC Refinement phase specialist for iterative improvement
+
+#### Specialized Development Agents (8)
+- **`backend-dev`** - Specialized agent for backend API development, including REST and GraphQL endpoints
+- **`mobile-dev`** - Expert agent for React Native mobile application development across iOS and Android
+- **`ml-developer`** - Specialized agent for machine learning model development, training, and deployment
+- **`cicd-engineer`** - Specialized agent for GitHub Actions CI/CD pipeline creation and optimization
+- **`api-docs`** - Expert agent for creating and maintaining OpenAPI/Swagger documentation
+- **`system-architect`** - Expert agent for system architecture design, patterns, and high-level technical decisions
+- **`code-analyzer`** - Advanced code quality analysis agent for comprehensive code reviews and improvements
+- **`base-template-generator`** - Use this agent when you need to create foundational templates, boilerplate code, or starter configurations for new projects
+
+#### Testing & Validation Agents (2)
+- **`tdd-london-swarm`** - TDD London School specialist for mock-driven development within swarm coordination
+- **`production-validator`** - Production validation specialist ensuring applications are fully implemented and deployment-ready
+
+#### Migration & Planning Agents (2)
+- **`migration-planner`** - Comprehensive migration plan for converting commands to agent-based system
+- **`swarm-init`** - Swarm initialization and topology optimization specialist
+
+#### Special Purpose Agents (4)
+- **`general-purpose`** - General-purpose agent for researching complex questions, searching for code, and executing multi-step tasks
+- **`swarm-pr`** - Pull request swarm management agent that coordinates multi-agent code review, validation, and integration workflows
+- **`release-swarm`** - Orchestrate complex software releases using AI swarms that handle everything from changelog generation to multi-platform deployment
+- **`swarm-issue`** - GitHub issue-based swarm coordination agent that transforms issues into intelligent multi-agent tasks with automatic decomposition and progress tracking
+
+#### Repository & Sync Agents (1)
+- **`sync-coordinator`** - Multi-repository synchronization coordinator that manages version alignment, dependency synchronization, and cross-package integration
+
+### 🎯 Concurrent Agent Spawning Examples
#### Full-Stack Development Swarm (8 agents)
-```bash
-Task("System architecture", "...", "system-architect")
-Task("Backend APIs", "...", "backend-dev")
-Task("Frontend mobile", "...", "mobile-dev")
-Task("Database design", "...", "coder")
-Task("API documentation", "...", "api-docs")
-Task("CI/CD pipeline", "...", "cicd-engineer")
-Task("Performance testing", "...", "performance-benchmarker")
-Task("Production validation", "...", "production-validator")
+```javascript
+Task("System architecture design", "Design microservices architecture", "system-architect")
+Task("Backend API development", "Build REST endpoints", "backend-dev")
+Task("Mobile app development", "Create React Native app", "mobile-dev")
+Task("Database implementation", "Design and implement database", "coder")
+Task("API documentation", "Generate OpenAPI docs", "api-docs")
+Task("CI/CD pipeline setup", "Configure GitHub Actions", "cicd-engineer")
+Task("Performance testing", "Benchmark all endpoints", "performance-benchmarker")
+Task("Production validation", "Validate deployment readiness", "production-validator")
```
#### SPARC TDD Swarm (7 agents)
-```bash
-Task("Requirements spec", "...", "specification")
-Task("Algorithm design", "...", "pseudocode")
-Task("System architecture", "...", "architecture")
-Task("TDD implementation", "...", "sparc-coder")
-Task("London school tests", "...", "tdd-london-swarm")
-Task("Iterative refinement", "...", "refinement")
-Task("Production validation", "...", "production-validator")
+```javascript
+Task("Analyze requirements", "Extract user stories", "specification")
+Task("Design algorithms", "Create solution pseudocode", "pseudocode")
+Task("System architecture", "Design component structure", "architecture")
+Task("TDD implementation", "Write tests and code", "sparc-coder")
+Task("Mock-driven tests", "Create London school tests", "tdd-london-swarm")
+Task("Iterative refinement", "Optimize implementation", "refinement")
+Task("Production validation", "Ensure production ready", "production-validator")
+```
+
+#### GitHub Workflow Swarm (5 agents)
+```javascript
+Task("PR management", "Handle pull request lifecycle", "pr-manager")
+Task("Code review coordination", "Orchestrate multi-agent review", "code-review-swarm")
+Task("Issue management", "Track and triage issues", "issue-tracker")
+Task("Release coordination", "Manage version releases", "release-manager")
+Task("Workflow automation", "Setup CI/CD pipelines", "workflow-automation")
+```
+
+#### Distributed Systems Swarm (6 agents)
+```javascript
+Task("Byzantine consensus", "Implement fault tolerance", "byzantine-coordinator")
+Task("Raft consensus", "Setup leader election", "raft-manager")
+Task("Gossip protocols", "Configure epidemic dissemination", "gossip-coordinator")
+Task("CRDT sync", "Implement conflict-free replication", "crdt-synchronizer")
+Task("Security implementation", "Add cryptographic security", "security-manager")
+Task("Performance analysis", "Identify bottlenecks", "perf-analyzer")
```
### ⚑ Performance Optimization