agentic-qe 3.6.8 → 3.6.10

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 (1290) hide show
  1. package/.claude/skills/.validation/schemas/skill-eval.schema.json +11 -1
  2. package/.claude/skills/README.md +1 -1
  3. package/.claude/skills/pr-review/SKILL.md +2 -2
  4. package/.claude/skills/qcsd-production-swarm/SKILL.md +2781 -0
  5. package/.claude/skills/qcsd-production-swarm/evals/qcsd-production-swarm.yaml +246 -0
  6. package/.claude/skills/qcsd-production-swarm/schemas/output.json +505 -0
  7. package/.claude/skills/qcsd-production-swarm/scripts/validate-config.json +25 -0
  8. package/.claude/skills/skills-manifest.json +5 -5
  9. package/package.json +3 -2
  10. package/scripts/benchmark-hnsw-loading.ts +480 -0
  11. package/scripts/benchmark-kg-assisted.ts +725 -0
  12. package/scripts/collect-production-telemetry.sh +291 -0
  13. package/scripts/detect-skill-conflicts.ts +347 -0
  14. package/scripts/eval-driven-workflow.ts +704 -0
  15. package/scripts/run-skill-eval.ts +210 -10
  16. package/scripts/score-skill-quality.ts +511 -0
  17. package/v3/CHANGELOG.md +39 -0
  18. package/v3/assets/skills/pr-review/SKILL.md +2 -2
  19. package/v3/dist/adapters/a2a/agent-cards/generator.d.ts.map +1 -1
  20. package/v3/dist/adapters/a2a/agent-cards/generator.js +2 -1
  21. package/v3/dist/adapters/a2a/agent-cards/generator.js.map +1 -1
  22. package/v3/dist/adapters/a2a/auth/jwt-utils.d.ts.map +1 -1
  23. package/v3/dist/adapters/a2a/auth/jwt-utils.js +3 -2
  24. package/v3/dist/adapters/a2a/auth/jwt-utils.js.map +1 -1
  25. package/v3/dist/adapters/a2a/auth/middleware.d.ts.map +1 -1
  26. package/v3/dist/adapters/a2a/auth/middleware.js +3 -0
  27. package/v3/dist/adapters/a2a/auth/middleware.js.map +1 -1
  28. package/v3/dist/adapters/a2a/discovery/agent-health.d.ts.map +1 -1
  29. package/v3/dist/adapters/a2a/discovery/agent-health.js +4 -3
  30. package/v3/dist/adapters/a2a/discovery/agent-health.js.map +1 -1
  31. package/v3/dist/adapters/a2a/discovery/file-watcher.d.ts.map +1 -1
  32. package/v3/dist/adapters/a2a/discovery/file-watcher.js +3 -2
  33. package/v3/dist/adapters/a2a/discovery/file-watcher.js.map +1 -1
  34. package/v3/dist/adapters/a2a/discovery/hot-reload-service.d.ts.map +1 -1
  35. package/v3/dist/adapters/a2a/discovery/hot-reload-service.js +6 -5
  36. package/v3/dist/adapters/a2a/discovery/hot-reload-service.js.map +1 -1
  37. package/v3/dist/adapters/a2a/jsonrpc/envelope.d.ts.map +1 -1
  38. package/v3/dist/adapters/a2a/jsonrpc/envelope.js +5 -4
  39. package/v3/dist/adapters/a2a/jsonrpc/envelope.js.map +1 -1
  40. package/v3/dist/adapters/ag-ui/event-adapter.d.ts.map +1 -1
  41. package/v3/dist/adapters/ag-ui/event-adapter.js +2 -1
  42. package/v3/dist/adapters/ag-ui/event-adapter.js.map +1 -1
  43. package/v3/dist/adapters/ag-ui/event-batcher.d.ts.map +1 -1
  44. package/v3/dist/adapters/ag-ui/event-batcher.js +2 -1
  45. package/v3/dist/adapters/ag-ui/event-batcher.js.map +1 -1
  46. package/v3/dist/adapters/ag-ui/json-patch-utils.d.ts.map +1 -1
  47. package/v3/dist/adapters/ag-ui/json-patch-utils.js +2 -1
  48. package/v3/dist/adapters/ag-ui/json-patch-utils.js.map +1 -1
  49. package/v3/dist/adapters/ag-ui/json-patch.d.ts +1 -1
  50. package/v3/dist/adapters/ag-ui/json-patch.d.ts.map +1 -1
  51. package/v3/dist/adapters/ag-ui/json-patch.js +4 -6
  52. package/v3/dist/adapters/ag-ui/json-patch.js.map +1 -1
  53. package/v3/dist/adapters/ag-ui/stream-controller.d.ts.map +1 -1
  54. package/v3/dist/adapters/ag-ui/stream-controller.js +3 -0
  55. package/v3/dist/adapters/ag-ui/stream-controller.js.map +1 -1
  56. package/v3/dist/adapters/claude-flow/detect.d.ts.map +1 -1
  57. package/v3/dist/adapters/claude-flow/detect.js +4 -3
  58. package/v3/dist/adapters/claude-flow/detect.js.map +1 -1
  59. package/v3/dist/adapters/claude-flow/pretrain-bridge.d.ts.map +1 -1
  60. package/v3/dist/adapters/claude-flow/pretrain-bridge.js +7 -5
  61. package/v3/dist/adapters/claude-flow/pretrain-bridge.js.map +1 -1
  62. package/v3/dist/adapters/claude-flow/trajectory-bridge.d.ts.map +1 -1
  63. package/v3/dist/adapters/claude-flow/trajectory-bridge.js +2 -14
  64. package/v3/dist/adapters/claude-flow/trajectory-bridge.js.map +1 -1
  65. package/v3/dist/adapters/trajectory-adapter.d.ts.map +1 -1
  66. package/v3/dist/adapters/trajectory-adapter.js +5 -3
  67. package/v3/dist/adapters/trajectory-adapter.js.map +1 -1
  68. package/v3/dist/agents/claim-verifier/verifiers/test-verifier.d.ts.map +1 -1
  69. package/v3/dist/agents/claim-verifier/verifiers/test-verifier.js +2 -1
  70. package/v3/dist/agents/claim-verifier/verifiers/test-verifier.js.map +1 -1
  71. package/v3/dist/benchmarks/performance-benchmarks.d.ts.map +1 -1
  72. package/v3/dist/benchmarks/performance-benchmarks.js +4 -3
  73. package/v3/dist/benchmarks/performance-benchmarks.js.map +1 -1
  74. package/v3/dist/benchmarks/run-benchmarks.js +27 -45
  75. package/v3/dist/benchmarks/run-benchmarks.js.map +1 -1
  76. package/v3/dist/cli/bundle.js +14596 -15275
  77. package/v3/dist/cli/commands/claude-flow-setup.d.ts.map +1 -1
  78. package/v3/dist/cli/commands/claude-flow-setup.js +7 -5
  79. package/v3/dist/cli/commands/claude-flow-setup.js.map +1 -1
  80. package/v3/dist/cli/commands/hooks.d.ts.map +1 -1
  81. package/v3/dist/cli/commands/hooks.js +145 -3
  82. package/v3/dist/cli/commands/hooks.js.map +1 -1
  83. package/v3/dist/cli/commands/init.d.ts.map +1 -1
  84. package/v3/dist/cli/commands/init.js +2 -1
  85. package/v3/dist/cli/commands/init.js.map +1 -1
  86. package/v3/dist/cli/commands/learning-helpers.d.ts +101 -0
  87. package/v3/dist/cli/commands/learning-helpers.d.ts.map +1 -0
  88. package/v3/dist/cli/commands/learning-helpers.js +294 -0
  89. package/v3/dist/cli/commands/learning-helpers.js.map +1 -0
  90. package/v3/dist/cli/commands/learning.d.ts +1 -6
  91. package/v3/dist/cli/commands/learning.d.ts.map +1 -1
  92. package/v3/dist/cli/commands/learning.js +230 -839
  93. package/v3/dist/cli/commands/learning.js.map +1 -1
  94. package/v3/dist/cli/commands/qe-tools.d.ts.map +1 -1
  95. package/v3/dist/cli/commands/qe-tools.js +2 -1
  96. package/v3/dist/cli/commands/qe-tools.js.map +1 -1
  97. package/v3/dist/cli/commands/sync.d.ts.map +1 -1
  98. package/v3/dist/cli/commands/sync.js +5 -4
  99. package/v3/dist/cli/commands/sync.js.map +1 -1
  100. package/v3/dist/cli/commands/test.d.ts.map +1 -1
  101. package/v3/dist/cli/commands/test.js +6 -0
  102. package/v3/dist/cli/commands/test.js.map +1 -1
  103. package/v3/dist/cli/commands/token-usage.d.ts.map +1 -1
  104. package/v3/dist/cli/commands/token-usage.js +2 -1
  105. package/v3/dist/cli/commands/token-usage.js.map +1 -1
  106. package/v3/dist/cli/commands/validate.d.ts.map +1 -1
  107. package/v3/dist/cli/commands/validate.js +3 -2
  108. package/v3/dist/cli/commands/validate.js.map +1 -1
  109. package/v3/dist/cli/config/cli-config.d.ts.map +1 -1
  110. package/v3/dist/cli/config/cli-config.js +2 -1
  111. package/v3/dist/cli/config/cli-config.js.map +1 -1
  112. package/v3/dist/cli/handlers/init-handler.d.ts.map +1 -1
  113. package/v3/dist/cli/handlers/init-handler.js +3 -2
  114. package/v3/dist/cli/handlers/init-handler.js.map +1 -1
  115. package/v3/dist/cli/helpers/safe-json.d.ts +4 -48
  116. package/v3/dist/cli/helpers/safe-json.d.ts.map +1 -1
  117. package/v3/dist/cli/helpers/safe-json.js +4 -68
  118. package/v3/dist/cli/helpers/safe-json.js.map +1 -1
  119. package/v3/dist/cli/index.js +3 -2
  120. package/v3/dist/cli/index.js.map +1 -1
  121. package/v3/dist/cli/scheduler/persistent-scheduler.d.ts.map +1 -1
  122. package/v3/dist/cli/scheduler/persistent-scheduler.js +4 -2
  123. package/v3/dist/cli/scheduler/persistent-scheduler.js.map +1 -1
  124. package/v3/dist/cli/wizards/test-wizard.d.ts.map +1 -1
  125. package/v3/dist/cli/wizards/test-wizard.js +2 -1
  126. package/v3/dist/cli/wizards/test-wizard.js.map +1 -1
  127. package/v3/dist/coordination/agent-teams/tracing.d.ts.map +1 -1
  128. package/v3/dist/coordination/agent-teams/tracing.js +2 -1
  129. package/v3/dist/coordination/agent-teams/tracing.js.map +1 -1
  130. package/v3/dist/coordination/circuit-breaker/breaker-registry.d.ts.map +1 -1
  131. package/v3/dist/coordination/circuit-breaker/breaker-registry.js +3 -2
  132. package/v3/dist/coordination/circuit-breaker/breaker-registry.js.map +1 -1
  133. package/v3/dist/coordination/circuit-breaker/domain-circuit-breaker.d.ts.map +1 -1
  134. package/v3/dist/coordination/circuit-breaker/domain-circuit-breaker.js +3 -2
  135. package/v3/dist/coordination/circuit-breaker/domain-circuit-breaker.js.map +1 -1
  136. package/v3/dist/coordination/consensus/consensus-engine.d.ts.map +1 -1
  137. package/v3/dist/coordination/consensus/consensus-engine.js +7 -6
  138. package/v3/dist/coordination/consensus/consensus-engine.js.map +1 -1
  139. package/v3/dist/coordination/consensus/model-provider.d.ts.map +1 -1
  140. package/v3/dist/coordination/consensus/model-provider.js +2 -1
  141. package/v3/dist/coordination/consensus/model-provider.js.map +1 -1
  142. package/v3/dist/coordination/consensus/providers/claude-provider.d.ts.map +1 -1
  143. package/v3/dist/coordination/consensus/providers/claude-provider.js +13 -12
  144. package/v3/dist/coordination/consensus/providers/claude-provider.js.map +1 -1
  145. package/v3/dist/coordination/consensus/providers/gemini-provider.d.ts.map +1 -1
  146. package/v3/dist/coordination/consensus/providers/gemini-provider.js +13 -12
  147. package/v3/dist/coordination/consensus/providers/gemini-provider.js.map +1 -1
  148. package/v3/dist/coordination/consensus/providers/native-learning-provider.d.ts.map +1 -1
  149. package/v3/dist/coordination/consensus/providers/native-learning-provider.js +3 -2
  150. package/v3/dist/coordination/consensus/providers/native-learning-provider.js.map +1 -1
  151. package/v3/dist/coordination/consensus/providers/ollama-provider.d.ts.map +1 -1
  152. package/v3/dist/coordination/consensus/providers/ollama-provider.js +3 -2
  153. package/v3/dist/coordination/consensus/providers/ollama-provider.js.map +1 -1
  154. package/v3/dist/coordination/consensus/providers/openai-provider.d.ts.map +1 -1
  155. package/v3/dist/coordination/consensus/providers/openai-provider.js +3 -2
  156. package/v3/dist/coordination/consensus/providers/openai-provider.js.map +1 -1
  157. package/v3/dist/coordination/consensus/providers/openrouter-provider.d.ts.map +1 -1
  158. package/v3/dist/coordination/consensus/providers/openrouter-provider.js +3 -2
  159. package/v3/dist/coordination/consensus/providers/openrouter-provider.js.map +1 -1
  160. package/v3/dist/coordination/dynamic-scaling/dynamic-scaler.d.ts.map +1 -1
  161. package/v3/dist/coordination/dynamic-scaling/dynamic-scaler.js +5 -4
  162. package/v3/dist/coordination/dynamic-scaling/dynamic-scaler.js.map +1 -1
  163. package/v3/dist/coordination/mincut/dream-integration.d.ts.map +1 -1
  164. package/v3/dist/coordination/mincut/dream-integration.js.map +1 -1
  165. package/v3/dist/coordination/mincut/mincut-health-monitor.d.ts +4 -2
  166. package/v3/dist/coordination/mincut/mincut-health-monitor.d.ts.map +1 -1
  167. package/v3/dist/coordination/mincut/mincut-health-monitor.js +13 -3
  168. package/v3/dist/coordination/mincut/mincut-health-monitor.js.map +1 -1
  169. package/v3/dist/coordination/mincut/mincut-persistence.d.ts.map +1 -1
  170. package/v3/dist/coordination/mincut/mincut-persistence.js +5 -4
  171. package/v3/dist/coordination/mincut/mincut-persistence.js.map +1 -1
  172. package/v3/dist/coordination/mincut/neural-goap.d.ts.map +1 -1
  173. package/v3/dist/coordination/mincut/neural-goap.js +2 -1
  174. package/v3/dist/coordination/mincut/neural-goap.js.map +1 -1
  175. package/v3/dist/coordination/mincut/strange-loop.d.ts.map +1 -1
  176. package/v3/dist/coordination/mincut/strange-loop.js +10 -2
  177. package/v3/dist/coordination/mincut/strange-loop.js.map +1 -1
  178. package/v3/dist/coordination/mincut/time-crystal.d.ts.map +1 -1
  179. package/v3/dist/coordination/mincut/time-crystal.js +2 -1
  180. package/v3/dist/coordination/mincut/time-crystal.js.map +1 -1
  181. package/v3/dist/coordination/mixins/consensus-enabled-domain.d.ts +19 -3
  182. package/v3/dist/coordination/mixins/consensus-enabled-domain.d.ts.map +1 -1
  183. package/v3/dist/coordination/mixins/consensus-enabled-domain.js +6 -2
  184. package/v3/dist/coordination/mixins/consensus-enabled-domain.js.map +1 -1
  185. package/v3/dist/coordination/plugin.d.ts +1 -1
  186. package/v3/dist/coordination/plugin.d.ts.map +1 -1
  187. package/v3/dist/coordination/plugin.js +1 -1
  188. package/v3/dist/coordination/plugin.js.map +1 -1
  189. package/v3/dist/coordination/protocol-executor.d.ts.map +1 -1
  190. package/v3/dist/coordination/protocol-executor.js +4 -3
  191. package/v3/dist/coordination/protocol-executor.js.map +1 -1
  192. package/v3/dist/coordination/protocols/code-intelligence-index.d.ts +1 -1
  193. package/v3/dist/coordination/protocols/code-intelligence-index.d.ts.map +1 -1
  194. package/v3/dist/coordination/protocols/code-intelligence-index.js +22 -10
  195. package/v3/dist/coordination/protocols/code-intelligence-index.js.map +1 -1
  196. package/v3/dist/coordination/protocols/defect-investigation.d.ts +2 -2
  197. package/v3/dist/coordination/protocols/defect-investigation.d.ts.map +1 -1
  198. package/v3/dist/coordination/protocols/defect-investigation.js +16 -7
  199. package/v3/dist/coordination/protocols/defect-investigation.js.map +1 -1
  200. package/v3/dist/coordination/protocols/learning-consolidation.d.ts +1 -1
  201. package/v3/dist/coordination/protocols/learning-consolidation.d.ts.map +1 -1
  202. package/v3/dist/coordination/protocols/learning-consolidation.js +6 -5
  203. package/v3/dist/coordination/protocols/learning-consolidation.js.map +1 -1
  204. package/v3/dist/coordination/protocols/morning-sync.d.ts.map +1 -1
  205. package/v3/dist/coordination/protocols/morning-sync.js +2 -1
  206. package/v3/dist/coordination/protocols/morning-sync.js.map +1 -1
  207. package/v3/dist/coordination/protocols/quality-gate.d.ts.map +1 -1
  208. package/v3/dist/coordination/protocols/quality-gate.js +6 -5
  209. package/v3/dist/coordination/protocols/quality-gate.js.map +1 -1
  210. package/v3/dist/coordination/protocols/security-audit.d.ts +1 -1
  211. package/v3/dist/coordination/protocols/security-audit.d.ts.map +1 -1
  212. package/v3/dist/coordination/protocols/security-audit.js +35 -13
  213. package/v3/dist/coordination/protocols/security-audit.js.map +1 -1
  214. package/v3/dist/coordination/queen-coordinator.d.ts +26 -257
  215. package/v3/dist/coordination/queen-coordinator.d.ts.map +1 -1
  216. package/v3/dist/coordination/queen-coordinator.js +282 -1175
  217. package/v3/dist/coordination/queen-coordinator.js.map +1 -1
  218. package/v3/dist/coordination/queen-event-handlers.d.ts +61 -0
  219. package/v3/dist/coordination/queen-event-handlers.d.ts.map +1 -0
  220. package/v3/dist/coordination/queen-event-handlers.js +311 -0
  221. package/v3/dist/coordination/queen-event-handlers.js.map +1 -0
  222. package/v3/dist/coordination/queen-lifecycle.d.ts +61 -0
  223. package/v3/dist/coordination/queen-lifecycle.d.ts.map +1 -0
  224. package/v3/dist/coordination/queen-lifecycle.js +162 -0
  225. package/v3/dist/coordination/queen-lifecycle.js.map +1 -0
  226. package/v3/dist/coordination/queen-task-management.d.ts +84 -0
  227. package/v3/dist/coordination/queen-task-management.d.ts.map +1 -0
  228. package/v3/dist/coordination/queen-task-management.js +333 -0
  229. package/v3/dist/coordination/queen-task-management.js.map +1 -0
  230. package/v3/dist/coordination/queen-types.d.ts +175 -0
  231. package/v3/dist/coordination/queen-types.d.ts.map +1 -0
  232. package/v3/dist/coordination/queen-types.js +80 -0
  233. package/v3/dist/coordination/queen-types.js.map +1 -0
  234. package/v3/dist/coordination/queen-work-stealing.d.ts +33 -0
  235. package/v3/dist/coordination/queen-work-stealing.d.ts.map +1 -0
  236. package/v3/dist/coordination/queen-work-stealing.js +78 -0
  237. package/v3/dist/coordination/queen-work-stealing.js.map +1 -0
  238. package/v3/dist/coordination/result-saver.d.ts.map +1 -1
  239. package/v3/dist/coordination/result-saver.js +2 -1
  240. package/v3/dist/coordination/result-saver.js.map +1 -1
  241. package/v3/dist/coordination/task-executor.d.ts +45 -2
  242. package/v3/dist/coordination/task-executor.d.ts.map +1 -1
  243. package/v3/dist/coordination/task-executor.js +643 -570
  244. package/v3/dist/coordination/task-executor.js.map +1 -1
  245. package/v3/dist/coordination/workflow-builtin.d.ts +17 -0
  246. package/v3/dist/coordination/workflow-builtin.d.ts.map +1 -0
  247. package/v3/dist/coordination/workflow-builtin.js +648 -0
  248. package/v3/dist/coordination/workflow-builtin.js.map +1 -0
  249. package/v3/dist/coordination/workflow-orchestrator.d.ts +13 -300
  250. package/v3/dist/coordination/workflow-orchestrator.d.ts.map +1 -1
  251. package/v3/dist/coordination/workflow-orchestrator.js +142 -1009
  252. package/v3/dist/coordination/workflow-orchestrator.js.map +1 -1
  253. package/v3/dist/coordination/workflow-types.d.ts +250 -0
  254. package/v3/dist/coordination/workflow-types.d.ts.map +1 -0
  255. package/v3/dist/coordination/workflow-types.js +27 -0
  256. package/v3/dist/coordination/workflow-types.js.map +1 -0
  257. package/v3/dist/domains/base-domain-coordinator.d.ts +119 -0
  258. package/v3/dist/domains/base-domain-coordinator.d.ts.map +1 -0
  259. package/v3/dist/domains/base-domain-coordinator.js +200 -0
  260. package/v3/dist/domains/base-domain-coordinator.js.map +1 -0
  261. package/v3/dist/domains/chaos-resilience/coordinator.d.ts +12 -70
  262. package/v3/dist/domains/chaos-resilience/coordinator.d.ts.map +1 -1
  263. package/v3/dist/domains/chaos-resilience/coordinator.js +25 -181
  264. package/v3/dist/domains/chaos-resilience/coordinator.js.map +1 -1
  265. package/v3/dist/domains/chaos-resilience/plugin.d.ts.map +1 -1
  266. package/v3/dist/domains/chaos-resilience/plugin.js +2 -1
  267. package/v3/dist/domains/chaos-resilience/plugin.js.map +1 -1
  268. package/v3/dist/domains/chaos-resilience/services/chaos-engineer.d.ts.map +1 -1
  269. package/v3/dist/domains/chaos-resilience/services/chaos-engineer.js +15 -13
  270. package/v3/dist/domains/chaos-resilience/services/chaos-engineer.js.map +1 -1
  271. package/v3/dist/domains/chaos-resilience/services/load-tester.d.ts.map +1 -1
  272. package/v3/dist/domains/chaos-resilience/services/load-tester.js +8 -7
  273. package/v3/dist/domains/chaos-resilience/services/load-tester.js.map +1 -1
  274. package/v3/dist/domains/chaos-resilience/services/performance-profiler.d.ts.map +1 -1
  275. package/v3/dist/domains/chaos-resilience/services/performance-profiler.js +7 -5
  276. package/v3/dist/domains/chaos-resilience/services/performance-profiler.js.map +1 -1
  277. package/v3/dist/domains/code-intelligence/coordinator-consensus.d.ts +33 -0
  278. package/v3/dist/domains/code-intelligence/coordinator-consensus.d.ts.map +1 -0
  279. package/v3/dist/domains/code-intelligence/coordinator-consensus.js +81 -0
  280. package/v3/dist/domains/code-intelligence/coordinator-consensus.js.map +1 -0
  281. package/v3/dist/domains/code-intelligence/coordinator-gnn.d.ts +44 -0
  282. package/v3/dist/domains/code-intelligence/coordinator-gnn.d.ts.map +1 -0
  283. package/v3/dist/domains/code-intelligence/coordinator-gnn.js +183 -0
  284. package/v3/dist/domains/code-intelligence/coordinator-gnn.js.map +1 -0
  285. package/v3/dist/domains/code-intelligence/coordinator-hypergraph.d.ts +40 -0
  286. package/v3/dist/domains/code-intelligence/coordinator-hypergraph.d.ts.map +1 -0
  287. package/v3/dist/domains/code-intelligence/coordinator-hypergraph.js +191 -0
  288. package/v3/dist/domains/code-intelligence/coordinator-hypergraph.js.map +1 -0
  289. package/v3/dist/domains/code-intelligence/coordinator.d.ts +17 -93
  290. package/v3/dist/domains/code-intelligence/coordinator.d.ts.map +1 -1
  291. package/v3/dist/domains/code-intelligence/coordinator.js +46 -565
  292. package/v3/dist/domains/code-intelligence/coordinator.js.map +1 -1
  293. package/v3/dist/domains/code-intelligence/index.d.ts.map +1 -1
  294. package/v3/dist/domains/code-intelligence/index.js +10 -0
  295. package/v3/dist/domains/code-intelligence/index.js.map +1 -1
  296. package/v3/dist/domains/code-intelligence/plugin.d.ts.map +1 -1
  297. package/v3/dist/domains/code-intelligence/plugin.js +2 -1
  298. package/v3/dist/domains/code-intelligence/plugin.js.map +1 -1
  299. package/v3/dist/domains/code-intelligence/services/c4-model/index.d.ts +3 -3
  300. package/v3/dist/domains/code-intelligence/services/c4-model/index.d.ts.map +1 -1
  301. package/v3/dist/domains/code-intelligence/services/c4-model/index.js +2 -2
  302. package/v3/dist/domains/code-intelligence/services/c4-model/index.js.map +1 -1
  303. package/v3/dist/domains/code-intelligence/services/c4-model/types.d.ts +1 -1
  304. package/v3/dist/domains/code-intelligence/services/c4-model/types.d.ts.map +1 -1
  305. package/v3/dist/domains/code-intelligence/services/impact-analyzer.d.ts.map +1 -1
  306. package/v3/dist/domains/code-intelligence/services/impact-analyzer.js +3 -2
  307. package/v3/dist/domains/code-intelligence/services/impact-analyzer.js.map +1 -1
  308. package/v3/dist/domains/code-intelligence/services/knowledge-graph.d.ts.map +1 -1
  309. package/v3/dist/domains/code-intelligence/services/knowledge-graph.js +8 -6
  310. package/v3/dist/domains/code-intelligence/services/knowledge-graph.js.map +1 -1
  311. package/v3/dist/domains/code-intelligence/services/metric-collector/loc-counter.d.ts.map +1 -1
  312. package/v3/dist/domains/code-intelligence/services/metric-collector/loc-counter.js +3 -2
  313. package/v3/dist/domains/code-intelligence/services/metric-collector/loc-counter.js.map +1 -1
  314. package/v3/dist/domains/code-intelligence/services/metric-collector/test-counter.d.ts.map +1 -1
  315. package/v3/dist/domains/code-intelligence/services/metric-collector/test-counter.js +3 -2
  316. package/v3/dist/domains/code-intelligence/services/metric-collector/test-counter.js.map +1 -1
  317. package/v3/dist/domains/code-intelligence/services/product-factors-bridge.d.ts.map +1 -1
  318. package/v3/dist/domains/code-intelligence/services/product-factors-bridge.js +8 -6
  319. package/v3/dist/domains/code-intelligence/services/product-factors-bridge.js.map +1 -1
  320. package/v3/dist/domains/code-intelligence/services/semantic-analyzer.d.ts.map +1 -1
  321. package/v3/dist/domains/code-intelligence/services/semantic-analyzer.js +5 -4
  322. package/v3/dist/domains/code-intelligence/services/semantic-analyzer.js.map +1 -1
  323. package/v3/dist/domains/contract-testing/coordinator.d.ts +13 -89
  324. package/v3/dist/domains/contract-testing/coordinator.d.ts.map +1 -1
  325. package/v3/dist/domains/contract-testing/coordinator.js +43 -215
  326. package/v3/dist/domains/contract-testing/coordinator.js.map +1 -1
  327. package/v3/dist/domains/contract-testing/plugin.d.ts.map +1 -1
  328. package/v3/dist/domains/contract-testing/plugin.js +5 -4
  329. package/v3/dist/domains/contract-testing/plugin.js.map +1 -1
  330. package/v3/dist/domains/contract-testing/services/api-compatibility.d.ts.map +1 -1
  331. package/v3/dist/domains/contract-testing/services/api-compatibility.js +7 -5
  332. package/v3/dist/domains/contract-testing/services/api-compatibility.js.map +1 -1
  333. package/v3/dist/domains/contract-testing/services/contract-validator.d.ts.map +1 -1
  334. package/v3/dist/domains/contract-testing/services/contract-validator.js +10 -8
  335. package/v3/dist/domains/contract-testing/services/contract-validator.js.map +1 -1
  336. package/v3/dist/domains/contract-testing/services/schema-validator.d.ts.map +1 -1
  337. package/v3/dist/domains/contract-testing/services/schema-validator.js +10 -8
  338. package/v3/dist/domains/contract-testing/services/schema-validator.js.map +1 -1
  339. package/v3/dist/domains/coverage-analysis/coordinator.d.ts +8 -59
  340. package/v3/dist/domains/coverage-analysis/coordinator.d.ts.map +1 -1
  341. package/v3/dist/domains/coverage-analysis/coordinator.js +30 -138
  342. package/v3/dist/domains/coverage-analysis/coordinator.js.map +1 -1
  343. package/v3/dist/domains/coverage-analysis/index.js +7 -0
  344. package/v3/dist/domains/coverage-analysis/index.js.map +1 -1
  345. package/v3/dist/domains/coverage-analysis/services/coverage-analyzer.d.ts.map +1 -1
  346. package/v3/dist/domains/coverage-analysis/services/coverage-analyzer.js +5 -3
  347. package/v3/dist/domains/coverage-analysis/services/coverage-analyzer.js.map +1 -1
  348. package/v3/dist/domains/coverage-analysis/services/coverage-parser.d.ts.map +1 -1
  349. package/v3/dist/domains/coverage-analysis/services/coverage-parser.js +2 -1
  350. package/v3/dist/domains/coverage-analysis/services/coverage-parser.js.map +1 -1
  351. package/v3/dist/domains/coverage-analysis/services/gap-detector.d.ts.map +1 -1
  352. package/v3/dist/domains/coverage-analysis/services/gap-detector.js +6 -4
  353. package/v3/dist/domains/coverage-analysis/services/gap-detector.js.map +1 -1
  354. package/v3/dist/domains/coverage-analysis/services/ghost-coverage-analyzer.d.ts.map +1 -1
  355. package/v3/dist/domains/coverage-analysis/services/ghost-coverage-analyzer.js +5 -4
  356. package/v3/dist/domains/coverage-analysis/services/ghost-coverage-analyzer.js.map +1 -1
  357. package/v3/dist/domains/coverage-analysis/services/risk-scorer.d.ts.map +1 -1
  358. package/v3/dist/domains/coverage-analysis/services/risk-scorer.js +3 -2
  359. package/v3/dist/domains/coverage-analysis/services/risk-scorer.js.map +1 -1
  360. package/v3/dist/domains/coverage-analysis/services/sublinear-analyzer.d.ts.map +1 -1
  361. package/v3/dist/domains/coverage-analysis/services/sublinear-analyzer.js +4 -3
  362. package/v3/dist/domains/coverage-analysis/services/sublinear-analyzer.js.map +1 -1
  363. package/v3/dist/domains/defect-intelligence/coordinator.d.ts +10 -58
  364. package/v3/dist/domains/defect-intelligence/coordinator.d.ts.map +1 -1
  365. package/v3/dist/domains/defect-intelligence/coordinator.js +50 -171
  366. package/v3/dist/domains/defect-intelligence/coordinator.js.map +1 -1
  367. package/v3/dist/domains/defect-intelligence/plugin.d.ts.map +1 -1
  368. package/v3/dist/domains/defect-intelligence/plugin.js +2 -1
  369. package/v3/dist/domains/defect-intelligence/plugin.js.map +1 -1
  370. package/v3/dist/domains/defect-intelligence/services/causal-root-cause-analyzer.d.ts.map +1 -1
  371. package/v3/dist/domains/defect-intelligence/services/causal-root-cause-analyzer.js +4 -3
  372. package/v3/dist/domains/defect-intelligence/services/causal-root-cause-analyzer.js.map +1 -1
  373. package/v3/dist/domains/defect-intelligence/services/defect-predictor.d.ts.map +1 -1
  374. package/v3/dist/domains/defect-intelligence/services/defect-predictor.js +6 -4
  375. package/v3/dist/domains/defect-intelligence/services/defect-predictor.js.map +1 -1
  376. package/v3/dist/domains/defect-intelligence/services/pattern-learner.d.ts.map +1 -1
  377. package/v3/dist/domains/defect-intelligence/services/pattern-learner.js +4 -3
  378. package/v3/dist/domains/defect-intelligence/services/pattern-learner.js.map +1 -1
  379. package/v3/dist/domains/defect-intelligence/services/root-cause-analyzer.d.ts.map +1 -1
  380. package/v3/dist/domains/defect-intelligence/services/root-cause-analyzer.js +6 -4
  381. package/v3/dist/domains/defect-intelligence/services/root-cause-analyzer.js.map +1 -1
  382. package/v3/dist/domains/domain-interface.d.ts +6 -219
  383. package/v3/dist/domains/domain-interface.d.ts.map +1 -1
  384. package/v3/dist/domains/domain-interface.js +6 -312
  385. package/v3/dist/domains/domain-interface.js.map +1 -1
  386. package/v3/dist/domains/enterprise-integration/coordinator.d.ts +11 -37
  387. package/v3/dist/domains/enterprise-integration/coordinator.d.ts.map +1 -1
  388. package/v3/dist/domains/enterprise-integration/coordinator.js +39 -148
  389. package/v3/dist/domains/enterprise-integration/coordinator.js.map +1 -1
  390. package/v3/dist/domains/enterprise-integration/plugin.d.ts.map +1 -1
  391. package/v3/dist/domains/enterprise-integration/plugin.js +2 -1
  392. package/v3/dist/domains/enterprise-integration/plugin.js.map +1 -1
  393. package/v3/dist/domains/enterprise-integration/services/esb-middleware-service.d.ts.map +1 -1
  394. package/v3/dist/domains/enterprise-integration/services/esb-middleware-service.js +7 -5
  395. package/v3/dist/domains/enterprise-integration/services/esb-middleware-service.js.map +1 -1
  396. package/v3/dist/domains/enterprise-integration/services/message-broker-service.d.ts.map +1 -1
  397. package/v3/dist/domains/enterprise-integration/services/message-broker-service.js +11 -9
  398. package/v3/dist/domains/enterprise-integration/services/message-broker-service.js.map +1 -1
  399. package/v3/dist/domains/enterprise-integration/services/odata-service.d.ts.map +1 -1
  400. package/v3/dist/domains/enterprise-integration/services/odata-service.js +4 -3
  401. package/v3/dist/domains/enterprise-integration/services/odata-service.js.map +1 -1
  402. package/v3/dist/domains/enterprise-integration/services/sap-integration-service.d.ts.map +1 -1
  403. package/v3/dist/domains/enterprise-integration/services/sap-integration-service.js +5 -3
  404. package/v3/dist/domains/enterprise-integration/services/sap-integration-service.js.map +1 -1
  405. package/v3/dist/domains/enterprise-integration/services/soap-wsdl-service.d.ts.map +1 -1
  406. package/v3/dist/domains/enterprise-integration/services/soap-wsdl-service.js +4 -3
  407. package/v3/dist/domains/enterprise-integration/services/soap-wsdl-service.js.map +1 -1
  408. package/v3/dist/domains/enterprise-integration/services/sod-analysis-service.d.ts.map +1 -1
  409. package/v3/dist/domains/enterprise-integration/services/sod-analysis-service.js +3 -2
  410. package/v3/dist/domains/enterprise-integration/services/sod-analysis-service.js.map +1 -1
  411. package/v3/dist/domains/learning-optimization/coordinator-consensus.d.ts +37 -0
  412. package/v3/dist/domains/learning-optimization/coordinator-consensus.d.ts.map +1 -0
  413. package/v3/dist/domains/learning-optimization/coordinator-consensus.js +82 -0
  414. package/v3/dist/domains/learning-optimization/coordinator-consensus.js.map +1 -0
  415. package/v3/dist/domains/learning-optimization/coordinator-dream.d.ts +32 -0
  416. package/v3/dist/domains/learning-optimization/coordinator-dream.d.ts.map +1 -0
  417. package/v3/dist/domains/learning-optimization/coordinator-dream.js +43 -0
  418. package/v3/dist/domains/learning-optimization/coordinator-dream.js.map +1 -0
  419. package/v3/dist/domains/learning-optimization/coordinator-helpers.d.ts +56 -0
  420. package/v3/dist/domains/learning-optimization/coordinator-helpers.d.ts.map +1 -0
  421. package/v3/dist/domains/learning-optimization/coordinator-helpers.js +142 -0
  422. package/v3/dist/domains/learning-optimization/coordinator-helpers.js.map +1 -0
  423. package/v3/dist/domains/learning-optimization/coordinator-sona-methods.d.ts +64 -0
  424. package/v3/dist/domains/learning-optimization/coordinator-sona-methods.d.ts.map +1 -0
  425. package/v3/dist/domains/learning-optimization/coordinator-sona-methods.js +73 -0
  426. package/v3/dist/domains/learning-optimization/coordinator-sona-methods.js.map +1 -0
  427. package/v3/dist/domains/learning-optimization/coordinator.d.ts +17 -82
  428. package/v3/dist/domains/learning-optimization/coordinator.d.ts.map +1 -1
  429. package/v3/dist/domains/learning-optimization/coordinator.js +36 -320
  430. package/v3/dist/domains/learning-optimization/coordinator.js.map +1 -1
  431. package/v3/dist/domains/learning-optimization/plugin.d.ts.map +1 -1
  432. package/v3/dist/domains/learning-optimization/plugin.js +2 -1
  433. package/v3/dist/domains/learning-optimization/plugin.js.map +1 -1
  434. package/v3/dist/domains/learning-optimization/services/learning-coordinator.d.ts.map +1 -1
  435. package/v3/dist/domains/learning-optimization/services/learning-coordinator.js +11 -10
  436. package/v3/dist/domains/learning-optimization/services/learning-coordinator.js.map +1 -1
  437. package/v3/dist/domains/learning-optimization/services/metrics-optimizer.d.ts.map +1 -1
  438. package/v3/dist/domains/learning-optimization/services/metrics-optimizer.js +8 -7
  439. package/v3/dist/domains/learning-optimization/services/metrics-optimizer.js.map +1 -1
  440. package/v3/dist/domains/learning-optimization/services/production-intel.d.ts.map +1 -1
  441. package/v3/dist/domains/learning-optimization/services/production-intel.js +11 -10
  442. package/v3/dist/domains/learning-optimization/services/production-intel.js.map +1 -1
  443. package/v3/dist/domains/learning-optimization/services/transfer-specialist.d.ts.map +1 -1
  444. package/v3/dist/domains/learning-optimization/services/transfer-specialist.js +8 -7
  445. package/v3/dist/domains/learning-optimization/services/transfer-specialist.js.map +1 -1
  446. package/v3/dist/domains/quality-assessment/coordinator-claim-verifier.d.ts +41 -0
  447. package/v3/dist/domains/quality-assessment/coordinator-claim-verifier.d.ts.map +1 -0
  448. package/v3/dist/domains/quality-assessment/coordinator-claim-verifier.js +157 -0
  449. package/v3/dist/domains/quality-assessment/coordinator-claim-verifier.js.map +1 -0
  450. package/v3/dist/domains/quality-assessment/coordinator-gate-evaluation.d.ts +26 -0
  451. package/v3/dist/domains/quality-assessment/coordinator-gate-evaluation.d.ts.map +1 -0
  452. package/v3/dist/domains/quality-assessment/coordinator-gate-evaluation.js +135 -0
  453. package/v3/dist/domains/quality-assessment/coordinator-gate-evaluation.js.map +1 -0
  454. package/v3/dist/domains/quality-assessment/coordinator-reports.d.ts +90 -0
  455. package/v3/dist/domains/quality-assessment/coordinator-reports.d.ts.map +1 -0
  456. package/v3/dist/domains/quality-assessment/coordinator-reports.js +265 -0
  457. package/v3/dist/domains/quality-assessment/coordinator-reports.js.map +1 -0
  458. package/v3/dist/domains/quality-assessment/coordinator-rl-integration.d.ts +92 -0
  459. package/v3/dist/domains/quality-assessment/coordinator-rl-integration.d.ts.map +1 -0
  460. package/v3/dist/domains/quality-assessment/coordinator-rl-integration.js +321 -0
  461. package/v3/dist/domains/quality-assessment/coordinator-rl-integration.js.map +1 -0
  462. package/v3/dist/domains/quality-assessment/coordinator.d.ts +18 -127
  463. package/v3/dist/domains/quality-assessment/coordinator.d.ts.map +1 -1
  464. package/v3/dist/domains/quality-assessment/coordinator.js +58 -1022
  465. package/v3/dist/domains/quality-assessment/coordinator.js.map +1 -1
  466. package/v3/dist/domains/quality-assessment/index.d.ts.map +1 -1
  467. package/v3/dist/domains/quality-assessment/index.js +10 -0
  468. package/v3/dist/domains/quality-assessment/index.js.map +1 -1
  469. package/v3/dist/domains/quality-assessment/plugin.d.ts.map +1 -1
  470. package/v3/dist/domains/quality-assessment/plugin.js +2 -1
  471. package/v3/dist/domains/quality-assessment/plugin.js.map +1 -1
  472. package/v3/dist/domains/quality-assessment/services/coherence-gate.d.ts.map +1 -1
  473. package/v3/dist/domains/quality-assessment/services/coherence-gate.js +2 -1
  474. package/v3/dist/domains/quality-assessment/services/coherence-gate.js.map +1 -1
  475. package/v3/dist/domains/quality-assessment/services/deployment-advisor.d.ts.map +1 -1
  476. package/v3/dist/domains/quality-assessment/services/deployment-advisor.js +5 -3
  477. package/v3/dist/domains/quality-assessment/services/deployment-advisor.js.map +1 -1
  478. package/v3/dist/domains/quality-assessment/services/quality-analyzer.d.ts.map +1 -1
  479. package/v3/dist/domains/quality-assessment/services/quality-analyzer.js +6 -4
  480. package/v3/dist/domains/quality-assessment/services/quality-analyzer.js.map +1 -1
  481. package/v3/dist/domains/quality-assessment/services/quality-gate.d.ts.map +1 -1
  482. package/v3/dist/domains/quality-assessment/services/quality-gate.js +3 -2
  483. package/v3/dist/domains/quality-assessment/services/quality-gate.js.map +1 -1
  484. package/v3/dist/domains/requirements-validation/coordinator.d.ts +17 -61
  485. package/v3/dist/domains/requirements-validation/coordinator.d.ts.map +1 -1
  486. package/v3/dist/domains/requirements-validation/coordinator.js +25 -175
  487. package/v3/dist/domains/requirements-validation/coordinator.js.map +1 -1
  488. package/v3/dist/domains/requirements-validation/plugin.d.ts.map +1 -1
  489. package/v3/dist/domains/requirements-validation/plugin.js +2 -1
  490. package/v3/dist/domains/requirements-validation/plugin.js.map +1 -1
  491. package/v3/dist/domains/requirements-validation/qcsd-ideation-plugin.d.ts.map +1 -1
  492. package/v3/dist/domains/requirements-validation/qcsd-ideation-plugin.js +12 -11
  493. package/v3/dist/domains/requirements-validation/qcsd-ideation-plugin.js.map +1 -1
  494. package/v3/dist/domains/requirements-validation/qcsd-refinement-plugin.d.ts.map +1 -1
  495. package/v3/dist/domains/requirements-validation/qcsd-refinement-plugin.js +11 -10
  496. package/v3/dist/domains/requirements-validation/qcsd-refinement-plugin.js.map +1 -1
  497. package/v3/dist/domains/requirements-validation/services/bdd-scenario-writer.d.ts.map +1 -1
  498. package/v3/dist/domains/requirements-validation/services/bdd-scenario-writer.js +4 -3
  499. package/v3/dist/domains/requirements-validation/services/bdd-scenario-writer.js.map +1 -1
  500. package/v3/dist/domains/requirements-validation/services/product-factors-assessment/code-intelligence/codebase-analyzer.d.ts.map +1 -1
  501. package/v3/dist/domains/requirements-validation/services/product-factors-assessment/code-intelligence/codebase-analyzer.js +3 -2
  502. package/v3/dist/domains/requirements-validation/services/product-factors-assessment/code-intelligence/codebase-analyzer.js.map +1 -1
  503. package/v3/dist/domains/requirements-validation/services/requirements-validator.d.ts.map +1 -1
  504. package/v3/dist/domains/requirements-validation/services/requirements-validator.js +7 -5
  505. package/v3/dist/domains/requirements-validation/services/requirements-validator.js.map +1 -1
  506. package/v3/dist/domains/requirements-validation/services/testability-scorer.d.ts.map +1 -1
  507. package/v3/dist/domains/requirements-validation/services/testability-scorer.js +4 -3
  508. package/v3/dist/domains/requirements-validation/services/testability-scorer.js.map +1 -1
  509. package/v3/dist/domains/security-compliance/coordinator.d.ts +12 -58
  510. package/v3/dist/domains/security-compliance/coordinator.d.ts.map +1 -1
  511. package/v3/dist/domains/security-compliance/coordinator.js +22 -164
  512. package/v3/dist/domains/security-compliance/coordinator.js.map +1 -1
  513. package/v3/dist/domains/security-compliance/index.d.ts.map +1 -1
  514. package/v3/dist/domains/security-compliance/index.js +14 -0
  515. package/v3/dist/domains/security-compliance/index.js.map +1 -1
  516. package/v3/dist/domains/security-compliance/plugin.d.ts.map +1 -1
  517. package/v3/dist/domains/security-compliance/plugin.js +2 -1
  518. package/v3/dist/domains/security-compliance/plugin.js.map +1 -1
  519. package/v3/dist/domains/security-compliance/services/compliance-validator.d.ts.map +1 -1
  520. package/v3/dist/domains/security-compliance/services/compliance-validator.js +6 -5
  521. package/v3/dist/domains/security-compliance/services/compliance-validator.js.map +1 -1
  522. package/v3/dist/domains/security-compliance/services/scanners/dast-helpers.d.ts.map +1 -1
  523. package/v3/dist/domains/security-compliance/services/scanners/dast-helpers.js +2 -1
  524. package/v3/dist/domains/security-compliance/services/scanners/dast-helpers.js.map +1 -1
  525. package/v3/dist/domains/security-compliance/services/scanners/dast-scanner.d.ts +1 -1
  526. package/v3/dist/domains/security-compliance/services/scanners/dast-scanner.d.ts.map +1 -1
  527. package/v3/dist/domains/security-compliance/services/scanners/dast-scanner.js +4 -3
  528. package/v3/dist/domains/security-compliance/services/scanners/dast-scanner.js.map +1 -1
  529. package/v3/dist/domains/security-compliance/services/scanners/dependency-scanner.d.ts +1 -1
  530. package/v3/dist/domains/security-compliance/services/scanners/dependency-scanner.d.ts.map +1 -1
  531. package/v3/dist/domains/security-compliance/services/scanners/dependency-scanner.js +7 -5
  532. package/v3/dist/domains/security-compliance/services/scanners/dependency-scanner.js.map +1 -1
  533. package/v3/dist/domains/security-compliance/services/scanners/sast-scanner.d.ts +2 -2
  534. package/v3/dist/domains/security-compliance/services/scanners/sast-scanner.d.ts.map +1 -1
  535. package/v3/dist/domains/security-compliance/services/scanners/sast-scanner.js +6 -4
  536. package/v3/dist/domains/security-compliance/services/scanners/sast-scanner.js.map +1 -1
  537. package/v3/dist/domains/security-compliance/services/scanners/scanner-orchestrator.d.ts +2 -2
  538. package/v3/dist/domains/security-compliance/services/scanners/scanner-orchestrator.d.ts.map +1 -1
  539. package/v3/dist/domains/security-compliance/services/scanners/scanner-orchestrator.js +3 -2
  540. package/v3/dist/domains/security-compliance/services/scanners/scanner-orchestrator.js.map +1 -1
  541. package/v3/dist/domains/security-compliance/services/scanners/scanner-types.d.ts +2 -2
  542. package/v3/dist/domains/security-compliance/services/scanners/scanner-types.d.ts.map +1 -1
  543. package/v3/dist/domains/security-compliance/services/security-auditor-dast.d.ts +11 -0
  544. package/v3/dist/domains/security-compliance/services/security-auditor-dast.d.ts.map +1 -0
  545. package/v3/dist/domains/security-compliance/services/security-auditor-dast.js +284 -0
  546. package/v3/dist/domains/security-compliance/services/security-auditor-dast.js.map +1 -0
  547. package/v3/dist/domains/security-compliance/services/security-auditor-reports.d.ts +44 -0
  548. package/v3/dist/domains/security-compliance/services/security-auditor-reports.d.ts.map +1 -0
  549. package/v3/dist/domains/security-compliance/services/security-auditor-reports.js +193 -0
  550. package/v3/dist/domains/security-compliance/services/security-auditor-reports.js.map +1 -0
  551. package/v3/dist/domains/security-compliance/services/security-auditor-sast.d.ts +27 -0
  552. package/v3/dist/domains/security-compliance/services/security-auditor-sast.d.ts.map +1 -0
  553. package/v3/dist/domains/security-compliance/services/security-auditor-sast.js +279 -0
  554. package/v3/dist/domains/security-compliance/services/security-auditor-sast.js.map +1 -0
  555. package/v3/dist/domains/security-compliance/services/security-auditor-secrets.d.ts +34 -0
  556. package/v3/dist/domains/security-compliance/services/security-auditor-secrets.d.ts.map +1 -0
  557. package/v3/dist/domains/security-compliance/services/security-auditor-secrets.js +236 -0
  558. package/v3/dist/domains/security-compliance/services/security-auditor-secrets.js.map +1 -0
  559. package/v3/dist/domains/security-compliance/services/security-auditor-types.d.ts +93 -0
  560. package/v3/dist/domains/security-compliance/services/security-auditor-types.d.ts.map +1 -0
  561. package/v3/dist/domains/security-compliance/services/security-auditor-types.js +50 -0
  562. package/v3/dist/domains/security-compliance/services/security-auditor-types.js.map +1 -0
  563. package/v3/dist/domains/security-compliance/services/security-auditor.d.ts +12 -132
  564. package/v3/dist/domains/security-compliance/services/security-auditor.d.ts.map +1 -1
  565. package/v3/dist/domains/security-compliance/services/security-auditor.js +71 -1188
  566. package/v3/dist/domains/security-compliance/services/security-auditor.js.map +1 -1
  567. package/v3/dist/domains/security-compliance/services/semgrep-integration.d.ts.map +1 -1
  568. package/v3/dist/domains/security-compliance/services/semgrep-integration.js +4 -2
  569. package/v3/dist/domains/security-compliance/services/semgrep-integration.js.map +1 -1
  570. package/v3/dist/domains/test-execution/coordinator.d.ts +8 -60
  571. package/v3/dist/domains/test-execution/coordinator.d.ts.map +1 -1
  572. package/v3/dist/domains/test-execution/coordinator.js +19 -132
  573. package/v3/dist/domains/test-execution/coordinator.js.map +1 -1
  574. package/v3/dist/domains/test-execution/services/auth-state-manager.d.ts.map +1 -1
  575. package/v3/dist/domains/test-execution/services/auth-state-manager.js +2 -1
  576. package/v3/dist/domains/test-execution/services/auth-state-manager.js.map +1 -1
  577. package/v3/dist/domains/test-execution/services/e2e/assertion-handlers.d.ts +2 -2
  578. package/v3/dist/domains/test-execution/services/e2e/assertion-handlers.d.ts.map +1 -1
  579. package/v3/dist/domains/test-execution/services/e2e/browser-orchestrator.d.ts +2 -2
  580. package/v3/dist/domains/test-execution/services/e2e/browser-orchestrator.d.ts.map +1 -1
  581. package/v3/dist/domains/test-execution/services/e2e/browser-orchestrator.js +2 -1
  582. package/v3/dist/domains/test-execution/services/e2e/browser-orchestrator.js.map +1 -1
  583. package/v3/dist/domains/test-execution/services/e2e/e2e-coordinator.d.ts +2 -2
  584. package/v3/dist/domains/test-execution/services/e2e/e2e-coordinator.d.ts.map +1 -1
  585. package/v3/dist/domains/test-execution/services/e2e/e2e-coordinator.js +3 -2
  586. package/v3/dist/domains/test-execution/services/e2e/e2e-coordinator.js.map +1 -1
  587. package/v3/dist/domains/test-execution/services/e2e/result-collector.d.ts +1 -1
  588. package/v3/dist/domains/test-execution/services/e2e/result-collector.d.ts.map +1 -1
  589. package/v3/dist/domains/test-execution/services/e2e/step-executors.d.ts.map +1 -1
  590. package/v3/dist/domains/test-execution/services/e2e/step-executors.js +2 -1
  591. package/v3/dist/domains/test-execution/services/e2e/step-executors.js.map +1 -1
  592. package/v3/dist/domains/test-execution/services/e2e/step-retry-handler.d.ts.map +1 -1
  593. package/v3/dist/domains/test-execution/services/e2e/step-retry-handler.js +3 -2
  594. package/v3/dist/domains/test-execution/services/e2e/step-retry-handler.js.map +1 -1
  595. package/v3/dist/domains/test-execution/services/e2e/types.d.ts +2 -2
  596. package/v3/dist/domains/test-execution/services/e2e/types.d.ts.map +1 -1
  597. package/v3/dist/domains/test-execution/services/e2e/wait-condition-handler.d.ts +1 -1
  598. package/v3/dist/domains/test-execution/services/e2e/wait-condition-handler.d.ts.map +1 -1
  599. package/v3/dist/domains/test-execution/services/flaky-detector.d.ts.map +1 -1
  600. package/v3/dist/domains/test-execution/services/flaky-detector.js +7 -5
  601. package/v3/dist/domains/test-execution/services/flaky-detector.js.map +1 -1
  602. package/v3/dist/domains/test-execution/services/retry-handler.d.ts.map +1 -1
  603. package/v3/dist/domains/test-execution/services/retry-handler.js +8 -6
  604. package/v3/dist/domains/test-execution/services/retry-handler.js.map +1 -1
  605. package/v3/dist/domains/test-execution/services/test-executor.d.ts.map +1 -1
  606. package/v3/dist/domains/test-execution/services/test-executor.js +8 -6
  607. package/v3/dist/domains/test-execution/services/test-executor.js.map +1 -1
  608. package/v3/dist/domains/test-execution/services/test-prioritizer.d.ts.map +1 -1
  609. package/v3/dist/domains/test-execution/services/test-prioritizer.js +2 -1
  610. package/v3/dist/domains/test-execution/services/test-prioritizer.js.map +1 -1
  611. package/v3/dist/domains/test-execution/services/user-flow-generator.d.ts +28 -0
  612. package/v3/dist/domains/test-execution/services/user-flow-generator.d.ts.map +1 -1
  613. package/v3/dist/domains/test-execution/services/user-flow-generator.js +156 -189
  614. package/v3/dist/domains/test-execution/services/user-flow-generator.js.map +1 -1
  615. package/v3/dist/domains/test-generation/coordinator.d.ts +14 -78
  616. package/v3/dist/domains/test-generation/coordinator.d.ts.map +1 -1
  617. package/v3/dist/domains/test-generation/coordinator.js +58 -202
  618. package/v3/dist/domains/test-generation/coordinator.js.map +1 -1
  619. package/v3/dist/domains/test-generation/generators/base-test-generator.d.ts +10 -0
  620. package/v3/dist/domains/test-generation/generators/base-test-generator.d.ts.map +1 -1
  621. package/v3/dist/domains/test-generation/generators/base-test-generator.js +37 -30
  622. package/v3/dist/domains/test-generation/generators/base-test-generator.js.map +1 -1
  623. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.d.ts.map +1 -1
  624. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.js +58 -6
  625. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.js.map +1 -1
  626. package/v3/dist/domains/test-generation/generators/mocha-generator.d.ts.map +1 -1
  627. package/v3/dist/domains/test-generation/generators/mocha-generator.js +79 -7
  628. package/v3/dist/domains/test-generation/generators/mocha-generator.js.map +1 -1
  629. package/v3/dist/domains/test-generation/generators/pytest-generator.d.ts +4 -0
  630. package/v3/dist/domains/test-generation/generators/pytest-generator.d.ts.map +1 -1
  631. package/v3/dist/domains/test-generation/generators/pytest-generator.js +77 -10
  632. package/v3/dist/domains/test-generation/generators/pytest-generator.js.map +1 -1
  633. package/v3/dist/domains/test-generation/index.d.ts.map +1 -1
  634. package/v3/dist/domains/test-generation/index.js +10 -0
  635. package/v3/dist/domains/test-generation/index.js.map +1 -1
  636. package/v3/dist/domains/test-generation/interfaces/test-generator.interface.d.ts +21 -0
  637. package/v3/dist/domains/test-generation/interfaces/test-generator.interface.d.ts.map +1 -1
  638. package/v3/dist/domains/test-generation/interfaces.d.ts +21 -0
  639. package/v3/dist/domains/test-generation/interfaces.d.ts.map +1 -1
  640. package/v3/dist/domains/test-generation/plugin.d.ts.map +1 -1
  641. package/v3/dist/domains/test-generation/plugin.js +2 -1
  642. package/v3/dist/domains/test-generation/plugin.js.map +1 -1
  643. package/v3/dist/domains/test-generation/services/code-transform-integration.d.ts.map +1 -1
  644. package/v3/dist/domains/test-generation/services/code-transform-integration.js +2 -1
  645. package/v3/dist/domains/test-generation/services/code-transform-integration.js.map +1 -1
  646. package/v3/dist/domains/test-generation/services/pattern-matcher.d.ts +10 -0
  647. package/v3/dist/domains/test-generation/services/pattern-matcher.d.ts.map +1 -1
  648. package/v3/dist/domains/test-generation/services/pattern-matcher.js +43 -41
  649. package/v3/dist/domains/test-generation/services/pattern-matcher.js.map +1 -1
  650. package/v3/dist/domains/test-generation/services/test-generator.d.ts +22 -0
  651. package/v3/dist/domains/test-generation/services/test-generator.d.ts.map +1 -1
  652. package/v3/dist/domains/test-generation/services/test-generator.js +210 -20
  653. package/v3/dist/domains/test-generation/services/test-generator.js.map +1 -1
  654. package/v3/dist/domains/visual-accessibility/coordinator.d.ts +17 -60
  655. package/v3/dist/domains/visual-accessibility/coordinator.d.ts.map +1 -1
  656. package/v3/dist/domains/visual-accessibility/coordinator.js +32 -183
  657. package/v3/dist/domains/visual-accessibility/coordinator.js.map +1 -1
  658. package/v3/dist/domains/visual-accessibility/plugin.d.ts.map +1 -1
  659. package/v3/dist/domains/visual-accessibility/plugin.js +4 -3
  660. package/v3/dist/domains/visual-accessibility/plugin.js.map +1 -1
  661. package/v3/dist/domains/visual-accessibility/services/accessibility-tester-browser.d.ts +114 -0
  662. package/v3/dist/domains/visual-accessibility/services/accessibility-tester-browser.d.ts.map +1 -0
  663. package/v3/dist/domains/visual-accessibility/services/accessibility-tester-browser.js +578 -0
  664. package/v3/dist/domains/visual-accessibility/services/accessibility-tester-browser.js.map +1 -0
  665. package/v3/dist/domains/visual-accessibility/services/accessibility-tester-heuristics.d.ts +54 -0
  666. package/v3/dist/domains/visual-accessibility/services/accessibility-tester-heuristics.d.ts.map +1 -0
  667. package/v3/dist/domains/visual-accessibility/services/accessibility-tester-heuristics.js +403 -0
  668. package/v3/dist/domains/visual-accessibility/services/accessibility-tester-heuristics.js.map +1 -0
  669. package/v3/dist/domains/visual-accessibility/services/accessibility-tester.d.ts +1 -314
  670. package/v3/dist/domains/visual-accessibility/services/accessibility-tester.d.ts.map +1 -1
  671. package/v3/dist/domains/visual-accessibility/services/accessibility-tester.js +79 -1467
  672. package/v3/dist/domains/visual-accessibility/services/accessibility-tester.js.map +1 -1
  673. package/v3/dist/domains/visual-accessibility/services/axe-core-audit.d.ts.map +1 -1
  674. package/v3/dist/domains/visual-accessibility/services/axe-core-audit.js +2 -1
  675. package/v3/dist/domains/visual-accessibility/services/axe-core-audit.js.map +1 -1
  676. package/v3/dist/domains/visual-accessibility/services/axe-core-integration.d.ts.map +1 -1
  677. package/v3/dist/domains/visual-accessibility/services/axe-core-integration.js +5 -4
  678. package/v3/dist/domains/visual-accessibility/services/axe-core-integration.js.map +1 -1
  679. package/v3/dist/domains/visual-accessibility/services/browser-security-scanner.d.ts.map +1 -1
  680. package/v3/dist/domains/visual-accessibility/services/browser-security-scanner.js +5 -4
  681. package/v3/dist/domains/visual-accessibility/services/browser-security-scanner.js.map +1 -1
  682. package/v3/dist/domains/visual-accessibility/services/browser-swarm-coordinator.d.ts.map +1 -1
  683. package/v3/dist/domains/visual-accessibility/services/browser-swarm-coordinator.js +8 -7
  684. package/v3/dist/domains/visual-accessibility/services/browser-swarm-coordinator.js.map +1 -1
  685. package/v3/dist/domains/visual-accessibility/services/eu-compliance.d.ts.map +1 -1
  686. package/v3/dist/domains/visual-accessibility/services/eu-compliance.js +2 -1
  687. package/v3/dist/domains/visual-accessibility/services/eu-compliance.js.map +1 -1
  688. package/v3/dist/domains/visual-accessibility/services/responsive-tester.d.ts.map +1 -1
  689. package/v3/dist/domains/visual-accessibility/services/responsive-tester.js +5 -4
  690. package/v3/dist/domains/visual-accessibility/services/responsive-tester.js.map +1 -1
  691. package/v3/dist/domains/visual-accessibility/services/viewport-capture.d.ts.map +1 -1
  692. package/v3/dist/domains/visual-accessibility/services/viewport-capture.js +7 -6
  693. package/v3/dist/domains/visual-accessibility/services/viewport-capture.js.map +1 -1
  694. package/v3/dist/domains/visual-accessibility/services/visual-regression.d.ts.map +1 -1
  695. package/v3/dist/domains/visual-accessibility/services/visual-regression.js +11 -10
  696. package/v3/dist/domains/visual-accessibility/services/visual-regression.js.map +1 -1
  697. package/v3/dist/domains/visual-accessibility/services/visual-tester.d.ts.map +1 -1
  698. package/v3/dist/domains/visual-accessibility/services/visual-tester.js +7 -6
  699. package/v3/dist/domains/visual-accessibility/services/visual-tester.js.map +1 -1
  700. package/v3/dist/early-exit/early-exit-controller.d.ts.map +1 -1
  701. package/v3/dist/early-exit/early-exit-controller.js +4 -3
  702. package/v3/dist/early-exit/early-exit-controller.js.map +1 -1
  703. package/v3/dist/feedback/coverage-learner.d.ts.map +1 -1
  704. package/v3/dist/feedback/coverage-learner.js +7 -5
  705. package/v3/dist/feedback/coverage-learner.js.map +1 -1
  706. package/v3/dist/feedback/test-outcome-tracker.d.ts.map +1 -1
  707. package/v3/dist/feedback/test-outcome-tracker.js +6 -4
  708. package/v3/dist/feedback/test-outcome-tracker.js.map +1 -1
  709. package/v3/dist/governance/adversarial-defense-integration.d.ts +0 -18
  710. package/v3/dist/governance/adversarial-defense-integration.d.ts.map +1 -1
  711. package/v3/dist/governance/adversarial-defense-integration.js +2 -1
  712. package/v3/dist/governance/adversarial-defense-integration.js.map +1 -1
  713. package/v3/dist/governance/compliance-reporter.d.ts +0 -16
  714. package/v3/dist/governance/compliance-reporter.d.ts.map +1 -1
  715. package/v3/dist/governance/compliance-reporter.js +6 -8
  716. package/v3/dist/governance/compliance-reporter.js.map +1 -1
  717. package/v3/dist/governance/continue-gate-integration.d.ts.map +1 -1
  718. package/v3/dist/governance/continue-gate-integration.js +3 -2
  719. package/v3/dist/governance/continue-gate-integration.js.map +1 -1
  720. package/v3/dist/governance/evolution-pipeline-integration.d.ts.map +1 -1
  721. package/v3/dist/governance/evolution-pipeline-integration.js +3 -2
  722. package/v3/dist/governance/evolution-pipeline-integration.js.map +1 -1
  723. package/v3/dist/governance/proof-envelope-integration.d.ts.map +1 -1
  724. package/v3/dist/governance/proof-envelope-integration.js +4 -4
  725. package/v3/dist/governance/proof-envelope-integration.js.map +1 -1
  726. package/v3/dist/governance/shard-embeddings.d.ts.map +1 -1
  727. package/v3/dist/governance/shard-embeddings.js +16 -2
  728. package/v3/dist/governance/shard-embeddings.js.map +1 -1
  729. package/v3/dist/governance/shard-retriever-integration.d.ts.map +1 -1
  730. package/v3/dist/governance/shard-retriever-integration.js +4 -3
  731. package/v3/dist/governance/shard-retriever-integration.js.map +1 -1
  732. package/v3/dist/governance/wasm-kernel-integration.d.ts.map +1 -1
  733. package/v3/dist/governance/wasm-kernel-integration.js +4 -2
  734. package/v3/dist/governance/wasm-kernel-integration.js.map +1 -1
  735. package/v3/dist/hooks/reasoning-bank-pattern-store.d.ts.map +1 -1
  736. package/v3/dist/hooks/reasoning-bank-pattern-store.js +3 -2
  737. package/v3/dist/hooks/reasoning-bank-pattern-store.js.map +1 -1
  738. package/v3/dist/hooks/task-completed-hook.d.ts.map +1 -1
  739. package/v3/dist/hooks/task-completed-hook.js +3 -2
  740. package/v3/dist/hooks/task-completed-hook.js.map +1 -1
  741. package/v3/dist/init/agents-installer.d.ts.map +1 -1
  742. package/v3/dist/init/agents-installer.js +2 -1
  743. package/v3/dist/init/agents-installer.js.map +1 -1
  744. package/v3/dist/init/enhancements/claude-flow-adapter.d.ts.map +1 -1
  745. package/v3/dist/init/enhancements/claude-flow-adapter.js +3 -2
  746. package/v3/dist/init/enhancements/claude-flow-adapter.js.map +1 -1
  747. package/v3/dist/init/fleet-integration.d.ts.map +1 -1
  748. package/v3/dist/init/fleet-integration.js +2 -1
  749. package/v3/dist/init/fleet-integration.js.map +1 -1
  750. package/v3/dist/init/governance-installer.d.ts.map +1 -1
  751. package/v3/dist/init/governance-installer.js +5 -4
  752. package/v3/dist/init/governance-installer.js.map +1 -1
  753. package/v3/dist/init/init-wizard-hooks.d.ts +26 -0
  754. package/v3/dist/init/init-wizard-hooks.d.ts.map +1 -0
  755. package/v3/dist/init/init-wizard-hooks.js +555 -0
  756. package/v3/dist/init/init-wizard-hooks.js.map +1 -0
  757. package/v3/dist/init/init-wizard-migration.d.ts +52 -0
  758. package/v3/dist/init/init-wizard-migration.d.ts.map +1 -0
  759. package/v3/dist/init/init-wizard-migration.js +349 -0
  760. package/v3/dist/init/init-wizard-migration.js.map +1 -0
  761. package/v3/dist/init/init-wizard-steps.d.ts +68 -0
  762. package/v3/dist/init/init-wizard-steps.d.ts.map +1 -0
  763. package/v3/dist/init/init-wizard-steps.js +457 -0
  764. package/v3/dist/init/init-wizard-steps.js.map +1 -0
  765. package/v3/dist/init/init-wizard.d.ts +8 -130
  766. package/v3/dist/init/init-wizard.d.ts.map +1 -1
  767. package/v3/dist/init/init-wizard.js +108 -1528
  768. package/v3/dist/init/init-wizard.js.map +1 -1
  769. package/v3/dist/init/migration/config-migrator.d.ts.map +1 -1
  770. package/v3/dist/init/migration/config-migrator.js +2 -1
  771. package/v3/dist/init/migration/config-migrator.js.map +1 -1
  772. package/v3/dist/init/migration/data-migrator.d.ts.map +1 -1
  773. package/v3/dist/init/migration/data-migrator.js +5 -3
  774. package/v3/dist/init/migration/data-migrator.js.map +1 -1
  775. package/v3/dist/init/migration/detector.d.ts.map +1 -1
  776. package/v3/dist/init/migration/detector.js +2 -1
  777. package/v3/dist/init/migration/detector.js.map +1 -1
  778. package/v3/dist/init/n8n-installer.d.ts.map +1 -1
  779. package/v3/dist/init/n8n-installer.js +4 -3
  780. package/v3/dist/init/n8n-installer.js.map +1 -1
  781. package/v3/dist/init/orchestrator.d.ts.map +1 -1
  782. package/v3/dist/init/orchestrator.js +2 -1
  783. package/v3/dist/init/orchestrator.js.map +1 -1
  784. package/v3/dist/init/phases/01-detection.d.ts.map +1 -1
  785. package/v3/dist/init/phases/01-detection.js +2 -1
  786. package/v3/dist/init/phases/01-detection.js.map +1 -1
  787. package/v3/dist/init/phases/06-code-intelligence.d.ts.map +1 -1
  788. package/v3/dist/init/phases/06-code-intelligence.js +2 -1
  789. package/v3/dist/init/phases/06-code-intelligence.js.map +1 -1
  790. package/v3/dist/init/phases/07-hooks.d.ts.map +1 -1
  791. package/v3/dist/init/phases/07-hooks.js +2 -1
  792. package/v3/dist/init/phases/07-hooks.js.map +1 -1
  793. package/v3/dist/init/phases/08-mcp.d.ts.map +1 -1
  794. package/v3/dist/init/phases/08-mcp.js +3 -2
  795. package/v3/dist/init/phases/08-mcp.js.map +1 -1
  796. package/v3/dist/init/phases/phase-interface.d.ts.map +1 -1
  797. package/v3/dist/init/phases/phase-interface.js +3 -2
  798. package/v3/dist/init/phases/phase-interface.js.map +1 -1
  799. package/v3/dist/init/project-analyzer.d.ts.map +1 -1
  800. package/v3/dist/init/project-analyzer.js +3 -2
  801. package/v3/dist/init/project-analyzer.js.map +1 -1
  802. package/v3/dist/init/skills-installer.d.ts.map +1 -1
  803. package/v3/dist/init/skills-installer.js +2 -1
  804. package/v3/dist/init/skills-installer.js.map +1 -1
  805. package/v3/dist/integrations/agent-booster-wasm/index.d.ts.map +1 -1
  806. package/v3/dist/integrations/agent-booster-wasm/index.js +4 -1
  807. package/v3/dist/integrations/agent-booster-wasm/index.js.map +1 -1
  808. package/v3/dist/integrations/agentic-flow/metrics/pattern-updater.d.ts.map +1 -1
  809. package/v3/dist/integrations/agentic-flow/metrics/pattern-updater.js +6 -4
  810. package/v3/dist/integrations/agentic-flow/metrics/pattern-updater.js.map +1 -1
  811. package/v3/dist/integrations/agentic-flow/onnx-embeddings/adapter.d.ts.map +1 -1
  812. package/v3/dist/integrations/agentic-flow/onnx-embeddings/adapter.js +10 -0
  813. package/v3/dist/integrations/agentic-flow/onnx-embeddings/adapter.js.map +1 -1
  814. package/v3/dist/integrations/agentic-flow/pattern-loader.d.ts.map +1 -1
  815. package/v3/dist/integrations/agentic-flow/pattern-loader.js +4 -2
  816. package/v3/dist/integrations/agentic-flow/pattern-loader.js.map +1 -1
  817. package/v3/dist/integrations/agentic-flow/reasoning-bank/experience-replay.d.ts.map +1 -1
  818. package/v3/dist/integrations/agentic-flow/reasoning-bank/experience-replay.js +4 -3
  819. package/v3/dist/integrations/agentic-flow/reasoning-bank/experience-replay.js.map +1 -1
  820. package/v3/dist/integrations/agentic-flow/reasoning-bank/index.d.ts.map +1 -1
  821. package/v3/dist/integrations/agentic-flow/reasoning-bank/index.js +2 -1
  822. package/v3/dist/integrations/agentic-flow/reasoning-bank/index.js.map +1 -1
  823. package/v3/dist/integrations/agentic-flow/reasoning-bank/pattern-evolution.d.ts.map +1 -1
  824. package/v3/dist/integrations/agentic-flow/reasoning-bank/pattern-evolution.js +6 -5
  825. package/v3/dist/integrations/agentic-flow/reasoning-bank/pattern-evolution.js.map +1 -1
  826. package/v3/dist/integrations/agentic-flow/reasoning-bank/trajectory-tracker.d.ts.map +1 -1
  827. package/v3/dist/integrations/agentic-flow/reasoning-bank/trajectory-tracker.js +7 -6
  828. package/v3/dist/integrations/agentic-flow/reasoning-bank/trajectory-tracker.js.map +1 -1
  829. package/v3/dist/integrations/browser/agent-browser/client.d.ts.map +1 -1
  830. package/v3/dist/integrations/browser/agent-browser/client.js +33 -31
  831. package/v3/dist/integrations/browser/agent-browser/client.js.map +1 -1
  832. package/v3/dist/integrations/browser/agent-browser/command-executor.d.ts.map +1 -1
  833. package/v3/dist/integrations/browser/agent-browser/command-executor.js +42 -22
  834. package/v3/dist/integrations/browser/agent-browser/command-executor.js.map +1 -1
  835. package/v3/dist/integrations/browser/agent-browser/snapshot-parser.d.ts.map +1 -1
  836. package/v3/dist/integrations/browser/agent-browser/snapshot-parser.js +2 -1
  837. package/v3/dist/integrations/browser/agent-browser/snapshot-parser.js.map +1 -1
  838. package/v3/dist/integrations/browser/web-content-fetcher.d.ts.map +1 -1
  839. package/v3/dist/integrations/browser/web-content-fetcher.js +4 -2
  840. package/v3/dist/integrations/browser/web-content-fetcher.js.map +1 -1
  841. package/v3/dist/integrations/coherence/coherence-service.d.ts.map +1 -1
  842. package/v3/dist/integrations/coherence/coherence-service.js +4 -3
  843. package/v3/dist/integrations/coherence/coherence-service.js.map +1 -1
  844. package/v3/dist/integrations/coherence/engines/spectral-adapter.d.ts.map +1 -1
  845. package/v3/dist/integrations/coherence/engines/spectral-adapter.js +4 -3
  846. package/v3/dist/integrations/coherence/engines/spectral-adapter.js.map +1 -1
  847. package/v3/dist/integrations/coherence/wasm-loader.d.ts.map +1 -1
  848. package/v3/dist/integrations/coherence/wasm-loader.js +4 -3
  849. package/v3/dist/integrations/coherence/wasm-loader.js.map +1 -1
  850. package/v3/dist/integrations/embeddings/cache/EmbeddingCache.d.ts +6 -0
  851. package/v3/dist/integrations/embeddings/cache/EmbeddingCache.d.ts.map +1 -1
  852. package/v3/dist/integrations/embeddings/cache/EmbeddingCache.js +35 -6
  853. package/v3/dist/integrations/embeddings/cache/EmbeddingCache.js.map +1 -1
  854. package/v3/dist/integrations/n8n/agent-factory.d.ts.map +1 -1
  855. package/v3/dist/integrations/n8n/agent-factory.js +2 -1
  856. package/v3/dist/integrations/n8n/agent-factory.js.map +1 -1
  857. package/v3/dist/integrations/rl-suite/base-algorithm.d.ts.map +1 -1
  858. package/v3/dist/integrations/rl-suite/base-algorithm.js +8 -3
  859. package/v3/dist/integrations/rl-suite/base-algorithm.js.map +1 -1
  860. package/v3/dist/integrations/rl-suite/persistence/q-value-store.d.ts.map +1 -1
  861. package/v3/dist/integrations/rl-suite/persistence/q-value-store.js +2 -1
  862. package/v3/dist/integrations/rl-suite/persistence/q-value-store.js.map +1 -1
  863. package/v3/dist/integrations/ruvector/ast-complexity.d.ts.map +1 -1
  864. package/v3/dist/integrations/ruvector/ast-complexity.js +3 -2
  865. package/v3/dist/integrations/ruvector/ast-complexity.js.map +1 -1
  866. package/v3/dist/integrations/ruvector/attention-wrapper.d.ts.map +1 -1
  867. package/v3/dist/integrations/ruvector/attention-wrapper.js +2 -1
  868. package/v3/dist/integrations/ruvector/attention-wrapper.js.map +1 -1
  869. package/v3/dist/integrations/ruvector/coverage-router.d.ts.map +1 -1
  870. package/v3/dist/integrations/ruvector/coverage-router.js +3 -2
  871. package/v3/dist/integrations/ruvector/coverage-router.js.map +1 -1
  872. package/v3/dist/integrations/ruvector/diff-risk-classifier.d.ts.map +1 -1
  873. package/v3/dist/integrations/ruvector/diff-risk-classifier.js +3 -2
  874. package/v3/dist/integrations/ruvector/diff-risk-classifier.js.map +1 -1
  875. package/v3/dist/integrations/ruvector/gnn-wrapper.d.ts.map +1 -1
  876. package/v3/dist/integrations/ruvector/gnn-wrapper.js +2 -1
  877. package/v3/dist/integrations/ruvector/gnn-wrapper.js.map +1 -1
  878. package/v3/dist/integrations/ruvector/graph-boundaries.d.ts.map +1 -1
  879. package/v3/dist/integrations/ruvector/graph-boundaries.js +3 -2
  880. package/v3/dist/integrations/ruvector/graph-boundaries.js.map +1 -1
  881. package/v3/dist/integrations/ruvector/hypergraph-engine.d.ts.map +1 -1
  882. package/v3/dist/integrations/ruvector/hypergraph-engine.js +68 -67
  883. package/v3/dist/integrations/ruvector/hypergraph-engine.js.map +1 -1
  884. package/v3/dist/integrations/ruvector/hypergraph-schema.d.ts.map +1 -1
  885. package/v3/dist/integrations/ruvector/hypergraph-schema.js +3 -2
  886. package/v3/dist/integrations/ruvector/hypergraph-schema.js.map +1 -1
  887. package/v3/dist/integrations/ruvector/persistent-q-router.d.ts.map +1 -1
  888. package/v3/dist/integrations/ruvector/persistent-q-router.js +35 -11
  889. package/v3/dist/integrations/ruvector/persistent-q-router.js.map +1 -1
  890. package/v3/dist/integrations/ruvector/q-learning-router.d.ts.map +1 -1
  891. package/v3/dist/integrations/ruvector/q-learning-router.js +3 -2
  892. package/v3/dist/integrations/ruvector/q-learning-router.js.map +1 -1
  893. package/v3/dist/integrations/ruvector/server-client.d.ts.map +1 -1
  894. package/v3/dist/integrations/ruvector/server-client.js +23 -10
  895. package/v3/dist/integrations/ruvector/server-client.js.map +1 -1
  896. package/v3/dist/integrations/ruvector/sona-persistence.d.ts.map +1 -1
  897. package/v3/dist/integrations/ruvector/sona-persistence.js +11 -6
  898. package/v3/dist/integrations/ruvector/sona-persistence.js.map +1 -1
  899. package/v3/dist/integrations/vibium/client.d.ts.map +1 -1
  900. package/v3/dist/integrations/vibium/client.js +11 -10
  901. package/v3/dist/integrations/vibium/client.js.map +1 -1
  902. package/v3/dist/kernel/anti-drift-middleware.d.ts.map +1 -1
  903. package/v3/dist/kernel/anti-drift-middleware.js +8 -3
  904. package/v3/dist/kernel/anti-drift-middleware.js.map +1 -1
  905. package/v3/dist/kernel/hybrid-backend.d.ts.map +1 -1
  906. package/v3/dist/kernel/hybrid-backend.js +4 -0
  907. package/v3/dist/kernel/hybrid-backend.js.map +1 -1
  908. package/v3/dist/kernel/index.d.ts +1 -1
  909. package/v3/dist/kernel/index.d.ts.map +1 -1
  910. package/v3/dist/kernel/index.js +1 -1
  911. package/v3/dist/kernel/index.js.map +1 -1
  912. package/v3/dist/kernel/kernel.d.ts +5 -0
  913. package/v3/dist/kernel/kernel.d.ts.map +1 -1
  914. package/v3/dist/kernel/kernel.js +42 -29
  915. package/v3/dist/kernel/kernel.js.map +1 -1
  916. package/v3/dist/kernel/memory-factory.d.ts.map +1 -1
  917. package/v3/dist/kernel/memory-factory.js +12 -4
  918. package/v3/dist/kernel/memory-factory.js.map +1 -1
  919. package/v3/dist/kernel/plugin-loader.d.ts.map +1 -1
  920. package/v3/dist/kernel/plugin-loader.js +4 -1
  921. package/v3/dist/kernel/plugin-loader.js.map +1 -1
  922. package/v3/dist/kernel/unified-memory-hnsw.d.ts +130 -0
  923. package/v3/dist/kernel/unified-memory-hnsw.d.ts.map +1 -0
  924. package/v3/dist/kernel/unified-memory-hnsw.js +547 -0
  925. package/v3/dist/kernel/unified-memory-hnsw.js.map +1 -0
  926. package/v3/dist/kernel/unified-memory-migration.d.ts.map +1 -1
  927. package/v3/dist/kernel/unified-memory-migration.js +14 -15
  928. package/v3/dist/kernel/unified-memory-migration.js.map +1 -1
  929. package/v3/dist/kernel/unified-memory-schemas.d.ts +21 -0
  930. package/v3/dist/kernel/unified-memory-schemas.d.ts.map +1 -0
  931. package/v3/dist/kernel/unified-memory-schemas.js +581 -0
  932. package/v3/dist/kernel/unified-memory-schemas.js.map +1 -0
  933. package/v3/dist/kernel/unified-memory.d.ts +14 -198
  934. package/v3/dist/kernel/unified-memory.d.ts.map +1 -1
  935. package/v3/dist/kernel/unified-memory.js +117 -1388
  936. package/v3/dist/kernel/unified-memory.js.map +1 -1
  937. package/v3/dist/kernel/unified-persistence.d.ts.map +1 -1
  938. package/v3/dist/kernel/unified-persistence.js +6 -4
  939. package/v3/dist/kernel/unified-persistence.js.map +1 -1
  940. package/v3/dist/learning/aqe-learning-engine.d.ts.map +1 -1
  941. package/v3/dist/learning/aqe-learning-engine.js +11 -9
  942. package/v3/dist/learning/aqe-learning-engine.js.map +1 -1
  943. package/v3/dist/learning/dream/concept-graph.d.ts.map +1 -1
  944. package/v3/dist/learning/dream/concept-graph.js +6 -4
  945. package/v3/dist/learning/dream/concept-graph.js.map +1 -1
  946. package/v3/dist/learning/dream/dream-engine.d.ts +8 -0
  947. package/v3/dist/learning/dream/dream-engine.d.ts.map +1 -1
  948. package/v3/dist/learning/dream/dream-engine.js +35 -5
  949. package/v3/dist/learning/dream/dream-engine.js.map +1 -1
  950. package/v3/dist/learning/dream/dream-scheduler.d.ts.map +1 -1
  951. package/v3/dist/learning/dream/dream-scheduler.js +34 -22
  952. package/v3/dist/learning/dream/dream-scheduler.js.map +1 -1
  953. package/v3/dist/learning/experience-capture-middleware.d.ts.map +1 -1
  954. package/v3/dist/learning/experience-capture-middleware.js +2 -1
  955. package/v3/dist/learning/experience-capture-middleware.js.map +1 -1
  956. package/v3/dist/learning/experience-capture.d.ts.map +1 -1
  957. package/v3/dist/learning/experience-capture.js +4 -1
  958. package/v3/dist/learning/experience-capture.js.map +1 -1
  959. package/v3/dist/learning/memory-auditor.d.ts.map +1 -1
  960. package/v3/dist/learning/memory-auditor.js +3 -2
  961. package/v3/dist/learning/memory-auditor.js.map +1 -1
  962. package/v3/dist/learning/metrics-tracker.d.ts.map +1 -1
  963. package/v3/dist/learning/metrics-tracker.js +6 -2
  964. package/v3/dist/learning/metrics-tracker.js.map +1 -1
  965. package/v3/dist/learning/pattern-lifecycle.d.ts.map +1 -1
  966. package/v3/dist/learning/pattern-lifecycle.js +11 -5
  967. package/v3/dist/learning/pattern-lifecycle.js.map +1 -1
  968. package/v3/dist/learning/pattern-store.d.ts +7 -0
  969. package/v3/dist/learning/pattern-store.d.ts.map +1 -1
  970. package/v3/dist/learning/pattern-store.js +32 -4
  971. package/v3/dist/learning/pattern-store.js.map +1 -1
  972. package/v3/dist/learning/qe-hooks.d.ts.map +1 -1
  973. package/v3/dist/learning/qe-hooks.js +89 -13
  974. package/v3/dist/learning/qe-hooks.js.map +1 -1
  975. package/v3/dist/learning/qe-reasoning-bank.d.ts +13 -0
  976. package/v3/dist/learning/qe-reasoning-bank.d.ts.map +1 -1
  977. package/v3/dist/learning/qe-reasoning-bank.js +64 -24
  978. package/v3/dist/learning/qe-reasoning-bank.js.map +1 -1
  979. package/v3/dist/learning/qe-unified-memory.d.ts.map +1 -1
  980. package/v3/dist/learning/qe-unified-memory.js +31 -21
  981. package/v3/dist/learning/qe-unified-memory.js.map +1 -1
  982. package/v3/dist/learning/real-embeddings.d.ts.map +1 -1
  983. package/v3/dist/learning/real-embeddings.js +2 -1
  984. package/v3/dist/learning/real-embeddings.js.map +1 -1
  985. package/v3/dist/learning/real-qe-reasoning-bank.d.ts.map +1 -1
  986. package/v3/dist/learning/real-qe-reasoning-bank.js +47 -34
  987. package/v3/dist/learning/real-qe-reasoning-bank.js.map +1 -1
  988. package/v3/dist/learning/skill-validation-learner.d.ts.map +1 -1
  989. package/v3/dist/learning/skill-validation-learner.js +21 -12
  990. package/v3/dist/learning/skill-validation-learner.js.map +1 -1
  991. package/v3/dist/learning/sqlite-persistence.d.ts +9 -0
  992. package/v3/dist/learning/sqlite-persistence.d.ts.map +1 -1
  993. package/v3/dist/learning/sqlite-persistence.js +65 -6
  994. package/v3/dist/learning/sqlite-persistence.js.map +1 -1
  995. package/v3/dist/learning/token-tracker.d.ts.map +1 -1
  996. package/v3/dist/learning/token-tracker.js +4 -2
  997. package/v3/dist/learning/token-tracker.js.map +1 -1
  998. package/v3/dist/learning/v2-to-v3-migration.d.ts.map +1 -1
  999. package/v3/dist/learning/v2-to-v3-migration.js +9 -4
  1000. package/v3/dist/learning/v2-to-v3-migration.js.map +1 -1
  1001. package/v3/dist/mcp/bundle.js +15756 -14023
  1002. package/v3/dist/mcp/handlers/agent-handlers.d.ts.map +1 -1
  1003. package/v3/dist/mcp/handlers/agent-handlers.js +5 -4
  1004. package/v3/dist/mcp/handlers/agent-handlers.js.map +1 -1
  1005. package/v3/dist/mcp/handlers/core-handlers.d.ts.map +1 -1
  1006. package/v3/dist/mcp/handlers/core-handlers.js +4 -3
  1007. package/v3/dist/mcp/handlers/core-handlers.js.map +1 -1
  1008. package/v3/dist/mcp/handlers/handler-factory.d.ts.map +1 -1
  1009. package/v3/dist/mcp/handlers/handler-factory.js +12 -3
  1010. package/v3/dist/mcp/handlers/handler-factory.js.map +1 -1
  1011. package/v3/dist/mcp/handlers/memory-handlers.d.ts.map +1 -1
  1012. package/v3/dist/mcp/handlers/memory-handlers.js +8 -8
  1013. package/v3/dist/mcp/handlers/memory-handlers.js.map +1 -1
  1014. package/v3/dist/mcp/handlers/task-handlers.d.ts.map +1 -1
  1015. package/v3/dist/mcp/handlers/task-handlers.js +11 -10
  1016. package/v3/dist/mcp/handlers/task-handlers.js.map +1 -1
  1017. package/v3/dist/mcp/http-server.js +1 -1
  1018. package/v3/dist/mcp/http-server.js.map +1 -1
  1019. package/v3/dist/mcp/security/index.d.ts +2 -6
  1020. package/v3/dist/mcp/security/index.d.ts.map +1 -1
  1021. package/v3/dist/mcp/security/index.js +2 -2
  1022. package/v3/dist/mcp/security/index.js.map +1 -1
  1023. package/v3/dist/mcp/security/oauth21-provider.d.ts +7 -0
  1024. package/v3/dist/mcp/security/oauth21-provider.d.ts.map +1 -1
  1025. package/v3/dist/mcp/security/oauth21-provider.js +15 -3
  1026. package/v3/dist/mcp/security/oauth21-provider.js.map +1 -1
  1027. package/v3/dist/mcp/server.d.ts.map +1 -1
  1028. package/v3/dist/mcp/server.js +10 -24
  1029. package/v3/dist/mcp/server.js.map +1 -1
  1030. package/v3/dist/mcp/tool-registry.d.ts.map +1 -1
  1031. package/v3/dist/mcp/tool-registry.js +2 -1
  1032. package/v3/dist/mcp/tool-registry.js.map +1 -1
  1033. package/v3/dist/mcp/tools/analysis/token-usage.d.ts.map +1 -1
  1034. package/v3/dist/mcp/tools/analysis/token-usage.js +2 -1
  1035. package/v3/dist/mcp/tools/analysis/token-usage.js.map +1 -1
  1036. package/v3/dist/mcp/tools/base.d.ts.map +1 -1
  1037. package/v3/dist/mcp/tools/base.js +2 -1
  1038. package/v3/dist/mcp/tools/base.js.map +1 -1
  1039. package/v3/dist/mcp/tools/chaos-resilience/inject.d.ts.map +1 -1
  1040. package/v3/dist/mcp/tools/chaos-resilience/inject.js +2 -1
  1041. package/v3/dist/mcp/tools/chaos-resilience/inject.js.map +1 -1
  1042. package/v3/dist/mcp/tools/code-intelligence/analyze.d.ts.map +1 -1
  1043. package/v3/dist/mcp/tools/code-intelligence/analyze.js +2 -1
  1044. package/v3/dist/mcp/tools/code-intelligence/analyze.js.map +1 -1
  1045. package/v3/dist/mcp/tools/coherence/audit.d.ts.map +1 -1
  1046. package/v3/dist/mcp/tools/coherence/audit.js +2 -1
  1047. package/v3/dist/mcp/tools/coherence/audit.js.map +1 -1
  1048. package/v3/dist/mcp/tools/coherence/check.d.ts.map +1 -1
  1049. package/v3/dist/mcp/tools/coherence/check.js +2 -1
  1050. package/v3/dist/mcp/tools/coherence/check.js.map +1 -1
  1051. package/v3/dist/mcp/tools/coherence/collapse.d.ts.map +1 -1
  1052. package/v3/dist/mcp/tools/coherence/collapse.js +2 -1
  1053. package/v3/dist/mcp/tools/coherence/collapse.js.map +1 -1
  1054. package/v3/dist/mcp/tools/coherence/consensus.d.ts.map +1 -1
  1055. package/v3/dist/mcp/tools/coherence/consensus.js +2 -1
  1056. package/v3/dist/mcp/tools/coherence/consensus.js.map +1 -1
  1057. package/v3/dist/mcp/tools/contract-testing/validate.d.ts.map +1 -1
  1058. package/v3/dist/mcp/tools/contract-testing/validate.js +4 -3
  1059. package/v3/dist/mcp/tools/contract-testing/validate.js.map +1 -1
  1060. package/v3/dist/mcp/tools/coverage-analysis/index.d.ts.map +1 -1
  1061. package/v3/dist/mcp/tools/coverage-analysis/index.js +7 -6
  1062. package/v3/dist/mcp/tools/coverage-analysis/index.js.map +1 -1
  1063. package/v3/dist/mcp/tools/defect-intelligence/predict.d.ts.map +1 -1
  1064. package/v3/dist/mcp/tools/defect-intelligence/predict.js +2 -1
  1065. package/v3/dist/mcp/tools/defect-intelligence/predict.js.map +1 -1
  1066. package/v3/dist/mcp/tools/embeddings/embedding.d.ts.map +1 -1
  1067. package/v3/dist/mcp/tools/embeddings/embedding.js +6 -5
  1068. package/v3/dist/mcp/tools/embeddings/embedding.js.map +1 -1
  1069. package/v3/dist/mcp/tools/learning-optimization/dream.d.ts.map +1 -1
  1070. package/v3/dist/mcp/tools/learning-optimization/dream.js +3 -2
  1071. package/v3/dist/mcp/tools/learning-optimization/dream.js.map +1 -1
  1072. package/v3/dist/mcp/tools/learning-optimization/optimize.d.ts.map +1 -1
  1073. package/v3/dist/mcp/tools/learning-optimization/optimize.js +2 -1
  1074. package/v3/dist/mcp/tools/learning-optimization/optimize.js.map +1 -1
  1075. package/v3/dist/mcp/tools/planning/goap-execute.d.ts.map +1 -1
  1076. package/v3/dist/mcp/tools/planning/goap-execute.js +2 -1
  1077. package/v3/dist/mcp/tools/planning/goap-execute.js.map +1 -1
  1078. package/v3/dist/mcp/tools/planning/goap-plan.d.ts.map +1 -1
  1079. package/v3/dist/mcp/tools/planning/goap-plan.js +2 -1
  1080. package/v3/dist/mcp/tools/planning/goap-plan.js.map +1 -1
  1081. package/v3/dist/mcp/tools/planning/goap-status.d.ts.map +1 -1
  1082. package/v3/dist/mcp/tools/planning/goap-status.js +2 -1
  1083. package/v3/dist/mcp/tools/planning/goap-status.js.map +1 -1
  1084. package/v3/dist/mcp/tools/quality-assessment/evaluate.d.ts.map +1 -1
  1085. package/v3/dist/mcp/tools/quality-assessment/evaluate.js +2 -1
  1086. package/v3/dist/mcp/tools/quality-assessment/evaluate.js.map +1 -1
  1087. package/v3/dist/mcp/tools/qx-analysis/analyze.d.ts.map +1 -1
  1088. package/v3/dist/mcp/tools/qx-analysis/analyze.js +2 -1
  1089. package/v3/dist/mcp/tools/qx-analysis/analyze.js.map +1 -1
  1090. package/v3/dist/mcp/tools/qx-analysis/impact-analyzer.d.ts +12 -0
  1091. package/v3/dist/mcp/tools/qx-analysis/impact-analyzer.d.ts.map +1 -1
  1092. package/v3/dist/mcp/tools/qx-analysis/impact-analyzer.js +158 -109
  1093. package/v3/dist/mcp/tools/qx-analysis/impact-analyzer.js.map +1 -1
  1094. package/v3/dist/mcp/tools/requirements-validation/quality-criteria.d.ts.map +1 -1
  1095. package/v3/dist/mcp/tools/requirements-validation/quality-criteria.js +2 -1
  1096. package/v3/dist/mcp/tools/requirements-validation/quality-criteria.js.map +1 -1
  1097. package/v3/dist/mcp/tools/requirements-validation/validate.d.ts.map +1 -1
  1098. package/v3/dist/mcp/tools/requirements-validation/validate.js +2 -1
  1099. package/v3/dist/mcp/tools/requirements-validation/validate.js.map +1 -1
  1100. package/v3/dist/mcp/tools/security-compliance/scan.d.ts.map +1 -1
  1101. package/v3/dist/mcp/tools/security-compliance/scan.js +2 -1
  1102. package/v3/dist/mcp/tools/security-compliance/scan.js.map +1 -1
  1103. package/v3/dist/mcp/tools/test-execution/e2e-execute.d.ts.map +1 -1
  1104. package/v3/dist/mcp/tools/test-execution/e2e-execute.js +2 -1
  1105. package/v3/dist/mcp/tools/test-execution/e2e-execute.js.map +1 -1
  1106. package/v3/dist/mcp/tools/test-execution/execute.d.ts.map +1 -1
  1107. package/v3/dist/mcp/tools/test-execution/execute.js +2 -1
  1108. package/v3/dist/mcp/tools/test-execution/execute.js.map +1 -1
  1109. package/v3/dist/mcp/tools/test-generation/generate.d.ts.map +1 -1
  1110. package/v3/dist/mcp/tools/test-generation/generate.js +2 -1
  1111. package/v3/dist/mcp/tools/test-generation/generate.js.map +1 -1
  1112. package/v3/dist/mcp/tools/visual-accessibility/index.d.ts.map +1 -1
  1113. package/v3/dist/mcp/tools/visual-accessibility/index.js +3 -2
  1114. package/v3/dist/mcp/tools/visual-accessibility/index.js.map +1 -1
  1115. package/v3/dist/mcp/transport/sse/sse-transport.js +1 -1
  1116. package/v3/dist/mcp/transport/sse/sse-transport.js.map +1 -1
  1117. package/v3/dist/mcp/transport/stdio.js +1 -1
  1118. package/v3/dist/mcp/transport/stdio.js.map +1 -1
  1119. package/v3/dist/mcp/transport/websocket/websocket-transport.js +1 -1
  1120. package/v3/dist/mcp/transport/websocket/websocket-transport.js.map +1 -1
  1121. package/v3/dist/memory/crdt/or-set.d.ts.map +1 -1
  1122. package/v3/dist/memory/crdt/or-set.js +2 -1
  1123. package/v3/dist/memory/crdt/or-set.js.map +1 -1
  1124. package/v3/dist/optimization/auto-tuner.d.ts.map +1 -1
  1125. package/v3/dist/optimization/auto-tuner.js +2 -1
  1126. package/v3/dist/optimization/auto-tuner.js.map +1 -1
  1127. package/v3/dist/optimization/early-exit-token-optimizer.d.ts.map +1 -1
  1128. package/v3/dist/optimization/early-exit-token-optimizer.js +2 -1
  1129. package/v3/dist/optimization/early-exit-token-optimizer.js.map +1 -1
  1130. package/v3/dist/optimization/qe-workers.d.ts.map +1 -1
  1131. package/v3/dist/optimization/qe-workers.js +2 -1
  1132. package/v3/dist/optimization/qe-workers.js.map +1 -1
  1133. package/v3/dist/performance/benchmarks.d.ts.map +1 -1
  1134. package/v3/dist/performance/benchmarks.js +2 -1
  1135. package/v3/dist/performance/benchmarks.js.map +1 -1
  1136. package/v3/dist/performance/optimizer.d.ts.map +1 -1
  1137. package/v3/dist/performance/optimizer.js +119 -71
  1138. package/v3/dist/performance/optimizer.js.map +1 -1
  1139. package/v3/dist/performance/run-gates.js +2 -1
  1140. package/v3/dist/performance/run-gates.js.map +1 -1
  1141. package/v3/dist/planning/goap-planner.d.ts +4 -1
  1142. package/v3/dist/planning/goap-planner.d.ts.map +1 -1
  1143. package/v3/dist/planning/goap-planner.js +128 -46
  1144. package/v3/dist/planning/goap-planner.js.map +1 -1
  1145. package/v3/dist/planning/index.d.ts +1 -1
  1146. package/v3/dist/planning/index.d.ts.map +1 -1
  1147. package/v3/dist/planning/index.js.map +1 -1
  1148. package/v3/dist/planning/plan-executor.d.ts.map +1 -1
  1149. package/v3/dist/planning/plan-executor.js +7 -5
  1150. package/v3/dist/planning/plan-executor.js.map +1 -1
  1151. package/v3/dist/planning/types.d.ts +0 -16
  1152. package/v3/dist/planning/types.d.ts.map +1 -1
  1153. package/v3/dist/routing/routing-feedback.d.ts.map +1 -1
  1154. package/v3/dist/routing/routing-feedback.js +7 -5
  1155. package/v3/dist/routing/routing-feedback.js.map +1 -1
  1156. package/v3/dist/shared/base-domain-plugin.d.ts +198 -0
  1157. package/v3/dist/shared/base-domain-plugin.d.ts.map +1 -0
  1158. package/v3/dist/shared/base-domain-plugin.js +292 -0
  1159. package/v3/dist/shared/base-domain-plugin.js.map +1 -0
  1160. package/v3/dist/shared/domain-service-registry.d.ts +70 -0
  1161. package/v3/dist/shared/domain-service-registry.d.ts.map +1 -0
  1162. package/v3/dist/shared/domain-service-registry.js +87 -0
  1163. package/v3/dist/shared/domain-service-registry.js.map +1 -0
  1164. package/v3/dist/shared/embeddings/nomic-embedder.d.ts.map +1 -1
  1165. package/v3/dist/shared/embeddings/nomic-embedder.js +2 -1
  1166. package/v3/dist/shared/embeddings/nomic-embedder.js.map +1 -1
  1167. package/v3/dist/shared/embeddings/ollama-client.d.ts.map +1 -1
  1168. package/v3/dist/shared/embeddings/ollama-client.js +2 -1
  1169. package/v3/dist/shared/embeddings/ollama-client.js.map +1 -1
  1170. package/v3/dist/shared/error-utils.d.ts +16 -0
  1171. package/v3/dist/shared/error-utils.d.ts.map +1 -0
  1172. package/v3/dist/shared/error-utils.js +20 -0
  1173. package/v3/dist/shared/error-utils.js.map +1 -0
  1174. package/v3/dist/shared/http/http-client.d.ts.map +1 -1
  1175. package/v3/dist/shared/http/http-client.js +2 -1
  1176. package/v3/dist/shared/http/http-client.js.map +1 -1
  1177. package/v3/dist/shared/index.d.ts +3 -0
  1178. package/v3/dist/shared/index.d.ts.map +1 -1
  1179. package/v3/dist/shared/index.js +3 -0
  1180. package/v3/dist/shared/index.js.map +1 -1
  1181. package/v3/dist/shared/io/file-reader.d.ts.map +1 -1
  1182. package/v3/dist/shared/io/file-reader.js +2 -1
  1183. package/v3/dist/shared/io/file-reader.js.map +1 -1
  1184. package/v3/dist/shared/llm/circuit-breaker.d.ts.map +1 -1
  1185. package/v3/dist/shared/llm/circuit-breaker.js +2 -1
  1186. package/v3/dist/shared/llm/circuit-breaker.js.map +1 -1
  1187. package/v3/dist/shared/llm/metrics/cost-metrics.js.map +1 -1
  1188. package/v3/dist/shared/llm/metrics/router-metrics.d.ts.map +1 -1
  1189. package/v3/dist/shared/llm/metrics/router-metrics.js.map +1 -1
  1190. package/v3/dist/shared/llm/provider-manager.d.ts.map +1 -1
  1191. package/v3/dist/shared/llm/provider-manager.js +2 -1
  1192. package/v3/dist/shared/llm/provider-manager.js.map +1 -1
  1193. package/v3/dist/shared/llm/providers/azure-openai.d.ts.map +1 -1
  1194. package/v3/dist/shared/llm/providers/azure-openai.js +2 -1
  1195. package/v3/dist/shared/llm/providers/azure-openai.js.map +1 -1
  1196. package/v3/dist/shared/llm/providers/bedrock.d.ts.map +1 -1
  1197. package/v3/dist/shared/llm/providers/bedrock.js +2 -1
  1198. package/v3/dist/shared/llm/providers/bedrock.js.map +1 -1
  1199. package/v3/dist/shared/llm/providers/claude.d.ts.map +1 -1
  1200. package/v3/dist/shared/llm/providers/claude.js +2 -1
  1201. package/v3/dist/shared/llm/providers/claude.js.map +1 -1
  1202. package/v3/dist/shared/llm/providers/gemini.d.ts.map +1 -1
  1203. package/v3/dist/shared/llm/providers/gemini.js +4 -2
  1204. package/v3/dist/shared/llm/providers/gemini.js.map +1 -1
  1205. package/v3/dist/shared/llm/providers/openai.d.ts.map +1 -1
  1206. package/v3/dist/shared/llm/providers/openai.js +2 -1
  1207. package/v3/dist/shared/llm/providers/openai.js.map +1 -1
  1208. package/v3/dist/shared/llm/providers/openrouter.d.ts.map +1 -1
  1209. package/v3/dist/shared/llm/providers/openrouter.js +4 -2
  1210. package/v3/dist/shared/llm/providers/openrouter.js.map +1 -1
  1211. package/v3/dist/shared/llm/router/hybrid-router.d.ts.map +1 -1
  1212. package/v3/dist/shared/llm/router/hybrid-router.js +2 -1
  1213. package/v3/dist/shared/llm/router/hybrid-router.js.map +1 -1
  1214. package/v3/dist/shared/llm/translation/prompt-translator.d.ts.map +1 -1
  1215. package/v3/dist/shared/llm/translation/prompt-translator.js +2 -1
  1216. package/v3/dist/shared/llm/translation/prompt-translator.js.map +1 -1
  1217. package/v3/dist/shared/safe-json.d.ts +57 -0
  1218. package/v3/dist/shared/safe-json.d.ts.map +1 -0
  1219. package/v3/dist/shared/safe-json.js +78 -0
  1220. package/v3/dist/shared/safe-json.js.map +1 -0
  1221. package/v3/dist/shared/sql-safety.d.ts +9 -0
  1222. package/v3/dist/shared/sql-safety.d.ts.map +1 -1
  1223. package/v3/dist/shared/sql-safety.js +20 -1
  1224. package/v3/dist/shared/sql-safety.js.map +1 -1
  1225. package/v3/dist/shared/utils/circular-buffer.js +1 -1
  1226. package/v3/dist/shared/utils/circular-buffer.js.map +1 -1
  1227. package/v3/dist/skills/security-visual-testing/index.d.ts.map +1 -1
  1228. package/v3/dist/skills/security-visual-testing/index.js +6 -5
  1229. package/v3/dist/skills/security-visual-testing/index.js.map +1 -1
  1230. package/v3/dist/strange-loop/strange-loop.d.ts +0 -9
  1231. package/v3/dist/strange-loop/strange-loop.d.ts.map +1 -1
  1232. package/v3/dist/strange-loop/strange-loop.js +23 -15
  1233. package/v3/dist/strange-loop/strange-loop.js.map +1 -1
  1234. package/v3/dist/sync/claude-flow-bridge.d.ts.map +1 -1
  1235. package/v3/dist/sync/claude-flow-bridge.js +2 -1
  1236. package/v3/dist/sync/claude-flow-bridge.js.map +1 -1
  1237. package/v3/dist/sync/cloud/index.d.ts +1 -1
  1238. package/v3/dist/sync/cloud/index.d.ts.map +1 -1
  1239. package/v3/dist/sync/cloud/index.js +1 -1
  1240. package/v3/dist/sync/cloud/index.js.map +1 -1
  1241. package/v3/dist/sync/cloud/postgres-writer.d.ts.map +1 -1
  1242. package/v3/dist/sync/cloud/postgres-writer.js +20 -9
  1243. package/v3/dist/sync/cloud/postgres-writer.js.map +1 -1
  1244. package/v3/dist/sync/cloud/tunnel-manager.d.ts +17 -1
  1245. package/v3/dist/sync/cloud/tunnel-manager.d.ts.map +1 -1
  1246. package/v3/dist/sync/cloud/tunnel-manager.js +36 -1
  1247. package/v3/dist/sync/cloud/tunnel-manager.js.map +1 -1
  1248. package/v3/dist/sync/embeddings/sync-embedding-generator.d.ts.map +1 -1
  1249. package/v3/dist/sync/embeddings/sync-embedding-generator.js +11 -5
  1250. package/v3/dist/sync/embeddings/sync-embedding-generator.js.map +1 -1
  1251. package/v3/dist/sync/readers/json-reader.d.ts.map +1 -1
  1252. package/v3/dist/sync/readers/json-reader.js +2 -1
  1253. package/v3/dist/sync/readers/json-reader.js.map +1 -1
  1254. package/v3/dist/sync/readers/sqlite-reader.d.ts.map +1 -1
  1255. package/v3/dist/sync/readers/sqlite-reader.js +14 -6
  1256. package/v3/dist/sync/readers/sqlite-reader.js.map +1 -1
  1257. package/v3/dist/sync/sync-agent.d.ts.map +1 -1
  1258. package/v3/dist/sync/sync-agent.js +10 -6
  1259. package/v3/dist/sync/sync-agent.js.map +1 -1
  1260. package/v3/dist/test-scheduling/executors/vitest-executor.d.ts.map +1 -1
  1261. package/v3/dist/test-scheduling/executors/vitest-executor.js +3 -2
  1262. package/v3/dist/test-scheduling/executors/vitest-executor.js.map +1 -1
  1263. package/v3/dist/test-scheduling/flaky-tracking/flaky-tracker.d.ts.map +1 -1
  1264. package/v3/dist/test-scheduling/flaky-tracking/flaky-tracker.js +2 -1
  1265. package/v3/dist/test-scheduling/flaky-tracking/flaky-tracker.js.map +1 -1
  1266. package/v3/dist/testing/load/agent-load-tester.d.ts.map +1 -1
  1267. package/v3/dist/testing/load/agent-load-tester.js +2 -1
  1268. package/v3/dist/testing/load/agent-load-tester.js.map +1 -1
  1269. package/v3/dist/validation/parallel-eval-runner.d.ts.map +1 -1
  1270. package/v3/dist/validation/parallel-eval-runner.js +83 -37
  1271. package/v3/dist/validation/parallel-eval-runner.js.map +1 -1
  1272. package/v3/dist/validation/swarm-skill-validator.d.ts.map +1 -1
  1273. package/v3/dist/validation/swarm-skill-validator.js +2 -1
  1274. package/v3/dist/validation/swarm-skill-validator.js.map +1 -1
  1275. package/v3/dist/validation/validation-result-aggregator.d.ts.map +1 -1
  1276. package/v3/dist/validation/validation-result-aggregator.js +2 -1
  1277. package/v3/dist/validation/validation-result-aggregator.js.map +1 -1
  1278. package/v3/dist/workers/base-worker.d.ts.map +1 -1
  1279. package/v3/dist/workers/base-worker.js +2 -1
  1280. package/v3/dist/workers/base-worker.js.map +1 -1
  1281. package/v3/dist/workers/workers/cloud-sync.d.ts.map +1 -1
  1282. package/v3/dist/workers/workers/cloud-sync.js +2 -1
  1283. package/v3/dist/workers/workers/cloud-sync.js.map +1 -1
  1284. package/v3/dist/workers/workers/learning-consolidation.d.ts.map +1 -1
  1285. package/v3/dist/workers/workers/learning-consolidation.js +4 -3
  1286. package/v3/dist/workers/workers/learning-consolidation.js.map +1 -1
  1287. package/v3/dist/workers/workers/test-health.d.ts.map +1 -1
  1288. package/v3/dist/workers/workers/test-health.js +2 -1
  1289. package/v3/dist/workers/workers/test-health.js.map +1 -1
  1290. package/v3/package.json +3 -2
