@claude-flow/cli 3.5.43 → 3.5.45

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 (56) hide show
  1. package/README.md +199 -196
  2. package/dist/src/autopilot-state.d.ts +77 -0
  3. package/dist/src/autopilot-state.d.ts.map +1 -0
  4. package/dist/src/autopilot-state.js +279 -0
  5. package/dist/src/autopilot-state.js.map +1 -0
  6. package/dist/src/commands/autopilot.d.ts +15 -0
  7. package/dist/src/commands/autopilot.d.ts.map +1 -0
  8. package/dist/src/commands/autopilot.js +362 -0
  9. package/dist/src/commands/autopilot.js.map +1 -0
  10. package/dist/src/commands/claims.d.ts.map +1 -1
  11. package/dist/src/commands/claims.js +352 -34
  12. package/dist/src/commands/claims.js.map +1 -1
  13. package/dist/src/commands/config.d.ts.map +1 -1
  14. package/dist/src/commands/config.js +66 -34
  15. package/dist/src/commands/config.js.map +1 -1
  16. package/dist/src/commands/deployment.d.ts.map +1 -1
  17. package/dist/src/commands/deployment.js +538 -46
  18. package/dist/src/commands/deployment.js.map +1 -1
  19. package/dist/src/commands/index.d.ts +2 -0
  20. package/dist/src/commands/index.d.ts.map +1 -1
  21. package/dist/src/commands/index.js +7 -0
  22. package/dist/src/commands/index.js.map +1 -1
  23. package/dist/src/commands/migrate.d.ts.map +1 -1
  24. package/dist/src/commands/migrate.js +531 -39
  25. package/dist/src/commands/migrate.js.map +1 -1
  26. package/dist/src/commands/providers.d.ts.map +1 -1
  27. package/dist/src/commands/providers.js +163 -29
  28. package/dist/src/commands/providers.js.map +1 -1
  29. package/dist/src/init/executor.d.ts.map +1 -1
  30. package/dist/src/init/executor.js +2 -3
  31. package/dist/src/init/executor.js.map +1 -1
  32. package/dist/src/mcp-client.d.ts.map +1 -1
  33. package/dist/src/mcp-client.js +6 -0
  34. package/dist/src/mcp-client.js.map +1 -1
  35. package/dist/src/mcp-server.d.ts +3 -1
  36. package/dist/src/mcp-server.d.ts.map +1 -1
  37. package/dist/src/mcp-server.js +31 -4
  38. package/dist/src/mcp-server.js.map +1 -1
  39. package/dist/src/mcp-tools/autopilot-tools.d.ts +12 -0
  40. package/dist/src/mcp-tools/autopilot-tools.d.ts.map +1 -0
  41. package/dist/src/mcp-tools/autopilot-tools.js +227 -0
  42. package/dist/src/mcp-tools/autopilot-tools.js.map +1 -0
  43. package/dist/src/mcp-tools/guidance-tools.d.ts +15 -0
  44. package/dist/src/mcp-tools/guidance-tools.d.ts.map +1 -0
  45. package/dist/src/mcp-tools/guidance-tools.js +617 -0
  46. package/dist/src/mcp-tools/guidance-tools.js.map +1 -0
  47. package/dist/src/mcp-tools/index.d.ts +2 -0
  48. package/dist/src/mcp-tools/index.d.ts.map +1 -1
  49. package/dist/src/mcp-tools/index.js +2 -0
  50. package/dist/src/mcp-tools/index.js.map +1 -1
  51. package/dist/src/services/config-file-manager.d.ts +37 -0
  52. package/dist/src/services/config-file-manager.d.ts.map +1 -0
  53. package/dist/src/services/config-file-manager.js +224 -0
  54. package/dist/src/services/config-file-manager.js.map +1 -0
  55. package/dist/tsconfig.tsbuildinfo +1 -1
  56. package/package.json +3 -1
package/README.md CHANGED
@@ -152,10 +152,10 @@ npx ruflo@latest hooks intelligence --status
152
152
 
153
153
  ```bash
154
154
  # One-line install (recommended)
155
- curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/claude-flow@main/scripts/install.sh | bash
155
+ curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/ruflo@main/scripts/install.sh | bash
156
156
 
157
157
  # Or full setup with MCP + diagnostics
158
- curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/claude-flow@main/scripts/install.sh | bash -s -- --full
158
+ curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/ruflo@main/scripts/install.sh | bash -s -- --full
159
159
 
160
160
  # Or via npx
161
161
  npx ruflo@latest init --wizard
@@ -438,10 +438,10 @@ claude --dangerously-skip-permissions
438
438
 
439
439
  ```bash
440
440
  # curl-style installer with progress display
441
- curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/claude-flow@main/scripts/install.sh | bash
441
+ curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/ruflo@main/scripts/install.sh | bash
442
442
 
443
443
  # Full setup (global + MCP + diagnostics)
444
- curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/claude-flow@main/scripts/install.sh | bash -s -- --full
444
+ curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/ruflo@main/scripts/install.sh | bash -s -- --full
445
445
  ```
446
446
 
447
447
  <details>
@@ -668,21 +668,24 @@ npx ruflo@latest init
668
668
  # Start MCP server for Claude Code integration
669
669
  npx ruflo@latest mcp start
670
670
 
671
- # Run a task with agents
672
- npx ruflo@latest --agent coder --task "Implement user authentication"
671
+ # Spawn a coding agent
672
+ npx ruflo@latest agent spawn -t coder --name my-coder
673
673
 
674
- # List available agents
675
- npx ruflo@latest --list
674
+ # Launch a hive-mind swarm with an objective
675
+ npx ruflo@latest hive-mind spawn "Implement user authentication"
676
+
677
+ # List available agent types
678
+ npx ruflo@latest agent list
676
679
  ```
677
680
 
678
681
  ### Upgrading
679
682
 
680
683
  ```bash
681
684
  # Update helpers and statusline (preserves your data)
682
- npx ruflo@v3alpha init upgrade
685
+ npx ruflo@latest init upgrade
683
686
 
684
687
  # Update AND add any missing skills/agents/commands
685
- npx ruflo@v3alpha init upgrade --add-missing
688
+ npx ruflo@latest init upgrade --add-missing
686
689
  ```
687
690
 
688
691
  The `--add-missing` flag automatically detects and installs new skills, agents, and commands that were added in newer versions, without overwriting your existing customizations.
@@ -838,7 +841,7 @@ Complex projects fail when implementation drifts from the original plan. Ruflo s
838
841
 
839
842
  | Feature | Description |
840
843
  |---------|-------------|
841
- | **Architecture Decision Records** | 10 ADRs defining system behavior, integration patterns, and security requirements |
844
+ | **Architecture Decision Records** | 70+ ADRs defining system behavior, integration patterns, and security requirements |
842
845
  | **Domain-Driven Design** | 5 bounded contexts with clean interfaces preventing cross-domain pollution |
843
846
  | **Automated Spec Generation** | Agents create specs from requirements using SPARC methodology |
844
847
  | **Drift Detection** | Continuous monitoring flags when code diverges from spec |
@@ -1183,7 +1186,7 @@ Ruflo runs as an MCP (Model Context Protocol) server, allowing you to connect it
1183
1186
 
1184
1187
  ```bash
1185
1188
  # Start Ruflo MCP server in any environment
1186
- npx ruflo@v3alpha mcp start
1189
+ npx ruflo@latest mcp start
1187
1190
  ```
1188
1191
 
1189
1192
  <details open>
