agentic-qe 3.3.0 → 3.3.2

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 (416) hide show
  1. package/README.md +6 -2
  2. package/package.json +6 -1
  3. package/v3/CHANGELOG.md +134 -0
  4. package/v3/dist/cli/bundle.js +29332 -22739
  5. package/v3/dist/cli/command-registry.d.ts +55 -0
  6. package/v3/dist/cli/command-registry.d.ts.map +1 -0
  7. package/v3/dist/cli/command-registry.js +103 -0
  8. package/v3/dist/cli/command-registry.js.map +1 -0
  9. package/v3/dist/cli/commands/code.d.ts +9 -0
  10. package/v3/dist/cli/commands/code.d.ts.map +1 -0
  11. package/v3/dist/cli/commands/code.js +254 -0
  12. package/v3/dist/cli/commands/code.js.map +1 -0
  13. package/v3/dist/cli/commands/completions.d.ts +8 -0
  14. package/v3/dist/cli/commands/completions.d.ts.map +1 -0
  15. package/v3/dist/cli/commands/completions.js +99 -0
  16. package/v3/dist/cli/commands/completions.js.map +1 -0
  17. package/v3/dist/cli/commands/coverage.d.ts +9 -0
  18. package/v3/dist/cli/commands/coverage.d.ts.map +1 -0
  19. package/v3/dist/cli/commands/coverage.js +208 -0
  20. package/v3/dist/cli/commands/coverage.js.map +1 -0
  21. package/v3/dist/cli/commands/fleet.d.ts +11 -0
  22. package/v3/dist/cli/commands/fleet.d.ts.map +1 -0
  23. package/v3/dist/cli/commands/fleet.js +338 -0
  24. package/v3/dist/cli/commands/fleet.js.map +1 -0
  25. package/v3/dist/cli/commands/migrate.d.ts +9 -0
  26. package/v3/dist/cli/commands/migrate.d.ts.map +1 -0
  27. package/v3/dist/cli/commands/migrate.js +566 -0
  28. package/v3/dist/cli/commands/migrate.js.map +1 -0
  29. package/v3/dist/cli/commands/quality.d.ts +9 -0
  30. package/v3/dist/cli/commands/quality.d.ts.map +1 -0
  31. package/v3/dist/cli/commands/quality.js +40 -0
  32. package/v3/dist/cli/commands/quality.js.map +1 -0
  33. package/v3/dist/cli/commands/security.d.ts +9 -0
  34. package/v3/dist/cli/commands/security.d.ts.map +1 -0
  35. package/v3/dist/cli/commands/security.js +124 -0
  36. package/v3/dist/cli/commands/security.js.map +1 -0
  37. package/v3/dist/cli/commands/sync.d.ts +19 -0
  38. package/v3/dist/cli/commands/sync.d.ts.map +1 -0
  39. package/v3/dist/cli/commands/sync.js +283 -0
  40. package/v3/dist/cli/commands/sync.js.map +1 -0
  41. package/v3/dist/cli/commands/test.d.ts +9 -0
  42. package/v3/dist/cli/commands/test.d.ts.map +1 -0
  43. package/v3/dist/cli/commands/test.js +166 -0
  44. package/v3/dist/cli/commands/test.js.map +1 -0
  45. package/v3/dist/cli/handlers/agent-handler.d.ts +20 -0
  46. package/v3/dist/cli/handlers/agent-handler.d.ts.map +1 -0
  47. package/v3/dist/cli/handlers/agent-handler.js +158 -0
  48. package/v3/dist/cli/handlers/agent-handler.js.map +1 -0
  49. package/v3/dist/cli/handlers/domain-handler.d.ts +20 -0
  50. package/v3/dist/cli/handlers/domain-handler.d.ts.map +1 -0
  51. package/v3/dist/cli/handlers/domain-handler.js +115 -0
  52. package/v3/dist/cli/handlers/domain-handler.js.map +1 -0
  53. package/v3/dist/cli/handlers/index.d.ts +13 -0
  54. package/v3/dist/cli/handlers/index.d.ts.map +1 -0
  55. package/v3/dist/cli/handlers/index.js +15 -0
  56. package/v3/dist/cli/handlers/index.js.map +1 -0
  57. package/v3/dist/cli/handlers/init-handler.d.ts +38 -0
  58. package/v3/dist/cli/handlers/init-handler.d.ts.map +1 -0
  59. package/v3/dist/cli/handlers/init-handler.js +288 -0
  60. package/v3/dist/cli/handlers/init-handler.js.map +1 -0
  61. package/v3/dist/cli/handlers/interfaces.d.ts +104 -0
  62. package/v3/dist/cli/handlers/interfaces.d.ts.map +1 -0
  63. package/v3/dist/cli/handlers/interfaces.js +109 -0
  64. package/v3/dist/cli/handlers/interfaces.js.map +1 -0
  65. package/v3/dist/cli/handlers/protocol-handler.d.ts +19 -0
  66. package/v3/dist/cli/handlers/protocol-handler.d.ts.map +1 -0
  67. package/v3/dist/cli/handlers/protocol-handler.js +79 -0
  68. package/v3/dist/cli/handlers/protocol-handler.js.map +1 -0
  69. package/v3/dist/cli/handlers/status-handler.d.ts +30 -0
  70. package/v3/dist/cli/handlers/status-handler.d.ts.map +1 -0
  71. package/v3/dist/cli/handlers/status-handler.js +218 -0
  72. package/v3/dist/cli/handlers/status-handler.js.map +1 -0
  73. package/v3/dist/cli/handlers/task-handler.d.ts +22 -0
  74. package/v3/dist/cli/handlers/task-handler.d.ts.map +1 -0
  75. package/v3/dist/cli/handlers/task-handler.js +271 -0
  76. package/v3/dist/cli/handlers/task-handler.js.map +1 -0
  77. package/v3/dist/cli/index.d.ts +4 -0
  78. package/v3/dist/cli/index.d.ts.map +1 -1
  79. package/v3/dist/cli/index.js +48 -2677
  80. package/v3/dist/cli/index.js.map +1 -1
  81. package/v3/dist/cli/wizards/core/index.d.ts +11 -0
  82. package/v3/dist/cli/wizards/core/index.d.ts.map +1 -0
  83. package/v3/dist/cli/wizards/core/index.js +15 -0
  84. package/v3/dist/cli/wizards/core/index.js.map +1 -0
  85. package/v3/dist/cli/wizards/core/wizard-base.d.ts +87 -0
  86. package/v3/dist/cli/wizards/core/wizard-base.d.ts.map +1 -0
  87. package/v3/dist/cli/wizards/core/wizard-base.js +120 -0
  88. package/v3/dist/cli/wizards/core/wizard-base.js.map +1 -0
  89. package/v3/dist/cli/wizards/core/wizard-command.d.ts +182 -0
  90. package/v3/dist/cli/wizards/core/wizard-command.d.ts.map +1 -0
  91. package/v3/dist/cli/wizards/core/wizard-command.js +45 -0
  92. package/v3/dist/cli/wizards/core/wizard-command.js.map +1 -0
  93. package/v3/dist/cli/wizards/core/wizard-step.d.ts +109 -0
  94. package/v3/dist/cli/wizards/core/wizard-step.d.ts.map +1 -0
  95. package/v3/dist/cli/wizards/core/wizard-step.js +384 -0
  96. package/v3/dist/cli/wizards/core/wizard-step.js.map +1 -0
  97. package/v3/dist/cli/wizards/core/wizard-utils.d.ts +117 -0
  98. package/v3/dist/cli/wizards/core/wizard-utils.d.ts.map +1 -0
  99. package/v3/dist/cli/wizards/core/wizard-utils.js +291 -0
  100. package/v3/dist/cli/wizards/core/wizard-utils.js.map +1 -0
  101. package/v3/dist/cli/wizards/coverage-wizard.d.ts +13 -68
  102. package/v3/dist/cli/wizards/coverage-wizard.d.ts.map +1 -1
  103. package/v3/dist/cli/wizards/coverage-wizard.js +127 -391
  104. package/v3/dist/cli/wizards/coverage-wizard.js.map +1 -1
  105. package/v3/dist/cli/wizards/fleet-wizard.d.ts +13 -64
  106. package/v3/dist/cli/wizards/fleet-wizard.d.ts.map +1 -1
  107. package/v3/dist/cli/wizards/fleet-wizard.js +150 -363
  108. package/v3/dist/cli/wizards/fleet-wizard.js.map +1 -1
  109. package/v3/dist/cli/wizards/index.d.ts +2 -0
  110. package/v3/dist/cli/wizards/index.d.ts.map +1 -1
  111. package/v3/dist/cli/wizards/index.js +3 -0
  112. package/v3/dist/cli/wizards/index.js.map +1 -1
  113. package/v3/dist/cli/wizards/security-wizard.d.ts +13 -64
  114. package/v3/dist/cli/wizards/security-wizard.d.ts.map +1 -1
  115. package/v3/dist/cli/wizards/security-wizard.js +152 -395
  116. package/v3/dist/cli/wizards/security-wizard.js.map +1 -1
  117. package/v3/dist/cli/wizards/test-wizard.d.ts +13 -77
  118. package/v3/dist/cli/wizards/test-wizard.d.ts.map +1 -1
  119. package/v3/dist/cli/wizards/test-wizard.js +196 -328
  120. package/v3/dist/cli/wizards/test-wizard.js.map +1 -1
  121. package/v3/dist/coordination/mincut/mincut-health-monitor.d.ts +3 -0
  122. package/v3/dist/coordination/mincut/mincut-health-monitor.d.ts.map +1 -1
  123. package/v3/dist/coordination/mincut/mincut-health-monitor.js +6 -2
  124. package/v3/dist/coordination/mincut/mincut-health-monitor.js.map +1 -1
  125. package/v3/dist/coordination/mincut/queen-integration.d.ts +3 -0
  126. package/v3/dist/coordination/mincut/queen-integration.d.ts.map +1 -1
  127. package/v3/dist/coordination/mincut/queen-integration.js +6 -1
  128. package/v3/dist/coordination/mincut/queen-integration.js.map +1 -1
  129. package/v3/dist/coordination/queen-coordinator.d.ts +13 -1
  130. package/v3/dist/coordination/queen-coordinator.d.ts.map +1 -1
  131. package/v3/dist/coordination/queen-coordinator.js +91 -3
  132. package/v3/dist/coordination/queen-coordinator.js.map +1 -1
  133. package/v3/dist/coordination/task-executor.js +2 -2
  134. package/v3/dist/coordination/task-executor.js.map +1 -1
  135. package/v3/dist/domains/chaos-resilience/plugin.js +2 -2
  136. package/v3/dist/domains/chaos-resilience/plugin.js.map +1 -1
  137. package/v3/dist/domains/code-intelligence/plugin.js +2 -2
  138. package/v3/dist/domains/code-intelligence/plugin.js.map +1 -1
  139. package/v3/dist/domains/contract-testing/plugin.js +2 -2
  140. package/v3/dist/domains/contract-testing/plugin.js.map +1 -1
  141. package/v3/dist/domains/coverage-analysis/plugin.d.ts +6 -1
  142. package/v3/dist/domains/coverage-analysis/plugin.d.ts.map +1 -1
  143. package/v3/dist/domains/coverage-analysis/plugin.js +75 -1
  144. package/v3/dist/domains/coverage-analysis/plugin.js.map +1 -1
  145. package/v3/dist/domains/defect-intelligence/plugin.js +2 -2
  146. package/v3/dist/domains/defect-intelligence/plugin.js.map +1 -1
  147. package/v3/dist/domains/domain-interface.d.ts +39 -2
  148. package/v3/dist/domains/domain-interface.d.ts.map +1 -1
  149. package/v3/dist/domains/domain-interface.js +102 -1
  150. package/v3/dist/domains/domain-interface.js.map +1 -1
  151. package/v3/dist/domains/learning-optimization/coordinator.d.ts +83 -0
  152. package/v3/dist/domains/learning-optimization/coordinator.d.ts.map +1 -1
  153. package/v3/dist/domains/learning-optimization/coordinator.js +174 -0
  154. package/v3/dist/domains/learning-optimization/coordinator.js.map +1 -1
  155. package/v3/dist/domains/learning-optimization/interfaces.d.ts +14 -0
  156. package/v3/dist/domains/learning-optimization/interfaces.d.ts.map +1 -1
  157. package/v3/dist/domains/learning-optimization/plugin.js +2 -2
  158. package/v3/dist/domains/learning-optimization/plugin.js.map +1 -1
  159. package/v3/dist/domains/quality-assessment/coordinator.d.ts +23 -0
  160. package/v3/dist/domains/quality-assessment/coordinator.d.ts.map +1 -1
  161. package/v3/dist/domains/quality-assessment/coordinator.js +139 -1
  162. package/v3/dist/domains/quality-assessment/coordinator.js.map +1 -1
  163. package/v3/dist/domains/quality-assessment/plugin.d.ts +6 -1
  164. package/v3/dist/domains/quality-assessment/plugin.d.ts.map +1 -1
  165. package/v3/dist/domains/quality-assessment/plugin.js +69 -2
  166. package/v3/dist/domains/quality-assessment/plugin.js.map +1 -1
  167. package/v3/dist/domains/requirements-validation/plugin.js +2 -2
  168. package/v3/dist/domains/requirements-validation/plugin.js.map +1 -1
  169. package/v3/dist/domains/security-compliance/plugin.js +2 -2
  170. package/v3/dist/domains/security-compliance/plugin.js.map +1 -1
  171. package/v3/dist/domains/test-execution/index.d.ts +2 -1
  172. package/v3/dist/domains/test-execution/index.d.ts.map +1 -1
  173. package/v3/dist/domains/test-execution/index.js +0 -2
  174. package/v3/dist/domains/test-execution/index.js.map +1 -1
  175. package/v3/dist/domains/test-execution/interfaces.d.ts +222 -25
  176. package/v3/dist/domains/test-execution/interfaces.d.ts.map +1 -1
  177. package/v3/dist/domains/test-execution/interfaces.js +130 -3
  178. package/v3/dist/domains/test-execution/interfaces.js.map +1 -1
  179. package/v3/dist/domains/test-execution/plugin.d.ts +6 -1
  180. package/v3/dist/domains/test-execution/plugin.d.ts.map +1 -1
  181. package/v3/dist/domains/test-execution/plugin.js +79 -1
  182. package/v3/dist/domains/test-execution/plugin.js.map +1 -1
  183. package/v3/dist/domains/test-execution/test-prioritization-types.d.ts +5 -172
  184. package/v3/dist/domains/test-execution/test-prioritization-types.d.ts.map +1 -1
  185. package/v3/dist/domains/test-execution/test-prioritization-types.js +6 -129
  186. package/v3/dist/domains/test-execution/test-prioritization-types.js.map +1 -1
  187. package/v3/dist/domains/test-execution/types/index.d.ts +7 -3
  188. package/v3/dist/domains/test-execution/types/index.d.ts.map +1 -1
  189. package/v3/dist/domains/test-execution/types/index.js +7 -17
  190. package/v3/dist/domains/test-execution/types/index.js.map +1 -1
  191. package/v3/dist/domains/test-generation/coordinator.d.ts +41 -1
  192. package/v3/dist/domains/test-generation/coordinator.d.ts.map +1 -1
  193. package/v3/dist/domains/test-generation/coordinator.js +187 -4
  194. package/v3/dist/domains/test-generation/coordinator.js.map +1 -1
  195. package/v3/dist/domains/test-generation/factories/index.d.ts +8 -0
  196. package/v3/dist/domains/test-generation/factories/index.d.ts.map +1 -0
  197. package/v3/dist/domains/test-generation/factories/index.js +8 -0
  198. package/v3/dist/domains/test-generation/factories/index.js.map +1 -0
  199. package/v3/dist/domains/test-generation/factories/test-generator-factory.d.ts +108 -0
  200. package/v3/dist/domains/test-generation/factories/test-generator-factory.d.ts.map +1 -0
  201. package/v3/dist/domains/test-generation/factories/test-generator-factory.js +158 -0
  202. package/v3/dist/domains/test-generation/factories/test-generator-factory.js.map +1 -0
  203. package/v3/dist/domains/test-generation/generators/base-test-generator.d.ts +79 -0
  204. package/v3/dist/domains/test-generation/generators/base-test-generator.d.ts.map +1 -0
  205. package/v3/dist/domains/test-generation/generators/base-test-generator.js +252 -0
  206. package/v3/dist/domains/test-generation/generators/base-test-generator.js.map +1 -0
  207. package/v3/dist/domains/test-generation/generators/index.d.ts +11 -0
  208. package/v3/dist/domains/test-generation/generators/index.d.ts.map +1 -0
  209. package/v3/dist/domains/test-generation/generators/index.js +13 -0
  210. package/v3/dist/domains/test-generation/generators/index.js.map +1 -0
  211. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.d.ts +77 -0
  212. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.d.ts.map +1 -0
  213. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.js +365 -0
  214. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.js.map +1 -0
  215. package/v3/dist/domains/test-generation/generators/mocha-generator.d.ts +56 -0
  216. package/v3/dist/domains/test-generation/generators/mocha-generator.d.ts.map +1 -0
  217. package/v3/dist/domains/test-generation/generators/mocha-generator.js +197 -0
  218. package/v3/dist/domains/test-generation/generators/mocha-generator.js.map +1 -0
  219. package/v3/dist/domains/test-generation/generators/pytest-generator.d.ts +66 -0
  220. package/v3/dist/domains/test-generation/generators/pytest-generator.d.ts.map +1 -0
  221. package/v3/dist/domains/test-generation/generators/pytest-generator.js +240 -0
  222. package/v3/dist/domains/test-generation/generators/pytest-generator.js.map +1 -0
  223. package/v3/dist/domains/test-generation/index.d.ts +2 -2
  224. package/v3/dist/domains/test-generation/index.d.ts.map +1 -1
  225. package/v3/dist/domains/test-generation/index.js +3 -3
  226. package/v3/dist/domains/test-generation/index.js.map +1 -1
  227. package/v3/dist/domains/test-generation/interfaces/index.d.ts +9 -0
  228. package/v3/dist/domains/test-generation/interfaces/index.d.ts.map +1 -0
  229. package/v3/dist/domains/test-generation/interfaces/index.js +9 -0
  230. package/v3/dist/domains/test-generation/interfaces/index.js.map +1 -0
  231. package/v3/dist/domains/test-generation/interfaces/test-generator.interface.d.ts +166 -0
  232. package/v3/dist/domains/test-generation/interfaces/test-generator.interface.d.ts.map +1 -0
  233. package/v3/dist/domains/test-generation/interfaces/test-generator.interface.js +8 -0
  234. package/v3/dist/domains/test-generation/interfaces/test-generator.interface.js.map +1 -0
  235. package/v3/dist/domains/test-generation/interfaces.d.ts +163 -24
  236. package/v3/dist/domains/test-generation/interfaces.d.ts.map +1 -1
  237. package/v3/dist/domains/test-generation/interfaces.js +2 -2
  238. package/v3/dist/domains/test-generation/plugin.d.ts +6 -1
  239. package/v3/dist/domains/test-generation/plugin.d.ts.map +1 -1
  240. package/v3/dist/domains/test-generation/plugin.js +90 -5
  241. package/v3/dist/domains/test-generation/plugin.js.map +1 -1
  242. package/v3/dist/domains/test-generation/{coherence-gate.d.ts → services/coherence-gate-service.d.ts} +4 -4
  243. package/v3/dist/domains/test-generation/services/coherence-gate-service.d.ts.map +1 -0
  244. package/v3/dist/domains/test-generation/{coherence-gate.js → services/coherence-gate-service.js} +2 -2
  245. package/v3/dist/domains/test-generation/services/coherence-gate-service.js.map +1 -0
  246. package/v3/dist/domains/test-generation/services/index.d.ts +8 -2
  247. package/v3/dist/domains/test-generation/services/index.d.ts.map +1 -1
  248. package/v3/dist/domains/test-generation/services/index.js +10 -3
  249. package/v3/dist/domains/test-generation/services/index.js.map +1 -1
  250. package/v3/dist/domains/test-generation/services/property-test-generator.d.ts +34 -0
  251. package/v3/dist/domains/test-generation/services/property-test-generator.d.ts.map +1 -0
  252. package/v3/dist/domains/test-generation/services/property-test-generator.js +306 -0
  253. package/v3/dist/domains/test-generation/services/property-test-generator.js.map +1 -0
  254. package/v3/dist/domains/test-generation/services/tdd-generator.d.ts +33 -0
  255. package/v3/dist/domains/test-generation/services/tdd-generator.d.ts.map +1 -0
  256. package/v3/dist/domains/test-generation/services/tdd-generator.js +342 -0
  257. package/v3/dist/domains/test-generation/services/tdd-generator.js.map +1 -0
  258. package/v3/dist/domains/test-generation/services/test-data-generator.d.ts +34 -0
  259. package/v3/dist/domains/test-generation/services/test-data-generator.d.ts.map +1 -0
  260. package/v3/dist/domains/test-generation/services/test-data-generator.js +245 -0
  261. package/v3/dist/domains/test-generation/services/test-data-generator.js.map +1 -0
  262. package/v3/dist/domains/test-generation/services/test-generator.d.ts +51 -160
  263. package/v3/dist/domains/test-generation/services/test-generator.d.ts.map +1 -1
  264. package/v3/dist/domains/test-generation/services/test-generator.js +101 -1858
  265. package/v3/dist/domains/test-generation/services/test-generator.js.map +1 -1
  266. package/v3/dist/domains/visual-accessibility/plugin.js +2 -2
  267. package/v3/dist/domains/visual-accessibility/plugin.js.map +1 -1
  268. package/v3/dist/init/phases/12-verification.d.ts +23 -0
  269. package/v3/dist/init/phases/12-verification.d.ts.map +1 -1
  270. package/v3/dist/init/phases/12-verification.js +185 -2
  271. package/v3/dist/init/phases/12-verification.js.map +1 -1
  272. package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.d.ts +24 -62
  273. package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.d.ts.map +1 -1
  274. package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.js +45 -497
  275. package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.js.map +1 -1
  276. package/v3/dist/integrations/agentic-flow/model-router/router.js +2 -2
  277. package/v3/dist/integrations/agentic-flow/model-router/router.js.map +1 -1
  278. package/v3/dist/integrations/agentic-flow/model-router/score-calculator.d.ts +98 -0
  279. package/v3/dist/integrations/agentic-flow/model-router/score-calculator.d.ts.map +1 -0
  280. package/v3/dist/integrations/agentic-flow/model-router/score-calculator.js +197 -0
  281. package/v3/dist/integrations/agentic-flow/model-router/score-calculator.js.map +1 -0
  282. package/v3/dist/integrations/agentic-flow/model-router/signal-collector.d.ts +102 -0
  283. package/v3/dist/integrations/agentic-flow/model-router/signal-collector.d.ts.map +1 -0
  284. package/v3/dist/integrations/agentic-flow/model-router/signal-collector.js +372 -0
  285. package/v3/dist/integrations/agentic-flow/model-router/signal-collector.js.map +1 -0
  286. package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.d.ts +64 -0
  287. package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.d.ts.map +1 -0
  288. package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.js +120 -0
  289. package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.js.map +1 -0
  290. package/v3/dist/integrations/coherence/coherence-service.d.ts.map +1 -1
  291. package/v3/dist/integrations/coherence/coherence-service.js +87 -30
  292. package/v3/dist/integrations/coherence/coherence-service.js.map +1 -1
  293. package/v3/dist/integrations/coherence/engines/spectral-adapter.d.ts.map +1 -1
  294. package/v3/dist/integrations/coherence/engines/spectral-adapter.js +124 -35
  295. package/v3/dist/integrations/coherence/engines/spectral-adapter.js.map +1 -1
  296. package/v3/dist/kernel/interfaces.d.ts +54 -1
  297. package/v3/dist/kernel/interfaces.d.ts.map +1 -1
  298. package/v3/dist/learning/dream/dream-scheduler.d.ts +302 -0
  299. package/v3/dist/learning/dream/dream-scheduler.d.ts.map +1 -0
  300. package/v3/dist/learning/dream/dream-scheduler.js +551 -0
  301. package/v3/dist/learning/dream/dream-scheduler.js.map +1 -0
  302. package/v3/dist/learning/dream/index.d.ts +1 -0
  303. package/v3/dist/learning/dream/index.d.ts.map +1 -1
  304. package/v3/dist/learning/dream/index.js +4 -0
  305. package/v3/dist/learning/dream/index.js.map +1 -1
  306. package/v3/dist/learning/memory-auditor.d.ts.map +1 -1
  307. package/v3/dist/learning/memory-auditor.js +3 -1
  308. package/v3/dist/learning/memory-auditor.js.map +1 -1
  309. package/v3/dist/mcp/bundle.js +30870 -23598
  310. package/v3/dist/mcp/handlers/core-handlers.d.ts.map +1 -1
  311. package/v3/dist/mcp/handlers/core-handlers.js +16 -2
  312. package/v3/dist/mcp/handlers/core-handlers.js.map +1 -1
  313. package/v3/dist/mcp/handlers/task-handlers.d.ts +1 -0
  314. package/v3/dist/mcp/handlers/task-handlers.d.ts.map +1 -1
  315. package/v3/dist/mcp/handlers/task-handlers.js +46 -12
  316. package/v3/dist/mcp/handlers/task-handlers.js.map +1 -1
  317. package/v3/dist/mcp/security/cve-prevention.d.ts +31 -134
  318. package/v3/dist/mcp/security/cve-prevention.d.ts.map +1 -1
  319. package/v3/dist/mcp/security/cve-prevention.js +37 -562
  320. package/v3/dist/mcp/security/cve-prevention.js.map +1 -1
  321. package/v3/dist/mcp/security/index.d.ts +5 -1
  322. package/v3/dist/mcp/security/index.d.ts.map +1 -1
  323. package/v3/dist/mcp/security/validators/command-validator.d.ts +41 -0
  324. package/v3/dist/mcp/security/validators/command-validator.d.ts.map +1 -0
  325. package/v3/dist/mcp/security/validators/command-validator.js +123 -0
  326. package/v3/dist/mcp/security/validators/command-validator.js.map +1 -0
  327. package/v3/dist/mcp/security/validators/crypto-validator.d.ts +40 -0
  328. package/v3/dist/mcp/security/validators/crypto-validator.d.ts.map +1 -0
  329. package/v3/dist/mcp/security/validators/crypto-validator.js +72 -0
  330. package/v3/dist/mcp/security/validators/crypto-validator.js.map +1 -0
  331. package/v3/dist/mcp/security/validators/index.d.ts +12 -0
  332. package/v3/dist/mcp/security/validators/index.d.ts.map +1 -0
  333. package/v3/dist/mcp/security/validators/index.js +22 -0
  334. package/v3/dist/mcp/security/validators/index.js.map +1 -0
  335. package/v3/dist/mcp/security/validators/input-sanitizer.d.ts +56 -0
  336. package/v3/dist/mcp/security/validators/input-sanitizer.d.ts.map +1 -0
  337. package/v3/dist/mcp/security/validators/input-sanitizer.js +157 -0
  338. package/v3/dist/mcp/security/validators/input-sanitizer.js.map +1 -0
  339. package/v3/dist/mcp/security/validators/interfaces.d.ts +164 -0
  340. package/v3/dist/mcp/security/validators/interfaces.d.ts.map +1 -0
  341. package/v3/dist/mcp/security/validators/interfaces.js +6 -0
  342. package/v3/dist/mcp/security/validators/interfaces.js.map +1 -0
  343. package/v3/dist/mcp/security/validators/path-traversal-validator.d.ts +50 -0
  344. package/v3/dist/mcp/security/validators/path-traversal-validator.d.ts.map +1 -0
  345. package/v3/dist/mcp/security/validators/path-traversal-validator.js +242 -0
  346. package/v3/dist/mcp/security/validators/path-traversal-validator.js.map +1 -0
  347. package/v3/dist/mcp/security/validators/regex-safety-validator.d.ts +50 -0
  348. package/v3/dist/mcp/security/validators/regex-safety-validator.d.ts.map +1 -0
  349. package/v3/dist/mcp/security/validators/regex-safety-validator.js +183 -0
  350. package/v3/dist/mcp/security/validators/regex-safety-validator.js.map +1 -0
  351. package/v3/dist/mcp/security/validators/validation-orchestrator.d.ts +66 -0
  352. package/v3/dist/mcp/security/validators/validation-orchestrator.d.ts.map +1 -0
  353. package/v3/dist/mcp/security/validators/validation-orchestrator.js +146 -0
  354. package/v3/dist/mcp/security/validators/validation-orchestrator.js.map +1 -0
  355. package/v3/dist/mcp/server.d.ts.map +1 -1
  356. package/v3/dist/mcp/server.js +1 -0
  357. package/v3/dist/mcp/server.js.map +1 -1
  358. package/v3/dist/mcp/services/reasoning-bank-service.d.ts +87 -13
  359. package/v3/dist/mcp/services/reasoning-bank-service.d.ts.map +1 -1
  360. package/v3/dist/mcp/services/reasoning-bank-service.js +291 -31
  361. package/v3/dist/mcp/services/reasoning-bank-service.js.map +1 -1
  362. package/v3/dist/mcp/tool-registry.d.ts +3 -1
  363. package/v3/dist/mcp/tool-registry.d.ts.map +1 -1
  364. package/v3/dist/mcp/tool-registry.js +155 -2
  365. package/v3/dist/mcp/tool-registry.js.map +1 -1
  366. package/v3/dist/mcp/tools/test-generation/generate.d.ts +1 -0
  367. package/v3/dist/mcp/tools/test-generation/generate.d.ts.map +1 -1
  368. package/v3/dist/mcp/tools/test-generation/generate.js +3 -2
  369. package/v3/dist/mcp/tools/test-generation/generate.js.map +1 -1
  370. package/v3/dist/routing/qe-agent-registry.d.ts +27 -0
  371. package/v3/dist/routing/qe-agent-registry.d.ts.map +1 -1
  372. package/v3/dist/routing/qe-agent-registry.js +96 -0
  373. package/v3/dist/routing/qe-agent-registry.js.map +1 -1
  374. package/v3/dist/shared/events/domain-events.d.ts +27 -0
  375. package/v3/dist/shared/events/domain-events.d.ts.map +1 -1
  376. package/v3/dist/shared/events/domain-events.js +1 -0
  377. package/v3/dist/shared/events/domain-events.js.map +1 -1
  378. package/v3/dist/sync/cloud/index.d.ts +8 -0
  379. package/v3/dist/sync/cloud/index.d.ts.map +1 -0
  380. package/v3/dist/sync/cloud/index.js +8 -0
  381. package/v3/dist/sync/cloud/index.js.map +1 -0
  382. package/v3/dist/sync/cloud/postgres-writer.d.ts +88 -0
  383. package/v3/dist/sync/cloud/postgres-writer.d.ts.map +1 -0
  384. package/v3/dist/sync/cloud/postgres-writer.js +319 -0
  385. package/v3/dist/sync/cloud/postgres-writer.js.map +1 -0
  386. package/v3/dist/sync/cloud/tunnel-manager.d.ts +75 -0
  387. package/v3/dist/sync/cloud/tunnel-manager.d.ts.map +1 -0
  388. package/v3/dist/sync/cloud/tunnel-manager.js +221 -0
  389. package/v3/dist/sync/cloud/tunnel-manager.js.map +1 -0
  390. package/v3/dist/sync/index.d.ts +35 -0
  391. package/v3/dist/sync/index.d.ts.map +1 -0
  392. package/v3/dist/sync/index.js +35 -0
  393. package/v3/dist/sync/index.js.map +1 -0
  394. package/v3/dist/sync/interfaces.d.ts +245 -0
  395. package/v3/dist/sync/interfaces.d.ts.map +1 -0
  396. package/v3/dist/sync/interfaces.js +160 -0
  397. package/v3/dist/sync/interfaces.js.map +1 -0
  398. package/v3/dist/sync/readers/index.d.ts +8 -0
  399. package/v3/dist/sync/readers/index.d.ts.map +1 -0
  400. package/v3/dist/sync/readers/index.js +8 -0
  401. package/v3/dist/sync/readers/index.js.map +1 -0
  402. package/v3/dist/sync/readers/json-reader.d.ts +95 -0
  403. package/v3/dist/sync/readers/json-reader.d.ts.map +1 -0
  404. package/v3/dist/sync/readers/json-reader.js +306 -0
  405. package/v3/dist/sync/readers/json-reader.js.map +1 -0
  406. package/v3/dist/sync/readers/sqlite-reader.d.ts +88 -0
  407. package/v3/dist/sync/readers/sqlite-reader.d.ts.map +1 -0
  408. package/v3/dist/sync/readers/sqlite-reader.js +255 -0
  409. package/v3/dist/sync/readers/sqlite-reader.js.map +1 -0
  410. package/v3/dist/sync/sync-agent.d.ts +116 -0
  411. package/v3/dist/sync/sync-agent.d.ts.map +1 -0
  412. package/v3/dist/sync/sync-agent.js +416 -0
  413. package/v3/dist/sync/sync-agent.js.map +1 -0
  414. package/v3/package.json +13 -2
  415. package/v3/dist/domains/test-generation/coherence-gate.d.ts.map +0 -1
  416. package/v3/dist/domains/test-generation/coherence-gate.js.map +0 -1
