claude-flow-novice 1.3.6 → 1.5.0

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 (345) hide show
  1. package/.claude/agents/analysis/code-analyzer.md +3 -20
  2. package/.claude/agents/analysis/code-review/analyze-code-quality.md +1 -1
  3. package/.claude/agents/analyst.md +208 -550
  4. package/.claude/agents/architect.md +136 -469
  5. package/.claude/agents/architecture/system-architect.md +20 -1
  6. package/.claude/agents/architecture/system-design/arch-system-design.md +1 -1
  7. package/.claude/agents/base-template-generator.md +24 -1
  8. package/.claude/agents/coder.md +87 -303
  9. package/.claude/agents/consensus/byzantine-coordinator.md +4 -21
  10. package/.claude/agents/consensus/consensus-builder.md +3 -20
  11. package/.claude/agents/consensus/crdt-synchronizer.md +4 -21
  12. package/.claude/agents/consensus/gossip-coordinator.md +4 -21
  13. package/.claude/agents/consensus/performance-benchmarker.md +4 -21
  14. package/.claude/agents/consensus/quorum-manager.md +4 -21
  15. package/.claude/agents/consensus/raft-manager.md +4 -21
  16. package/.claude/agents/consensus/security-manager.md +4 -21
  17. package/.claude/agents/coordinator.md +22 -11
  18. package/.claude/agents/data/ml/data-ml-model.md +2 -2
  19. package/.claude/agents/development/backend/dev-backend-api.md +2 -2
  20. package/.claude/agents/devops/ci-cd/ops-cicd-github.md +2 -2
  21. package/.claude/agents/devops/devops-engineer.md +134 -402
  22. package/.claude/agents/documentation/api-docs/docs-api-openapi.md +2 -2
  23. package/.claude/agents/github/code-review-swarm.md +1 -1
  24. package/.claude/agents/github/github-specialist.md +856 -0
  25. package/.claude/agents/github/pr-manager.md +1 -1
  26. package/.claude/agents/github/release-manager.md +1 -1
  27. package/.claude/agents/neural/neural-pattern-agent.md +762 -0
  28. package/.claude/agents/optimization/benchmark-suite.md +1 -1
  29. package/.claude/agents/optimization/perf-analyzer.md +1 -1
  30. package/.claude/agents/optimization/performance-monitor.md +1 -1
  31. package/.claude/agents/planner.md +135 -0
  32. package/.claude/agents/researcher.md +22 -9
  33. package/.claude/agents/reviewer.md +291 -0
  34. package/.claude/agents/security/security-specialist.md +1 -1
  35. package/.claude/agents/sparc/architecture.md +1 -1
  36. package/.claude/agents/sparc/pseudocode.md +1 -1
  37. package/.claude/agents/sparc/refinement.md +1 -1
  38. package/.claude/agents/sparc/specification.md +1 -1
  39. package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +2 -2
  40. package/.claude/agents/tester.md +21 -11
  41. package/.claude/agents/testing/unit/tdd-london-swarm.md +1 -1
  42. package/.claude/agents/testing/validation/production-validator.md +1 -1
  43. package/.claude/commands/claude-soul.js +1 -1
  44. package/.claude/hooks.json +12 -15
  45. package/{.claude → .claude-flow-novice/.claude}/agents/MIGRATION_SUMMARY.md +1 -1
  46. package/.claude-flow-novice/.claude/agents/analysis/code-analyzer.md +192 -0
  47. package/.claude-flow-novice/.claude/agents/analysis/code-review/analyze-code-quality.md +180 -0
  48. package/.claude-flow-novice/.claude/agents/analyst.md +300 -0
  49. package/.claude-flow-novice/.claude/agents/architect.md +557 -0
  50. package/.claude-flow-novice/.claude/agents/architecture/system-architect.md +630 -0
  51. package/.claude-flow-novice/.claude/agents/architecture/system-design/arch-system-design.md +156 -0
  52. package/.claude-flow-novice/.claude/agents/base-template-generator.md +65 -0
  53. package/.claude-flow-novice/.claude/agents/coder.md +180 -0
  54. package/.claude-flow-novice/.claude/agents/consensus/byzantine-coordinator.md +46 -0
  55. package/.claude-flow-novice/.claude/agents/consensus/consensus-builder.md +225 -0
  56. package/.claude-flow-novice/.claude/agents/consensus/crdt-synchronizer.md +980 -0
  57. package/.claude-flow-novice/.claude/agents/consensus/gossip-coordinator.md +46 -0
  58. package/.claude-flow-novice/.claude/agents/consensus/performance-benchmarker.md +834 -0
  59. package/.claude-flow-novice/.claude/agents/consensus/quorum-manager.md +806 -0
  60. package/.claude-flow-novice/.claude/agents/consensus/raft-manager.md +46 -0
  61. package/.claude-flow-novice/.claude/agents/consensus/security-manager.md +605 -0
  62. package/.claude-flow-novice/.claude/agents/coordinator.md +842 -0
  63. package/.claude-flow-novice/.claude/agents/data/ml/data-ml-model.md +193 -0
  64. package/.claude-flow-novice/.claude/agents/development/backend/dev-backend-api.md +142 -0
  65. package/.claude-flow-novice/.claude/agents/devops/ci-cd/ops-cicd-github.md +164 -0
  66. package/.claude-flow-novice/.claude/agents/devops/devops-engineer.md +638 -0
  67. package/.claude-flow-novice/.claude/agents/documentation/api-docs/docs-api-openapi.md +174 -0
  68. package/.claude-flow-novice/.claude/agents/github/code-review-swarm.md +538 -0
  69. package/.claude-flow-novice/.claude/agents/github/github-modes.md +173 -0
  70. package/.claude-flow-novice/.claude/agents/github/github-specialist.md +856 -0
  71. package/.claude-flow-novice/.claude/agents/github/issue-tracker.md +319 -0
  72. package/.claude-flow-novice/.claude/agents/github/multi-repo-swarm.md +553 -0
  73. package/.claude-flow-novice/.claude/agents/github/pr-manager.md +191 -0
  74. package/.claude-flow-novice/.claude/agents/github/project-board-sync.md +509 -0
  75. package/.claude-flow-novice/.claude/agents/github/release-manager.md +367 -0
  76. package/.claude-flow-novice/.claude/agents/github/release-swarm.md +583 -0
  77. package/.claude-flow-novice/.claude/agents/github/repo-architect.md +398 -0
  78. package/.claude-flow-novice/.claude/agents/github/swarm-issue.md +573 -0
  79. package/.claude-flow-novice/.claude/agents/github/swarm-pr.md +428 -0
  80. package/.claude-flow-novice/.claude/agents/github/sync-coordinator.md +452 -0
  81. package/.claude-flow-novice/.claude/agents/github/workflow-automation.md +635 -0
  82. package/.claude-flow-novice/.claude/agents/goal/goal-planner.md +73 -0
  83. package/.claude-flow-novice/.claude/agents/neural/neural-pattern-agent.md +762 -0
  84. package/.claude-flow-novice/.claude/agents/neural/safla-neural.md +74 -0
  85. package/.claude-flow-novice/.claude/agents/optimization/benchmark-suite.md +665 -0
  86. package/.claude-flow-novice/.claude/agents/optimization/load-balancer.md +431 -0
  87. package/.claude-flow-novice/.claude/agents/optimization/perf-analyzer.md +725 -0
  88. package/.claude-flow-novice/.claude/agents/optimization/performance-monitor.md +672 -0
  89. package/.claude-flow-novice/.claude/agents/optimization/resource-allocator.md +674 -0
  90. package/.claude-flow-novice/.claude/agents/optimization/topology-optimizer.md +808 -0
  91. package/.claude-flow-novice/.claude/agents/planner.md +135 -0
  92. package/.claude-flow-novice/.claude/agents/researcher.md +185 -0
  93. package/.claude-flow-novice/.claude/agents/reviewer.md +291 -0
  94. package/.claude-flow-novice/.claude/agents/security/security-specialist.md +978 -0
  95. package/.claude-flow-novice/.claude/agents/sparc/architecture.md +472 -0
  96. package/.claude-flow-novice/.claude/agents/sparc/pseudocode.md +318 -0
  97. package/.claude-flow-novice/.claude/agents/sparc/refinement.md +525 -0
  98. package/.claude-flow-novice/.claude/agents/sparc/specification.md +276 -0
  99. package/.claude-flow-novice/.claude/agents/specialized/mobile/spec-mobile-react-native.md +226 -0
  100. package/.claude-flow-novice/.claude/agents/sublinear/consciousness-evolution-agent.md +499 -0
  101. package/.claude-flow-novice/.claude/agents/sublinear/matrix-solver-agent.md +113 -0
  102. package/.claude-flow-novice/.claude/agents/sublinear/nanosecond-scheduler-agent.md +644 -0
  103. package/.claude-flow-novice/.claude/agents/sublinear/pagerank-agent.md +699 -0
  104. package/.claude-flow-novice/.claude/agents/sublinear/phi-calculator-agent.md +749 -0
  105. package/.claude-flow-novice/.claude/agents/sublinear/psycho-symbolic-agent.md +543 -0
  106. package/.claude-flow-novice/.claude/agents/sublinear/sublinear.md +816 -0
  107. package/.claude-flow-novice/.claude/agents/sublinear/temporal-advantage-agent.md +360 -0
  108. package/.claude-flow-novice/.claude/agents/swarm/adaptive-coordinator-enhanced.md +746 -0
  109. package/.claude-flow-novice/.claude/agents/swarm/adaptive-coordinator.md +396 -0
  110. package/.claude-flow-novice/.claude/agents/swarm/hierarchical-coordinator.md +300 -0
  111. package/.claude-flow-novice/.claude/agents/swarm/mesh-coordinator.md +435 -0
  112. package/.claude-flow-novice/.claude/agents/templates/automation-smart-agent.md +205 -0
  113. package/.claude-flow-novice/.claude/agents/templates/coordinator-swarm-init.md +90 -0
  114. package/.claude-flow-novice/.claude/agents/templates/github-pr-manager.md +177 -0
  115. package/.claude-flow-novice/.claude/agents/templates/implementer-sparc-coder.md +259 -0
  116. package/.claude-flow-novice/.claude/agents/templates/memory-coordinator.md +187 -0
  117. package/.claude-flow-novice/.claude/agents/templates/migration-plan.md +746 -0
  118. package/.claude-flow-novice/.claude/agents/templates/orchestrator-task.md +139 -0
  119. package/.claude-flow-novice/.claude/agents/templates/performance-analyzer.md +199 -0
  120. package/.claude-flow-novice/.claude/agents/templates/sparc-coordinator.md +183 -0
  121. package/.claude-flow-novice/.claude/agents/tester.md +663 -0
  122. package/.claude-flow-novice/.claude/agents/testing/e2e/playwright-agent.md +249 -0
  123. package/.claude-flow-novice/.claude/agents/testing/unit/tdd-london-swarm.md +244 -0
  124. package/.claude-flow-novice/.claude/agents/testing/validation/production-validator.md +395 -0
  125. package/.claude-flow-novice/dist/index.js +12 -24
  126. package/.claude-flow-novice/dist/index.js.map +1 -0
  127. package/.claude-flow-novice/dist/src/agents/agent-manager.js +123 -69
  128. package/.claude-flow-novice/dist/src/agents/agent-manager.js.map +1 -1
  129. package/.claude-flow-novice/dist/src/agents/github/utils/hook-integration.js +7 -7
  130. package/.claude-flow-novice/dist/src/agents/github/utils/hook-integration.js.map +1 -1
  131. package/.claude-flow-novice/dist/src/agents/stage3-integration-validator.js +485 -0
  132. package/.claude-flow-novice/dist/src/agents/stage3-integration-validator.js.map +1 -0
  133. package/.claude-flow-novice/dist/src/agents/unified-ultra-fast-agent-manager.js +630 -0
  134. package/.claude-flow-novice/dist/src/agents/unified-ultra-fast-agent-manager.js.map +1 -0
  135. package/.claude-flow-novice/dist/src/cli/commands/agent.js +1 -1
  136. package/.claude-flow-novice/dist/src/cli/commands/agent.js.map +1 -1
  137. package/.claude-flow-novice/dist/src/cli/commands/config-integration.js +6 -6
  138. package/.claude-flow-novice/dist/src/cli/commands/enterprise.js +18 -18
  139. package/.claude-flow-novice/dist/src/cli/commands/enterprise.js.map +1 -1
  140. package/.claude-flow-novice/dist/src/cli/commands/goal-init.js +4 -4
  141. package/.claude-flow-novice/dist/src/cli/commands/help-new.js +23 -23
  142. package/.claude-flow-novice/dist/src/cli/commands/help-new.js.map +1 -1
  143. package/.claude-flow-novice/dist/src/cli/commands/help.js +74 -74
  144. package/.claude-flow-novice/dist/src/cli/commands/help.js.map +1 -1
  145. package/.claude-flow-novice/dist/src/cli/commands/hive-mind/pause.js +2 -2
  146. package/.claude-flow-novice/dist/src/cli/commands/hive-mind/pause.js.map +1 -1
  147. package/.claude-flow-novice/dist/src/cli/commands/hive.js +4 -4
  148. package/.claude-flow-novice/dist/src/cli/commands/index.js +103 -132
  149. package/.claude-flow-novice/dist/src/cli/commands/index.js.map +1 -1
  150. package/.claude-flow-novice/dist/src/cli/commands/mcp.js +1 -1
  151. package/.claude-flow-novice/dist/src/cli/commands/migrate.js +4 -4
  152. package/.claude-flow-novice/dist/src/cli/commands/migrate.js.map +1 -1
  153. package/.claude-flow-novice/dist/src/cli/commands/monitor.js +1 -1
  154. package/.claude-flow-novice/dist/src/cli/commands/neural-init.js +4 -4
  155. package/.claude-flow-novice/dist/src/cli/commands/ruv-swarm.js +8 -8
  156. package/.claude-flow-novice/dist/src/cli/commands/sparc.js +12 -12
  157. package/.claude-flow-novice/dist/src/cli/commands/sparc.js.map +1 -1
  158. package/.claude-flow-novice/dist/src/cli/commands/start/start-command.js +3 -3
  159. package/.claude-flow-novice/dist/src/cli/commands/status.js +1 -1
  160. package/.claude-flow-novice/dist/src/cli/commands/swarm.js +7 -7
  161. package/.claude-flow-novice/dist/src/cli/commands/swarm.js.map +1 -1
  162. package/.claude-flow-novice/dist/src/cli/commands/verification.js +18 -18
  163. package/.claude-flow-novice/dist/src/cli/completion.js +54 -54
  164. package/.claude-flow-novice/dist/src/cli/completion.js.map +1 -1
  165. package/.claude-flow-novice/dist/src/cli/consolidated/ConsolidatedCLI.js +11 -11
  166. package/.claude-flow-novice/dist/src/cli/consolidated/ConsolidatedCLI.js.map +1 -1
  167. package/.claude-flow-novice/dist/src/cli/consolidated/core/CommandHandlers.js +31 -31
  168. package/.claude-flow-novice/dist/src/cli/consolidated/core/TierManager.js +39 -39
  169. package/.claude-flow-novice/dist/src/cli/consolidated/core/TierManager.js.map +1 -1
  170. package/.claude-flow-novice/dist/src/cli/consolidated/help/InteractiveHelp.js +25 -25
  171. package/.claude-flow-novice/dist/src/cli/consolidated/help/InteractiveHelp.js.map +1 -1
  172. package/.claude-flow-novice/dist/src/cli/consolidated/routing/CommandRouter.js +8 -8
  173. package/.claude-flow-novice/dist/src/cli/consolidated/routing/CommandRouter.js.map +1 -1
  174. package/.claude-flow-novice/dist/src/cli/consolidated/utils/IntelligentDefaults.js +6 -6
  175. package/.claude-flow-novice/dist/src/cli/consolidated/utils/IntelligentDefaults.js.map +1 -1
  176. package/.claude-flow-novice/dist/src/cli/consolidated/utils/PerformanceOptimizer.js +7 -7
  177. package/.claude-flow-novice/dist/src/cli/consolidated/utils/PerformanceOptimizer.js.map +1 -1
  178. package/.claude-flow-novice/dist/src/cli/index-remote.js +10 -10
  179. package/.claude-flow-novice/dist/src/cli/index.js +1 -1
  180. package/.claude-flow-novice/dist/src/cli/init/directory-structure.js +8 -8
  181. package/.claude-flow-novice/dist/src/cli/init/index.js +3 -3
  182. package/.claude-flow-novice/dist/src/cli/init/sparc-environment.js +67 -67
  183. package/.claude-flow-novice/dist/src/cli/init/swarm-commands.js +18 -18
  184. package/.claude-flow-novice/dist/src/cli/node-repl.js +2 -2
  185. package/.claude-flow-novice/dist/src/cli/repl.js +1 -1
  186. package/.claude-flow-novice/dist/src/cli/simple-cli.js +68 -68
  187. package/.claude-flow-novice/dist/src/cli/simple-cli.js.map +1 -1
  188. package/.claude-flow-novice/dist/src/cli/simple-commands/session-start-soul.js +271 -0
  189. package/.claude-flow-novice/dist/src/cli/simple-orchestrator.js +7 -7
  190. package/.claude-flow-novice/dist/src/cli/simple-orchestrator.js.map +1 -1
  191. package/.claude-flow-novice/dist/src/cli/ui/fallback-handler.js +7 -7
  192. package/.claude-flow-novice/dist/src/communication/enhanced-event-bus.js +816 -0
  193. package/.claude-flow-novice/dist/src/communication/enhanced-event-bus.js.map +1 -0
  194. package/.claude-flow-novice/dist/src/communication/failure-recovery-system.js +812 -0
  195. package/.claude-flow-novice/dist/src/communication/failure-recovery-system.js.map +1 -0
  196. package/.claude-flow-novice/dist/src/communication/optimized-serialization.js +369 -0
  197. package/.claude-flow-novice/dist/src/communication/optimized-serialization.js.map +1 -0
  198. package/.claude-flow-novice/dist/src/communication/performance-optimizations.js +526 -0
  199. package/.claude-flow-novice/dist/src/communication/performance-optimizations.js.map +1 -0
  200. package/.claude-flow-novice/dist/src/communication/performance-validator.js +532 -0
  201. package/.claude-flow-novice/dist/src/communication/performance-validator.js.map +1 -0
  202. package/.claude-flow-novice/dist/src/communication/priority-message-queue.js +525 -0
  203. package/.claude-flow-novice/dist/src/communication/priority-message-queue.js.map +1 -0
  204. package/.claude-flow-novice/dist/src/communication/shared-buffer-bus.js +218 -0
  205. package/.claude-flow-novice/dist/src/communication/shared-buffer-bus.js.map +1 -0
  206. package/.claude-flow-novice/dist/src/communication/ultra-fast-communication-bus.js +521 -0
  207. package/.claude-flow-novice/dist/src/communication/ultra-fast-communication-bus.js.map +1 -0
  208. package/.claude-flow-novice/dist/src/communication/ultra-fast-serialization.js +563 -0
  209. package/.claude-flow-novice/dist/src/communication/ultra-fast-serialization.js.map +1 -0
  210. package/.claude-flow-novice/dist/src/communication/websocket-cluster.js +344 -0
  211. package/.claude-flow-novice/dist/src/communication/websocket-cluster.js.map +1 -0
  212. package/.claude-flow-novice/dist/src/communication/zero-copy-structures.js +369 -0
  213. package/.claude-flow-novice/dist/src/communication/zero-copy-structures.js.map +1 -0
  214. package/.claude-flow-novice/dist/src/config/config-manager.js +1 -1
  215. package/.claude-flow-novice/dist/src/config/config-manager.js.map +1 -1
  216. package/.claude-flow-novice/dist/src/config/core/intelligent-configuration-manager.js +1 -1
  217. package/.claude-flow-novice/dist/src/config/integration/hooks-integration.js +6 -6
  218. package/.claude-flow-novice/dist/src/config/integration/hooks-integration.js.map +1 -1
  219. package/.claude-flow-novice/dist/src/config/migration/config-migration.js +1 -1
  220. package/.claude-flow-novice/dist/src/config/ruv-swarm-integration.js +1 -1
  221. package/.claude-flow-novice/dist/src/config/utils/zero-config-setup.js +1 -1
  222. package/.claude-flow-novice/dist/src/config/utils/zero-config-setup.js.map +1 -1
  223. package/.claude-flow-novice/dist/src/config/web-portal-config.js +0 -9
  224. package/.claude-flow-novice/dist/src/config/web-portal-config.js.map +1 -1
  225. package/.claude-flow-novice/dist/src/config/zero-config-setup.js +18 -18
  226. package/.claude-flow-novice/dist/src/config/zero-config-setup.js.map +1 -1
  227. package/.claude-flow-novice/dist/src/core/logger.js +33 -10
  228. package/.claude-flow-novice/dist/src/core/logger.js.map +1 -1
  229. package/.claude-flow-novice/dist/src/migration/index.js +1 -1
  230. package/.claude-flow-novice/dist/src/migration/index.js.map +1 -1
  231. package/.claude-flow-novice/dist/src/migration/migration-runner.js +4 -4
  232. package/.claude-flow-novice/dist/src/migration/migration-runner.js.map +1 -1
  233. package/.claude-flow-novice/dist/src/monitoring/agent-health-monitor.js +430 -0
  234. package/.claude-flow-novice/dist/src/monitoring/agent-health-monitor.js.map +1 -0
  235. package/.claude-flow-novice/dist/src/slash-commands/claude-soul.js +248 -365
  236. package/.claude-flow-novice/dist/src/slash-commands/register-all-commands.js +1 -1
  237. package/.claude-flow-novice/dist/src/swarm/claude-code-interface.js +1 -1
  238. package/.claude-flow-novice/dist/src/swarm/claude-flow-executor.js +1 -1
  239. package/.claude-flow-novice/dist/src/swarm/consensus-coordinator.js +471 -0
  240. package/.claude-flow-novice/dist/src/swarm/consensus-coordinator.js.map +1 -0
  241. package/.claude-flow-novice/dist/src/swarm/hive-mind-integration.js +1 -1
  242. package/.claude-flow-novice/dist/src/swarm/large-scale-coordinator.js +543 -0
  243. package/.claude-flow-novice/dist/src/swarm/large-scale-coordinator.js.map +1 -0
  244. package/.claude-flow-novice/dist/src/swarm/optimizations/connection-pool.js +1 -1
  245. package/.claude-flow-novice/dist/src/swarm/optimizations/optimized-executor.js +1 -1
  246. package/.claude-flow-novice/dist/src/swarm/types.js.map +1 -1
  247. package/.claude-flow-novice/dist/src/swarm-fullstack/integrations/communication-bridge.js +709 -0
  248. package/.claude-flow-novice/dist/src/swarm-fullstack/integrations/communication-bridge.js.map +1 -0
  249. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/api-contract-validator.js +612 -0
  250. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/api-contract-validator.js.map +1 -0
  251. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/backend-test-orchestrator.js +679 -0
  252. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/backend-test-orchestrator.js.map +1 -0
  253. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/frontend-test-orchestrator.js +654 -0
  254. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/frontend-test-orchestrator.js.map +1 -0
  255. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/visual-regression.js +402 -0
  256. package/.claude-flow-novice/dist/src/swarm-fullstack/testing/visual-regression.js.map +1 -0
  257. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/convergence-detector.js +459 -0
  258. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/convergence-detector.js.map +1 -0
  259. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/fix-coordinator.js +513 -0
  260. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/fix-coordinator.js.map +1 -0
  261. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/index.js +19 -0
  262. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/index.js.map +1 -0
  263. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/iterative-build-test.js +568 -0
  264. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/iterative-build-test.js.map +1 -0
  265. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/regression-test-manager.js +418 -0
  266. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/regression-test-manager.js.map +1 -0
  267. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/test-result-analyzer.js +530 -0
  268. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/test-result-analyzer.js.map +1 -0
  269. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/workflow-metrics.js +250 -0
  270. package/.claude-flow-novice/dist/src/swarm-fullstack/workflows/workflow-metrics.js.map +1 -0
  271. package/.claude-flow-novice/dist/src/task/index.js +7 -7
  272. package/.claude-flow-novice/dist/src/validation/fullstack-integration-validator.js +420 -0
  273. package/.claude-flow-novice/dist/src/validation/fullstack-integration-validator.js.map +1 -0
  274. package/.claude-flow-novice/dist/src/validation/production-validator.js +1435 -0
  275. package/.claude-flow-novice/dist/src/validation/production-validator.js.map +1 -0
  276. package/.claude-flow-novice/dist/src/verification/cli-integration.js +3 -3
  277. package/.claude-flow-novice/dist/src/verification/hooks.js +1 -1
  278. package/CHANGELOG.md +13 -0
  279. package/CLAUDE.md +1029 -68
  280. package/README.md +0 -1
  281. package/config/build/babel.config.cjs +19 -11
  282. package/config/typescript/tsconfig.json +1 -1
  283. package/examples/claude-api-error-handling.ts +2 -2
  284. package/examples/frontend-testing-demo.ts +470 -0
  285. package/examples/litellm/config/config.yaml +1 -1
  286. package/package.json +13 -7
  287. package/scripts/build/unified-builder.sh +6 -6
  288. package/scripts/build/validate-agents.js +238 -0
  289. package/scripts/run-production-validation.ts +590 -0
  290. package/scripts/test/test-coordination-features.ts +2 -2
  291. package/scripts/validate-stage3-performance.ts +377 -0
  292. package/src/cli/simple-commands/hooks.js +1 -0
  293. package/src/cli/simple-commands/init/agent-copier.js +0 -2
  294. package/src/cli/simple-commands/init/index.js +5 -97
  295. package/src/cli/simple-commands/init/templates/CLAUDE.md +162 -1158
  296. package/src/cli/simple-commands/init/templates/claude-md.js +38 -157
  297. package/src/swarm-fullstack/integrations/communication-bridge.ts +931 -0
  298. package/src/swarm-fullstack/testing/api-contract-validator.ts +909 -0
  299. package/src/swarm-fullstack/testing/backend-test-orchestrator.ts +791 -0
  300. package/src/swarm-fullstack/testing/frontend-test-orchestrator.ts +853 -0
  301. package/src/swarm-fullstack/testing/visual-regression.ts +507 -0
  302. package/src/swarm-fullstack/workflows/convergence-detector.ts +736 -0
  303. package/src/swarm-fullstack/workflows/fix-coordinator.ts +677 -0
  304. package/src/swarm-fullstack/workflows/index.ts +75 -0
  305. package/src/swarm-fullstack/workflows/iterative-build-test.ts +829 -0
  306. package/src/swarm-fullstack/workflows/regression-test-manager.ts +590 -0
  307. package/src/swarm-fullstack/workflows/test-result-analyzer.ts +739 -0
  308. package/src/swarm-fullstack/workflows/workflow-metrics.ts +399 -0
  309. package/wiki/command-reference/README.md +1 -2
  310. package/wiki/command-reference/mcp-tools/README.md +1 -1
  311. package/wiki/getting-started/claude-code-mcp/README.md +1 -2
  312. package/wiki/getting-started/installation/README.md +2 -10
  313. package/.claude/commands/flow-nexus/app-store.md +0 -124
  314. package/.claude/commands/flow-nexus/challenges.md +0 -120
  315. package/.claude/commands/flow-nexus/login-registration.md +0 -65
  316. package/.claude/commands/flow-nexus/neural-network.md +0 -134
  317. package/.claude/commands/flow-nexus/payments.md +0 -116
  318. package/.claude/commands/flow-nexus/sandbox.md +0 -83
  319. package/.claude/commands/flow-nexus/swarm.md +0 -87
  320. package/.claude/commands/flow-nexus/user-tools.md +0 -152
  321. package/.claude/commands/flow-nexus/workflow.md +0 -115
  322. package/.claude-flow-novice/dist/cli/index.js +0 -45
  323. package/.claude-flow-novice/dist/core/index.js +0 -22
  324. package/.claude-flow-novice/dist/mcp/mcp-server-novice.js +0 -595
  325. package/.claude-flow-novice/dist/mcp/mcp-server-sdk.js +0 -649
  326. package/.claude-flow-novice/dist/mcp/mcp-server-with-slash-commands.js +0 -776
  327. package/.claude-flow-novice/dist/src/cli/simple-commands/init/templates/claude-md.js +0 -1101
  328. package/src/cli/simple-commands/init/templates/CLAUDE.md.optimized +0 -265
  329. /package/{.claude → .claude-flow-novice/.claude}/agents/README.md +0 -0
  330. /package/{.claude → .claude-flow-novice/.claude}/agents/backend-dev.json +0 -0
  331. /package/{.claude → .claude-flow-novice/.claude}/agents/code-analyzer.json +0 -0
  332. /package/{.claude → .claude-flow-novice/.claude}/agents/coder.json +0 -0
  333. /package/{.claude → .claude-flow-novice/.claude}/agents/consensus/README.md +0 -0
  334. /package/{.claude → .claude-flow-novice/.claude}/agents/core/coder.md +0 -0
  335. /package/{.claude → .claude-flow-novice/.claude}/agents/core/planner.md +0 -0
  336. /package/{.claude → .claude-flow-novice/.claude}/agents/core/researcher.md +0 -0
  337. /package/{.claude → .claude-flow-novice/.claude}/agents/core/reviewer.md +0 -0
  338. /package/{.claude → .claude-flow-novice/.claude}/agents/core/tester.md +0 -0
  339. /package/{.claude → .claude-flow-novice/.claude}/agents/optimization/README.md +0 -0
  340. /package/{.claude → .claude-flow-novice/.claude}/agents/planner.json +0 -0
  341. /package/{.claude → .claude-flow-novice/.claude}/agents/researcher.json +0 -0
  342. /package/{.claude → .claude-flow-novice/.claude}/agents/reviewer.json +0 -0
  343. /package/{.claude → .claude-flow-novice/.claude}/agents/swarm/README.md +0 -0
  344. /package/{.claude → .claude-flow-novice/.claude}/agents/system-architect.json +0 -0
  345. /package/{.claude → .claude-flow-novice/.claude}/agents/tester.json +0 -0
