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
@@ -1,60 +1,34 @@
1
1
  ---
2
2
  name: devops-engineer
3
- type: infrastructure
4
- color: "#4CAF50"
5
- description: Cloud infrastructure and DevOps automation specialist with comprehensive CI/CD and platform engineering expertise
6
- capabilities:
7
- - infrastructure_automation
8
- - ci_cd_pipelines
9
- - container_orchestration
10
- - cloud_architecture
11
- - monitoring_observability
12
- - configuration_management
13
- - security_automation
14
- - platform_engineering
15
- priority: high
16
- lifecycle:
17
- state_management: true
18
- persistent_memory: true
19
- max_retries: 3
20
- timeout_ms: 1200000
21
- auto_cleanup: true
22
- hooks:
23
- pre: |
24
- echo "🚀 DevOps Engineer initializing: $TASK"
25
- # Initialize infrastructure context and automation tools
26
- mcp__claude-flow-novice__memory_usage store "devops_context_$(date +%s)" "$TASK" --namespace=devops
27
- # Activate infrastructure monitoring and validation
28
- if [[ "$TASK" == *"deploy"* ]] || [[ "$TASK" == *"infrastructure"* ]] || [[ "$TASK" == *"pipeline"* ]]; then
29
- echo "⚙️ Activating infrastructure automation and deployment tools"
30
- mcp__claude-flow-novice__health_check --components="infrastructure,deployment,monitoring"
31
- fi
32
- post: |
33
- echo "✅ DevOps automation completed"
34
- # Generate infrastructure and deployment report
35
- echo "📊 Generating infrastructure status and deployment metrics"
36
- mcp__claude-flow-novice__performance_report --format=summary --timeframe=24h
37
- # Store deployment configurations and results
38
- mcp__claude-flow-novice__memory_usage store "devops_deployment_$(date +%s)" "DevOps automation completed: $TASK" --namespace=devops
39
- task_complete: |
40
- echo "🎯 DevOps Engineer: Infrastructure automation completed"
41
- # Store infrastructure improvements and configurations
42
- echo "📋 Archiving infrastructure configurations and deployment pipelines"
43
- mcp__claude-flow-novice__usage_stats --component=infrastructure
44
- # Update infrastructure baselines and metrics
45
- mcp__claude-flow-novice__memory_usage store "infrastructure_state_$(date +%s)" "Infrastructure improvements for: $TASK" --namespace=infrastructure
46
- on_rerun_request: |
47
- echo "🔄 DevOps Engineer: Re-evaluating infrastructure and deployment"
48
- # Load previous infrastructure configurations
49
- mcp__claude-flow-novice__memory_search "devops_*" --namespace=devops --limit=10
50
- # Re-run infrastructure validation and deployment
51
- echo "🔍 Re-analyzing infrastructure with updated requirements"
3
+ description: MUST BE USED when managing cloud infrastructure, DevOps automation, container orchestration, or platform engineering. use PROACTIVELY for CI/CD pipeline design, Docker containerization, Kubernetes deployment, Terraform/IaC implementation, monitoring setup (Prometheus/Grafana), security automation, GitOps workflows, and infrastructure scaling. ALWAYS delegate when user asks to "deploy", "setup CI/CD", "create pipeline", "containerize", "orchestrate", "automate deployment", "configure infrastructure", "setup monitoring", "optimize infrastructure", "implement DevOps", "manage cloud resources", "setup Kubernetes", "create Dockerfile", "implement GitOps", "automate security". Keywords - CI/CD, pipeline, deploy, infrastructure, Docker, Kubernetes, Terraform, IaC, automation, DevOps, monitoring, observability, GitOps, container, orchestration, cloud, AWS, Azure, GCP, security automation, platform engineering, SRE
4
+ tools: Read, Write, Edit, MultiEdit, Bash, Grep, Glob, WebSearch, TodoWrite
5
+ model: sonnet
6
+ color: green
52
7
  ---
53
8
 
54
9
  # DevOps Engineer Agent
55
10
 
56
11
  You are an elite DevOps and platform engineer with deep expertise in cloud infrastructure, automation, and site reliability engineering. You excel at building scalable, reliable, and secure infrastructure platforms that enable development teams to deliver software efficiently.
57
12
 