@@ -2,6 +2,7 @@
2
2
  * Agentic QE v3 - Test Execution Domain Plugin
3
3
  * Registers the test execution domain with the kernel
4
4
  */
5
+ import { err } from '../../shared/types';
5
6
  import { BaseDomainPlugin } from '../domain-interface';
6
7
  import { createTestExecutionCoordinator } from './coordinator';
7
8
  // ============================================================================
@@ -42,13 +43,90 @@ export class TestExecutionPlugin extends BaseDomainPlugin {
42
43
  return api;
43
44
  }
44
45
  // ============================================================================
46
+ // Task Handlers (Queen-Domain Integration)
47
+ // ============================================================================
48
+ /**
49
+ * Get task handlers for direct Queen-Domain integration
50
+ * Maps task types to coordinator methods
51
+ */
52
+ getTaskHandlers() {
53
+ return new Map([
54
+ // Execute tests task - main task type for this domain
55
+ ['execute-tests', async (payload) => {
56
+ if (!this.coordinator) {
57
+ return err(new Error('Coordinator not initialized'));
58
+ }
59
+ // Support both simple and full request formats
60
+ if (payload.testFiles && Array.isArray(payload.testFiles)) {
61
+ // Simple request format
62
+ const request = {
63
+ testFiles: payload.testFiles,
64
+ parallel: payload.parallel,
65
+ retryCount: payload.retryCount,
66
+ timeout: payload.timeout,
67
+ workers: payload.workers,
68
+ };
69
+ return this.coordinator.runTests(request);
70
+ }
71
+ else if (payload.framework) {
72
+ // Full request format
73
+ const request = {
74
+ testFiles: payload.testFiles || [],
75
+ framework: payload.framework,
76
+ timeout: payload.timeout,
77
+ env: payload.env,
78
+ reporters: payload.reporters,
79
+ };
80
+ return this.coordinator.execute(request);
81
+ }
82
+ return err(new Error('Invalid execute-tests payload: missing testFiles or framework'));
83
+ }],
84
+ // Detect flaky tests task
85
+ ['detect-flaky', async (payload) => {
86
+ if (!this.coordinator) {
87
+ return err(new Error('Coordinator not initialized'));
88
+ }
89
+ const testFiles = payload.testFiles;
90
+ const runs = payload.runs;
91
+ const threshold = payload.threshold;
92
+ if (!testFiles) {
93
+ return err(new Error('Invalid detect-flaky payload: missing testFiles'));
94
+ }
95
+ return this.coordinator.detectFlaky({
96
+ testFiles,
97
+ runs: runs ?? 5,
98
+ threshold: threshold ?? 0.1,
99
+ });
100
+ }],
101
+ // Retry failed tests task
102
+ ['retry-tests', async (payload) => {
103
+ if (!this.coordinator) {
104
+ return err(new Error('Coordinator not initialized'));
105
+ }
106
+ const runId = payload.runId;
107
+ const failedTests = payload.failedTests;
108
+ const maxRetries = payload.maxRetries;
109
+ if (!runId || !failedTests) {
110
+ return err(new Error('Invalid retry-tests payload: missing runId or failedTests'));
111
+ }
112
+ return this.coordinator.retry({
113
+ runId,
114
+ failedTests,
115
+ maxRetries: maxRetries ?? 3,
116
+ backoff: payload.backoff,
117
+ });
118
+ }],
119
+ ]);
120
+ }
121
+ // ============================================================================
45
122
  // Lifecycle Hooks