@@ -1200,7 +1203,7 @@ npx ruflo@v3alpha mcp start
1200
1203
  "mcpServers": {
1201
1204
  "ruflo": {
1202
1205
  "command": "npx",
1203
- "args": ["ruflo@v3alpha", "mcp", "start"],
1206
+ "args": ["ruflo@latest", "mcp", "start"],
1204
1207
  "env": {
1205
1208
  "ANTHROPIC_API_KEY": "sk-ant-..."
1206
1209
  }
@@ -1220,12 +1223,12 @@ Restart Claude Desktop after saving. Look for the MCP indicator (hammer icon) in
1220
1223
 
1221
1224
  ```bash
1222
1225
  # Add via CLI (recommended)
1223
- claude mcp add ruflo -- npx ruflo@v3alpha mcp start
1226
+ claude mcp add ruflo -- npx ruflo@latest mcp start
1224
1227
 
1225
1228
  # Or add with environment variables
1226
1229
  claude mcp add ruflo \
1227
1230
  --env ANTHROPIC_API_KEY=sk-ant-... \
1228
- -- npx ruflo@v3alpha mcp start
1231
+ -- npx ruflo@latest mcp start
1229
1232
 
1230
1233
  # Verify installation
1231
1234
  claude mcp list
@@ -1254,7 +1257,7 @@ Create `.vscode/mcp.json` in your project:
1254
1257
  "mcpServers": {
1255
1258
  "ruflo": {
1256
1259
  "command": "npx",
1257
- "args": ["ruflo@v3alpha", "mcp", "start"],
1260
+ "args": ["ruflo@latest", "mcp", "start"],
1258
1261
  "env": {
1259
1262
  "ANTHROPIC_API_KEY": "sk-ant-..."
1260
1263
  }
@@ -1281,7 +1284,7 @@ Create `.cursor/mcp.json` in your project (or global config):
1281
1284
  "mcpServers": {
1282
1285
  "ruflo": {
1283
1286
  "command": "npx",
1284
- "args": ["ruflo@v3alpha", "mcp", "start"],
1287
+ "args": ["ruflo@latest", "mcp", "start"],
1285
1288
  "env": {
1286
1289
  "ANTHROPIC_API_KEY": "sk-ant-..."
1287
1290
  }
@@ -1308,7 +1311,7 @@ Create `.cursor/mcp.json` in your project (or global config):
1308
1311
  "mcpServers": {
1309
1312
  "ruflo": {
1310
1313
  "command": "npx",
1311
- "args": ["ruflo@v3alpha", "mcp", "start"],
1314
+ "args": ["ruflo@latest", "mcp", "start"],
1312
1315
  "env": {
1313
1316
  "ANTHROPIC_API_KEY": "sk-ant-..."
1314
1317
  }
@@ -1339,7 +1342,7 @@ For ChatGPT, you need a remote MCP server (not local stdio). Deploy ruflo to a s
1339
1342
 
1340
1343
  ```bash
1341
1344
  # Start with HTTP transport
1342
- npx ruflo@v3alpha mcp start --transport http --port 3000
1345
+ npx ruflo@latest mcp start --transport http --port 3000
1343
1346
  ```
1344
1347
 
1345
1348
  Then add the server URL in ChatGPT Connectors settings.
@@ -1370,7 +1373,7 @@ const mcpConfig = {
1370
1373
  servers: [{
1371
1374
  name: 'ruflo',
1372
1375
  command: 'npx',
1373
- args: ['ruflo@v3alpha', 'mcp', 'start']
1376
+ args: ['ruflo@latest', 'mcp', 'start']
1374
1377
  }]
1375
1378
  };
1376
1379
  ```
@@ -1393,7 +1396,7 @@ JetBrains AI Assistant supports MCP for IntelliJ IDEA, PyCharm, WebStorm, and ot
1393
1396
  {
1394
1397
  "name": "ruflo",
1395
1398
  "command": "npx",
1396
- "args": ["ruflo@v3alpha", "mcp", "start"]
1399
+ "args": ["ruflo@latest", "mcp", "start"]
1397
1400
  }
1398
1401
  ```
1399
1402
 
@@ -1707,7 +1710,7 @@ npx ruflo@latest hooks task-completed --task-id <id> --train-patterns
1707
1710
  </details>
1708
1711
 
1709
1712
  <details>
1710
- <summary>🔧 <strong>MCP Tools & Integration</strong> — 31+ tools across 7 categories</summary>
1713
+ <summary>🔧 <strong>MCP Tools & Integration</strong> — 259 tools across 7 categories</summary>
1711
1714
 
1712
1715
  Full MCP server with tools for coordination, monitoring, memory, and GitHub integration.
1713
1716
 
@@ -2041,8 +2044,8 @@ Workers run automatically based on context, or dispatch manually via MCP tools.
2041
2044
  | **TestGaps** | `testgaps` | Test coverage analysis | Code changes without tests |
2042
2045
 
2043
2046
  ```bash
2044
- npx ruflo@v3alpha worker dispatch --trigger audit --context "./src"
2045
- npx ruflo@v3alpha worker status
2047
+ npx ruflo@latest worker dispatch --trigger audit --context "./src"
2048
+ npx ruflo@latest worker status
2046
2049
  ```
2047
2050
 
2048
2051
  </details>
@@ -2580,19 +2583,19 @@ Cross-platform TypeScript-based daemon service with auto-scheduling:
2580
2583
  **Commands:**
2581
2584
  ```bash
2582
2585
  # Start daemon (auto-runs on SessionStart hooks)
2583
- npx ruflo@v3alpha daemon start
2586
+ npx ruflo@latest daemon start
2584
2587
 
2585
2588
  # Check status with worker history
2586
- npx ruflo@v3alpha daemon status
2589
+ npx ruflo@latest daemon status
2587
2590
 
2588
2591
  # Manually trigger a worker
2589
- npx ruflo@v3alpha daemon trigger map
2592
+ npx ruflo@latest daemon trigger map
2590
2593
 
2591
2594
  # Enable/disable workers
2592
- npx ruflo@v3alpha daemon enable map audit optimize
2595
+ npx ruflo@latest daemon enable map audit optimize
2593
2596
 
2594
2597
  # Stop daemon
2595
- npx ruflo@v3alpha daemon stop
2598
+ npx ruflo@latest daemon stop
2596
2599
  ```
2597
2600
 
2598
2601
  **Daemon Status Output:**
@@ -2708,25 +2711,25 @@ Complete command-line interface for all Ruflo operations.
2708
2711
 
2709
2712
  ```bash
2710
2713
  # Initialize project with wizard
2711
- npx ruflo@v3alpha init --wizard
2714
+ npx ruflo@latest init --wizard
2712
2715
 
2713
2716
  # Start daemon with background workers
2714
- npx ruflo@v3alpha daemon start
2717
+ npx ruflo@latest daemon start
2715
2718
 
2716
2719
  # Spawn an agent with specific type
2717
- npx ruflo@v3alpha agent spawn -t coder --name my-coder
2720
+ npx ruflo@latest agent spawn -t coder --name my-coder
2718
2721
 
2719
2722
  # Initialize swarm with V3 mode
2720
- npx ruflo@v3alpha swarm init --v3-mode
2723
+ npx ruflo@latest swarm init --v3-mode
2721
2724
 
2722
2725
  # Search memory (HNSW-indexed, 150x faster)
2723
- npx ruflo@v3alpha memory search -q "authentication patterns"
2726
+ npx ruflo@latest memory search -q "authentication patterns"
2724
2727
 
2725
2728
  # Run security scan
2726
- npx ruflo@v3alpha security scan --depth full
2729
+ npx ruflo@latest security scan --depth full
2727
2730
 
2728
2731
  # Performance benchmark
2729
- npx ruflo@v3alpha performance benchmark --suite all
2732
+ npx ruflo@latest performance benchmark --suite all
2730
2733
  ```
2731
2734
 
2732
2735
  </details>
@@ -2734,7 +2737,7 @@ npx ruflo@v3alpha performance benchmark --suite all
2734
2737
  <details>
2735
2738
  <summary>🩺 <strong>Doctor Health Checks</strong> — System diagnostics with auto-fix</summary>
2736
2739
 
2737
- Run `npx ruflo@v3alpha doctor` to diagnose and fix common issues.
2740
+ Run `npx ruflo@latest doctor` to diagnose and fix common issues.
2738
2741
 
2739
2742
  **Health Checks Performed:**
2740
2743
 
@@ -2755,22 +2758,22 @@ Run `npx ruflo@v3alpha doctor` to diagnose and fix common issues.
2755
2758
 
2756
2759
  ```bash
2757
2760
  # Run full diagnostics
2758
- npx ruflo@v3alpha doctor
2761
+ npx ruflo@latest doctor
2759
2762
 
2760
2763
  # Run diagnostics with auto-fix
2761
- npx ruflo@v3alpha doctor --fix
2764
+ npx ruflo@latest doctor --fix
2762
2765
 
2763
2766
  # Check specific component
2764
- npx ruflo@v3alpha doctor --component memory
2767
+ npx ruflo@latest doctor --component memory
2765
2768
 
2766
2769
  # Verbose output
2767
- npx ruflo@v3alpha doctor --verbose
2770
+ npx ruflo@latest doctor --verbose
2768
2771
  ```
2769
2772
 
2770
2773
  **Output Example:**
2771
2774
 
2772
2775
  ```
2773
- 🩺 Ruflo Doctor v3.0.0-alpha
2776
+ 🩺 Ruflo Doctor v3.5
2774
2777
 
2775
2778
  ✅ Node.js 20.11.0 (required: 20+)
2776
2779
  ✅ npm 10.2.4 (required: 9+)
@@ -2814,16 +2817,16 @@ The embeddings package (v3.0.0-alpha.12) provides high-performance vector embedd
2814
2817
 
2815
2818
  ```bash
2816
2819
  # Initialize embeddings system
2817
- npx ruflo@v3alpha embeddings init
2820
+ npx ruflo@latest embeddings init
2818
2821
 
2819
2822
  # Generate embedding for text
2820
- npx ruflo@v3alpha embeddings embed "authentication patterns"
2823
+ npx ruflo@latest embeddings embed "authentication patterns"
2821
2824
 
2822
2825
  # Batch embed multiple texts
2823
- npx ruflo@v3alpha embeddings batch --file texts.txt
2826
+ npx ruflo@latest embeddings batch --file texts.txt
2824
2827
 
2825
2828
  # Search with semantic similarity
2826
- npx ruflo@v3alpha embeddings search "login flow" --top-k 5
2829
+ npx ruflo@latest embeddings search "login flow" --top-k 5
2827
2830
  ```
2828
2831
 
2829
2832
  **Programmatic:**
@@ -2860,59 +2863,59 @@ Real-world scenarios and pre-built workflows for common tasks.
2860
2863
 
2861
2864
  | Scenario | What It Solves | How To Do It |
2862
2865
  |----------|----------------|--------------|
2863
- | **Code Review** | Get thorough reviews with security, performance, and style checks | `npx ruflo@v3alpha --agent reviewer --task "Review PR #123"` |
2864
- | **Test Generation** | Auto-generate unit, integration, and e2e tests for existing code | `npx ruflo@v3alpha --agent tester --task "Write tests for auth module"` |
2865
- | **Refactoring** | Safely restructure code while maintaining behavior | `npx ruflo@v3alpha --agent coder --task "Refactor user service to use repository pattern"` |
2866
- | **Bug Fixing** | Diagnose and fix bugs with full context analysis | `npx ruflo@v3alpha --agent coder --task "Fix race condition in checkout flow"` |
2866
+ | **Code Review** | Get thorough reviews with security, performance, and style checks | `npx ruflo@latest agent spawn -t reviewer --name pr-review` |
2867
+ | **Test Generation** | Auto-generate unit, integration, and e2e tests for existing code | `npx ruflo@latest agent spawn -t tester --name test-gen` |
2868
+ | **Refactoring** | Safely restructure code while maintaining behavior | `npx ruflo@latest hive-mind spawn "Refactor user service to repository pattern"` |
2869
+ | **Bug Fixing** | Diagnose and fix bugs with full context analysis | `npx ruflo@latest hive-mind spawn "Fix race condition in checkout flow"` |
2867
2870
 
2868
2871
  ### 🔒 Security & Compliance
2869
2872
 
2870
2873
  | Scenario | What It Solves | How To Do It |
2871
2874
  |----------|----------------|--------------|
2872
- | **Security Audit** | Find vulnerabilities before attackers do | `npx ruflo@v3alpha --agent security-architect --task "Audit for OWASP Top 10"` |
2873
- | **Dependency Scan** | Identify vulnerable packages and suggest upgrades | `npx ruflo@v3alpha security scan --depth full` |
2874
- | **Compliance Check** | Ensure code meets security standards | `npx ruflo@v3alpha --agent security-architect --task "Check PCI-DSS compliance"` |
2875
+ | **Security Audit** | Find vulnerabilities before attackers do | `npx ruflo@latest security scan --depth full` |
2876
+ | **Dependency Scan** | Identify vulnerable packages and suggest upgrades | `npx ruflo@latest security cve --check` |
2877
+ | **Compliance Check** | Ensure code meets security standards | `npx ruflo@latest security audit` |
2875
2878
 
2876
2879
  ### 🐝 Multi-Agent Swarms
2877
2880
 
2878
2881
  | Scenario | What It Solves | How To Do It |
2879
2882
  |----------|----------------|--------------|
2880
- | **Feature Development** | Coordinate multiple agents on complex features | `npx ruflo@v3alpha swarm init --topology hierarchical && npx ruflo@v3alpha task orchestrate "Build user dashboard"` |
2881
- | **Large Refactors** | Parallel refactoring across many files without conflicts | `npx ruflo@v3alpha swarm init --topology mesh --max-agents 8` |
2882
- | **Codebase Migration** | Migrate frameworks, languages, or patterns systematically | `npx ruflo@v3alpha task orchestrate "Migrate from Express to Fastify" --strategy adaptive` |
2883
+ | **Feature Development** | Coordinate multiple agents on complex features | `npx ruflo@latest swarm init --topology hierarchical && npx ruflo@latest task orchestrate "Build user dashboard"` |
2884
+ | **Large Refactors** | Parallel refactoring across many files without conflicts | `npx ruflo@latest swarm init --topology mesh --max-agents 8` |
2885
+ | **Codebase Migration** | Migrate frameworks, languages, or patterns systematically | `npx ruflo@latest task orchestrate "Migrate from Express to Fastify" --strategy adaptive` |
2883
2886
 
2884
2887
  ### 📊 Performance & Optimization
2885
2888
 
2886
2889
  | Scenario | What It Solves | How To Do It |
2887
2890
  |----------|----------------|--------------|
2888
- | **Performance Profiling** | Find and fix bottlenecks in your application | `npx ruflo@v3alpha --agent perf-analyzer --task "Profile API endpoints"` |
2889
- | **Query Optimization** | Speed up slow database queries | `npx ruflo@v3alpha hooks route "Optimize database queries"` |
2890
- | **Memory Analysis** | Reduce memory usage and fix leaks | `npx ruflo@v3alpha --agent perf-analyzer --task "Analyze memory usage patterns"` |
2891
+ | **Performance Profiling** | Find and fix bottlenecks in your application | `npx ruflo@latest performance profile --target src/` |
2892
+ | **Query Optimization** | Speed up slow database queries | `npx ruflo@latest performance benchmark --suite all` |
2893
+ | **Memory Analysis** | Reduce memory usage and fix leaks | `npx ruflo@latest performance metrics` |
2891
2894
 
2892
2895
  ### 🔄 GitHub & DevOps
2893
2896
 
2894
2897
  | Scenario | What It Solves | How To Do It |
2895
2898
  |----------|----------------|--------------|
2896
- | **PR Management** | Review, approve, and merge PRs efficiently | `npx ruflo@v3alpha --agent pr-manager --task "Review open PRs"` |
2897
- | **Issue Triage** | Categorize, prioritize, and assign issues automatically | `npx ruflo@v3alpha --agent issue-tracker --task "Triage new issues"` |
2898
- | **Release Management** | Coordinate releases with changelogs and versioning | `npx ruflo@v3alpha --agent release-manager --task "Prepare v2.0 release"` |
2899
- | **CI/CD Optimization** | Speed up pipelines and reduce flaky tests | `npx ruflo@v3alpha --agent cicd-engineer --task "Optimize GitHub Actions workflow"` |
2899
+ | **PR Management** | Review, approve, and merge PRs efficiently | `npx ruflo@latest hive-mind spawn "Review open PRs"` |
2900
+ | **Issue Triage** | Categorize, prioritize, and assign issues automatically | `npx ruflo@latest hive-mind spawn "Triage new issues"` |
2901
+ | **Release Management** | Coordinate releases with changelogs and versioning | `npx ruflo@latest hive-mind spawn "Prepare v2.0 release"` |
2902
+ | **CI/CD Optimization** | Speed up pipelines and reduce flaky tests | `npx ruflo@latest hive-mind spawn "Optimize GitHub Actions workflow"` |
2900
2903
 
2901
2904
  ### 📋 Spec-Driven Development
2902
2905
 
2903
2906
  | Scenario | What It Solves | How To Do It |
2904
2907
  |----------|----------------|--------------|
2905
- | **Generate Specs** | Create complete specifications before coding | `npx ruflo@v3alpha --agent architect --task "Create ADR for authentication system"` |
2906
- | **Validate Implementation** | Ensure code matches specifications | `npx ruflo@v3alpha hooks progress --detailed` |
2907
- | **Track Compliance** | Monitor spec adherence across the team | `npx ruflo@v3alpha progress sync` |
2908
+ | **Generate Specs** | Create complete specifications before coding | `npx ruflo@latest hive-mind spawn "Create ADR for authentication system"` |
2909
+ | **Validate Implementation** | Ensure code matches specifications | `npx ruflo@latest hooks progress --detailed` |
2910
+ | **Track Compliance** | Monitor spec adherence across the team | `npx ruflo@latest progress sync` |
2908
2911
 
2909
2912
  ### 🧠 Learning & Intelligence
2910
2913
 
2911
2914
  | Scenario | What It Solves | How To Do It |
2912
2915
  |----------|----------------|--------------|
2913
- | **Bootstrap Intelligence** | Train the system on your codebase patterns | `npx ruflo@v3alpha hooks pretrain --depth deep` |
2914
- | **Optimize Routing** | Improve task-to-agent matching over time | `npx ruflo@v3alpha hooks route "<task>" --include-explanation` |
2915
- | **Transfer Learning** | Apply patterns learned from other projects | `npx ruflo@v3alpha hooks transfer <sourceProject>` |
2916
+ | **Bootstrap Intelligence** | Train the system on your codebase patterns | `npx ruflo@latest hooks pretrain --depth deep` |
2917
+ | **Optimize Routing** | Improve task-to-agent matching over time | `npx ruflo@latest hooks route "<task>" --include-explanation` |
2918
+ | **Transfer Learning** | Apply patterns learned from other projects | `npx ruflo@latest hooks transfer <sourceProject>` |
2916
2919
 
2917
2920
  </details>
2918
2921
 
@@ -3214,7 +3217,7 @@ When hooks run, they emit signals that guide routing decisions. Watch for these
3214
3217
 
3215
3218
  **Example Hook Output:**
3216
3219
  ```bash
3217
- $ npx ruflo@v3alpha hooks pre-task --description "convert var to const in utils.ts"
3220
+ $ npx ruflo@latest hooks pre-task --description "convert var to const in utils.ts"
3218
3221
 
3219
3222
  [AGENT_BOOSTER_AVAILABLE] Intent: var-to-const
3220
3223
  Recommendation: Use Edit tool directly
@@ -3332,8 +3335,8 @@ The stats command shows:
3332
3335
 
3333
3336
  ```bash
3334
3337
  # Example: Edit with pattern learning
3335
- npx ruflo@v3alpha hooks pre-edit ./src/auth.ts
3336
- npx ruflo@v3alpha hooks post-edit ./src/auth.ts --success true --train-patterns
3338
+ npx ruflo@latest hooks pre-edit ./src/auth.ts
3339
+ npx ruflo@latest hooks post-edit ./src/auth.ts --success true --train-patterns
3337
3340
  ```
3338
3341
 
3339
3342
  #### 🧠 Intelligence & Routing Hooks (8 hooks)
@@ -3351,10 +3354,10 @@ npx ruflo@v3alpha hooks post-edit ./src/auth.ts --success true --train-patterns
3351
3354
 
3352
3355
  ```bash
3353
3356
  # Route a task with explanation
3354
- npx ruflo@v3alpha hooks route "refactor authentication to use JWT" --include-explanation
3357
+ npx ruflo@latest hooks route "refactor authentication to use JWT" --include-explanation
3355
3358
 
3356
3359
  # Bootstrap intelligence from your codebase
3357
- npx ruflo@v3alpha hooks pretrain --depth deep --model-type moe
3360
+ npx ruflo@latest hooks pretrain --depth deep --model-type moe
3358
3361
  ```
3359
3362
 
3360
3363
  #### 📅 Session Management Hooks (4 hooks)
@@ -3368,10 +3371,10 @@ npx ruflo@v3alpha hooks pretrain --depth deep --model-type moe
3368
3371
 
3369
3372
  ```bash
3370
3373
  # Start session with auto-daemon
3371
- npx ruflo@v3alpha hooks session-start --session-id "feature-auth" --start-daemon
3374
+ npx ruflo@latest hooks session-start --session-id "feature-auth" --start-daemon
3372
3375
 
3373
3376
  # End session and export learnings
3374
- npx ruflo@v3alpha hooks session-end --export-metrics --persist-patterns
3377
+ npx ruflo@latest hooks session-end --export-metrics --persist-patterns
3375
3378
  ```
3376
3379
 
3377
3380
  #### 🤖 Intelligence System Hooks (9 hooks)
@@ -3390,13 +3393,13 @@ npx ruflo@v3alpha hooks session-end --export-metrics --persist-patterns
3390
3393
 
3391
3394
  ```bash
3392
3395
  # Start trajectory for complex task
3393
- npx ruflo@v3alpha hooks intelligence trajectory-start --task "implement OAuth2"
3396
+ npx ruflo@latest hooks intelligence trajectory-start --task "implement OAuth2"
3394
3397
 
3395
3398
  # Record successful action
3396
- npx ruflo@v3alpha hooks intelligence trajectory-step --action "created token service" --quality 0.9
3399
+ npx ruflo@latest hooks intelligence trajectory-step --action "created token service" --quality 0.9
3397
3400
 
3398
3401
  # End trajectory and trigger learning
3399
- npx ruflo@v3alpha hooks intelligence trajectory-end --success true
3402
+ npx ruflo@latest hooks intelligence trajectory-end --success true
3400
3403
 
3401
3404
  # View intelligence diagnostics and improvement trends (ADR-050)
3402
3405
  node .claude/helpers/hook-handler.cjs stats
@@ -3424,13 +3427,13 @@ Workers run automatically based on context, or dispatch manually.
3424
3427
 
3425
3428
  ```bash
3426
3429
  # List all workers
3427
- npx ruflo@v3alpha hooks worker list
3430
+ npx ruflo@latest hooks worker list
3428
3431
 
3429
3432
  # Manually dispatch security audit
3430
- npx ruflo@v3alpha hooks worker dispatch --trigger audit --context "./src/auth"
3433
+ npx ruflo@latest hooks worker dispatch --trigger audit --context "./src/auth"
3431
3434
 
3432
3435
  # Check worker status
3433
- npx ruflo@v3alpha hooks worker status
3436
+ npx ruflo@latest hooks worker status
3434
3437
  ```
3435
3438
 
3436
3439
  ### Model Routing Hooks (3 hooks)
@@ -3445,10 +3448,10 @@ Automatically selects haiku/sonnet/opus based on task complexity.
3445
3448
 
3446
3449
  ```bash
3447
3450
  # Get model recommendation
3448
- npx ruflo@v3alpha hooks model-route --task "fix typo in README"
3451
+ npx ruflo@latest hooks model-route --task "fix typo in README"
3449
3452
  # → Recommends: haiku (simple task, low complexity)
3450
3453
 
3451
- npx ruflo@v3alpha hooks model-route --task "design distributed consensus system"
3454
+ npx ruflo@latest hooks model-route --task "design distributed consensus system"
3452
3455
  # → Recommends: opus (complex architecture, high reasoning)
3453
3456
  ```
3454
3457
 
@@ -3469,15 +3472,15 @@ npx ruflo@v3alpha hooks model-route --task "design distributed consensus system"
3469
3472
  # ══════════════════════════════════════════════════════════════════
3470
3473
 
3471
3474
  # Route task to best agent (with intelligence context injection)
3472
- npx ruflo@v3alpha hooks route "<task>" --include-explanation
3475
+ npx ruflo@latest hooks route "<task>" --include-explanation
3473
3476
 
3474
3477
  # Start/end session with learning
3475
- npx ruflo@v3alpha hooks session-start --start-daemon
3476
- npx ruflo@v3alpha hooks session-end --persist-patterns
3478
+ npx ruflo@latest hooks session-start --start-daemon
3479
+ npx ruflo@latest hooks session-end --persist-patterns
3477
3480
 
3478
3481
  # View what the system has learned
3479
- npx ruflo@v3alpha hooks metrics
3480
- npx ruflo@v3alpha hooks intelligence stats
3482
+ npx ruflo@latest hooks metrics
3483
+ npx ruflo@latest hooks intelligence stats
3481
3484
 
3482
3485
  # Intelligence diagnostics — see if intelligence is improving
3483
3486
  node .claude/helpers/hook-handler.cjs stats # Human-readable
@@ -3485,10 +3488,10 @@ node .claude/helpers/hook-handler.cjs stats --json # JSON for scripting
3485
3488
  node .claude/helpers/intelligence.cjs stats # Direct access
3486
3489
 
3487
3490
  # Bootstrap on new project
3488
- npx ruflo@v3alpha hooks pretrain --depth deep
3491
+ npx ruflo@latest hooks pretrain --depth deep
3489
3492
 
3490
3493
  # Dispatch background worker
3491
- npx ruflo@v3alpha hooks worker dispatch --trigger audit
3494
+ npx ruflo@latest hooks worker dispatch --trigger audit
3492
3495
  ```
3493
3496
 
3494
3497
  </details>
@@ -3514,38 +3517,38 @@ Share learned patterns across projects, teams, and the community via the decentr
3514
3517
 
3515
3518
  ```bash
3516
3519
  # Export learned patterns to file
3517
- npx ruflo@v3alpha memory export --format json --output ./patterns.json
3520
+ npx ruflo@latest memory export --format json --output ./patterns.json
3518
3521
 
3519
3522
  # Export specific namespace
3520
- npx ruflo@v3alpha memory export --namespace "security" --output ./security-patterns.json
3523
+ npx ruflo@latest memory export --namespace "security" --output ./security-patterns.json
3521
3524
 
3522
3525
  # Export with embeddings (larger file, faster import)
3523
- npx ruflo@v3alpha memory export --include-embeddings --output ./full-export.json
3526
+ npx ruflo@latest memory export --include-embeddings --output ./full-export.json
3524
3527
 
3525
3528
  # Export agent configurations
3526
- npx ruflo@v3alpha config export --scope project --output ./agent-configs.json
3529
+ npx ruflo@latest config export --scope project --output ./agent-configs.json
3527
3530
 
3528
3531
  # Export session state
3529
- npx ruflo@v3alpha session export --session-id "my-session" --output ./session.json
3532
+ npx ruflo@latest session export --session-id "my-session" --output ./session.json
3530
3533
  ```
3531
3534
 
3532
3535
  ### Import Commands
3533
3536
 
3534
3537
  ```bash
3535
3538
  # Import patterns from file
3536
- npx ruflo@v3alpha memory import --input ./patterns.json
3539
+ npx ruflo@latest memory import --input ./patterns.json
3537
3540
 
3538
3541
  # Import and merge with existing (don't overwrite)
3539
- npx ruflo@v3alpha memory import --input ./patterns.json --merge
3542
+ npx ruflo@latest memory import --input ./patterns.json --merge
3540
3543
 
3541
3544
  # Import from another project
3542
- npx ruflo@v3alpha hooks transfer --source-path ../other-project
3545
+ npx ruflo@latest hooks transfer --source-path ../other-project
3543
3546
 
3544
3547
  # Import agent configurations
3545
- npx ruflo@v3alpha config import --input ./agent-configs.json --scope project
3548
+ npx ruflo@latest config import --input ./agent-configs.json --scope project
3546
3549
 
3547
3550
  # Restore session
3548
- npx ruflo@v3alpha session restore --session-id "my-session"
3551
+ npx ruflo@latest session restore --session-id "my-session"
3549
3552
  ```
3550
3553
 
3551
3554
  ### Pattern Store (IPFS Marketplace)
@@ -3563,13 +3566,13 @@ Decentralized pattern marketplace for sharing and discovering community patterns
3563
3566
 
3564
3567
  ```bash
3565
3568
  # Search for authentication patterns
3566
- npx ruflo@v3alpha transfer-store search --query "authentication" --min-rating 4.0
3569
+ npx ruflo@latest transfer-store search --query "authentication" --min-rating 4.0
3567
3570
 
3568
3571
  # Download a pattern
3569
- npx ruflo@v3alpha transfer-store download --id "auth-jwt-patterns-v2" --verify
3572
+ npx ruflo@latest transfer-store download --id "auth-jwt-patterns-v2" --verify
3570
3573
 
3571
3574
  # Publish your patterns
3572
- npx ruflo@v3alpha transfer-store publish --input ./my-patterns.json --category "security"
3575
+ npx ruflo@latest transfer-store publish --input ./my-patterns.json --category "security"
3573
3576
  ```
3574
3577
 
3575
3578
  ### Plugin Store
@@ -3587,22 +3590,22 @@ Discover and install community plugins from the **live IPFS registry** with 19 o
3587
3590
 
3588
3591
  ```bash
3589
3592
  # List plugins with live ratings from Cloud Function
3590
- npx ruflo@v3alpha plugins list
3593
+ npx ruflo@latest plugins list
3591
3594
 
3592
3595
  # Filter by type
3593
- npx ruflo@v3alpha plugins list --type integration
3596
+ npx ruflo@latest plugins list --type integration
3594
3597
 
3595
3598
  # Rate a plugin
3596
- npx ruflo@v3alpha plugins rate --name @claude-flow/embeddings --rating 5
3599
+ npx ruflo@latest plugins rate --name @claude-flow/embeddings --rating 5
3597
3600
 
3598
3601
  # Search for MCP tool plugins
3599
- npx ruflo@v3alpha transfer plugin-search --type "mcp-tool" --verified
3602
+ npx ruflo@latest transfer plugin-search --type "mcp-tool" --verified
3600
3603
 
3601
3604
  # Get plugin info
3602
- npx ruflo@v3alpha transfer plugin-info --name "semantic-code-search"
3605
+ npx ruflo@latest transfer plugin-info --name "semantic-code-search"
3603
3606
 
3604
3607
  # List official plugins
3605
- npx ruflo@v3alpha transfer plugin-official
3608
+ npx ruflo@latest transfer plugin-official
3606
3609
  ```
3607
3610
 
3608
3611
  #### Live IPFS Plugin Registry
@@ -3635,10 +3638,10 @@ Patterns and models are distributed via IPFS for decentralization and integrity.
3635
3638
 
3636
3639
  ```bash
3637
3640
  # Resolve IPNS name to CID
3638
- npx ruflo@v3alpha transfer ipfs-resolve --name "/ipns/patterns.ruflo.io"
3641
+ npx ruflo@latest transfer ipfs-resolve --name "/ipns/patterns.ruflo.io"
3639
3642
 
3640
3643
  # Detect PII before publishing
3641
- npx ruflo@v3alpha transfer detect-pii --content "$(cat ./patterns.json)"
3644
+ npx ruflo@latest transfer detect-pii --content "$(cat ./patterns.json)"
3642
3645
  ```
3643
3646
 
3644
3647
  ### Model & Learning Pattern Import/Export
@@ -3703,13 +3706,13 @@ Import pre-trained learning patterns for common tasks. **90.5% average accuracy*
3703
3706
  curl -s "https://gateway.pinata.cloud/ipfs/QmNr1yYMKi7YBaL8JSztQyuB5ZUaTdRMLxJC1pBpGbjsTc" | jq '.models[].name'
3704
3707
 
3705
3708
  # Import all models
3706
- npx ruflo@v3alpha transfer import --cid QmNr1yYMKi7YBaL8JSztQyuB5ZUaTdRMLxJC1pBpGbjsTc
3709
+ npx ruflo@latest transfer import --cid QmNr1yYMKi7YBaL8JSztQyuB5ZUaTdRMLxJC1pBpGbjsTc
3707
3710
 
3708
3711
  # Import specific category
3709
- npx ruflo@v3alpha neural import --model security-review-patterns --source ipfs
3712
+ npx ruflo@latest neural import --model security-review-patterns --source ipfs
3710
3713
 
3711
3714
  # Use patterns in routing
3712
- npx ruflo@v3alpha hooks route --task "review authentication code" --use-patterns
3715
+ npx ruflo@latest hooks route --task "review authentication code" --use-patterns
3713
3716
  ```
3714
3717
 
3715
3718
  #### Benefits vs Fresh Install
@@ -3734,7 +3737,7 @@ npx ruflo@v3alpha hooks route --task "review authentication code" --use-patterns
3734
3737
 
3735
3738
  ```bash
3736
3739
  # Install a pattern pack
3737
- npx ruflo@v3alpha transfer-store download --id "security-essentials" --apply
3740
+ npx ruflo@latest transfer-store download --id "security-essentials" --apply
3738
3741
  ```
3739
3742
 
3740
3743
  ### RuVector WASM Neural Training
@@ -3752,25 +3755,25 @@ Real WASM-accelerated neural training using `@ruvector/learning-wasm` and `@ruve
3752
3755
 
3753
3756
  ```bash
3754
3757
  # List available pre-trained models from IPFS registry
3755
- npx ruflo@v3alpha neural list
3758
+ npx ruflo@latest neural list
3756
3759
 
3757
3760
  # List models by category
3758
- npx ruflo@v3alpha neural list --category security
3761
+ npx ruflo@latest neural list --category security
3759
3762
 
3760
3763
  # Train with WASM acceleration
3761
- npx ruflo@v3alpha neural train -p coordination -e 100 --wasm --flash --contrastive
3764
+ npx ruflo@latest neural train -p coordination -e 100 --wasm --flash --contrastive
3762
3765
 
3763
3766
  # Train security patterns
3764
- npx ruflo@v3alpha neural train -p security --wasm --contrastive
3767
+ npx ruflo@latest neural train -p security --wasm --contrastive
3765
3768
 
3766
3769
  # Benchmark WASM performance
3767
- npx ruflo@v3alpha neural benchmark -d 256 -i 1000
3770
+ npx ruflo@latest neural benchmark -d 256 -i 1000
3768
3771
 
3769
3772
  # Import pre-trained models
3770
- npx ruflo@v3alpha neural import --cid QmNr1yYMKi7YBaL8JSztQyuB5ZUaTdRMLxJC1pBpGbjsTc
3773
+ npx ruflo@latest neural import --cid QmNr1yYMKi7YBaL8JSztQyuB5ZUaTdRMLxJC1pBpGbjsTc
3771
3774
 
3772
3775
  # Export trained patterns to IPFS
3773
- npx ruflo@v3alpha neural export --ipfs --sign
3776
+ npx ruflo@latest neural export --ipfs --sign
3774
3777
  ```
3775
3778
 
3776
3779
  #### Benchmark Results
@@ -4109,9 +4112,9 @@ Skills are **reusable workflows** that combine agents, hooks, and patterns into
4109
4112
  /v3-security-overhaul
4110
4113
 
4111
4114
  # Via CLI
4112
- npx ruflo@v3alpha skill run github-code-review
4113
- npx ruflo@v3alpha skill list
4114
- npx ruflo@v3alpha skill info sparc-methodology
4115
+ npx ruflo@latest skill run github-code-review
4116
+ npx ruflo@latest skill list
4117
+ npx ruflo@latest skill info sparc-methodology
4115
4118
  ```
4116
4119
 
4117
4120
  ### Creating Custom Skills
@@ -4168,21 +4171,21 @@ The Claims system manages **who is working on what** — whether human or agent.
4168
4171
 
4169
4172
  | Command | What It Does | Example |
4170
4173
  |---------|--------------|---------|
4171
- | `issues list` | See all issues and their status | `npx ruflo@v3alpha issues list` |
4172
- | `issues claim` | Claim an issue for yourself/agent | `npx ruflo@v3alpha issues claim #123 --as coder-1` |
4173
- | `issues release` | Release your claim | `npx ruflo@v3alpha issues release #123` |
4174
- | `issues handoff` | Hand off to another worker | `npx ruflo@v3alpha issues handoff #123 --to reviewer` |
4175
- | `issues status` | Update progress on claimed work | `npx ruflo@v3alpha issues status #123 --progress 75` |
4176
- | `issues stealable` | List abandoned/stuck issues | `npx ruflo@v3alpha issues stealable` |
4177
- | `issues steal` | Take over stealable issue | `npx ruflo@v3alpha issues steal #123` |
4178
- | `issues load` | View agent workloads | `npx ruflo@v3alpha issues load` |
4179
- | `issues rebalance` | Redistribute work evenly | `npx ruflo@v3alpha issues rebalance --dry-run` |
4180
- | `issues board` | Visual board view | `npx ruflo@v3alpha issues board` |
4174
+ | `issues list` | See all issues and their status | `npx ruflo@latest issues list` |
4175
+ | `issues claim` | Claim an issue for yourself/agent | `npx ruflo@latest issues claim #123 --as coder-1` |
4176
+ | `issues release` | Release your claim | `npx ruflo@latest issues release #123` |
4177
+ | `issues handoff` | Hand off to another worker | `npx ruflo@latest issues handoff #123 --to reviewer` |
4178
+ | `issues status` | Update progress on claimed work | `npx ruflo@latest issues status #123 --progress 75` |
4179
+ | `issues stealable` | List abandoned/stuck issues | `npx ruflo@latest issues stealable` |
4180
+ | `issues steal` | Take over stealable issue | `npx ruflo@latest issues steal #123` |
4181
+ | `issues load` | View agent workloads | `npx ruflo@latest issues load` |
4182
+ | `issues rebalance` | Redistribute work evenly | `npx ruflo@latest issues rebalance --dry-run` |
4183
+ | `issues board` | Visual board view | `npx ruflo@latest issues board` |
4181
4184
 
4182
4185
  ### Visual Board View
4183
4186
 
4184
4187
  ```bash
4185
- npx ruflo@v3alpha issues board
4188
+ npx ruflo@latest issues board
4186
4189
  ```
4187
4190
 
4188
4191
  ```
@@ -4204,13 +4207,13 @@ When you need to pass work to someone else:
4204
4207
 
4205
4208
  ```bash
4206
4209
  # 1. Request handoff with context
4207
- npx ruflo@v3alpha issues handoff #123 \
4210
+ npx ruflo@latest issues handoff #123 \
4208
4211
  --to security-architect \
4209
4212
  --reason "Needs security review" \
4210
4213
  --progress 80
4211
4214
 
4212
4215
  # 2. Target accepts handoff
4213
- npx ruflo@v3alpha issues accept #123 --as security-architect
4216
+ npx ruflo@latest issues accept #123 --as security-architect
4214
4217
 
4215
4218
  # 3. Work continues with full context
4216
4219
  ```
@@ -4219,7 +4222,7 @@ npx ruflo@v3alpha issues accept #123 --as security-architect
4219
4222
 
4220
4223
  ```bash
4221
4224
  # View current load
4222
- npx ruflo@v3alpha issues load
4225
+ npx ruflo@latest issues load
4223
4226
 
4224
4227
  # Output:
4225
4228
  # Agent | Claims | Load | Status
@@ -4230,7 +4233,7 @@ npx ruflo@v3alpha issues load
4230
4233
  # security-arch | 0 | 0% | 🟢 Available
4231
4234
 
4232
4235
  # Auto-rebalance
4233
- npx ruflo@v3alpha issues rebalance
4236
+ npx ruflo@latest issues rebalance
4234
4237
  ```
4235
4238
 
4236
4239
  ### MCP Tools
@@ -4291,14 +4294,14 @@ The Route system uses **Q-Learning** to automatically assign tasks to the best a
4291
4294
 
4292
4295
  | Command | What It Does | Example |
4293
4296
  |---------|--------------|---------|
4294
- | `route task` | Get agent recommendation | `npx ruflo@v3alpha route task "implement OAuth2"` |
4295
- | `route explain` | Understand routing decision | `npx ruflo@v3alpha route explain "task"` |
4296
- | `route coverage` | Route based on test coverage | `npx ruflo@v3alpha route coverage` |
4297
+ | `route task` | Get agent recommendation | `npx ruflo@latest route task "implement OAuth2"` |
4298
+ | `route explain` | Understand routing decision | `npx ruflo@latest route explain "task"` |
4299
+ | `route coverage` | Route based on test coverage | `npx ruflo@latest route coverage` |
4297
4300
 
4298
4301
  ### Example: Route a Task
4299
4302
 
4300
4303
  ```bash
4301
- npx ruflo@v3alpha route task "refactor authentication to use JWT"
4304
+ npx ruflo@latest route task "refactor authentication to use JWT"
4302
4305
 
4303
4306
  # Output:
4304
4307
  # ╔══════════════════════════════════════════════════════════════╗
@@ -4325,7 +4328,7 @@ npx ruflo@v3alpha route task "refactor authentication to use JWT"
4325
4328
  Routes tasks to agents based on **test coverage gaps**:
4326
4329
 
4327
4330
  ```bash
4328
- npx ruflo@v3alpha route coverage
4331
+ npx ruflo@latest route coverage
4329
4332
 
4330
4333
  # Finds untested code and routes to tester agent:
4331
4334
  # • src/auth/jwt.ts - 23% coverage → tester
@@ -4337,10 +4340,10 @@ npx ruflo@v3alpha route coverage
4337
4340
 
4338
4341
  ```bash
4339
4342
  # Route via hooks (preferred)
4340
- npx ruflo@v3alpha hooks route "implement caching layer" --include-explanation
4343
+ npx ruflo@latest hooks route "implement caching layer" --include-explanation
4341
4344
 
4342
4345
  # Record outcome for learning
4343
- npx ruflo@v3alpha hooks post-task --task-id "task-123" --success true --agent coder
4346
+ npx ruflo@latest hooks post-task --task-id "task-123" --success true --agent coder
4344
4347
  ```
4345
4348
 
4346
4349
  ### How Q-Learning Improves Over Time
@@ -4374,7 +4377,7 @@ Use Ruflo packages directly in your TypeScript/JavaScript applications.
4374
4377
  npm install @claude-flow/cli @claude-flow/memory @claude-flow/swarm
4375
4378
 
4376
4379
  # Or install everything
4377
- npm install ruflo@v3alpha
4380
+ npm install ruflo@latest
4378
4381
  ```
4379
4382
 
4380
4383
  ### Quick Examples
@@ -5685,7 +5688,7 @@ Flow Nexus is a **cloud platform** for deploying and scaling Ruflo beyond your l
5685
5688
  /flow-nexus-swarm
5686
5689
 
5687
5690
  # Or via CLI
5688
- npx ruflo@v3alpha nexus swarm deploy \
5691
+ npx ruflo@latest nexus swarm deploy \
5689
5692
  --topology hierarchical \
5690
5693
  --max-agents 50 \
5691
5694
  --region us-east-1
@@ -5697,13 +5700,13 @@ Isolated execution environments for running untrusted code:
5697
5700
 
5698
5701
  ```bash
5699
5702
  # Create sandbox
5700
- npx ruflo@v3alpha nexus sandbox create --language python
5703
+ npx ruflo@latest nexus sandbox create --language python
5701
5704
 
5702
5705
  # Execute code safely
5703
- npx ruflo@v3alpha nexus sandbox exec --code "print('Hello')"
5706
+ npx ruflo@latest nexus sandbox exec --code "print('Hello')"
5704
5707
 
5705
5708
  # Cleanup
5706
- npx ruflo@v3alpha nexus sandbox destroy
5709
+ npx ruflo@latest nexus sandbox destroy
5707
5710
  ```
5708
5711
 
5709
5712
  ### Event-Driven Workflows
@@ -5729,10 +5732,10 @@ steps:
5729
5732
  # 1. Sign up at flow-nexus.io
5730
5733
  # 2. Get API key
5731
5734
  # 3. Configure
5732
- npx ruflo@v3alpha nexus configure --api-key <key>
5735
+ npx ruflo@latest nexus configure --api-key <key>
5733
5736
 
5734
5737
  # 4. Deploy
5735
- npx ruflo@v3alpha nexus swarm deploy
5738
+ npx ruflo@latest nexus swarm deploy
5736
5739
  ```
5737
5740
 
5738
5741
  </details>
@@ -5766,7 +5769,7 @@ Stream-Chain enables **sequential processing** where the output of one agent bec
5766
5769
  /stream-chain
5767
5770
 
5768
5771
  # Define pipeline
5769
- npx ruflo@v3alpha stream-chain create \
5772
+ npx ruflo@latest stream-chain create \
5770
5773
  --name "feature-pipeline" \
5771
5774
  --stages "researcher,architect,coder,tester,reviewer"
5772
5775
  ```
@@ -5808,11 +5811,11 @@ stages:
5808
5811
 
5809
5812
  ```bash
5810
5813
  # Run the pipeline
5811
- npx ruflo@v3alpha stream-chain run feature-pipeline \
5814
+ npx ruflo@latest stream-chain run feature-pipeline \
5812
5815
  --input '{"requirements": "Add user dashboard with analytics"}'
5813
5816
 
5814
5817
  # Monitor progress
5815
- npx ruflo@v3alpha stream-chain status feature-pipeline
5818
+ npx ruflo@latest stream-chain status feature-pipeline
5816
5819
  ```
5817
5820
 
5818
5821
  ### Use Cases
@@ -5852,7 +5855,7 @@ The Pair Programming skill provides **human-AI collaborative coding** with role
5852
5855
  /pair-programming --mode tdd
5853
5856
 
5854
5857
  # Via CLI
5855
- npx ruflo@v3alpha pair start --mode navigator
5858
+ npx ruflo@latest pair start --mode navigator
5856
5859
  ```
5857
5860
 
5858
5861
  ### TDD Mode Workflow
@@ -5892,16 +5895,16 @@ npx ruflo@v3alpha pair start --mode navigator
5892
5895
 
5893
5896
  ```bash
5894
5897
  # Switch roles mid-session
5895
- npx ruflo@v3alpha pair switch
5898
+ npx ruflo@latest pair switch
5896
5899
 
5897
5900
  # Get AI explanation
5898
- npx ruflo@v3alpha pair explain
5901
+ npx ruflo@latest pair explain
5899
5902
 
5900
5903
  # Run tests
5901
- npx ruflo@v3alpha pair test
5904
+ npx ruflo@latest pair test
5902
5905
 
5903
5906
  # End session with summary
5904
- npx ruflo@v3alpha pair end
5907
+ npx ruflo@latest pair end
5905
5908
  ```
5906
5909
 
5907
5910
  </details>
@@ -5958,22 +5961,22 @@ Detection Time: 0.04ms | 50+ Patterns | Self-Learning | HNSW Vector Search
5958
5961
 
5959
5962
  ```bash
5960
5963
  # Basic threat scan
5961
- npx ruflo@v3alpha security defend -i "ignore previous instructions"
5964
+ npx ruflo@latest security defend -i "ignore previous instructions"
5962
5965
 
5963
5966
  # Scan a file
5964
- npx ruflo@v3alpha security defend -f ./user-prompts.txt
5967
+ npx ruflo@latest security defend -f ./user-prompts.txt
5965
5968
 
5966
5969
  # Quick scan (faster)
5967
- npx ruflo@v3alpha security defend -i "some text" --quick
5970
+ npx ruflo@latest security defend -i "some text" --quick
5968
5971
 
5969
5972
  # JSON output
5970
- npx ruflo@v3alpha security defend -i "test" -o json
5973
+ npx ruflo@latest security defend -i "test" -o json
5971
5974
 
5972
5975
  # View statistics
5973
- npx ruflo@v3alpha security defend --stats
5976
+ npx ruflo@latest security defend --stats
5974
5977
 
5975
5978
  # Full security audit
5976
- npx ruflo@v3alpha security scan --depth full
5979
+ npx ruflo@latest security scan --depth full
5977
5980
  ```
5978
5981
 
5979
5982
  ### MCP Tools
@@ -6564,10 +6567,10 @@ npm run bench:attention
6564
6567
  npm run bench:startup
6565
6568
 
6566
6569
  # Performance report
6567
- npx ruflo@v3alpha performance report
6570
+ npx ruflo@latest performance report
6568
6571
 
6569
6572
  # Benchmark specific suite
6570
- npx ruflo@v3alpha performance benchmark --suite memory
6573
+ npx ruflo@latest performance benchmark --suite memory
6571
6574
  ```
6572
6575
 
6573
6576
  </details>
@@ -7244,25 +7247,25 @@ Ruflo looks for configuration in this order:
7244
7247
 
7245
7248
  ```bash
7246
7249
  # View current configuration
7247
- npx ruflo@v3alpha config list
7250
+ npx ruflo@latest config list
7248
7251
 
7249
7252
  # Get specific value
7250
- npx ruflo@v3alpha config get --key memory.type
7253
+ npx ruflo@latest config get --key memory.type
7251
7254
 
7252
7255
  # Set configuration value
7253
- npx ruflo@v3alpha config set --key swarm.maxAgents --value 10
7256
+ npx ruflo@latest config set --key swarm.maxAgents --value 10
7254
7257
 
7255
7258
  # Export configuration
7256
- npx ruflo@v3alpha config export > my-config.json
7259
+ npx ruflo@latest config export > my-config.json
7257
7260
 
7258
7261
  # Import configuration
7259
- npx ruflo@v3alpha config import --file my-config.json
7262
+ npx ruflo@latest config import --file my-config.json
7260
7263
 
7261
7264
  # Reset to defaults
7262
- npx ruflo@v3alpha config reset --key swarm
7265
+ npx ruflo@latest config reset --key swarm
7263
7266
 
7264
7267
  # Initialize with wizard
7265
- npx ruflo@v3alpha init --wizard
7268
+ npx ruflo@latest init --wizard
7266
7269
  ```
7267
7270
 
7268
7271
  </details>
@@ -7286,7 +7289,7 @@ lsof -i :3000
7286
7289
  # Kill existing process
7287
7290
  kill -9 <PID>
7288
7291
  # Restart MCP server
7289
- npx ruflo@v3alpha mcp start
7292
+ npx ruflo@latest mcp start
7290
7293
  ```
7291
7294
 
7292
7295
  **Agent spawn failures**
@@ -7300,9 +7303,9 @@ export CLAUDE_FLOW_MAX_AGENTS=5
7300
7303
  **Pattern search returning no results**
7301
7304
  ```bash
7302
7305
  # Verify patterns are stored
7303
- npx ruflo@v3alpha hooks metrics
7306
+ npx ruflo@latest hooks metrics
7304
7307
  # Re-run pretraining if empty
7305
- npx ruflo@v3alpha hooks pretrain
7308
+ npx ruflo@latest hooks pretrain
7306
7309
  ```
7307
7310
 
7308
7311
  **Windows path issues**
@@ -7370,20 +7373,20 @@ cp -r ./data ./data-backup-v2
7370
7373
  cp -r ./.ruflo ./.ruflo-backup-v2
7371
7374
 
7372
7375
  # STEP 2: Check migration status
7373
- npx ruflo@v3alpha migrate status
7376
+ npx ruflo@latest migrate status
7374
7377
 
7375
7378
  # STEP 3: Run migration with dry-run first
7376
- npx ruflo@v3alpha migrate run --dry-run
7379
+ npx ruflo@latest migrate run --dry-run
7377
7380
 
7378
7381
  # STEP 4: Execute migration
7379
- npx ruflo@v3alpha migrate run --from v2
7382
+ npx ruflo@latest migrate run --from v2
7380
7383
 
7381
7384
  # STEP 5: Verify migration
7382
- npx ruflo@v3alpha migrate verify
7385
+ npx ruflo@latest migrate verify
7383
7386
 
7384
7387
  # STEP 6: Initialize V3 learning
7385
- npx ruflo@v3alpha hooks pretrain
7386
- npx ruflo@v3alpha doctor --fix
7388
+ npx ruflo@latest hooks pretrain
7389
+ npx ruflo@latest doctor --fix
7387
7390
  ```
7388
7391
 
7389
7392
  ### Command Changes Reference
@@ -7450,10 +7453,10 @@ If migration fails, you can rollback:
7450
7453
 
7451
7454
  ```bash
7452
7455
  # Check rollback options
7453
- npx ruflo@v3alpha migrate rollback --list
7456
+ npx ruflo@latest migrate rollback --list
7454
7457
 
7455
7458
  # Rollback to V2
7456
- npx ruflo@v3alpha migrate rollback --to v2
7459
+ npx ruflo@latest migrate rollback --to v2
7457
7460
 
7458
7461
  # Restore backup manually if needed
7459
7462
  rm -rf ./data
@@ -7462,12 +7465,12 @@ cp -r ./data-backup-v2 ./data
7462
7465
 
7463
7466
  ### Post-Migration Checklist
7464
7467
 
7465
- - [ ] Verify all agents spawn correctly: `npx ruflo@v3alpha agent list`
7466
- - [ ] Check memory search works: `npx ruflo@v3alpha memory search -q "test"`
7467
- - [ ] Confirm MCP server starts: `npx ruflo@v3alpha mcp start`
7468
- - [ ] Run doctor diagnostics: `npx ruflo@v3alpha doctor`
7469
- - [ ] Test a simple swarm: `npx ruflo@v3alpha swarm init --topology mesh`
7470
- - [ ] Bootstrap learning: `npx ruflo@v3alpha hooks pretrain`
7468
+ - [ ] Verify all agents spawn correctly: `npx ruflo@latest agent list`
7469
+ - [ ] Check memory search works: `npx ruflo@latest memory search -q "test"`
7470
+ - [ ] Confirm MCP server starts: `npx ruflo@latest mcp start`
7471
+ - [ ] Run doctor diagnostics: `npx ruflo@latest doctor`
7472
+ - [ ] Test a simple swarm: `npx ruflo@latest swarm init --topology mesh`
7473
+ - [ ] Bootstrap learning: `npx ruflo@latest hooks pretrain`
7471
7474
 
7472
7475
  ### Common Migration Issues
7473
7476
 
@@ -7511,7 +7514,7 @@ cp -r ./data-backup-v2 ./data
7511
7514
  ### Additional Resources
7512
7515
 
7513
7516
  - [V2 Documentation](./v2/README.md)
7514
- - [Architecture Decisions (ADRs)](./v3/docs/adr/)
7517
+ - [Architecture Decisions (ADRs)](./v3/implementation/adrs/)
7515
7518
  - [API Reference](./v2/docs/technical/)
7516
7519
  - [Examples](./v2/examples/)
7517
7520