@claude-flow/cli 3.1.0-alpha.3 → 3.1.0-alpha.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/.claude/helpers/auto-memory-hook.mjs +350 -0
  2. package/.claude/helpers/hook-handler.cjs +232 -0
  3. package/.claude/helpers/intelligence.cjs +916 -0
  4. package/.claude/helpers/session.js +8 -0
  5. package/.claude/helpers/statusline.cjs +96 -28
  6. package/.claude/settings.json +86 -141
  7. package/README.md +830 -355
  8. package/bin/cli.js +6 -2
  9. package/dist/src/commands/hooks.d.ts.map +1 -1
  10. package/dist/src/commands/hooks.js +209 -2
  11. package/dist/src/commands/hooks.js.map +1 -1
  12. package/dist/src/commands/init.d.ts.map +1 -1
  13. package/dist/src/commands/init.js +190 -4
  14. package/dist/src/commands/init.js.map +1 -1
  15. package/dist/src/commands/memory.d.ts.map +1 -1
  16. package/dist/src/commands/memory.js +12 -2
  17. package/dist/src/commands/memory.js.map +1 -1
  18. package/dist/src/init/executor.d.ts +8 -2
  19. package/dist/src/init/executor.d.ts.map +1 -1
  20. package/dist/src/init/executor.js +308 -41
  21. package/dist/src/init/executor.js.map +1 -1
  22. package/dist/src/init/helpers-generator.d.ts +18 -0
  23. package/dist/src/init/helpers-generator.d.ts.map +1 -1
  24. package/dist/src/init/helpers-generator.js +475 -0
  25. package/dist/src/init/helpers-generator.js.map +1 -1
  26. package/dist/src/init/settings-generator.d.ts.map +1 -1
  27. package/dist/src/init/settings-generator.js +90 -104
  28. package/dist/src/init/settings-generator.js.map +1 -1
  29. package/dist/src/init/statusline-generator.d.ts.map +1 -1
  30. package/dist/src/init/statusline-generator.js +104 -34
  31. package/dist/src/init/statusline-generator.js.map +1 -1
  32. package/dist/src/init/types.d.ts +10 -0
  33. package/dist/src/init/types.d.ts.map +1 -1
  34. package/dist/src/init/types.js +11 -0
  35. package/dist/src/init/types.js.map +1 -1
  36. package/dist/src/mcp-tools/memory-tools.d.ts.map +1 -1
  37. package/dist/src/mcp-tools/memory-tools.js +4 -1
  38. package/dist/src/mcp-tools/memory-tools.js.map +1 -1
  39. package/dist/src/memory/memory-initializer.d.ts +1 -0
  40. package/dist/src/memory/memory-initializer.d.ts.map +1 -1
  41. package/dist/src/memory/memory-initializer.js +14 -9
  42. package/dist/src/memory/memory-initializer.js.map +1 -1
  43. package/dist/src/services/headless-worker-executor.js +3 -3
  44. package/dist/src/services/headless-worker-executor.js.map +1 -1
  45. package/dist/tsconfig.tsbuildinfo +1 -1
  46. package/package.json +3 -1
package/README.md CHANGED
@@ -1,14 +1,14 @@
1
- # 🌊 Claude-Flow v3: Enterprise AI Orchestration Platform
1
+ # 🌊 Ruflo v3: Enterprise AI Orchestration Platform
2
2
 
3
3
  <div align="center">
4
4
 