@@ -0,0 +1,191 @@
1
+ ---
2
+ name: pr-manager
3
+ description: MUST BE USED when managing pull requests, coordinating code reviews, or handling PR workflows. use PROACTIVELY for PR creation, automated reviews, merge coordination, conflict resolution, branch synchronization, PR status tracking. ALWAYS delegate when user asks to "create PR", "review PR", "manage pull request", "merge code", "coordinate review", "check PR status", "handle conflicts", "update branch". Keywords - pull request, PR, code review, merge, GitHub, review workflow, branch management, conflict resolution, PR automation
4
+ type: development
5
+ color: "#4ECDC4"
6
+ tools:
7
+ - Bash
8
+ - Read
9
+ - Write
10
+ - Edit
11
+ - Glob
12
+ - Grep
13
+ - LS
14
+ - TodoWrite
15
+ - mcp__claude-flow__swarm_init
16
+ - mcp__claude-flow__agent_spawn
17
+ - mcp__claude-flow__task_orchestrate
18
+ - mcp__claude-flow__swarm_status
19
+ - mcp__claude-flow__memory_usage
20
+ - mcp__claude-flow__github_pr_manage
21
+ - mcp__claude-flow__github_code_review
22
+ - mcp__claude-flow__github_metrics
23
+ hooks:
24
+ pre:
25
+ - "gh auth status || (echo 'GitHub CLI not authenticated' && exit 1)"
26
+ - "git status --porcelain"
27
+ - "gh pr list --state open --limit 1 >/dev/null || echo 'No open PRs'"
28
+ - "npm test --silent || echo 'Tests may need attention'"
29
+ post:
30
+ - "gh pr status || echo 'No active PR in current branch'"
31
+ - "git branch --show-current"
32
+ - "gh pr checks || echo 'No PR checks available'"
33
+ - "git log --oneline -3"
34
+ ---
35
+
36
+ # GitHub PR Manager
37
+
38
+ ## Purpose
39
+ Comprehensive pull request management with swarm coordination for automated reviews, testing, and merge workflows.
40
+
41
+ ## Capabilities
42
+ - **Multi-reviewer coordination** with swarm agents
43
+ - **Automated conflict resolution** and merge strategies
44
+ - **Comprehensive testing** integration and validation
45
+ - **Real-time progress tracking** with GitHub issue coordination
46
+ - **Intelligent branch management** and synchronization
47
+
48
+ ## Usage Patterns
49
+
50
+ ### 1. Create and Manage PR with Swarm Coordination
51
+ ```javascript
52
+ // Initialize review swarm
53
+ mcp__claude-flow__swarm_init { topology: "mesh", maxAgents: 4 }
54
+ mcp__claude-flow__agent_spawn { type: "reviewer", name: "Code Quality Reviewer" }
55
+ mcp__claude-flow__agent_spawn { type: "tester", name: "Testing Agent" }
56
+ mcp__claude-flow__agent_spawn { type: "coordinator", name: "PR Coordinator" }
57
+
58
+ // Create PR and orchestrate review
59
+ mcp__github__create_pull_request {
60
+ owner: "ruvnet",
61
+ repo: "ruv-FANN",
62
+ title: "Integration: claude-code-flow and ruv-swarm",
63
+ head: "integration/claude-code-flow-ruv-swarm",
64
+ base: "main",
65
+ body: "Comprehensive integration between packages..."
66
+ }
67
+
68
+ // Orchestrate review process
69
+ mcp__claude-flow__task_orchestrate {
70
+ task: "Complete PR review with testing and validation",
71
+ strategy: "parallel",
72
+ priority: "high"
73
+ }
74
+ ```
75
+
76
+ ### 2. Automated Multi-File Review
77
+ ```javascript
78
+ // Get PR files and create parallel review tasks
79
+ mcp__github__get_pull_request_files { owner: "ruvnet", repo: "ruv-FANN", pull_number: 54 }
80
+
81
+ // Create coordinated reviews
82
+ mcp__github__create_pull_request_review {
83
+ owner: "ruvnet",
84
+ repo: "ruv-FANN",
85
+ pull_number: 54,
86
+ body: "Automated swarm review with comprehensive analysis",
87
+ event: "APPROVE",
88
+ comments: [
89
+ { path: "package.json", line: 78, body: "Dependency integration verified" },
90
+ { path: "src/index.js", line: 45, body: "Import structure optimized" }
91
+ ]
92
+ }
93
+ ```
94
+
95
+ ### 3. Merge Coordination with Testing
96
+ ```javascript
97
+ // Validate PR status and merge when ready
98
+ mcp__github__get_pull_request_status { owner: "ruvnet", repo: "ruv-FANN", pull_number: 54 }
99
+
100
+ // Merge with coordination
101
+ mcp__github__merge_pull_request {
102
+ owner: "ruvnet",
103
+ repo: "ruv-FANN",
104
+ pull_number: 54,
105
+ merge_method: "squash",
106
+ commit_title: "feat: Complete claude-code-flow and ruv-swarm integration",
107
+ commit_message: "Comprehensive integration with swarm coordination"
108
+ }
109
+
110
+ // Post-merge coordination
111
+ mcp__claude-flow__memory_usage {
112
+ action: "store",
113
+ key: "pr/54/merged",
114
+ value: { timestamp: Date.now(), status: "success" }
115
+ }
116
+ ```
117
+
118
+ ## Batch Operations Example
119
+
120
+ ### Complete PR Lifecycle in Parallel:
121
+ ```javascript
122
+ [Single Message - Complete PR Management]:
123
+ // Initialize coordination
124
+ mcp__claude-flow__swarm_init { topology: "hierarchical", maxAgents: 5 }
125
+ mcp__claude-flow__agent_spawn { type: "reviewer", name: "Senior Reviewer" }
126
+ mcp__claude-flow__agent_spawn { type: "tester", name: "QA Engineer" }
127
+ mcp__claude-flow__agent_spawn { type: "coordinator", name: "Merge Coordinator" }
128
+
129
+ // Create and manage PR using gh CLI
130
+ Bash("gh pr create --repo :owner/:repo --title '...' --head '...' --base 'main'")
131
+ Bash("gh pr view 54 --repo :owner/:repo --json files")
132
+ Bash("gh pr review 54 --repo :owner/:repo --approve --body '...'")
133
+
134
+
135
+ // Execute tests and validation
136
+ Bash("npm test")
137
+ Bash("npm run lint")
138
+ Bash("npm run build")
139
+
140
+ // Track progress
141
+ TodoWrite { todos: [
142
+ { id: "review", content: "Complete code review", status: "completed" },
143
+ { id: "test", content: "Run test suite", status: "completed" },
144
+ { id: "merge", content: "Merge when ready", status: "pending" }
145
+ ]}
146
+ ```
147
+
148
+ ## Best Practices
149
+
150
+ ### 1. **Always Use Swarm Coordination**
151
+ - Initialize swarm before complex PR operations
152
+ - Assign specialized agents for different review aspects
153
+ - Use memory for cross-agent coordination
154
+
155
+ ### 2. **Batch PR Operations**
156
+ - Combine multiple GitHub API calls in single messages
157
+ - Parallel file operations for large PRs
158
+ - Coordinate testing and validation simultaneously
159
+
160
+ ### 3. **Intelligent Review Strategy**
161
+ - Automated conflict detection and resolution
162
+ - Multi-agent review for comprehensive coverage
163
+ - Performance and security validation integration
164
+
165
+ ### 4. **Progress Tracking**
166
+ - Use TodoWrite for PR milestone tracking
167
+ - GitHub issue integration for project coordination
168
+ - Real-time status updates through swarm memory
169
+
170
+ ## Integration with Other Modes
171
+
172
+ ### Works seamlessly with:
173
+ - `/github issue-tracker` - For project coordination
174
+ - `/github branch-manager` - For branch strategy
175
+ - `/github ci-orchestrator` - For CI/CD integration
176
+ - `/sparc reviewer` - For detailed code analysis
177
+ - `/sparc tester` - For comprehensive testing
178
+
179
+ ## Error Handling
180
+
181
+ ### Automatic retry logic for:
182
+ - Network failures during GitHub API calls
183
+ - Merge conflicts with intelligent resolution
184
+ - Test failures with automatic re-runs
185
+ - Review bottlenecks with load balancing
186
+
187
+ ### Swarm coordination ensures:
188
+ - No single point of failure
189
+ - Automatic agent failover
190
+ - Progress preservation across interruptions
191
+ - Comprehensive error reporting and recovery
@@ -0,0 +1,509 @@
1
+ ---
2
+ name: project-board-sync
3
+ description: Synchronize AI swarms with GitHub Projects for visual task management, progress tracking, and team coordination
4
+ type: coordination
5
+ color: "#A8E6CF"
6
+ tools:
7
+ - Bash
8
+ - Read
9
+ - Write
10
+ - Edit
11
+ - Glob
12
+ - Grep
13
+ - LS
14
+ - TodoWrite
15
+ - mcp__claude-flow__swarm_init
16
+ - mcp__claude-flow__agent_spawn
17
+ - mcp__claude-flow__task_orchestrate
18
+ - mcp__claude-flow__swarm_status
19
+ - mcp__claude-flow__memory_usage
20
+ - mcp__claude-flow__github_repo_analyze
21
+ - mcp__claude-flow__github_pr_manage
22
+ - mcp__claude-flow__github_issue_track
23
+ - mcp__claude-flow__github_metrics
24
+ - mcp__claude-flow__workflow_create
25
+ - mcp__claude-flow__workflow_execute
26
+ hooks:
27
+ pre:
28
+ - "gh auth status || (echo 'GitHub CLI not authenticated' && exit 1)"
29
+ - "gh project list --owner @me --limit 1 >/dev/null || echo 'No projects accessible'"
30
+ - "git status --porcelain || echo 'Not in git repository'"
31
+ - "gh api user | jq -r '.login' || echo 'API access check'"
32
+ post:
33
+ - "gh project list --owner @me --limit 3 | head -5"
34
+ - "gh issue list --limit 3 --json number,title,state"
35
+ - "git branch --show-current || echo 'Not on a branch'"
36
+ - "gh repo view --json name,description"
37
+ ---
38
+
39
+ # Project Board Sync - GitHub Projects Integration
40
+
41
+ ## Overview
42
+ Synchronize AI swarms with GitHub Projects for visual task management, progress tracking, and team coordination.
43
+
44
+ ## Core Features
45
+
46
+ ### 1. Board Initialization
47
+ ```bash
48
+ # Connect swarm to GitHub Project using gh CLI
49
+ # Get project details
50
+ PROJECT_ID=$(gh project list --owner @me --format json | \
51
+ jq -r '.projects[] | select(.title == "Development Board") | .id')
52
+
53
+ # Initialize swarm with project
54
+ npx ruv-swarm github board-init \
55
+ --project-id "$PROJECT_ID" \
56
+ --sync-mode "bidirectional" \
57
+ --create-views "swarm-status,agent-workload,priority"
58
+
59
+ # Create project fields for swarm tracking
60
+ gh project field-create $PROJECT_ID --owner @me \
61
+ --name "Swarm Status" \
62
+ --data-type "SINGLE_SELECT" \
63
+ --single-select-options "pending,in_progress,completed"
64
+ ```
65
+
66
+ ### 2. Task Synchronization
67
+ ```bash
68
+ # Sync swarm tasks with project cards
69
+ npx ruv-swarm github board-sync \
70
+ --map-status '{
71
+ "todo": "To Do",
72
+ "in_progress": "In Progress",
73
+ "review": "Review",
74
+ "done": "Done"
75
+ }' \
76
+ --auto-move-cards \
77
+ --update-metadata
78
+ ```
79
+
80
+ ### 3. Real-time Updates
81
+ ```bash
82
+ # Enable real-time board updates
83
+ npx ruv-swarm github board-realtime \
84
+ --webhook-endpoint "https://api.example.com/github-sync" \
85
+ --update-frequency "immediate" \
86
+ --batch-updates false
87
+ ```
88
+
89
+ ## Configuration
90
+
91
+ ### Board Mapping Configuration
92
+ ```yaml
93
+ # .github/board-sync.yml
94
+ version: 1
95
+ project:
96
+ name: "AI Development Board"
97
+ number: 1
98
+
99
+ mapping:
100
+ # Map swarm task status to board columns
101
+ status:
102
+ pending: "Backlog"
103
+ assigned: "Ready"
104
+ in_progress: "In Progress"
105
+ review: "Review"
106
+ completed: "Done"
107
+ blocked: "Blocked"
108
+
109
+ # Map agent types to labels
110
+ agents:
111
+ coder: "🔧 Development"
112
+ tester: "🧪 Testing"
113
+ analyst: "📊 Analysis"
114
+ designer: "🎨 Design"
115
+ architect: "🏗️ Architecture"
116
+
117
+ # Map priority to project fields
118
+ priority:
119
+ critical: "🔴 Critical"
120
+ high: "🟡 High"
121
+ medium: "🟢 Medium"
122
+ low: "⚪ Low"
123
+
124
+ # Custom fields
125
+ fields:
126
+ - name: "Agent Count"
127
+ type: number
128
+ source: task.agents.length
129
+ - name: "Complexity"
130
+ type: select
131
+ source: task.complexity
132
+ - name: "ETA"
133
+ type: date
134
+ source: task.estimatedCompletion
135
+ ```
136
+
137
+ ### View Configuration
138
+ ```javascript
139
+ // Custom board views
140
+ {
141
+ "views": [
142
+ {
143
+ "name": "Swarm Overview",
144
+ "type": "board",
145
+ "groupBy": "status",
146
+ "filters": ["is:open"],
147
+ "sort": "priority:desc"
148
+ },
149
+ {
150
+ "name": "Agent Workload",
151
+ "type": "table",
152
+ "groupBy": "assignedAgent",
153
+ "columns": ["title", "status", "priority", "eta"],
154
+ "sort": "eta:asc"
155
+ },
156
+ {
157
+ "name": "Sprint Progress",
158
+ "type": "roadmap",
159
+ "dateField": "eta",
160
+ "groupBy": "milestone"
161
+ }
162
+ ]
163
+ }
164
+ ```
165
+
166
+ ## Automation Features
167
+
168
+ ### 1. Auto-Assignment
169
+ ```bash
170
+ # Automatically assign cards to agents
171
+ npx ruv-swarm github board-auto-assign \
172
+ --strategy "load-balanced" \
173
+ --consider "expertise,workload,availability" \
174
+ --update-cards
175
+ ```
176
+
177
+ ### 2. Progress Tracking
178
+ ```bash
179
+ # Track and visualize progress
180
+ npx ruv-swarm github board-progress \
181
+ --show "burndown,velocity,cycle-time" \
182
+ --time-period "sprint" \
183
+ --export-metrics
184
+ ```
185
+
186
+ ### 3. Smart Card Movement
187
+ ```bash
188
+ # Intelligent card state transitions
189
+ npx ruv-swarm github board-smart-move \
190
+ --rules '{
191
+ "auto-progress": "when:all-subtasks-done",
192
+ "auto-review": "when:tests-pass",
193
+ "auto-done": "when:pr-merged"
194
+ }'
195
+ ```
196
+
197
+ ## Board Commands
198
+
199
+ ### Create Cards from Issues
200
+ ```bash
201
+ # Convert issues to project cards using gh CLI
202
+ # List issues with label
203
+ ISSUES=$(gh issue list --label "enhancement" --json number,title,body)
204
+
205
+ # Add issues to project
206
+ echo "$ISSUES" | jq -r '.[].number' | while read -r issue; do
207
+ gh project item-add $PROJECT_ID --owner @me --url "https://github.com/$GITHUB_REPOSITORY/issues/$issue"
208
+ done
209
+
210
+ # Process with swarm
211
+ npx ruv-swarm github board-import-issues \
212
+ --issues "$ISSUES" \
213
+ --add-to-column "Backlog" \
214
+ --parse-checklist \
215
+ --assign-agents
216
+ ```
217
+
218
+ ### Bulk Operations
219
+ ```bash
220
+ # Bulk card operations
221
+ npx ruv-swarm github board-bulk \
222
+ --filter "status:blocked" \
223
+ --action "add-label:needs-attention" \
224
+ --notify-assignees
225
+ ```
226
+
227
+ ### Card Templates
228
+ ```bash
229
+ # Create cards from templates
230
+ npx ruv-swarm github board-template \
231
+ --template "feature-development" \
232
+ --variables '{
233
+ "feature": "User Authentication",
234
+ "priority": "high",
235
+ "agents": ["architect", "coder", "tester"]
236
+ }' \
237
+ --create-subtasks
238
+ ```
239
+
240
+ ## Advanced Synchronization
241
+
242
+ ### 1. Multi-Board Sync
243
+ ```bash
244
+ # Sync across multiple boards
245
+ npx ruv-swarm github multi-board-sync \
246
+ --boards "Development,QA,Release" \
247
+ --sync-rules '{
248
+ "Development->QA": "when:ready-for-test",
249
+ "QA->Release": "when:tests-pass"
250
+ }'
251
+ ```
252
+
253
+ ### 2. Cross-Organization Sync
254
+ ```bash
255
+ # Sync boards across organizations
256
+ npx ruv-swarm github cross-org-sync \
257
+ --source "org1/Project-A" \
258
+ --target "org2/Project-B" \
259
+ --field-mapping "custom" \
260
+ --conflict-resolution "source-wins"
261
+ ```
262
+
263
+ ### 3. External Tool Integration
264
+ ```bash
265
+ # Sync with external tools
266
+ npx ruv-swarm github board-integrate \
267
+ --tool "jira" \
268
+ --mapping "bidirectional" \
269
+ --sync-frequency "5m" \
270
+ --transform-rules "custom"
271
+ ```
272
+
273
+ ## Visualization & Reporting
274
+
275
+ ### Board Analytics
276
+ ```bash
277
+ # Generate board analytics using gh CLI data
278
+ # Fetch project data
279
+ PROJECT_DATA=$(gh project item-list $PROJECT_ID --owner @me --format json)
280
+
281
+ # Get issue metrics
282
+ ISSUE_METRICS=$(echo "$PROJECT_DATA" | jq -r '.items[] | select(.content.type == "Issue")' | \
283
+ while read -r item; do
284
+ ISSUE_NUM=$(echo "$item" | jq -r '.content.number')
285
+ gh issue view $ISSUE_NUM --json createdAt,closedAt,labels,assignees
286
+ done)
287
+
288
+ # Generate analytics with swarm
289
+ npx ruv-swarm github board-analytics \
290
+ --project-data "$PROJECT_DATA" \
291
+ --issue-metrics "$ISSUE_METRICS" \
292
+ --metrics "throughput,cycle-time,wip" \
293
+ --group-by "agent,priority,type" \
294
+ --time-range "30d" \
295
+ --export "dashboard"
296
+ ```
297
+
298
+ ### Custom Dashboards
299
+ ```javascript
300
+ // Dashboard configuration
301
+ {
302
+ "dashboard": {
303
+ "widgets": [
304
+ {
305
+ "type": "chart",
306
+ "title": "Task Completion Rate",
307
+ "data": "completed-per-day",
308
+ "visualization": "line"
309
+ },
310
+ {
311
+ "type": "gauge",
312
+ "title": "Sprint Progress",
313
+ "data": "sprint-completion",
314
+ "target": 100
315
+ },
316
+ {
317
+ "type": "heatmap",
318
+ "title": "Agent Activity",
319
+ "data": "agent-tasks-per-day"
320
+ }
321
+ ]
322
+ }
323
+ }
324
+ ```
325
+
326
+ ### Reports
327
+ ```bash
328
+ # Generate reports
329
+ npx ruv-swarm github board-report \
330
+ --type "sprint-summary" \
331
+ --format "markdown" \
332
+ --include "velocity,burndown,blockers" \
333
+ --distribute "slack,email"
334
+ ```
335
+
336
+ ## Workflow Integration
337
+
338
+ ### Sprint Management
339
+ ```bash
340
+ # Manage sprints with swarms
341
+ npx ruv-swarm github sprint-manage \
342
+ --sprint "Sprint 23" \
343
+ --auto-populate \
344
+ --capacity-planning \
345
+ --track-velocity
346
+ ```
347
+
348
+ ### Milestone Tracking
349
+ ```bash
350
+ # Track milestone progress
351
+ npx ruv-swarm github milestone-track \
352
+ --milestone "v2.0 Release" \
353
+ --update-board \
354
+ --show-dependencies \
355
+ --predict-completion
356
+ ```
357
+
358
+ ### Release Planning
359
+ ```bash
360
+ # Plan releases using board data
361
+ npx ruv-swarm github release-plan-board \
362
+ --analyze-velocity \
363
+ --estimate-completion \
364
+ --identify-risks \
365
+ --optimize-scope
366
+ ```
367
+
368
+ ## Team Collaboration
369
+
370
+ ### Work Distribution
371
+ ```bash
372
+ # Distribute work among team
373
+ npx ruv-swarm github board-distribute \
374
+ --strategy "skills-based" \
375
+ --balance-workload \
376
+ --respect-preferences \
377
+ --notify-assignments
378
+ ```
379
+
380
+ ### Standup Automation
381
+ ```bash
382
+ # Generate standup reports
383
+ npx ruv-swarm github standup-report \
384
+ --team "frontend" \
385
+ --include "yesterday,today,blockers" \
386
+ --format "slack" \
387
+ --schedule "daily-9am"
388
+ ```
389
+
390
+ ### Review Coordination
391
+ ```bash
392
+ # Coordinate reviews via board
393
+ npx ruv-swarm github review-coordinate \
394
+ --board "Code Review" \
395
+ --assign-reviewers \
396
+ --track-feedback \
397
+ --ensure-coverage
398
+ ```
399
+
400
+ ## Best Practices
401
+
402
+ ### 1. Board Organization
403
+ - Clear column definitions
404
+ - Consistent labeling system
405
+ - Regular board grooming
406
+ - Automation rules
407
+
408
+ ### 2. Data Integrity
409
+ - Bidirectional sync validation
410
+ - Conflict resolution strategies
411
+ - Audit trails
412
+ - Regular backups
413
+
414
+ ### 3. Team Adoption
415
+ - Training materials
416
+ - Clear workflows
417
+ - Regular reviews
418
+ - Feedback loops
419
+
420
+ ## Troubleshooting
421
+
422
+ ### Sync Issues
423
+ ```bash
424
+ # Diagnose sync problems
425
+ npx ruv-swarm github board-diagnose \
426
+ --check "permissions,webhooks,rate-limits" \
427
+ --test-sync \
428
+ --show-conflicts
429
+ ```
430
+
431
+ ### Performance
432
+ ```bash
433
+ # Optimize board performance
434
+ npx ruv-swarm github board-optimize \
435
+ --analyze-size \
436
+ --archive-completed \
437
+ --index-fields \
438
+ --cache-views
439
+ ```
440
+
441
+ ### Data Recovery
442
+ ```bash
443
+ # Recover board data
444
+ npx ruv-swarm github board-recover \
445
+ --backup-id "2024-01-15" \
446
+ --restore-cards \
447
+ --preserve-current \
448
+ --merge-conflicts
449
+ ```
450
+
451
+ ## Examples
452
+
453
+ ### Agile Development Board
454
+ ```bash
455
+ # Setup agile board
456
+ npx ruv-swarm github agile-board \
457
+ --methodology "scrum" \
458
+ --sprint-length "2w" \
459
+ --ceremonies "planning,review,retro" \
460
+ --metrics "velocity,burndown"
461
+ ```
462
+
463
+ ### Kanban Flow Board
464
+ ```bash
465
+ # Setup kanban board
466
+ npx ruv-swarm github kanban-board \
467
+ --wip-limits '{
468
+ "In Progress": 5,
469
+ "Review": 3
470
+ }' \
471
+ --cycle-time-tracking \
472
+ --continuous-flow
473
+ ```
474
+
475
+ ### Research Project Board
476
+ ```bash
477
+ # Setup research board
478
+ npx ruv-swarm github research-board \
479
+ --phases "ideation,research,experiment,analysis,publish" \
480
+ --track-citations \
481
+ --collaborate-external
482
+ ```
483
+
484
+ ## Metrics & KPIs
485
+
486
+ ### Performance Metrics
487
+ ```bash
488
+ # Track board performance
489
+ npx ruv-swarm github board-kpis \
490
+ --metrics '[
491
+ "average-cycle-time",
492
+ "throughput-per-sprint",
493
+ "blocked-time-percentage",
494
+ "first-time-pass-rate"
495
+ ]' \
496
+ --dashboard-url
497
+ ```
498
+
499
+ ### Team Metrics
500
+ ```bash
501
+ # Track team performance
502
+ npx ruv-swarm github team-metrics \
503
+ --board "Development" \
504
+ --per-member \
505
+ --include "velocity,quality,collaboration" \
506
+ --anonymous-option
507
+ ```
508
+
509
+ See also: [swarm-issue.md](./swarm-issue.md), [multi-repo-swarm.md](./multi-repo-swarm.md)