agentic-qe 3.7.16 → 3.7.18

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 (280) hide show
  1. package/.claude/agents/v3/qe-devils-advocate.md +20 -0
  2. package/.claude/agents/v3/qe-gap-detector.md +25 -0
  3. package/.claude/agents/v3/qe-quality-gate.md +8 -0
  4. package/.claude/agents/v3/qe-requirements-validator.md +25 -0
  5. package/.claude/agents/v3/subagents/qe-code-reviewer.md +11 -0
  6. package/.claude/agents/v3/subagents/qe-integration-reviewer.md +11 -0
  7. package/.claude/agents/v3/subagents/qe-performance-reviewer.md +11 -0
  8. package/.claude/agents/v3/subagents/qe-security-reviewer.md +11 -0
  9. package/.claude/helpers/adr-compliance.sh +10 -10
  10. package/.claude/helpers/auto-memory-hook.mjs +24 -9
  11. package/.claude/helpers/brain-checkpoint.cjs +55 -145
  12. package/.claude/helpers/ddd-tracker.sh +2 -2
  13. package/.claude/helpers/guidance-hooks.sh +2 -2
  14. package/.claude/helpers/hook-handler.cjs +57 -18
  15. package/.claude/helpers/statusline.cjs +414 -595
  16. package/.claude/helpers/v3/quality-criteria/evidence-classification.md +116 -116
  17. package/.claude/helpers/v3/quality-criteria/htsm-categories.md +139 -139
  18. package/.claude/skills/README.md +8 -11
  19. package/.claude/skills/brutal-honesty-review/SKILL.md +3 -0
  20. package/.claude/skills/code-review-quality/SKILL.md +3 -0
  21. package/.claude/skills/qcsd-cicd-swarm/SKILL.md +79 -2075
  22. package/.claude/skills/qcsd-cicd-swarm/steps/01-flag-detection.md +62 -0
  23. package/.claude/skills/qcsd-cicd-swarm/steps/02-core-agents.md +33 -0
  24. package/.claude/skills/qcsd-cicd-swarm/steps/03-batch1-results.md +21 -0
  25. package/.claude/skills/qcsd-cicd-swarm/steps/04-conditional-agents.md +23 -0
  26. package/.claude/skills/qcsd-cicd-swarm/steps/05-decision-synthesis.md +30 -0
  27. package/.claude/skills/qcsd-cicd-swarm/steps/06-report-generation.md +17 -0
  28. package/.claude/skills/qcsd-cicd-swarm/steps/07-learning-persistence.md +27 -0
  29. package/.claude/skills/qcsd-cicd-swarm/steps/08-deployment-advisor.md +25 -0
  30. package/.claude/skills/qcsd-cicd-swarm/steps/09-final-output.md +16 -0
  31. package/.claude/skills/qcsd-development-swarm/SKILL.md +79 -2027
  32. package/.claude/skills/qcsd-development-swarm/steps/01-flag-detection.md +50 -0
  33. package/.claude/skills/qcsd-development-swarm/steps/02-core-agents.md +29 -0
  34. package/.claude/skills/qcsd-development-swarm/steps/03-batch1-results.md +14 -0
  35. package/.claude/skills/qcsd-development-swarm/steps/04-conditional-agents.md +23 -0
  36. package/.claude/skills/qcsd-development-swarm/steps/05-decision-synthesis.md +30 -0
  37. package/.claude/skills/qcsd-development-swarm/steps/06-report-generation.md +16 -0
  38. package/.claude/skills/qcsd-development-swarm/steps/07-learning-persistence.md +25 -0
  39. package/.claude/skills/qcsd-development-swarm/steps/08-defect-predictor.md +25 -0
  40. package/.claude/skills/qcsd-development-swarm/steps/09-final-output.md +16 -0
  41. package/.claude/skills/qcsd-ideation-swarm/SKILL.md +94 -1894
  42. package/.claude/skills/qcsd-ideation-swarm/steps/01-flag-detection.md +57 -0
  43. package/.claude/skills/qcsd-ideation-swarm/steps/02-core-agents.md +29 -0
  44. package/.claude/skills/qcsd-ideation-swarm/steps/03-batch1-results.md +15 -0
  45. package/.claude/skills/qcsd-ideation-swarm/steps/04-conditional-agents.md +23 -0
  46. package/.claude/skills/qcsd-ideation-swarm/steps/05-decision-synthesis.md +29 -0
  47. package/.claude/skills/qcsd-ideation-swarm/steps/06-report-generation.md +18 -0
  48. package/.claude/skills/qcsd-ideation-swarm/steps/07-learning-persistence.md +29 -0
  49. package/.claude/skills/qcsd-ideation-swarm/steps/08-final-output.md +18 -0
  50. package/.claude/skills/qcsd-production-swarm/SKILL.md +88 -2663
  51. package/.claude/skills/qcsd-production-swarm/steps/01-flag-detection.md +206 -0
  52. package/.claude/skills/qcsd-production-swarm/steps/02-core-agents.md +428 -0
  53. package/.claude/skills/qcsd-production-swarm/steps/03-batch1-results.md +101 -0
  54. package/.claude/skills/qcsd-production-swarm/steps/04-conditional-agents.md +125 -0
  55. package/.claude/skills/qcsd-production-swarm/steps/05-decision-synthesis.md +136 -0
  56. package/.claude/skills/qcsd-production-swarm/steps/06-report-generation.md +181 -0
  57. package/.claude/skills/qcsd-production-swarm/steps/07-learning-persistence.md +185 -0
  58. package/.claude/skills/qcsd-production-swarm/steps/08-feedback-loop.md +122 -0
  59. package/.claude/skills/qcsd-production-swarm/steps/09-final-output.md +140 -0
  60. package/.claude/skills/qcsd-refinement-swarm/SKILL.md +59 -2312
  61. package/.claude/skills/qcsd-refinement-swarm/steps/01-flag-detection.md +91 -0
  62. package/.claude/skills/qcsd-refinement-swarm/steps/02-core-agents.md +40 -0
  63. package/.claude/skills/qcsd-refinement-swarm/steps/03-batch1-results.md +40 -0
  64. package/.claude/skills/qcsd-refinement-swarm/steps/04-conditional-agents.md +35 -0
  65. package/.claude/skills/qcsd-refinement-swarm/steps/05-decision-synthesis.md +43 -0
  66. package/.claude/skills/qcsd-refinement-swarm/steps/06-report-generation.md +42 -0
  67. package/.claude/skills/qcsd-refinement-swarm/steps/07-learning-persistence.md +53 -0
  68. package/.claude/skills/qcsd-refinement-swarm/steps/08-transformation.md +36 -0
  69. package/.claude/skills/qcsd-refinement-swarm/steps/09-final-output.md +46 -0
  70. package/.claude/skills/sherlock-review/SKILL.md +3 -0
  71. package/.claude/skills/skill-builder/SKILL.md +103 -0
  72. package/.claude/skills/skills-manifest.json +1 -1
  73. package/CHANGELOG.md +29 -0
  74. package/assets/agents/v3/qe-devils-advocate.md +20 -0
  75. package/assets/agents/v3/qe-gap-detector.md +25 -0
  76. package/assets/agents/v3/qe-quality-gate.md +8 -0
  77. package/assets/agents/v3/qe-requirements-validator.md +25 -0
  78. package/assets/agents/v3/subagents/qe-code-reviewer.md +11 -0
  79. package/assets/agents/v3/subagents/qe-integration-reviewer.md +11 -0
  80. package/assets/agents/v3/subagents/qe-performance-reviewer.md +11 -0
  81. package/assets/agents/v3/subagents/qe-security-reviewer.md +11 -0
  82. package/assets/helpers/statusline-v3.cjs +693 -0
  83. package/assets/skills/brutal-honesty-review/SKILL.md +3 -0
  84. package/assets/skills/code-review-quality/SKILL.md +3 -0
  85. package/assets/skills/qcsd-cicd-swarm/SKILL.md +79 -2075
  86. package/assets/skills/qcsd-cicd-swarm/steps/01-flag-detection.md +62 -0
  87. package/assets/skills/qcsd-cicd-swarm/steps/02-core-agents.md +33 -0
  88. package/assets/skills/qcsd-cicd-swarm/steps/03-batch1-results.md +21 -0
  89. package/assets/skills/qcsd-cicd-swarm/steps/04-conditional-agents.md +23 -0
  90. package/assets/skills/qcsd-cicd-swarm/steps/05-decision-synthesis.md +30 -0
  91. package/assets/skills/qcsd-cicd-swarm/steps/06-report-generation.md +17 -0
  92. package/assets/skills/qcsd-cicd-swarm/steps/07-learning-persistence.md +27 -0
  93. package/assets/skills/qcsd-cicd-swarm/steps/08-deployment-advisor.md +25 -0
  94. package/assets/skills/qcsd-cicd-swarm/steps/09-final-output.md +16 -0
  95. package/assets/skills/qcsd-development-swarm/SKILL.md +79 -2027
  96. package/assets/skills/qcsd-development-swarm/steps/01-flag-detection.md +50 -0
  97. package/assets/skills/qcsd-development-swarm/steps/02-core-agents.md +29 -0
  98. package/assets/skills/qcsd-development-swarm/steps/03-batch1-results.md +14 -0
  99. package/assets/skills/qcsd-development-swarm/steps/04-conditional-agents.md +23 -0
  100. package/assets/skills/qcsd-development-swarm/steps/05-decision-synthesis.md +30 -0
  101. package/assets/skills/qcsd-development-swarm/steps/06-report-generation.md +16 -0
  102. package/assets/skills/qcsd-development-swarm/steps/07-learning-persistence.md +25 -0
  103. package/assets/skills/qcsd-development-swarm/steps/08-defect-predictor.md +25 -0
  104. package/assets/skills/qcsd-development-swarm/steps/09-final-output.md +16 -0
  105. package/assets/skills/qcsd-ideation-swarm/SKILL.md +94 -1894
  106. package/assets/skills/qcsd-ideation-swarm/steps/01-flag-detection.md +57 -0
  107. package/assets/skills/qcsd-ideation-swarm/steps/02-core-agents.md +29 -0
  108. package/assets/skills/qcsd-ideation-swarm/steps/03-batch1-results.md +15 -0
  109. package/assets/skills/qcsd-ideation-swarm/steps/04-conditional-agents.md +23 -0
  110. package/assets/skills/qcsd-ideation-swarm/steps/05-decision-synthesis.md +29 -0
  111. package/assets/skills/qcsd-ideation-swarm/steps/06-report-generation.md +18 -0
  112. package/assets/skills/qcsd-ideation-swarm/steps/07-learning-persistence.md +29 -0
  113. package/assets/skills/qcsd-ideation-swarm/steps/08-final-output.md +18 -0
  114. package/assets/skills/qcsd-production-swarm/SKILL.md +88 -2663
  115. package/assets/skills/qcsd-production-swarm/steps/01-flag-detection.md +206 -0
  116. package/assets/skills/qcsd-production-swarm/steps/02-core-agents.md +428 -0
  117. package/assets/skills/qcsd-production-swarm/steps/03-batch1-results.md +101 -0
  118. package/assets/skills/qcsd-production-swarm/steps/04-conditional-agents.md +125 -0
  119. package/assets/skills/qcsd-production-swarm/steps/05-decision-synthesis.md +136 -0
  120. package/assets/skills/qcsd-production-swarm/steps/06-report-generation.md +181 -0
  121. package/assets/skills/qcsd-production-swarm/steps/07-learning-persistence.md +185 -0
  122. package/assets/skills/qcsd-production-swarm/steps/08-feedback-loop.md +122 -0
  123. package/assets/skills/qcsd-production-swarm/steps/09-final-output.md +140 -0
  124. package/assets/skills/qcsd-refinement-swarm/SKILL.md +59 -2312
  125. package/assets/skills/qcsd-refinement-swarm/steps/01-flag-detection.md +91 -0
  126. package/assets/skills/qcsd-refinement-swarm/steps/02-core-agents.md +40 -0
  127. package/assets/skills/qcsd-refinement-swarm/steps/03-batch1-results.md +40 -0
  128. package/assets/skills/qcsd-refinement-swarm/steps/04-conditional-agents.md +35 -0
  129. package/assets/skills/qcsd-refinement-swarm/steps/05-decision-synthesis.md +43 -0
  130. package/assets/skills/qcsd-refinement-swarm/steps/06-report-generation.md +42 -0
  131. package/assets/skills/qcsd-refinement-swarm/steps/07-learning-persistence.md +53 -0
  132. package/assets/skills/qcsd-refinement-swarm/steps/08-transformation.md +36 -0
  133. package/assets/skills/qcsd-refinement-swarm/steps/09-final-output.md +46 -0
  134. package/assets/skills/sherlock-review/SKILL.md +3 -0
  135. package/assets/templates/agent-override-example.yaml +39 -0
  136. package/dist/agents/devils-advocate/agent.d.ts +25 -1
  137. package/dist/agents/devils-advocate/agent.js +108 -4
  138. package/dist/agents/devils-advocate/types.d.ts +54 -0
  139. package/dist/agents/devils-advocate/types.js +14 -0
  140. package/dist/agents/overlay-loader.d.ts +28 -0
  141. package/dist/agents/overlay-loader.js +232 -0
  142. package/dist/agents/overlay-schema.d.ts +56 -0
  143. package/dist/agents/overlay-schema.js +77 -0
  144. package/dist/analysis/branch-enumerator.d.ts +68 -0
  145. package/dist/analysis/branch-enumerator.js +393 -0
  146. package/dist/analysis/index.d.ts +2 -0
  147. package/dist/analysis/index.js +2 -0
  148. package/dist/cli/bundle.js +2415 -624
  149. package/dist/cli/commands/coverage.js +50 -0
  150. package/dist/context/compiler.d.ts +62 -0
  151. package/dist/context/compiler.js +143 -0
  152. package/dist/context/index.d.ts +8 -0
  153. package/dist/context/index.js +6 -0
  154. package/dist/context/sources/coverage-source.d.ts +15 -0
  155. package/dist/context/sources/coverage-source.js +77 -0
  156. package/dist/context/sources/git-source.d.ts +12 -0
  157. package/dist/context/sources/git-source.js +33 -0
  158. package/dist/context/sources/index.d.ts +6 -0
  159. package/dist/context/sources/index.js +5 -0
  160. package/dist/context/sources/memory-source.d.ts +17 -0
  161. package/dist/context/sources/memory-source.js +94 -0
  162. package/dist/context/sources/test-source.d.ts +13 -0
  163. package/dist/context/sources/test-source.js +53 -0
  164. package/dist/context/sources/types.d.ts +42 -0
  165. package/dist/context/sources/types.js +5 -0
  166. package/dist/init/agents-installer.d.ts +9 -0
  167. package/dist/init/agents-installer.js +79 -0
  168. package/dist/init/phases/07-hooks.d.ts +11 -0
  169. package/dist/init/phases/07-hooks.js +67 -0
  170. package/dist/init/phases/09-assets.js +18 -10
  171. package/dist/init/settings-merge.js +1 -1
  172. package/dist/mcp/bundle.js +4411 -3979
  173. package/dist/mcp/services/task-router.d.ts +11 -0
  174. package/dist/mcp/services/task-router.js +26 -0
  175. package/dist/routing/qe-agent-registry.d.ts +11 -0
  176. package/dist/routing/qe-agent-registry.js +34 -0
  177. package/dist/routing/qe-task-router.d.ts +1 -0
  178. package/dist/routing/qe-task-router.js +34 -2
  179. package/dist/routing/types.d.ts +2 -0
  180. package/dist/validation/index.d.ts +3 -0
  181. package/dist/validation/index.js +10 -0
  182. package/dist/validation/pipeline.d.ts +80 -0
  183. package/dist/validation/pipeline.js +173 -0
  184. package/dist/validation/steps/requirements.d.ts +32 -0
  185. package/dist/validation/steps/requirements.js +596 -0
  186. package/package.json +6 -6
  187. package/.claude/agents/consensus/README.md +0 -253
  188. package/.claude/agents/deprecated/qe-api-contract-validator.md.v2 +0 -162
  189. package/.claude/agents/deprecated/qe-coverage-analyzer.md.v2 +0 -208
  190. package/.claude/agents/deprecated/qe-test-generator.md.v2 +0 -212
  191. package/.claude/agents/deprecated/qe-visual-tester.md.v2 +0 -216
  192. package/.claude/agents/hive-mind/collective-intelligence-coordinator.md +0 -130
  193. package/.claude/agents/hive-mind/queen-coordinator.md +0 -203
  194. package/.claude/agents/hive-mind/scout-explorer.md +0 -242
  195. package/.claude/agents/hive-mind/swarm-memory-manager.md +0 -193
  196. package/.claude/agents/hive-mind/worker-specialist.md +0 -217
  197. package/.claude/agents/neural/safla-neural.md +0 -74
  198. package/.claude/agents/optimization/README.md +0 -250
  199. package/.claude/agents/reasoning/agent.md +0 -816
  200. package/.claude/agents/reasoning/goal-planner.md +0 -73
  201. package/.claude/agents/subagents/qe-code-reviewer.md +0 -76
  202. package/.claude/agents/subagents/qe-coverage-gap-analyzer.md +0 -76
  203. package/.claude/agents/subagents/qe-data-generator.md +0 -77
  204. package/.claude/agents/subagents/qe-flaky-investigator.md +0 -91
  205. package/.claude/agents/subagents/qe-integration-tester.md +0 -90
  206. package/.claude/agents/subagents/qe-performance-validator.md +0 -92
  207. package/.claude/agents/subagents/qe-security-auditor.md +0 -94
  208. package/.claude/agents/subagents/qe-test-data-architect-sub.md +0 -93
  209. package/.claude/agents/subagents/qe-test-implementer.md +0 -106
  210. package/.claude/agents/subagents/qe-test-refactorer.md +0 -117
  211. package/.claude/agents/subagents/qe-test-writer.md +0 -112
  212. package/.claude/agents/swarm/README.md +0 -190
  213. package/.claude/agents/templates/migration-plan.md +0 -746
  214. package/.claude/agents/testing/unit/tdd-london-swarm.md +0 -244
  215. package/.claude/agents/testing/validation/production-validator.md +0 -395
  216. package/.claude/agents/v3/README.md +0 -39
  217. package/.claude/agents/v3/typescript-specialist.yaml +0 -21
  218. package/.claude/agents/v3/v3-memory-specialist.md +0 -318
  219. package/.claude/agents/v3/v3-performance-engineer.md +0 -397
  220. package/.claude/agents/v3/v3-queen-coordinator.md +0 -98
  221. package/.claude/agents/v3/v3-security-architect.md +0 -174
  222. package/.claude/commands/README.md +0 -106
  223. package/.claude/commands/agents/README.md +0 -10
  224. package/.claude/commands/agents/agent-capabilities.md +0 -21
  225. package/.claude/commands/agents/agent-coordination.md +0 -28
  226. package/.claude/commands/agents/agent-spawning.md +0 -28
  227. package/.claude/commands/agents/agent-types.md +0 -26
  228. package/.claude/commands/coordination/README.md +0 -9
  229. package/.claude/commands/coordination/agent-spawn.md +0 -25
  230. package/.claude/commands/coordination/init.md +0 -44
  231. package/.claude/commands/coordination/orchestrate.md +0 -43
  232. package/.claude/commands/coordination/spawn.md +0 -45
  233. package/.claude/commands/coordination/swarm-init.md +0 -85
  234. package/.claude/commands/coordination/task-orchestrate.md +0 -25
  235. package/.claude/commands/hive-mind/README.md +0 -17
  236. package/.claude/commands/hive-mind/hive-mind-consensus.md +0 -8
  237. package/.claude/commands/hive-mind/hive-mind-init.md +0 -18
  238. package/.claude/commands/hive-mind/hive-mind-memory.md +0 -8
  239. package/.claude/commands/hive-mind/hive-mind-metrics.md +0 -8
  240. package/.claude/commands/hive-mind/hive-mind-resume.md +0 -8
  241. package/.claude/commands/hive-mind/hive-mind-sessions.md +0 -8
  242. package/.claude/commands/hive-mind/hive-mind-spawn.md +0 -21
  243. package/.claude/commands/hive-mind/hive-mind-status.md +0 -8
  244. package/.claude/commands/hive-mind/hive-mind-stop.md +0 -8
  245. package/.claude/commands/hive-mind/hive-mind-wizard.md +0 -8
  246. package/.claude/commands/hive-mind/hive-mind.md +0 -27
  247. package/.claude/commands/memory/README.md +0 -9
  248. package/.claude/commands/memory/memory-persist.md +0 -25
  249. package/.claude/commands/memory/memory-search.md +0 -25
  250. package/.claude/commands/memory/memory-usage.md +0 -25
  251. package/.claude/commands/memory/neural.md +0 -47
  252. package/.claude/commands/swarm/README.md +0 -15
  253. package/.claude/commands/swarm/swarm-analysis.md +0 -8
  254. package/.claude/commands/swarm/swarm-background.md +0 -8
  255. package/.claude/commands/swarm/swarm-init.md +0 -19
  256. package/.claude/commands/swarm/swarm-modes.md +0 -8
  257. package/.claude/commands/swarm/swarm-monitor.md +0 -8
  258. package/.claude/commands/swarm/swarm-spawn.md +0 -19
  259. package/.claude/commands/swarm/swarm-status.md +0 -8
  260. package/.claude/commands/swarm/swarm-strategies.md +0 -8
  261. package/.claude/commands/swarm/swarm.md +0 -27
  262. package/.claude/commands/training/README.md +0 -9
  263. package/.claude/commands/training/model-update.md +0 -25
  264. package/.claude/commands/training/neural-patterns.md +0 -74
  265. package/.claude/commands/training/neural-train.md +0 -25
  266. package/.claude/commands/training/pattern-learn.md +0 -25
  267. package/.claude/commands/training/specialization.md +0 -63
  268. package/.claude/commands/workflows/README.md +0 -9
  269. package/.claude/commands/workflows/development.md +0 -78
  270. package/.claude/commands/workflows/research.md +0 -63
  271. package/.claude/commands/workflows/workflow-create.md +0 -25
  272. package/.claude/commands/workflows/workflow-execute.md +0 -25
  273. package/.claude/commands/workflows/workflow-export.md +0 -25
  274. package/.claude/skills/agentic-jujutsu/SKILL.md +0 -645
  275. package/.claude/skills/hive-mind-advanced/SKILL.md +0 -712
  276. package/.claude/skills/iterative-loop/SKILL.md +0 -371
  277. package/.claude/skills/performance-analysis/SKILL.md +0 -569
  278. package/.claude/skills/performance-analysis/evals/performance-analysis.yaml +0 -144
  279. package/.claude/skills/performance-analysis/schemas/output.json +0 -588
  280. package/.claude/skills/performance-analysis/scripts/validate-config.json +0 -36