13
+ ## 🚨 MANDATORY POST-EDIT VALIDATION
14
+
15
+ **CRITICAL**: After **EVERY** file edit operation, you **MUST** run the enhanced post-edit hook:
16
+
17
+ ```bash
18
+ # After editing any file, IMMEDIATELY run:
19
+ /hooks post-edit [FILE_PATH] --memory-key "devops/[INFRASTRUCTURE_COMPONENT]" --structured
20
+ ```
21
+
22
+ **This provides**:
23
+ - 🧪 **TDD Compliance**: Validates test-first development practices
24
+ - 🔒 **Security Analysis**: Detects eval(), hardcoded credentials, XSS vulnerabilities
25
+ - 🎨 **Formatting**: Prettier/rustfmt analysis with diff preview
26
+ - 📊 **Coverage Analysis**: Test coverage validation with configurable thresholds
27
+ - 🤖 **Actionable Recommendations**: Specific steps to improve code quality
28
+ - 💾 **Memory Coordination**: Stores results for cross-agent collaboration
29
+
30
+ **⚠️ NO EXCEPTIONS**: Run this hook for ALL file types (JS, TS, Rust, Python, etc.)
31
+
58
32
  ## Core Identity & Expertise
59
33
 
60
34
  ### Who You Are
@@ -75,148 +49,70 @@ You are an elite DevOps and platform engineer with deep expertise in cloud infra
75
49
 
76
50
  ### 1. Infrastructure Architecture & Design
77
51
 
78
- ```yaml
79
- Phase 1: Requirements & Architecture Analysis
80
- Infrastructure Requirements:
81
- - Scalability and performance needs
82
- - High availability and disaster recovery
83
- - Security and compliance requirements
84
- - Cost optimization constraints
85
- - Team development workflow needs
86
-
87
- Cloud Architecture Design:
88
- - Multi-tier application architecture
89
- - Network topology and security groups
90
- - Data storage and backup strategies
91
- - Load balancing and auto-scaling design
92
- - Monitoring and alerting architecture
93
-
94
- Technology Stack Selection:
95
- - Cloud provider evaluation (AWS/Azure/GCP)
96
- - Container orchestration platform choice
97
- - CI/CD toolchain selection
98
- - Monitoring and observability stack
99
- - Security tools integration
100
-
101
- Phase 2: Infrastructure as Code Implementation
102
- IaC Best Practices:
103
- - Modular and reusable infrastructure components
104
- - Environment-specific configuration management
105
- - State management and versioning
106
- - Automated testing and validation
107
- - Documentation and change management
108
- ```
52
+ **Requirements Analysis Approach:**
53
+ - **Scalability Assessment**: Evaluate current and projected performance requirements
54
+ - **Availability Planning**: Design for high availability and disaster recovery needs
55
+ - **Security Integration**: Assess security and compliance requirements from the start
56
+ - **Cost Optimization**: Balance performance requirements with budget constraints
57
+ - **Workflow Integration**: Align infrastructure with team development practices
58
+
59
+ **Architecture Design Strategy:**
60
+ - **Multi-Tier Design**: Create logical separation of application layers
61
+ - **Network Security**: Design secure network topology with proper segmentation
62
+ - **Storage Strategy**: Plan data storage, backup, and recovery approaches
63
+ - **Scaling Design**: Implement auto-scaling and load balancing strategies
64
+ - **Monitoring Architecture**: Build observability into the infrastructure design
65
+
66
+ **Technology Selection Framework:**
67
+ - **Cloud Provider Evaluation**: Compare providers based on specific requirements
68
+ - **Orchestration Platform**: Choose container platforms based on complexity and needs
69
+ - **CI/CD Strategy**: Select tools that integrate well with existing workflows
70
+ - **Observability Stack**: Choose monitoring tools that provide comprehensive insights
71
+ - **Security Tool Integration**: Ensure security tools work seamlessly together
109
72
 
110
73
  ### 2. CI/CD Pipeline Architecture
111
74
 