@@ -0,0 +1,2781 @@
1
+ ---
2
+ name: qcsd-production-swarm
3
+ description: "QCSD Production Telemetry phase swarm for post-release production health assessment using DORA metrics, root cause analysis, defect prediction, and cross-phase feedback loops. Consumes CI/CD outputs (RELEASE/REMEDIATE/BLOCK decisions, release readiness metrics) and produces feedback signals to Ideation and Refinement."
4
+ category: qcsd-phases
5
+ priority: critical
6
+ version: 1.0.0
7
+ tokenEstimate: 32000
8
+ # DDD Domain Mapping (from QCSD-AGENTIC-QE-MAPPING-FRAMEWORK.md)
9
+ domains:
10
+ primary:
11
+ - domain: learning-optimization
12
+ agents: [qe-metrics-optimizer]
13
+ - domain: defect-intelligence
14
+ agents: [qe-defect-predictor, qe-root-cause-analyzer]
15
+ conditional:
16
+ - domain: chaos-resilience
17
+ agents: [qe-chaos-engineer, qe-performance-tester]
18
+ - domain: defect-intelligence
19
+ agents: [qe-regression-analyzer, qe-pattern-learner]
20
+ - domain: enterprise-integration
21
+ agents: [qe-middleware-validator, qe-sap-rfc-tester, qe-sod-analyzer]
22
+ feedback:
23
+ - domain: learning-optimization
24
+ agents: [qe-learning-coordinator, qe-transfer-specialist]
25
+ # Agent Inventory
26
+ agents:
27
+ core: [qe-metrics-optimizer, qe-defect-predictor, qe-root-cause-analyzer]
28
+ conditional: [qe-chaos-engineer, qe-performance-tester, qe-regression-analyzer, qe-pattern-learner, qe-middleware-validator, qe-sap-rfc-tester, qe-sod-analyzer]
29
+ feedback: [qe-learning-coordinator, qe-transfer-specialist]
30
+ total: 12
31
+ sub_agents: 0
32
+ skills: [shift-right-testing, chaos-engineering-resilience, quality-metrics, performance-testing, holistic-testing-pact]
33
+ # Execution Models (Task Tool is PRIMARY)
34
+ execution:
35
+ primary: task-tool
36
+ alternatives: [mcp-tools, cli]
37
+ swarm_pattern: true
38
+ parallel_batches: 3
39
+ last_updated: 2026-02-17
40
+ enforcement_level: strict
41
+ tags: [qcsd, production, telemetry, dora, rca, defect-prediction, feedback-loop, learning, swarm, parallel, ddd]
42
+ trust_tier: 3
43
+ validation:
44
+ schema_path: schemas/output.json
45
+ validator_path: scripts/validate-config.json
46
+ eval_path: evals/qcsd-production-swarm.yaml
47
+
48
+ ---
49
+
50
+ # QCSD Production Swarm v1.0
51
+
52
+ Post-release production health assessment and QCSD feedback loop closure.
53
+
54
+ ---
55
+
56
+ ## Overview
57
+
58
+ The Production Swarm takes releases that passed CI/CD verification and assesses their
59
+ health in the live production environment. Where the CI/CD Swarm asks "Is this change
60
+ safe to release?", the Production Swarm asks "Is the release healthy in production?"
61
+
62
+ This swarm operates at the production telemetry level, analyzing DORA metrics, incident
63
+ reports, defect patterns, SLA compliance, and root cause data to render a
64
+ HEALTHY / DEGRADED / CRITICAL decision. It is the only QCSD phase with dual
65
+ responsibility: assessing current production health AND closing the feedback loop
66
+ back to Ideation and Refinement phases.
67
+
68
+ ### QCSD Phase Positioning
69
+
70
+ | Phase | Swarm | Question | Decision | When |
71
+ |-------|-------|----------|----------|------|
72
+ | Ideation | qcsd-ideation-swarm | Should we build this? | GO / CONDITIONAL / NO-GO | PI/Sprint Planning |
73
+ | Refinement | qcsd-refinement-swarm | How should we test this? | READY / CONDITIONAL / NOT-READY | Sprint Refinement |
74
+ | Development | qcsd-development-swarm | Is the code quality sufficient? | SHIP / CONDITIONAL / HOLD | During Sprint |
75
+ | Verification | qcsd-cicd-swarm | Is this change safe to release? | RELEASE / REMEDIATE / BLOCK | Pre-Release / CI-CD |
76
+ | **Production** | **qcsd-production-swarm** | **Is the release healthy in production?** | **HEALTHY / DEGRADED / CRITICAL** | **Post-Release** |
77
+
78
+ ### Key Differentiators from CI/CD Swarm
79
+
80
+ | Dimension | CI/CD Swarm | Production Swarm |
81
+ |-----------|-------------|-----------------|
82
+ | Framework | Quality Gates + Regression + Stability | DORA Metrics + RCA + Defect Intelligence |
83
+ | Agents | 10 (3 core + 6 conditional + 1 analysis) | 12 (3 core + 7 conditional + 2 feedback) |
84
+ | Core Output | Release readiness assessment | Production health assessment + feedback loops |
85
+ | Decision | RELEASE / REMEDIATE / BLOCK | HEALTHY / DEGRADED / CRITICAL |
86
+ | Flags | HAS_SECURITY_PIPELINE, HAS_PERFORMANCE_PIPELINE, HAS_INFRA_CHANGE, HAS_MIDDLEWARE, HAS_SAP_INTEGRATION, HAS_AUTHORIZATION | HAS_INFRASTRUCTURE_CHANGE, HAS_PERFORMANCE_SLA, HAS_REGRESSION_RISK, HAS_RECURRING_INCIDENTS, HAS_MIDDLEWARE, HAS_SAP_INTEGRATION, HAS_AUTHORIZATION |
87
+ | Phase | Pre-Release / CI-CD Pipeline | Post-Release / Production Telemetry |
88
+ | Input | Pipeline artifacts + test results + build output | Production telemetry + incident reports + DORA data |
89
+ | Final Step | Deployment readiness advisory | Learning synthesis + knowledge transfer |
90
+ | Unique Role | Last gate before production | Only phase with dual responsibility: analyze + feedback |
91
+
92
+ **Architectural Note:** Production is the only swarm with 12 agents (not 10) and 2 always-run feedback agents (not 1 always-run analysis agent). This is explicit: Production has dual responsibility -- assessing current health AND closing the QCSD feedback loop.
93
+
94
+ **Design Decision: SAP Agent Reuse** -- Production reuses qe-sap-rfc-tester (also used in Ideation) because RFC/BAPI health checking is the most relevant SAP validation for live production systems. There are 4 SAP agents total (qe-sap-rfc-tester, qe-odata-contract-tester, qe-sap-idoc-tester, qe-soap-tester) distributed across 5 QCSD phases, necessitating one reuse.
95
+
96
+ ---
97
+
98
+ ### Parameters
99
+
100
+ - `TELEMETRY_DATA`: Path to production telemetry, incident reports, and DORA metrics (required, e.g., `production/telemetry/`)
101
+ - `RELEASE_ID`: Release identifier for tracking (optional, e.g., `v3.6.9`)
102
+ - `OUTPUT_FOLDER`: Where to save reports (default: `${PROJECT_ROOT}/Agentic QCSD/production/`)
103
+ - `SLA_DEFINITIONS`: Path to SLA/SLO target definitions (optional)
104
+
105
+ ---
106
+
107
+ ## ENFORCEMENT RULES - READ FIRST
108
+
109
+ **These rules are NON-NEGOTIABLE. Violation means skill execution failure.**
110
+
111
+ | Rule | Enforcement |
112
+ |------|-------------|
113
+ | **E1** | You MUST spawn ALL THREE core agents (qe-metrics-optimizer, qe-defect-predictor, qe-root-cause-analyzer) in Phase 2. No exceptions. |
114
+ | **E2** | You MUST put all parallel Task calls in a SINGLE message. |
115
+ | **E3** | You MUST STOP and WAIT after each batch. No proceeding early. |
116
+ | **E4** | You MUST spawn conditional agents if flags are TRUE. No skipping. |
117
+ | **E5** | You MUST apply HEALTHY/DEGRADED/CRITICAL logic exactly as specified in Phase 5. |
118
+ | **E6** | You MUST generate the full report structure. No abbreviated versions. |
119
+ | **E7** | Each agent MUST read its reference files before analysis. |
120
+ | **E8** | You MUST run BOTH qe-learning-coordinator AND qe-transfer-specialist in Phase 8 SEQUENTIALLY (coordinator first, then specialist). Always. Both agents. Never in parallel. |
121
+ | **E9** | You MUST execute Phase 7 learning persistence. Store production findings to memory BEFORE Phase 8. No skipping. |
122
+
123
+ **PROHIBITED BEHAVIORS:**
124
+ - Summarizing instead of spawning agents
125
+ - Skipping agents "for brevity"
126
+ - Proceeding before background tasks complete
127
+ - Providing your own analysis instead of spawning specialists
128
+ - Omitting report sections
129
+ - Using placeholder text like "[details here]"
130
+ - Skipping the feedback loop synthesis
131
+ - Skipping learning persistence (Phase 7) or treating it as optional
132
+ - Generating production analysis yourself instead of using specialist agents
133
+
134
+ ---
135
+
136
+ ## PHASE 1: Analyze Production Context (Flag Detection)
137
+
138
+ **MANDATORY: You must complete this analysis before Phase 2.**
139
+
140
+ ### Step 0: Retrieve CI/CD Phase Signals (Cross-Phase Consumption)
141
+
142
+ Before analyzing production context, retrieve the most recent CI/CD phase signals from memory.
143
+ These provide the release readiness baseline that the Production Swarm builds upon.
144
+
145
+ **MCP Method (preferred):**
146
+
147
+ ```javascript
148
+ mcp__agentic-qe__memory_query({
149
+ pattern: "qcsd-cicd-*",
150
+ namespace: "qcsd-cicd",
151
+ limit: 1
152
+ })
153
+ ```
154
+
155
+ **CLI Fallback:**
156
+
157
+ ```bash
158
+ npx @claude-flow/cli@latest memory search --query "qcsd-cicd" --namespace qcsd-cicd --limit 1
159
+ ```
160
+
161
+ **Extract and record CI/CD baseline (if available):**
162
+
163
+ ```
164
+ +-------------------------------------------------------------+
165
+ | CI/CD PHASE BASELINE |
166
+ +-------------------------------------------------------------+
167
+ | |
168
+ | Retrieved: [YES / NO - memory query failed] |
169
+ | |
170
+ | Release Decision: [RELEASE / REMEDIATE / BLOCK / N/A] |
171
+ | Deployment Risk Score: [value / N/A] |
172
+ | Quality Gate Status: [PASSED / FAILED / N/A] |
173
+ | Known Issues: [list / NONE] |
174
+ | Monitoring Recommendations: [list / NONE] |
175
+ | |
176
+ | If NO CI/CD baseline: Proceed without baseline. |
177
+ | Note "NO CI/CD BASELINE AVAILABLE" in report. |
178
+ | |
179
+ +-------------------------------------------------------------+
180
+ ```
181
+
182
+ **DO NOT skip this step.** If memory retrieval fails, proceed without baseline but document the gap.
183
+
184
+ ---
185
+
186
+ ### Step 0.5: Auto-Detect Pre-Collected Telemetry
187
+
188
+ Before requiring manual telemetry input, check if the GitHub Actions telemetry collection
189
+ workflow has pre-collected DORA metrics. This runs automatically after every npm publish
190
+ and weekly on schedule.
191
+
192
+ **Check for pre-collected telemetry:**
193
+
194
+ ```bash
195
+ TELEMETRY_FILE="docs/telemetry/production/latest.json"
196
+ ```
197
+
198
+ **If the file exists and is recent (< 7 days old):**
199
+ - Use it as the primary TELEMETRY_DATA source
200
+ - The DORA metrics (deployment frequency, lead time, change failure rate, MTTR) are already
201
+ computed from GitHub API — the qe-metrics-optimizer agent should validate and enrich these,
202
+ not recompute from scratch
203
+ - Record: `TELEMETRY SOURCE: GHA pre-collected (${collectionTimestamp from JSON})`
204
+ - Extract the `releaseId` from the JSON if RELEASE_ID was not provided as a parameter
205
+
206
+ **If the file does not exist or is stale (> 7 days old):**
207
+ - Proceed with the manually provided TELEMETRY_DATA parameter as currently specified
208
+ - Record: `TELEMETRY SOURCE: Manual input`
209
+
210
+ **This step is non-blocking.** If pre-collected telemetry is unavailable, the swarm
211
+ operates exactly as before. Pre-collected telemetry simply accelerates Phase 2 by
212
+ giving qe-metrics-optimizer a validated starting point.
213
+
214
+ ---
215
+
216
+ ### Step 1: Scan Production Context and Detect Flags
217
+
218
+ Scan the production telemetry, incident reports, DORA data, and release context to SET these flags. Do not skip any flag.
219
+
220
+ ### Flag Detection (Check ALL SEVEN)
221
+
222
+ ```
223
+ HAS_INFRASTRUCTURE_CHANGE = FALSE
224
+ Set TRUE if input mentions RECENT infrastructure changes since last release:
225
+ Kubernetes config changes, container image updates, cloud resource modifications,
226
+ deployment topology changes, scaling policy updates, network rule changes,
227
+ load balancer updates, DNS changes, certificate rotations, CDN changes.
228
+ NOTE: General mentions of infrastructure existing do NOT trigger this flag.
229
+ Only RECENT CHANGES to infrastructure trigger it.
230
+
231
+ HAS_PERFORMANCE_SLA = FALSE
232
+ Set TRUE if input mentions ANY of: SLA, SLO, SLI, response time requirements,
233
+ latency targets, error budgets, throughput thresholds, availability targets,
234
+ uptime requirements, p95 latency, p99 latency, error rate targets
235
+
236
+ HAS_REGRESSION_RISK = FALSE
237
+ Set TRUE if input mentions ANY of: user-reported issues, error rate increases,
238
+ degraded functionality, rollback consideration, feature flag incidents,
239
+ A/B test anomalies, customer complaints, support ticket spikes,
240
+ monitoring alerts, degraded performance post-deploy
241
+
242
+ HAS_RECURRING_INCIDENTS = FALSE
243
+ Set TRUE if input mentions ANY of: repeated incidents, known recurring issues,
244
+ incident patterns, chronic alerts, previously-seen failure modes,
245
+ flapping services, repeat offender modules, recurring pages,
246
+ same-root-cause incidents, deja-vu failures
247
+
248
+ HAS_MIDDLEWARE = FALSE
249
+ Set TRUE if input mentions ANY of: middleware, ESB, message broker, MQ,
250
+ Kafka, RabbitMQ, integration bus, API gateway, message queue, pub/sub,
251
+ event bus, service bus, ActiveMQ, NATS, Redis Streams
252
+
253
+ HAS_SAP_INTEGRATION = FALSE
254
+ Set TRUE if input mentions ANY of: SAP, RFC, BAPI, IDoc, OData,
255
+ S/4HANA, EWM, ECC, ABAP, CDS view, Fiori, SAP Cloud Integration,
256
+ SAP PI/PO, SAP Gateway, SAP connector
257
+
258
+ HAS_AUTHORIZATION = FALSE
259
+ Set TRUE if input mentions ANY of: SoD, segregation of duties,
260
+ role conflict, authorization object, T-code, user role,
261
+ access control matrix, GRC, RBAC policy, permission matrix,
262
+ privilege escalation, role assignment
263
+ ```
264
+
265
+ ### Validation Checkpoint
266
+
267
+ Before proceeding to Phase 2, confirm:
268
+
269
+ ```
270
+ +-- I have read the production telemetry and incident reports
271
+ +-- I have read the DORA metrics data
272
+ +-- I have reviewed the release context and CI/CD phase signals
273
+ +-- I have evaluated ALL SEVEN flags
274
+ +-- I have recorded which flags are TRUE
275
+ +-- I understand which conditional agents will be needed
276
+ ```
277
+
278
+ **DO NOT proceed to Phase 2 until all checkboxes are confirmed.**
279
+
280
+ ### MANDATORY: Output Flag Detection Results
281
+
282
+ You MUST output flag detection results before proceeding:
283
+
284
+ ```
285
+ +-------------------------------------------------------------+
286
+ | FLAG DETECTION RESULTS |
287
+ +-------------------------------------------------------------+
288
+ | |
289
+ | HAS_INFRASTRUCTURE_CHANGE: [TRUE/FALSE] |
290
+ | Evidence: [what triggered it - specific] |
291
+ | |
292
+ | HAS_PERFORMANCE_SLA: [TRUE/FALSE] |
293
+ | Evidence: [what triggered it - specific] |
294
+ | |
295
+ | HAS_REGRESSION_RISK: [TRUE/FALSE] |
296
+ | Evidence: [what triggered it - specific] |
297
+ | |
298
+ | HAS_RECURRING_INCIDENTS: [TRUE/FALSE] |
299
+ | Evidence: [what triggered it - specific] |
300
+ | |
301
+ | HAS_MIDDLEWARE: [TRUE/FALSE] |
302
+ | Evidence: [what triggered it - specific] |
303
+ | |
304
+ | HAS_SAP_INTEGRATION: [TRUE/FALSE] |
305
+ | Evidence: [what triggered it - specific] |
306
+ | |
307
+ | HAS_AUTHORIZATION: [TRUE/FALSE] |
308
+ | Evidence: [what triggered it - specific] |
309
+ | |
310
+ | EXPECTED AGENTS: |
311
+ | - Core: 3 (always) |
312
+ | - Conditional: [count based on TRUE flags] |
313
+ | - Feedback: 2 (always) |
314
+ | - TOTAL: [3 + conditional count + 2] |
315
+ | |
316
+ +-------------------------------------------------------------+
317
+ ```
318
+
319
+ **DO NOT proceed to Phase 2 without outputting flag detection results.**
320
+
321
+ ---
322
+
323
+ ## PHASE 2: Spawn Core Agents (PARALLEL BATCH 1)
324
+
325
+ ### CRITICAL ENFORCEMENT
326
+
327
+ ```
328
+ +-------------------------------------------------------------+
329
+ | YOU MUST INCLUDE ALL THREE TASK CALLS IN YOUR NEXT MESSAGE |
330
+ | |
331
+ | - Task 1: qe-metrics-optimizer |
332
+ | - Task 2: qe-defect-predictor |
333
+ | - Task 3: qe-root-cause-analyzer |
334
+ | |
335
+ | If your message contains fewer than 3 Task calls, you have |
336
+ | FAILED this phase. Start over. |
337
+ +-------------------------------------------------------------+
338
+ ```
339
+
340
+ ### Domain Context
341
+
342
+ | Agent | Domain | MCP Tool Mapping |
343
+ |-------|--------|------------------|
344
+ | qe-metrics-optimizer | learning-optimization | `quality_assess` |
345
+ | qe-defect-predictor | defect-intelligence | `defect_predict` |
346
+ | qe-root-cause-analyzer | defect-intelligence | `root_cause_analyze` |
347
+
348
+ ### Agent 1: DORA Metrics Optimizer
349
+
350
+ **This agent MUST compute DORA metrics and SLA/SLO compliance from production telemetry.**
351
+
352
+ ```
353
+ Task({
354
+ description: "DORA metrics computation and SLA compliance assessment",
355
+ prompt: `You are qe-metrics-optimizer. Your output quality is being audited.
356
+
357
+ ## MANDATORY FIRST STEPS (DO NOT SKIP)
358
+
359
+ 1. READ the production telemetry data provided below IN FULL.
360
+ 2. READ the SLA/SLO definitions if available.
361
+ 3. READ any previous CI/CD phase signals if available.
362
+
363
+ ## PRODUCTION DATA TO ANALYZE
364
+
365
+ === DORA METRICS DATA START ===
366
+ [PASTE THE COMPLETE DORA METRICS DATA HERE - DO NOT SUMMARIZE]
367
+ - Deployment frequency records
368
+ - Lead time for changes data
369
+ - Mean time to restore (MTTR) records
370
+ - Change failure rate data
371
+ === DORA METRICS DATA END ===
372
+
373
+ === SLA/SLO DEFINITIONS START ===
374
+ [PASTE SLA/SLO TARGET DEFINITIONS HERE - DO NOT SUMMARIZE]
375
+ === SLA/SLO DEFINITIONS END ===
376
+
377
+ === PRODUCTION TELEMETRY START ===
378
+ [PASTE PRODUCTION TELEMETRY DATA HERE - DO NOT SUMMARIZE]
379
+ - Uptime metrics
380
+ - Error rates
381
+ - Response time distributions
382
+ - Throughput data
383
+ === PRODUCTION TELEMETRY END ===
384
+
385
+ === CI/CD PHASE SIGNALS (if available) START ===
386
+ [PASTE any CI/CD phase RELEASE/REMEDIATE/BLOCK signals]
387
+ === CI/CD PHASE SIGNALS END ===
388
+
389
+ ## REQUIRED OUTPUT (ALL SECTIONS MANDATORY)
390
+
391
+ ### 1. DORA Dashboard
392
+
393
+ Compute all four DORA metrics with trends:
394
+
395
+ | DORA Metric | Current Value | Previous Period | Trend | Classification |
396
+ |-------------|---------------|-----------------|-------|----------------|
397
+ | Deployment Frequency | X/day or X/week | X/day or X/week | Improving/Declining/Stable | Elite/High/Medium/Low |
398
+ | Lead Time for Changes | X hours/days | X hours/days | Improving/Declining/Stable | Elite/High/Medium/Low |
399
+ | Mean Time to Restore (MTTR) | X hours | X hours | Improving/Declining/Stable | Elite/High/Medium/Low |
400
+ | Change Failure Rate | X% | X% | Improving/Declining/Stable | Elite/High/Medium/Low |
401
+
402
+ **DORA Classification Thresholds:**
403
+ | Metric | Elite | High | Medium | Low |
404
+ |--------|-------|------|--------|-----|
405
+ | Deployment Frequency | On-demand (multiple/day) | Weekly-Monthly | Monthly-Biannual | Biannual+ |
406
+ | Lead Time | < 1 hour | 1 day - 1 week | 1 week - 1 month | 1-6 months |
407
+ | MTTR | < 1 hour | < 1 day | < 1 week | 1 week+ |
408
+ | Change Failure Rate | 0-5% | 5-10% | 10-15% | 15%+ |
409
+
410
+ **OVERALL DORA CLASSIFICATION: [Elite/High/Medium/Low]**
411
+
412
+ ### 2. SLA Compliance Matrix
413
+
414
+ | SLA/SLO | Target | Actual | Compliance | Status | Burn Rate |
415
+ |---------|--------|--------|------------|--------|-----------|
416
+ | Availability | X% | X% | X% | PASS/WARN/FAIL | [error budget remaining] |
417
+ | Response Time (p50) | Xms | Xms | X% | PASS/WARN/FAIL | N/A |
418
+ | Response Time (p95) | Xms | Xms | X% | PASS/WARN/FAIL | N/A |
419
+ | Response Time (p99) | Xms | Xms | X% | PASS/WARN/FAIL | N/A |
420
+ | Error Rate | <= X% | X% | X% | PASS/WARN/FAIL | [error budget remaining] |
421
+ | Throughput | >= X req/s | X req/s | X% | PASS/WARN/FAIL | N/A |
422
+
423
+ **SLA COMPLIANCE: X% (count of passing SLAs / total SLAs)**
424
+
425
+ ### 3. Quality Metrics Optimization
426
+
427
+ | Quality Metric | Current | Target | Gap | Trend | Action |
428
+ |---------------|---------|--------|-----|-------|--------|
429
+ | Defect Escape Rate | X% | <= X% | +/-X% | Improving/Declining | [action] |
430
+ | Test Effectiveness | X% | >= X% | +/-X% | Improving/Declining | [action] |
431
+ | Automation Coverage | X% | >= X% | +/-X% | Improving/Declining | [action] |
432
+ | Mean Time to Detect | X hours | <= X hours | +/-X hours | Improving/Declining | [action] |
433
+ | Customer-Reported vs Internal | X:Y ratio | <= X:Y | +/-X | Improving/Declining | [action] |
434
+
435
+ ### 4. Composite DORA Score
436
+
437
+ Calculate normalized score (0-1):
438
+
439
+ | Metric | Raw Score | Weight | Weighted Score |
440
+ |--------|-----------|--------|----------------|
441
+ | Deployment Frequency | X/1.0 | 0.25 | X |
442
+ | Lead Time | X/1.0 | 0.25 | X |
443
+ | MTTR | X/1.0 | 0.25 | X |
444
+ | Change Failure Rate | X/1.0 | 0.25 | X |
445
+
446
+ **COMPOSITE DORA SCORE: X.XX (0-1 scale)**
447
+
448
+ Scoring guide:
449
+ - Elite: 0.85 - 1.0
450
+ - High: 0.7 - 0.84
451
+ - Medium: 0.4 - 0.69
452
+ - Low: 0.0 - 0.39
453
+
454
+ **MINIMUM: Compute all 4 DORA metrics with classifications and produce SLA compliance matrix.**
455
+
456
+ ## OUTPUT FORMAT
457
+
458
+ Save your complete analysis in Markdown to:
459
+ ${OUTPUT_FOLDER}/02-dora-metrics.md
460
+
461
+ Use the Write tool to save BEFORE completing.
462
+ Report MUST be complete - no placeholders.
463
+
464
+ ## VALIDATION BEFORE SUBMITTING
465
+
466
+ +-- Did I read all production telemetry and DORA data?
467
+ +-- Did I compute all 4 DORA metrics with trends?
468
+ +-- Did I classify each metric (Elite/High/Medium/Low)?
469
+ +-- Did I evaluate SLA/SLO compliance for all targets?
470
+ +-- Did I calculate the composite DORA score (0-1)?
471
+ +-- Did I assess quality metrics optimization opportunities?
472
+ +-- Did I save the report to the correct output path?`,
473
+ subagent_type: "qe-metrics-optimizer",
474
+ run_in_background: true
475
+ })
476
+ ```
477
+
478
+ ### Agent 2: Defect Predictor
479
+
480
+ **This agent MUST analyze defect trends and predict future defect density from production telemetry patterns.**
481
+
482
+ ```
483
+ Task({
484
+ description: "ML-powered defect prediction and trend analysis from production data",
485
+ prompt: `You are qe-defect-predictor. Your output quality is being audited.
486
+
487
+ ## PRODUCTION DATA TO ANALYZE
488
+
489
+ === DEFECT DATA START ===
490
+ [PASTE THE COMPLETE DEFECT/BUG REPORT DATA HERE - DO NOT SUMMARIZE]
491
+ - All defects discovered post-release
492
+ - Severity classifications
493
+ - Component/module mapping
494
+ - Discovery date and resolution status
495
+ === DEFECT DATA END ===
496
+
497
+ === PRODUCTION TELEMETRY START ===
498
+ [PASTE PRODUCTION ERROR LOGS, EXCEPTION DATA, MONITORING ALERTS]
499
+ === PRODUCTION TELEMETRY END ===
500
+
501
+ === HISTORICAL DEFECT DATA (if available) START ===
502
+ [PASTE historical defect data from previous releases]
503
+ === HISTORICAL DEFECT DATA END ===
504
+
505
+ ## REQUIRED OUTPUT (ALL SECTIONS MANDATORY)
506
+
507
+ ### 1. Defect Trend Analysis
508
+
509
+ | Period | Defects Found | Severity Distribution | Density (per KLOC) | Trend |
510
+ |--------|--------------|----------------------|---------------------|-------|
511
+ | Current Release | X | P0:X P1:X P2:X P3:X P4:X | X.XX | - |
512
+ | Previous Release | X | P0:X P1:X P2:X P3:X P4:X | X.XX | - |
513
+ | 3-Release Average | X | P0:X P1:X P2:X P3:X P4:X | X.XX | - |
514
+ | 6-Release Average | X | P0:X P1:X P2:X P3:X P4:X | X.XX | - |
515
+
516
+ **DEFECT TREND DIRECTION: [declining / stable / increasing]**
517
+
518
+ ### 2. Predicted Defect Density
519
+
520
+ | Prediction Horizon | Predicted Density | Confidence | Method |
521
+ |--------------------|-------------------|------------|--------|
522
+ | Next 7 days | X.XX per KLOC | High/Medium/Low | [regression/trend/pattern] |
523
+ | Next 30 days | X.XX per KLOC | High/Medium/Low | [regression/trend/pattern] |
524
+ | Next release cycle | X.XX per KLOC | High/Medium/Low | [regression/trend/pattern] |
525
+
526
+ **PREDICTED DEFECT DENSITY: X.XX per KLOC**
527
+
528
+ ### 3. Hotspot Identification
529
+
530
+ | Component/Module | Defect Count | Density | Risk Rank | Contributing Factors |
531
+ |-----------------|-------------|---------|-----------|---------------------|
532
+ | [module 1] | X | X.XX | 1 (Highest) | [complexity, churn, coupling, etc.] |
533
+ | [module 2] | X | X.XX | 2 | [factors] |
534
+ | [module 3] | X | X.XX | 3 | [factors] |
535
+ | [module 4] | X | X.XX | 4 | [factors] |
536
+ | [module 5] | X | X.XX | 5 | [factors] |
537
+
538
+ ### 4. Pattern Analysis
539
+
540
+ | Pattern | Occurrences | Modules Affected | Root Cause Category | Preventability |
541
+ |---------|-------------|-----------------|--------------------|--------------------|
542
+ | [pattern 1] | X | [modules] | [code/design/config/env] | High/Medium/Low |
543
+ | [pattern 2] | X | [modules] | [code/design/config/env] | High/Medium/Low |
544
+ | [pattern 3] | X | [modules] | [code/design/config/env] | High/Medium/Low |
545
+
546
+ ### 5. Escape Analysis
547
+
548
+ For each defect found in production, identify which QCSD phase SHOULD have caught it:
549
+
550
+ | Defect ID | Severity | Escaped From | Why Escaped | Prevention Strategy |
551
+ |-----------|----------|-------------|-------------|---------------------|
552
+ | DEF-001 | P0/P1/P2/P3/P4 | Ideation/Refinement/Development/Verification | [why not caught] | [what to change] |
553
+ | DEF-002 | P0/P1/P2/P3/P4 | Ideation/Refinement/Development/Verification | [why not caught] | [what to change] |
554
+
555
+ **Escape Summary:**
556
+ | Escaped From Phase | Count | Percentage | Key Gap |
557
+ |-------------------|-------|------------|---------|
558
+ | Ideation | X | X% | [missing risk assessment] |
559
+ | Refinement | X | X% | [missing test strategy] |
560
+ | Development | X | X% | [missing test coverage] |
561
+ | Verification | X | X% | [missing pipeline check] |
562
+
563
+ **MINIMUM: Analyze defect trends, calculate density, identify at least 5 hotspots, and perform escape analysis for all defects.**
564
+
565
+ ## OUTPUT FORMAT
566
+
567
+ Save your complete analysis in Markdown to:
568
+ ${OUTPUT_FOLDER}/03-defect-prediction.md
569
+
570
+ Use the Write tool to save BEFORE completing.
571
+ Report MUST be complete - no placeholders.
572
+
573
+ ## VALIDATION BEFORE SUBMITTING
574
+
575
+ +-- Did I analyze defect data across multiple release periods?
576
+ +-- Did I calculate trend direction (declining/stable/increasing)?
577
+ +-- Did I predict future defect density with confidence levels?
578
+ +-- Did I identify at least 5 defect hotspots?
579
+ +-- Did I perform escape analysis mapping defects to QCSD phases?
580
+ +-- Did I identify at least 3 defect patterns?
581
+ +-- Did I save the report to the correct output path?`,
582
+ subagent_type: "qe-defect-predictor",
583
+ run_in_background: true
584
+ })
585
+ ```
586
+
587
+ ### Agent 3: Root Cause Analyzer
588
+
589
+ **This agent MUST perform systematic RCA of all production incidents since release. Incident severity tracking is mandatory.**
590
+
591
+ ```
592
+ Task({
593
+ description: "Systematic root cause analysis of production incidents",
594
+ prompt: `You are qe-root-cause-analyzer. Your output quality is being audited.
595
+
596
+ ## PRODUCTION DATA TO ANALYZE
597
+
598
+ === INCIDENT REPORTS START ===
599
+ [PASTE THE COMPLETE INCIDENT REPORTS HERE - DO NOT SUMMARIZE]
600
+ - All P0-P4 incidents since release
601
+ - Incident timelines
602
+ - Resolution actions
603
+ - Post-mortems if available
604
+ === INCIDENT REPORTS END ===
605
+
606
+ === PRODUCTION LOGS START ===
607
+ [PASTE RELEVANT PRODUCTION LOGS AND ERROR DATA]
608
+ === PRODUCTION LOGS END ===
609
+
610
+ === MONITORING ALERTS START ===
611
+ [PASTE MONITORING ALERTS AND ALERT HISTORY]
612
+ === MONITORING ALERTS END ===
613
+
614
+ ## REQUIRED OUTPUT (ALL SECTIONS MANDATORY)
615
+
616
+ ### 1. Incident Inventory
617
+
618
+ Complete inventory of all incidents since release:
619
+
620
+ | Incident ID | Severity | Status | Summary | Duration | Impact | Detected By |
621
+ |-------------|----------|--------|---------|----------|--------|-------------|
622
+ | INC-001 | P0/P1/P2/P3/P4 | Open/Resolved/Mitigated | [summary] | X hours | [users/revenue/data] | [monitoring/user/support] |
623
+ | INC-002 | P0/P1/P2/P3/P4 | Open/Resolved/Mitigated | [summary] | X hours | [users/revenue/data] | [monitoring/user/support] |
624
+
625
+ **TOTAL INCIDENTS: X (P0: X, P1: X, P2: X, P3: X, P4: X)**
626
+ **MAXIMUM OPEN SEVERITY: [P0/P1/P2/P3/P4/NONE]**
627
+
628
+ ### 2. Root Cause Analysis (per incident)
629
+
630
+ For EACH incident, provide structured RCA:
631
+
632
+ #### INC-XXX: [Title]
633
+
634
+ | RCA Dimension | Finding |
635
+ |---------------|---------|
636
+ | **What happened** | [factual description of the incident] |
637
+ | **Timeline** | [detection -> diagnosis -> mitigation -> resolution] |
638
+ | **Root cause** | [the underlying technical cause] |
639
+ | **Contributing factors** | [what made the incident possible or worse] |
640
+ | **Why not detected earlier** | [gap in monitoring, testing, or review] |
641
+ | **5-Why Analysis** | 1. Why? -> 2. Why? -> 3. Why? -> 4. Why? -> 5. Why? -> Root |
642
+ | **Category** | [code-defect/config-error/infra-failure/capacity/dependency/human-error] |
643
+
644
+ ### 3. Resolution and Prevention Strategies
645
+
646
+ | Incident | Resolution Applied | Time to Resolve | Prevention Strategy | Owner | Status |
647
+ |----------|-------------------|----------------|--------------------|---------|----|
648
+ | INC-XXX | [what was done] | X hours | [what prevents recurrence] | [team] | Implemented/Planned/Backlogged |
649
+
650
+ ### 4. Time to Detect and Resolve
651
+
652
+ | Incident | Time to Detect (TTD) | Time to Diagnose | Time to Mitigate | Time to Resolve (TTR) | Total Duration |
653
+ |----------|---------------------|-----------------|------------------|----------------------|----------------|
654
+ | INC-XXX | X min/hours | X min/hours | X min/hours | X min/hours | X min/hours |
655
+
656
+ **Average TTD: X hours**
657
+ **Average TTR: X hours**
658
+
659
+ ### 5. Escape Phase Analysis
660
+
661
+ | Incident | Root Cause | Should Have Been Caught In | Why It Escaped | Gap Type |
662
+ |----------|-----------|---------------------------|----------------|----------|
663
+ | INC-XXX | [root cause] | Ideation/Refinement/Development/Verification | [reason] | Testing/Monitoring/Review/Design |
664
+
665
+ ### 6. RCA Completeness
666
+
667
+ | Metric | Value |
668
+ |--------|-------|
669
+ | Total incidents requiring RCA | X |
670
+ | RCAs completed | X |
671
+ | RCA completeness | X% |
672
+ | Incidents with prevention plans | X |
673
+ | Prevention implementation rate | X% |
674
+
675
+ **RCA COMPLETENESS: X%** (completedRcas / totalIncidents * 100)
676
+
677
+ **MINIMUM: Inventory ALL incidents, perform 5-Why RCA for each P0/P1, and calculate RCA completeness percentage.**
678
+
679
+ ## OUTPUT FORMAT
680
+
681
+ Save your complete analysis in Markdown to:
682
+ ${OUTPUT_FOLDER}/04-root-cause-analysis.md
683
+
684
+ Use the Write tool to save BEFORE completing.
685
+ Report MUST be complete - no placeholders.
686
+
687
+ ## VALIDATION BEFORE SUBMITTING
688
+
689
+ +-- Did I inventory ALL incidents (P0-P4) since the release?
690
+ +-- Did I record the maximum open severity?
691
+ +-- Did I perform 5-Why RCA for each P0/P1 incident?
692
+ +-- Did I document resolution and prevention for each incident?
693
+ +-- Did I calculate time to detect and resolve for each incident?
694
+ +-- Did I perform escape phase analysis?
695
+ +-- Did I calculate RCA completeness percentage?
696
+ +-- Did I save the report to the correct output path?`,
697
+ subagent_type: "qe-root-cause-analyzer",
698
+ run_in_background: true
699
+ })
700
+ ```
701
+
702
+ ### Post-Spawn Confirmation
703
+
704
+ After sending all three Task calls, you MUST tell the user:
705
+
706
+ ```
707
+ I've launched 3 core agents in parallel:
708
+
709
+ qe-metrics-optimizer [Domain: learning-optimization]
710
+ - Computing DORA metrics (deployment frequency, lead time, MTTR, CFR)
711
+ - Evaluating SLA/SLO compliance across all targets
712
+ - Calculating composite DORA score (0-1)
713
+
714
+ qe-defect-predictor [Domain: defect-intelligence]
715
+ - Analyzing defect trends and predicting future density
716
+ - Identifying defect hotspots across modules
717
+ - Performing escape analysis (which phase should have caught each defect)
718
+
719
+ qe-root-cause-analyzer [Domain: defect-intelligence]
720
+ - Inventorying all P0-P4 incidents since release
721
+ - Performing systematic 5-Why RCA for each incident
722
+ - Calculating RCA completeness percentage
723
+
724
+ WAITING for all agents to complete before proceeding...
725
+ ```
726
+
727
+ **DO NOT proceed to Phase 3 until you have sent this confirmation.**
728
+
729
+ ---
730
+
731
+ ## PHASE 3: Wait for Batch 1 Completion
732
+
733
+ ### ENFORCEMENT: NO EARLY PROCEEDING
734
+
735
+ ```
736
+ +-------------------------------------------------------------+
737
+ | YOU MUST WAIT FOR ALL THREE BACKGROUND TASKS TO COMPLETE |
738
+ | |
739
+ | DO NOT summarize what agents "would" find |
740
+ | DO NOT proceed to Phase 4 early |
741
+ | DO NOT provide your own analysis as substitute |
742
+ | |
743
+ | WAIT for actual agent results |
744
+ | ONLY proceed when all three have returned |
745
+ +-------------------------------------------------------------+
746
+ ```
747
+
748
+ ### Results Extraction Checklist
749
+
750
+ When results return, extract and record:
751
+
752
+ ```
753
+ From qe-metrics-optimizer:
754
+ [ ] doraScore = __.__ composite score (0-1)
755
+ [ ] doraClassification = Elite/High/Medium/Low
756
+ [ ] slaCompliance = __% compliance percentage
757
+ [ ] deploymentFrequency = __/day or __/week
758
+ [ ] leadTime = __ hours/days
759
+ [ ] mttr = __ hours
760
+ [ ] changeFailureRate = __%
761
+
762
+ From qe-defect-predictor:
763
+ [ ] defectTrend = declining/stable/increasing
764
+ [ ] defectDensity = __.__ per KLOC
765
+ [ ] hotspotCount = __ hotspots identified
766
+ [ ] escapeCount = __ defects escaped from earlier phases
767
+ [ ] predictedDensity = __.__ per KLOC (next period)
768
+
769
+ From qe-root-cause-analyzer:
770
+ [ ] incidentCount = __ total incidents
771
+ [ ] maxOpenSeverity = P0/P1/P2/P3/P4/NONE
772
+ [ ] rcaCompleteness = __% (completed RCAs / total incidents)
773
+ [ ] averageTTD = __ hours (time to detect)
774
+ [ ] averageTTR = __ hours (time to resolve)
775
+ [ ] openP0P1 = __ count of open P0/P1 incidents
776
+ ```
777
+
778
+ ### Metrics Summary Box
779
+
780
+ Output extracted metrics:
781
+
782
+ ```
783
+ +-------------------------------------------------------------+
784
+ | BATCH 1 RESULTS SUMMARY |
785
+ +-------------------------------------------------------------+
786
+ | |
787
+ | DORA Score: __.__ (Elite/High/Med/Low) |
788
+ | Deployment Frequency: __/day or __/week |
789
+ | Lead Time: __ hours/days |
790
+ | MTTR: __ hours |
791
+ | Change Failure Rate: __% |
792
+ | SLA Compliance: __% |
793
+ | |
794
+ | Defect Trend: declining/stable/increasing |
795
+ | Defect Density: __.__ per KLOC |
796
+ | Predicted Density: __.__ per KLOC |
797
+ | Hotspots: __ |
798
+ | Defects Escaped: __ |
799
+ | |
800
+ | Incidents (total): __ |
801
+ | Max Open Severity: P_/NONE |
802
+ | RCA Completeness: __% |
803
+ | Avg Time to Detect: __ hours |
804
+ | Avg Time to Resolve: __ hours |
805
+ | Open P0/P1: __ |
806
+ | |
807
+ +-------------------------------------------------------------+
808
+ ```
809
+
810
+ **DO NOT proceed to Phase 4 until ALL fields are filled.**
811
+
812
+ ---
813
+
814
+ ## PHASE 4: Spawn Conditional Agents (PARALLEL BATCH 2)
815
+
816
+ ### ENFORCEMENT: NO SKIPPING CONDITIONAL AGENTS
817
+
818
+ ```
819
+ +-------------------------------------------------------------+
820
+ | IF A FLAG IS TRUE, YOU MUST SPAWN THAT AGENT |
821
+ | |
822
+ | HAS_INFRASTRUCTURE_CHANGE = TRUE -> MUST spawn qe-chaos-engineer |
823
+ | HAS_PERFORMANCE_SLA = TRUE -> MUST spawn qe-performance-tester |
824
+ | HAS_REGRESSION_RISK = TRUE -> MUST spawn qe-regression-analyzer |
825
+ | HAS_RECURRING_INCIDENTS = TRUE -> MUST spawn qe-pattern-learner |
826
+ | HAS_MIDDLEWARE = TRUE -> MUST spawn qe-middleware-validator |
827
+ | HAS_SAP_INTEGRATION = TRUE -> MUST spawn qe-sap-rfc-tester |
828
+ | HAS_AUTHORIZATION = TRUE -> MUST spawn qe-sod-analyzer |
829
+ | |
830
+ | Skipping a flagged agent is a FAILURE of this skill. |
831
+ +-------------------------------------------------------------+
832
+ ```
833
+
834
+ ### Conditional Domain Mapping
835
+
836
+ | Flag | Agent | Domain | MCP Tool |
837
+ |------|-------|--------|----------|
838
+ | HAS_INFRASTRUCTURE_CHANGE | qe-chaos-engineer | chaos-resilience | `performance_benchmark` |
839
+ | HAS_PERFORMANCE_SLA | qe-performance-tester | chaos-resilience | `performance_benchmark` |
840
+ | HAS_REGRESSION_RISK | qe-regression-analyzer | defect-intelligence | `defect_predict` |
841
+ | HAS_RECURRING_INCIDENTS | qe-pattern-learner | defect-intelligence | `root_cause_analyze` |
842
+ | HAS_MIDDLEWARE | qe-middleware-validator | enterprise-integration | `task_orchestrate` |
843
+ | HAS_SAP_INTEGRATION | qe-sap-rfc-tester | enterprise-integration | `task_orchestrate` |
844
+ | HAS_AUTHORIZATION | qe-sod-analyzer | enterprise-integration | `task_orchestrate` |
845
+
846
+ ### Decision Tree
847
+
848
+ ```
849
+ IF HAS_INFRASTRUCTURE_CHANGE == FALSE AND HAS_PERFORMANCE_SLA == FALSE AND HAS_REGRESSION_RISK == FALSE AND HAS_RECURRING_INCIDENTS == FALSE AND HAS_MIDDLEWARE == FALSE AND HAS_SAP_INTEGRATION == FALSE AND HAS_AUTHORIZATION == FALSE:
850
+ -> Skip to Phase 5 (no conditional agents needed)
851
+ -> State: "No conditional agents needed based on production context"
852
+
853
+ ELSE:
854
+ -> Spawn ALL applicable agents in ONE message
855
+ -> Count how many you're spawning: __
856
+ ```
857
+
858
+ ### IF HAS_INFRASTRUCTURE_CHANGE: Chaos Engineer (MANDATORY WHEN FLAGGED)
859
+
860
+ ```
861
+ Task({
862
+ description: "Post-release chaos resilience assessment for infrastructure changes",
863
+ prompt: `You are qe-chaos-engineer. Your output quality is being audited.
864
+
865
+ ## PURPOSE
866
+
867
+ Assess the resilience of production systems after recent infrastructure changes.
868
+ Analyze system behavior under failure conditions, validate auto-recovery mechanisms,
869
+ and identify infrastructure-related risk factors introduced by the release.
870
+
871
+ ## PRODUCTION DATA TO ANALYZE
872
+
873
+ === INFRASTRUCTURE CHANGE LOG START ===
874
+ [PASTE infrastructure changes since last release - K8s configs, cloud resources,
875
+ deployment topology, scaling policies, network rules, load balancer updates,
876
+ DNS changes, certificate rotations, CDN changes]
877
+ === INFRASTRUCTURE CHANGE LOG END ===
878
+
879
+ === PRODUCTION HEALTH METRICS START ===
880
+ [PASTE production health metrics - uptime, error rates, pod restarts,
881
+ resource utilization, auto-scaling events, failover events]
882
+ === PRODUCTION HEALTH METRICS END ===
883
+
884
+ === INCIDENT DATA (infra-related) START ===
885
+ [PASTE any infrastructure-related incidents since release]
886
+ === INCIDENT DATA END ===
887
+
888
+ ## REQUIRED ANALYSIS (ALL SECTIONS MANDATORY)
889
+
890
+ ### 1. Infrastructure Change Impact Assessment
891
+
892
+ | Change | Type | Risk Level | Production Impact | Rollback Ready |
893
+ |--------|------|-----------|-------------------|----------------|
894
+ | [change 1] | K8s/Cloud/Network/DNS/CDN | Critical/High/Medium/Low | [observed impact] | Yes/No |
895
+ | [change 2] | K8s/Cloud/Network/DNS/CDN | Critical/High/Medium/Low | [observed impact] | Yes/No |
896
+
897
+ ### 2. Resilience Test Results
898
+
899
+ | Scenario | Target | Outcome | Recovery Time | Auto-Recovered | Status |
900
+ |----------|--------|---------|---------------|----------------|--------|
901
+ | Pod failure | [service] | Pass/Fail | X seconds | Yes/No | PASS/FAIL |
902
+ | Node drain | [node pool] | Pass/Fail | X seconds | Yes/No | PASS/FAIL |
903
+ | Dependency timeout | [dependency] | Pass/Fail | X seconds | Yes/No | PASS/FAIL |
904
+ | Traffic spike (2x) | [service] | Pass/Fail | X seconds | Yes/No | PASS/FAIL |
905
+ | Zone failure | [zone] | Pass/Fail/N-A | X seconds | Yes/No | PASS/FAIL/N-A |
906
+ | Network partition | [segment] | Pass/Fail/N-A | X seconds | Yes/No | PASS/FAIL/N-A |
907
+
908
+ ### 3. Auto-Recovery Assessment
909
+
910
+ | Recovery Mechanism | Configured | Tested | Recovery Time | Status |
911
+ |-------------------|------------|--------|---------------|--------|
912
+ | Health check probes | Yes/No | Yes/No | X seconds | PASS/FAIL |
913
+ | Auto-scaling | Yes/No | Yes/No | X seconds | PASS/FAIL |
914
+ | Circuit breakers | Yes/No | Yes/No | X seconds | PASS/FAIL |
915
+ | Retry policies | Yes/No | Yes/No | X seconds | PASS/FAIL |
916
+ | Failover routing | Yes/No | Yes/No | X seconds | PASS/FAIL |
917
+
918
+ ### 4. Resource Utilization Post-Change
919
+
920
+ | Resource | Before Change | After Change | Delta | Risk |
921
+ |----------|--------------|-------------|-------|------|
922
+ | CPU utilization | X% | X% | +/-X% | High/Medium/Low |
923
+ | Memory utilization | X% | X% | +/-X% | High/Medium/Low |
924
+ | Network throughput | X MB/s | X MB/s | +/-X% | High/Medium/Low |
925
+ | Disk I/O | X MB/s | X MB/s | +/-X% | High/Medium/Low |
926
+ | Pod restart count | X | X | +/-X | High/Medium/Low |
927
+
928
+ ### 5. Resilience Score
929
+
930
+ | Dimension | Score (0-25) | Notes |
931
+ |-----------|-------------|-------|
932
+ | Failure recovery | X/25 | ... |
933
+ | Auto-scaling effectiveness | X/25 | ... |
934
+ | Redundancy coverage | X/25 | ... |
935
+ | Observability depth | X/25 | ... |
936
+
937
+ **CHAOS RESILIENCE SCORE: X/100 (0-100 scale)**
938
+
939
+ **MINIMUM: Assess all infrastructure changes, test at least 4 resilience scenarios, and evaluate auto-recovery mechanisms.**
940
+
941
+ ## OUTPUT FORMAT
942
+
943
+ Save to: ${OUTPUT_FOLDER}/05-chaos-resilience.md
944
+ Use the Write tool to save BEFORE completing.
945
+
946
+ ## VALIDATION BEFORE SUBMITTING
947
+
948
+ +-- Did I inventory all infrastructure changes since release?
949
+ +-- Did I test at least 4 resilience scenarios?
950
+ +-- Did I evaluate all auto-recovery mechanisms?
951
+ +-- Did I assess resource utilization deltas?
952
+ +-- Did I calculate the resilience score?
953
+ +-- Did I save the report to the correct output path?`,
954
+ subagent_type: "qe-chaos-engineer",
955
+ run_in_background: true
956
+ })
957
+ ```
958
+
959
+ ### IF HAS_PERFORMANCE_SLA: Performance Tester (MANDATORY WHEN FLAGGED)
960
+
961
+ ```
962
+ Task({
963
+ description: "Production SLA/SLO compliance and performance assessment",
964
+ prompt: `You are qe-performance-tester. Your output quality is being audited.
965
+
966
+ ## PURPOSE
967
+
968
+ Validate production performance against SLA/SLO targets. Analyze response time
969
+ distributions, throughput metrics, error budgets, and latency percentiles to
970
+ determine if the release meets performance contracts.
971
+
972
+ ## PRODUCTION DATA TO ANALYZE
973
+
974
+ === SLA/SLO DEFINITIONS START ===
975
+ [PASTE SLA/SLO target definitions - availability, latency, throughput, error rate targets]
976
+ === SLA/SLO DEFINITIONS END ===
977
+
978
+ === PRODUCTION PERFORMANCE DATA START ===
979
+ [PASTE production performance metrics - response times, throughput, error rates,
980
+ latency percentiles (p50, p95, p99), resource utilization]
981
+ === PRODUCTION PERFORMANCE DATA END ===
982
+
983
+ === BASELINE METRICS (pre-release) START ===
984
+ [PASTE performance baselines from before this release]
985
+ === BASELINE METRICS END ===
986
+
987
+ ## REQUIRED ANALYSIS (ALL SECTIONS MANDATORY)
988
+
989
+ ### 1. SLA/SLO Compliance Assessment
990
+
991
+ | SLA/SLO | Target | Actual | Compliance % | Error Budget Remaining | Status |
992
+ |---------|--------|--------|-------------|----------------------|--------|
993
+ | Availability | X% | X% | X% | X% / X hours | PASS/WARN/FAIL |
994
+ | Response Time (p50) | <= Xms | Xms | X% | N/A | PASS/WARN/FAIL |
995
+ | Response Time (p95) | <= Xms | Xms | X% | N/A | PASS/WARN/FAIL |
996
+ | Response Time (p99) | <= Xms | Xms | X% | N/A | PASS/WARN/FAIL |
997
+ | Error Rate | <= X% | X% | X% | X% remaining | PASS/WARN/FAIL |
998
+ | Throughput | >= X req/s | X req/s | X% | N/A | PASS/WARN/FAIL |
999
+
1000
+ ### 2. Performance Regression Detection
1001
+
1002
+ | Endpoint/Service | Pre-Release | Post-Release | Delta | Regression? | Severity |
1003
+ |-----------------|------------|-------------|-------|-------------|----------|
1004
+ | [endpoint 1] | Xms | Xms | +/-X% | Yes/No | Critical/High/Medium |
1005
+ | [endpoint 2] | Xms | Xms | +/-X% | Yes/No | Critical/High/Medium |
1006
+
1007
+ ### 3. Error Budget Analysis
1008
+
1009
+ | SLO | Monthly Budget | Consumed | Remaining | Burn Rate | Projected Exhaustion |
1010
+ |-----|---------------|----------|-----------|-----------|---------------------|
1011
+ | Availability | X min downtime | X min | X min | X% per day | [date or "Safe"] |
1012
+ | Error Rate | X% allowance | X% used | X% | X% per day | [date or "Safe"] |
1013
+
1014
+ ### 4. Latency Distribution Analysis
1015
+
1016
+ | Percentile | Target | Actual | Status | Trend vs Previous |
1017
+ |-----------|--------|--------|--------|-------------------|
1018
+ | p50 | Xms | Xms | PASS/FAIL | Improving/Declining/Stable |
1019
+ | p75 | Xms | Xms | PASS/FAIL | Improving/Declining/Stable |
1020
+ | p90 | Xms | Xms | PASS/FAIL | Improving/Declining/Stable |
1021
+ | p95 | Xms | Xms | PASS/FAIL | Improving/Declining/Stable |
1022
+ | p99 | Xms | Xms | PASS/FAIL | Improving/Declining/Stable |
1023
+ | p99.9 | Xms | Xms | PASS/FAIL | Improving/Declining/Stable |
1024
+
1025
+ ### 5. Performance Score
1026
+
1027
+ | Dimension | Score (0-25) | Notes |
1028
+ |-----------|-------------|-------|
1029
+ | SLA compliance | X/25 | ... |
1030
+ | Latency health | X/25 | ... |
1031
+ | Error budget safety | X/25 | ... |
1032
+ | Throughput stability | X/25 | ... |
1033
+
1034
+ **PERFORMANCE SLA SCORE: X/100 (0-100 scale)**
1035
+
1036
+ **MINIMUM: Evaluate all SLA/SLO targets, detect any performance regressions, and analyze error budget burn rate.**
1037
+
1038
+ ## OUTPUT FORMAT
1039
+
1040
+ Save to: ${OUTPUT_FOLDER}/06-performance-sla.md
1041
+ Use the Write tool to save BEFORE completing.
1042
+
1043
+ ## VALIDATION BEFORE SUBMITTING
1044
+
1045
+ +-- Did I evaluate all SLA/SLO targets?
1046
+ +-- Did I detect performance regressions vs pre-release baseline?
1047
+ +-- Did I analyze error budget burn rate?
1048
+ +-- Did I assess latency distribution across percentiles?
1049
+ +-- Did I calculate the performance score?
1050
+ +-- Did I save the report to the correct output path?`,
1051
+ subagent_type: "qe-performance-tester",
1052
+ run_in_background: true
1053
+ })
1054
+ ```
1055
+
1056
+ ### IF HAS_REGRESSION_RISK: Regression Analyzer (MANDATORY WHEN FLAGGED)
1057
+
1058
+ ```
1059
+ Task({
1060
+ description: "Production regression analysis from user-reported issues and monitoring data",
1061
+ prompt: `You are qe-regression-analyzer. Your output quality is being audited.
1062
+
1063
+ ## PURPOSE
1064
+
1065
+ Analyze production regressions discovered after release. Assess user-reported issues,
1066
+ error rate increases, degraded functionality, and monitoring alerts that indicate
1067
+ regression behavior introduced by the release.
1068
+
1069
+ ## PRODUCTION DATA TO ANALYZE
1070
+
1071
+ === USER-REPORTED ISSUES START ===
1072
+ [PASTE user-reported bugs, support tickets, customer complaints since release]
1073
+ === USER-REPORTED ISSUES END ===
1074
+
1075
+ === MONITORING ALERTS START ===
1076
+ [PASTE monitoring alerts, anomaly detection events, error rate spikes]
1077
+ === MONITORING ALERTS END ===
1078
+
1079
+ === ERROR RATE DATA START ===
1080
+ [PASTE error rate data showing pre-release vs post-release comparison]
1081
+ === ERROR RATE DATA END ===
1082
+
1083
+ === FEATURE FLAG STATUS START ===
1084
+ [PASTE feature flag states, A/B test anomalies, rollback events]
1085
+ === FEATURE FLAG STATUS END ===
1086
+
1087
+ ## REQUIRED ANALYSIS (ALL SECTIONS MANDATORY)
1088
+
1089
+ ### 1. Regression Inventory
1090
+
1091
+ | Regression ID | Source | Description | Severity | Users Affected | Status |
1092
+ |--------------|--------|-------------|----------|----------------|--------|
1093
+ | REG-001 | User-report/Monitoring/Support | [description] | Critical/High/Medium/Low | [count/percentage] | Open/Mitigated/Resolved |
1094
+ | REG-002 | User-report/Monitoring/Support | [description] | Critical/High/Medium/Low | [count/percentage] | Open/Mitigated/Resolved |
1095
+
1096
+ **REGRESSION COUNT: X**
1097
+ **CRITICAL REGRESSIONS: X**
1098
+
1099
+ ### 2. Error Rate Analysis
1100
+
1101
+ | Error Category | Pre-Release Rate | Post-Release Rate | Delta | Trend | Status |
1102
+ |---------------|-----------------|-------------------|-------|-------|--------|
1103
+ | HTTP 5xx | X% | X% | +/-X% | Rising/Falling/Stable | OK/WARN/CRITICAL |
1104
+ | HTTP 4xx (client) | X% | X% | +/-X% | Rising/Falling/Stable | OK/WARN/CRITICAL |
1105
+ | Application exceptions | X/hour | X/hour | +/-X% | Rising/Falling/Stable | OK/WARN/CRITICAL |
1106
+ | Timeout errors | X/hour | X/hour | +/-X% | Rising/Falling/Stable | OK/WARN/CRITICAL |
1107
+
1108
+ ### 3. Regression Root Cause Mapping
1109
+
1110
+ | Regression | Changed Component | Change Type | Root Cause | Prevention |
1111
+ |-----------|------------------|-------------|-----------|------------|
1112
+ | REG-001 | [module/file] | Code/Config/Infra | [root cause] | [what to add] |
1113
+
1114
+ ### 4. User Impact Assessment
1115
+
1116
+ | Impact Dimension | Measurement | Severity |
1117
+ |-----------------|-------------|----------|
1118
+ | Users directly affected | X (X% of total) | High/Medium/Low |
1119
+ | Revenue impact | $X or N/A | High/Medium/Low |
1120
+ | Workflows broken | [list] | High/Medium/Low |
1121
+ | Workaround available | Yes/No | - |
1122
+ | Support ticket volume | X tickets (X% increase) | High/Medium/Low |
1123
+
1124
+ ### 5. Regression Risk Score
1125
+
1126
+ | Dimension | Score (0-25) | Notes |
1127
+ |-----------|-------------|-------|
1128
+ | Regression count and severity | X/25 | ... |
1129
+ | User impact breadth | X/25 | ... |
1130
+ | Error rate delta | X/25 | ... |
1131
+ | Resolution progress | X/25 | ... |
1132
+
1133
+ **REGRESSION ANALYSIS SCORE: X/100 (0-100 scale, higher = lower risk, healthier)**
1134
+
1135
+ **MINIMUM: Inventory all regressions, analyze error rate deltas, and assess user impact.**
1136
+
1137
+ ## OUTPUT FORMAT
1138
+
1139
+ Save to: ${OUTPUT_FOLDER}/07-regression-analysis.md
1140
+ Use the Write tool to save BEFORE completing.
1141
+
1142
+ ## VALIDATION BEFORE SUBMITTING
1143
+
1144
+ +-- Did I inventory all discovered regressions?
1145
+ +-- Did I analyze error rate changes pre vs post-release?
1146
+ +-- Did I map regressions to root causes?
1147
+ +-- Did I assess user impact?
1148
+ +-- Did I calculate the regression count?
1149
+ +-- Did I save the report to the correct output path?`,
1150
+ subagent_type: "qe-regression-analyzer",
1151
+ run_in_background: true
1152
+ })
1153
+ ```
1154
+
1155
+ ### IF HAS_RECURRING_INCIDENTS: Pattern Learner (MANDATORY WHEN FLAGGED)
1156
+
1157
+ ```
1158
+ Task({
1159
+ description: "Recurring incident pattern detection and learning",
1160
+ prompt: `You are qe-pattern-learner. Your output quality is being audited.
1161
+
1162
+ ## PURPOSE
1163
+
1164
+ Detect recurring incident patterns in production. Identify chronic failures,
1165
+ flapping services, repeat offender modules, and same-root-cause incidents
1166
+ that indicate systemic issues requiring structural fixes rather than point patches.
1167
+
1168
+ ## PRODUCTION DATA TO ANALYZE
1169
+
1170
+ === CURRENT INCIDENT DATA START ===
1171
+ [PASTE current incidents since release]
1172
+ === CURRENT INCIDENT DATA END ===
1173
+
1174
+ === HISTORICAL INCIDENT DATA START ===
1175
+ [PASTE historical incidents from previous releases showing recurring patterns]
1176
+ === HISTORICAL INCIDENT DATA END ===
1177
+
1178
+ === ALERT HISTORY START ===
1179
+ [PASTE alerting history showing chronic alerts, flapping services, recurring pages]
1180
+ === ALERT HISTORY END ===
1181
+
1182
+ ## REQUIRED ANALYSIS (ALL SECTIONS MANDATORY)
1183
+
1184
+ ### 1. Recurring Pattern Identification
1185
+
1186
+ | Pattern ID | Description | Occurrences (this release) | Occurrences (historical) | Frequency | Severity |
1187
+ |-----------|-------------|--------------------------|--------------------------|-----------|----------|
1188
+ | PAT-001 | [pattern description] | X | X (across Y releases) | Daily/Weekly/Per-release | Critical/High/Medium |
1189
+ | PAT-002 | [pattern description] | X | X (across Y releases) | Daily/Weekly/Per-release | Critical/High/Medium |
1190
+
1191
+ ### 2. Flapping Service Analysis
1192
+
1193
+ | Service | Flap Count | Average Duration | Root Cause | Auto-Recovered | Fix Status |
1194
+ |---------|-----------|-----------------|------------|----------------|------------|
1195
+ | [service 1] | X events | X min | [cause] | Yes/No | Fixed/Open/Deferred |
1196
+ | [service 2] | X events | X min | [cause] | Yes/No | Fixed/Open/Deferred |
1197
+
1198
+ ### 3. Repeat Offender Modules
1199
+
1200
+ | Module | Incident Count (12 months) | Common Root Cause | Structural Fix Needed | Priority |
1201
+ |--------|---------------------------|--------------------|-----------------------|----------|
1202
+ | [module 1] | X | [cause category] | [yes: what fix / no] | P0/P1/P2 |
1203
+ | [module 2] | X | [cause category] | [yes: what fix / no] | P0/P1/P2 |
1204
+
1205
+ ### 4. Same-Root-Cause Clustering
1206
+
1207
+ | Cluster | Root Cause | Incidents In Cluster | First Seen | Still Occurring | Structural Fix |
1208
+ |---------|-----------|---------------------|------------|----------------|----------------|
1209
+ | C-001 | [shared root cause] | INC-X, INC-Y, INC-Z | [date] | Yes/No | [fix description] |
1210
+
1211
+ ### 5. Pattern Learning Recommendations
1212
+
1213
+ | Priority | Pattern | Recommendation | Expected Impact | Effort |
1214
+ |----------|---------|---------------|----------------|--------|
1215
+ | P0 | [pattern] | [structural fix] | [reduced incidents by X%] | [effort] |
1216
+ | P1 | [pattern] | [improvement] | [reduced incidents by X%] | [effort] |
1217
+
1218
+ **RECURRING PATTERNS TOTAL: X**
1219
+ **STRUCTURAL FIXES NEEDED: X**
1220
+
1221
+ **MINIMUM: Identify all recurring patterns, analyze flapping services, and cluster same-root-cause incidents.**
1222
+
1223
+ ## OUTPUT FORMAT
1224
+
1225
+ Save to: ${OUTPUT_FOLDER}/08-pattern-analysis.md
1226
+ Use the Write tool to save BEFORE completing.
1227
+
1228
+ ## VALIDATION BEFORE SUBMITTING
1229
+
1230
+ +-- Did I identify all recurring incident patterns?
1231
+ +-- Did I analyze flapping services?
1232
+ +-- Did I identify repeat offender modules?
1233
+ +-- Did I cluster same-root-cause incidents?
1234
+ +-- Did I provide structural fix recommendations?
1235
+ +-- Did I save the report to the correct output path?`,
1236
+ subagent_type: "qe-pattern-learner",
1237
+ run_in_background: true
1238
+ })
1239
+ ```
1240
+
1241
+ ### IF HAS_MIDDLEWARE: Middleware Validator (MANDATORY WHEN FLAGGED)
1242
+
1243
+ ```
1244
+ Task({
1245
+ description: "Production middleware and message broker health assessment",
1246
+ prompt: `You are qe-middleware-validator. Your output quality is being audited.
1247
+
1248
+ ## PURPOSE
1249
+
1250
+ Validate middleware and message broker health in the production environment.
1251
+ Analyze message flow reliability, broker performance, queue health, consumer
1252
+ lag, and integration point stability for all middleware components.
1253
+
1254
+ ## PRODUCTION DATA TO ANALYZE
1255
+
1256
+ === MIDDLEWARE HEALTH METRICS START ===
1257
+ [PASTE middleware health data - broker metrics, queue depths, consumer lag,
1258
+ message throughput, dead letter queue counts, connection pool status]
1259
+ === MIDDLEWARE HEALTH METRICS END ===
1260
+
1261
+ === MESSAGE FLOW DATA START ===
1262
+ [PASTE message flow data - delivery rates, processing times, error rates,
1263
+ retry counts, message loss data]
1264
+ === MESSAGE FLOW DATA END ===
1265
+
1266
+ === MIDDLEWARE INCIDENT DATA START ===
1267
+ [PASTE any middleware-related incidents or alerts since release]
1268
+ === MIDDLEWARE INCIDENT DATA END ===
1269
+
1270
+ ## REQUIRED ANALYSIS (ALL SECTIONS MANDATORY)
1271
+
1272
+ ### 1. Middleware Component Inventory
1273
+
1274
+ | Component | Type | Protocol | Production Status | Message Rate | Error Rate |
1275
+ |-----------|------|----------|-------------------|-------------|------------|
1276
+ | [name] | Queue/Topic/Exchange/Gateway | AMQP/Kafka/JMS/HTTP | Healthy/Degraded/Failed | [msg/s] | [%] |
1277
+
1278
+ ### 2. Message Flow Health
1279
+
1280
+ | Flow | Producer | Consumer | Delivery Rate | Avg Latency | Error Rate | DLQ Count | Status |
1281
+ |------|----------|----------|---------------|-------------|------------|-----------|--------|
1282
+ | [name] | [source] | [target] | X% | Xms | X% | X | PASS/WARN/FAIL |
1283
+
1284
+ ### 3. Broker Health Assessment
1285
+
1286
+ | Metric | Current | Threshold | Status | Trend |
1287
+ |--------|---------|-----------|--------|-------|
1288
+ | Queue depth | [value] | [max] | PASS/WARN/FAIL | Rising/Falling/Stable |
1289
+ | Consumer lag | [value] | [max] | PASS/WARN/FAIL | Rising/Falling/Stable |
1290
+ | Dead letter count | [value] | 0 | PASS/WARN/FAIL | Rising/Falling/Stable |
1291
+ | Connection pool | [used/max] | [max] | PASS/WARN/FAIL | Rising/Falling/Stable |
1292
+ | Memory usage | [value] | [max] | PASS/WARN/FAIL | Rising/Falling/Stable |
1293
+ | Replication lag | [value] | [max] | PASS/WARN/FAIL | Rising/Falling/Stable |
1294
+
1295
+ ### 4. Message Loss and Reliability
1296
+
1297
+ | Flow | Messages Sent | Messages Received | Loss Rate | Duplicates | Ordering Preserved |
1298
+ |------|-------------|------------------|-----------|-----------|-------------------|
1299
+ | [flow] | X | X | X% | X | Yes/No |
1300
+
1301
+ ### 5. Recommendations
1302
+
1303
+ | Priority | Action | Impact | Effort |
1304
+ |----------|--------|--------|--------|
1305
+ | P0 | [critical middleware issues in production] | [what risk] | [effort] |
1306
+ | P1 | [important improvements] | [what risk] | [effort] |
1307
+
1308
+ **MIDDLEWARE HEALTH SCORE: X/100 (0-100 scale)**
1309
+
1310
+ ## OUTPUT FORMAT
1311
+
1312
+ Save to: ${OUTPUT_FOLDER}/10-middleware-health.md
1313
+ Use the Write tool to save BEFORE completing.
1314
+
1315
+ ## VALIDATION BEFORE SUBMITTING
1316
+
1317
+ +-- Did I inventory all middleware components?
1318
+ +-- Did I assess message flow health for all flows?
1319
+ +-- Did I evaluate broker health metrics?
1320
+ +-- Did I analyze message loss and reliability?
1321
+ +-- Did I calculate the middleware health score?
1322
+ +-- Did I save the report to the correct output path?`,
1323
+ subagent_type: "qe-middleware-validator",
1324
+ run_in_background: true
1325
+ })
1326
+ ```
1327
+
1328
+ ### IF HAS_SAP_INTEGRATION: SAP RFC Tester (MANDATORY WHEN FLAGGED)
1329
+
1330
+ ```
1331
+ Task({
1332
+ description: "Production SAP RFC/BAPI health and integration assessment",
1333
+ prompt: `You are qe-sap-rfc-tester. Your output quality is being audited.
1334
+
1335
+ ## PURPOSE
1336
+
1337
+ Validate SAP RFC/BAPI integration health in the production environment.
1338
+ Analyze RFC call success rates, BAPI response times, data integrity across
1339
+ SAP boundaries, and integration point stability for all SAP connectors.
1340
+
1341
+ ## PRODUCTION DATA TO ANALYZE
1342
+
1343
+ === SAP INTEGRATION HEALTH START ===
1344
+ [PASTE SAP integration metrics - RFC call logs, BAPI response data,
1345
+ connector health, IDoc processing status, OData service metrics]
1346
+ === SAP INTEGRATION HEALTH END ===
1347
+
1348
+ === SAP ERROR LOGS START ===
1349
+ [PASTE SAP-related errors - RFC failures, BAPI exceptions, timeout events,
1350
+ data mapping errors, authorization failures]
1351
+ === SAP ERROR LOGS END ===
1352
+
1353
+ === SAP INCIDENT DATA START ===
1354
+ [PASTE any SAP-related incidents since release]
1355
+ === SAP INCIDENT DATA END ===
1356
+
1357
+ ## REQUIRED ANALYSIS (ALL SECTIONS MANDATORY)
1358
+
1359
+ ### 1. SAP Service Inventory
1360
+
1361
+ | Service | Type | Endpoint | Status | Success Rate | Avg Response Time |
1362
+ |---------|------|----------|--------|-------------|-------------------|
1363
+ | [name] | RFC/BAPI/IDoc/OData | [endpoint] | Healthy/Degraded/Failed | X% | Xms |
1364
+
1365
+ ### 2. RFC/BAPI Health Assessment
1366
+
1367
+ | RFC/BAPI | Call Volume | Success Rate | Avg Response | Error Types | Status |
1368
+ |----------|------------|-------------|-------------|-------------|--------|
1369
+ | [function] | X calls/day | X% | Xms | [timeout/auth/data/system] | PASS/WARN/FAIL |
1370
+
1371
+ ### 3. Data Integrity Across SAP Boundaries
1372
+
1373
+ | Data Flow | Source | Target | Records Synced | Integrity Check | Discrepancies | Status |
1374
+ |-----------|--------|--------|---------------|-----------------|---------------|--------|
1375
+ | [flow] | [source] | [target] | X | Checksum/Count/Field | X | PASS/WARN/FAIL |
1376
+
1377
+ ### 4. SAP Connector Performance
1378
+
1379
+ | Connector | Pool Size | Active | Idle | Timeout Rate | Reconnect Count | Status |
1380
+ |-----------|-----------|--------|------|-------------|----------------|--------|
1381
+ | [connector] | X | X | X | X% | X | PASS/WARN/FAIL |
1382
+
1383
+ ### 5. Recommendations
1384
+
1385
+ | Priority | Action | Impact | Effort |
1386
+ |----------|--------|--------|--------|
1387
+ | P0 | [critical SAP production issues] | [what risk] | [effort] |
1388
+ | P1 | [important improvements] | [what risk] | [effort] |
1389
+
1390
+ **SAP HEALTH SCORE: X/100 (0-100 scale)**
1391
+
1392
+ ## OUTPUT FORMAT
1393
+
1394
+ Save to: ${OUTPUT_FOLDER}/11-sap-health.md
1395
+ Use the Write tool to save BEFORE completing.
1396
+
1397
+ ## VALIDATION BEFORE SUBMITTING
1398
+
1399
+ +-- Did I inventory all SAP services?
1400
+ +-- Did I assess RFC/BAPI health with success rates?
1401
+ +-- Did I validate data integrity across boundaries?
1402
+ +-- Did I evaluate connector performance?
1403
+ +-- Did I calculate the SAP health score?
1404
+ +-- Did I save the report to the correct output path?`,
1405
+ subagent_type: "qe-sap-rfc-tester",
1406
+ run_in_background: true
1407
+ })
1408
+ ```
1409
+
1410
+ ### IF HAS_AUTHORIZATION: SoD Analyzer (MANDATORY WHEN FLAGGED)
1411
+
1412
+ ```
1413
+ Task({
1414
+ description: "Production segregation of duties and authorization compliance assessment",
1415
+ prompt: `You are qe-sod-analyzer. Your output quality is being audited.
1416
+
1417
+ ## PURPOSE
1418
+
1419
+ Validate segregation of duties and authorization controls in the production
1420
+ environment. Analyze live role assignments, permission matrices, SoD policy
1421
+ compliance, and access control effectiveness for all production users.
1422
+
1423
+ ## PRODUCTION DATA TO ANALYZE
1424
+
1425
+ === AUTHORIZATION AUDIT DATA START ===
1426
+ [PASTE production authorization data - role assignments, permission matrices,
1427
+ SoD policy compliance results, access logs, privilege usage data]
1428
+ === AUTHORIZATION AUDIT DATA END ===
1429
+
1430
+ === ACCESS CONTROL INCIDENTS START ===
1431
+ [PASTE any authorization-related incidents - unauthorized access attempts,
1432
+ privilege escalation events, SoD violations, role conflict detections]
1433
+ === ACCESS CONTROL INCIDENTS END ===
1434
+
1435
+ === RBAC POLICY CHANGES START ===
1436
+ [PASTE any role/permission changes deployed with this release]
1437
+ === RBAC POLICY CHANGES END ===
1438
+
1439
+ ## REQUIRED ANALYSIS (ALL SECTIONS MANDATORY)
1440
+
1441
+ ### 1. Authorization Compliance Status
1442
+
1443
+ | Policy | Status | Violations Found | New Since Release | Remediated | Residual Risk |
1444
+ |--------|--------|------------------|-------------------|------------|---------------|
1445
+ | [SoD policy 1] | Compliant/Non-compliant | [count] | [count] | [count] | High/Medium/Low |
1446
+ | [SoD policy 2] | Compliant/Non-compliant | [count] | [count] | [count] | High/Medium/Low |
1447
+
1448
+ ### 2. SoD Violation Inventory
1449
+
1450
+ | Violation ID | User/Role | Conflicting Permissions | Risk Level | Detection Method | Status |
1451
+ |-------------|-----------|------------------------|-----------|-----------------|--------|
1452
+ | SOD-001 | [user/role] | [perm A] vs [perm B] | Critical/High/Medium | Automated/Manual/Incident | Open/Mitigated/Resolved |
1453
+
1454
+ ### 3. Role Assignment Analysis
1455
+
1456
+ | Role | Users Assigned | Privilege Level | SoD Conflicts | Last Reviewed | Status |
1457
+ |------|---------------|----------------|---------------|---------------|--------|
1458
+ | [role] | X | High/Medium/Low | X conflicts | [date] | Clean/Flagged |
1459
+
1460
+ ### 4. Access Control Effectiveness
1461
+
1462
+ | Control | Tests Run | Violations Detected | False Positives | Coverage | Status |
1463
+ |---------|-----------|--------------------|-----------------|-----------|----|
1464
+ | Positive access | [count] | [count] | [count] | X% | PASS/FAIL |
1465
+ | Negative access | [count] | [count] | [count] | X% | PASS/FAIL |
1466
+ | Privilege escalation | [count] | [count] | [count] | X% | PASS/FAIL |
1467
+ | Cross-role contamination | [count] | [count] | [count] | X% | PASS/FAIL |
1468
+
1469
+ ### 5. Recommendations
1470
+
1471
+ | Priority | Action | Impact | Effort |
1472
+ |----------|--------|--------|--------|
1473
+ | P0 | [critical authorization issues in production] | [what risk] | [effort] |
1474
+ | P1 | [important improvements] | [what risk] | [effort] |
1475
+
1476
+ **SOD COMPLIANCE SCORE: X/100 (0-100 scale)**
1477
+
1478
+ ## OUTPUT FORMAT
1479
+
1480
+ Save to: ${OUTPUT_FOLDER}/12-sod-compliance.md
1481
+ Use the Write tool to save BEFORE completing.
1482
+
1483
+ ## VALIDATION BEFORE SUBMITTING
1484
+
1485
+ +-- Did I assess all SoD policies?
1486
+ +-- Did I inventory all violations?
1487
+ +-- Did I analyze role assignments?
1488
+ +-- Did I evaluate access control effectiveness?
1489
+ +-- Did I calculate the SoD compliance score?
1490
+ +-- Did I save the report to the correct output path?`,
1491
+ subagent_type: "qe-sod-analyzer",
1492
+ run_in_background: true
1493
+ })
1494
+ ```
1495
+
1496
+ ### Agent Count Validation
1497
+
1498
+ **Before proceeding, verify agent count:**
1499
+
1500
+ ```
1501
+ +-------------------------------------------------------------+
1502
+ | AGENT COUNT VALIDATION |
1503
+ +-------------------------------------------------------------+
1504
+ | |
1505
+ | CORE AGENTS (ALWAYS 3): |
1506
+ | [ ] qe-metrics-optimizer - SPAWNED? [Y/N] |
1507
+ | [ ] qe-defect-predictor - SPAWNED? [Y/N] |
1508
+ | [ ] qe-root-cause-analyzer - SPAWNED? [Y/N] |
1509
+ | |
1510
+ | CONDITIONAL AGENTS (based on flags): |
1511
+ | [ ] qe-chaos-engineer - SPAWNED? [Y/N] (HAS_INFRA) |
1512
+ | [ ] qe-performance-tester - SPAWNED? [Y/N] (HAS_PERF_SLA)|
1513
+ | [ ] qe-regression-analyzer - SPAWNED? [Y/N] (HAS_REGRESS)|
1514
+ | [ ] qe-pattern-learner - SPAWNED? [Y/N] (HAS_RECURRING) |
1515
+ | [ ] qe-middleware-validator - SPAWNED? [Y/N] (HAS_MIDDLEWARE) |
1516
+ | [ ] qe-sap-rfc-tester - SPAWNED? [Y/N] (HAS_SAP_INTEG) |
1517
+ | [ ] qe-sod-analyzer - SPAWNED? [Y/N] (HAS_AUTHORIZATION) |
1518
+ | |
1519
+ | FEEDBACK AGENTS (ALWAYS 2): |
1520
+ | [ ] qe-learning-coordinator - PENDING (Phase 8) |
1521
+ | [ ] qe-transfer-specialist - PENDING (Phase 8) |
1522
+ | |
1523
+ | VALIDATION: |
1524
+ | Expected agents so far: [3 + count of TRUE flags] |
1525
+ | Actual spawned: [count] |
1526
+ | Status: [PASS/FAIL] |
1527
+ | |
1528
+ | If ACTUAL < EXPECTED, you have FAILED. Spawn missing |
1529
+ | agents before proceeding. |
1530
+ | |
1531
+ +-------------------------------------------------------------+
1532
+ ```
1533
+
1534
+ **DO NOT proceed if validation FAILS.**
1535
+
1536
+ ### Post-Spawn Confirmation (If Applicable)
1537
+
1538
+ ```
1539
+ I've launched [N] conditional agent(s) in parallel:
1540
+
1541
+ [IF HAS_INFRASTRUCTURE_CHANGE] qe-chaos-engineer [Domain: chaos-resilience]
1542
+ - Infrastructure change impact, resilience testing, auto-recovery
1543
+ [IF HAS_PERFORMANCE_SLA] qe-performance-tester [Domain: chaos-resilience]
1544
+ - SLA/SLO compliance, latency distributions, error budget analysis
1545
+ [IF HAS_REGRESSION_RISK] qe-regression-analyzer [Domain: defect-intelligence]
1546
+ - User-reported regression inventory, error rate deltas, impact assessment
1547
+ [IF HAS_RECURRING_INCIDENTS] qe-pattern-learner [Domain: defect-intelligence]
1548
+ - Recurring pattern detection, flapping services, same-root-cause clustering
1549
+ [IF HAS_MIDDLEWARE] qe-middleware-validator [Domain: enterprise-integration]
1550
+ - Message flow health, broker metrics, delivery reliability
1551
+ [IF HAS_SAP_INTEGRATION] qe-sap-rfc-tester [Domain: enterprise-integration]
1552
+ - RFC/BAPI health, SAP connector performance, data integrity
1553
+ [IF HAS_AUTHORIZATION] qe-sod-analyzer [Domain: enterprise-integration]
1554
+ - SoD compliance, role assignment analysis, access control effectiveness
1555
+
1556
+ WAITING for conditional agents to complete...
1557
+ ```
1558
+
1559
+ ---
1560
+
1561
+ ## PHASE 5: Synthesize Results & Determine Recommendation
1562
+
1563
+ ### ENFORCEMENT: EXACT DECISION LOGIC
1564
+
1565
+ **You MUST apply this logic EXACTLY. No interpretation.**
1566
+
1567
+ ```
1568
+ STEP 1: Derive composite metrics from agent outputs
1569
+ -----------------------------------------------------------
1570
+ doraScore = doraMetrics.compositeScore from qe-metrics-optimizer
1571
+ slaCompliance = slaReport.compliancePercent from qe-metrics-optimizer
1572
+ incidentSeverity = maxOpenSeverity from qe-root-cause-analyzer
1573
+ rcaCompleteness = completedRcas / totalIncidents from qe-root-cause-analyzer
1574
+ defectTrend = trendDirection from qe-defect-predictor
1575
+ defectDensity = predictedDensity from qe-defect-predictor
1576
+ regressionCount = regressionCount from qe-regression-analyzer (NULL if not ran)
1577
+ chaosResilience = resilienceScore from qe-chaos-engineer (NULL if not ran, 0-100)
1578
+ middlewareHealth = healthScore from qe-middleware-validator (NULL if not ran, 0-100)
1579
+ sapHealth = healthScore from qe-sap-rfc-tester (NULL if not ran, 0-100)
1580
+ sodCompliance = complianceScore from qe-sod-analyzer (NULL if not ran, 0-100)
1581
+
1582
+ STEP 2: Check CRITICAL conditions (ANY triggers CRITICAL)
1583
+ -----------------------------------------------------------
1584
+ IF incidentSeverity in [P0, P1] -> CRITICAL ("Active P0/P1 incidents")
1585
+ IF doraScore < 0.4 -> CRITICAL ("DORA metrics critically low")
1586
+ IF slaCompliance < 95.0 -> CRITICAL ("SLA compliance below minimum")
1587
+ IF defectTrend == "increasing"
1588
+ AND defectDensity > 5.0 -> CRITICAL ("Accelerating defect trend")
1589
+ IF middlewareHealth != NULL
1590
+ AND middlewareHealth < 20 -> CRITICAL ("Middleware critically unhealthy")
1591
+ IF sapHealth != NULL
1592
+ AND sapHealth < 20 -> CRITICAL ("SAP integration critically unhealthy")
1593
+ IF sodCompliance != NULL
1594
+ AND sodCompliance < 20 -> CRITICAL ("Critical SoD violations in production")
1595
+
1596
+ STEP 3: Check HEALTHY conditions (ALL required for HEALTHY)
1597
+ -----------------------------------------------------------
1598
+ IF doraScore >= 0.7
1599
+ AND slaCompliance >= 99.0
1600
+ AND incidentSeverity in [P3, P4, NONE]
1601
+ AND rcaCompleteness >= 80
1602
+ AND defectTrend in ["declining", "stable"]
1603
+ AND defectDensity <= 2.0
1604
+ AND (regressionCount == NULL OR regressionCount <= 2)
1605
+ AND (chaosResilience == NULL OR chaosResilience >= 80)
1606
+ AND (middlewareHealth == NULL OR middlewareHealth >= 70)
1607
+ AND (sapHealth == NULL OR sapHealth >= 70)
1608
+ AND (sodCompliance == NULL OR sodCompliance >= 70)
1609
+ -> HEALTHY
1610
+
1611
+ STEP 4: Default
1612
+ -----------------------------------------------------------
1613
+ ELSE -> DEGRADED
1614
+ ```
1615
+
1616
+ ### Decision Recording
1617
+
1618
+ ```
1619
+ METRICS:
1620
+ - doraScore = __.__ (0-1)
1621
+ - slaCompliance = __%
1622
+ - incidentSeverity = P_/NONE (max open)
1623
+ - rcaCompleteness = __%
1624
+ - defectTrend = declining/stable/increasing
1625
+ - defectDensity = __.__ per KLOC
1626
+ - regressionCount = __ (if applicable, else NULL)
1627
+ - chaosResilience = __ (if applicable, else NULL, 0-100)
1628
+ - middlewareHealth = __ (if applicable, else NULL, 0-100)
1629
+ - sapHealth = __ (if applicable, else NULL, 0-100)
1630
+ - sodCompliance = __ (if applicable, else NULL, 0-100)
1631
+
1632
+ CRITICAL CHECK:
1633
+ - incidentSeverity in [P0, P1]? __ (YES/NO)
1634
+ - doraScore < 0.4? __ (YES/NO)
1635
+ - slaCompliance < 95.0? __ (YES/NO)
1636
+ - defectTrend == "increasing" AND defectDensity > 5.0? __ (YES/NO)
1637
+ - middlewareHealth != NULL AND < 20? __ (YES/NO)
1638
+ - sapHealth != NULL AND < 20? __ (YES/NO)
1639
+ - sodCompliance != NULL AND < 20? __ (YES/NO)
1640
+
1641
+ HEALTHY CHECK (only if no CRITICAL triggered):
1642
+ - doraScore >= 0.7? __ (YES/NO)
1643
+ - slaCompliance >= 99.0? __ (YES/NO)
1644
+ - incidentSeverity in [P3, P4, NONE]? __ (YES/NO)
1645
+ - rcaCompleteness >= 80? __ (YES/NO)
1646
+ - defectTrend in ["declining", "stable"]? __ (YES/NO)
1647
+ - defectDensity <= 2.0? __ (YES/NO)
1648
+ - regressionCount == NULL OR <= 2? __ (YES/NO)
1649
+ - chaosResilience == NULL OR >= 80? __ (YES/NO)
1650
+ - middlewareHealth == NULL OR >= 70? __ (YES/NO)
1651
+ - sapHealth == NULL OR >= 70? __ (YES/NO)
1652
+ - sodCompliance == NULL OR >= 70? __ (YES/NO)
1653
+
1654
+ FINAL RECOMMENDATION: [HEALTHY / DEGRADED / CRITICAL]
1655
+ REASON: ___
1656
+ ```
1657
+
1658
+ ### Degraded Recommendations
1659
+
1660
+ If recommendation is DEGRADED, provide specific improvement actions:
1661
+
1662
+ | Issue | Current Value | Required Value | Owner | Action |
1663
+ |-------|--------------|----------------|-------|--------|
1664
+ | ... | ... | ... | [who] | [what to do] |
1665
+
1666
+ If recommendation is CRITICAL, provide mandatory remediation steps:
1667
+
1668
+ | Fix | Priority | Effort | Must Complete Before |
1669
+ |-----|----------|--------|---------------------|
1670
+ | ... | P0 | [scope] | [production can stabilize] |
1671
+
1672
+ ---
1673
+
1674
+ ## PHASE 6: Generate Production Health Report
1675
+
1676
+ ### ENFORCEMENT: COMPLETE REPORT STRUCTURE
1677
+
1678
+ **ALL sections below are MANDATORY. No abbreviations.**
1679
+
1680
+ ```markdown
1681
+ # QCSD Production Health Report: [Release Name/ID]
1682
+
1683
+ **Generated**: [Date/Time]
1684
+ **Recommendation**: [HEALTHY / DEGRADED / CRITICAL]
1685
+ **Agents Executed**: [List all agents that ran]
1686
+ **Parallel Batches**: [3]
1687
+ **Release ID**: [RELEASE_ID value]
1688
+ **Telemetry Source**: [TELEMETRY_DATA path]
1689
+
1690
+ ---
1691
+
1692
+ ## Executive Summary
1693
+
1694
+ | Metric | Value | Threshold | Status |
1695
+ |--------|-------|-----------|--------|
1696
+ | DORA Score | X.XX | >= 0.7 (HEALTHY) | PASS/WARN/FAIL |
1697
+ | SLA Compliance | X% | >= 99% (HEALTHY) | PASS/WARN/FAIL |
1698
+ | Incident Severity | P_/NONE | P3/P4/NONE (HEALTHY) | PASS/WARN/FAIL |
1699
+ | Defect Trend | declining/stable/increasing | declining/stable (HEALTHY) | PASS/WARN/FAIL |
1700
+ | RCA Completeness | X% | >= 80% (HEALTHY) | PASS/WARN/FAIL |
1701
+
1702
+ **Recommendation Rationale**: [1-2 sentences explaining why HEALTHY/DEGRADED/CRITICAL]
1703
+
1704
+ ---
1705
+
1706
+ ## DORA Metrics Analysis
1707
+
1708
+ [EMBED or LINK the full report from qe-metrics-optimizer]
1709
+
1710
+ ### DORA Dashboard
1711
+
1712
+ | Metric | Value | Classification |
1713
+ |--------|-------|----------------|
1714
+ [All 4 DORA metrics from qe-metrics-optimizer]
1715
+
1716
+ ### SLA Compliance Matrix
1717
+ [Key findings from agent output]
1718
+
1719
+ ---
1720
+
1721
+ ## Defect Prediction Analysis
1722
+
1723
+ [EMBED or LINK the full report from qe-defect-predictor]
1724
+
1725
+ ### Trend Summary
1726
+
1727
+ | Dimension | Value | Risk |
1728
+ |-----------|-------|------|
1729
+ [Key metrics from agent output]
1730
+
1731
+ ### Escape Analysis
1732
+ [Which phases should have caught production defects]
1733
+
1734
+ ---
1735
+
1736
+ ## Root Cause Analysis
1737
+
1738
+ [EMBED or LINK the full report from qe-root-cause-analyzer]
1739
+
1740
+ ### Incident Summary
1741
+
1742
+ | Metric | Value | Status |
1743
+ |--------|-------|--------|
1744
+ [Key metrics from agent output]
1745
+
1746
+ ### Top Incidents
1747
+ [Summary of highest-severity incidents]
1748
+
1749
+ ---
1750
+
1751
+ ## Conditional Analysis
1752
+
1753
+ [INCLUDE ONLY IF APPLICABLE - based on which conditional agents ran]
1754
+
1755
+ ### Chaos Resilience (IF HAS_INFRASTRUCTURE_CHANGE)
1756
+ [Full output from qe-chaos-engineer]
1757
+
1758
+ ### Performance SLA (IF HAS_PERFORMANCE_SLA)
1759
+ [Full output from qe-performance-tester]
1760
+
1761
+ ### Regression Analysis (IF HAS_REGRESSION_RISK)
1762
+ [Full output from qe-regression-analyzer]
1763
+
1764
+ ### Pattern Analysis (IF HAS_RECURRING_INCIDENTS)
1765
+ [Full output from qe-pattern-learner]
1766
+
1767
+ ### Middleware Health (IF HAS_MIDDLEWARE)
1768
+ [Full output from qe-middleware-validator]
1769
+
1770
+ ### SAP Health (IF HAS_SAP_INTEGRATION)
1771
+ [Full output from qe-sap-rfc-tester]
1772
+
1773
+ ### SoD Compliance (IF HAS_AUTHORIZATION)
1774
+ [Full output from qe-sod-analyzer]
1775
+
1776
+ ---
1777
+
1778
+ ## Feedback Loop Synthesis
1779
+
1780
+ [Full output from qe-learning-coordinator and qe-transfer-specialist - Phase 8]
1781
+
1782
+ ### Strategic Feedback (to Ideation)
1783
+ [DORA trends + defect patterns for risk calibration]
1784
+
1785
+ ### Tactical Feedback (to Refinement)
1786
+ [RCA patterns + escape analysis for test strategy improvement]
1787
+
1788
+ ---
1789
+
1790
+ ## Recommended Actions
1791
+
1792
+ ### Immediate Actions (P0 - Blockers)
1793
+ - [ ] [Action based on findings]
1794
+
1795
+ ### Short-Term Actions (P1 - Important)
1796
+ - [ ] [Action based on findings]
1797
+
1798
+ ### Long-Term Improvements (P2 - Improvement)
1799
+ - [ ] [Action based on findings]
1800
+
1801
+ ---
1802
+
1803
+ ## Appendix: Agent Outputs
1804
+
1805
+ [Link to or embed full outputs from each agent]
1806
+
1807
+ ---
1808
+
1809
+ *Generated by QCSD Production Swarm v1.0*
1810
+ *Execution Model: Task Tool Parallel Swarm*
1811
+ ```
1812
+
1813
+ Write the executive summary report to:
1814
+ `${OUTPUT_FOLDER}/01-executive-summary.md`
1815
+
1816
+ ### Report Validation Checklist
1817
+
1818
+ Before presenting report:
1819
+
1820
+ ```
1821
+ +-- Executive Summary table is complete with all 5 metrics
1822
+ +-- Recommendation matches decision logic output
1823
+ +-- DORA section includes all 4 metrics with classifications
1824
+ +-- Defect section includes trend direction and escape analysis
1825
+ +-- RCA section includes incident severity and completeness
1826
+ +-- Conditional sections included for all spawned agents
1827
+ +-- Feedback loop section present (will be filled in Phase 8)
1828
+ +-- Recommended actions are specific (not generic)
1829
+ +-- Report saved to output folder
1830
+ ```
1831
+
1832
+ **DO NOT present an incomplete report.**
1833
+
1834
+ ---
1835
+
1836
+ ## PHASE 7: Store Learnings & Persist State
1837
+
1838
+ ### ENFORCEMENT: ALWAYS RUN THIS PHASE
1839
+
1840
+ ```
1841
+ +-------------------------------------------------------------+
1842
+ | LEARNING PERSISTENCE MUST ALWAYS EXECUTE |
1843
+ | |
1844
+ | This is NOT optional. It runs on EVERY production scan. |
1845
+ | It stores findings for cross-phase feedback loops, |
1846
+ | historical DORA tracking, and pattern learning. |
1847
+ | |
1848
+ | DO NOT skip this phase for any reason. |
1849
+ | DO NOT treat this as "nice to have". |
1850
+ | Enforcement Rule E9 applies. |
1851
+ +-------------------------------------------------------------+
1852
+ ```
1853
+
1854
+ ### Purpose
1855
+
1856
+ Store production findings for:
1857
+ - Cross-phase feedback loops (Production -> Ideation and Refinement cycles)
1858
+ - Historical DORA metric tracking across releases
1859
+ - Defect trend analysis and prediction model improvement
1860
+ - Incident pattern learning for recurring issue prevention
1861
+
1862
+ ### Auto-Execution Steps (ALL THREE are MANDATORY)
1863
+
1864
+ **Step 1: Store production findings to memory**
1865
+
1866
+ You MUST execute this MCP call with actual values from the production analysis:
1867
+
1868
+ ```javascript
1869
+ mcp__agentic-qe__memory_store({
1870
+ key: `qcsd-production-${releaseId}-${Date.now()}`,
1871
+ namespace: "qcsd-production",
1872
+ value: {
1873
+ releaseId: releaseId,
1874
+ releaseName: releaseName,
1875
+ recommendation: recommendation, // HEALTHY, DEGRADED, CRITICAL
1876
+ metrics: {
1877
+ doraScore: doraScore,
1878
+ slaCompliance: slaCompliance,
1879
+ incidentSeverity: incidentSeverity,
1880
+ rcaCompleteness: rcaCompleteness,
1881
+ defectTrend: defectTrend,
1882
+ defectDensity: defectDensity,
1883
+ regressionCount: regressionCount, // if applicable
1884
+ chaosResilience: chaosResilience, // if applicable
1885
+ middlewareHealth: middlewareHealth, // if applicable
1886
+ sapHealth: sapHealth, // if applicable
1887
+ sodCompliance: sodCompliance // if applicable
1888
+ },
1889
+ flags: {
1890
+ HAS_INFRASTRUCTURE_CHANGE: HAS_INFRASTRUCTURE_CHANGE,
1891
+ HAS_PERFORMANCE_SLA: HAS_PERFORMANCE_SLA,
1892
+ HAS_REGRESSION_RISK: HAS_REGRESSION_RISK,
1893
+ HAS_RECURRING_INCIDENTS: HAS_RECURRING_INCIDENTS,
1894
+ HAS_MIDDLEWARE: HAS_MIDDLEWARE,
1895
+ HAS_SAP_INTEGRATION: HAS_SAP_INTEGRATION,
1896
+ HAS_AUTHORIZATION: HAS_AUTHORIZATION
1897
+ },
1898
+ agentsInvoked: agentList,
1899
+ timestamp: new Date().toISOString()
1900
+ }
1901
+ })
1902
+ ```
1903
+
1904
+ **Step 2: Share learnings with feedback agents**
1905
+
1906
+ You MUST execute this MCP call to propagate patterns cross-domain:
1907
+
1908
+ ```javascript
1909
+ mcp__agentic-qe__memory_share({
1910
+ sourceAgentId: "qcsd-production-swarm",
1911
+ targetAgentIds: ["qe-learning-coordinator", "qe-transfer-specialist"],
1912
+ knowledgeDomain: "production-health-patterns"
1913
+ })
1914
+ ```
1915
+
1916
+ **Step 3: Save learning persistence record to output folder**
1917
+
1918
+ You MUST use the Write tool to save a JSON record of the persisted learnings:
1919
+
1920
+ ```
1921
+ Save to: ${OUTPUT_FOLDER}/09-learning-persistence.json
1922
+
1923
+ Contents:
1924
+ {
1925
+ "phase": "QCSD-Production",
1926
+ "releaseId": "[release ID]",
1927
+ "releaseName": "[release name]",
1928
+ "recommendation": "[HEALTHY/DEGRADED/CRITICAL]",
1929
+ "memoryKey": "qcsd-production-[releaseId]-[timestamp]",
1930
+ "namespace": "qcsd-production",
1931
+ "metrics": {
1932
+ "doraScore": [0-1],
1933
+ "slaCompliance": [0-100],
1934
+ "incidentSeverity": "[P0-P4 or NONE]",
1935
+ "rcaCompleteness": [0-100],
1936
+ "defectTrend": "[declining/stable/increasing]",
1937
+ "defectDensity": [N.NN],
1938
+ "regressionCount": [N or null],
1939
+ "chaosResilience": [N or null],
1940
+ "middlewareHealth": [N or null],
1941
+ "sapHealth": [N or null],
1942
+ "sodCompliance": [N or null]
1943
+ },
1944
+ "flags": {
1945
+ "HAS_INFRASTRUCTURE_CHANGE": true/false,
1946
+ "HAS_PERFORMANCE_SLA": true/false,
1947
+ "HAS_REGRESSION_RISK": true/false,
1948
+ "HAS_RECURRING_INCIDENTS": true/false,
1949
+ "HAS_MIDDLEWARE": true/false,
1950
+ "HAS_SAP_INTEGRATION": true/false,
1951
+ "HAS_AUTHORIZATION": true/false
1952
+ },
1953
+ "agentsInvoked": ["list", "of", "agents"],
1954
+ "crossPhaseSignals": {
1955
+ "toIdeation": "DORA trends and defect patterns for risk calibration and quality criteria updates",
1956
+ "toRefinement": "RCA patterns and escape analysis for test strategy improvement and BDD generation"
1957
+ },
1958
+ "persistedAt": "[ISO timestamp]"
1959
+ }
1960
+ ```
1961
+
1962
+ ### Fallback: CLI Memory Commands
1963
+
1964
+ If MCP memory_store tool is unavailable, use CLI instead (STILL MANDATORY):
1965
+
1966
+ ```bash
1967
+ npx @claude-flow/cli@latest memory store \
1968
+ --key "qcsd-production-${RELEASE_ID}-$(date +%s)" \
1969
+ --value '{"recommendation":"[VALUE]","doraScore":[N],"slaCompliance":[N],"incidentSeverity":"[P_]","defectTrend":"[VALUE]"}' \
1970
+ --namespace qcsd-production
1971
+
1972
+ npx @claude-flow/cli@latest hooks post-task \
1973
+ --task-id "qcsd-production-${RELEASE_ID}" \
1974
+ --success true
1975
+ ```
1976
+
1977
+ ### Validation Before Proceeding to Phase 8
1978
+
1979
+ ```
1980
+ +-- Did I execute mcp__agentic-qe__memory_store with actual values? (not placeholders)
1981
+ +-- Did I execute mcp__agentic-qe__memory_share to propagate learnings?
1982
+ +-- Did I save 09-learning-persistence.json to the output folder?
1983
+ +-- Does the JSON contain the correct recommendation from Phase 5?
1984
+ +-- Does the JSON contain actual metrics from Phases 2-4?
1985
+ +-- Does the JSON contain actual flag values from Phase 1?
1986
+ +-- Does the JSON contain crossPhaseSignals with toIdeation and toRefinement?
1987
+ ```
1988
+
1989
+ **If ANY validation check fails, DO NOT proceed to Phase 8.**
1990
+
1991
+ ### Cross-Phase Signal Consumption
1992
+
1993
+ The Production Swarm both consumes and produces signals for other QCSD phases:
1994
+
1995
+ ```
1996
+ CONSUMES (from CI/CD phase):
1997
+ +-- Loop 5 (CI/CD): RELEASE/REMEDIATE/BLOCK decisions
1998
+ | - Release readiness metrics as monitoring baseline
1999
+ | - Deployment risk score and accepted risks
2000
+ | - Known issues and monitoring recommendations
2001
+ |
2002
+ +-- Loop 6 (Pipeline History): Previous production assessments
2003
+ - Historical DORA trends
2004
+ - Recurring incident patterns
2005
+ - SLA compliance baselines
2006
+
2007
+ PRODUCES (for other phases):
2008
+ +-- To Ideation Phase (Strategic): DORA trends + defect patterns
2009
+ | - Risk calibration data for qe-risk-assessor
2010
+ | - Quality criteria updates for qe-quality-criteria-recommender
2011
+ | - SLA performance data for testability scoring
2012
+ |
2013
+ +-- To Refinement Phase (Tactical): RCA patterns + escape analysis
2014
+ - Root cause patterns for qe-product-factors-assessor
2015
+ - Defect hotspot data for qe-bdd-generator
2016
+ - Escape analysis: defects that escaped earlier phases
2017
+ ```
2018
+
2019
+ ---
2020
+
2021
+ ## PHASE 8: Apply Feedback Loop Closure (SEQUENTIAL BATCH 3)
2022
+
2023
+ ### ENFORCEMENT: ALWAYS RUN BOTH AGENTS IN SEQUENCE
2024
+
2025
+ ```
2026
+ +-------------------------------------------------------------+
2027
+ | BOTH FEEDBACK AGENTS MUST ALWAYS RUN — SEQUENTIALLY |
2028
+ | |
2029
+ | This is NOT conditional. It runs on EVERY production scan. |
2030
+ | qe-learning-coordinator synthesizes cross-domain learnings. |
2031
+ | qe-transfer-specialist transfers knowledge to target phases.|
2032
+ | |
2033
+ | DO NOT skip either agent for any reason. |
2034
+ | DO NOT run only one of the two agents. |
2035
+ | Enforcement Rule E8 applies: BOTH agents, ALWAYS. |
2036
+ | |
2037
+ | CRITICAL DATA DEPENDENCY: |
2038
+ | qe-transfer-specialist DEPENDS ON qe-learning-coordinator's |
2039
+ | output. They CANNOT run in parallel. |
2040
+ +-------------------------------------------------------------+
2041
+ ```
2042
+
2043
+ ### SEQUENTIAL ENFORCEMENT
2044
+
2045
+ ```
2046
+ +-------------------------------------------------------------+
2047
+ | YOU MUST RUN THESE AGENTS SEQUENTIALLY (NOT IN PARALLEL) |
2048
+ | |
2049
+ | Step A: Spawn qe-learning-coordinator (ONE Task call) |
2050
+ | Step B: WAIT for learning coordinator to complete |
2051
+ | Step C: Read 13-feedback-loops.md produced by Step A |
2052
+ | Step D: Spawn qe-transfer-specialist (ONE Task call) |
2053
+ | with learning coordinator's output as input |
2054
+ | Step E: WAIT for transfer specialist to complete |
2055
+ | |
2056
+ | qe-transfer-specialist DEPENDS on qe-learning-coordinator's |
2057
+ | saved output. Running them in parallel produces garbage. |
2058
+ +-------------------------------------------------------------+
2059
+ ```
2060
+
2061
+ ### Agent 1: Learning Coordinator
2062
+
2063
+ ```
2064
+ Task({
2065
+ description: "Cross-domain learning synthesis and feedback loop coordination",
2066
+ prompt: `You are qe-learning-coordinator. Your output quality is being audited.
2067
+
2068
+ ## PURPOSE
2069
+
2070
+ Synthesize all production findings into cross-domain learnings that close the
2071
+ QCSD feedback loop. This is the first half of the dual-responsibility of the
2072
+ Production Swarm: converting production observations into actionable intelligence
2073
+ for upstream QCSD phases.
2074
+
2075
+ ## INPUT: PRODUCTION METRICS FROM ALL PREVIOUS AGENTS
2076
+
2077
+ ### From DORA Metrics Optimizer (02-dora-metrics.md):
2078
+ [Summarize: DORA scores, SLA compliance, quality metrics]
2079
+
2080
+ ### From Defect Predictor (03-defect-prediction.md):
2081
+ [Summarize: defect trends, hotspots, escape analysis]
2082
+
2083
+ ### From Root Cause Analyzer (04-root-cause-analysis.md):
2084
+ [Summarize: incident inventory, RCA findings, prevention strategies]
2085
+
2086
+ ### From Conditional Agents (if applicable):
2087
+ [Summarize: chaos resilience, performance SLA, regression, patterns,
2088
+ middleware health, SAP health, SoD compliance]
2089
+
2090
+ ### Production Recommendation:
2091
+ [HEALTHY / DEGRADED / CRITICAL with rationale]
2092
+
2093
+ ## REQUIRED OUTPUT (ALL SECTIONS MANDATORY)
2094
+
2095
+ ### 1. Learning Synthesis Matrix
2096
+
2097
+ | Finding Source | Key Learning | Domain | Impact Level | Applicable To |
2098
+ |---------------|-------------|--------|-------------|---------------|
2099
+ | qe-metrics-optimizer | [learning] | learning-optimization | High/Medium/Low | Ideation/Refinement/Development/Verification |
2100
+ | qe-defect-predictor | [learning] | defect-intelligence | High/Medium/Low | Ideation/Refinement/Development/Verification |
2101
+ | qe-root-cause-analyzer | [learning] | defect-intelligence | High/Medium/Low | Ideation/Refinement/Development/Verification |
2102
+ | [conditional agent] | [learning] | [domain] | High/Medium/Low | [phase(s)] |
2103
+
2104
+ ### 2. Cross-Domain Pattern Consolidation
2105
+
2106
+ | Pattern ID | Pattern Description | Domains Affected | Evidence Sources | Confidence |
2107
+ |-----------|--------------------|-----------------|--------------------|------------|
2108
+ | XPAT-001 | [cross-domain pattern] | [domain 1, domain 2] | [agents that identified it] | High/Medium/Low |
2109
+ | XPAT-002 | [cross-domain pattern] | [domain 1, domain 2] | [agents that identified it] | High/Medium/Low |
2110
+
2111
+ ### 3. Strategic Feedback (to Ideation Phase)
2112
+
2113
+ | Signal | Data | Target Agent | Action Required |
2114
+ |--------|------|-------------|-----------------|
2115
+ | DORA trend signal | [deployment frequency, lead time, MTTR, CFR trends] | qe-risk-assessor | Recalibrate risk thresholds |
2116
+ | Defect pattern signal | [defect hotspot data, density trends] | qe-quality-criteria-recommender | Update quality criteria weights |
2117
+ | SLA performance signal | [SLA compliance trends, error budget data] | qe-testability-scorer | Adjust testability scoring inputs |
2118
+ | Escape analysis signal | [defects that escaped ideation] | qe-risk-assessor | Add new risk categories |
2119
+
2120
+ ### 4. Tactical Feedback (to Refinement Phase)
2121
+
2122
+ | Signal | Data | Target Agent | Action Required |
2123
+ |--------|------|-------------|-----------------|
2124
+ | RCA pattern signal | [root cause categories, prevention gaps] | qe-product-factors-assessor | Update product factor weights |
2125
+ | Escape analysis signal | [defects that escaped refinement] | qe-bdd-generator | Add BDD scenarios for gap areas |
2126
+ | Hotspot signal | [defect hotspot data] | qe-bdd-generator | Focus scenario generation on hotspots |
2127
+ | Regression signal | [regression patterns, user impact data] | qe-product-factors-assessor | Increase regression risk factors |
2128
+
2129
+ ### 5. Learning Quality Score
2130
+
2131
+ | Dimension | Score (0-20) | Notes |
2132
+ |-----------|-------------|-------|
2133
+ | Data completeness | X/20 | [how much production data was available] |
2134
+ | Pattern confidence | X/20 | [statistical confidence in identified patterns] |
2135
+ | Actionability | X/20 | [how actionable are the feedback signals] |
2136
+ | Cross-domain coverage | X/20 | [how many domains contributed learnings] |
2137
+ | Historical continuity | X/20 | [how well learnings connect to previous cycles] |
2138
+
2139
+ **LEARNING QUALITY SCORE: X/100 (0-100 scale)**
2140
+
2141
+ **MINIMUM: Synthesize learnings from ALL agents, produce strategic feedback for Ideation and tactical feedback for Refinement.**
2142
+
2143
+ ## OUTPUT FORMAT
2144
+
2145
+ Save to: ${OUTPUT_FOLDER}/13-feedback-loops.md
2146
+ Use the Write tool to save BEFORE completing.
2147
+
2148
+ ## VALIDATION BEFORE SUBMITTING
2149
+
2150
+ +-- Did I synthesize learnings from ALL agents that ran?
2151
+ +-- Did I identify cross-domain patterns?
2152
+ +-- Did I produce strategic feedback for Ideation phase?
2153
+ +-- Did I produce tactical feedback for Refinement phase?
2154
+ +-- Did I map feedback signals to target agents?
2155
+ +-- Did I calculate the learning quality score?
2156
+ +-- Did I save the report to the correct output path?`,
2157
+ subagent_type: "qe-learning-coordinator",
2158
+ run_in_background: true
2159
+ })
2160
+ ```
2161
+
2162
+ ### Wait for Learning Coordinator
2163
+
2164
+ ```
2165
+ +-------------------------------------------------------------+
2166
+ | WAIT for qe-learning-coordinator to complete before |
2167
+ | proceeding to qe-transfer-specialist. |
2168
+ | |
2169
+ | When the learning coordinator returns: |
2170
+ | 1. Read its saved output: ${OUTPUT_FOLDER}/13-feedback-loops.md |
2171
+ | 2. Extract the Learning Synthesis Matrix |
2172
+ | 3. Extract the Strategic Feedback signals |
2173
+ | 4. Extract the Tactical Feedback signals |
2174
+ | 5. THEN spawn qe-transfer-specialist with this data |
2175
+ +-------------------------------------------------------------+
2176
+ ```
2177
+
2178
+ ### Agent 2: Transfer Specialist
2179
+
2180
+ **PREREQUISITE: qe-learning-coordinator MUST have completed and saved 13-feedback-loops.md.**
2181
+
2182
+ ```
2183
+ Task({
2184
+ description: "Knowledge transfer to target QCSD phases and feedback loop closure",
2185
+ prompt: `You are qe-transfer-specialist. Your output quality is being audited.
2186
+
2187
+ ## PURPOSE
2188
+
2189
+ Transfer synthesized production learnings to target QCSD phases and verify
2190
+ feedback loop closure. This is the second half of the dual-responsibility of
2191
+ the Production Swarm: ensuring knowledge actually reaches the agents that need
2192
+ it in Ideation and Refinement phases.
2193
+
2194
+ ## INPUT: SYNTHESIS FROM qe-learning-coordinator
2195
+
2196
+ READ the file ${OUTPUT_FOLDER}/13-feedback-loops.md FIRST. This contains the
2197
+ learning coordinator's completed output. Do NOT proceed without reading it.
2198
+
2199
+ ### Learning Synthesis Matrix:
2200
+ [PASTE the Learning Synthesis Matrix from 13-feedback-loops.md]
2201
+
2202
+ ### Strategic Feedback (to Ideation):
2203
+ [PASTE the Strategic Feedback section from 13-feedback-loops.md]
2204
+
2205
+ ### Tactical Feedback (to Refinement):
2206
+ [PASTE the Tactical Feedback section from 13-feedback-loops.md]
2207
+
2208
+ ### Production Recommendation:
2209
+ [HEALTHY / DEGRADED / CRITICAL with rationale]
2210
+
2211
+ ## REQUIRED OUTPUT (ALL SECTIONS MANDATORY)
2212
+
2213
+ ### 1. Knowledge Transfer Plan
2214
+
2215
+ | Transfer ID | Source Learning | Target Phase | Target Agent | Transfer Method | Priority |
2216
+ |-------------|---------------|-------------|--------------|----------------|----------|
2217
+ | KT-001 | [learning] | Ideation | qe-risk-assessor | memory_share / manual | P0/P1/P2 |
2218
+ | KT-002 | [learning] | Ideation | qe-quality-criteria-recommender | memory_share / manual | P0/P1/P2 |
2219
+ | KT-003 | [learning] | Refinement | qe-product-factors-assessor | memory_share / manual | P0/P1/P2 |
2220
+ | KT-004 | [learning] | Refinement | qe-bdd-generator | memory_share / manual | P0/P1/P2 |
2221
+
2222
+ ### 2. Target Agent Mapping
2223
+
2224
+ | Target Agent | Phase | Learnings Received | Expected Behavior Change | Verification |
2225
+ |-------------|-------|-------------------|-------------------------|--------------|
2226
+ | qe-risk-assessor | Ideation | [list of learnings] | [how agent should change behavior] | [how to verify] |
2227
+ | qe-quality-criteria-recommender | Ideation | [list of learnings] | [how agent should change behavior] | [how to verify] |
2228
+ | qe-testability-scorer | Ideation | [list of learnings] | [how agent should change behavior] | [how to verify] |
2229
+ | qe-product-factors-assessor | Refinement | [list of learnings] | [how agent should change behavior] | [how to verify] |
2230
+ | qe-bdd-generator | Refinement | [list of learnings] | [how agent should change behavior] | [how to verify] |
2231
+
2232
+ ### 3. Transfer Verification
2233
+
2234
+ | Transfer | Status | Memory Key | Verified Stored | Accessible By Target |
2235
+ |----------|--------|-----------|----------------|---------------------|
2236
+ | KT-001 | Transferred/Pending/Failed | [memory key] | Yes/No | Yes/No |
2237
+ | KT-002 | Transferred/Pending/Failed | [memory key] | Yes/No | Yes/No |
2238
+ | KT-003 | Transferred/Pending/Failed | [memory key] | Yes/No | Yes/No |
2239
+ | KT-004 | Transferred/Pending/Failed | [memory key] | Yes/No | Yes/No |
2240
+
2241
+ ### 4. Feedback Loop Closure Status
2242
+
2243
+ | Loop | From | To | Signal | Status | Notes |
2244
+ |------|------|-----|--------|--------|-------|
2245
+ | Production -> Ideation (Strategic) | qe-metrics-optimizer | qe-risk-assessor | DORA trends | Open/Closed | [details] |
2246
+ | Production -> Ideation (Quality) | qe-defect-predictor | qe-quality-criteria-recommender | Defect patterns | Open/Closed | [details] |
2247
+ | Production -> Refinement (RCA) | qe-root-cause-analyzer | qe-product-factors-assessor | RCA patterns | Open/Closed | [details] |
2248
+ | Production -> Refinement (Escape) | qe-defect-predictor | qe-bdd-generator | Escape analysis | Open/Closed | [details] |
2249
+
2250
+ **FEEDBACK LOOPS CLOSED: X/Y**
2251
+ **TRANSFER COMPLETION: X%**
2252
+
2253
+ ### 5. Continuous Improvement Recommendations
2254
+
2255
+ | Recommendation | Target | Expected Outcome | Timeline |
2256
+ |---------------|--------|-------------------|----------|
2257
+ | [improvement 1] | [phase/agent] | [outcome] | Next sprint/Next PI |
2258
+ | [improvement 2] | [phase/agent] | [outcome] | Next sprint/Next PI |
2259
+
2260
+ **MINIMUM: Create transfer plan for all learnings, map to target agents, and verify feedback loop closure status.**
2261
+
2262
+ ## OUTPUT FORMAT
2263
+
2264
+ Append your output to: ${OUTPUT_FOLDER}/13-feedback-loops.md
2265
+ (This file was created by qe-learning-coordinator in the previous step)
2266
+
2267
+ Use the Write tool to save BEFORE completing.
2268
+
2269
+ ## VALIDATION BEFORE SUBMITTING
2270
+
2271
+ +-- Did I create a knowledge transfer plan for all learnings?
2272
+ +-- Did I map transfers to specific target agents?
2273
+ +-- Did I verify transfer status?
2274
+ +-- Did I assess feedback loop closure for all loops?
2275
+ +-- Did I provide continuous improvement recommendations?
2276
+ +-- Did I save the report to the correct output path?`,
2277
+ subagent_type: "qe-transfer-specialist",
2278
+ run_in_background: true
2279
+ })
2280
+ ```
2281
+
2282
+ ### Post-Completion Confirmation
2283
+
2284
+ After BOTH agents have completed sequentially:
2285
+
2286
+ ```
2287
+ Feedback loop closure complete (sequential execution):
2288
+
2289
+ Step A: qe-learning-coordinator [Domain: learning-optimization] - COMPLETE
2290
+ - Synthesized cross-domain learnings from all production agents
2291
+ - Produced strategic feedback for Ideation phase
2292
+ - Produced tactical feedback for Refinement phase
2293
+ - Saved output to: 13-feedback-loops.md
2294
+
2295
+ Step B: qe-transfer-specialist [Domain: learning-optimization] - COMPLETE
2296
+ - Created knowledge transfer plan to target agents
2297
+ - Verified feedback loop closure status
2298
+ - Mapped learnings to specific behavioral changes
2299
+ - Appended output to: 13-feedback-loops.md
2300
+
2301
+ PROCEEDING to Phase 9 (Final Output)...
2302
+ ```
2303
+
2304
+ ---
2305
+
2306
+ ## PHASE 9: Final Output
2307
+
2308
+ **At the very end of swarm execution, ALWAYS output this completion summary:**
2309
+
2310
+ ```
2311
+ +---------------------------------------------------------------------+
2312
+ | QCSD PRODUCTION SWARM COMPLETE |
2313
+ +---------------------------------------------------------------------+
2314
+ | |
2315
+ | Release Assessed: [Release Name/ID] |
2316
+ | Reports Generated: [count] |
2317
+ | Output Folder: ${OUTPUT_FOLDER} |
2318
+ | |
2319
+ | PRODUCTION HEALTH SCORES: |
2320
+ | +-- DORA Score: __.__ (Elite/High/Med/Low) |
2321
+ | +-- SLA Compliance: __% |
2322
+ | +-- Incident Severity: P_/NONE |
2323
+ | +-- Defect Trend: declining/stable/increasing |
2324
+ | +-- RCA Completeness: __% |
2325
+ | +-- Defect Density: __.__ per KLOC |
2326
+ | +-- Learning Quality: __/100 |
2327
+ | [IF HAS_INFRASTRUCTURE_CHANGE] |
2328
+ | +-- Chaos Resilience: __/100 |
2329
+ | [IF HAS_PERFORMANCE_SLA] |
2330
+ | +-- Performance SLA: __/100 |
2331
+ | [IF HAS_REGRESSION_RISK] |
2332
+ | +-- Regression Score: __/100 |
2333
+ | [IF HAS_RECURRING_INCIDENTS] |
2334
+ | +-- Recurring Patterns: __ identified |
2335
+ | [IF HAS_MIDDLEWARE] |
2336
+ | +-- Middleware Health: __/100 |
2337
+ | [IF HAS_SAP_INTEGRATION] |
2338
+ | +-- SAP Health: __/100 |
2339
+ | [IF HAS_AUTHORIZATION] |
2340
+ | +-- SoD Compliance: __/100 |
2341
+ | |
2342
+ | FEEDBACK LOOPS: |
2343
+ | +-- To Ideation: [X signals transferred] |
2344
+ | +-- To Refinement: [X signals transferred] |
2345
+ | +-- Loop Closure: X/Y closed |
2346
+ | |
2347
+ | RECOMMENDATION: [HEALTHY / DEGRADED / CRITICAL] |
2348
+ | REASON: [1-2 sentence rationale] |
2349
+ | |
2350
+ | DELIVERABLES: |
2351
+ | +-- 01-executive-summary.md |
2352
+ | +-- 02-dora-metrics.md |
2353
+ | +-- 03-defect-prediction.md |
2354
+ | +-- 04-root-cause-analysis.md |
2355
+ | [IF HAS_INFRASTRUCTURE_CHANGE] |
2356
+ | +-- 05-chaos-resilience.md |
2357
+ | [IF HAS_PERFORMANCE_SLA] |
2358
+ | +-- 06-performance-sla.md |
2359
+ | [IF HAS_REGRESSION_RISK] |
2360
+ | +-- 07-regression-analysis.md |
2361
+ | [IF HAS_RECURRING_INCIDENTS] |
2362
+ | +-- 08-pattern-analysis.md |
2363
+ | +-- 09-learning-persistence.json |
2364
+ | [IF HAS_MIDDLEWARE] |
2365
+ | +-- 10-middleware-health.md |
2366
+ | [IF HAS_SAP_INTEGRATION] |
2367
+ | +-- 11-sap-health.md |
2368
+ | [IF HAS_AUTHORIZATION] |
2369
+ | +-- 12-sod-compliance.md |
2370
+ | +-- 13-feedback-loops.md |
2371
+ | |
2372
+ +---------------------------------------------------------------------+
2373
+ ```
2374
+
2375
+ **IF recommendation is CRITICAL, ALSO output this prominent action box:**
2376
+
2377
+ ```
2378
+ +---------------------------------------------------------------------+
2379
+ | ACTION REQUIRED: PRODUCTION CRITICAL - IMMEDIATE ATTENTION |
2380
+ +---------------------------------------------------------------------+
2381
+ | |
2382
+ | The following critical issues MUST be resolved immediately: |
2383
+ | |
2384
+ | 1. [Critical issue 1 with specific remediation] |
2385
+ | 2. [Critical issue 2 with specific remediation] |
2386
+ | 3. [Critical issue 3 with specific remediation] |
2387
+ | |
2388
+ | NEXT STEPS: |
2389
+ | - Activate incident response for all P0/P1 incidents |
2390
+ | - Address all critical issues listed above |
2391
+ | - Consider rollback if production stability cannot be restored |
2392
+ | - Re-run /qcsd-production-swarm after stabilization |
2393
+ | - Target: DORA >= 0.7, SLA >= 99%, no P0/P1, density <= 2.0 |
2394
+ | |
2395
+ +---------------------------------------------------------------------+
2396
+ ```
2397
+
2398
+ **IF recommendation is DEGRADED, output this guidance box:**
2399
+
2400
+ ```
2401
+ +---------------------------------------------------------------------+
2402
+ | DEGRADED: PRODUCTION NEEDS ATTENTION |
2403
+ +---------------------------------------------------------------------+
2404
+ | |
2405
+ | The production environment is functional but requires improvement: |
2406
+ | |
2407
+ | 1. [Improvement 1 - must be addressed this sprint] |
2408
+ | 2. [Improvement 2 - must be addressed next sprint] |
2409
+ | |
2410
+ | MONITORING STRATEGY: |
2411
+ | - Increase monitoring frequency for [specific metrics] |
2412
+ | - Set tighter alert thresholds for [conditions] |
2413
+ | - Schedule follow-up production assessment in [timeframe] |
2414
+ | |
2415
+ | FEEDBACK LOOP ACTIONS: |
2416
+ | - Ideation: Update risk criteria based on production learnings |
2417
+ | - Refinement: Add BDD scenarios for escaped defect patterns |
2418
+ | - Development: Increase test coverage for identified hotspots |
2419
+ | |
2420
+ +---------------------------------------------------------------------+
2421
+ ```
2422
+
2423
+ **DO NOT end the swarm without displaying the completion summary.**
2424
+
2425
+ ---
2426
+
2427
+ ## Report Filename Mapping
2428
+
2429
+ | Agent | Report Filename | Phase |
2430
+ |-------|----------------|-------|
2431
+ | qe-metrics-optimizer | `02-dora-metrics.md` | Batch 1 |
2432
+ | qe-defect-predictor | `03-defect-prediction.md` | Batch 1 |
2433
+ | qe-root-cause-analyzer | `04-root-cause-analysis.md` | Batch 1 |
2434
+ | qe-chaos-engineer | `05-chaos-resilience.md` | Batch 2 (conditional) |
2435
+ | qe-performance-tester | `06-performance-sla.md` | Batch 2 (conditional) |
2436
+ | qe-regression-analyzer | `07-regression-analysis.md` | Batch 2 (conditional) |
2437
+ | qe-pattern-learner | `08-pattern-analysis.md` | Batch 2 (conditional) |
2438
+ | qe-middleware-validator | `10-middleware-health.md` | Batch 2 (conditional) |
2439
+ | qe-sap-rfc-tester | `11-sap-health.md` | Batch 2 (conditional) |
2440
+ | qe-sod-analyzer | `12-sod-compliance.md` | Batch 2 (conditional) |
2441
+ | qe-learning-coordinator + qe-transfer-specialist | `13-feedback-loops.md` | Batch 3 (feedback) |
2442
+ | Learning Persistence | `09-learning-persistence.json` | Phase 7 (auto-execute) |
2443
+ | Synthesis | `01-executive-summary.md` | Phase 6 |
2444
+
2445
+ ---
2446
+
2447
+ ## DDD Domain Integration
2448
+
2449
+ This swarm operates across **2 primary domains**, **3 conditional domains**,
2450
+ and **1 feedback domain**:
2451
+
2452
+ ```
2453
+ +-----------------------------------------------------------------------------+
2454
+ | QCSD PRODUCTION TELEMETRY - DOMAIN MAP |
2455
+ +-----------------------------------------------------------------------------+
2456
+ | |
2457
+ | PRIMARY DOMAINS (Always Active) |
2458
+ | +-------------------------------+ +-------------------------------+ |
2459
+ | | learning-optimization | | defect-intelligence | |
2460
+ | | --------------------------- | | --------------------------- | |
2461
+ | | - qe-metrics-optimizer | | - qe-defect-predictor | |
2462
+ | | (DORA metrics, SLA/SLO, | | (defect trends, density, | |
2463
+ | | quality optimization) | | escape analysis) | |
2464
+ | +-------------------------------+ | | |
2465
+ | | - qe-root-cause-analyzer | |
2466
+ | | (incident RCA, 5-Why, | |
2467
+ | | prevention strategies) | |
2468
+ | +-------------------------------+ |
2469
+ | |
2470
+ | CONDITIONAL DOMAINS (Based on Production Context) |
2471
+ | +-----------------------+ +-----------------------+ |
2472
+ | | chaos-resilience | | defect-intelligence | |
2473
+ | | ──────────────────── | | ───────────────────── | |
2474
+ | | qe-chaos-engineer | | qe-regression-analyzer| |
2475
+ | | [IF HAS_INFRA] | | [IF HAS_REGRESSION] | |
2476
+ | | | | | |
2477
+ | | qe-performance-tester| | qe-pattern-learner | |
2478
+ | | [IF HAS_PERF_SLA] | | [IF HAS_RECURRING] | |
2479
+ | +-----------------------+ +-----------------------+ |
2480
+ | |
2481
+ | +-----------------------------------------------------------------------+ |
2482
+ | | enterprise-integration | |
2483
+ | | ----------------------------------------------------------------- | |
2484
+ | | - qe-middleware-validator [IF HAS_MIDDLEWARE] | |
2485
+ | | - qe-sap-rfc-tester [IF HAS_SAP_INTEGRATION] | |
2486
+ | | - qe-sod-analyzer [IF HAS_AUTHORIZATION] | |
2487
+ | +-----------------------------------------------------------------------+ |
2488
+ | |
2489
+ | FEEDBACK DOMAIN (Always Active) |
2490
+ | +-----------------------------------------------------------------------+ |
2491
+ | | learning-optimization | |
2492
+ | | ----------------------------------------------------------------- | |
2493
+ | | - qe-learning-coordinator (synthesis, strategic + tactical feedback)| |
2494
+ | | - qe-transfer-specialist (knowledge transfer, loop closure) | |
2495
+ | +-----------------------------------------------------------------------+ |
2496
+ | |
2497
+ +-----------------------------------------------------------------------------+
2498
+ ```
2499
+
2500
+ ---
2501
+
2502
+ ## Execution Model Options
2503
+
2504
+ This skill supports **3 execution models**. Choose based on your environment:
2505
+
2506
+ | Model | When to Use | Pros | Cons |
2507
+ |-------|-------------|------|------|
2508
+ | **Task Tool** (PRIMARY) | Claude Code sessions | Full agent capabilities, parallel execution | Requires Claude Code |
2509
+ | **MCP Tools** | MCP server available | Fleet coordination, memory persistence | Requires MCP setup |
2510
+ | **CLI** | Terminal/scripts | Works anywhere, scriptable | Sequential only |
2511
+
2512
+ ### Quick Start by Model
2513
+
2514
+ **Option A: Task Tool (RECOMMENDED)**
2515
+ ```
2516
+ Just follow the skill phases above - uses Task() calls with run_in_background: true
2517
+ ```
2518
+
2519
+ **Option B: MCP Tools**
2520
+ ```javascript
2521
+ // Initialize fleet for Production domains
2522
+ mcp__agentic-qe__fleet_init({
2523
+ topology: "hierarchical",
2524
+ enabledDomains: ["learning-optimization", "defect-intelligence", "chaos-resilience", "enterprise-integration"],
2525
+ maxAgents: 12
2526
+ })
2527
+
2528
+ // Orchestrate production assessment task
2529
+ mcp__agentic-qe__task_orchestrate({
2530
+ task: "qcsd-production-assessment",
2531
+ strategy: "parallel"
2532
+ })
2533
+ ```
2534
+
2535
+ **Option C: CLI**
2536
+ ```bash
2537
+ # Initialize coordination
2538
+ npx @claude-flow/cli@latest swarm init --topology hierarchical --max-agents 12
2539
+
2540
+ # Route task
2541
+ npx @claude-flow/cli@latest hooks pre-task --description "QCSD Production Assessment for [Release]"
2542
+
2543
+ # Execute agents
2544
+ npx @claude-flow/cli@latest agent spawn --type qe-metrics-optimizer
2545
+ npx @claude-flow/cli@latest agent spawn --type qe-defect-predictor
2546
+ npx @claude-flow/cli@latest agent spawn --type qe-root-cause-analyzer
2547
+ ```
2548
+
2549
+ ---
2550
+
2551
+ ## Quick Reference
2552
+
2553
+ ### Enforcement Summary
2554
+
2555
+ | Phase | Must Do | Failure Condition |
2556
+ |-------|---------|-------------------|
2557
+ | 1 | Check ALL 7 flags | Missing flag evaluation |
2558
+ | 2 | Spawn ALL 3 core agents in ONE message | Fewer than 3 Task calls |
2559
+ | 3 | WAIT for completion | Proceeding before results |
2560
+ | 4 | Spawn ALL flagged conditional agents | Skipping a TRUE flag |
2561
+ | 5 | Apply EXACT decision logic | Wrong recommendation |
2562
+ | 6 | Generate COMPLETE report | Missing sections |
2563
+ | 7 | ALWAYS store learnings + save 09-learning-persistence.json | Pattern loss, missing audit trail |
2564
+ | 8 | ALWAYS run BOTH feedback agents SEQUENTIALLY | Skipping feedback synthesis or running in parallel |
2565
+ | 9 | Output completion summary | Missing final output |
2566
+
2567
+ ### Quality Gate Thresholds
2568
+
2569
+ | Metric | HEALTHY | DEGRADED | CRITICAL |
2570
+ |--------|---------|----------|----------|
2571
+ | DORA Score | >= 0.7 | 0.4 - 0.69 | < 0.4 |
2572
+ | SLA Compliance | >= 99% | 95 - 98.9% | < 95% |
2573
+ | Incident Severity | P3/P4/NONE | P2 | P0/P1 |
2574
+ | Defect Trend | declining/stable | stable (density > 2) | increasing + density > 5 |
2575
+ | RCA Completeness | >= 80% | 50 - 79% | < 50% |
2576
+ | Chaos Resilience | >= 80/100 | 20 - 79 | < 20 |
2577
+ | Middleware Health | >= 70/100 | 20 - 69 | < 20 |
2578
+ | SAP Health | >= 70/100 | 20 - 69 | < 20 |
2579
+ | SoD Compliance | >= 70/100 | 20 - 69 | < 20 |
2580
+
2581
+ ### Domain-to-Agent Mapping
2582
+
2583
+ | Domain | Agent | Phase | Batch |
2584
+ |--------|-------|-------|-------|
2585
+ | learning-optimization | qe-metrics-optimizer | Core | 1 |
2586
+ | defect-intelligence | qe-defect-predictor | Core | 1 |
2587
+ | defect-intelligence | qe-root-cause-analyzer | Core | 1 |
2588
+ | chaos-resilience | qe-chaos-engineer | Conditional (HAS_INFRASTRUCTURE_CHANGE) | 2 |
2589
+ | chaos-resilience | qe-performance-tester | Conditional (HAS_PERFORMANCE_SLA) | 2 |
2590
+ | defect-intelligence | qe-regression-analyzer | Conditional (HAS_REGRESSION_RISK) | 2 |
2591
+ | defect-intelligence | qe-pattern-learner | Conditional (HAS_RECURRING_INCIDENTS) | 2 |
2592
+ | enterprise-integration | qe-middleware-validator | Conditional (HAS_MIDDLEWARE) | 2 |
2593
+ | enterprise-integration | qe-sap-rfc-tester | Conditional (HAS_SAP_INTEGRATION) | 2 |
2594
+ | enterprise-integration | qe-sod-analyzer | Conditional (HAS_AUTHORIZATION) | 2 |
2595
+ | learning-optimization | qe-learning-coordinator | Feedback (ALWAYS) | 3 |
2596
+ | learning-optimization | qe-transfer-specialist | Feedback (ALWAYS) | 3 |
2597
+
2598
+ ### Execution Model Quick Reference
2599
+
2600
+ | Model | Initialization | Agent Spawn | Memory Store |
2601
+ |-------|---------------|-------------|--------------|
2602
+ | **Task Tool** | N/A | `Task({ subagent_type, run_in_background: true })` | N/A (use MCP) |
2603
+ | **MCP Tools** | `fleet_init({})` | `task_submit({})` | `memory_store({})` |
2604
+ | **CLI** | `swarm init` | `agent spawn` | `memory store` |
2605
+
2606
+ ### MCP Tools Quick Reference
2607
+
2608
+ ```javascript
2609
+ // Initialization
2610
+ mcp__agentic-qe__fleet_init({
2611
+ topology: "hierarchical",
2612
+ enabledDomains: ["learning-optimization", "defect-intelligence", "chaos-resilience", "enterprise-integration"],
2613
+ maxAgents: 12
2614
+ })
2615
+
2616
+ // Task submission
2617
+ mcp__agentic-qe__task_submit({ type: "...", priority: "p0", payload: {...} })
2618
+ mcp__agentic-qe__task_orchestrate({ task: "...", strategy: "parallel" })
2619
+
2620
+ // Status
2621
+ mcp__agentic-qe__fleet_status({ verbose: true })
2622
+ mcp__agentic-qe__task_list({ status: "pending" })
2623
+
2624
+ // Memory
2625
+ mcp__agentic-qe__memory_store({ key: "...", value: {...}, namespace: "qcsd-production" })
2626
+ mcp__agentic-qe__memory_query({ pattern: "qcsd-production-*", namespace: "qcsd-production" })
2627
+ mcp__agentic-qe__memory_share({
2628
+ sourceAgentId: "qcsd-production-swarm",
2629
+ targetAgentIds: ["qe-learning-coordinator", "qe-transfer-specialist"],
2630
+ knowledgeDomain: "production-health-patterns"
2631
+ })
2632
+ ```
2633
+
2634
+ ### CLI Quick Reference
2635
+
2636
+ ```bash
2637
+ # Initialization
2638
+ npx @claude-flow/cli@latest swarm init --topology hierarchical --max-agents 12
2639
+
2640
+ # Agent operations
2641
+ npx @claude-flow/cli@latest agent spawn --type [agent-type] --task "[description]"
2642
+ npx @claude-flow/cli@latest hooks pre-task --description "[task]"
2643
+ npx @claude-flow/cli@latest hooks post-task --task-id "[id]" --success true
2644
+
2645
+ # Status
2646
+ npx @claude-flow/cli@latest swarm status
2647
+
2648
+ # Memory
2649
+ npx @claude-flow/cli@latest memory store --key "[key]" --value "[json]" --namespace qcsd-production
2650
+ npx @claude-flow/cli@latest memory search --query "[query]" --namespace qcsd-production
2651
+ npx @claude-flow/cli@latest memory list --namespace qcsd-production
2652
+ ```
2653
+
2654
+ ---
2655
+
2656
+ ## Swarm Topology
2657
+
2658
+ ```
2659
+ QCSD PRODUCTION SWARM v1.0
2660
+ |
2661
+ BATCH 1 (Core - Parallel)
2662
+ +-----------+---+-----------+
2663
+ | | |
2664
+ +-----v-----+ +---v--------+ +---v-----------+
2665
+ | DORA | | Defect | | Root Cause |
2666
+ | Metrics | | Predictor | | Analyzer |
2667
+ | (Optimize)| | (Predict) | | (Incidents) |
2668
+ |-----------| |------------| |---------------|
2669
+ | learn-opt | | dfct-intel | | dfct-intel |
2670
+ +-----+-----+ +-----+------+ +------+--------+
2671
+ | | |
2672
+ +--------------+---------------+
2673
+ |
2674
+ [METRICS GATE]
2675
+ |
2676
+ BATCH 2 (Conditional - Parallel)
2677
+ +-----------+---+-----------+
2678
+ | | |
2679
+ +-----v-----+ +---v--------+ +---v----------+
2680
+ | Chaos | | Perf | | Regression |
2681
+ | Engineer | | Tester | | Analyzer |
2682
+ | [IF INFRA]| | [IF SLA] | | [IF REGRESS] |
2683
+ |-----------| |------------| |--------------|
2684
+ | chaos-res | | chaos-res | | dfct-intel |
2685
+ +-----------+ +------------+ +--------------+
2686
+ +----------+---+-----------+
2687
+ | | |
2688
+ +-----v----+ +---v--------+ +---v----------+
2689
+ | Pattern | | Middleware | | SAP RFC |
2690
+ | Learner | | Validator | | Tester |
2691
+ |[IF RECUR]| | [IF MIDW] | | [IF SAP] |
2692
+ |----------| |------------| |--------------|
2693
+ | dfct-int | | ent-integ | | ent-integ |
2694
+ +----------+ +------------+ +--------------+
2695
+ |
2696
+ +-----v------+
2697
+ | SoD |
2698
+ | Analyzer |
2699
+ | [IF AUTH] |
2700
+ |------------|
2701
+ | ent-integ |
2702
+ +-----+------+
2703
+ |
2704
+ [SYNTHESIS]
2705
+ |
2706
+ PHASE 7 (Learning Persistence - Always)
2707
+ |
2708
+ +-------v-------+
2709
+ | memory_store |
2710
+ | memory_share |
2711
+ | 09-learning- |
2712
+ | persistence |
2713
+ | (ALWAYS RUNS) |
2714
+ +-------+-------+
2715
+ |
2716
+ BATCH 3 (Feedback - Sequential, Always)
2717
+ |
2718
+ +------v---------+
2719
+ | Learning |
2720
+ | Coordinator |
2721
+ | (ALWAYS - 1st) |
2722
+ |----------------|
2723
+ | learn-opt |
2724
+ +------+---------+
2725
+ |
2726
+ [WAIT FOR OUTPUT]
2727
+ |
2728
+ +------v---------+
2729
+ | Transfer |
2730
+ | Specialist |
2731
+ | (ALWAYS - 2nd) |
2732
+ |----------------|
2733
+ | learn-opt |
2734
+ +------+---------+
2735
+ |
2736
+ [FINAL REPORT]
2737
+ ```
2738
+
2739
+ ---
2740
+
2741
+ ## Inventory Summary
2742
+
2743
+ | Resource Type | Count | Primary | Conditional | Feedback |
2744
+ |---------------|:-----:|:-------:|:-----------:|:--------:|
2745
+ | **Agents** | 12 | 3 | 7 | 2 |
2746
+ | **Sub-agents** | 0 | - | - | - |
2747
+ | **Skills** | 5 | 3 | - | 2 |
2748
+ | **Domains** | 4 | 2 | 3 | 1 |
2749
+ | **Parallel Batches** | 3 | 1 | 1 | 1 |
2750
+
2751
+ **Skills Used:**
2752
+ 1. `shift-right-testing` - Post-deploy monitoring and observability patterns
2753
+ 2. `chaos-engineering-resilience` - Chaos engineering and resilience assessment
2754
+ 3. `quality-metrics` - DORA metrics and quality measurement frameworks
2755
+ 4. `performance-testing` - Performance SLA validation and benchmarking
2756
+ 5. `holistic-testing-pact` - Holistic testing model for cross-phase feedback
2757
+
2758
+ **Frameworks Applied:**
2759
+ 1. DORA Metrics Assessment - Four key metrics with Elite/High/Medium/Low classification
2760
+ 2. Root Cause Analysis (5-Why) - Systematic incident investigation
2761
+ 3. Defect Prediction - ML-powered trend analysis and density forecasting
2762
+ 4. Escape Analysis - Cross-phase defect tracking (which phase should have caught it)
2763
+ 5. SLA/SLO Compliance - Error budget and burn rate analysis
2764
+ 6. Feedback Loop Closure - Bidirectional knowledge transfer to Ideation and Refinement
2765
+
2766
+ ---
2767
+
2768
+ ## Key Principle
2769
+
2770
+ **Production health is measured by outcomes, not intentions. This swarm provides evidence-based production assessment and closes the QCSD feedback loop.**
2771
+
2772
+ This swarm provides:
2773
+ 1. **Are DORA metrics healthy?** -> DORA Metrics Assessment (4 dimensions)
2774
+ 2. **Are SLAs being met?** -> SLA/SLO Compliance (error budgets, burn rates)
2775
+ 3. **What is the defect trajectory?** -> Defect Prediction (trends, density, hotspots)
2776
+ 4. **What caused production incidents?** -> Root Cause Analysis (5-Why per incident)
2777
+ 5. **Which phase should have caught each defect?** -> Escape Analysis (cross-phase)
2778
+ 6. **Are recurring patterns being addressed?** -> Pattern Learning (if recurring incidents)
2779
+ 7. **Is infrastructure stable post-change?** -> Chaos Resilience (if infra changes)
2780
+ 8. **What should upstream phases learn?** -> Feedback Loop Closure (always)
2781
+ 9. **Is the release healthy?** -> HEALTHY/DEGRADED/CRITICAL decision