@@ -1,98 +0,0 @@
1
- ---
2
- name: v3-queen-coordinator
3
- version: "3.0.0-alpha"
4
- updated: "2026-01-04"
5
- description: V3 Queen Coordinator for 15-agent concurrent swarm orchestration, GitHub issue management, and cross-agent coordination. Implements ADR-001 through ADR-010 with hierarchical mesh topology for 14-week v3 delivery.
6
- color: purple
7
- metadata:
8
- v3_role: "orchestrator"
9
- agent_id: 1
10
- priority: "critical"
11
- concurrency_limit: 1
12
- phase: "all"
13
- hooks:
14
- pre_execution: |
15
- echo "👑 V3 Queen Coordinator starting 15-agent swarm orchestration..."
16
-
17
- # Check intelligence status
18
- npx agentic-flow@alpha hooks intelligence stats --json > /tmp/v3-intel.json 2>/dev/null || echo '{"initialized":false}' > /tmp/v3-intel.json
19
- echo "🧠 RuVector: $(cat /tmp/v3-intel.json | jq -r '.initialized // false')"
20
-
21
- # GitHub integration check
22
- if command -v gh &> /dev/null; then
23
- echo "🐙 GitHub CLI available"
24
- gh auth status &>/dev/null && echo "✅ Authenticated" || echo "⚠️ Auth needed"
25
- fi
26
-
27
- # Initialize v3 coordination
28
- echo "🎯 Mission: ADR-001 to ADR-010 implementation"
29
- echo "📊 Targets: 2.49x-7.47x performance, 150x search, 50-75% memory reduction"
30
-
31
- post_execution: |
32
- echo "👑 V3 Queen coordination complete"
33
-
34
- # Store coordination patterns
35
- npx agentic-flow@alpha memory store-pattern \
36
- --session-id "v3-queen-$(date +%s)" \
37
- --task "V3 Orchestration: $TASK" \
38
- --agent "v3-queen-coordinator" \
39
- --status "completed" 2>/dev/null || true
40
- ---
41
-
42
- # V3 Queen Coordinator
43
-
44
- **🎯 15-Agent Swarm Orchestrator for Claude-Flow v3 Complete Reimagining**
45
-
46
- ## Core Mission
47
-
48
- Lead the hierarchical mesh coordination of 15 specialized agents to implement all 10 ADRs (Architecture Decision Records) within 14-week timeline, achieving 2.49x-7.47x performance improvements.
49
-
50
- ## Agent Topology
51
-
52
- ```
53
- 👑 QUEEN COORDINATOR
54
- (Agent #1)
55
-
56
- ┌────────────────────┼────────────────────┐
57
- │ │ │
58
- 🛡️ SECURITY 🧠 CORE 🔗 INTEGRATION
59
- (Agents #2-4) (Agents #5-9) (Agents #10-12)
60
- │ │ │
61
- └────────────────────┼────────────────────┘
62
-
63
- ┌────────────────────┼────────────────────┐
64
- │ │ │
65
- 🧪 QUALITY ⚡ PERFORMANCE 🚀 DEPLOYMENT
66
- (Agent #13) (Agent #14) (Agent #15)
67
- ```
68
-
69
- ## Implementation Phases
70
-
71
- ### Phase 1: Foundation (Week 1-2)
72
- - **Agents #2-4**: Security architecture, CVE remediation, security testing
73
- - **Agents #5-6**: Core architecture DDD design, type modernization
74
-
75
- ### Phase 2: Core Systems (Week 3-6)
76
- - **Agent #7**: Memory unification (AgentDB 150x improvement)
77
- - **Agent #8**: Swarm coordination (merge 4 systems)
78
- - **Agent #9**: MCP server optimization
79
- - **Agent #13**: TDD London School implementation
80
-
81
- ### Phase 3: Integration (Week 7-10)
82
- - **Agent #10**: agentic-flow@alpha deep integration
83
- - **Agent #11**: CLI modernization + hooks
84
- - **Agent #12**: Neural/SONA integration
85
- - **Agent #14**: Performance benchmarking
86
-
87
- ### Phase 4: Release (Week 11-14)
88
- - **Agent #15**: Deployment + v3.0.0 release
89
- - **All agents**: Final optimization and polish
90
-
91
- ## Success Metrics
92
-
93
- - **Parallel Efficiency**: >85% agent utilization
94
- - **Performance**: 2.49x-7.47x Flash Attention speedup
95
- - **Search**: 150x-12,500x AgentDB improvement
96
- - **Memory**: 50-75% reduction
97
- - **Code**: <5,000 lines (vs 15,000+)
98
- - **Timeline**: 14-week delivery
@@ -1,174 +0,0 @@
1
- ---
2
- name: v3-security-architect
3
- version: "3.0.0-alpha"
4
- updated: "2026-01-04"
5
- description: V3 Security Architect responsible for complete security overhaul, threat modeling, and CVE remediation planning. Addresses critical vulnerabilities CVE-1, CVE-2, CVE-3 and implements secure-by-default patterns.
6
- color: red
7
- metadata:
8
- v3_role: "architect"
9
- agent_id: 2
10
- priority: "critical"
11
- domain: "security"
12
- phase: "foundation"
13
- hooks:
14
- pre_execution: |
15
- echo "🛡️ V3 Security Architect initializing security overhaul..."
16
-
17
- # Security audit preparation
18
- echo "🔍 Security priorities:"
19
- echo " CVE-1: Vulnerable dependencies (@anthropic-ai/claude-code)"
20
- echo " CVE-2: Weak password hashing (SHA-256 → bcrypt)"
21
- echo " CVE-3: Hardcoded credentials → random generation"
22
- echo " HIGH-1: Command injection (shell:true → execFile)"
23
- echo " HIGH-2: Path traversal vulnerabilities"
24
-
25
- # Check existing security tools
26
- command -v npm &>/dev/null && echo "📦 npm audit available"
27
-
28
- echo "🎯 Target: 90/100 security score, secure-by-default patterns"
29
-
30
- post_execution: |
31
- echo "🛡️ Security architecture review complete"
32
-
33
- # Store security patterns
34
- npx agentic-flow@alpha memory store-pattern \
35
- --session-id "v3-security-$(date +%s)" \
36
- --task "Security Architecture: $TASK" \
37
- --agent "v3-security-architect" \
38
- --priority "critical" 2>/dev/null || true
39
- ---
40
-
41
- # V3 Security Architect
42
-
43
- **🛡️ Complete Security Overhaul & Threat Modeling Specialist**
44
-
45
- ## Critical Security Mission
46
-
47
- Design and implement comprehensive security architecture for v3, addressing all identified vulnerabilities and establishing secure-by-default patterns for the entire codebase.
48
-
49
- ## Priority Security Fixes
50
-
51
- ### **CVE-1: Vulnerable Dependencies**
52
- - **Issue**: Outdated @anthropic-ai/claude-code version
53
- - **Action**: Update to @anthropic-ai/claude-code@^2.0.31
54
- - **Files**: package.json
55
- - **Timeline**: Phase 1 Week 1
56
-
57
- ### **CVE-2: Weak Password Hashing**
58
- - **Issue**: SHA-256 with hardcoded salt
59
- - **Action**: Implement bcrypt with 12 rounds
60
- - **Files**: api/auth-service.ts:580-588
61
- - **Timeline**: Phase 1 Week 1
62
-
63
- ### **CVE-3: Hardcoded Default Credentials**
64
- - **Issue**: Default credentials in auth service
65
- - **Action**: Generate random credentials on installation
66
- - **Files**: api/auth-service.ts:602-643
67
- - **Timeline**: Phase 1 Week 1
68
-
69
- ### **HIGH-1: Command Injection**
70
- - **Issue**: shell:true in spawn() calls
71
- - **Action**: Use execFile without shell
72
- - **Files**: Multiple spawn() locations
73
- - **Timeline**: Phase 1 Week 2
74
-
75
- ### **HIGH-2: Path Traversal**
76
- - **Issue**: Unvalidated file paths
77
- - **Action**: Implement path.resolve() + prefix validation
78
- - **Files**: All file operation modules
79
- - **Timeline**: Phase 1 Week 2
80
-
81
- ## Security Architecture Design
82
-
83
- ### **Threat Model Domains**
84
- ```
85
- ┌─────────────────────────────────────────┐
86
- │ API BOUNDARY │
87
- ├─────────────────────────────────────────┤
88
- │ Input Validation & Authentication │
89
- ├─────────────────────────────────────────┤
90
- │ CORE SECURITY LAYER │
91
- ├─────────────────────────────────────────┤
92
- │ Agent Communication & Authorization │
93
- ├─────────────────────────────────────────┤
94
- │ STORAGE & PERSISTENCE │
95
- └─────────────────────────────────────────┘
96
- ```
97
-
98
- ### **Security Boundaries**
99
- - **API Layer**: Input validation, rate limiting, CORS
100
- - **Authentication**: Token-based auth, session management
101
- - **Authorization**: Role-based access control (RBAC)
102
- - **Agent Communication**: Encrypted inter-agent messaging
103
- - **Data Protection**: Encryption at rest, secure key management
104
-
105
- ## Secure Patterns Catalog
106
-
107
- ### **Input Validation**
108
- ```typescript
109
- // Zod-based validation
110
- const TaskInputSchema = z.object({
111
- taskId: z.string().uuid(),
112
- content: z.string().max(10000),
113
- agentType: z.enum(['security', 'core', 'integration'])
114
- });
115
- ```
116
-
117
- ### **Path Sanitization**
118
- ```typescript
119
- // Secure path handling
120
- function securePath(userPath: string, allowedPrefix: string): string {
121
- const resolved = path.resolve(allowedPrefix, userPath);
122
- if (!resolved.startsWith(path.resolve(allowedPrefix))) {
123
- throw new SecurityError('Path traversal detected');
124
- }
125
- return resolved;
126
- }
127
- ```
128
-
129
- ### **Command Execution**
130
- ```typescript
131
- // Safe command execution
132
- import { execFile } from 'child_process';
133
-
134
- // ❌ Dangerous: shell injection possible
135
- // exec(`git ${userInput}`, { shell: true });
136
-
137
- // ✅ Safe: no shell interpretation
138
- execFile('git', [userInput], { shell: false });
139
- ```
140
-
141
- ## Deliverables
142
-
143
- ### **Phase 1 (Week 1-2)**
144
- - [ ] **SECURITY-ARCHITECTURE.md** - Complete threat model
145
- - [ ] **CVE-REMEDIATION-PLAN.md** - Detailed fix timeline
146
- - [ ] **SECURE-PATTERNS.md** - Reusable security patterns
147
- - [ ] **THREAT-MODEL.md** - Attack surface analysis
148
-
149
- ### **Validation Criteria**
150
- - [ ] All CVEs addressed with tested fixes
151
- - [ ] npm audit shows 0 high/critical vulnerabilities
152
- - [ ] Security patterns documented and implemented
153
- - [ ] Threat model covers all v3 domains
154
- - [ ] Security testing framework established
155
-
156
- ## Coordination with Security Team
157
-
158
- ### **Security Implementer (Agent #3)**
159
- - Provide detailed implementation specifications
160
- - Review all security-critical code changes
161
- - Validate CVE remediation implementations
162
-
163
- ### **Security Tester (Agent #4)**
164
- - Supply test specifications for security patterns
165
- - Define penetration testing requirements
166
- - Establish security regression test suite
167
-
168
- ## Success Metrics
169
-
170
- - **Security Score**: 90/100 (npm audit + custom scans)
171
- - **CVE Resolution**: 100% of identified CVEs fixed
172
- - **Test Coverage**: >95% for security-critical code
173
- - **Documentation**: Complete security architecture docs
174
- - **Timeline**: All deliverables within Phase 1
@@ -1,106 +0,0 @@
1
- # AQE Slash Commands
2
-
3
- This directory contains 8 slash command definitions for the Agentic Quality Engineering (AQE) Fleet.
4
-
5
- ## Available Commands
6
-
7
- | Command | File | Purpose |
8
- |---------|------|---------|
9
- | `/aqe-generate` | `aqe-generate.md` | Generate comprehensive test suites using AI |
10
- | `/aqe-execute` | `aqe-execute.md` | Execute tests with parallel orchestration |
11
- | `/aqe-analyze` | `aqe-analyze.md` | Analyze coverage and identify gaps |
12
- | `/aqe-optimize` | `aqe-optimize.md` | Optimize test suites using sublinear algorithms |
13
- | `/aqe-report` | `aqe-report.md` | Generate quality engineering reports |
14
- | `/aqe-fleet-status` | `aqe-fleet-status.md` | Display fleet health and agent status |
15
- | `/aqe-chaos` | `aqe-chaos.md` | Run chaos testing scenarios |
16
- | `/aqe-benchmark` | `aqe-benchmark.md` | Run performance benchmarks |
17
-
18
- ## Command Structure
19
-
20
- Each command file follows this structure:
21
-
22
- ```markdown
23
- ---
24
- name: command-name
25
- description: Brief description
26
- ---
27
-
28
- # Command Name
29
-
30
- ## Usage
31
- ## Options
32
- ## Examples
33
- ## Integration with Claude Code
34
- ## Agent Coordination
35
- ## Memory Operations
36
- ## Expected Outputs
37
- ## Error Handling
38
- ## Performance Characteristics
39
- ## See Also
40
- ```
41
-
42
- ## Quick Start
43
-
44
- ### Using Commands in Claude Code
45
-
46
- ```javascript
47
- // Spawn agent using Claude Code's Task tool
48
- Task("Generate tests", "Create test suite for auth module", "qe-test-generator")
49
-
50
- // Execute command directly
51
- /aqe-generate src/services/auth-service.ts --coverage 95
52
- ```
53
-
54
- ### Command Chaining
55
-
56
- ```bash
57
- # Complete QE workflow
58
- /aqe-generate src/services/user-service.ts
59
- /aqe-execute tests/unit/user-service.test.ts
60
- /aqe-analyze coverage --threshold 95
61
- /aqe-report summary
62
- ```
63
-
64
- ## Integration Features
65
-
66
- ### Claude Flow Hooks
67
- All commands integrate with Claude Flow for coordination:
68
- - Pre-task hooks for initialization
69
- - Post-task hooks for results storage
70
- - Memory operations for state sharing
71
- - Neural pattern training from outcomes
72
-
73
- ### Agent Coordination
74
- Commands spawn specialized QE agents:
75
- - **qe-test-generator**: Test generation
76
- - **qe-test-executor**: Test execution
77
- - **qe-coverage-analyzer**: Coverage analysis
78
- - **qe-quality-gate**: Quality validation
79
- - **qe-performance-tester**: Performance testing
80
- - **qe-security-scanner**: Security scanning
81
-
82
- ### Memory Keys
83
- Commands use structured memory keys:
84
- - `aqe/test-generation/*` - Test generation results
85
- - `aqe/execution/*` - Test execution data
86
- - `aqe/coverage/*` - Coverage metrics
87
- - `aqe/optimization/*` - Optimization results
88
- - `aqe/coordination/*` - Fleet coordination
89
-
90
- ## Documentation
91
-
92
- - **Specification**: `/docs/QE-SLASH-COMMANDS-SPECIFICATION.md`
93
- - **Implementation Guide**: `/docs/QE-COMMANDS-IMPLEMENTATION-GUIDE.md`
94
- - **Quick Reference**: `/docs/QE-COMMANDS-QUICK-REFERENCE.md`
95
-
96
- ## Status
97
-
98
- ✅ All 8 commands implemented and documented
99
- ✅ Claude Code integration patterns defined
100
- ✅ Agent coordination protocols specified
101
- ✅ Memory operations documented
102
- ✅ Example workflows provided
103
-
104
- **Version:** 2.0.0
105
- **Date:** 2025-09-30
106
- **Maintainer:** AQE Fleet Team
@@ -1,10 +0,0 @@
1
- # Agents Commands
2
-
3
- Commands for agents operations in Claude Flow.
4
-
5
- ## Available Commands
6
-
7
- - [agent-types](./agent-types.md)
8
- - [agent-capabilities](./agent-capabilities.md)
9
- - [agent-coordination](./agent-coordination.md)
10
- - [agent-spawning](./agent-spawning.md)
@@ -1,21 +0,0 @@
1
- # agent-capabilities
2
-
3
- Matrix of agent capabilities and their specializations.
4
-
5
- ## Capability Matrix
6
-
7
- | Agent Type | Primary Skills | Best For |
8
- |------------|---------------|----------|
9
- | coder | Implementation, debugging | Feature development |
10
- | researcher | Analysis, synthesis | Requirements gathering |
11
- | tester | Testing, validation | Quality assurance |
12
- | architect | Design, planning | System architecture |
13
-
14
- ## Querying Capabilities
15
- ```bash
16
- # List all capabilities
17
- npx claude-flow agents capabilities
18
-
19
- # For specific agent
20
- npx claude-flow agents capabilities --type coder
21
- ```
@@ -1,28 +0,0 @@
1
- # agent-coordination
2
-
3
- Coordination patterns for multi-agent collaboration.
4
-
5
- ## Coordination Patterns
6
-
7
- ### Hierarchical
8
- Queen-led with worker specialization
9
- ```bash
10
- npx claude-flow swarm init --topology hierarchical
11
- ```
12
-
13
- ### Mesh
14
- Peer-to-peer collaboration
15
- ```bash
16
- npx claude-flow swarm init --topology mesh
17
- ```
18
-
19
- ### Adaptive
20
- Dynamic topology based on workload
21
- ```bash
22
- npx claude-flow swarm init --topology adaptive
23
- ```
24
-
25
- ## Best Practices
26
- - Use hierarchical for complex projects
27
- - Use mesh for research tasks
28
- - Use adaptive for unknown workloads
@@ -1,28 +0,0 @@
1
- # agent-spawning
2
-
3
- Guide to spawning agents with Claude Code's Task tool.
4
-
5
- ## Using Claude Code's Task Tool
6
-
7
- **CRITICAL**: Always use Claude Code's Task tool for actual agent execution:
8
-
9
- ```javascript
10
- // Spawn ALL agents in ONE message
11
- Task("Researcher", "Analyze requirements...", "researcher")
12
- Task("Coder", "Implement features...", "coder")
13
- Task("Tester", "Create tests...", "tester")
14
- ```
15
-
16
- ## MCP Coordination Setup (Optional)
17
-
18
- MCP tools are ONLY for coordination:
19
- ```javascript
20
- mcp__claude-flow__swarm_init { topology: "mesh" }
21
- mcp__claude-flow__agent_spawn { type: "researcher" }
22
- ```
23
-
24
- ## Best Practices
25
- 1. Always spawn agents concurrently
26
- 2. Use Task tool for execution
27
- 3. MCP only for coordination
28
- 4. Batch all operations
@@ -1,26 +0,0 @@
1
- # agent-types
2
-
3
- Complete guide to all 54 available agent types in Claude Flow.
4
-
5
- ## Core Development Agents
6
- - `coder` - Implementation specialist
7
- - `reviewer` - Code quality assurance
8
- - `tester` - Test creation and validation
9
- - `planner` - Strategic planning
10
- - `researcher` - Information gathering
11
-
12
- ## Swarm Coordination Agents
13
- - `hierarchical-coordinator` - Queen-led coordination
14
- - `mesh-coordinator` - Peer-to-peer networks
15
- - `adaptive-coordinator` - Dynamic topology
16
-
17
- ## Specialized Agents
18
- - `backend-dev` - API development
19
- - `mobile-dev` - React Native development
20
- - `ml-developer` - Machine learning
21
- - `system-architect` - High-level design
22
-
23
- For full list and details:
24
- ```bash
25
- npx claude-flow agents list
26
- ```
@@ -1,9 +0,0 @@
1
- # Coordination Commands
2
-
3
- Commands for coordination operations in Claude Flow.
4
-
5
- ## Available Commands
6
-
7
- - [swarm-init](./swarm-init.md)
8
- - [agent-spawn](./agent-spawn.md)
9
- - [task-orchestrate](./task-orchestrate.md)
@@ -1,25 +0,0 @@
1
- # agent-spawn
2
-
3
- Spawn a new agent in the current swarm.
4
-
5
- ## Usage
6
- ```bash
7
- npx claude-flow agent spawn [options]
8
- ```
9
-
10
- ## Options
11
- - `--type <type>` - Agent type (coder, researcher, analyst, tester, coordinator)
12
- - `--name <name>` - Custom agent name
13
- - `--skills <list>` - Specific skills (comma-separated)
14
-
15
- ## Examples
16
- ```bash
17
- # Spawn coder agent
18
- npx claude-flow agent spawn --type coder
19
-
20
- # With custom name
21
- npx claude-flow agent spawn --type researcher --name "API Expert"
22
-
23
- # With specific skills
24
- npx claude-flow agent spawn --type coder --skills "python,fastapi,testing"
25
- ```
@@ -1,44 +0,0 @@
1
- # Initialize Coordination Framework
2
-
3
- ## 🎯 Key Principle
4
- **This tool coordinates Claude Code's actions. It does NOT write code or create content.**
5
-
6
- ## MCP Tool Usage in Claude Code
7
-
8
- **Tool:** `mcp__claude-flow__swarm_init`
9
-
10
- ## Parameters
11
- ```json
12
- {"topology": "mesh", "maxAgents": 5, "strategy": "balanced"}
13
- ```
14
-
15
- ## Description
16
- Set up a coordination topology to guide Claude Code's approach to complex tasks
17
-
18
- ## Details
19
- This tool creates a coordination framework that helps Claude Code:
20
- - Break down complex problems systematically
21
- - Approach tasks from multiple perspectives
22
- - Maintain consistency across large projects
23
- - Work more efficiently through structured coordination
24
-
25
- Remember: This does NOT create actual coding agents. It creates a coordination pattern for Claude Code to follow.
26
-
27
- ## Example Usage
28
-
29
- **In Claude Code:**
30
- 1. Use the tool: `mcp__claude-flow__swarm_init`
31
- 2. With parameters: `{"topology": "mesh", "maxAgents": 5, "strategy": "balanced"}`
32
- 3. Claude Code then executes the coordinated plan using its native tools
33
-
34
- ## Important Reminders
35
- - ✅ This tool provides coordination and structure
36
- - ✅ Claude Code performs all actual implementation
37
- - ❌ The tool does NOT write code
38
- - ❌ The tool does NOT access files directly
39
- - ❌ The tool does NOT execute commands
40
-
41
- ## See Also
42
- - Main documentation: /claude.md
43
- - Other commands in this category
44
- - Workflow examples in /workflows/
@@ -1,43 +0,0 @@
1
- # Coordinate Task Execution
2
-
3
- ## 🎯 Key Principle
4
- **This tool coordinates Claude Code's actions. It does NOT write code or create content.**
5
-
6
- ## MCP Tool Usage in Claude Code
7
-
8
- **Tool:** `mcp__claude-flow__task_orchestrate`
9
-
10
- ## Parameters
11
- ```json
12
- {"task": "Implement authentication system", "strategy": "parallel", "priority": "high"}
13
- ```
14
-
15
- ## Description
16
- Break down and coordinate complex tasks for systematic execution by Claude Code
17
-
18
- ## Details
19
- Orchestration strategies:
20
- - **parallel**: Claude Code works on independent components simultaneously
21
- - **sequential**: Step-by-step execution for dependent tasks
22
- - **adaptive**: Dynamically adjusts based on task complexity
23
-
24
- The orchestrator creates a plan that Claude Code follows using its native tools.
25
-
26
- ## Example Usage
27
-
28
- **In Claude Code:**
29
- 1. Use the tool: `mcp__claude-flow__task_orchestrate`
30
- 2. With parameters: `{"task": "Implement authentication system", "strategy": "parallel", "priority": "high"}`
31
- 3. Claude Code then executes the coordinated plan using its native tools
32
-
33
- ## Important Reminders
34
- - ✅ This tool provides coordination and structure
35
- - ✅ Claude Code performs all actual implementation
36
- - ❌ The tool does NOT write code
37
- - ❌ The tool does NOT access files directly
38
- - ❌ The tool does NOT execute commands
39
-
40
- ## See Also
41
- - Main documentation: /claude.md
42
- - Other commands in this category
43
- - Workflow examples in /workflows/
@@ -1,45 +0,0 @@
1
- # Create Cognitive Patterns
2
-
3
- ## 🎯 Key Principle
4
- **This tool coordinates Claude Code's actions. It does NOT write code or create content.**
5
-
6
- ## MCP Tool Usage in Claude Code
7
-
8
- **Tool:** `mcp__claude-flow__agent_spawn`
9
-
10
- ## Parameters
11
- ```json
12
- {"type": "researcher", "name": "Literature Analysis", "capabilities": ["deep-analysis"]}
13
- ```
14
-
15
- ## Description
16
- Define cognitive patterns that represent different approaches Claude Code can take
17
-
18
- ## Details
19
- Agent types represent thinking patterns, not actual coders:
20
- - **researcher**: Systematic exploration approach
21
- - **coder**: Implementation-focused thinking
22
- - **analyst**: Data-driven decision making
23
- - **architect**: Big-picture system design
24
- - **reviewer**: Quality and consistency checking
25
-
26
- These patterns guide how Claude Code approaches different aspects of your task.
27
-
28
- ## Example Usage
29
-
30
- **In Claude Code:**
31
- 1. Use the tool: `mcp__claude-flow__agent_spawn`
32
- 2. With parameters: `{"type": "researcher", "name": "Literature Analysis", "capabilities": ["deep-analysis"]}`
33
- 3. Claude Code then executes the coordinated plan using its native tools
34
-
35
- ## Important Reminders
36
- - ✅ This tool provides coordination and structure
37
- - ✅ Claude Code performs all actual implementation
38
- - ❌ The tool does NOT write code
39
- - ❌ The tool does NOT access files directly
40
- - ❌ The tool does NOT execute commands
41
-
42
- ## See Also
43
- - Main documentation: /claude.md
44
- - Other commands in this category
45
- - Workflow examples in /workflows/