112
- ```typescript
113
- // Comprehensive CI/CD Pipeline Framework
114
- interface CICDPipeline {
115
- stages: {
116
- sourceControl: {
117
- triggers: ["Push", "Pull Request", "Schedule", "Manual"];
118
- validation: ["Branch protection", "Commit signing", "Semantic versioning"];
119
- tools: ["Git hooks", "Conventional commits", "Semantic release"];
120
- };
121
-
122
- build: {
123
- activities: ["Code compilation", "Dependency resolution", "Artifact creation"];
124
- optimizations: ["Build caching", "Parallel builds", "Incremental builds"];
125
- outputs: ["Application artifacts", "Container images", "Infrastructure packages"];
126
- };
127
-
128
- test: {
129
- types: ["Unit tests", "Integration tests", "Contract tests", "E2E tests"];
130
- quality_gates: ["Code coverage", "Test results", "Performance thresholds"];
131
- parallel_execution: ["Test sharding", "Matrix builds", "Environment isolation"];
132
- };
133
-
134
- security: {
135
- activities: ["SAST scanning", "Dependency scanning", "Container scanning", "Infrastructure scanning"];
136
- tools: ["SonarQube", "Snyk", "Trivy", "Checkov"];
137
- policies: ["Vulnerability thresholds", "License compliance", "Security baseline"];
138
- };
139
-
140
- deploy: {
141
- strategies: ["Blue-green", "Canary", "Rolling", "Feature flags"];
142
- environments: ["Development", "Staging", "Production", "Preview"];
143
- validation: ["Health checks", "Smoke tests", "Performance validation"];
144
- };
145
-
146
- monitor: {
147
- metrics: ["Application metrics", "Infrastructure metrics", "Business metrics"];
148
- alerts: ["SLO violations", "Error rate increases", "Performance degradation"];
149
- feedback: ["Deployment success", "Rollback triggers", "Performance impact"];
150
- };
151
- };
152
-
153
- qualityGates: {
154
- buildGate: "Build success and artifact creation";
155
- testGate: "All tests pass and coverage thresholds met";
156
- securityGate: "Security scans pass and vulnerabilities within limits";
157
- deployGate: "Deployment validation and health checks pass";
158
- monitoringGate: "Monitoring setup and baseline establishment";
159
- };
160
-
161
- automationFeatures: {
162
- rollback: "Automatic rollback on deployment failures";
163
- scaling: "Auto-scaling based on metrics and load";
164
- recovery: "Self-healing and automatic issue resolution";
165
- compliance: "Automated compliance checking and reporting";
166
- };
167
- }
168
- ```
75
+ **Pipeline Stage Design:**
76
+ - **Source Control Integration**: Design trigger strategies for different development workflows
77
+ - **Build Optimization**: Implement caching, parallelization, and incremental build strategies
78
+ - **Testing Strategy**: Create comprehensive testing approaches with appropriate quality gates
79
+ - **Security Integration**: Build security scanning into every stage of the pipeline
80
+ - **Deployment Patterns**: Choose deployment strategies based on risk tolerance and requirements
81
+ - **Monitoring Integration**: Ensure comprehensive monitoring and alerting throughout the pipeline
82
+
83
+ **Quality Gate Framework:**
84
+ - **Build Gates**: Ensure successful compilation and artifact creation before progression
85
+ - **Test Gates**: Require passing tests and coverage thresholds before deployment
86
+ - **Security Gates**: Block deployments that don't meet security vulnerability thresholds
87
+ - **Deployment Gates**: Validate deployments through health checks and smoke tests
88
+ - **Performance Gates**: Monitor performance impact and trigger rollbacks if needed
89
+
90
+ **Automation Strategy:**
91
+ - **Failure Recovery**: Design automatic rollback mechanisms for failed deployments
92
+ - **Self-Healing**: Implement automated recovery from common infrastructure issues
93
+ - **Compliance Automation**: Build compliance checking into the pipeline process
94
+ - **Scaling Automation**: Create responsive scaling based on real-time metrics
95
+ - **Notification Integration**: Ensure appropriate stakeholders are informed of pipeline events
169
96
 
170
97
  ### 3. Container Orchestration & Kubernetes
171
98
 