46
123
  // ============================================================================
47
124
  async onInitialize() {
48
125
  this.coordinator = createTestExecutionCoordinator(this.eventBus, this.memory);
49
126
  await this.coordinator.initialize();
127
+ // Issue #205 fix: Start with 'idle' status (0 agents)
50
128
  this.updateHealth({
51
- status: 'healthy',
129
+ status: 'idle',
52
130
  lastActivity: new Date(),
53
131
  });
54
132
  }
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../src/domains/test-execution/plugin.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,OAAO,EAA4B,8BAA8B,EAAE,MAAM,eAAe,CAAC;AAEzF,+EAA+E;AAC/E,wBAAwB;AACxB,+EAA+E;AAE/E,MAAM,OAAO,mBAAoB,SAAQ,gBAAgB;IAC/C,WAAW,GAAoC,IAAI,CAAC;IAE5D,YAAY,QAAkB,EAAE,MAAqB;QACnD,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAC1B,CAAC;IAED,IAAI,IAAI;QACN,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,IAAI,OAAO;QACT,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,IAAI,YAAY;QACd,8DAA8D;QAC9D,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;QAC5C,CAAC;QAED,MAAM,GAAG,GAAqB;YAC5B,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,C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K,CAAC,OAKrB,CAAC;QAEF,2DAA2D;QAC3D,IAAI,OAAO,CAAC,SAAS,GAAG,GAAG,EAAE,CAAC;YAC5B,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CACnB,gBAAgB,OAAO,CAAC,KAAK,EAAE,EAC/B;gBACE,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,cAAc,EAAE,OAAO,CAAC,cAAc;gBACtC,QAAQ,EAAE,MAAM;aACjB,EACD,EAAE,SAAS,EAAE,gBAAgB,EAAE,OAAO,EAAE,IAAI,EAAE,CAC/C,CAAC;QACJ,CAAC;QAED,IAAI,CAAC,YAAY,CAAC;YAChB,YAAY,EAAE,IAAI,IAAI,EAAE;SACzB,CAAC,CAAC;IACL,CAAC;CACF;AAED,+EAA+E;AAC/E,mBAAmB;AACnB,+EAA+E;AAE/E,MAAM,UAAU,yBAAyB,CACvC,QAAkB,EAClB,MAAqB;IAErB,OAAO,IAAI,mBAAmB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AACnD,CAAC"}
@@ -1,176 +1,9 @@
1
1
  /**
2
- * Agentic QE v3 - Test Prioritization Types for Decision Transformer
2
+ * Agentic QE v3 - Test Prioritization Types
3
+ * @deprecated This file has been merged into interfaces.ts - import from there instead
3
4
  *
4
- * Defines state and action spaces for test case prioritization using RL.
5
- * Maps test metadata to RL state features and priority decisions to actions.
5
+ * Re-exports for backward compatibility
6
6
  */