5
- ![Claude-Flow Banner](https://repository-images.githubusercontent.com/995029641/b9acbe16-0f49-420d-804f-468ba2a73ace)
5
+ ![Ruflo Banner](https://repository-images.githubusercontent.com/995029641/b9acbe16-0f49-420d-804f-468ba2a73ace)
6
6
 
7
7
 
8
8
 
9
9
  [![Star on GitHub](https://img.shields.io/github/stars/ruvnet/claude-flow?style=for-the-badge&logo=github&color=gold)](https://github.com/ruvnet/claude-flow)
10
- [![Monthly Downloads](https://img.shields.io/npm/dm/claude-flow?style=for-the-badge&logo=npm&color=blue&label=Monthly%20Downloads)](https://www.npmjs.com/package/claude-flow)
11
- [![Total Downloads](https://img.shields.io/npm/dt/claude-flow?style=for-the-badge&logo=npm&color=cyan&label=Total%20Downloads)](https://www.npmjs.com/package/claude-flow)
10
+ [![Monthly Downloads](https://img.shields.io/npm/dm/ruflo?style=for-the-badge&logo=npm&color=blue&label=Monthly%20Downloads)](https://www.npmjs.com/package/ruflo)
11
+ [![Total Downloads](https://img.shields.io/npm/dt/ruflo?style=for-the-badge&logo=npm&color=cyan&label=Total%20Downloads)](https://www.npmjs.com/package/ruflo)
12
12
  [![ruv.io](https://img.shields.io/badge/ruv.io-AI%20Platform-green?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0id2hpdGUiIGQ9Ik0xMiAyQzYuNDggMiAyIDYuNDggMiAxMnM0LjQ4IDEwIDEwIDEwIDEwLTQuNDggMTAtMTBTMTcuNTIgMiAxMiAyem0wIDE4Yy00LjQyIDAtOC0zLjU4LTgtOHMzLjU4LTggOC04IDggMy41OCA4IDgtMy41OCA4LTggOHoiLz48L3N2Zz4=)](https://ruv.io)
13
13
  [![Agentics Foundation](https://img.shields.io/badge/Agentics-Foundation-crimson?style=for-the-badge&logo=openai)](https://discord.com/invite/dfxmpwkG2D)
14
14
  [![Claude Code](https://img.shields.io/badge/Claude%20Code-SDK%20Integrated-green?style=for-the-badge&logo=anthropic)](https://github.com/ruvnet/claude-flow)
@@ -25,12 +25,12 @@
25
25
 
26
26
  ## Getting into the Flow
27
27
 
28
- Claude-Flow is a comprehensive AI agent orchestration framework that transforms Claude Code into a powerful multi-agent development platform. It enables teams to deploy, coordinate, and optimize specialized AI agents working together on complex software engineering tasks.
28
+ Ruflo is a comprehensive AI agent orchestration framework that transforms Claude Code into a powerful multi-agent development platform. It enables teams to deploy, coordinate, and optimize specialized AI agents working together on complex software engineering tasks.
29
29
 
30
30
  ### Self-Learning/Self-Optimizing Agent Architecture
31
31
 
32
32
  ```
33
- User → Claude-Flow (CLI/MCP) → Router → Swarm → Agents → Memory → LLM Providers
33
+ User → Ruflo (CLI/MCP) → Router → Swarm → Agents → Memory → LLM Providers
34
34
  ↑ ↓
35
35
  └──── Learning Loop ←──────┘
36
36
  ```
@@ -141,8 +141,8 @@ flowchart TB
141
141
  # Install RuVector standalone
142
142
  npx ruvector
143
143
 
144
- # Or use via Claude-Flow
145
- npx claude-flow@v3alpha hooks intelligence --status
144
+ # Or use via Ruflo
145
+ npx ruflo@v3alpha hooks intelligence --status
146
146
  ```
147
147
 
148
148
  </details>
@@ -157,7 +157,7 @@ curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/claude-flow@main/scripts/install.s
157
157
  curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/claude-flow@main/scripts/install.sh | bash -s -- --full
158
158
 
159
159
  # Or via npx
160
- npx claude-flow@alpha init --wizard
160
+ npx ruflo@alpha init --wizard
161
161
  ```
162
162
 
163
163
  ---
@@ -171,7 +171,7 @@ npx claude-flow@alpha init --wizard
171
171
 
172
172
  🔌 **Works With Any LLM** - Switch between Claude, GPT, Gemini, Cohere, or local models like Llama. Automatic failover if one provider is unavailable. Smart routing picks the cheapest option that meets quality requirements.
173
173
 
174
- ⚡ **Plugs Into Claude Code** - Native integration via MCP (Model Context Protocol). Use claude-flow commands directly in your Claude Code sessions with full tool access.
174
+ ⚡ **Plugs Into Claude Code** - Native integration via MCP (Model Context Protocol). Use ruflo commands directly in your Claude Code sessions with full tool access.
175
175
 
176
176
  🔒 **Production-Ready Security** - Built-in protection against prompt injection, input validation, path traversal prevention, command injection blocking, and safe credential handling.
177
177
 
@@ -219,11 +219,14 @@ Agents organize into swarms led by queens that coordinate work, prevent drift, a
219
219
  <details>
220
220
  <summary>🧠 <strong>Intelligence & Memory</strong> — How the system learns and remembers</summary>
221
221
 
222
- The system stores successful patterns in vector memory, learns from outcomes via neural networks, and adapts routing based on what works best.
222
+ The system stores successful patterns in vector memory, builds a knowledge graph for structural understanding, learns from outcomes via neural networks, and adapts routing based on what works best.
223
223
 
224
224
  | Layer | Components | What It Does |
225
225
  |-------|------------|--------------|
226
226
  | Memory | HNSW, AgentDB, Cache | Stores and retrieves patterns 150x faster |
227
+ | Knowledge Graph | MemoryGraph, PageRank, Communities | Identifies influential insights, detects clusters (ADR-049) |
228
+ | Self-Learning | LearningBridge, SONA, ReasoningBank | Triggers learning from insights, confidence lifecycle (ADR-049) |
229
+ | Agent Scopes | AgentMemoryScope, 3-scope dirs | Per-agent isolation + cross-agent knowledge transfer (ADR-049) |
227
230
  | Embeddings | ONNX Runtime, MiniLM | Local vectors without API calls (75x faster) |
228
231
  | Learning | SONA, MoE, ReasoningBank | Self-improves from results (<0.05ms adaptation) |
229
232
  | Fine-tuning | MicroLoRA, EWC++ | Lightweight adaptation without full retraining |
@@ -346,7 +349,7 @@ const config = optimizer.getOptimalConfig(agentCount);
346
349
  <details>
347
350
  <summary>🛡️ <strong>Anti-Drift Swarm Configuration</strong> — Prevent goal drift in multi-agent work</summary>
348
351
 
349
- Complex swarms can drift from their original goals. Claude-Flow V3 includes anti-drift defaults that prevent agents from going off-task.
352
+ Complex swarms can drift from their original goals. Ruflo V3 includes anti-drift defaults that prevent agents from going off-task.
350
353
 
351
354
  **Recommended Configuration:**
352
355
 
@@ -388,18 +391,20 @@ swarm_init({
388
391
 
389
392
  </details>
390
393
 
391
- ### Claude Code: With vs Without Claude-Flow
394
+ ### Claude Code: With vs Without Ruflo
392
395
 
393
- | Capability | Claude Code Alone | Claude Code + Claude-Flow |
396
+ | Capability | Claude Code Alone | Claude Code + Ruflo |
394
397
  |------------|-------------------|---------------------------|
395
398
  | **Agent Collaboration** | Agents work in isolation, no shared context | Agents collaborate via swarms with shared memory and consensus |
396
399
  | **Coordination** | Manual orchestration between tasks | Queen-led hierarchy with 5 consensus algorithms (Raft, Byzantine, Gossip) |
397
400
  | **Hive Mind** | ⛔ Not available | 🐝 Queen-led swarms with collective intelligence, 3 queen types, 8 worker types |
398
401
  | **Consensus** | ⛔ No multi-agent decisions | Byzantine fault-tolerant voting (f < n/3), weighted, majority |
399
- | **Memory** | Session-only, no persistence | HNSW vector memory with 150x-12,500x faster retrieval |
402
+ | **Memory** | Session-only, no persistence | HNSW vector memory with 150x-12,500x faster retrieval + knowledge graph |
400
403
  | **Vector Database** | ⛔ No native support | 🐘 RuVector PostgreSQL with 77+ SQL functions, ~61µs search, 16,400 QPS |
404
+ | **Knowledge Graph** | ⛔ Flat insight lists | PageRank + community detection identifies influential insights (ADR-049) |
401
405
  | **Collective Memory** | ⛔ No shared knowledge | Shared knowledge base with LRU cache, SQLite persistence, 8 memory types |
402
- | **Learning** | Static behavior, no adaptation | SONA self-learning with <0.05ms adaptation, improves over time |
406
+ | **Learning** | Static behavior, no adaptation | SONA self-learning with <0.05ms adaptation, LearningBridge for insights |
407
+ | **Agent Scoping** | Single project scope | 3-scope agent memory (project/local/user) with cross-agent transfer |
403
408
  | **Task Routing** | You decide which agent to use | Intelligent routing based on learned patterns (89% accuracy) |
404
409
  | **Complex Tasks** | Manual breakdown required | Automatic decomposition across 5 domains (Security, Core, Integration, Support) |
405
410
  | **Background Workers** | Nothing runs automatically | 12 context-triggered workers auto-dispatch on file changes, patterns, sessions |
@@ -475,69 +480,223 @@ curl ... | bash -s -- --full
475
480
 
476
481
  ```bash
477
482
  # Quick start (no install needed)
478
- npx claude-flow@alpha init
483
+ npx ruflo@alpha init
479
484
 
480
485
  # Or install globally
481
- npm install -g claude-flow@alpha
482
- claude-flow init
486
+ npm install -g ruflo@alpha
487
+ ruflo init
483
488
 
484
489
  # With Bun (faster)
485
- bunx claude-flow@alpha init
490
+ bunx ruflo@alpha init
486
491
  ```
487
492
 
488
493
  #### Install Profiles
489
494
 
490
495
  | Profile | Size | Use Case |
491
496
  |---------|------|----------|
492
- | `--omit=optional` | ~340MB | Core features only |
493
- | Default | ~340MB | Standard install |
497
+ | `--omit=optional` | ~45MB | Core CLI only (fastest) |
498
+ | Default | ~340MB | Full install with ML/embeddings |
494
499
 
495
500
  ```bash
496
501
  # Minimal install (skip ML/embeddings)
497
- npm install -g claude-flow@alpha --omit=optional
502
+ npm install -g ruflo@alpha --omit=optional
498
503
  ```
499
504
 
505
+ <details>
506
+ <summary>🤖 <strong>OpenAI Codex CLI Support</strong> — Full Codex integration with self-learning</summary>
507
+
508
+ Ruflo supports both **Claude Code** and **OpenAI Codex CLI** via the [@claude-flow/codex](https://www.npmjs.com/package/@claude-flow/codex) package, following the [Agentics Foundation](https://agentics.org) standard.
509
+
510
+ ### Quick Start for Codex
511
+
512
+ ```bash
513
+ # Initialize for Codex CLI (creates AGENTS.md instead of CLAUDE.md)
514
+ npx ruflo@alpha init --codex
515
+
516
+ # Full Codex setup with all 137+ skills
517
+ npx ruflo@alpha init --codex --full
518
+
519
+ # Initialize for both platforms (dual mode)
520
+ npx ruflo@alpha init --dual
521
+ ```
522
+
523
+ ### Platform Comparison
524
+
525
+ | Feature | Claude Code | OpenAI Codex |
526
+ |---------|-------------|--------------|
527
+ | Config File | `CLAUDE.md` | `AGENTS.md` |
528
+ | Skills Dir | `.claude/skills/` | `.agents/skills/` |
529
+ | Skill Syntax | `/skill-name` | `$skill-name` |
530
+ | Settings | `settings.json` | `config.toml` |
531
+ | MCP | Native | Via `codex mcp add` |
532
+ | Default Model | claude-sonnet | gpt-5.3 |
533
+
534
+ ### Key Concept: Execution Model
535
+
536
+ ```
537
+ ┌─────────────────────────────────────────────────────────────────┐
538
+ │ CLAUDE-FLOW = ORCHESTRATOR (tracks state, stores memory) │
539
+ │ CODEX = EXECUTOR (writes code, runs commands, implements) │
540
+ └─────────────────────────────────────────────────────────────────┘
541
+ ```
542
+
543
+ **Codex does the work. Claude-flow coordinates and learns.**
544
+
545
+ ### Dual-Mode Integration (Claude Code + Codex)
546
+
547
+ Run Claude Code for interactive development and spawn headless Codex workers for parallel background tasks:
548
+
549
+ ```
550
+ ┌─────────────────────────────────────────────────────────────────┐
551
+ │ CLAUDE CODE (interactive) ←→ CODEX WORKERS (headless) │
552
+ │ - Main conversation - Parallel background execution │
553
+ │ - Complex reasoning - Bulk code generation │
554
+ │ - Architecture decisions - Test execution │
555
+ │ - Final integration - File processing │
556
+ └─────────────────────────────────────────────────────────────────┘
557
+ ```
558
+
559
+ ```bash
560
+ # Spawn parallel Codex workers from Claude Code
561
+ claude -p "Analyze src/auth/ for security issues" --session-id "task-1" &
562
+ claude -p "Write unit tests for src/api/" --session-id "task-2" &
563
+ claude -p "Optimize database queries in src/db/" --session-id "task-3" &
564
+ wait # Wait for all to complete
565
+ ```
566
+
567
+ | Dual-Mode Feature | Benefit |
568
+ |-------------------|---------|
569
+ | Parallel Execution | 4-8x faster for bulk tasks |
570
+ | Cost Optimization | Route simple tasks to cheaper workers |
571
+ | Context Preservation | Shared memory across platforms |
572
+ | Best of Both | Interactive + batch processing |
573
+
574
+ ### Dual-Mode CLI Commands (NEW)
575
+
576
+ ```bash
577
+ # List collaboration templates
578
+ npx ruflo-codex dual templates
579
+
580
+ # Run feature development swarm (architect → coder → tester → reviewer)
581
+ npx ruflo-codex dual run --template feature --task "Add user auth"
582
+
583
+ # Run security audit swarm (scanner → analyzer → fixer)
584
+ npx ruflo-codex dual run --template security --task "src/auth/"
585
+
586
+ # Run refactoring swarm (analyzer → planner → refactorer → validator)
587
+ npx ruflo-codex dual run --template refactor --task "src/legacy/"
588
+ ```
589
+
590
+ ### Pre-Built Collaboration Templates
591
+
592
+ | Template | Pipeline | Platforms |
593
+ |----------|----------|-----------|
594
+ | **feature** | architect → coder → tester → reviewer | Claude + Codex |
595
+ | **security** | scanner → analyzer → fixer | Codex + Claude |
596
+ | **refactor** | analyzer → planner → refactorer → validator | Claude + Codex |
597
+
598
+ ### MCP Integration for Codex
599
+
600
+ When you run `init --codex`, the MCP server is automatically registered:
601
+
602
+ ```bash
603
+ # Verify MCP is registered
604
+ codex mcp list
605
+
606
+ # If not present, add manually:
607
+ codex mcp add ruflo -- npx ruflo mcp start
608
+ ```
609
+
610
+ ### Self-Learning Workflow
611
+
612
+ ```
613
+ 1. LEARN: memory_search(query="task keywords") → Find similar patterns
614
+ 2. COORD: swarm_init(topology="hierarchical") → Set up coordination
615
+ 3. EXECUTE: YOU write code, run commands → Codex does real work
616
+ 4. REMEMBER: memory_store(key, value, namespace="patterns") → Save for future
617
+ ```
618
+
619
+ The **Intelligence Loop** (ADR-050) automates this cycle through hooks. Each session automatically:
620
+ - Builds a knowledge graph from memory entries (PageRank + Jaccard similarity)
621
+ - Injects ranked context into every route decision
622
+ - Tracks edit patterns and generates new insights
623
+ - Boosts confidence for useful patterns, decays unused ones
624
+ - Saves snapshots so you can track improvement with `node .claude/helpers/hook-handler.cjs stats`
625
+
626
+ ### MCP Tools for Learning
627
+
628
+ | Tool | Purpose | When to Use |
629
+ |------|---------|-------------|
630
+ | `memory_search` | Semantic vector search | BEFORE starting any task |
631
+ | `memory_store` | Save patterns with embeddings | AFTER completing successfully |
632
+ | `swarm_init` | Initialize coordination | Start of complex tasks |
633
+ | `agent_spawn` | Register agent roles | Multi-agent workflows |
634
+ | `neural_train` | Train on patterns | Periodic improvement |
635
+
636
+ ### 137+ Skills Available
637
+
638
+ | Category | Examples |
639
+ |----------|----------|
640
+ | **V3 Core** | `$v3-security-overhaul`, `$v3-memory-unification`, `$v3-performance-optimization` |
641
+ | **AgentDB** | `$agentdb-vector-search`, `$agentdb-optimization`, `$agentdb-learning` |
642
+ | **Swarm** | `$swarm-orchestration`, `$swarm-advanced`, `$hive-mind-advanced` |
643
+ | **GitHub** | `$github-code-review`, `$github-workflow-automation`, `$github-multi-repo` |
644
+ | **SPARC** | `$sparc-methodology`, `$sparc:architect`, `$sparc:coder`, `$sparc:tester` |
645
+ | **Flow Nexus** | `$flow-nexus-neural`, `$flow-nexus-swarm`, `$flow-nexus:workflow` |
646
+ | **Dual-Mode** | `$dual-spawn`, `$dual-coordinate`, `$dual-collect` |
647
+
648
+ ### Vector Search Details
649
+
650
+ - **Embedding Dimensions**: 384
651
+ - **Search Algorithm**: HNSW (150x-12,500x faster)
652
+ - **Similarity Scoring**: 0-1 (higher = better)
653
+ - Score > 0.7: Strong match, use pattern
654
+ - Score 0.5-0.7: Partial match, adapt
655
+ - Score < 0.5: Weak match, create new
656
+
657
+ </details>
658
+
500
659
  ### Basic Usage
501
660
 
502
661
  ```bash
503
662
  # Initialize project
504
- npx claude-flow@alpha init
663
+ npx ruflo@alpha init
505
664
 
506
665
  # Start MCP server for Claude Code integration
507
- npx claude-flow@alpha mcp start
666
+ npx ruflo@alpha mcp start
508
667
 
509
668
  # Run a task with agents
510
- npx claude-flow@alpha --agent coder --task "Implement user authentication"
669
+ npx ruflo@alpha --agent coder --task "Implement user authentication"
511
670
 
512
671
  # List available agents
513
- npx claude-flow@alpha --list
672
+ npx ruflo@alpha --list
514
673
  ```
515
674
 
516
675
  ### Upgrading
517
676
 
518
677
  ```bash
519
678
  # Update helpers and statusline (preserves your data)
520
- npx claude-flow@v3alpha init upgrade
679
+ npx ruflo@v3alpha init upgrade
521
680
 
522
681
  # Update AND add any missing skills/agents/commands
523
- npx claude-flow@v3alpha init upgrade --add-missing
682
+ npx ruflo@v3alpha init upgrade --add-missing
524
683
  ```
525
684
 
526
685
  The `--add-missing` flag automatically detects and installs new skills, agents, and commands that were added in newer versions, without overwriting your existing customizations.
527
686
 
528
687
  ### Claude Code MCP Integration
529
688
 
530
- Add claude-flow as an MCP server for seamless integration:
689
+ Add ruflo as an MCP server for seamless integration:
531
690
 
532
691
  ```bash
533
- # Add claude-flow MCP server to Claude Code
534
- claude mcp add claude-flow -- npx -y claude-flow@latest mcp start
692
+ # Add ruflo MCP server to Claude Code
693
+ claude mcp add ruflo -- npx -y ruflo@latest mcp start
535
694
 
536
695
  # Verify installation
537
696
  claude mcp list
538
697
  ```
539
698
 
540
- Once added, Claude Code can use all 175+ claude-flow MCP tools directly:
699
+ Once added, Claude Code can use all 175+ ruflo MCP tools directly:
541
700
  - `swarm_init` - Initialize agent swarms
542
701
  - `agent_spawn` - Spawn specialized agents
543
702
  - `memory_search` - Search patterns with HNSW (150x faster)
@@ -548,13 +707,13 @@ Once added, Claude Code can use all 175+ claude-flow MCP tools directly:
548
707
  ## What is it exactly? Agents that learn, build and work perpetually.
549
708
 
550
709
  <details>
551
- <summary>🆚 <strong>Why Claude-Flow v3?</strong></summary>
710
+ <summary>🆚 <strong>Why Ruflo v3?</strong></summary>
552
711
 
553
- Claude-Flow v3 introduces **self-learning neural capabilities** that no other agent orchestration framework offers. While competitors require manual agent configuration and static routing, Claude-Flow learns from every task execution, prevents catastrophic forgetting of successful patterns, and intelligently routes work to specialized experts.
712
+ Ruflo v3 introduces **self-learning neural capabilities** that no other agent orchestration framework offers. While competitors require manual agent configuration and static routing, Ruflo learns from every task execution, prevents catastrophic forgetting of successful patterns, and intelligently routes work to specialized experts.
554
713
 
555
714
  #### 🧠 Neural & Learning
556
715
 
557
- | Feature | Claude Flow v3 | CrewAI | LangGraph | AutoGen | Manus |
716
+ | Feature | Ruflo v3 | CrewAI | LangGraph | AutoGen | Manus |
558
717
  |---------|----------------|--------|-----------|---------|-------|
559
718
  | **Self-Learning** | ✅ SONA + EWC++ | ⛔ | ⛔ | ⛔ | ⛔ |
560
719
  | **Prevents Forgetting** | ✅ EWC++ consolidation | ⛔ | ⛔ | ⛔ | ⛔ |
@@ -565,9 +724,12 @@ Claude-Flow v3 introduces **self-learning neural capabilities** that no other ag
565
724
 
566
725
  #### 💾 Memory & Embeddings
567
726
 
568
- | Feature | Claude Flow v3 | CrewAI | LangGraph | AutoGen | Manus |
727
+ | Feature | Ruflo v3 | CrewAI | LangGraph | AutoGen | Manus |
569
728
  |---------|----------------|--------|-----------|---------|-------|
570
729
  | **Vector Memory** | ✅ HNSW (150x faster) | ⛔ | Via plugins | ⛔ | ⛔ |
730
+ | **Knowledge Graph** | ✅ PageRank + communities | ⛔ | ⛔ | ⛔ | ⛔ |
731
+ | **Self-Learning Memory** | ✅ LearningBridge (SONA) | ⛔ | ⛔ | ⛔ | ⛔ |
732
+ | **Agent-Scoped Memory** | ✅ 3-scope (project/local/user) | ⛔ | ⛔ | ⛔ | ⛔ |
571
733
  | **PostgreSQL Vector DB** | ✅ RuVector (77+ SQL functions, ~61µs) | ⛔ | pgvector only | ⛔ | ⛔ |
572
734
  | **Hyperbolic Embeddings** | ✅ Poincaré ball (native + SQL) | ⛔ | ⛔ | ⛔ | ⛔ |
573
735
  | **Quantization** | ✅ Int8 (3.92x savings) | ⛔ | ⛔ | ⛔ | ⛔ |
@@ -577,7 +739,7 @@ Claude-Flow v3 introduces **self-learning neural capabilities** that no other ag
577
739
 
578
740
  #### 🐝 Swarm & Coordination
579
741
 
580
- | Feature | Claude Flow v3 | CrewAI | LangGraph | AutoGen | Manus |
742
+ | Feature | Ruflo v3 | CrewAI | LangGraph | AutoGen | Manus |
581
743
  |---------|----------------|--------|-----------|---------|-------|
582
744
  | **Swarm Topologies** | ✅ 4 types | 1 | 1 | 1 | 1 |
583
745
  | **Consensus Protocols** | ✅ 5 (Raft, BFT, etc.) | ⛔ | ⛔ | ⛔ | ⛔ |
@@ -587,7 +749,7 @@ Claude-Flow v3 introduces **self-learning neural capabilities** that no other ag
587
749
 
588
750
  #### 🔧 Developer Experience
589
751
 
590
- | Feature | Claude Flow v3 | CrewAI | LangGraph | AutoGen | Manus |
752
+ | Feature | Ruflo v3 | CrewAI | LangGraph | AutoGen | Manus |
591
753
  |---------|----------------|--------|-----------|---------|-------|
592
754
  | **MCP Integration** | ✅ Native (170+ tools) | ⛔ | ⛔ | ⛔ | ⛔ |
593
755
  | **Skills System** | ✅ 42+ pre-built | ⛔ | ⛔ | ⛔ | Limited |
@@ -597,7 +759,7 @@ Claude-Flow v3 introduces **self-learning neural capabilities** that no other ag
597
759
 
598
760
  #### 🛡️ Security & Platform
599
761
 
600
- | Feature | Claude Flow v3 | CrewAI | LangGraph | AutoGen | Manus |
762
+ | Feature | Ruflo v3 | CrewAI | LangGraph | AutoGen | Manus |
601
763
  |---------|----------------|--------|-----------|---------|-------|
602
764
  | **Threat Detection** | ✅ AIDefence (<10ms) | ⛔ | ⛔ | ⛔ | ⛔ |
603
765
  | **Cloud Platform** | ✅ Flow Nexus | ⛔ | ⛔ | ⛔ | ⛔ |
@@ -611,7 +773,7 @@ Claude-Flow v3 introduces **self-learning neural capabilities** that no other ag
611
773
  <details>
612
774
  <summary>🚀 <strong>Key Differentiators</strong> — Self-learning, memory optimization, fault tolerance</summary>
613
775
 
614
- What makes Claude-Flow different from other agent frameworks? These 10 capabilities work together to create a system that learns from experience, runs efficiently on any hardware, and keeps working even when things go wrong.
776
+ What makes Ruflo different from other agent frameworks? These 10 capabilities work together to create a system that learns from experience, runs efficiently on any hardware, and keeps working even when things go wrong.
615
777
 
616
778
  | | Feature | What It Does | Technical Details |
617
779
  |---|---------|--------------|-------------------|
@@ -631,7 +793,7 @@ What makes Claude-Flow different from other agent frameworks? These 10 capabilit
631
793
  <details>
632
794
  <summary>💰 <strong>Intelligent 3-Tier Model Routing</strong> — Save 75% on API costs, extend Claude Max 2.5x</summary>
633
795
 
634
- Not every task needs the most powerful (and expensive) model. Claude-Flow analyzes each request and automatically routes it to the cheapest handler that can do the job well. Simple code transforms skip the LLM entirely using WebAssembly. Medium tasks use faster, cheaper models. Only complex architecture decisions use Opus.
796
+ Not every task needs the most powerful (and expensive) model. Ruflo analyzes each request and automatically routes it to the cheapest handler that can do the job well. Simple code transforms skip the LLM entirely using WebAssembly. Medium tasks use faster, cheaper models. Only complex architecture decisions use Opus.
635
797
 
636
798
  **Cost & Usage Benefits:**
637
799
 
@@ -657,7 +819,7 @@ Not every task needs the most powerful (and expensive) model. Claude-Flow analyz
657
819
  <details>
658
820
  <summary>📋 <strong>Spec-Driven Development</strong> — Build complete specs, implement without drift</summary>
659
821
 
660
- Complex projects fail when implementation drifts from the original plan. Claude-Flow solves this with a spec-first approach: define your architecture through ADRs (Architecture Decision Records), organize code into DDD bounded contexts, and let the system enforce compliance as agents work. The result is implementations that match specifications — even across multi-agent swarms working in parallel.
822
+ Complex projects fail when implementation drifts from the original plan. Ruflo solves this with a spec-first approach: define your architecture through ADRs (Architecture Decision Records), organize code into DDD bounded contexts, and let the system enforce compliance as agents work. The result is implementations that match specifications — even across multi-agent swarms working in parallel.
661
823
 
662
824
  **How It Prevents Drift:**
663
825
 
@@ -700,6 +862,8 @@ Complex projects fail when implementation drifts from the original plan. Claude-
700
862
  - **ADR-008**: Vitest testing framework (10x faster than Jest)
701
863
  - **ADR-009**: Hybrid Memory Backend (SQLite + HNSW)
702
864
  - **ADR-026**: Intelligent 3-tier model routing
865
+ - **ADR-048**: Auto Memory Bridge (Claude Code ↔ AgentDB bidirectional sync)
866
+ - **ADR-049**: Self-Learning Memory with GNN (LearningBridge, MemoryGraph, AgentMemoryScope)
703
867
 
704
868
  </details>
705
869
 
@@ -796,28 +960,32 @@ sequenceDiagram
796
960
  </details>
797
961
 
798
962
  <details>
799
- <summary>🧠 <strong>Memory Architecture</strong> — How knowledge is stored and retrieved</summary>
963
+ <summary>🧠 <strong>Memory Architecture</strong> — How knowledge is stored, learned, and retrieved</summary>
800
964
 
801
965
  ```mermaid
802
966
  flowchart LR
803
967
  subgraph Input["📥 Input"]
804
968
  Query[Query/Pattern]
969
+ Insight[New Insight]
805
970
  end
806
971
 
807
972
  subgraph Processing["⚙️ Processing"]
808
973
  Embed[ONNX Embeddings]
809
974
  Normalize[Normalization]
975
+ Learn[LearningBridge<br/>SONA + ReasoningBank]
810
976
  end
811
977
 
812
978
  subgraph Storage["💾 Storage"]
813
979
  HNSW[(HNSW Index<br/>150x faster)]
814
980
  SQLite[(SQLite Cache)]
815
981
  AgentDB[(AgentDB)]
982
+ Graph[MemoryGraph<br/>PageRank + Communities]
816
983
  end
817
984
 
818
985
  subgraph Retrieval["🔍 Retrieval"]
819
986
  Vector[Vector Search]
820
987
  Semantic[Semantic Match]
988
+ Rank[Graph-Aware Ranking]
821
989
  Results[Top-K Results]
822
990
  end
823
991
 
@@ -825,13 +993,26 @@ flowchart LR
825
993
  Embed --> Normalize
826
994
  Normalize --> HNSW
827
995
  Normalize --> SQLite
996
+ Insight --> Learn
997
+ Learn --> AgentDB
998
+ AgentDB --> Graph
828
999
  HNSW --> Vector
829
1000
  SQLite --> Vector
830
1001
  AgentDB --> Semantic
831
- Vector --> Results
832
- Semantic --> Results
1002
+ Vector --> Rank
1003
+ Semantic --> Rank
1004
+ Graph --> Rank
1005
+ Rank --> Results
833
1006
  ```
834
1007
 
1008
+ **Self-Learning Memory (ADR-049):**
1009
+ | Component | Purpose | Performance |
1010
+ |-----------|---------|-------------|
1011
+ | **LearningBridge** | Connects insights to SONA/ReasoningBank neural pipeline | 0.12 ms/insight |
1012
+ | **MemoryGraph** | PageRank + label propagation knowledge graph | 2.78 ms build (1k nodes) |
1013
+ | **AgentMemoryScope** | 3-scope agent memory (project/local/user) with cross-agent transfer | 1.25 ms transfer |
1014
+ | **AutoMemoryBridge** | Bidirectional sync: Claude Code auto memory files ↔ AgentDB | ADR-048 |
1015
+
835
1016
  </details>
836
1017
 
837
1018
  <details>
@@ -904,18 +1085,18 @@ flowchart TB
904
1085
 
905
1086
  ## 🔌 Setup & Configuration
906
1087
 
907
- Connect Claude-Flow to your development environment.
1088
+ Connect Ruflo to your development environment.
908
1089
 
909
1090
  <details>
910
- <summary>🔌 <strong>MCP Setup</strong> — Connect Claude-Flow to Any AI Environment</summary>
1091
+ <summary>🔌 <strong>MCP Setup</strong> — Connect Ruflo to Any AI Environment</summary>
911
1092
 
912
- Claude-Flow runs as an MCP (Model Context Protocol) server, allowing you to connect it to any MCP-compatible AI client. This means you can use Claude-Flow's 60+ agents, swarm coordination, and self-learning capabilities from Claude Desktop, VS Code, Cursor, Windsurf, ChatGPT, and more.
1093
+ Ruflo runs as an MCP (Model Context Protocol) server, allowing you to connect it to any MCP-compatible AI client. This means you can use Ruflo's 60+ agents, swarm coordination, and self-learning capabilities from Claude Desktop, VS Code, Cursor, Windsurf, ChatGPT, and more.
913
1094
 
914
1095
  ### Quick Add Command
915
1096
 
916
1097
  ```bash
917
- # Start Claude-Flow MCP server in any environment
918
- npx claude-flow@v3alpha mcp start
1098
+ # Start Ruflo MCP server in any environment
1099
+ npx ruflo@v3alpha mcp start
919
1100
  ```
920
1101
 
921
1102
  <details open>
@@ -930,9 +1111,9 @@ npx claude-flow@v3alpha mcp start
930
1111
  ```json
931
1112
  {
932
1113
  "mcpServers": {
933
- "claude-flow": {
1114
+ "ruflo": {
934
1115
  "command": "npx",
935
- "args": ["claude-flow@v3alpha", "mcp", "start"],
1116
+ "args": ["ruflo@v3alpha", "mcp", "start"],
936
1117
  "env": {
937
1118
  "ANTHROPIC_API_KEY": "sk-ant-..."
938
1119
  }
@@ -952,12 +1133,12 @@ Restart Claude Desktop after saving. Look for the MCP indicator (hammer icon) in
952
1133
 
953
1134
  ```bash
954
1135
  # Add via CLI (recommended)
955
- claude mcp add claude-flow -- npx claude-flow@v3alpha mcp start
1136
+ claude mcp add ruflo -- npx ruflo@v3alpha mcp start
956
1137
 
957
1138
  # Or add with environment variables
958
- claude mcp add claude-flow \
1139
+ claude mcp add ruflo \
959
1140
  --env ANTHROPIC_API_KEY=sk-ant-... \
960
- -- npx claude-flow@v3alpha mcp start
1141
+ -- npx ruflo@v3alpha mcp start
961
1142
 
962
1143
  # Verify installation
963
1144
  claude mcp list
@@ -984,9 +1165,9 @@ Create `.vscode/mcp.json` in your project:
984
1165
  ```json
985
1166
  {
986
1167
  "mcpServers": {
987
- "claude-flow": {
1168
+ "ruflo": {
988
1169
  "command": "npx",
989
- "args": ["claude-flow@v3alpha", "mcp", "start"],
1170
+ "args": ["ruflo@v3alpha", "mcp", "start"],
990
1171
  "env": {
991
1172
  "ANTHROPIC_API_KEY": "sk-ant-..."
992
1173
  }
@@ -1011,9 +1192,9 @@ Create `.cursor/mcp.json` in your project (or global config):
1011
1192
  ```json
1012
1193
  {
1013
1194
  "mcpServers": {
1014
- "claude-flow": {
1195
+ "ruflo": {
1015
1196
  "command": "npx",
1016
- "args": ["claude-flow@v3alpha", "mcp", "start"],
1197
+ "args": ["ruflo@v3alpha", "mcp", "start"],
1017
1198
  "env": {
1018
1199
  "ANTHROPIC_API_KEY": "sk-ant-..."
1019
1200
  }
@@ -1038,9 +1219,9 @@ Create `.cursor/mcp.json` in your project (or global config):
1038
1219
  ```json
1039
1220
  {
1040
1221
  "mcpServers": {
1041
- "claude-flow": {
1222
+ "ruflo": {
1042
1223
  "command": "npx",
1043
- "args": ["claude-flow@v3alpha", "mcp", "start"],
1224
+ "args": ["ruflo@v3alpha", "mcp", "start"],
1044
1225
  "env": {
1045
1226
  "ANTHROPIC_API_KEY": "sk-ant-..."
1046
1227
  }
@@ -1067,11 +1248,11 @@ Click **Refresh** in the MCP settings to connect. Windsurf supports up to 100 MC
1067
1248
 
1068
1249
  **Remote Server Setup:**
1069
1250
 
1070
- For ChatGPT, you need a remote MCP server (not local stdio). Deploy claude-flow to a server with HTTP transport:
1251
+ For ChatGPT, you need a remote MCP server (not local stdio). Deploy ruflo to a server with HTTP transport:
1071
1252
 
1072
1253
  ```bash
1073
1254
  # Start with HTTP transport
1074
- npx claude-flow@v3alpha mcp start --transport http --port 3000
1255
+ npx ruflo@v3alpha mcp start --transport http --port 3000
1075
1256
  ```
1076
1257
 
1077
1258
  Then add the server URL in ChatGPT Connectors settings.
@@ -1087,7 +1268,7 @@ Google AI Studio supports MCP natively since May 2025, with managed MCP servers
1087
1268
 
1088
1269
  **Using MCP SuperAssistant Extension:**
1089
1270
  1. Install [MCP SuperAssistant](https://chrome.google.com/webstore) Chrome extension
1090
- 2. Configure your claude-flow MCP server
1271
+ 2. Configure your ruflo MCP server
1091
1272
  3. Use with Google AI Studio, Gemini, and other AI platforms
1092
1273
 
1093
1274
  **Native SDK Integration:**
@@ -1100,9 +1281,9 @@ const ai = new GoogleGenAI({ apiKey: 'YOUR_API_KEY' });
1100
1281
  // MCP definitions are natively supported in the Gen AI SDK
1101
1282
  const mcpConfig = {
1102
1283
  servers: [{
1103
- name: 'claude-flow',
1284
+ name: 'ruflo',
1104
1285
  command: 'npx',
1105
- args: ['claude-flow@v3alpha', 'mcp', 'start']
1286
+ args: ['ruflo@v3alpha', 'mcp', 'start']
1106
1287
  }]
1107
1288
  };
1108
1289
  ```
@@ -1123,9 +1304,9 @@ JetBrains AI Assistant supports MCP for IntelliJ IDEA, PyCharm, WebStorm, and ot
1123
1304
 
1124
1305
  ```json
1125
1306
  {
1126
- "name": "claude-flow",
1307
+ "name": "ruflo",
1127
1308
  "command": "npx",
1128
- "args": ["claude-flow@v3alpha", "mcp", "start"]
1309
+ "args": ["ruflo@v3alpha", "mcp", "start"]
1129
1310
  }
1130
1311
  ```
1131
1312
 
@@ -1355,19 +1536,89 @@ The Hive Mind system implements queen-led hierarchical coordination where strate
1355
1536
 
1356
1537
  **CLI Commands:**
1357
1538
  ```bash
1358
- npx claude-flow hive-mind init # Initialize hive mind
1359
- npx claude-flow hive-mind spawn "Build API" # Spawn with objective
1360
- npx claude-flow hive-mind spawn "..." --queen-type strategic --consensus byzantine
1361
- npx claude-flow hive-mind status # Check status
1362
- npx claude-flow hive-mind metrics # Performance metrics
1363
- npx claude-flow hive-mind memory # Collective memory stats
1364
- npx claude-flow hive-mind sessions # List active sessions
1539
+ npx ruflo hive-mind init # Initialize hive mind
1540
+ npx ruflo hive-mind spawn "Build API" # Spawn with objective
1541
+ npx ruflo hive-mind spawn "..." --queen-type strategic --consensus byzantine
1542
+ npx ruflo hive-mind status # Check status
1543
+ npx ruflo hive-mind metrics # Performance metrics
1544
+ npx ruflo hive-mind memory # Collective memory stats
1545
+ npx ruflo hive-mind sessions # List active sessions
1365
1546
  ```
1366
1547
 
1367
1548
  **Performance:** 10-20x faster batch spawning, 2.8-4.4x speed improvement, 84.8% SWE-Bench solve rate
1368
1549
 
1369
1550
  </details>
1370
1551
 
1552
+ <details>
1553
+ <summary>👥 <strong>Agent Teams</strong> — Claude Code multi-instance coordination</summary>
1554
+
1555
+ Native integration with Claude Code's experimental Agent Teams feature for spawning and coordinating multiple Claude instances.
1556
+
1557
+ **Enable Agent Teams:**
1558
+ ```bash
1559
+ # Automatically enabled with ruflo init
1560
+ npx ruflo@latest init
1561
+
1562
+ # Or manually add to .claude/settings.json
1563
+ {
1564
+ "env": {
1565
+ "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
1566
+ }
1567
+ }
1568
+ ```
1569
+
1570
+ **Agent Teams Components:**
1571
+
1572
+ | Component | Tool | Purpose |
1573
+ |-----------|------|---------|
1574
+ | **Team Lead** | Main Claude | Coordinates teammates, assigns tasks, reviews results |
1575
+ | **Teammates** | `Task` tool | Sub-agents spawned to work on specific tasks |
1576
+ | **Task List** | `TaskCreate/TaskList/TaskUpdate` | Shared todos visible to all team members |
1577
+ | **Mailbox** | `SendMessage` | Inter-agent messaging for coordination |
1578
+
1579
+ **Quick Start:**
1580
+ ```javascript
1581
+ // Create a team
1582
+ TeamCreate({ team_name: "feature-dev", description: "Building feature" })
1583
+
1584
+ // Create shared tasks
1585
+ TaskCreate({ subject: "Design API", description: "..." })
1586
+ TaskCreate({ subject: "Implement endpoints", description: "..." })
1587
+
1588
+ // Spawn teammates (parallel background work)
1589
+ Task({ prompt: "Work on task #1...", subagent_type: "architect",
1590
+ team_name: "feature-dev", name: "architect", run_in_background: true })
1591
+ Task({ prompt: "Work on task #2...", subagent_type: "coder",
1592
+ team_name: "feature-dev", name: "developer", run_in_background: true })
1593
+
1594
+ // Message teammates
1595
+ SendMessage({ type: "message", recipient: "developer",
1596
+ content: "Prioritize auth", summary: "Priority update" })
1597
+
1598
+ // Cleanup when done
1599
+ SendMessage({ type: "shutdown_request", recipient: "developer" })
1600
+ TeamDelete()
1601
+ ```
1602
+
1603
+ **Agent Teams Hooks:**
1604
+
1605
+ | Hook | Trigger | Purpose |
1606
+ |------|---------|---------|
1607
+ | `teammate-idle` | Teammate finishes turn | Auto-assign pending tasks |
1608
+ | `task-completed` | Task marked complete | Train patterns, notify lead |
1609
+
1610
+ ```bash
1611
+ # Handle idle teammate
1612
+ npx ruflo@latest hooks teammate-idle --auto-assign true
1613
+
1614
+ # Handle task completion
1615
+ npx ruflo@latest hooks task-completed --task-id <id> --train-patterns
1616
+ ```
1617
+
1618
+ **Display Modes:** `auto` (default), `in-process`, `tmux` (split-pane)
1619
+
1620
+ </details>
1621
+
1371
1622
  <details>
1372
1623
  <summary>🔧 <strong>MCP Tools & Integration</strong> — 31+ tools across 7 categories</summary>
1373
1624
 
@@ -1380,7 +1631,7 @@ Full MCP server with tools for coordination, monitoring, memory, and GitHub inte
1380
1631
  | **Memory & Neural** | `memory_usage`, `neural_status`, `neural_train`, `neural_patterns` | Memory operations and learning |
1381
1632
  | **GitHub** | `github_swarm`, `repo_analyze`, `pr_enhance`, `issue_triage`, `code_review` | Repository integration |
1382
1633
  | **Workers** | `worker/run`, `worker/status`, `worker/alerts`, `worker/history` | Background task management |
1383
- | **Hooks** | `hooks/pre-*`, `hooks/post-*`, `hooks/route`, `hooks/session-*`, `hooks/intelligence/*` | 31 lifecycle hooks |
1634
+ | **Hooks** | `hooks/pre-*`, `hooks/post-*`, `hooks/route`, `hooks/session-*`, `hooks/teammate-*`, `hooks/task-*` | 33 lifecycle hooks |
1384
1635
  | **Progress** | `progress/check`, `progress/sync`, `progress/summary`, `progress/watch` | V3 implementation tracking |
1385
1636
 
1386
1637
  </details>
@@ -1438,14 +1689,14 @@ Build custom plugins with the fluent builder API. Create MCP tools, hooks, worke
1438
1689
 
1439
1690
  ### 📦 Available Optional Plugins
1440
1691
 
1441
- Install these optional plugins to extend Claude Flow capabilities:
1692
+ Install these optional plugins to extend Ruflo capabilities:
1442
1693
 
1443
1694
  | Plugin | Version | Description | Install Command |
1444
1695
  |--------|---------|-------------|-----------------|
1445
1696
  | **@claude-flow/plugin-agentic-qe** | 3.0.0-alpha.2 | Quality Engineering with 58 AI agents across 12 DDD contexts. TDD, coverage analysis, security scanning, chaos engineering, accessibility testing. | `npm install @claude-flow/plugin-agentic-qe` |
1446
1697
  | **@claude-flow/plugin-prime-radiant** | 0.1.4 | Mathematical AI interpretability with 6 engines: sheaf cohomology, spectral analysis, causal inference, quantum topology, category theory, HoTT proofs. | `npm install @claude-flow/plugin-prime-radiant` |
1447
- | **@claude-flow/plugin-gastown-bridge** | 0.1.0 | Gas Town orchestrator integration with WASM-accelerated formula parsing (352x faster), Beads sync, convoy management, and graph analysis. 20 MCP tools. | `npx claude-flow@latest plugins install -n @claude-flow/plugin-gastown-bridge` |
1448
- | **@claude-flow/teammate-plugin** | 1.0.0-alpha.1 | Native TeammateTool integration for Claude Code v2.1.19+. BMSSP WASM acceleration, rate limiting, circuit breaker, semantic routing. 21 MCP tools. | `npx claude-flow@latest plugins install -n @claude-flow/teammate-plugin` |
1698
+ | **@claude-flow/plugin-gastown-bridge** | 0.1.0 | Gas Town orchestrator integration with WASM-accelerated formula parsing (352x faster), Beads sync, convoy management, and graph analysis. 20 MCP tools. | `npx ruflo@latest plugins install -n @claude-flow/plugin-gastown-bridge` |
1699
+ | **@claude-flow/teammate-plugin** | 1.0.0-alpha.1 | Native TeammateTool integration for Claude Code v2.1.19+. BMSSP WASM acceleration, rate limiting, circuit breaker, semantic routing. 21 MCP tools. | `npx ruflo@latest plugins install -n @claude-flow/teammate-plugin` |
1449
1700
 
1450
1701
  #### 🏥 Domain-Specific Plugins
1451
1702
 
@@ -1515,7 +1766,7 @@ npm install @claude-flow/plugin-agentic-qe
1515
1766
  npm install @claude-flow/plugin-prime-radiant
1516
1767
 
1517
1768
  # Install Gas Town Bridge plugin (WASM-accelerated orchestration)
1518
- npx claude-flow@latest plugins install -n @claude-flow/plugin-gastown-bridge
1769
+ npx ruflo@latest plugins install -n @claude-flow/plugin-gastown-bridge
1519
1770
 
1520
1771
  # Install domain-specific plugins
1521
1772
  npm install @claude-flow/plugin-healthcare-clinical
@@ -1534,7 +1785,7 @@ npm install @claude-flow/plugin-quantum-optimizer
1534
1785
  npm install @claude-flow/plugin-hyperbolic-reasoning
1535
1786
 
1536
1787
  # List all installed plugins
1537
- npx claude-flow plugins list --installed
1788
+ npx ruflo plugins list --installed
1538
1789
  ```
1539
1790
 
1540
1791
  </details>
@@ -1703,8 +1954,8 @@ Workers run automatically based on context, or dispatch manually via MCP tools.
1703
1954
  | **TestGaps** | `testgaps` | Test coverage analysis | Code changes without tests |
1704
1955
 
1705
1956
  ```bash
1706
- npx claude-flow@v3alpha worker dispatch --trigger audit --context "./src"
1707
- npx claude-flow@v3alpha worker status
1957
+ npx ruflo@v3alpha worker dispatch --trigger audit --context "./src"
1958
+ npx ruflo@v3alpha worker status
1708
1959
  ```
1709
1960
 
1710
1961
  </details>
@@ -1928,7 +2179,7 @@ npx claude-flow@v3alpha worker status
1928
2179
  | Feature | Description | Performance |
1929
2180
  |---------|-------------|-------------|
1930
2181
  | **Multi-Provider** | Agentic-Flow (ONNX), OpenAI, Transformers.js, Mock | 4 providers |
1931
- | **Auto-Install** | `claude-flow embeddings init` or `createEmbeddingServiceAsync()` | Zero config |
2182
+ | **Auto-Install** | `ruflo embeddings init` or `createEmbeddingServiceAsync()` | Zero config |
1932
2183
  | **75x Faster** | Agentic-flow ONNX SIMD vs Transformers.js | 3ms vs 230ms |
1933
2184
  | **Hyperbolic Space** | Poincaré ball model for hierarchical data | Exponential capacity |
1934
2185
  | **Dimensions** | 384 to 3072 configurable | Quality vs speed tradeoff |
@@ -1938,13 +2189,13 @@ npx claude-flow@v3alpha worker status
1938
2189
 
1939
2190
  ```bash
1940
2191
  # Initialize ONNX embeddings with hyperbolic config
1941
- claude-flow embeddings init
2192
+ ruflo embeddings init
1942
2193
 
1943
2194
  # Use larger model for higher quality
1944
- claude-flow embeddings init --model all-mpnet-base-v2
2195
+ ruflo embeddings init --model all-mpnet-base-v2
1945
2196
 
1946
2197
  # Semantic search
1947
- claude-flow embeddings search -q "authentication patterns"
2198
+ ruflo embeddings search -q "authentication patterns"
1948
2199
  ```
1949
2200
 
1950
2201
  | Mode | Adaptation | Quality | Memory | Use Case |
@@ -1981,22 +2232,22 @@ claude-flow embeddings search -q "authentication patterns"
1981
2232
 
1982
2233
  ```bash
1983
2234
  # Initialize RuVector in PostgreSQL
1984
- claude-flow ruvector init --database mydb --user admin
2235
+ ruflo ruvector init --database mydb --user admin
1985
2236
 
1986
2237
  # Check connection and schema status
1987
- claude-flow ruvector status --verbose
2238
+ ruflo ruvector status --verbose
1988
2239
 
1989
2240
  # Run pending migrations
1990
- claude-flow ruvector migrate --up
2241
+ ruflo ruvector migrate --up
1991
2242
 
1992
2243
  # Performance benchmark
1993
- claude-flow ruvector benchmark --iterations 1000
2244
+ ruflo ruvector benchmark --iterations 1000
1994
2245
 
1995
2246
  # Optimize indices and vacuum
1996
- claude-flow ruvector optimize --analyze
2247
+ ruflo ruvector optimize --analyze
1997
2248
 
1998
2249
  # Backup vector data
1999
- claude-flow ruvector backup --output ./backup.sql
2250
+ ruflo ruvector backup --output ./backup.sql
2000
2251
  ```
2001
2252
 
2002
2253
  | Migration | Purpose | Features |
@@ -2028,13 +2279,13 @@ claude-flow ruvector backup --output ./backup.sql
2028
2279
 
2029
2280
  **Quick Commands:**
2030
2281
  ```bash
2031
- npx claude-flow hive-mind init # Initialize
2032
- npx claude-flow hive-mind spawn "Build API" --queen-type tactical # Spawn swarm
2033
- npx claude-flow hive-mind spawn "Research AI" --consensus byzantine --claude
2034
- npx claude-flow hive-mind status # Check status
2282
+ npx ruflo hive-mind init # Initialize
2283
+ npx ruflo hive-mind spawn "Build API" --queen-type tactical # Spawn swarm
2284
+ npx ruflo hive-mind spawn "Research AI" --consensus byzantine --claude
2285
+ npx ruflo hive-mind status # Check status
2035
2286
  ```
2036
2287
 
2037
- **Claude-Flow Skill:** `/hive-mind-advanced` — Full hive mind orchestration
2288
+ **Ruflo Skill:** `/hive-mind-advanced` — Full hive mind orchestration
2038
2289
 
2039
2290
  **Performance:** 10-20x faster batch spawning, 84.8% SWE-Bench solve rate, 32.3% token reduction
2040
2291
 
@@ -2146,7 +2397,7 @@ Real-time development status display for Claude Code integration showing DDD pro
2146
2397
 
2147
2398
  **Output Format:**
2148
2399
  ```
2149
- Claude Flow V3 ● ruvnet │ ⎇ v3 │ Opus 4.5
2400
+ Ruflo V3 ● ruvnet │ ⎇ v3 │ Opus 4.5
2150
2401
  ─────────────────────────────────────────────────────
2151
2402
  🏗️ DDD Domains [●●●●●] 5/5 ⚡ 1.0x → 2.49x-7.47x
2152
2403
  🤖 Swarm ◉ [58/15] 👥 0 🟢 CVE 3/3 💾 22282MB 📂 47% 🧠 10%
@@ -2155,7 +2406,7 @@ Real-time development status display for Claude Code integration showing DDD pro
2155
2406
 
2156
2407
  | Indicator | Description | Values |
2157
2408
  |-----------|-------------|--------|
2158
- | `▊ Claude Flow V3` | Project header | Always shown |
2409
+ | `▊ Ruflo V3` | Project header | Always shown |
2159
2410
  | `● ruvnet` | GitHub user (via `gh` CLI) | Dynamic |
2160
2411
  | `⎇ v3` | Current git branch | Dynamic |
2161
2412
  | `Opus 4.5` | Claude model name | From Claude Code |
@@ -2176,19 +2427,19 @@ Real-time development status display for Claude Code integration showing DDD pro
2176
2427
  **Usage:**
2177
2428
  ```bash
2178
2429
  # Default: Safe multi-line (avoids Claude Code collision zone)
2179
- npx claude-flow@v3alpha hooks statusline
2430
+ npx ruflo@v3alpha hooks statusline
2180
2431
 
2181
2432
  # Single-line mode (completely avoids collision)
2182
- npx claude-flow@v3alpha hooks statusline --single
2433
+ npx ruflo@v3alpha hooks statusline --single
2183
2434
 
2184
2435
  # Legacy multi-line (original behavior, may have bleeding)
2185
- npx claude-flow@v3alpha hooks statusline --legacy
2436
+ npx ruflo@v3alpha hooks statusline --legacy
2186
2437
 
2187
2438
  # JSON output for scripting
2188
- npx claude-flow@v3alpha hooks statusline --json
2439
+ npx ruflo@v3alpha hooks statusline --json
2189
2440
 
2190
2441
  # Compact JSON (single line)
2191
- npx claude-flow@v3alpha hooks statusline --compact
2442
+ npx ruflo@v3alpha hooks statusline --compact
2192
2443
  ```
2193
2444
 
2194
2445
  **Collision Zone Fix (Issue #985):**
@@ -2210,16 +2461,16 @@ Add to `.claude/settings.json`:
2210
2461
  {
2211
2462
  "statusLine": {
2212
2463
  "type": "command",
2213
- "command": "npx claude-flow@v3alpha hooks statusline --single"
2464
+ "command": "npx ruflo@v3alpha hooks statusline --single"
2214
2465
  }
2215
2466
  }
2216
2467
  ```
2217
2468
 
2218
2469
  **Data Sources:**
2219
- - `.claude-flow/metrics/v3-progress.json` - DDD domain progress
2220
- - `.claude-flow/metrics/swarm-activity.json` - Active agent counts
2221
- - `.claude-flow/security/audit-status.json` - CVE remediation status
2222
- - `.claude-flow/learning/patterns.db` - Intelligence score (pattern count)
2470
+ - `.ruflo/metrics/v3-progress.json` - DDD domain progress
2471
+ - `.ruflo/metrics/swarm-activity.json` - Active agent counts
2472
+ - `.ruflo/security/audit-status.json` - CVE remediation status
2473
+ - `.ruflo/learning/patterns.db` - Intelligence score (pattern count)
2223
2474
  - Process detection via `ps aux` - Real-time memory and agent counts
2224
2475
  - Git branch via `git branch --show-current`
2225
2476
  - GitHub user via `gh api user`
@@ -2244,19 +2495,19 @@ Cross-platform TypeScript-based daemon service with auto-scheduling:
2244
2495
  **Commands:**
2245
2496
  ```bash
2246
2497
  # Start daemon (auto-runs on SessionStart hooks)
2247
- npx claude-flow@v3alpha daemon start
2498
+ npx ruflo@v3alpha daemon start
2248
2499
 
2249
2500
  # Check status with worker history
2250
- npx claude-flow@v3alpha daemon status
2501
+ npx ruflo@v3alpha daemon status
2251
2502
 
2252
2503
  # Manually trigger a worker
2253
- npx claude-flow@v3alpha daemon trigger map
2504
+ npx ruflo@v3alpha daemon trigger map
2254
2505
 
2255
2506
  # Enable/disable workers
2256
- npx claude-flow@v3alpha daemon enable map audit optimize
2507
+ npx ruflo@v3alpha daemon enable map audit optimize
2257
2508
 
2258
2509
  # Stop daemon
2259
- npx claude-flow@v3alpha daemon stop
2510
+ npx ruflo@v3alpha daemon stop
2260
2511
  ```
2261
2512
 
2262
2513
  **Daemon Status Output:**
@@ -2330,7 +2581,7 @@ Shell-based daemons for monitoring (Linux/macOS only):
2330
2581
  <details>
2331
2582
  <summary>⌨️ <strong>V3 CLI Commands</strong> — 26 commands with 140+ subcommands</summary>
2332
2583
 
2333
- Complete command-line interface for all Claude-Flow operations.
2584
+ Complete command-line interface for all Ruflo operations.
2334
2585
 
2335
2586
  **Core Commands:**
2336
2587
 
@@ -2372,25 +2623,25 @@ Complete command-line interface for all Claude-Flow operations.
2372
2623
 
2373
2624
  ```bash
2374
2625
  # Initialize project with wizard
2375
- npx claude-flow@v3alpha init --wizard
2626
+ npx ruflo@v3alpha init --wizard
2376
2627
 
2377
2628
  # Start daemon with background workers
2378
- npx claude-flow@v3alpha daemon start
2629
+ npx ruflo@v3alpha daemon start
2379
2630
 
2380
2631
  # Spawn an agent with specific type
2381
- npx claude-flow@v3alpha agent spawn -t coder --name my-coder
2632
+ npx ruflo@v3alpha agent spawn -t coder --name my-coder
2382
2633
 
2383
2634
  # Initialize swarm with V3 mode
2384
- npx claude-flow@v3alpha swarm init --v3-mode
2635
+ npx ruflo@v3alpha swarm init --v3-mode
2385
2636
 
2386
2637
  # Search memory (HNSW-indexed, 150x faster)
2387
- npx claude-flow@v3alpha memory search -q "authentication patterns"
2638
+ npx ruflo@v3alpha memory search -q "authentication patterns"
2388
2639
 
2389
2640
  # Run security scan
2390
- npx claude-flow@v3alpha security scan --depth full
2641
+ npx ruflo@v3alpha security scan --depth full
2391
2642
 
2392
2643
  # Performance benchmark
2393
- npx claude-flow@v3alpha performance benchmark --suite all
2644
+ npx ruflo@v3alpha performance benchmark --suite all
2394
2645
  ```
2395
2646
 
2396
2647
  </details>
@@ -2398,7 +2649,7 @@ npx claude-flow@v3alpha performance benchmark --suite all
2398
2649
  <details>
2399
2650
  <summary>🩺 <strong>Doctor Health Checks</strong> — System diagnostics with auto-fix</summary>
2400
2651
 
2401
- Run `npx claude-flow@v3alpha doctor` to diagnose and fix common issues.
2652
+ Run `npx ruflo@v3alpha doctor` to diagnose and fix common issues.
2402
2653
 
2403
2654
  **Health Checks Performed:**
2404
2655
 
@@ -2419,22 +2670,22 @@ Run `npx claude-flow@v3alpha doctor` to diagnose and fix common issues.
2419
2670
 
2420
2671
  ```bash
2421
2672
  # Run full diagnostics
2422
- npx claude-flow@v3alpha doctor
2673
+ npx ruflo@v3alpha doctor
2423
2674
 
2424
2675
  # Run diagnostics with auto-fix
2425
- npx claude-flow@v3alpha doctor --fix
2676
+ npx ruflo@v3alpha doctor --fix
2426
2677
 
2427
2678
  # Check specific component
2428
- npx claude-flow@v3alpha doctor --component memory
2679
+ npx ruflo@v3alpha doctor --component memory
2429
2680
 
2430
2681
  # Verbose output
2431
- npx claude-flow@v3alpha doctor --verbose
2682
+ npx ruflo@v3alpha doctor --verbose
2432
2683
  ```
2433
2684
 
2434
2685
  **Output Example:**
2435
2686
 
2436
2687
  ```
2437
- 🩺 Claude-Flow Doctor v3.0.0-alpha
2688
+ 🩺 Ruflo Doctor v3.0.0-alpha
2438
2689
 
2439
2690
  ✅ Node.js 20.11.0 (required: 20+)
2440
2691
  ✅ npm 10.2.4 (required: 9+)
@@ -2478,16 +2729,16 @@ The embeddings package (v3.0.0-alpha.12) provides high-performance vector embedd
2478
2729
 
2479
2730
  ```bash
2480
2731
  # Initialize embeddings system
2481
- npx claude-flow@v3alpha embeddings init
2732
+ npx ruflo@v3alpha embeddings init
2482
2733
 
2483
2734
  # Generate embedding for text
2484
- npx claude-flow@v3alpha embeddings embed "authentication patterns"
2735
+ npx ruflo@v3alpha embeddings embed "authentication patterns"
2485
2736
 
2486
2737
  # Batch embed multiple texts
2487
- npx claude-flow@v3alpha embeddings batch --file texts.txt
2738
+ npx ruflo@v3alpha embeddings batch --file texts.txt
2488
2739
 
2489
2740
  # Search with semantic similarity
2490
- npx claude-flow@v3alpha embeddings search "login flow" --top-k 5
2741
+ npx ruflo@v3alpha embeddings search "login flow" --top-k 5
2491
2742
  ```
2492
2743
 
2493
2744
  **Programmatic:**
@@ -2524,59 +2775,173 @@ Real-world scenarios and pre-built workflows for common tasks.
2524
2775
 
2525
2776
  | Scenario | What It Solves | How To Do It |
2526
2777
  |----------|----------------|--------------|
2527
- | **Code Review** | Get thorough reviews with security, performance, and style checks | `npx claude-flow@v3alpha --agent reviewer --task "Review PR #123"` |
2528
- | **Test Generation** | Auto-generate unit, integration, and e2e tests for existing code | `npx claude-flow@v3alpha --agent tester --task "Write tests for auth module"` |
2529
- | **Refactoring** | Safely restructure code while maintaining behavior | `npx claude-flow@v3alpha --agent coder --task "Refactor user service to use repository pattern"` |
2530
- | **Bug Fixing** | Diagnose and fix bugs with full context analysis | `npx claude-flow@v3alpha --agent coder --task "Fix race condition in checkout flow"` |
2778
+ | **Code Review** | Get thorough reviews with security, performance, and style checks | `npx ruflo@v3alpha --agent reviewer --task "Review PR #123"` |
2779
+ | **Test Generation** | Auto-generate unit, integration, and e2e tests for existing code | `npx ruflo@v3alpha --agent tester --task "Write tests for auth module"` |
2780
+ | **Refactoring** | Safely restructure code while maintaining behavior | `npx ruflo@v3alpha --agent coder --task "Refactor user service to use repository pattern"` |
2781
+ | **Bug Fixing** | Diagnose and fix bugs with full context analysis | `npx ruflo@v3alpha --agent coder --task "Fix race condition in checkout flow"` |
2531
2782
 
2532
2783
  ### 🔒 Security & Compliance
2533
2784
 
2534
2785
  | Scenario | What It Solves | How To Do It |
2535
2786
  |----------|----------------|--------------|
2536
- | **Security Audit** | Find vulnerabilities before attackers do | `npx claude-flow@v3alpha --agent security-architect --task "Audit for OWASP Top 10"` |
2537
- | **Dependency Scan** | Identify vulnerable packages and suggest upgrades | `npx claude-flow@v3alpha security scan --depth full` |
2538
- | **Compliance Check** | Ensure code meets security standards | `npx claude-flow@v3alpha --agent security-architect --task "Check PCI-DSS compliance"` |
2787
+ | **Security Audit** | Find vulnerabilities before attackers do | `npx ruflo@v3alpha --agent security-architect --task "Audit for OWASP Top 10"` |
2788
+ | **Dependency Scan** | Identify vulnerable packages and suggest upgrades | `npx ruflo@v3alpha security scan --depth full` |
2789
+ | **Compliance Check** | Ensure code meets security standards | `npx ruflo@v3alpha --agent security-architect --task "Check PCI-DSS compliance"` |
2539
2790
 
2540
2791
  ### 🐝 Multi-Agent Swarms
2541
2792
 
2542
2793
  | Scenario | What It Solves | How To Do It |
2543
2794
  |----------|----------------|--------------|
2544
- | **Feature Development** | Coordinate multiple agents on complex features | `npx claude-flow@v3alpha swarm init --topology hierarchical && npx claude-flow@v3alpha task orchestrate "Build user dashboard"` |
2545
- | **Large Refactors** | Parallel refactoring across many files without conflicts | `npx claude-flow@v3alpha swarm init --topology mesh --max-agents 8` |
2546
- | **Codebase Migration** | Migrate frameworks, languages, or patterns systematically | `npx claude-flow@v3alpha task orchestrate "Migrate from Express to Fastify" --strategy adaptive` |
2795
+ | **Feature Development** | Coordinate multiple agents on complex features | `npx ruflo@v3alpha swarm init --topology hierarchical && npx ruflo@v3alpha task orchestrate "Build user dashboard"` |
2796
+ | **Large Refactors** | Parallel refactoring across many files without conflicts | `npx ruflo@v3alpha swarm init --topology mesh --max-agents 8` |
2797
+ | **Codebase Migration** | Migrate frameworks, languages, or patterns systematically | `npx ruflo@v3alpha task orchestrate "Migrate from Express to Fastify" --strategy adaptive` |
2547
2798
 
2548
2799
  ### 📊 Performance & Optimization
2549
2800
 
2550
2801
  | Scenario | What It Solves | How To Do It |
2551
2802
  |----------|----------------|--------------|
2552
- | **Performance Profiling** | Find and fix bottlenecks in your application | `npx claude-flow@v3alpha --agent perf-analyzer --task "Profile API endpoints"` |
2553
- | **Query Optimization** | Speed up slow database queries | `npx claude-flow@v3alpha hooks route "Optimize database queries"` |
2554
- | **Memory Analysis** | Reduce memory usage and fix leaks | `npx claude-flow@v3alpha --agent perf-analyzer --task "Analyze memory usage patterns"` |
2803
+ | **Performance Profiling** | Find and fix bottlenecks in your application | `npx ruflo@v3alpha --agent perf-analyzer --task "Profile API endpoints"` |
2804
+ | **Query Optimization** | Speed up slow database queries | `npx ruflo@v3alpha hooks route "Optimize database queries"` |
2805
+ | **Memory Analysis** | Reduce memory usage and fix leaks | `npx ruflo@v3alpha --agent perf-analyzer --task "Analyze memory usage patterns"` |
2555
2806
 
2556
2807
  ### 🔄 GitHub & DevOps
2557
2808
 
2558
2809
  | Scenario | What It Solves | How To Do It |
2559
2810
  |----------|----------------|--------------|
2560
- | **PR Management** | Review, approve, and merge PRs efficiently | `npx claude-flow@v3alpha --agent pr-manager --task "Review open PRs"` |
2561
- | **Issue Triage** | Categorize, prioritize, and assign issues automatically | `npx claude-flow@v3alpha --agent issue-tracker --task "Triage new issues"` |
2562
- | **Release Management** | Coordinate releases with changelogs and versioning | `npx claude-flow@v3alpha --agent release-manager --task "Prepare v2.0 release"` |
2563
- | **CI/CD Optimization** | Speed up pipelines and reduce flaky tests | `npx claude-flow@v3alpha --agent cicd-engineer --task "Optimize GitHub Actions workflow"` |
2811
+ | **PR Management** | Review, approve, and merge PRs efficiently | `npx ruflo@v3alpha --agent pr-manager --task "Review open PRs"` |
2812
+ | **Issue Triage** | Categorize, prioritize, and assign issues automatically | `npx ruflo@v3alpha --agent issue-tracker --task "Triage new issues"` |
2813
+ | **Release Management** | Coordinate releases with changelogs and versioning | `npx ruflo@v3alpha --agent release-manager --task "Prepare v2.0 release"` |
2814
+ | **CI/CD Optimization** | Speed up pipelines and reduce flaky tests | `npx ruflo@v3alpha --agent cicd-engineer --task "Optimize GitHub Actions workflow"` |
2564
2815
 
2565
2816
  ### 📋 Spec-Driven Development
2566
2817
 
2567
2818
  | Scenario | What It Solves | How To Do It |
2568
2819
  |----------|----------------|--------------|
2569
- | **Generate Specs** | Create complete specifications before coding | `npx claude-flow@v3alpha --agent architect --task "Create ADR for authentication system"` |
2570
- | **Validate Implementation** | Ensure code matches specifications | `npx claude-flow@v3alpha hooks progress --detailed` |
2571
- | **Track Compliance** | Monitor spec adherence across the team | `npx claude-flow@v3alpha progress sync` |
2820
+ | **Generate Specs** | Create complete specifications before coding | `npx ruflo@v3alpha --agent architect --task "Create ADR for authentication system"` |
2821
+ | **Validate Implementation** | Ensure code matches specifications | `npx ruflo@v3alpha hooks progress --detailed` |
2822
+ | **Track Compliance** | Monitor spec adherence across the team | `npx ruflo@v3alpha progress sync` |
2572
2823
 
2573
2824
  ### 🧠 Learning & Intelligence
2574
2825
 
2575
2826
  | Scenario | What It Solves | How To Do It |
2576
2827
  |----------|----------------|--------------|
2577
- | **Bootstrap Intelligence** | Train the system on your codebase patterns | `npx claude-flow@v3alpha hooks pretrain --depth deep` |
2578
- | **Optimize Routing** | Improve task-to-agent matching over time | `npx claude-flow@v3alpha hooks route "<task>" --include-explanation` |
2579
- | **Transfer Learning** | Apply patterns learned from other projects | `npx claude-flow@v3alpha hooks transfer <sourceProject>` |
2828
+ | **Bootstrap Intelligence** | Train the system on your codebase patterns | `npx ruflo@v3alpha hooks pretrain --depth deep` |
2829
+ | **Optimize Routing** | Improve task-to-agent matching over time | `npx ruflo@v3alpha hooks route "<task>" --include-explanation` |
2830
+ | **Transfer Learning** | Apply patterns learned from other projects | `npx ruflo@v3alpha hooks transfer <sourceProject>` |
2831
+
2832
+ </details>
2833
+
2834
+ ---
2835
+
2836
+ ## 🧠 Infinite Context & Memory Optimization
2837
+
2838
+ Ruflo eliminates Claude Code's context window ceiling with a real-time memory management system that archives, optimizes, and restores conversation context automatically.
2839
+
2840
+ <details>
2841
+ <summary>♾️ <strong>Context Autopilot</strong> — Never lose context to compaction again</summary>
2842
+
2843
+ ### The Problem
2844
+
2845
+ Claude Code has a finite context window (~200K tokens). When full, it **compacts** — summarizing the conversation and discarding details like exact file paths, tool outputs, decision reasoning, and code snippets. This creates a "context cliff" where Claude loses the ability to reference earlier work.
2846
+
2847
+ ### The Solution: Context Autopilot (ADR-051)
2848
+
2849
+ Ruflo intercepts the compaction lifecycle with three hooks that make context loss invisible:
2850
+
2851
+ ```
2852
+ Every Prompt Context Full After Compact
2853
+ │ │ │
2854
+ ▼ ▼ ▼
2855
+ UserPromptSubmit PreCompact SessionStart
2856
+ │ │ │
2857
+ Archive turns Archive + BLOCK Restore from archive
2858
+ to SQLite auto-compaction via additionalContext
2859
+ (incremental) (exit code 2) (importance-ranked)
2860
+ │ │ │
2861
+ ▼ ▼ ▼
2862
+ Track tokens Manual /compact Seamless continuation
2863
+ Report % used still allowed with full history
2864
+ ```
2865
+
2866
+ ### How Memory is Optimized
2867
+
2868
+ | Layer | What It Does | When |
2869
+ |-------|-------------|------|
2870
+ | **Proactive Archiving** | Every user prompt archives new turns to SQLite with SHA-256 dedup | Every prompt |
2871
+ | **Token Tracking** | Reads actual API `usage` data (input + cache tokens) for accurate % | Every prompt |
2872
+ | **Compaction Blocking** | PreCompact hook returns exit code 2 to cancel auto-compaction | When context fills |
2873
+ | **Manual Compact** | `/compact` is allowed — archives first, resets autopilot, then compresses | On user request |
2874
+ | **Importance Ranking** | Entries scored by `recency × frequency × richness` for smart retrieval | On restore |
2875
+ | **Access Tracking** | Restored entries get access_count++ creating a relevance feedback loop | On restore |
2876
+ | **Auto-Pruning** | Never-accessed entries older than 30 days are automatically removed | On PreCompact |
2877
+ | **Content Compaction** | Old session entries trimmed to summaries, reducing archive storage | Manual or scheduled |
2878
+ | **RuVector Sync** | SQLite entries auto-replicated to PostgreSQL when configured | On PreCompact |
2879
+
2880
+ ### Optimization Thresholds
2881
+
2882
+ | Zone | Threshold | Statusline | Action |
2883
+ |------|-----------|-----------|--------|
2884
+ | OK | <70% | `🛡️ 43% 86.7K ⊘` (green) | Normal operation, track growth trend |
2885
+ | Warning | 70-85% | `🛡️ 72% 144K ⊘` (yellow) | Flag approaching limit, archive aggressively |
2886
+ | Optimize | 85%+ | `🛡️ 88% 176K ⟳2` (red) | Prune stale entries, keep responses concise |
2887
+
2888
+ ### Real-Time Statusline
2889
+
2890
+ The statusline shows live context metrics read from `autopilot-state.json`:
2891
+
2892
+ ```
2893
+ 🛡️ 45% 89.2K ⊘ 🧠 86%
2894
+ │ │ │ │ │ │
2895
+ │ │ │ │ │ └─ Intelligence score (learning.json + patterns + archive)
2896
+ │ │ │ │ └──── Intelligence indicator
2897
+ │ │ │ └───────── No prune cycles (⊘) or prune count (⟳N)
2898
+ │ │ └─────────────── Token count (actual API usage)
2899
+ │ └─────────────────── Context percentage used
2900
+ └──────────────────────── Autopilot active (shield icon)
2901
+ ```
2902
+
2903
+ ### Storage Tiers
2904
+
2905
+ | Tier | Backend | Storage | Features |
2906
+ |------|---------|---------|----------|
2907
+ | 1 | **SQLite** (default) | `.claude-flow/data/transcript-archive.db` | WAL mode, indexed queries, ACID, importance ranking |
2908
+ | 2 | **RuVector PostgreSQL** | Configurable remote | TB-scale, pgvector embeddings, GNN search |
2909
+ | 3 | **AgentDB + HNSW** | In-memory + persist | 150x-12,500x faster semantic search |
2910
+ | 4 | **JSON** (fallback) | `.claude-flow/data/transcript-archive.json` | Zero dependencies, always works |
2911
+
2912
+ ### Configuration
2913
+
2914
+ ```bash
2915
+ # Context Autopilot (all have sensible defaults)
2916
+ CLAUDE_FLOW_CONTEXT_AUTOPILOT=true # Enable/disable autopilot (default: true)
2917
+ CLAUDE_FLOW_CONTEXT_WINDOW=200000 # Context window size in tokens
2918
+ CLAUDE_FLOW_AUTOPILOT_WARN=0.70 # Warning threshold (70%)
2919
+ CLAUDE_FLOW_AUTOPILOT_PRUNE=0.85 # Optimization threshold (85%)
2920
+ CLAUDE_FLOW_COMPACT_RESTORE_BUDGET=4000 # Max chars restored after compaction
2921
+ CLAUDE_FLOW_RETENTION_DAYS=30 # Auto-prune never-accessed entries
2922
+ CLAUDE_FLOW_AUTO_OPTIMIZE=true # Importance ranking + pruning + sync
2923
+ ```
2924
+
2925
+ ### Commands
2926
+
2927
+ ```bash
2928
+ # Check archive status and autopilot state
2929
+ node .claude/helpers/context-persistence-hook.mjs status
2930
+
2931
+ # Manual compact (archives first, then allows Claude Code to compress)
2932
+ # Use /compact in Claude Code — autopilot allows manual, blocks auto
2933
+
2934
+ # Query archive directly
2935
+ sqlite3 .claude-flow/data/transcript-archive.db \
2936
+ "SELECT COUNT(*), SUM(LENGTH(content)) FROM transcript_entries;"
2937
+ ```
2938
+
2939
+ ### Architecture Reference
2940
+
2941
+ - **ADR-051**: Infinite Context via Compaction-to-Memory Bridge
2942
+ - **ADR-052**: Statusline Observability System
2943
+ - **Implementation**: `.claude/helpers/context-persistence-hook.mjs` (~1560 lines)
2944
+ - **Settings**: `.claude/settings.json` (PreCompact, SessionStart, UserPromptSubmit hooks)
2580
2945
 
2581
2946
  </details>
2582
2947
 
@@ -2634,7 +2999,7 @@ When hooks run, they emit signals that guide routing decisions. Watch for these
2634
2999
 
2635
3000
  **Example Hook Output:**
2636
3001
  ```bash
2637
- $ npx claude-flow@v3alpha hooks pre-task --description "convert var to const in utils.ts"
3002
+ $ npx ruflo@v3alpha hooks pre-task --description "convert var to const in utils.ts"
2638
3003
 
2639
3004
  [AGENT_BOOSTER_AVAILABLE] Intent: var-to-const
2640
3005
  Recommendation: Use Edit tool directly
@@ -2642,6 +3007,101 @@ Performance: <1ms (352x faster than LLM)
2642
3007
  Cost: $0
2643
3008
  ```
2644
3009
 
3010
+ ### Intelligence Loop (ADR-050)
3011
+
3012
+ The intelligence loop wires PageRank-ranked memory into the hook system. Every session builds a knowledge graph that improves over time:
3013
+
3014
+ ```
3015
+ SessionStart:
3016
+ session-restore → intelligence.init()
3017
+ → Read MEMORY.md / auto-memory-store.json
3018
+ → Build graph (nodes + similarity/temporal edges)
3019
+ → Compute PageRank
3020
+ → "[INTELLIGENCE] Loaded 13 patterns, 12 edges"
3021
+
3022
+ UserPrompt:
3023
+ route → intelligence.getContext(prompt)
3024
+ → Jaccard-match prompt against pre-ranked entries
3025
+ → Inject top-5 patterns into Claude's context:
3026
+
3027
+ [INTELLIGENCE] Relevant patterns for this task:
3028
+ * (0.95) HNSW gives 150x-12,500x speedup [rank #1, 12x accessed]
3029
+ * (0.88) London School TDD preferred [rank #3, 8x accessed]
3030
+
3031
+ PostEdit:
3032
+ post-edit → intelligence.recordEdit(file)
3033
+ → Append to pending-insights.jsonl (<2ms)
3034
+
3035
+ SessionEnd:
3036
+ session-end → intelligence.consolidate()
3037
+ → Process pending insights (3+ edits → new entry)
3038
+ → Confidence boost for accessed patterns (+0.03)
3039
+ → Confidence decay for unused patterns (-0.005/day)
3040
+ → Recompute PageRank, rebuild edges
3041
+ → Save snapshot for trend tracking
3042
+ ```
3043
+
3044
+ **Measuring improvement:**
3045
+
3046
+ ```bash
3047
+ # Human-readable diagnostics
3048
+ node .claude/helpers/hook-handler.cjs stats
3049
+
3050
+ # JSON output for scripting
3051
+ node .claude/helpers/hook-handler.cjs stats --json
3052
+
3053
+ # Or via intelligence.cjs directly
3054
+ node .claude/helpers/intelligence.cjs stats
3055
+ ```
3056
+
3057
+ The stats command shows:
3058
+
3059
+ | Section | What It Tells You |
3060
+ |---------|-------------------|
3061
+ | **Graph** | Node/edge count, density % |
3062
+ | **Confidence** | Min/max/mean/median across all patterns |
3063
+ | **Access** | Total accesses, patterns used vs never accessed |
3064
+ | **PageRank** | Sum (~1.0), highest-ranked node |
3065
+ | **Top Patterns** | Top 10 by composite score with access counts |
3066
+ | **Last Delta** | Changes since previous session (confidence shift, access delta) |
3067
+ | **Trend** | Over all sessions: IMPROVING / DECLINING / STABLE |
3068
+
3069
+ **Example output:**
3070
+ ```
3071
+ +--------------------------------------------------------------+
3072
+ | Intelligence Diagnostics (ADR-050) |
3073
+ +--------------------------------------------------------------+
3074
+
3075
+ Graph
3076
+ Nodes: 9
3077
+ Edges: 8 (7 temporal, 1 similar)
3078
+ Density: 22.2%
3079
+
3080
+ Confidence
3081
+ Min: 0.490 Max: 0.600
3082
+ Mean: 0.556 Median: 0.580
3083
+
3084
+ Access
3085
+ Total accesses: 11
3086
+ Patterns used: 6/9
3087
+ Never accessed: 3
3088
+
3089
+ Top Patterns (by composite score)
3090
+ #1 HNSW gives 150x-12,500x speedup
3091
+ conf=0.600 pr=0.2099 score=0.3659 accessed=2x
3092
+ #2 London School TDD preferred
3093
+ conf=0.600 pr=0.1995 score=0.3597 accessed=2x
3094
+
3095
+ Last Delta (5m ago)
3096
+ Confidence: +0.0300
3097
+ Accesses: +6
3098
+
3099
+ Trend (3 snapshots)
3100
+ Confidence drift: +0.0422
3101
+ Direction: IMPROVING
3102
+ +--------------------------------------------------------------+
3103
+ ```
3104
+
2645
3105
  ### All 27 Hooks by Category
2646
3106
 
2647
3107
  #### 🔧 Tool Lifecycle Hooks (6 hooks)
@@ -2657,8 +3117,8 @@ Cost: $0
2657
3117
 
2658
3118
  ```bash
2659
3119
  # Example: Edit with pattern learning
2660
- npx claude-flow@v3alpha hooks pre-edit ./src/auth.ts
2661
- npx claude-flow@v3alpha hooks post-edit ./src/auth.ts --success true --train-patterns
3120
+ npx ruflo@v3alpha hooks pre-edit ./src/auth.ts
3121
+ npx ruflo@v3alpha hooks post-edit ./src/auth.ts --success true --train-patterns
2662
3122
  ```
2663
3123
 
2664
3124
  #### 🧠 Intelligence & Routing Hooks (8 hooks)
@@ -2676,10 +3136,10 @@ npx claude-flow@v3alpha hooks post-edit ./src/auth.ts --success true --train-pat
2676
3136
 
2677
3137
  ```bash
2678
3138
  # Route a task with explanation
2679
- npx claude-flow@v3alpha hooks route "refactor authentication to use JWT" --include-explanation
3139
+ npx ruflo@v3alpha hooks route "refactor authentication to use JWT" --include-explanation
2680
3140
 
2681
3141
  # Bootstrap intelligence from your codebase
2682
- npx claude-flow@v3alpha hooks pretrain --depth deep --model-type moe
3142
+ npx ruflo@v3alpha hooks pretrain --depth deep --model-type moe
2683
3143
  ```
2684
3144
 
2685
3145
  #### 📅 Session Management Hooks (4 hooks)
@@ -2693,10 +3153,10 @@ npx claude-flow@v3alpha hooks pretrain --depth deep --model-type moe
2693
3153
 
2694
3154
  ```bash
2695
3155
  # Start session with auto-daemon
2696
- npx claude-flow@v3alpha hooks session-start --session-id "feature-auth" --start-daemon
3156
+ npx ruflo@v3alpha hooks session-start --session-id "feature-auth" --start-daemon
2697
3157
 
2698
3158
  # End session and export learnings
2699
- npx claude-flow@v3alpha hooks session-end --export-metrics --persist-patterns
3159
+ npx ruflo@v3alpha hooks session-end --export-metrics --persist-patterns
2700
3160
  ```
2701
3161
 
2702
3162
  #### 🤖 Intelligence System Hooks (9 hooks)
@@ -2710,18 +3170,22 @@ npx claude-flow@v3alpha hooks session-end --export-metrics --persist-patterns
2710
3170
  | `trajectory-end` | RL | Finish recording, trigger learning |
2711
3171
  | `pattern-store` | Memory | Store a pattern with HNSW indexing |
2712
3172
  | `pattern-search` | Memory | Find similar patterns (150x faster) |
2713
- | `stats` | Analytics | Learning statistics and metrics |
3173
+ | `stats` | Analytics | Intelligence diagnostics, confidence trends, improvement tracking |
2714
3174
  | `attention` | Focus | Compute attention-weighted similarity |
2715
3175
 
2716
3176
  ```bash
2717
3177
  # Start trajectory for complex task
2718
- npx claude-flow@v3alpha hooks intelligence trajectory-start --task "implement OAuth2"
3178
+ npx ruflo@v3alpha hooks intelligence trajectory-start --task "implement OAuth2"
2719
3179
 
2720
3180
  # Record successful action
2721
- npx claude-flow@v3alpha hooks intelligence trajectory-step --action "created token service" --quality 0.9
3181
+ npx ruflo@v3alpha hooks intelligence trajectory-step --action "created token service" --quality 0.9
2722
3182
 
2723
3183
  # End trajectory and trigger learning
2724
- npx claude-flow@v3alpha hooks intelligence trajectory-end --success true
3184
+ npx ruflo@v3alpha hooks intelligence trajectory-end --success true
3185
+
3186
+ # View intelligence diagnostics and improvement trends (ADR-050)
3187
+ node .claude/helpers/hook-handler.cjs stats
3188
+ node .claude/helpers/intelligence.cjs stats --json
2725
3189
  ```
2726
3190
 
2727
3191
  ### 12 Background Workers (Auto-Triggered)
@@ -2745,13 +3209,13 @@ Workers run automatically based on context, or dispatch manually.
2745
3209
 
2746
3210
  ```bash
2747
3211
  # List all workers
2748
- npx claude-flow@v3alpha hooks worker list
3212
+ npx ruflo@v3alpha hooks worker list
2749
3213
 
2750
3214
  # Manually dispatch security audit
2751
- npx claude-flow@v3alpha hooks worker dispatch --trigger audit --context "./src/auth"
3215
+ npx ruflo@v3alpha hooks worker dispatch --trigger audit --context "./src/auth"
2752
3216
 
2753
3217
  # Check worker status
2754
- npx claude-flow@v3alpha hooks worker status
3218
+ npx ruflo@v3alpha hooks worker status
2755
3219
  ```
2756
3220
 
2757
3221
  ### Model Routing Hooks (3 hooks)
@@ -2766,10 +3230,10 @@ Automatically selects haiku/sonnet/opus based on task complexity.
2766
3230
 
2767
3231
  ```bash
2768
3232
  # Get model recommendation
2769
- npx claude-flow@v3alpha hooks model-route --task "fix typo in README"
3233
+ npx ruflo@v3alpha hooks model-route --task "fix typo in README"
2770
3234
  # → Recommends: haiku (simple task, low complexity)
2771
3235
 
2772
- npx claude-flow@v3alpha hooks model-route --task "design distributed consensus system"
3236
+ npx ruflo@v3alpha hooks model-route --task "design distributed consensus system"
2773
3237
  # → Recommends: opus (complex architecture, high reasoning)
2774
3238
  ```
2775
3239
 
@@ -2789,22 +3253,27 @@ npx claude-flow@v3alpha hooks model-route --task "design distributed consensus s
2789
3253
  # MOST COMMON HOOKS
2790
3254
  # ══════════════════════════════════════════════════════════════════
2791
3255
 
2792
- # Route task to best agent
2793
- npx claude-flow@v3alpha hooks route "<task>" --include-explanation
3256
+ # Route task to best agent (with intelligence context injection)
3257
+ npx ruflo@v3alpha hooks route "<task>" --include-explanation
2794
3258
 
2795
3259
  # Start/end session with learning
2796
- npx claude-flow@v3alpha hooks session-start --start-daemon
2797
- npx claude-flow@v3alpha hooks session-end --persist-patterns
3260
+ npx ruflo@v3alpha hooks session-start --start-daemon
3261
+ npx ruflo@v3alpha hooks session-end --persist-patterns
2798
3262
 
2799
3263
  # View what the system has learned
2800
- npx claude-flow@v3alpha hooks metrics
2801
- npx claude-flow@v3alpha hooks intelligence stats
3264
+ npx ruflo@v3alpha hooks metrics
3265
+ npx ruflo@v3alpha hooks intelligence stats
3266
+
3267
+ # Intelligence diagnostics — see if intelligence is improving
3268
+ node .claude/helpers/hook-handler.cjs stats # Human-readable
3269
+ node .claude/helpers/hook-handler.cjs stats --json # JSON for scripting
3270
+ node .claude/helpers/intelligence.cjs stats # Direct access
2802
3271
 
2803
3272
  # Bootstrap on new project
2804
- npx claude-flow@v3alpha hooks pretrain --depth deep
3273
+ npx ruflo@v3alpha hooks pretrain --depth deep
2805
3274
 
2806
3275
  # Dispatch background worker
2807
- npx claude-flow@v3alpha hooks worker dispatch --trigger audit
3276
+ npx ruflo@v3alpha hooks worker dispatch --trigger audit
2808
3277
  ```
2809
3278
 
2810
3279
  </details>
@@ -2830,38 +3299,38 @@ Share learned patterns across projects, teams, and the community via the decentr
2830
3299
 
2831
3300
  ```bash
2832
3301
  # Export learned patterns to file
2833
- npx claude-flow@v3alpha memory export --format json --output ./patterns.json
3302
+ npx ruflo@v3alpha memory export --format json --output ./patterns.json
2834
3303
 
2835
3304
  # Export specific namespace
2836
- npx claude-flow@v3alpha memory export --namespace "security" --output ./security-patterns.json
3305
+ npx ruflo@v3alpha memory export --namespace "security" --output ./security-patterns.json
2837
3306
 
2838
3307
  # Export with embeddings (larger file, faster import)
2839
- npx claude-flow@v3alpha memory export --include-embeddings --output ./full-export.json
3308
+ npx ruflo@v3alpha memory export --include-embeddings --output ./full-export.json
2840
3309
 
2841
3310
  # Export agent configurations
2842
- npx claude-flow@v3alpha config export --scope project --output ./agent-configs.json
3311
+ npx ruflo@v3alpha config export --scope project --output ./agent-configs.json
2843
3312
 
2844
3313
  # Export session state
2845
- npx claude-flow@v3alpha session export --session-id "my-session" --output ./session.json
3314
+ npx ruflo@v3alpha session export --session-id "my-session" --output ./session.json
2846
3315
  ```
2847
3316
 
2848
3317
  ### Import Commands
2849
3318
 
2850
3319
  ```bash
2851
3320
  # Import patterns from file
2852
- npx claude-flow@v3alpha memory import --input ./patterns.json
3321
+ npx ruflo@v3alpha memory import --input ./patterns.json
2853
3322
 
2854
3323
  # Import and merge with existing (don't overwrite)
2855
- npx claude-flow@v3alpha memory import --input ./patterns.json --merge
3324
+ npx ruflo@v3alpha memory import --input ./patterns.json --merge
2856
3325
 
2857
3326
  # Import from another project
2858
- npx claude-flow@v3alpha hooks transfer --source-path ../other-project
3327
+ npx ruflo@v3alpha hooks transfer --source-path ../other-project
2859
3328
 
2860
3329
  # Import agent configurations
2861
- npx claude-flow@v3alpha config import --input ./agent-configs.json --scope project
3330
+ npx ruflo@v3alpha config import --input ./agent-configs.json --scope project
2862
3331
 
2863
3332
  # Restore session
2864
- npx claude-flow@v3alpha session restore --session-id "my-session"
3333
+ npx ruflo@v3alpha session restore --session-id "my-session"
2865
3334
  ```
2866
3335
 
2867
3336
  ### Pattern Store (IPFS Marketplace)
@@ -2879,13 +3348,13 @@ Decentralized pattern marketplace for sharing and discovering community patterns
2879
3348
 
2880
3349
  ```bash
2881
3350
  # Search for authentication patterns
2882
- npx claude-flow@v3alpha transfer-store search --query "authentication" --min-rating 4.0
3351
+ npx ruflo@v3alpha transfer-store search --query "authentication" --min-rating 4.0
2883
3352
 
2884
3353
  # Download a pattern
2885
- npx claude-flow@v3alpha transfer-store download --id "auth-jwt-patterns-v2" --verify
3354
+ npx ruflo@v3alpha transfer-store download --id "auth-jwt-patterns-v2" --verify
2886
3355
 
2887
3356
  # Publish your patterns
2888
- npx claude-flow@v3alpha transfer-store publish --input ./my-patterns.json --category "security"
3357
+ npx ruflo@v3alpha transfer-store publish --input ./my-patterns.json --category "security"
2889
3358
  ```
2890
3359
 
2891
3360
  ### Plugin Store
@@ -2903,22 +3372,22 @@ Discover and install community plugins from the **live IPFS registry** with 19 o
2903
3372
 
2904
3373
  ```bash
2905
3374
  # List plugins with live ratings from Cloud Function
2906
- npx claude-flow@v3alpha plugins list
3375
+ npx ruflo@v3alpha plugins list
2907
3376
 
2908
3377
  # Filter by type
2909
- npx claude-flow@v3alpha plugins list --type integration
3378
+ npx ruflo@v3alpha plugins list --type integration
2910
3379
 
2911
3380
  # Rate a plugin
2912
- npx claude-flow@v3alpha plugins rate --name @claude-flow/embeddings --rating 5
3381
+ npx ruflo@v3alpha plugins rate --name @claude-flow/embeddings --rating 5
2913
3382
 
2914
3383
  # Search for MCP tool plugins
2915
- npx claude-flow@v3alpha transfer plugin-search --type "mcp-tool" --verified
3384
+ npx ruflo@v3alpha transfer plugin-search --type "mcp-tool" --verified
2916
3385
 
2917
3386
  # Get plugin info
2918
- npx claude-flow@v3alpha transfer plugin-info --name "semantic-code-search"
3387
+ npx ruflo@v3alpha transfer plugin-info --name "semantic-code-search"
2919
3388
 
2920
3389
  # List official plugins
2921
- npx claude-flow@v3alpha transfer plugin-official
3390
+ npx ruflo@v3alpha transfer plugin-official
2922
3391
  ```
2923
3392
 
2924
3393
  #### Live IPFS Plugin Registry
@@ -2951,10 +3420,10 @@ Patterns and models are distributed via IPFS for decentralization and integrity.
2951
3420
 
2952
3421
  ```bash
2953
3422
  # Resolve IPNS name to CID
2954
- npx claude-flow@v3alpha transfer ipfs-resolve --name "/ipns/patterns.claude-flow.io"
3423
+ npx ruflo@v3alpha transfer ipfs-resolve --name "/ipns/patterns.ruflo.io"
2955
3424
 
2956
3425
  # Detect PII before publishing
2957
- npx claude-flow@v3alpha transfer detect-pii --content "$(cat ./patterns.json)"
3426
+ npx ruflo@v3alpha transfer detect-pii --content "$(cat ./patterns.json)"
2958
3427
  ```
2959
3428
 
2960
3429
  ### Model & Learning Pattern Import/Export
@@ -2977,7 +3446,7 @@ curl -X POST "https://api.pinata.cloud/pinning/pinJSONToIPFS" \
2977
3446
  "name": "my-patterns",
2978
3447
  "patterns": [...]
2979
3448
  },
2980
- "pinataMetadata": {"name": "claude-flow-learning-pattern"}
3449
+ "pinataMetadata": {"name": "ruflo-learning-pattern"}
2981
3450
  }'
2982
3451
 
2983
3452
  # Import a pattern from IPFS CID
@@ -3019,13 +3488,13 @@ Import pre-trained learning patterns for common tasks. **90.5% average accuracy*
3019
3488
  curl -s "https://gateway.pinata.cloud/ipfs/QmNr1yYMKi7YBaL8JSztQyuB5ZUaTdRMLxJC1pBpGbjsTc" | jq '.models[].name'
3020
3489
 
3021
3490
  # Import all models
3022
- npx claude-flow@v3alpha transfer import --cid QmNr1yYMKi7YBaL8JSztQyuB5ZUaTdRMLxJC1pBpGbjsTc
3491
+ npx ruflo@v3alpha transfer import --cid QmNr1yYMKi7YBaL8JSztQyuB5ZUaTdRMLxJC1pBpGbjsTc
3023
3492
 
3024
3493
  # Import specific category
3025
- npx claude-flow@v3alpha neural import --model security-review-patterns --source ipfs
3494
+ npx ruflo@v3alpha neural import --model security-review-patterns --source ipfs
3026
3495
 
3027
3496
  # Use patterns in routing
3028
- npx claude-flow@v3alpha hooks route --task "review authentication code" --use-patterns
3497
+ npx ruflo@v3alpha hooks route --task "review authentication code" --use-patterns
3029
3498
  ```
3030
3499
 
3031
3500
  #### Benefits vs Fresh Install
@@ -3050,7 +3519,7 @@ npx claude-flow@v3alpha hooks route --task "review authentication code" --use-pa
3050
3519
 
3051
3520
  ```bash
3052
3521
  # Install a pattern pack
3053
- npx claude-flow@v3alpha transfer-store download --id "security-essentials" --apply
3522
+ npx ruflo@v3alpha transfer-store download --id "security-essentials" --apply
3054
3523
  ```
3055
3524
 
3056
3525
  ### RuVector WASM Neural Training
@@ -3068,25 +3537,25 @@ Real WASM-accelerated neural training using `@ruvector/learning-wasm` and `@ruve
3068
3537
 
3069
3538
  ```bash
3070
3539
  # List available pre-trained models from IPFS registry
3071
- npx claude-flow@v3alpha neural list
3540
+ npx ruflo@v3alpha neural list
3072
3541
 
3073
3542
  # List models by category
3074
- npx claude-flow@v3alpha neural list --category security
3543
+ npx ruflo@v3alpha neural list --category security
3075
3544
 
3076
3545
  # Train with WASM acceleration
3077
- npx claude-flow@v3alpha neural train -p coordination -e 100 --wasm --flash --contrastive
3546
+ npx ruflo@v3alpha neural train -p coordination -e 100 --wasm --flash --contrastive
3078
3547
 
3079
3548
  # Train security patterns
3080
- npx claude-flow@v3alpha neural train -p security --wasm --contrastive
3549
+ npx ruflo@v3alpha neural train -p security --wasm --contrastive
3081
3550
 
3082
3551
  # Benchmark WASM performance
3083
- npx claude-flow@v3alpha neural benchmark -d 256 -i 1000
3552
+ npx ruflo@v3alpha neural benchmark -d 256 -i 1000
3084
3553
 
3085
3554
  # Import pre-trained models
3086
- npx claude-flow@v3alpha neural import --cid QmNr1yYMKi7YBaL8JSztQyuB5ZUaTdRMLxJC1pBpGbjsTc
3555
+ npx ruflo@v3alpha neural import --cid QmNr1yYMKi7YBaL8JSztQyuB5ZUaTdRMLxJC1pBpGbjsTc
3087
3556
 
3088
3557
  # Export trained patterns to IPFS
3089
- npx claude-flow@v3alpha neural export --ipfs --sign
3558
+ npx ruflo@v3alpha neural export --ipfs --sign
3090
3559
  ```
3091
3560
 
3092
3561
  #### Benchmark Results
@@ -3425,9 +3894,9 @@ Skills are **reusable workflows** that combine agents, hooks, and patterns into
3425
3894
  /v3-security-overhaul
3426
3895
 
3427
3896
  # Via CLI
3428
- npx claude-flow@v3alpha skill run github-code-review
3429
- npx claude-flow@v3alpha skill list
3430
- npx claude-flow@v3alpha skill info sparc-methodology
3897
+ npx ruflo@v3alpha skill run github-code-review
3898
+ npx ruflo@v3alpha skill list
3899
+ npx ruflo@v3alpha skill info sparc-methodology
3431
3900
  ```
3432
3901
 
3433
3902
  ### Creating Custom Skills
@@ -3484,21 +3953,21 @@ The Claims system manages **who is working on what** — whether human or agent.
3484
3953
 
3485
3954
  | Command | What It Does | Example |
3486
3955
  |---------|--------------|---------|
3487
- | `issues list` | See all issues and their status | `npx claude-flow@v3alpha issues list` |
3488
- | `issues claim` | Claim an issue for yourself/agent | `npx claude-flow@v3alpha issues claim #123 --as coder-1` |
3489
- | `issues release` | Release your claim | `npx claude-flow@v3alpha issues release #123` |
3490
- | `issues handoff` | Hand off to another worker | `npx claude-flow@v3alpha issues handoff #123 --to reviewer` |
3491
- | `issues status` | Update progress on claimed work | `npx claude-flow@v3alpha issues status #123 --progress 75` |
3492
- | `issues stealable` | List abandoned/stuck issues | `npx claude-flow@v3alpha issues stealable` |
3493
- | `issues steal` | Take over stealable issue | `npx claude-flow@v3alpha issues steal #123` |
3494
- | `issues load` | View agent workloads | `npx claude-flow@v3alpha issues load` |
3495
- | `issues rebalance` | Redistribute work evenly | `npx claude-flow@v3alpha issues rebalance --dry-run` |
3496
- | `issues board` | Visual board view | `npx claude-flow@v3alpha issues board` |
3956
+ | `issues list` | See all issues and their status | `npx ruflo@v3alpha issues list` |
3957
+ | `issues claim` | Claim an issue for yourself/agent | `npx ruflo@v3alpha issues claim #123 --as coder-1` |
3958
+ | `issues release` | Release your claim | `npx ruflo@v3alpha issues release #123` |
3959
+ | `issues handoff` | Hand off to another worker | `npx ruflo@v3alpha issues handoff #123 --to reviewer` |
3960
+ | `issues status` | Update progress on claimed work | `npx ruflo@v3alpha issues status #123 --progress 75` |
3961
+ | `issues stealable` | List abandoned/stuck issues | `npx ruflo@v3alpha issues stealable` |
3962
+ | `issues steal` | Take over stealable issue | `npx ruflo@v3alpha issues steal #123` |
3963
+ | `issues load` | View agent workloads | `npx ruflo@v3alpha issues load` |
3964
+ | `issues rebalance` | Redistribute work evenly | `npx ruflo@v3alpha issues rebalance --dry-run` |
3965
+ | `issues board` | Visual board view | `npx ruflo@v3alpha issues board` |
3497
3966
 
3498
3967
  ### Visual Board View
3499
3968
 
3500
3969
  ```bash
3501
- npx claude-flow@v3alpha issues board
3970
+ npx ruflo@v3alpha issues board
3502
3971
  ```
3503
3972
 
3504
3973
  ```
@@ -3520,13 +3989,13 @@ When you need to pass work to someone else:
3520
3989
 
3521
3990
  ```bash
3522
3991
  # 1. Request handoff with context
3523
- npx claude-flow@v3alpha issues handoff #123 \
3992
+ npx ruflo@v3alpha issues handoff #123 \
3524
3993
  --to security-architect \
3525
3994
  --reason "Needs security review" \
3526
3995
  --progress 80
3527
3996
 
3528
3997
  # 2. Target accepts handoff
3529
- npx claude-flow@v3alpha issues accept #123 --as security-architect
3998
+ npx ruflo@v3alpha issues accept #123 --as security-architect
3530
3999
 
3531
4000
  # 3. Work continues with full context
3532
4001
  ```
@@ -3535,7 +4004,7 @@ npx claude-flow@v3alpha issues accept #123 --as security-architect
3535
4004
 
3536
4005
  ```bash
3537
4006
  # View current load
3538
- npx claude-flow@v3alpha issues load
4007
+ npx ruflo@v3alpha issues load
3539
4008
 
3540
4009
  # Output:
3541
4010
  # Agent | Claims | Load | Status
@@ -3546,7 +4015,7 @@ npx claude-flow@v3alpha issues load
3546
4015
  # security-arch | 0 | 0% | 🟢 Available
3547
4016
 
3548
4017
  # Auto-rebalance
3549
- npx claude-flow@v3alpha issues rebalance
4018
+ npx ruflo@v3alpha issues rebalance
3550
4019
  ```
3551
4020
 
3552
4021
  ### MCP Tools
@@ -3607,14 +4076,14 @@ The Route system uses **Q-Learning** to automatically assign tasks to the best a
3607
4076
 
3608
4077
  | Command | What It Does | Example |
3609
4078
  |---------|--------------|---------|
3610
- | `route task` | Get agent recommendation | `npx claude-flow@v3alpha route task "implement OAuth2"` |
3611
- | `route explain` | Understand routing decision | `npx claude-flow@v3alpha route explain "task"` |
3612
- | `route coverage` | Route based on test coverage | `npx claude-flow@v3alpha route coverage` |
4079
+ | `route task` | Get agent recommendation | `npx ruflo@v3alpha route task "implement OAuth2"` |
4080
+ | `route explain` | Understand routing decision | `npx ruflo@v3alpha route explain "task"` |
4081
+ | `route coverage` | Route based on test coverage | `npx ruflo@v3alpha route coverage` |
3613
4082
 
3614
4083
  ### Example: Route a Task
3615
4084
 
3616
4085
  ```bash
3617
- npx claude-flow@v3alpha route task "refactor authentication to use JWT"
4086
+ npx ruflo@v3alpha route task "refactor authentication to use JWT"
3618
4087
 
3619
4088
  # Output:
3620
4089
  # ╔══════════════════════════════════════════════════════════════╗
@@ -3641,7 +4110,7 @@ npx claude-flow@v3alpha route task "refactor authentication to use JWT"
3641
4110
  Routes tasks to agents based on **test coverage gaps**:
3642
4111
 
3643
4112
  ```bash
3644
- npx claude-flow@v3alpha route coverage
4113
+ npx ruflo@v3alpha route coverage
3645
4114
 
3646
4115
  # Finds untested code and routes to tester agent:
3647
4116
  # • src/auth/jwt.ts - 23% coverage → tester
@@ -3653,10 +4122,10 @@ npx claude-flow@v3alpha route coverage
3653
4122
 
3654
4123
  ```bash
3655
4124
  # Route via hooks (preferred)
3656
- npx claude-flow@v3alpha hooks route "implement caching layer" --include-explanation
4125
+ npx ruflo@v3alpha hooks route "implement caching layer" --include-explanation
3657
4126
 
3658
4127
  # Record outcome for learning
3659
- npx claude-flow@v3alpha hooks post-task --task-id "task-123" --success true --agent coder
4128
+ npx ruflo@v3alpha hooks post-task --task-id "task-123" --success true --agent coder
3660
4129
  ```
3661
4130
 
3662
4131
  ### How Q-Learning Improves Over Time
@@ -3676,12 +4145,12 @@ The system **remembers** what works and applies it to future similar tasks.
3676
4145
 
3677
4146
  ## 💻 Programmatic Usage
3678
4147
 
3679
- Use Claude-Flow packages directly in your applications.
4148
+ Use Ruflo packages directly in your applications.
3680
4149
 
3681
4150
  <details>
3682
- <summary>💻 <strong>Programmatic SDK</strong> — Use Claude-Flow in Your Code</summary>
4151
+ <summary>💻 <strong>Programmatic SDK</strong> — Use Ruflo in Your Code</summary>
3683
4152
 
3684
- Use Claude-Flow packages directly in your TypeScript/JavaScript applications.
4153
+ Use Ruflo packages directly in your TypeScript/JavaScript applications.
3685
4154
 
3686
4155
  ### Installation
3687
4156
 
@@ -3690,7 +4159,7 @@ Use Claude-Flow packages directly in your TypeScript/JavaScript applications.
3690
4159
  npm install @claude-flow/cli @claude-flow/memory @claude-flow/swarm
3691
4160
 
3692
4161
  # Or install everything
3693
- npm install claude-flow@v3alpha
4162
+ npm install ruflo@v3alpha
3694
4163
  ```
3695
4164
 
3696
4165
  ### Quick Examples
@@ -3727,21 +4196,21 @@ console.log(results);
3727
4196
  **CLI Commands:**
3728
4197
  ```bash
3729
4198
  # Initialize memory database
3730
- npx claude-flow@alpha memory init --force
4199
+ npx ruflo@alpha memory init --force
3731
4200
 
3732
4201
  # Store patterns
3733
- npx claude-flow@alpha memory store --key "pattern-auth" --value "JWT authentication with refresh tokens"
3734
- npx claude-flow@alpha memory store --key "pattern-cache" --value "Redis caching for API responses"
4202
+ npx ruflo@alpha memory store --key "pattern-auth" --value "JWT authentication with refresh tokens"
4203
+ npx ruflo@alpha memory store --key "pattern-cache" --value "Redis caching for API responses"
3735
4204
 
3736
4205
  # Build HNSW index for 150x-12,500x faster search
3737
- npx claude-flow@alpha memory search --query "authentication" --build-hnsw
4206
+ npx ruflo@alpha memory search --query "authentication" --build-hnsw
3738
4207
 
3739
4208
  # Semantic search (uses HNSW if built)
3740
- npx claude-flow@alpha memory search --query "how to cache data" --limit 5
4209
+ npx ruflo@alpha memory search --query "how to cache data" --limit 5
3741
4210
 
3742
4211
  # List and manage entries
3743
- npx claude-flow@alpha memory list --namespace patterns
3744
- npx claude-flow@alpha memory stats
4212
+ npx ruflo@alpha memory list --namespace patterns
4213
+ npx ruflo@alpha memory stats
3745
4214
  ```
3746
4215
 
3747
4216
  </details>
@@ -3975,35 +4444,35 @@ console.log(`Hit rate: ${(stats.hitRate * 100).toFixed(1)}%`);
3975
4444
 
3976
4445
  ```bash
3977
4446
  # Generate embedding
3978
- claude-flow embeddings embed "Your text here"
4447
+ ruflo embeddings embed "Your text here"
3979
4448
 
3980
4449
  # Batch embed from file
3981
- claude-flow embeddings batch documents.txt -o embeddings.json
4450
+ ruflo embeddings batch documents.txt -o embeddings.json
3982
4451
 
3983
4452
  # Similarity search
3984
- claude-flow embeddings search "query" --index ./vectors
4453
+ ruflo embeddings search "query" --index ./vectors
3985
4454
 
3986
4455
  # Document chunking
3987
- claude-flow embeddings chunk document.txt --strategy sentence --max-size 512
4456
+ ruflo embeddings chunk document.txt --strategy sentence --max-size 512
3988
4457
 
3989
4458
  # Normalize embeddings
3990
- claude-flow embeddings normalize embeddings.json --type l2 -o normalized.json
4459
+ ruflo embeddings normalize embeddings.json --type l2 -o normalized.json
3991
4460
 
3992
4461
  # Convert to hyperbolic
3993
- claude-flow embeddings hyperbolic embeddings.json -o poincare.json
4462
+ ruflo embeddings hyperbolic embeddings.json -o poincare.json
3994
4463
 
3995
4464
  # Neural operations
3996
- claude-flow embeddings neural drift --baseline "context" --input "check"
3997
- claude-flow embeddings neural store --id mem-1 --content "data"
3998
- claude-flow embeddings neural recall "query" --top-k 5
4465
+ ruflo embeddings neural drift --baseline "context" --input "check"
4466
+ ruflo embeddings neural store --id mem-1 --content "data"
4467
+ ruflo embeddings neural recall "query" --top-k 5
3999
4468
 
4000
4469
  # Model management
4001
- claude-flow embeddings models list
4002
- claude-flow embeddings models download all-MiniLM-L6-v2
4470
+ ruflo embeddings models list
4471
+ ruflo embeddings models download all-MiniLM-L6-v2
4003
4472
 
4004
4473
  # Cache management
4005
- claude-flow embeddings cache stats
4006
- claude-flow embeddings cache clear --older-than 7d
4474
+ ruflo embeddings cache stats
4475
+ ruflo embeddings cache clear --older-than 7d
4007
4476
  ```
4008
4477
 
4009
4478
  ### Available Models
@@ -4054,7 +4523,7 @@ await hooks.endTrajectory(trajectory, { success: true });
4054
4523
 
4055
4524
  | Package | Purpose | Main Exports |
4056
4525
  |---------|---------|--------------|
4057
- | `@claude-flow/memory` | Vector storage, HNSW | `AgentDB`, `MemoryStore` |
4526
+ | `@claude-flow/memory` | Vector storage, HNSW, self-learning graph | `AgentDB`, `AutoMemoryBridge`, `LearningBridge`, `MemoryGraph` |
4058
4527
  | `@claude-flow/swarm` | Agent coordination | `createSwarm`, `Swarm` |
4059
4528
  | `@claude-flow/aidefence` | Threat detection | `isSafe`, `checkThreats`, `createAIDefence` |
4060
4529
  | `@claude-flow/embeddings` | Vector embeddings | `createEmbeddingService` |
@@ -4070,7 +4539,7 @@ await hooks.endTrajectory(trajectory, { success: true });
4070
4539
 
4071
4540
  ## 🔗 Ecosystem & Integrations
4072
4541
 
4073
- Core infrastructure packages powering Claude-Flow's intelligence layer.
4542
+ Core infrastructure packages powering Ruflo's intelligence layer.
4074
4543
 
4075
4544
  <details>
4076
4545
  <summary>⚡ <strong>Agentic-Flow Integration</strong> — Core AI Infrastructure</summary>
@@ -4079,7 +4548,7 @@ Core infrastructure packages powering Claude-Flow's intelligence layer.
4079
4548
  [![npm downloads](https://img.shields.io/npm/dm/agentic-flow?color=green)](https://www.npmjs.com/package/agentic-flow)
4080
4549
  [![GitHub](https://img.shields.io/badge/GitHub-ruvnet%2Fagentic--flow-blue?logo=github)](https://github.com/ruvnet/agentic-flow)
4081
4550
 
4082
- Claude-Flow v3 is built on top of **[agentic-flow](https://github.com/ruvnet/agentic-flow)**, a production-ready AI agent orchestration platform. This deep integration provides 352x faster code transformations, learning memory, and geometric intelligence.
4551
+ Ruflo v3 is built on top of **[agentic-flow](https://github.com/ruvnet/agentic-flow)**, a production-ready AI agent orchestration platform. This deep integration provides 352x faster code transformations, learning memory, and geometric intelligence.
4083
4552
 
4084
4553
  ### Quick Start
4085
4554
 
@@ -4360,9 +4829,9 @@ claude mcp add agentic-flow -- npx agentic-flow mcp start
4360
4829
 
4361
4830
  </details>
4362
4831
 
4363
- ### Integration with Claude-Flow
4832
+ ### Integration with Ruflo
4364
4833
 
4365
- Claude-Flow automatically leverages agentic-flow for:
4834
+ Ruflo automatically leverages agentic-flow for:
4366
4835
 
4367
4836
  | Feature | How It's Used |
4368
4837
  |---------|---------------|
@@ -4373,7 +4842,7 @@ Claude-Flow automatically leverages agentic-flow for:
4373
4842
  | **Embedding Search** | HNSW-indexed vector search (150x faster) |
4374
4843
 
4375
4844
  ```typescript
4376
- // Claude-Flow automatically uses agentic-flow optimizations
4845
+ // Ruflo automatically uses agentic-flow optimizations
4377
4846
  import { getTokenOptimizer } from '@claude-flow/integration';
4378
4847
 
4379
4848
  const optimizer = await getTokenOptimizer();
@@ -4549,9 +5018,9 @@ jj.enableEncryption(key);
4549
5018
 
4550
5019
  </details>
4551
5020
 
4552
- ### Claude-Flow Skill
5021
+ ### Ruflo Skill
4553
5022
 
4554
- Claude-Flow includes a dedicated `/agentic-jujutsu` skill for AI-powered version control:
5023
+ Ruflo includes a dedicated `/agentic-jujutsu` skill for AI-powered version control:
4555
5024
 
4556
5025
  ```bash
4557
5026
  # Invoke the skill
@@ -4634,7 +5103,7 @@ npx agentic-jujutsu examples # Show usage examples
4634
5103
  [![GitHub](https://img.shields.io/badge/GitHub-ruvnet%2Fruvector-blue?logo=github)](https://github.com/ruvnet/ruvector)
4635
5104
  [![Docker](https://img.shields.io/badge/Docker-ruvector--postgres-blue?logo=docker)](https://hub.docker.com/r/ruvnet/ruvector-postgres)
4636
5105
 
4637
- **RuVector** is a high-performance distributed vector database combining vector search, graph queries, and self-learning neural networks. Written in Rust with Node.js/WASM bindings, it powers Claude-Flow's intelligence layer with native speed.
5106
+ **RuVector** is a high-performance distributed vector database combining vector search, graph queries, and self-learning neural networks. Written in Rust with Node.js/WASM bindings, it powers Ruflo's intelligence layer with native speed.
4638
5107
 
4639
5108
  ### Key Capabilities
4640
5109
 
@@ -4716,7 +5185,7 @@ const compressed = ruvector.compress(embedding, 0.3); // 30% quality threshold
4716
5185
 
4717
5186
  ```bash
4718
5187
  # Quick setup with CLI (recommended)
4719
- npx claude-flow ruvector setup --output ./my-ruvector
5188
+ npx ruflo ruvector setup --output ./my-ruvector
4720
5189
  cd my-ruvector && docker-compose up -d
4721
5190
 
4722
5191
  # Or pull directly from Docker Hub
@@ -4724,12 +5193,12 @@ docker run -d \
4724
5193
  --name ruvector-postgres \
4725
5194
  -p 5432:5432 \
4726
5195
  -e POSTGRES_USER=claude \
4727
- -e POSTGRES_PASSWORD=claude-flow-test \
5196
+ -e POSTGRES_PASSWORD=ruflo-test \
4728
5197
  -e POSTGRES_DB=claude_flow \
4729
5198
  ruvnet/ruvector-postgres
4730
5199
 
4731
5200
  # Migrate existing memory to PostgreSQL
4732
- npx claude-flow ruvector import --input memory-export.json
5201
+ npx ruflo ruvector import --input memory-export.json
4733
5202
  ```
4734
5203
 
4735
5204
  **RuVector PostgreSQL vs pgvector:**
@@ -4886,12 +5355,12 @@ await db.createHyperedge(['agent-1', 'agent-2', 'agent-3'], {
4886
5355
 
4887
5356
  </details>
4888
5357
 
4889
- ### Integration with Claude-Flow
5358
+ ### Integration with Ruflo
4890
5359
 
4891
- Claude-Flow automatically uses RuVector when available:
5360
+ Ruflo automatically uses RuVector when available:
4892
5361
 
4893
5362
  ```typescript
4894
- // Claude-Flow detects and uses native ruvector
5363
+ // Ruflo detects and uses native ruvector
4895
5364
  import { getVectorStore } from '@claude-flow/memory';
4896
5365
 
4897
5366
  const store = await getVectorStore();
@@ -4909,19 +5378,19 @@ const similarity = attention.attention(queries, keys, values);
4909
5378
 
4910
5379
  ```bash
4911
5380
  # RuVector PostgreSQL Setup (generates Docker files + SQL)
4912
- npx claude-flow ruvector setup # Output to ./ruvector-postgres
4913
- npx claude-flow ruvector setup --output ./mydir # Custom directory
4914
- npx claude-flow ruvector setup --print # Preview files
5381
+ npx ruflo ruvector setup # Output to ./ruvector-postgres
5382
+ npx ruflo ruvector setup --output ./mydir # Custom directory
5383
+ npx ruflo ruvector setup --print # Preview files
4915
5384
 
4916
5385
  # Import from sql.js/JSON to PostgreSQL
4917
- npx claude-flow ruvector import --input data.json # Direct import
4918
- npx claude-flow ruvector import --input data.json --output sql # Dry-run (generate SQL)
5386
+ npx ruflo ruvector import --input data.json # Direct import
5387
+ npx ruflo ruvector import --input data.json --output sql # Dry-run (generate SQL)
4919
5388
 
4920
5389
  # Other RuVector commands
4921
- npx claude-flow ruvector status --verbose # Check connection
4922
- npx claude-flow ruvector benchmark --vectors 10000 # Performance test
4923
- npx claude-flow ruvector optimize --analyze # Optimization suggestions
4924
- npx claude-flow ruvector backup --output backup.sql # Backup data
5390
+ npx ruflo ruvector status --verbose # Check connection
5391
+ npx ruflo ruvector benchmark --vectors 10000 # Performance test
5392
+ npx ruflo ruvector optimize --analyze # Optimization suggestions
5393
+ npx ruflo ruvector backup --output backup.sql # Backup data
4925
5394
 
4926
5395
  # Native ruvector CLI
4927
5396
  npx ruvector status # Check installation
@@ -4948,11 +5417,11 @@ Cloud platform integration and deployment tools.
4948
5417
  <details>
4949
5418
  <summary>☁️ <strong>Flow Nexus</strong> — Cloud Platform Integration</summary>
4950
5419
 
4951
- Flow Nexus is a **cloud platform** for deploying and scaling Claude-Flow beyond your local machine.
5420
+ Flow Nexus is a **cloud platform** for deploying and scaling Ruflo beyond your local machine.
4952
5421
 
4953
5422
  ### What Flow Nexus Provides
4954
5423
 
4955
- | Feature | Local Claude-Flow | + Flow Nexus |
5424
+ | Feature | Local Ruflo | + Flow Nexus |
4956
5425
  |---------|-------------------|--------------|
4957
5426
  | **Swarm Scale** | 15 agents (local resources) | 100+ agents (cloud resources) |
4958
5427
  | **Neural Training** | Limited by local GPU/CPU | Distributed GPU clusters |
@@ -5001,7 +5470,7 @@ Flow Nexus is a **cloud platform** for deploying and scaling Claude-Flow beyond
5001
5470
  /flow-nexus-swarm
5002
5471
 
5003
5472
  # Or via CLI
5004
- npx claude-flow@v3alpha nexus swarm deploy \
5473
+ npx ruflo@v3alpha nexus swarm deploy \
5005
5474
  --topology hierarchical \
5006
5475
  --max-agents 50 \
5007
5476
  --region us-east-1
@@ -5013,13 +5482,13 @@ Isolated execution environments for running untrusted code:
5013
5482
 
5014
5483
  ```bash
5015
5484
  # Create sandbox
5016
- npx claude-flow@v3alpha nexus sandbox create --language python
5485
+ npx ruflo@v3alpha nexus sandbox create --language python
5017
5486
 
5018
5487
  # Execute code safely
5019
- npx claude-flow@v3alpha nexus sandbox exec --code "print('Hello')"
5488
+ npx ruflo@v3alpha nexus sandbox exec --code "print('Hello')"
5020
5489
 
5021
5490
  # Cleanup
5022
- npx claude-flow@v3alpha nexus sandbox destroy
5491
+ npx ruflo@v3alpha nexus sandbox destroy
5023
5492
  ```
5024
5493
 
5025
5494
  ### Event-Driven Workflows
@@ -5045,10 +5514,10 @@ steps:
5045
5514
  # 1. Sign up at flow-nexus.io
5046
5515
  # 2. Get API key
5047
5516
  # 3. Configure
5048
- npx claude-flow@v3alpha nexus configure --api-key <key>
5517
+ npx ruflo@v3alpha nexus configure --api-key <key>
5049
5518
 
5050
5519
  # 4. Deploy
5051
- npx claude-flow@v3alpha nexus swarm deploy
5520
+ npx ruflo@v3alpha nexus swarm deploy
5052
5521
  ```
5053
5522
 
5054
5523
  </details>
@@ -5082,7 +5551,7 @@ Stream-Chain enables **sequential processing** where the output of one agent bec
5082
5551
  /stream-chain
5083
5552
 
5084
5553
  # Define pipeline
5085
- npx claude-flow@v3alpha stream-chain create \
5554
+ npx ruflo@v3alpha stream-chain create \
5086
5555
  --name "feature-pipeline" \
5087
5556
  --stages "researcher,architect,coder,tester,reviewer"
5088
5557
  ```
@@ -5124,11 +5593,11 @@ stages:
5124
5593
 
5125
5594
  ```bash
5126
5595
  # Run the pipeline
5127
- npx claude-flow@v3alpha stream-chain run feature-pipeline \
5596
+ npx ruflo@v3alpha stream-chain run feature-pipeline \
5128
5597
  --input '{"requirements": "Add user dashboard with analytics"}'
5129
5598
 
5130
5599
  # Monitor progress
5131
- npx claude-flow@v3alpha stream-chain status feature-pipeline
5600
+ npx ruflo@v3alpha stream-chain status feature-pipeline
5132
5601
  ```
5133
5602
 
5134
5603
  ### Use Cases
@@ -5168,7 +5637,7 @@ The Pair Programming skill provides **human-AI collaborative coding** with role
5168
5637
  /pair-programming --mode tdd
5169
5638
 
5170
5639
  # Via CLI
5171
- npx claude-flow@v3alpha pair start --mode navigator
5640
+ npx ruflo@v3alpha pair start --mode navigator
5172
5641
  ```
5173
5642
 
5174
5643
  ### TDD Mode Workflow
@@ -5208,16 +5677,16 @@ npx claude-flow@v3alpha pair start --mode navigator
5208
5677
 
5209
5678
  ```bash
5210
5679
  # Switch roles mid-session
5211
- npx claude-flow@v3alpha pair switch
5680
+ npx ruflo@v3alpha pair switch
5212
5681
 
5213
5682
  # Get AI explanation
5214
- npx claude-flow@v3alpha pair explain
5683
+ npx ruflo@v3alpha pair explain
5215
5684
 
5216
5685
  # Run tests
5217
- npx claude-flow@v3alpha pair test
5686
+ npx ruflo@v3alpha pair test
5218
5687
 
5219
5688
  # End session with summary
5220
- npx claude-flow@v3alpha pair end
5689
+ npx ruflo@v3alpha pair end
5221
5690
  ```
5222
5691
 
5223
5692
  </details>
@@ -5274,22 +5743,22 @@ Detection Time: 0.04ms | 50+ Patterns | Self-Learning | HNSW Vector Search
5274
5743
 
5275
5744
  ```bash
5276
5745
  # Basic threat scan
5277
- npx claude-flow@v3alpha security defend -i "ignore previous instructions"
5746
+ npx ruflo@v3alpha security defend -i "ignore previous instructions"
5278
5747
 
5279
5748
  # Scan a file
5280
- npx claude-flow@v3alpha security defend -f ./user-prompts.txt
5749
+ npx ruflo@v3alpha security defend -f ./user-prompts.txt
5281
5750
 
5282
5751
  # Quick scan (faster)
5283
- npx claude-flow@v3alpha security defend -i "some text" --quick
5752
+ npx ruflo@v3alpha security defend -i "some text" --quick
5284
5753
 
5285
5754
  # JSON output
5286
- npx claude-flow@v3alpha security defend -i "test" -o json
5755
+ npx ruflo@v3alpha security defend -i "test" -o json
5287
5756
 
5288
5757
  # View statistics
5289
- npx claude-flow@v3alpha security defend --stats
5758
+ npx ruflo@v3alpha security defend --stats
5290
5759
 
5291
5760
  # Full security audit
5292
- npx claude-flow@v3alpha security scan --depth full
5761
+ npx ruflo@v3alpha security scan --depth full
5293
5762
  ```
5294
5763
 
5295
5764
  ### MCP Tools
@@ -5421,7 +5890,7 @@ Domain-Driven Design with bounded contexts, clean architecture, and measured per
5421
5890
  | Module | Purpose | Key Features |
5422
5891
  |--------|---------|--------------|
5423
5892
  | `@claude-flow/hooks` | Event-driven lifecycle | ReasoningBank, 27 hooks, pattern learning |
5424
- | `@claude-flow/memory` | Unified vector storage | AgentDB, HNSW indexing, 150x faster search |
5893
+ | `@claude-flow/memory` | Unified vector storage | AgentDB, HNSW indexing, 150x faster search, LearningBridge, MemoryGraph, AgentMemoryScope |
5425
5894
  | `@claude-flow/security` | CVE remediation | Input validation, path security, AIDefence |
5426
5895
  | `@claude-flow/swarm` | Multi-agent coordination | 6 topologies, Byzantine consensus, auto-scaling |
5427
5896
  | `@claude-flow/plugins` | WASM extensions | RuVector plugins, semantic search, intent routing |
@@ -5453,6 +5922,12 @@ Domain-Driven Design with bounded contexts, clean architecture, and measured per
5453
5922
  | **Swarm** | Agent spawn | <200ms | ✅ 150ms |
5454
5923
  | **Swarm** | Consensus latency | <100ms | ✅ 75ms |
5455
5924
  | **Neural** | SONA adaptation | <0.05ms | ✅ 0.03ms |
5925
+ | **Graph** | Build (1k nodes) | <200ms | ✅ 2.78ms (71.9x headroom) |
5926
+ | **Graph** | PageRank (1k nodes) | <100ms | ✅ 12.21ms (8.2x headroom) |
5927
+ | **Learning** | Insight recording | <5ms | ✅ 0.12ms (41x headroom) |
5928
+ | **Learning** | Consolidation | <500ms | ✅ 0.26ms (1,955x headroom) |
5929
+ | **Learning** | Confidence decay (1k) | <50ms | ✅ 0.23ms (215x headroom) |
5930
+ | **Transfer** | Knowledge transfer | <100ms | ✅ 1.25ms (80x headroom) |
5456
5931
  | **Task** | Success rate | 95%+ | ✅ 100% (7/7) |
5457
5932
 
5458
5933
  ### Topology Performance
@@ -5475,7 +5950,7 @@ Domain-Driven Design with bounded contexts, clean architecture, and measured per
5475
5950
 
5476
5951
  [![npm version](https://img.shields.io/npm/v/@claude-flow/browser?color=blue&label=npm)](https://www.npmjs.com/package/@claude-flow/browser)
5477
5952
 
5478
- AI-optimized browser automation integrating [agent-browser](https://github.com/AugmentCode/agent-browser) with claude-flow for intelligent web automation, trajectory learning, and multi-agent browser coordination.
5953
+ AI-optimized browser automation integrating [agent-browser](https://github.com/AugmentCode/agent-browser) with ruflo for intelligent web automation, trajectory learning, and multi-agent browser coordination.
5479
5954
 
5480
5955
  ### Installation
5481
5956
 
@@ -5560,7 +6035,7 @@ const template = getWorkflow('login-basic');
5560
6035
  <details>
5561
6036
  <summary>📦 <strong>Release Management</strong> — @claude-flow/deployment</summary>
5562
6037
 
5563
- Automated release management, versioning, and CI/CD for Claude Flow packages.
6038
+ Automated release management, versioning, and CI/CD for Ruflo packages.
5564
6039
 
5565
6040
  ### Features
5566
6041
 
@@ -5874,10 +6349,10 @@ npm run bench:attention
5874
6349
  npm run bench:startup
5875
6350
 
5876
6351
  # Performance report
5877
- npx claude-flow@v3alpha performance report
6352
+ npx ruflo@v3alpha performance report
5878
6353
 
5879
6354
  # Benchmark specific suite
5880
- npx claude-flow@v3alpha performance benchmark --suite memory
6355
+ npx ruflo@v3alpha performance benchmark --suite memory
5881
6356
  ```
5882
6357
 
5883
6358
  </details>
@@ -6258,7 +6733,7 @@ export CLAUDE_FLOW_MEMORY_PATH="./data"
6258
6733
  | `GCS_PROJECT_ID` | GCS project ID | Optional |
6259
6734
  | `GOOGLE_CLOUD_PROJECT` | Alternative project ID variable | Optional |
6260
6735
  | `GOOGLE_APPLICATION_CREDENTIALS` | Path to GCS service account JSON | Optional |
6261
- | `GCS_PREFIX` | Prefix for stored files | `claude-flow-patterns` |
6736
+ | `GCS_PREFIX` | Prefix for stored files | `ruflo-patterns` |
6262
6737
 
6263
6738
  ### Auto-Update System
6264
6739
 
@@ -6329,9 +6804,9 @@ CLAUDE_FLOW_HNSW_EF=200
6329
6804
 
6330
6805
  ### Configuration File Location
6331
6806
 
6332
- Claude Flow looks for configuration in this order:
6807
+ Ruflo looks for configuration in this order:
6333
6808
  1. `./claude-flow.config.json` (project root)
6334
- 2. `~/.config/claude-flow/config.json` (user config)
6809
+ 2. `~/.config/ruflo/config.json` (user config)
6335
6810
  3. Environment variables (override any file config)
6336
6811
 
6337
6812
  ### Complete Configuration Schema
@@ -6431,7 +6906,7 @@ Claude Flow looks for configuration in this order:
6431
6906
  "level": "info",
6432
6907
  "format": "json",
6433
6908
  "destination": "console",
6434
- "filePath": "./logs/claude-flow.log",
6909
+ "filePath": "./logs/ruflo.log",
6435
6910
  "maxFileSize": "100MB",
6436
6911
  "maxFiles": 10
6437
6912
  },
@@ -6498,7 +6973,7 @@ Claude Flow looks for configuration in this order:
6498
6973
  "version": "3.0.0",
6499
6974
  "memory": {
6500
6975
  "type": "hybrid",
6501
- "path": "/var/lib/claude-flow/data",
6976
+ "path": "/var/lib/ruflo/data",
6502
6977
  "encryption": { "enabled": true, "algorithm": "aes-256-gcm" }
6503
6978
  },
6504
6979
  "swarm": { "topology": "hierarchical", "maxAgents": 15 },
@@ -6510,7 +6985,7 @@ Claude Flow looks for configuration in this order:
6510
6985
  "level": "warn",
6511
6986
  "format": "json",
6512
6987
  "destination": "file",
6513
- "filePath": "/var/log/claude-flow/production.log"
6988
+ "filePath": "/var/log/ruflo/production.log"
6514
6989
  },
6515
6990
  "monitoring": { "enabled": true, "metricsInterval": 30000 }
6516
6991
  }
@@ -6554,25 +7029,25 @@ Claude Flow looks for configuration in this order:
6554
7029
 
6555
7030
  ```bash
6556
7031
  # View current configuration
6557
- npx claude-flow@v3alpha config list
7032
+ npx ruflo@v3alpha config list
6558
7033
 
6559
7034
  # Get specific value
6560
- npx claude-flow@v3alpha config get --key memory.type
7035
+ npx ruflo@v3alpha config get --key memory.type
6561
7036
 
6562
7037
  # Set configuration value
6563
- npx claude-flow@v3alpha config set --key swarm.maxAgents --value 10
7038
+ npx ruflo@v3alpha config set --key swarm.maxAgents --value 10
6564
7039
 
6565
7040
  # Export configuration
6566
- npx claude-flow@v3alpha config export > my-config.json
7041
+ npx ruflo@v3alpha config export > my-config.json
6567
7042
 
6568
7043
  # Import configuration
6569
- npx claude-flow@v3alpha config import --file my-config.json
7044
+ npx ruflo@v3alpha config import --file my-config.json
6570
7045
 
6571
7046
  # Reset to defaults
6572
- npx claude-flow@v3alpha config reset --key swarm
7047
+ npx ruflo@v3alpha config reset --key swarm
6573
7048
 
6574
7049
  # Initialize with wizard
6575
- npx claude-flow@v3alpha init --wizard
7050
+ npx ruflo@v3alpha init --wizard
6576
7051
  ```
6577
7052
 
6578
7053
  </details>
@@ -6596,7 +7071,7 @@ lsof -i :3000
6596
7071
  # Kill existing process
6597
7072
  kill -9 <PID>
6598
7073
  # Restart MCP server
6599
- npx claude-flow@v3alpha mcp start
7074
+ npx ruflo@v3alpha mcp start
6600
7075
  ```
6601
7076
 
6602
7077
  **Agent spawn failures**
@@ -6610,9 +7085,9 @@ export CLAUDE_FLOW_MAX_AGENTS=5
6610
7085
  **Pattern search returning no results**
6611
7086
  ```bash
6612
7087
  # Verify patterns are stored
6613
- npx claude-flow@v3alpha hooks metrics
7088
+ npx ruflo@v3alpha hooks metrics
6614
7089
  # Re-run pretraining if empty
6615
- npx claude-flow@v3alpha hooks pretrain
7090
+ npx ruflo@v3alpha hooks pretrain
6616
7091
  ```
6617
7092
 
6618
7093
  **Windows path issues**
@@ -6620,7 +7095,7 @@ npx claude-flow@v3alpha hooks pretrain
6620
7095
  # Use forward slashes or escape backslashes
6621
7096
  $env:CLAUDE_FLOW_MEMORY_PATH = "./data"
6622
7097
  # Or use absolute path
6623
- $env:CLAUDE_FLOW_MEMORY_PATH = "C:/Users/name/claude-flow/data"
7098
+ $env:CLAUDE_FLOW_MEMORY_PATH = "C:/Users/name/ruflo/data"
6624
7099
  ```
6625
7100
 
6626
7101
  **Permission denied errors**
@@ -6633,7 +7108,7 @@ sudo chown -R $(whoami) ~/.npm
6633
7108
  **High memory usage**
6634
7109
  ```bash
6635
7110
  # Enable garbage collection
6636
- node --expose-gc node_modules/.bin/claude-flow
7111
+ node --expose-gc node_modules/.bin/ruflo
6637
7112
  # Reduce HNSW parameters for lower memory
6638
7113
  export CLAUDE_FLOW_HNSW_M=8
6639
7114
  export CLAUDE_FLOW_HNSW_EF=100
@@ -6665,45 +7140,45 @@ export CLAUDE_FLOW_HNSW_EF=100
6665
7140
 
6666
7141
  | Change | V2 | V3 | Impact |
6667
7142
  |--------|----|----|--------|
6668
- | **Package Structure** | `claude-flow` | `@claude-flow/*` (scoped) | Update imports |
7143
+ | **Package Structure** | `ruflo` | `@claude-flow/*` (scoped) | Update imports |
6669
7144
  | **Memory Backend** | JSON files | AgentDB + HNSW | Faster search |
6670
7145
  | **Hooks System** | Basic patterns | ReasoningBank + SONA | Self-learning |
6671
7146
  | **Security** | Manual validation | Automatic strict mode | More secure |
6672
7147
  | **CLI Commands** | Flat structure | Nested subcommands | New syntax |
6673
- | **Config Format** | `.claude-flow/config.json` | `claude-flow.config.json` | Update path |
7148
+ | **Config Format** | `.ruflo/config.json` | `claude-flow.config.json` | Update path |
6674
7149
 
6675
7150
  ### Step-by-Step Migration
6676
7151
 
6677
7152
  ```bash
6678
7153
  # STEP 1: Backup existing data (CRITICAL)
6679
7154
  cp -r ./data ./data-backup-v2
6680
- cp -r ./.claude-flow ./.claude-flow-backup-v2
7155
+ cp -r ./.ruflo ./.ruflo-backup-v2
6681
7156
 
6682
7157
  # STEP 2: Check migration status
6683
- npx claude-flow@v3alpha migrate status
7158
+ npx ruflo@v3alpha migrate status
6684
7159
 
6685
7160
  # STEP 3: Run migration with dry-run first
6686
- npx claude-flow@v3alpha migrate run --dry-run
7161
+ npx ruflo@v3alpha migrate run --dry-run
6687
7162
 
6688
7163
  # STEP 4: Execute migration
6689
- npx claude-flow@v3alpha migrate run --from v2
7164
+ npx ruflo@v3alpha migrate run --from v2
6690
7165
 
6691
7166
  # STEP 5: Verify migration
6692
- npx claude-flow@v3alpha migrate verify
7167
+ npx ruflo@v3alpha migrate verify
6693
7168
 
6694
7169
  # STEP 6: Initialize V3 learning
6695
- npx claude-flow@v3alpha hooks pretrain
6696
- npx claude-flow@v3alpha doctor --fix
7170
+ npx ruflo@v3alpha hooks pretrain
7171
+ npx ruflo@v3alpha doctor --fix
6697
7172
  ```
6698
7173
 
6699
7174
  ### Command Changes Reference
6700
7175
 
6701
7176
  | V2 Command | V3 Command | Notes |
6702
7177
  |------------|------------|-------|
6703
- | `claude-flow start` | `claude-flow mcp start` | MCP is explicit |
6704
- | `claude-flow init` | `claude-flow init --wizard` | Interactive mode |
6705
- | `claude-flow spawn <type>` | `claude-flow agent spawn -t <type>` | Nested under `agent` |
6706
- | `claude-flow swarm create` | `claude-flow swarm init --topology mesh` | Explicit topology |
7178
+ | `ruflo start` | `ruflo mcp start` | MCP is explicit |
7179
+ | `ruflo init` | `ruflo init --wizard` | Interactive mode |
7180
+ | `ruflo spawn <type>` | `ruflo agent spawn -t <type>` | Nested under `agent` |
7181
+ | `ruflo swarm create` | `ruflo swarm init --topology mesh` | Explicit topology |
6707
7182
  | `--pattern-store path` | `--memory-backend agentdb` | Backend selection |
6708
7183
  | `hooks record` | `hooks post-edit --success true` | Explicit success flag |
6709
7184
  | `memory get <key>` | `memory retrieve --key <key>` | Explicit flag |
@@ -6713,7 +7188,7 @@ npx claude-flow@v3alpha doctor --fix
6713
7188
 
6714
7189
  ### Configuration Migration
6715
7190
 
6716
- **V2 Config (`.claude-flow/config.json`)**:
7191
+ **V2 Config (`.ruflo/config.json`)**:
6717
7192
  ```json
6718
7193
  {
6719
7194
  "mode": "basic",
@@ -6745,7 +7220,7 @@ npx claude-flow@v3alpha doctor --fix
6745
7220
 
6746
7221
  ```typescript
6747
7222
  // V2 (deprecated)
6748
- import { ClaudeFlow, Agent, Memory } from 'claude-flow';
7223
+ import { ClaudeFlow, Agent, Memory } from 'ruflo';
6749
7224
 
6750
7225
  // V3 (new)
6751
7226
  import { ClaudeFlowClient } from '@claude-flow/cli';
@@ -6760,10 +7235,10 @@ If migration fails, you can rollback:
6760
7235
 
6761
7236
  ```bash
6762
7237
  # Check rollback options
6763
- npx claude-flow@v3alpha migrate rollback --list
7238
+ npx ruflo@v3alpha migrate rollback --list
6764
7239
 
6765
7240
  # Rollback to V2
6766
- npx claude-flow@v3alpha migrate rollback --to v2
7241
+ npx ruflo@v3alpha migrate rollback --to v2
6767
7242
 
6768
7243
  # Restore backup manually if needed
6769
7244
  rm -rf ./data
@@ -6772,12 +7247,12 @@ cp -r ./data-backup-v2 ./data
6772
7247
 
6773
7248
  ### Post-Migration Checklist
6774
7249
 
6775
- - [ ] Verify all agents spawn correctly: `npx claude-flow@v3alpha agent list`
6776
- - [ ] Check memory search works: `npx claude-flow@v3alpha memory search -q "test"`
6777
- - [ ] Confirm MCP server starts: `npx claude-flow@v3alpha mcp start`
6778
- - [ ] Run doctor diagnostics: `npx claude-flow@v3alpha doctor`
6779
- - [ ] Test a simple swarm: `npx claude-flow@v3alpha swarm init --topology mesh`
6780
- - [ ] Bootstrap learning: `npx claude-flow@v3alpha hooks pretrain`
7250
+ - [ ] Verify all agents spawn correctly: `npx ruflo@v3alpha agent list`
7251
+ - [ ] Check memory search works: `npx ruflo@v3alpha memory search -q "test"`
7252
+ - [ ] Confirm MCP server starts: `npx ruflo@v3alpha mcp start`
7253
+ - [ ] Run doctor diagnostics: `npx ruflo@v3alpha doctor`
7254
+ - [ ] Test a simple swarm: `npx ruflo@v3alpha swarm init --topology mesh`
7255
+ - [ ] Bootstrap learning: `npx ruflo@v3alpha hooks pretrain`
6781
7256
 
6782
7257
  ### Common Migration Issues
6783
7258