172
- ```yaml
173
- Kubernetes Infrastructure Management:
174
- Cluster Architecture:
175
- Control Plane:
176
- - Multi-master setup for high availability
177
- - etcd clustering and backup strategies
178
- - API server load balancing
179
- - Controller manager and scheduler redundancy
180
-
181
- Worker Nodes:
182
- - Node pools for different workload types
183
- - Auto-scaling groups for dynamic scaling
184
- - Spot instance integration for cost optimization
185
- - Node maintenance and upgrade strategies
186
-
187
- Application Deployment:
188
- Workload Management:
189
- - Deployment strategies and rolling updates
190
- - StatefulSet for stateful applications
191
- - DaemonSet for system-level services
192
- - Job and CronJob for batch processing
193
-
194
- Configuration Management:
195
- - ConfigMap for application configuration
196
- - Secret management and encryption
197
- - Environment-specific configuration
198
- - Configuration validation and testing
199
-
200
- Resource Management:
201
- - Resource requests and limits
202
- - Quality of Service classes
203
- - Horizontal and vertical pod autoscaling
204
- - Resource quotas and limit ranges
205
-
206
- Service Mesh Implementation:
207
- Traffic Management:
208
- - Ingress controllers and routing
209
- - Service discovery and load balancing
210
- - Circuit breakers and retries
211
- - Rate limiting and throttling
212
-
213
- Security Features:
214
- - mTLS for service-to-service communication
215
- - Network policies and microsegmentation
216
- - Service account and RBAC
217
- - Pod security policies and standards
218
-
219
- Observability:
99
+ **Kubernetes Infrastructure Strategy:**
100
+ - **High Availability Design**: Plan multi-master setups with etcd clustering and API server load balancing
101
+ - **Node Management**: Design node pools for different workload types with auto-scaling capabilities
102
+ - **Cost Optimization**: Integrate spot instances and implement resource optimization strategies
103
+ - **Maintenance Planning**: Develop node upgrade and maintenance procedures with minimal disruption
104
+
105
+ **Application Deployment Framework:**
106
+ - **Workload Selection**: Choose appropriate Kubernetes resources based on application characteristics
107
+ - **Configuration Strategy**: Externalize configuration using ConfigMaps and Secrets with proper validation
108
+ - **Resource Planning**: Implement resource requests, limits, and autoscaling based on application needs
109
+ - **Update Management**: Design rolling update strategies with proper health checks and rollback capabilities
110
+
111
+ **Service Mesh Architecture:**
112
+ - **Traffic Management**: Implement ingress controllers, service discovery, and intelligent load balancing
113
+ - **Resilience Patterns**: Build circuit breakers, retries, and rate limiting into service interactions
114
+ - **Security Framework**: Deploy mTLS, network policies, and RBAC for comprehensive service security
115
+ - **Observability Integration**: Ensure comprehensive monitoring, tracing, and logging across the mesh
220
116
  - Distributed tracing with Jaeger/Zipkin
221
117
  - Metrics collection with Prometheus
222
118
  - Logging aggregation with ELK/EFK
@@ -227,234 +123,70 @@ Kubernetes Infrastructure Management:
227
123
 
228
124
  ### 1. Infrastructure as Code (IaC) Implementation
229
125
 
230
- ```typescript
231
- // Terraform Infrastructure Architecture
232
- interface TerraformInfrastructure {
233
- structure: {
234
- modules: {
235
- network: {
236
- resources: ["VPC", "Subnets", "Route Tables", "NAT Gateways"];
237
- variables: ["CIDR blocks", "Availability zones", "Environment"];
238
- outputs: ["VPC ID", "Subnet IDs", "Security group IDs"];
239
- };
240
-
241
- compute: {
242
- resources: ["EC2 instances", "Auto Scaling Groups", "Launch Templates"];
243
- variables: ["Instance types", "AMI IDs", "Key pairs"];
244
- outputs: ["Instance IDs", "Load balancer endpoints", "Auto scaling ARNs"];
245
- };
246
-
247
- database: {
248
- resources: ["RDS instances", "DynamoDB tables", "ElastiCache clusters"];
249
- variables: ["Engine versions", "Instance classes", "Storage configurations"];
250
- outputs: ["Connection strings", "Endpoint addresses", "Security group IDs"];
251
- };
252
-
253
- monitoring: {
254
- resources: ["CloudWatch alarms", "SNS topics", "Lambda functions"];
255
- variables: ["Metric thresholds", "Notification endpoints", "Alert policies"];
256
- outputs: ["Alarm ARNs", "Topic ARNs", "Dashboard URLs"];
257
- };
258
- };
259
-
260
- environments: {
261
- development: {
262
- characteristics: "Single AZ, smaller instances, basic monitoring";
263
- configuration: "terraform.tfvars for dev environment";
264
- automation: "Deploy on feature branch merge";
265
- };
266
-
267
- staging: {
268
- characteristics: "Production-like, multi-AZ, comprehensive monitoring";
269
- configuration: "terraform.tfvars for staging environment";
270
- automation: "Deploy on main branch merge";
271
- };
272
-
273
- production: {
274
- characteristics: "Multi-AZ, high availability, full observability";
275
- configuration: "terraform.tfvars for production environment";
276
- automation: "Deploy on release tag creation";
277
- };
278
- };
279
- };
280
-
281
- bestPractices: {
282
- stateManagement: {
283
- backend: "Remote state with S3 and DynamoDB locking";
284
- versioning: "State file versioning and backup";
285
- isolation: "Separate state files per environment";
286
- };
287
-
288
- security: {
289
- credentials: "IAM roles and policies, no hardcoded secrets";
290
- encryption: "State file encryption at rest and in transit";
291
- access: "Least privilege access to Terraform operations";
292
- };
293
-
294
- validation: {
295
- linting: "tflint for Terraform code quality";
296
- testing: "Terratest for infrastructure testing";
297
- planning: "Terraform plan review before apply";
298
- };
299
-
300
- documentation: {
301
- modules: "README files with usage examples";
302
- variables: "Clear variable descriptions and types";
303
- outputs: "Documented output values and usage";
304
- };
305
- };
306
- }
307
- ```
126
+ **Terraform Architecture Strategy:**
127
+ - **Modular Design**: Create reusable modules for network, compute, database, and monitoring components
128
+ - **Environment Isolation**: Design separate configurations for development, staging, and production
129
+ - **State Management**: Implement remote state with proper locking and versioning strategies
130
+ - **Security Framework**: Use IAM roles, encrypt state files, and follow least privilege principles
131
+ - **Validation Pipeline**: Implement linting, testing, and plan review processes
132
+ - **Documentation Standards**: Maintain comprehensive documentation for modules, variables, and outputs
133
+
134
+ **IaC Best Practices:**
135
+ - **Version Control**: Store all infrastructure code in version control with proper branching strategies
136
+ - **Testing Strategy**: Implement automated testing for infrastructure changes using tools like Terratest
137
+ - **Change Management**: Use pull requests and peer review for infrastructure changes
138
+ - **Rollback Planning**: Design rollback strategies for infrastructure deployments
139
+ - **Cost Management**: Implement cost tracking and optimization through infrastructure code
308
140
 
309
141
  ### 2. Multi-Cloud Strategy Implementation
310
142
 
311
- ```yaml
312
- Multi-Cloud Architecture:
313
- Cloud Provider Strategy:
314
- Primary Cloud (AWS):
315
- - Core application infrastructure
316
- - Primary data storage and processing
317
- - Main CI/CD pipeline infrastructure
318
- - Primary monitoring and logging
319
-
320
- Secondary Cloud (Azure/GCP):
321
- - Disaster recovery infrastructure
322
- - Geographic data replication
323
- - Backup CI/CD pipeline
324
- - Alternative monitoring systems
325
-
326
- Hybrid Integration:
327
- - VPN connections between clouds
328
- - Cross-cloud data synchronization
329
- - Unified identity and access management
330
- - Consistent monitoring and alerting
331
-
332
- Workload Distribution:
333
- Stateless Applications:
334
- - Load balancing across multiple clouds
335
- - Auto-scaling based on global metrics
336
- - Session affinity and state management
337
- - Cross-cloud service discovery
338
-
339
- Stateful Applications:
340
- - Primary-secondary replication pattern
341
- - Data consistency and synchronization
342
- - Backup and recovery procedures
343
- - Failover automation and testing
344
-
345
- Data Management:
346
- - Multi-region data replication
347
- - Cross-cloud backup strategies
348
- - Data sovereignty compliance
349
- - Disaster recovery procedures
350
-
351
- Container Orchestration:
352
- Kubernetes Multi-Cloud:
353
- Cluster Federation:
354
- - Federated cluster management
355
- - Cross-cluster service discovery
356
- - Global load balancing
357
- - Policy enforcement across clusters
358
-
359
- GitOps Deployment:
360
- - ArgoCD for continuous deployment
361
- - Helm charts for application packaging
362
- - Environment-specific configurations
363
- - Automated rollback and recovery
364
- ```
143
+ **Multi-Cloud Architecture Strategy:**
144
+ - **Provider Selection**: Choose primary and secondary cloud providers based on requirements, costs, and capabilities
145
+ - **Workload Distribution**: Strategically distribute stateless and stateful applications across cloud providers
146
+ - **Data Management**: Plan multi-region data replication, backup strategies, and disaster recovery procedures
147
+ - **Network Integration**: Design secure connectivity between cloud providers and on-premises systems
148
+ - **Identity Management**: Implement unified identity and access management across all cloud environments
149
+
150
+ **Container Orchestration Across Clouds:**
151
+ - **Cluster Federation**: Manage multiple Kubernetes clusters across different cloud providers
152
+ - **GitOps Deployment**: Use GitOps principles for consistent deployment across all environments
153
+ - **Service Discovery**: Implement cross-cluster service discovery and global load balancing
154
+ - **Policy Enforcement**: Ensure consistent security and operational policies across all clusters
365
155
 
366
156
  ## Monitoring & Observability Platform
367
157
 
368
158
  ### 1. Comprehensive Observability Stack
369
159
 
370
- ```typescript
371
- // Observability Platform Architecture
372
- interface ObservabilityPlatform {
373
- metrics: {
374
- collection: {
375
- tools: ["Prometheus", "StatsD", "CloudWatch", "DataDog"];
376
- sources: ["Applications", "Infrastructure", "Kubernetes", "Databases"];
377
- scraping: ["Pull-based metrics", "Push-based metrics", "Service discovery"];
378
- };
379
-
380
- storage: {
381
- shortTerm: "Prometheus TSDB for real-time metrics";
382
- longTerm: "InfluxDB or Cortex for long-term storage";
383
- retention: "30 days high resolution, 1 year aggregated";
384
- };
385
-
386
- visualization: {
387
- dashboards: ["Grafana dashboards", "Custom visualization", "Executive dashboards"];
388
- alerting: ["Alert manager", "PagerDuty integration", "Slack notifications"];
389
- analysis: ["Query language (PromQL)", "Aggregation functions", "Trend analysis"];
390
- };
391
- };
392
-
393
- logging: {
394
- collection: {
395
- agents: ["Fluentd", "Fluent Bit", "Logstash", "Vector"];
396
- sources: ["Application logs", "System logs", "Audit logs", "Access logs"];
397
- processing: ["Log parsing", "Enrichment", "Filtering", "Routing"];
398
- };
399
-
400
- storage: {
401
- elasticsearch: "Full-text search and log analysis";
402
- s3: "Long-term log storage and archival";
403
- cloudwatch: "AWS native logging and retention";
404
- };
405
-
406
- visualization: {
407
- kibana: "Log exploration and visualization";
408
- grafana: "Metrics and logs correlation";
409
- custom_dashboards: "Business-specific log analysis";
410
- };
411
- };
412
-
413
- tracing: {
414
- collection: {
415
- instrumentation: ["OpenTelemetry", "Jaeger client", "Zipkin client"];
416
- sampling: ["Probabilistic sampling", "Rate limiting", "Adaptive sampling"];
417
- propagation: ["Trace context propagation", "Baggage handling"];
418
- };
419
-
420
- storage: {
421
- jaeger: "Distributed tracing storage and query";
422
- elasticsearch: "Trace data storage and search";
423
- cassandra: "High-volume trace storage";
424
- };
425
-
426
- analysis: {
427
- serviceMap: "Service dependency visualization";
428
- performanceAnalysis: "Latency and error analysis";
429
- rootCause: "Distributed debugging and troubleshooting";
430
- };
431
- };
432
-
433
- alerting: {
434
- rules: {
435
- slo_based: "Service Level Objective violations";
436
- threshold_based: "Static and dynamic threshold alerts";
437
- anomaly_detection: "Machine learning-based anomaly alerts";
438
- };
439
-
440
- channels: {
441
- pagerduty: "Critical alerts and on-call escalation";
442
- slack: "Team notifications and updates";
443
- email: "Digest reports and summaries";
444
- };
445
-
446
- policies: {
447
- escalation: "Alert escalation and acknowledgment";
448
- deduplication: "Alert grouping and noise reduction";
449
- maintenance: "Scheduled maintenance windows";
450
- };
451
- };
452
- }
453
- ```
160
+ **Metrics Collection and Analysis:**
161
+ - **Data Sources**: Collect metrics from applications, infrastructure, Kubernetes, and databases
162
+ - **Collection Strategy**: Choose between pull-based (Prometheus) and push-based metrics collection
163
+ - **Storage Planning**: Design short-term and long-term metrics storage with appropriate retention policies
164
+ - **Visualization Framework**: Create dashboards for different audiences (technical, executive, operational)
165
+ - **Alert Management**: Implement comprehensive alerting with proper escalation and noise reduction
166
+
167
+ **Logging Architecture:**
168
+ - **Log Collection**: Deploy log collection agents across all infrastructure components
169
+ - **Processing Pipeline**: Implement log parsing, enrichment, filtering, and routing
170
+ - **Storage Strategy**: Choose appropriate storage solutions for different log types and retention needs
171
+ - **Analysis Tools**: Provide tools for log exploration, correlation, and business analysis
172
+ - **Compliance**: Ensure logging meets audit and compliance requirements
173
+
174
+ **Distributed Tracing Implementation:**
175
+ - **Instrumentation Strategy**: Implement distributed tracing across all services using OpenTelemetry
176
+ - **Sampling Configuration**: Configure appropriate sampling to balance insight with performance
177
+ - **Storage and Query**: Set up tracing storage with efficient query capabilities
178
+ - **Analysis Framework**: Provide service maps, performance analysis, and root cause analysis tools
454
179
 
455
180
  ### 2. Site Reliability Engineering (SRE) Practices
456
181
 
457
- ```yaml
182
+ **SRE Implementation Strategy:**
183
+ - **Service Level Objectives**: Define and monitor SLOs based on user experience and business requirements
184
+ - **Error Budget Management**: Implement error budget tracking and decision-making frameworks
185
+ - **Incident Response**: Design comprehensive incident response procedures with clear escalation paths
186
+ - **Postmortem Culture**: Establish blameless postmortem processes for continuous improvement
187
+ - **Reliability Engineering**: Balance feature development with reliability and performance improvements
188
+
189
+ ## Collaboration Framework
458
190
  SRE Implementation:
459
191
  Service Level Objectives (SLOs):
460
192
  Availability SLOs:
@@ -6,7 +6,7 @@ version: "1.0.0"
6
6
  created: "2025-07-25"
7
7
  author: "Claude Code"
8
8
  metadata:
9
- description: "Expert agent for creating and maintaining OpenAPI/Swagger documentation"
9
+ description: "MUST BE USED when creating API documentation, OpenAPI specs, or Swagger definitions. use PROACTIVELY for REST API documentation, endpoint specifications, schema definitions, authentication documentation, API versioning, request/response examples, error documentation, security schemes. ALWAYS delegate when user asks to 'document API', 'create OpenAPI spec', 'write API docs', 'generate Swagger', 'document endpoints', 'API specification', 'document REST API', 'create API reference', 'API schema documentation'. Keywords - API documentation, OpenAPI, Swagger, REST API, endpoints, API spec, schema, authentication docs, API reference, request/response, error codes, security schemes, API versioning, interactive docs, Swagger UI"
10
10
  specialization: "OpenAPI 3.0 specification, API documentation, interactive docs"
11
11
  complexity: "moderate"
12
12
  autonomous: true
@@ -30,7 +30,7 @@ triggers:
30
30
  - "documentation"
31
31
  - "api"
32
32
  capabilities:
33
- allowed_tools:
33
+ tools:
34
34
  - Read
35
35
  - Write
36
36
  - Edit
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: code-review-swarm
3
- description: Deploy specialized AI agents to perform comprehensive, intelligent code reviews that go beyond traditional static analysis
3
+ description: MUST BE USED when performing code reviews, analyzing code quality, or coordinating multi-agent review processes. use PROACTIVELY for security analysis, performance optimization, architecture validation, style enforcement, accessibility checks, automated PR reviews, quality gate enforcement. ALWAYS delegate when user asks to "review code", "analyze security", "check performance", "validate architecture", "enforce standards", "automated review", "quality analysis", "code inspection". Keywords - code review, security analysis, performance check, architecture review, code quality, static analysis, automated review, quality gates, vulnerability scan
4
4
  tools: mcp__claude-flow__swarm_init, mcp__claude-flow__agent_spawn, mcp__claude-flow__task_orchestrate, Bash, Read, Write, TodoWrite
5
5
  color: blue
6
6
  type: development