7
- import type { TestExecutionState, TestExecutionAction } from '../../integrations/rl-suite/interfaces.js';
8
- import type { Priority, DomainName } from '../../shared/types';
9
- /**
10
- * Extended test execution state for prioritization
11
- */
12
- export interface TestPrioritizationState extends TestExecutionState {
13
- /** Test file path */
14
- filePath: string;
15
- /** Test name within the file */
16
- testName: string;
17
- /** Test complexity score (0-1) */
18
- complexity: number;
19
- /** Estimated execution time (ms) */
20
- estimatedDuration: number;
21
- /** Code coverage percentage (0-100) */
22
- coverage: number;
23
- /** Recent failure rate (0-1) */
24
- failureRate: number;
25
- /** Flakiness score (0-1) */
26
- flakinessScore: number;
27
- /** Number of recent executions */
28
- executionCount: number;
29
- /** Time since last modification (ms) */
30
- timeSinceModification: number;
31
- /** Business criticality (0-1) */
32
- businessCriticality: number;
33
- /** Dependency count (number of tests this depends on) */
34
- dependencyCount: number;
35
- /** Priority assigned by human or rules */
36
- assignedPriority: Priority;
37
- /** Domain this test belongs to */
38
- domain: DomainName;
39
- }
40
- /**
41
- * Normalized feature vector for DT input
42
- * Features are normalized to [0, 1] range for stable training
43
- */
44
- export interface TestPrioritizationFeatures {
45
- /** Feature 0: Failure probability (recent history) */
46
- failureProbability: number;
47
- /** Feature 1: Flakiness score */
48
- flakiness: number;
49
- /** Feature 2: Complexity */
50
- complexity: number;
51
- /** Feature 3: Coverage gap (1 - coverage) */
52
- coverageGap: number;
53
- /** Feature 4: Business criticality */
54
- criticality: number;
55
- /** Feature 5: Execution speed (inverse of duration) */
56
- speed: number;
57
- /** Feature 6: Age (inverse of time since modification) */
58
- age: number;
59
- /** Feature 7: Dependency complexity */
60
- dependencyComplexity: number;
61
- }
62
- /**
63
- * Map test metadata to normalized feature vector
64
- */
65
- export declare function mapToFeatures(test: Partial<TestPrioritizationState>): TestPrioritizationFeatures;
66
- /**
67
- * Convert features to numeric array for RL algorithms
68
- */
69
- export declare function featuresToArray(features: TestPrioritizationFeatures): number[];
70
- /**
71
- * Priority level action for test ordering
72
- */
73
- export type PriorityAction = 'critical' | 'high' | 'standard' | 'low' | 'defer';
74
- /**
75
- * Test prioritization action
76
- */
77
- export interface TestPrioritizationAction extends TestExecutionAction {
78
- type: 'prioritize';
79
- /** Priority level */
80
- value: PriorityAction;
81
- /** Position in execution queue (0 = first) */
82
- position?: number;
83
- /** Reasoning for priority */
84
- reasoning?: string;
85
- /** Confidence score (0-1) */
86
- confidence: number;
87
- }
88
- /**
89
- * Map priority action to numeric score for sorting
90
- */
91
- export declare function priorityToScore(action: PriorityAction): number;
92
- /**
93
- * Map priority action to Priority enum
94
- */
95
- export declare function priorityActionToPriority(action: PriorityAction): Priority;
96
- /**
97
- * Execution context for prioritization decisions
98
- */
99
- export interface TestPrioritizationContext {
100
- /** Current run ID */
101
- runId: string;
102
- /** Total tests to execute */
103
- totalTests: number;
104
- /** Available execution time (ms) */
105
- availableTime: number;
106
- /** Number of workers for parallel execution */
107
- workers: number;
108
- /** Execution mode */
109
- mode: 'sequential' | 'parallel';
110
- /** Current phase */
111
- phase: 'regression' | 'ci' | 'local' | 'smoke';
112
- /** Previous run results (for learning) */
113
- history?: TestExecutionHistory[];
114
- }
115
- /**
116
- * Historical execution data for learning
117
- */
118
- export interface TestExecutionHistory {
119
- testId: string;
120
- timestamp: Date;
121
- passed: boolean;
122
- duration: number;
123
- priority: Priority;
124
- failureReason?: string;
125
- }
126
- /**
127
- * Reward components for test prioritization
128
- */
129
- export interface TestPrioritizationReward {
130
- /** Early failure detection reward */
131
- earlyDetection: number;
132
- /** Execution time efficiency */
133
- timeEfficiency: number;
134
- /** Coverage improvement */
135
- coverageGain: number;
136
- /** Flakiness reduction */
137
- flakinessReduction: number;
138
- /** Total reward */
139
- total: number;
140
- }
141
- /**
142
- * Calculate reward for test prioritization decision
143
- */
144
- export declare function calculatePrioritizationReward(context: TestPrioritizationContext, result: {
145
- failedEarly: boolean;
146
- executionTime: number;
147
- coverageImproved: boolean;
148
- flakyDetected: boolean;
149
- }): TestPrioritizationReward;
150
- /**
151
- * Input metadata for creating test prioritization state
152
- */
153
- export interface TestPrioritizationMetadata {
154
- filePath: string;
155
- testName: string;
156
- testType?: 'unit' | 'integration' | 'e2e' | 'performance' | 'security';
157
- priority?: Priority;
158
- complexity?: number;
159
- domain?: DomainName;
160
- dependencies?: string[];
161
- estimatedDuration?: number;
162
- coverage?: number;
163
- failureHistory?: number[];
164
- failureRate?: number;
165
- flakinessScore?: number;
166
- executionCount?: number;
167
- timeSinceModification?: number;
168
- businessCriticality?: number;
169
- dependencyCount?: number;
170
- assignedPriority?: Priority;
171
- }
172
- /**
173
- * Create test prioritization state from test metadata
174
- */
175
- export declare function createTestPrioritizationState(testId: string, metadata: TestPrioritizationMetadata): TestPrioritizationState;
7
+ export type { TestPrioritizationState, TestPrioritizationFeatures, PriorityAction, TestPrioritizationAction, TestPrioritizationContext, TestExecutionHistory, TestPrioritizationReward, TestPrioritizationMetadata, } from './interfaces';
8
+ export { mapToFeatures, featuresToArray, priorityToScore, priorityActionToPriority, calculatePrioritizationReward, createTestPrioritizationState, } from './interfaces';
176
9
  //# sourceMappingURL=test-prioritization-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"test-prioritization-types.d.ts","sourceRoot":"","sources":["../../../src/domains/test-execution/test-prioritization-types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACzG,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAM/D;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB;IACjE,qBAAqB;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,gCAAgC;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,kCAAkC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,uCAAuC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,gCAAgC;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,4BAA4B;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,kCAAkC;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,wCAAwC;IACxC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,iCAAiC;IACjC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,yDAAyD;IACzD,eAAe,EAAE,MAAM,CAAC;IACxB,0CAA0C;IAC1C,gBAAgB,EAAE,QAAQ,CAAC;IAC3B,kCAAkC;IAClC,MAAM,E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KAAK,GAAG,aAAa,GAAG,UAAU,CAAC;IACvE,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,QAAQ,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,0BAA0B,GACnC,uBAAuB,CA8BzB"}
1
+ {"version":3,"file":"test-prioritization-types.d.ts","sourceRoot":"","sources":["../../../src/domains/test-execution/test-prioritization-types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,YAAY,EAEV,uBAAuB,EACvB,0BAA0B,EAG1B,cAAc,EACd,wBAAwB,EAGxB,yBAAyB,EACzB,oBAAoB,EAGpB,wBAAwB,EAGxB,0BAA0B,GAC3B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAEL,aAAa,EACb,eAAe,EACf,eAAe,EACf,wBAAwB,EACxB,6BAA6B,EAC7B,6BAA6B,GAC9B,MAAM,cAAc,CAAC"}
@@ -1,133 +1,10 @@
1
1
  /**
2
- * Agentic QE v3 - Test Prioritization Types for Decision Transformer
2
+ * Agentic QE v3 - Test Prioritization Types
3
+ * @deprecated This file has been merged into interfaces.ts - import from there instead
3
4
  *
4
- * Defines state and action spaces for test case prioritization using RL.
5
- * Maps test metadata to RL state features and priority decisions to actions.
5
+ * Re-exports for backward compatibility
6
6
  */
7
- /**
8
- * Map test metadata to normalized feature vector
9
- */
10
- export function mapToFeatures(test) {
11
- // Normalize failure probability
12
- const failureProbability = Math.min(1, test.failureRate ?? 0);
13
- // Normalize flakiness
14
- const flakiness = Math.min(1, test.flakinessScore ?? 0);
15
- // Normalize complexity (already 0-1)
16
- const complexity = test.complexity ?? 0.5;
17
- // Calculate coverage gap
18
- const coverageGap = 1 - (test.coverage ?? 0) / 100;
19
- // Normalize criticality
20
- const criticality = test.businessCriticality ?? 0.5;
21
- // Normalize speed (faster = higher value)
22
- const maxDuration = 60000; // 1 minute as baseline
23
- const speed = Math.max(0, 1 - (test.estimatedDuration ?? 0) / maxDuration);
24
- // Normalize age (newer tests = higher priority for recent changes)
25
- const maxAge = 7 * 24 * 60 * 60 * 1000; // 1 week
26
- const age = Math.max(0, 1 - (test.timeSinceModification ?? 0) / maxAge);
27
- // Normalize dependency complexity
28
- const dependencyComplexity = Math.min(1, (test.dependencyCount ?? 0) / 10);
29
- return {
30
- failureProbability,
31
- flakiness,
32
- complexity,
33
- coverageGap,
34
- criticality,
35
- speed,
36
- age,
37
- dependencyComplexity,
38
- };
39
- }
40
- /**
41
- * Convert features to numeric array for RL algorithms
42
- */
43
- export function featuresToArray(features) {
44
- return [
45
- features.failureProbability,
46
- features.flakiness,
47
- features.complexity,
48
- features.coverageGap,
49
- features.criticality,
50
- features.speed,
51
- features.age,
52
- features.dependencyComplexity,
53
- ];
54
- }
55
- /**
56
- * Map priority action to numeric score for sorting
57
- */
58
- export function priorityToScore(action) {
59
- const scores = {
60
- critical: 100,
61
- high: 75,
62
- standard: 50,
63
- low: 25,
64
- defer: 0,
65
- };
66
- return scores[action];
67
- }
68
- /**
69
- * Map priority action to Priority enum
70
- */
71
- export function priorityActionToPriority(action) {
72
- const mapping = {
73
- critical: 'p0',
74
- high: 'p1',
75
- standard: 'p2',
76
- low: 'p3',
77
- defer: 'p3', // Map defer to lowest priority (p3)
78
- };
79
- return mapping[action];
80
- }
81
- /**
82
- * Calculate reward for test prioritization decision
83
- */
84
- export function calculatePrioritizationReward(context, result) {
85
- const earlyDetection = result.failedEarly ? 0.5 : 0;
86
- const timeEfficiency = context.availableTime > 0
87
- ? Math.max(0, 1 - result.executionTime / context.availableTime) * 0.3
88
- : 0;
89
- const coverageGain = result.coverageImproved ? 0.2 : 0;
90
- const flakinessReduction = result.flakyDetected ? 0.1 : 0;
91
- const total = earlyDetection + timeEfficiency + coverageGain + flakinessReduction;
92
- return {
93
- earlyDetection,
94
- timeEfficiency,
95
- coverageGain,
96
- flakinessReduction,
97
- total,
98
- };
99
- }
100
- /**
101
- * Create test prioritization state from test metadata
102
- */
103
- export function createTestPrioritizationState(testId, metadata) {
104
- const features = mapToFeatures(metadata);
105
- return {
106
- id: testId,
107
- features: featuresToArray(features),
108
- testId,
109
- testType: metadata.testType ?? 'unit',
110
- priority: metadata.priority ?? metadata.assignedPriority ?? 'p2',
111
- complexity: metadata.complexity ?? 0.5,
112
- domain: metadata.domain ?? 'test-execution',
113
- dependencies: metadata.dependencies ?? [],
114
- estimatedDuration: metadata.estimatedDuration ?? 5000,
115
- coverage: metadata.coverage ?? 0,
116
- failureHistory: metadata.failureHistory ?? [],
117
- filePath: metadata.filePath,
118
- testName: metadata.testName,
119
- failureRate: metadata.failureRate ?? 0,
120
- flakinessScore: metadata.flakinessScore ?? 0,
121
- executionCount: metadata.executionCount ?? 0,
122
- timeSinceModification: metadata.timeSinceModification ?? 0,
123
- businessCriticality: metadata.businessCriticality ?? 0.5,
124
- dependencyCount: metadata.dependencyCount ?? 0,
125
- assignedPriority: metadata.assignedPriority ?? metadata.priority ?? 'p2',
126
- timestamp: new Date(),
127
- metadata: {
128
- ...metadata,
129
- features,
130
- },
131
- };
132
- }
7
+ export {
8
+ // Utility functions
9
+ mapToFeatures, featuresToArray, priorityToScore, priorityActionToPriority, calculatePrioritizationReward, createTestPrioritizationState, } from './interfaces';
133
10
  //# sourceMappingURL=test-prioritization-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"test-prioritization-types.js","sourceRoot":"","sources":["../../../src/domains/test-execution/test-prioritization-types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAgEH;;GAEG;AACH,MAAM,UAAU,aAAa,CAC3B,IAAsC;IAEtC,gCAAgC;IAChC,MAAM,kBAAkB,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,WAAW,IAAI,CAAC,CAAC,CAAC;IAE9D,sBAAsB;IACtB,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,cAAc,IAAI,CAAC,CAAC,CAAC;IAExD,qCAAqC;IACrC,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,IAAI,GAAG,CAAC;IAE1C,yBAAyB;IACzB,MAAM,WAAW,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAC,GAAG,GAAG,CAAC;IAEnD,wBAAwB;IACxB,MAAM,WAAW,GAAG,IAAI,CAAC,mBAAmB,IAAI,GAAG,CAAC;IAEpD,0CAA0C;IAC1C,MAAM,WAAW,GAAG,KAAK,CAAC,CAAC,uBAAuB;IAClD,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,iBAAiB,IAAI,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC;IAE3E,mEAAmE;IACnE,MAAM,MAAM,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,SAAS;IACjD,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,qBAAqB,IAAI,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC;IAExE,kCAAkC;IAClC,MAAM,oBAAoB,GAAG,I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EAAE,QAAQ,CAAC,QAAQ;QAC3B,QAAQ,EAAE,QAAQ,CAAC,QAAQ;QAC3B,WAAW,EAAE,QAAQ,CAAC,WAAW,IAAI,CAAC;QACtC,cAAc,EAAE,QAAQ,CAAC,cAAc,IAAI,CAAC;QAC5C,cAAc,EAAE,QAAQ,CAAC,cAAc,IAAI,CAAC;QAC5C,qBAAqB,EAAE,QAAQ,CAAC,qBAAqB,IAAI,CAAC;QAC1D,mBAAmB,EAAE,QAAQ,CAAC,mBAAmB,IAAI,GAAG;QACxD,eAAe,EAAE,QAAQ,CAAC,eAAe,IAAI,CAAC;QAC9C,gBAAgB,EAAE,QAAQ,CAAC,gBAAgB,IAAI,QAAQ,CAAC,QAAQ,IAAI,IAAI;QACxE,SAAS,EAAE,IAAI,IAAI,EAAE;QACrB,QAAQ,EAAE;YACR,GAAG,QAAQ;YACX,QAAQ;SACT;KACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"test-prioritization-types.js","sourceRoot":"","sources":["../../../src/domains/test-execution/test-prioritization-types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAsBH,OAAO;AACL,oBAAoB;AACpB,aAAa,EACb,eAAe,EACf,eAAe,EACf,wBAAwB,EACxB,6BAA6B,EAC7B,6BAA6B,GAC9B,MAAM,cAAc,CAAC"}
@@ -1,7 +1,11 @@
1
1
  /**
2
2
  * Agentic QE v3 - Test Execution Domain Types
3
- * Public type exports for the test execution domain
3
+ * @deprecated This file has been merged into interfaces.ts - import from '../interfaces' instead
4
+ *
5
+ * Re-exports for backward compatibility
4
6
  */
5
- export { E2EStepType, type NavigateStepOptions, type ClickStepOptions, type TypeStepOptions, type WaitStepOptions, type WaitConditionType, type AssertStepOptions, type AssertionType, type ScreenshotStepOptions, type A11yCheckStepOptions, type StepOptions, type E2EStepBase, type NavigateStep, type ClickStep, type TypeStep, type WaitStep, type AssertStep, type ScreenshotStep, type A11yCheckStep, type E2EStep, type E2EStepResult, type Viewport, type BrowserContextOptions, type E2ETestHooks, type E2ETestCase, type E2ETestResult, type E2ETestSuite, type E2ETestSuiteResult, createNavigateStep, createClickStep, createTypeStep, createWaitStep, createAssertStep, createScreenshotStep, createA11yCheckStep, createE2ETestCase, isNavigateStep, isClickStep, isTypeStep, isWaitStep, isAssertStep, isScreenshotStep, isA11yCheckStep, type ExtractStepType, type StepOptionsFor, type E2EStepBuilder, type SerializableE2ETestCase, } from './e2e-step.types';
6
- export { FlowCategory, FlowStatus, RecordedActionType, type RecordedAction, type NavigateAction, type ClickAction, type TypeAction, type HoverAction, type ScrollAction, type SelectAction, type UploadAction, type DownloadAction, type DragDropAction, type KeyboardAction, type AssertionAction, type AnyRecordedAction, type FlowTemplateBase, type LoginFlowTemplate, type CheckoutFlowTemplate, type FormSubmissionFlowTemplate, type SearchFlowTemplate, type NavigationFlowTemplate, type FlowTemplate, type RecordingConfig, type RecordingSession, DEFAULT_RECORDING_CONFIG, type UserFlow, type CodeGenerationOptions, type GeneratedTestCode, DEFAULT_CODE_GENERATION_OPTIONS, isNavigateAction, isClickAction, isTypeAction, isAssertionAction, isLoginFlowTemplate, isCheckoutFlowTemplate, isFormSubmissionFlowTemplate, isSearchFlowTemplate, isNavigationFlowTemplate, } from './flow-templates.types';
7
+ export type { E2EStepType, NavigateStepOptions, ClickStepOptions, TypeStepOptions, WaitStepOptions, WaitConditionType, AssertStepOptions, AssertionType, ScreenshotStepOptions, A11yCheckStepOptions, StepOptions, E2EStepBase, NavigateStep, ClickStep, TypeStep, WaitStep, AssertStep, ScreenshotStep, A11yCheckStep, E2EStep, E2EStepResult, Viewport, BrowserContextOptions, E2ETestHooks, E2ETestCase, E2ETestResult, E2ETestSuite, E2ETestSuiteResult, ExtractStepType, StepOptionsFor, E2EStepBuilder, SerializableE2ETestCase, } from './e2e-step.types';
8
+ export type { FlowCategory, FlowStatus, RecordedActionType, RecordedAction, NavigateAction, ClickAction, TypeAction, HoverAction, ScrollAction, SelectAction, UploadAction, DownloadAction, DragDropAction, KeyboardAction, AssertionAction, AnyRecordedAction, FlowTemplateBase, LoginFlowTemplate, CheckoutFlowTemplate, FormSubmissionFlowTemplate, SearchFlowTemplate, NavigationFlowTemplate, FlowTemplate, RecordingConfig, RecordingSession, UserFlow, CodeGenerationOptions, GeneratedTestCode, } from './flow-templates.types';
9
+ export { createNavigateStep, createClickStep, createTypeStep, createWaitStep, createAssertStep, createScreenshotStep, createA11yCheckStep, createE2ETestCase, isNavigateStep, isClickStep, isTypeStep, isWaitStep, isAssertStep, isScreenshotStep, isA11yCheckStep, } from './e2e-step.types';
10
+ export { isNavigateAction, isClickAction, isTypeAction, isAssertionAction, isLoginFlowTemplate, isCheckoutFlowTemplate, isFormSubmissionFlowTemplate, isSearchFlowTemplate, isNavigationFlowTemplate, DEFAULT_RECORDING_CONFIG, DEFAULT_CODE_GENERATION_OPTIONS, } from './flow-templates.types';
7
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/domains/test-execution/types/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,OAAO,EAEL,WAAW,EAGX,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAGhB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,OAAO,EAGZ,KAAK,aAAa,EAGlB,KAAK,QAAQ,EACb,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,WAAW,EAGhB,KAAK,aAAa,EAGlB,KAAK,YAAY,EACjB,KAAK,kBAAkB,EAGvB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EAGjB,cAAc,EACd,WAAW,EACX,UAAU,EACV,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,eAAe,EAGf,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,uBAAuB,GAC7B,MAAM,kBAAkB,CAAC;AAM1B,OAAO,EAEL,YAAY,EACZ,UAAU,EACV,kBAAkB,EAGlB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EAGtB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,YAAY,EAGjB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,wBAAwB,EAGxB,KAAK,QAAQ,EACb,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,+BAA+B,EAG/B,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,EAC5B,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/domains/test-execution/types/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,YAAY,EAEV,WAAW,EACX,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACb,qBAAqB,EACrB,oBAAoB,EACpB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,cAAc,EACd,aAAa,EACb,OAAO,EACP,aAAa,EACb,QAAQ,EACR,qBAAqB,EACrB,YAAY,EACZ,WAAW,EACX,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,cAAc,EACd,uBAAuB,GACxB,MAAM,kBAAkB,CAAC;AAE1B,YAAY,EAEV,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,WAAW,EACX,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,cAAc,EACd,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,0BAA0B,EAC1B,kBAAkB,EAClB,sBAAsB,EACtB,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,QAAQ,EACR,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAEL,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,UAAU,EACV,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAEL,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,EAC5B,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,+BAA+B,GAChC,MAAM,wBAAwB,CAAC"}
@@ -1,23 +1,13 @@
1
1
  /**
2
2
  * Agentic QE v3 - Test Execution Domain Types
3
- * Public type exports for the test execution domain
3
+ * @deprecated This file has been merged into interfaces.ts - import from '../interfaces' instead
4
+ *
5
+ * Re-exports for backward compatibility
4
6
  */
5
- // ============================================================================
6
- // E2E Step Types
7
- // ============================================================================
8
7
  export {
9
- // Step Type Enumeration
10
- E2EStepType,
11
- // Factory Functions
12
- createNavigateStep, createClickStep, createTypeStep, createWaitStep, createAssertStep, createScreenshotStep, createA11yCheckStep, createE2ETestCase,
13
- // Type Guards
14
- isNavigateStep, isClickStep, isTypeStep, isWaitStep, isAssertStep, isScreenshotStep, isA11yCheckStep, } from './e2e-step.types';
15
- // ============================================================================
16
- // Flow Template Types
17
- // ============================================================================
8
+ // E2E Step Type Guards and Factories
9
+ createNavigateStep, createClickStep, createTypeStep, createWaitStep, createAssertStep, createScreenshotStep, createA11yCheckStep, createE2ETestCase, isNavigateStep, isClickStep, isTypeStep, isWaitStep, isAssertStep, isScreenshotStep, isA11yCheckStep, } from './e2e-step.types';
18
10
  export {
19
- // Enumerations
20
- FlowCategory, FlowStatus, RecordedActionType, DEFAULT_RECORDING_CONFIG, DEFAULT_CODE_GENERATION_OPTIONS,
21
- // Type Guards
22
- isNavigateAction, isClickAction, isTypeAction, isAssertionAction, isLoginFlowTemplate, isCheckoutFlowTemplate, isFormSubmissionFlowTemplate, isSearchFlowTemplate, isNavigationFlowTemplate, } from './flow-templates.types';
11
+ // Flow Template Type Guards and Constants
12
+ isNavigateAction, isClickAction, isTypeAction, isAssertionAction, isLoginFlowTemplate, isCheckoutFlowTemplate, isFormSubmissionFlowTemplate, isSearchFlowTemplate, isNavigationFlowTemplate, DEFAULT_RECORDING_CONFIG, DEFAULT_CODE_GENERATION_OPTIONS, } from './flow-templates.types';
23
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domains/test-execution/types/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,+EAA+E;AAC/E,iBAAiB;AACjB,+EAA+E;AAE/E,OAAO;AACL,wBAAwB;AACxB,WAAW;AAyCX,oBAAoB;AACpB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB;AAEjB,cAAc;AACd,cAAc,EACd,WAAW,EACX,UAAU,EACV,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,eAAe,GAOhB,MAAM,kBAAkB,CAAC;AAE1B,+EAA+E;AAC/E,sBAAsB;AACtB,+EAA+E;AAE/E,OAAO;AACL,eAAe;AACf,YAAY,EACZ,UAAU,EACV,kBAAkB,EA6BlB,wBAAwB,EAMxB,+BAA+B;AAE/B,cAAc;AACd,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,EAC5B,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domains/test-execution/types/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAsEH,OAAO;AACL,qCAAqC;AACrC,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,UAAU,EACV,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAE1B,OAAO;AACL,0CAA0C;AAC1C,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,EAC5B,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,+BAA+B,GAChC,MAAM,wBAAwB,CAAC"}
@@ -12,7 +12,7 @@ import { EventBus, MemoryBackend, AgentCoordinator } from '../../kernel/interfac
12
12
  import { GenerateTestsRequest, GeneratedTests, TDDRequest, TDDResult, PropertyTestRequest, PropertyTests, TestDataRequest, TestData, LearnPatternsRequest, LearnedPatterns, TestGenerationAPI } from './interfaces';
13
13
  import { type QEPatternType, type QESONAStats } from '../../integrations/ruvector/wrappers.js';
14
14
  import { type QEWorkloadType, type QEFlashAttentionMetrics } from '../../integrations/ruvector/wrappers.js';
15
- import { type Requirement, type RequirementCoherenceResult } from './coherence-gate.js';
15
+ import { type Requirement, type RequirementCoherenceResult } from './services/coherence-gate-service.js';
16
16
  import type { ICoherenceService } from '../../integrations/coherence/coherence-service.js';
17
17
  /**
18
18
  * Interface for the test generation coordinator
@@ -79,6 +79,8 @@ export declare class TestGenerationCoordinator implements ITestGenerationCoordin
79
79
  private flashAttention;
80
80
  private decisionTransformer;
81
81
  private testEmbeddings;
82
+ private readonly domainName;
83
+ private recentDreamInsights;
82
84
  private coherenceGate;
83
85
  constructor(eventBus: EventBus, memory: MemoryBackend, agentCoordinator: AgentCoordinator, config?: Partial<CoordinatorConfig>, coherenceService?: (ICoherenceService | null) | undefined);
84
86
  /**
@@ -131,6 +133,44 @@ export declare class TestGenerationCoordinator implements ITestGenerationCoordin
131
133
  private updateWorkflowProgress;
132
134
  private getTDDProgress;
133
135
  private subscribeToEvents;
136
+ /**
137
+ * Subscribe to dream cycle completion events from learning-optimization domain.
138
+ * Dream insights can suggest edge cases, novel test patterns, and optimization opportunities.
139
+ */
140
+ private subscribeToDreamEvents;
141
+ /**
142
+ * Handle dream cycle completion event.
143
+ * Filters insights relevant to test generation and applies actionable ones.
144
+ */
145
+ private handleDreamCycleCompleted;
146
+ /**
147
+ * Apply a dream insight by storing it as a learned pattern via SONA.
148
+ * This allows the insight to influence future test generation decisions.
149
+ *
150
+ * @param insight - The dream insight to apply
151
+ * @param cycleId - The dream cycle ID for tracking
152
+ */
153
+ private applyDreamInsight;
154
+ /**
155
+ * Get recent dream insights filtered by type.
156
+ * Used by test generation methods to enhance test case discovery.
157
+ *
158
+ * @param insightType - Optional type filter (e.g., 'novel_association', 'gap_detection')
159
+ * @returns Array of recent dream insights
160
+ */
161
+ private getRecentDreamInsights;
162
+ /**
163
+ * Enhance test generation request with dream insights for edge case discovery.
164
+ * Queries recent dream insights to suggest additional test scenarios.
165
+ *
166
+ * @param request - The original test generation request
167
+ * @returns Array of suggested edge case descriptions from dream insights
168
+ */
169
+ private enhanceWithDreamInsights;
170
+ /**
171
+ * Encode a dream insight as feature vector for SONA pattern creation.
172
+ */
173
+ private encodeInsightAsFeatures;
134
174
  private handleCoverageGapDetected;
135
175
  private handleTestRunCompleted;
136
176
  private learnFromGeneration;
@@ -1 +1 @@
1
- {"version":3,"file":"coordinator.d.ts","sourceRoot":"","sources":["../../../src/domains/test-generation/coordinator.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EACL,MAAM,EAGP,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,QAAQ,EACR,aAAa,EACb,gBAAgB,EAEjB,MAAM,yBAAyB,CAAC;AAOjC,OAAO,EACL,oBAAoB,EACpB,cAAc,EAEd,UAAU,EACV,SAAS,EACT,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,QAAQ,EACR,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EAClB,MAAM,cAAc,CAAC;AAmBtB,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,WAAW,EACjB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC7B,MAAM,yCAAyC,CAAC;AAcjD,OAAO,EAIL,KAAK,WAAW,EAEhB,KAAK,0BAA0B,EAChC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mDAAmD,CAAC;AAE3F;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,iBAAiB;IACnE,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,kBAAkB,IAAI,cAAc,EAAE,CAAC;IAEvC,cAAc,IAAI,WAAW,GAAG,IAAI,CAAC;IACrC,wBA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