agentic-qe 3.2.3 → 3.3.1

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 (658) hide show
  1. package/.claude/agents/v3/qe-accessibility-auditor.md +90 -0
  2. package/README.md +49 -7
  3. package/package.json +8 -2
  4. package/scripts/cloud-db-config.json +37 -0
  5. package/scripts/cloud-db-connect.sh +37 -0
  6. package/scripts/cloud-db-tunnel.sh +23 -0
  7. package/v3/CHANGELOG.md +253 -0
  8. package/v3/README.md +59 -1
  9. package/v3/assets/agents/v3/qe-accessibility-auditor.md +90 -0
  10. package/v3/dist/adapters/claude-flow/index.d.ts +54 -0
  11. package/v3/dist/adapters/claude-flow/index.d.ts.map +1 -0
  12. package/v3/dist/adapters/claude-flow/index.js +79 -0
  13. package/v3/dist/adapters/claude-flow/index.js.map +1 -0
  14. package/v3/dist/adapters/claude-flow/model-router-bridge.d.ts +70 -0
  15. package/v3/dist/adapters/claude-flow/model-router-bridge.d.ts.map +1 -0
  16. package/v3/dist/adapters/claude-flow/model-router-bridge.js +203 -0
  17. package/v3/dist/adapters/claude-flow/model-router-bridge.js.map +1 -0
  18. package/v3/dist/adapters/claude-flow/pretrain-bridge.d.ts +73 -0
  19. package/v3/dist/adapters/claude-flow/pretrain-bridge.d.ts.map +1 -0
  20. package/v3/dist/adapters/claude-flow/pretrain-bridge.js +276 -0
  21. package/v3/dist/adapters/claude-flow/pretrain-bridge.js.map +1 -0
  22. package/v3/dist/adapters/claude-flow/trajectory-bridge.d.ts +70 -0
  23. package/v3/dist/adapters/claude-flow/trajectory-bridge.d.ts.map +1 -0
  24. package/v3/dist/adapters/claude-flow/trajectory-bridge.js +205 -0
  25. package/v3/dist/adapters/claude-flow/trajectory-bridge.js.map +1 -0
  26. package/v3/dist/adapters/claude-flow/types.d.ts +99 -0
  27. package/v3/dist/adapters/claude-flow/types.d.ts.map +1 -0
  28. package/v3/dist/adapters/claude-flow/types.js +6 -0
  29. package/v3/dist/adapters/claude-flow/types.js.map +1 -0
  30. package/v3/dist/causal-discovery/causal-graph.d.ts +80 -1
  31. package/v3/dist/causal-discovery/causal-graph.d.ts.map +1 -1
  32. package/v3/dist/causal-discovery/causal-graph.js +111 -1
  33. package/v3/dist/causal-discovery/causal-graph.js.map +1 -1
  34. package/v3/dist/cli/bundle.js +25321 -15378
  35. package/v3/dist/cli/command-registry.d.ts +55 -0
  36. package/v3/dist/cli/command-registry.d.ts.map +1 -0
  37. package/v3/dist/cli/command-registry.js +103 -0
  38. package/v3/dist/cli/command-registry.js.map +1 -0
  39. package/v3/dist/cli/commands/claude-flow-setup.d.ts +82 -0
  40. package/v3/dist/cli/commands/claude-flow-setup.d.ts.map +1 -0
  41. package/v3/dist/cli/commands/claude-flow-setup.js +334 -0
  42. package/v3/dist/cli/commands/claude-flow-setup.js.map +1 -0
  43. package/v3/dist/cli/commands/code.d.ts +9 -0
  44. package/v3/dist/cli/commands/code.d.ts.map +1 -0
  45. package/v3/dist/cli/commands/code.js +254 -0
  46. package/v3/dist/cli/commands/code.js.map +1 -0
  47. package/v3/dist/cli/commands/completions.d.ts +8 -0
  48. package/v3/dist/cli/commands/completions.d.ts.map +1 -0
  49. package/v3/dist/cli/commands/completions.js +99 -0
  50. package/v3/dist/cli/commands/completions.js.map +1 -0
  51. package/v3/dist/cli/commands/coverage.d.ts +9 -0
  52. package/v3/dist/cli/commands/coverage.d.ts.map +1 -0
  53. package/v3/dist/cli/commands/coverage.js +208 -0
  54. package/v3/dist/cli/commands/coverage.js.map +1 -0
  55. package/v3/dist/cli/commands/fleet.d.ts +11 -0
  56. package/v3/dist/cli/commands/fleet.d.ts.map +1 -0
  57. package/v3/dist/cli/commands/fleet.js +338 -0
  58. package/v3/dist/cli/commands/fleet.js.map +1 -0
  59. package/v3/dist/cli/commands/hooks.d.ts +2 -0
  60. package/v3/dist/cli/commands/hooks.d.ts.map +1 -1
  61. package/v3/dist/cli/commands/hooks.js +13 -2
  62. package/v3/dist/cli/commands/hooks.js.map +1 -1
  63. package/v3/dist/cli/commands/init.d.ts +19 -0
  64. package/v3/dist/cli/commands/init.d.ts.map +1 -0
  65. package/v3/dist/cli/commands/init.js +345 -0
  66. package/v3/dist/cli/commands/init.js.map +1 -0
  67. package/v3/dist/cli/commands/migrate.d.ts +9 -0
  68. package/v3/dist/cli/commands/migrate.d.ts.map +1 -0
  69. package/v3/dist/cli/commands/migrate.js +566 -0
  70. package/v3/dist/cli/commands/migrate.js.map +1 -0
  71. package/v3/dist/cli/commands/quality.d.ts +9 -0
  72. package/v3/dist/cli/commands/quality.d.ts.map +1 -0
  73. package/v3/dist/cli/commands/quality.js +40 -0
  74. package/v3/dist/cli/commands/quality.js.map +1 -0
  75. package/v3/dist/cli/commands/security.d.ts +9 -0
  76. package/v3/dist/cli/commands/security.d.ts.map +1 -0
  77. package/v3/dist/cli/commands/security.js +124 -0
  78. package/v3/dist/cli/commands/security.js.map +1 -0
  79. package/v3/dist/cli/commands/sync.d.ts +19 -0
  80. package/v3/dist/cli/commands/sync.d.ts.map +1 -0
  81. package/v3/dist/cli/commands/sync.js +283 -0
  82. package/v3/dist/cli/commands/sync.js.map +1 -0
  83. package/v3/dist/cli/commands/test.d.ts +9 -0
  84. package/v3/dist/cli/commands/test.d.ts.map +1 -0
  85. package/v3/dist/cli/commands/test.js +166 -0
  86. package/v3/dist/cli/commands/test.js.map +1 -0
  87. package/v3/dist/cli/handlers/agent-handler.d.ts +20 -0
  88. package/v3/dist/cli/handlers/agent-handler.d.ts.map +1 -0
  89. package/v3/dist/cli/handlers/agent-handler.js +158 -0
  90. package/v3/dist/cli/handlers/agent-handler.js.map +1 -0
  91. package/v3/dist/cli/handlers/domain-handler.d.ts +20 -0
  92. package/v3/dist/cli/handlers/domain-handler.d.ts.map +1 -0
  93. package/v3/dist/cli/handlers/domain-handler.js +115 -0
  94. package/v3/dist/cli/handlers/domain-handler.js.map +1 -0
  95. package/v3/dist/cli/handlers/index.d.ts +13 -0
  96. package/v3/dist/cli/handlers/index.d.ts.map +1 -0
  97. package/v3/dist/cli/handlers/index.js +15 -0
  98. package/v3/dist/cli/handlers/index.js.map +1 -0
  99. package/v3/dist/cli/handlers/init-handler.d.ts +38 -0
  100. package/v3/dist/cli/handlers/init-handler.d.ts.map +1 -0
  101. package/v3/dist/cli/handlers/init-handler.js +288 -0
  102. package/v3/dist/cli/handlers/init-handler.js.map +1 -0
  103. package/v3/dist/cli/handlers/interfaces.d.ts +104 -0
  104. package/v3/dist/cli/handlers/interfaces.d.ts.map +1 -0
  105. package/v3/dist/cli/handlers/interfaces.js +109 -0
  106. package/v3/dist/cli/handlers/interfaces.js.map +1 -0
  107. package/v3/dist/cli/handlers/protocol-handler.d.ts +19 -0
  108. package/v3/dist/cli/handlers/protocol-handler.d.ts.map +1 -0
  109. package/v3/dist/cli/handlers/protocol-handler.js +79 -0
  110. package/v3/dist/cli/handlers/protocol-handler.js.map +1 -0
  111. package/v3/dist/cli/handlers/status-handler.d.ts +30 -0
  112. package/v3/dist/cli/handlers/status-handler.d.ts.map +1 -0
  113. package/v3/dist/cli/handlers/status-handler.js +218 -0
  114. package/v3/dist/cli/handlers/status-handler.js.map +1 -0
  115. package/v3/dist/cli/handlers/task-handler.d.ts +22 -0
  116. package/v3/dist/cli/handlers/task-handler.d.ts.map +1 -0
  117. package/v3/dist/cli/handlers/task-handler.js +271 -0
  118. package/v3/dist/cli/handlers/task-handler.js.map +1 -0
  119. package/v3/dist/cli/index.d.ts +4 -0
  120. package/v3/dist/cli/index.d.ts.map +1 -1
  121. package/v3/dist/cli/index.js +62 -2583
  122. package/v3/dist/cli/index.js.map +1 -1
  123. package/v3/dist/cli/wizards/core/index.d.ts +11 -0
  124. package/v3/dist/cli/wizards/core/index.d.ts.map +1 -0
  125. package/v3/dist/cli/wizards/core/index.js +15 -0
  126. package/v3/dist/cli/wizards/core/index.js.map +1 -0
  127. package/v3/dist/cli/wizards/core/wizard-base.d.ts +87 -0
  128. package/v3/dist/cli/wizards/core/wizard-base.d.ts.map +1 -0
  129. package/v3/dist/cli/wizards/core/wizard-base.js +120 -0
  130. package/v3/dist/cli/wizards/core/wizard-base.js.map +1 -0
  131. package/v3/dist/cli/wizards/core/wizard-command.d.ts +182 -0
  132. package/v3/dist/cli/wizards/core/wizard-command.d.ts.map +1 -0
  133. package/v3/dist/cli/wizards/core/wizard-command.js +45 -0
  134. package/v3/dist/cli/wizards/core/wizard-command.js.map +1 -0
  135. package/v3/dist/cli/wizards/core/wizard-step.d.ts +109 -0
  136. package/v3/dist/cli/wizards/core/wizard-step.d.ts.map +1 -0
  137. package/v3/dist/cli/wizards/core/wizard-step.js +384 -0
  138. package/v3/dist/cli/wizards/core/wizard-step.js.map +1 -0
  139. package/v3/dist/cli/wizards/core/wizard-utils.d.ts +117 -0
  140. package/v3/dist/cli/wizards/core/wizard-utils.d.ts.map +1 -0
  141. package/v3/dist/cli/wizards/core/wizard-utils.js +291 -0
  142. package/v3/dist/cli/wizards/core/wizard-utils.js.map +1 -0
  143. package/v3/dist/cli/wizards/coverage-wizard.d.ts +13 -68
  144. package/v3/dist/cli/wizards/coverage-wizard.d.ts.map +1 -1
  145. package/v3/dist/cli/wizards/coverage-wizard.js +127 -391
  146. package/v3/dist/cli/wizards/coverage-wizard.js.map +1 -1
  147. package/v3/dist/cli/wizards/fleet-wizard.d.ts +13 -64
  148. package/v3/dist/cli/wizards/fleet-wizard.d.ts.map +1 -1
  149. package/v3/dist/cli/wizards/fleet-wizard.js +150 -363
  150. package/v3/dist/cli/wizards/fleet-wizard.js.map +1 -1
  151. package/v3/dist/cli/wizards/index.d.ts +2 -0
  152. package/v3/dist/cli/wizards/index.d.ts.map +1 -1
  153. package/v3/dist/cli/wizards/index.js +3 -0
  154. package/v3/dist/cli/wizards/index.js.map +1 -1
  155. package/v3/dist/cli/wizards/security-wizard.d.ts +13 -64
  156. package/v3/dist/cli/wizards/security-wizard.d.ts.map +1 -1
  157. package/v3/dist/cli/wizards/security-wizard.js +152 -395
  158. package/v3/dist/cli/wizards/security-wizard.js.map +1 -1
  159. package/v3/dist/cli/wizards/test-wizard.d.ts +13 -77
  160. package/v3/dist/cli/wizards/test-wizard.d.ts.map +1 -1
  161. package/v3/dist/cli/wizards/test-wizard.js +196 -328
  162. package/v3/dist/cli/wizards/test-wizard.js.map +1 -1
  163. package/v3/dist/coordination/mincut/interfaces.d.ts +8 -2
  164. package/v3/dist/coordination/mincut/interfaces.d.ts.map +1 -1
  165. package/v3/dist/coordination/mincut/interfaces.js.map +1 -1
  166. package/v3/dist/coordination/mincut/mincut-health-monitor.d.ts +8 -0
  167. package/v3/dist/coordination/mincut/mincut-health-monitor.d.ts.map +1 -1
  168. package/v3/dist/coordination/mincut/mincut-health-monitor.js +26 -4
  169. package/v3/dist/coordination/mincut/mincut-health-monitor.js.map +1 -1
  170. package/v3/dist/coordination/mincut/queen-integration.d.ts +7 -0
  171. package/v3/dist/coordination/mincut/queen-integration.d.ts.map +1 -1
  172. package/v3/dist/coordination/mincut/queen-integration.js +19 -1
  173. package/v3/dist/coordination/mincut/queen-integration.js.map +1 -1
  174. package/v3/dist/coordination/queen-coordinator.d.ts +5 -0
  175. package/v3/dist/coordination/queen-coordinator.d.ts.map +1 -1
  176. package/v3/dist/coordination/queen-coordinator.js +45 -7
  177. package/v3/dist/coordination/queen-coordinator.js.map +1 -1
  178. package/v3/dist/coordination/task-executor.js +2 -2
  179. package/v3/dist/coordination/task-executor.js.map +1 -1
  180. package/v3/dist/domains/chaos-resilience/plugin.js +2 -2
  181. package/v3/dist/domains/chaos-resilience/plugin.js.map +1 -1
  182. package/v3/dist/domains/code-intelligence/plugin.js +2 -2
  183. package/v3/dist/domains/code-intelligence/plugin.js.map +1 -1
  184. package/v3/dist/domains/contract-testing/plugin.js +2 -2
  185. package/v3/dist/domains/contract-testing/plugin.js.map +1 -1
  186. package/v3/dist/domains/coverage-analysis/plugin.d.ts.map +1 -1
  187. package/v3/dist/domains/coverage-analysis/plugin.js +2 -1
  188. package/v3/dist/domains/coverage-analysis/plugin.js.map +1 -1
  189. package/v3/dist/domains/defect-intelligence/plugin.js +2 -2
  190. package/v3/dist/domains/defect-intelligence/plugin.js.map +1 -1
  191. package/v3/dist/domains/domain-interface.d.ts.map +1 -1
  192. package/v3/dist/domains/domain-interface.js +3 -1
  193. package/v3/dist/domains/domain-interface.js.map +1 -1
  194. package/v3/dist/domains/learning-optimization/coordinator.d.ts +5 -0
  195. package/v3/dist/domains/learning-optimization/coordinator.d.ts.map +1 -1
  196. package/v3/dist/domains/learning-optimization/coordinator.js +79 -0
  197. package/v3/dist/domains/learning-optimization/coordinator.js.map +1 -1
  198. package/v3/dist/domains/learning-optimization/plugin.js +2 -2
  199. package/v3/dist/domains/learning-optimization/plugin.js.map +1 -1
  200. package/v3/dist/domains/quality-assessment/plugin.js +2 -2
  201. package/v3/dist/domains/quality-assessment/plugin.js.map +1 -1
  202. package/v3/dist/domains/requirements-validation/plugin.js +2 -2
  203. package/v3/dist/domains/requirements-validation/plugin.js.map +1 -1
  204. package/v3/dist/domains/security-compliance/plugin.js +2 -2
  205. package/v3/dist/domains/security-compliance/plugin.js.map +1 -1
  206. package/v3/dist/domains/test-execution/index.d.ts +2 -1
  207. package/v3/dist/domains/test-execution/index.d.ts.map +1 -1
  208. package/v3/dist/domains/test-execution/index.js +0 -2
  209. package/v3/dist/domains/test-execution/index.js.map +1 -1
  210. package/v3/dist/domains/test-execution/interfaces.d.ts +222 -25
  211. package/v3/dist/domains/test-execution/interfaces.d.ts.map +1 -1
  212. package/v3/dist/domains/test-execution/interfaces.js +130 -3
  213. package/v3/dist/domains/test-execution/interfaces.js.map +1 -1
  214. package/v3/dist/domains/test-execution/plugin.d.ts.map +1 -1
  215. package/v3/dist/domains/test-execution/plugin.js +2 -1
  216. package/v3/dist/domains/test-execution/plugin.js.map +1 -1
  217. package/v3/dist/domains/test-execution/test-prioritization-types.d.ts +5 -172
  218. package/v3/dist/domains/test-execution/test-prioritization-types.d.ts.map +1 -1
  219. package/v3/dist/domains/test-execution/test-prioritization-types.js +6 -129
  220. package/v3/dist/domains/test-execution/test-prioritization-types.js.map +1 -1
  221. package/v3/dist/domains/test-execution/types/index.d.ts +7 -3
  222. package/v3/dist/domains/test-execution/types/index.d.ts.map +1 -1
  223. package/v3/dist/domains/test-execution/types/index.js +7 -17
  224. package/v3/dist/domains/test-execution/types/index.js.map +1 -1
  225. package/v3/dist/domains/test-generation/coordinator.d.ts +32 -1
  226. package/v3/dist/domains/test-generation/coordinator.d.ts.map +1 -1
  227. package/v3/dist/domains/test-generation/coordinator.js +72 -3
  228. package/v3/dist/domains/test-generation/coordinator.js.map +1 -1
  229. package/v3/dist/domains/test-generation/factories/index.d.ts +8 -0
  230. package/v3/dist/domains/test-generation/factories/index.d.ts.map +1 -0
  231. package/v3/dist/domains/test-generation/factories/index.js +8 -0
  232. package/v3/dist/domains/test-generation/factories/index.js.map +1 -0
  233. package/v3/dist/domains/test-generation/factories/test-generator-factory.d.ts +108 -0
  234. package/v3/dist/domains/test-generation/factories/test-generator-factory.d.ts.map +1 -0
  235. package/v3/dist/domains/test-generation/factories/test-generator-factory.js +158 -0
  236. package/v3/dist/domains/test-generation/factories/test-generator-factory.js.map +1 -0
  237. package/v3/dist/domains/test-generation/generators/base-test-generator.d.ts +79 -0
  238. package/v3/dist/domains/test-generation/generators/base-test-generator.d.ts.map +1 -0
  239. package/v3/dist/domains/test-generation/generators/base-test-generator.js +252 -0
  240. package/v3/dist/domains/test-generation/generators/base-test-generator.js.map +1 -0
  241. package/v3/dist/domains/test-generation/generators/index.d.ts +11 -0
  242. package/v3/dist/domains/test-generation/generators/index.d.ts.map +1 -0
  243. package/v3/dist/domains/test-generation/generators/index.js +13 -0
  244. package/v3/dist/domains/test-generation/generators/index.js.map +1 -0
  245. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.d.ts +77 -0
  246. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.d.ts.map +1 -0
  247. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.js +365 -0
  248. package/v3/dist/domains/test-generation/generators/jest-vitest-generator.js.map +1 -0
  249. package/v3/dist/domains/test-generation/generators/mocha-generator.d.ts +56 -0
  250. package/v3/dist/domains/test-generation/generators/mocha-generator.d.ts.map +1 -0
  251. package/v3/dist/domains/test-generation/generators/mocha-generator.js +197 -0
  252. package/v3/dist/domains/test-generation/generators/mocha-generator.js.map +1 -0
  253. package/v3/dist/domains/test-generation/generators/pytest-generator.d.ts +66 -0
  254. package/v3/dist/domains/test-generation/generators/pytest-generator.d.ts.map +1 -0
  255. package/v3/dist/domains/test-generation/generators/pytest-generator.js +240 -0
  256. package/v3/dist/domains/test-generation/generators/pytest-generator.js.map +1 -0
  257. package/v3/dist/domains/test-generation/index.d.ts +2 -1
  258. package/v3/dist/domains/test-generation/index.d.ts.map +1 -1
  259. package/v3/dist/domains/test-generation/index.js +5 -1
  260. package/v3/dist/domains/test-generation/index.js.map +1 -1
  261. package/v3/dist/domains/test-generation/interfaces/index.d.ts +9 -0
  262. package/v3/dist/domains/test-generation/interfaces/index.d.ts.map +1 -0
  263. package/v3/dist/domains/test-generation/interfaces/index.js +9 -0
  264. package/v3/dist/domains/test-generation/interfaces/index.js.map +1 -0
  265. package/v3/dist/domains/test-generation/interfaces/test-generator.interface.d.ts +166 -0
  266. package/v3/dist/domains/test-generation/interfaces/test-generator.interface.d.ts.map +1 -0
  267. package/v3/dist/domains/test-generation/interfaces/test-generator.interface.js +8 -0
  268. package/v3/dist/domains/test-generation/interfaces/test-generator.interface.js.map +1 -0
  269. package/v3/dist/domains/test-generation/interfaces.d.ts +163 -24
  270. package/v3/dist/domains/test-generation/interfaces.d.ts.map +1 -1
  271. package/v3/dist/domains/test-generation/interfaces.js +2 -2
  272. package/v3/dist/domains/test-generation/plugin.d.ts.map +1 -1
  273. package/v3/dist/domains/test-generation/plugin.js +6 -5
  274. package/v3/dist/domains/test-generation/plugin.js.map +1 -1
  275. package/v3/dist/domains/test-generation/services/coherence-gate-service.d.ts +245 -0
  276. package/v3/dist/domains/test-generation/services/coherence-gate-service.d.ts.map +1 -0
  277. package/v3/dist/domains/test-generation/services/coherence-gate-service.js +454 -0
  278. package/v3/dist/domains/test-generation/services/coherence-gate-service.js.map +1 -0
  279. package/v3/dist/domains/test-generation/services/index.d.ts +8 -1
  280. package/v3/dist/domains/test-generation/services/index.d.ts.map +1 -1
  281. package/v3/dist/domains/test-generation/services/index.js +10 -1
  282. package/v3/dist/domains/test-generation/services/index.js.map +1 -1
  283. package/v3/dist/domains/test-generation/services/property-test-generator.d.ts +34 -0
  284. package/v3/dist/domains/test-generation/services/property-test-generator.d.ts.map +1 -0
  285. package/v3/dist/domains/test-generation/services/property-test-generator.js +306 -0
  286. package/v3/dist/domains/test-generation/services/property-test-generator.js.map +1 -0
  287. package/v3/dist/domains/test-generation/services/tdd-generator.d.ts +33 -0
  288. package/v3/dist/domains/test-generation/services/tdd-generator.d.ts.map +1 -0
  289. package/v3/dist/domains/test-generation/services/tdd-generator.js +342 -0
  290. package/v3/dist/domains/test-generation/services/tdd-generator.js.map +1 -0
  291. package/v3/dist/domains/test-generation/services/test-data-generator.d.ts +34 -0
  292. package/v3/dist/domains/test-generation/services/test-data-generator.d.ts.map +1 -0
  293. package/v3/dist/domains/test-generation/services/test-data-generator.js +245 -0
  294. package/v3/dist/domains/test-generation/services/test-data-generator.js.map +1 -0
  295. package/v3/dist/domains/test-generation/services/test-generator.d.ts +51 -160
  296. package/v3/dist/domains/test-generation/services/test-generator.d.ts.map +1 -1
  297. package/v3/dist/domains/test-generation/services/test-generator.js +101 -1858
  298. package/v3/dist/domains/test-generation/services/test-generator.js.map +1 -1
  299. package/v3/dist/domains/visual-accessibility/index.d.ts +2 -1
  300. package/v3/dist/domains/visual-accessibility/index.d.ts.map +1 -1
  301. package/v3/dist/domains/visual-accessibility/index.js +1 -0
  302. package/v3/dist/domains/visual-accessibility/index.js.map +1 -1
  303. package/v3/dist/domains/visual-accessibility/interfaces.d.ts +131 -0
  304. package/v3/dist/domains/visual-accessibility/interfaces.d.ts.map +1 -1
  305. package/v3/dist/domains/visual-accessibility/plugin.d.ts +26 -0
  306. package/v3/dist/domains/visual-accessibility/plugin.d.ts.map +1 -1
  307. package/v3/dist/domains/visual-accessibility/plugin.js +153 -2
  308. package/v3/dist/domains/visual-accessibility/plugin.js.map +1 -1
  309. package/v3/dist/domains/visual-accessibility/services/accessibility-tester.d.ts +42 -1
  310. package/v3/dist/domains/visual-accessibility/services/accessibility-tester.d.ts.map +1 -1
  311. package/v3/dist/domains/visual-accessibility/services/accessibility-tester.js +69 -0
  312. package/v3/dist/domains/visual-accessibility/services/accessibility-tester.js.map +1 -1
  313. package/v3/dist/domains/visual-accessibility/services/eu-compliance.d.ts +138 -0
  314. package/v3/dist/domains/visual-accessibility/services/eu-compliance.d.ts.map +1 -0
  315. package/v3/dist/domains/visual-accessibility/services/eu-compliance.js +830 -0
  316. package/v3/dist/domains/visual-accessibility/services/eu-compliance.js.map +1 -0
  317. package/v3/dist/domains/visual-accessibility/services/index.d.ts +1 -0
  318. package/v3/dist/domains/visual-accessibility/services/index.d.ts.map +1 -1
  319. package/v3/dist/domains/visual-accessibility/services/index.js +1 -0
  320. package/v3/dist/domains/visual-accessibility/services/index.js.map +1 -1
  321. package/v3/dist/init/enhancements/claude-flow-adapter.d.ts +84 -0
  322. package/v3/dist/init/enhancements/claude-flow-adapter.d.ts.map +1 -0
  323. package/v3/dist/init/enhancements/claude-flow-adapter.js +250 -0
  324. package/v3/dist/init/enhancements/claude-flow-adapter.js.map +1 -0
  325. package/v3/dist/init/enhancements/detector.d.ts +10 -0
  326. package/v3/dist/init/enhancements/detector.d.ts.map +1 -0
  327. package/v3/dist/init/enhancements/detector.js +87 -0
  328. package/v3/dist/init/enhancements/detector.js.map +1 -0
  329. package/v3/dist/init/enhancements/index.d.ts +13 -0
  330. package/v3/dist/init/enhancements/index.d.ts.map +1 -0
  331. package/v3/dist/init/enhancements/index.js +25 -0
  332. package/v3/dist/init/enhancements/index.js.map +1 -0
  333. package/v3/dist/init/enhancements/types.d.ts +93 -0
  334. package/v3/dist/init/enhancements/types.d.ts.map +1 -0
  335. package/v3/dist/init/enhancements/types.js +6 -0
  336. package/v3/dist/init/enhancements/types.js.map +1 -0
  337. package/v3/dist/init/index.d.ts +8 -0
  338. package/v3/dist/init/index.d.ts.map +1 -1
  339. package/v3/dist/init/index.js +4 -0
  340. package/v3/dist/init/index.js.map +1 -1
  341. package/v3/dist/init/migration/config-migrator.d.ts +31 -0
  342. package/v3/dist/init/migration/config-migrator.d.ts.map +1 -0
  343. package/v3/dist/init/migration/config-migrator.js +133 -0
  344. package/v3/dist/init/migration/config-migrator.js.map +1 -0
  345. package/v3/dist/init/migration/data-migrator.d.ts +72 -0
  346. package/v3/dist/init/migration/data-migrator.d.ts.map +1 -0
  347. package/v3/dist/init/migration/data-migrator.js +233 -0
  348. package/v3/dist/init/migration/data-migrator.js.map +1 -0
  349. package/v3/dist/init/migration/detector.d.ts +44 -0
  350. package/v3/dist/init/migration/detector.d.ts.map +1 -0
  351. package/v3/dist/init/migration/detector.js +106 -0
  352. package/v3/dist/init/migration/detector.js.map +1 -0
  353. package/v3/dist/init/migration/index.d.ts +8 -0
  354. package/v3/dist/init/migration/index.d.ts.map +1 -0
  355. package/v3/dist/init/migration/index.js +8 -0
  356. package/v3/dist/init/migration/index.js.map +1 -0
  357. package/v3/dist/init/orchestrator.d.ts +68 -0
  358. package/v3/dist/init/orchestrator.d.ts.map +1 -0
  359. package/v3/dist/init/orchestrator.js +239 -0
  360. package/v3/dist/init/orchestrator.js.map +1 -0
  361. package/v3/dist/init/phases/01-detection.d.ts +30 -0
  362. package/v3/dist/init/phases/01-detection.d.ts.map +1 -0
  363. package/v3/dist/init/phases/01-detection.js +143 -0
  364. package/v3/dist/init/phases/01-detection.js.map +1 -0
  365. package/v3/dist/init/phases/02-analysis.d.ts +18 -0
  366. package/v3/dist/init/phases/02-analysis.d.ts.map +1 -0
  367. package/v3/dist/init/phases/02-analysis.js +28 -0
  368. package/v3/dist/init/phases/02-analysis.js.map +1 -0
  369. package/v3/dist/init/phases/03-configuration.d.ts +26 -0
  370. package/v3/dist/init/phases/03-configuration.d.ts.map +1 -0
  371. package/v3/dist/init/phases/03-configuration.js +98 -0
  372. package/v3/dist/init/phases/03-configuration.js.map +1 -0
  373. package/v3/dist/init/phases/04-database.d.ts +22 -0
  374. package/v3/dist/init/phases/04-database.d.ts.map +1 -0
  375. package/v3/dist/init/phases/04-database.js +88 -0
  376. package/v3/dist/init/phases/04-database.js.map +1 -0
  377. package/v3/dist/init/phases/05-learning.d.ts +28 -0
  378. package/v3/dist/init/phases/05-learning.d.ts.map +1 -0
  379. package/v3/dist/init/phases/05-learning.js +98 -0
  380. package/v3/dist/init/phases/05-learning.js.map +1 -0
  381. package/v3/dist/init/phases/06-code-intelligence.d.ts +33 -0
  382. package/v3/dist/init/phases/06-code-intelligence.d.ts.map +1 -0
  383. package/v3/dist/init/phases/06-code-intelligence.js +115 -0
  384. package/v3/dist/init/phases/06-code-intelligence.js.map +1 -0
  385. package/v3/dist/init/phases/07-hooks.d.ts +27 -0
  386. package/v3/dist/init/phases/07-hooks.d.ts.map +1 -0
  387. package/v3/dist/init/phases/07-hooks.js +209 -0
  388. package/v3/dist/init/phases/07-hooks.js.map +1 -0
  389. package/v3/dist/init/phases/08-mcp.d.ts +22 -0
  390. package/v3/dist/init/phases/08-mcp.d.ts.map +1 -0
  391. package/v3/dist/init/phases/08-mcp.js +62 -0
  392. package/v3/dist/init/phases/08-mcp.js.map +1 -0
  393. package/v3/dist/init/phases/09-assets.d.ts +23 -0
  394. package/v3/dist/init/phases/09-assets.d.ts.map +1 -0
  395. package/v3/dist/init/phases/09-assets.js +82 -0
  396. package/v3/dist/init/phases/09-assets.js.map +1 -0
  397. package/v3/dist/init/phases/10-workers.d.ts +23 -0
  398. package/v3/dist/init/phases/10-workers.d.ts.map +1 -0
  399. package/v3/dist/init/phases/10-workers.js +111 -0
  400. package/v3/dist/init/phases/10-workers.js.map +1 -0
  401. package/v3/dist/init/phases/11-claude-md.d.ts +26 -0
  402. package/v3/dist/init/phases/11-claude-md.d.ts.map +1 -0
  403. package/v3/dist/init/phases/11-claude-md.js +121 -0
  404. package/v3/dist/init/phases/11-claude-md.js.map +1 -0
  405. package/v3/dist/init/phases/12-verification.d.ts +61 -0
  406. package/v3/dist/init/phases/12-verification.d.ts.map +1 -0
  407. package/v3/dist/init/phases/12-verification.js +370 -0
  408. package/v3/dist/init/phases/12-verification.js.map +1 -0
  409. package/v3/dist/init/phases/index.d.ts +46 -0
  410. package/v3/dist/init/phases/index.d.ts.map +1 -0
  411. package/v3/dist/init/phases/index.js +64 -0
  412. package/v3/dist/init/phases/index.js.map +1 -0
  413. package/v3/dist/init/phases/phase-interface.d.ts +193 -0
  414. package/v3/dist/init/phases/phase-interface.d.ts.map +1 -0
  415. package/v3/dist/init/phases/phase-interface.js +119 -0
  416. package/v3/dist/init/phases/phase-interface.js.map +1 -0
  417. package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.d.ts +24 -62
  418. package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.d.ts.map +1 -1
  419. package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.js +45 -497
  420. package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.js.map +1 -1
  421. package/v3/dist/integrations/agentic-flow/model-router/router.js +2 -2
  422. package/v3/dist/integrations/agentic-flow/model-router/router.js.map +1 -1
  423. package/v3/dist/integrations/agentic-flow/model-router/score-calculator.d.ts +98 -0
  424. package/v3/dist/integrations/agentic-flow/model-router/score-calculator.d.ts.map +1 -0
  425. package/v3/dist/integrations/agentic-flow/model-router/score-calculator.js +197 -0
  426. package/v3/dist/integrations/agentic-flow/model-router/score-calculator.js.map +1 -0
  427. package/v3/dist/integrations/agentic-flow/model-router/signal-collector.d.ts +102 -0
  428. package/v3/dist/integrations/agentic-flow/model-router/signal-collector.d.ts.map +1 -0
  429. package/v3/dist/integrations/agentic-flow/model-router/signal-collector.js +372 -0
  430. package/v3/dist/integrations/agentic-flow/model-router/signal-collector.js.map +1 -0
  431. package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.d.ts +64 -0
  432. package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.d.ts.map +1 -0
  433. package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.js +120 -0
  434. package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.js.map +1 -0
  435. package/v3/dist/integrations/coherence/coherence-service.d.ts +323 -0
  436. package/v3/dist/integrations/coherence/coherence-service.d.ts.map +1 -0
  437. package/v3/dist/integrations/coherence/coherence-service.js +856 -0
  438. package/v3/dist/integrations/coherence/coherence-service.js.map +1 -0
  439. package/v3/dist/integrations/coherence/engines/category-adapter.d.ts +170 -0
  440. package/v3/dist/integrations/coherence/engines/category-adapter.d.ts.map +1 -0
  441. package/v3/dist/integrations/coherence/engines/category-adapter.js +403 -0
  442. package/v3/dist/integrations/coherence/engines/category-adapter.js.map +1 -0
  443. package/v3/dist/integrations/coherence/engines/causal-adapter.d.ts +159 -0
  444. package/v3/dist/integrations/coherence/engines/causal-adapter.d.ts.map +1 -0
  445. package/v3/dist/integrations/coherence/engines/causal-adapter.js +348 -0
  446. package/v3/dist/integrations/coherence/engines/causal-adapter.js.map +1 -0
  447. package/v3/dist/integrations/coherence/engines/cohomology-adapter.d.ts +174 -0
  448. package/v3/dist/integrations/coherence/engines/cohomology-adapter.d.ts.map +1 -0
  449. package/v3/dist/integrations/coherence/engines/cohomology-adapter.js +401 -0
  450. package/v3/dist/integrations/coherence/engines/cohomology-adapter.js.map +1 -0
  451. package/v3/dist/integrations/coherence/engines/homotopy-adapter.d.ts +201 -0
  452. package/v3/dist/integrations/coherence/engines/homotopy-adapter.d.ts.map +1 -0
  453. package/v3/dist/integrations/coherence/engines/homotopy-adapter.js +324 -0
  454. package/v3/dist/integrations/coherence/engines/homotopy-adapter.js.map +1 -0
  455. package/v3/dist/integrations/coherence/engines/index.d.ts +20 -0
  456. package/v3/dist/integrations/coherence/engines/index.d.ts.map +1 -0
  457. package/v3/dist/integrations/coherence/engines/index.js +26 -0
  458. package/v3/dist/integrations/coherence/engines/index.js.map +1 -0
  459. package/v3/dist/integrations/coherence/engines/spectral-adapter.d.ts +193 -0
  460. package/v3/dist/integrations/coherence/engines/spectral-adapter.d.ts.map +1 -0
  461. package/v3/dist/integrations/coherence/engines/spectral-adapter.js +565 -0
  462. package/v3/dist/integrations/coherence/engines/spectral-adapter.js.map +1 -0
  463. package/v3/dist/integrations/coherence/engines/witness-adapter.d.ts +175 -0
  464. package/v3/dist/integrations/coherence/engines/witness-adapter.d.ts.map +1 -0
  465. package/v3/dist/integrations/coherence/engines/witness-adapter.js +377 -0
  466. package/v3/dist/integrations/coherence/engines/witness-adapter.js.map +1 -0
  467. package/v3/dist/integrations/coherence/index.d.ts +84 -0
  468. package/v3/dist/integrations/coherence/index.d.ts.map +1 -0
  469. package/v3/dist/integrations/coherence/index.js +114 -0
  470. package/v3/dist/integrations/coherence/index.js.map +1 -0
  471. package/v3/dist/integrations/coherence/threshold-tuner.d.ts +396 -0
  472. package/v3/dist/integrations/coherence/threshold-tuner.d.ts.map +1 -0
  473. package/v3/dist/integrations/coherence/threshold-tuner.js +538 -0
  474. package/v3/dist/integrations/coherence/threshold-tuner.js.map +1 -0
  475. package/v3/dist/integrations/coherence/types.d.ts +879 -0
  476. package/v3/dist/integrations/coherence/types.d.ts.map +1 -0
  477. package/v3/dist/integrations/coherence/types.js +134 -0
  478. package/v3/dist/integrations/coherence/types.js.map +1 -0
  479. package/v3/dist/integrations/coherence/wasm-loader.d.ts +351 -0
  480. package/v3/dist/integrations/coherence/wasm-loader.d.ts.map +1 -0
  481. package/v3/dist/integrations/coherence/wasm-loader.js +842 -0
  482. package/v3/dist/integrations/coherence/wasm-loader.js.map +1 -0
  483. package/v3/dist/integrations/embeddings/index/HNSWIndex.d.ts.map +1 -1
  484. package/v3/dist/integrations/embeddings/index/HNSWIndex.js +4 -1
  485. package/v3/dist/integrations/embeddings/index/HNSWIndex.js.map +1 -1
  486. package/v3/dist/kernel/interfaces.d.ts +8 -1
  487. package/v3/dist/kernel/interfaces.d.ts.map +1 -1
  488. package/v3/dist/learning/aqe-learning-engine.d.ts +272 -0
  489. package/v3/dist/learning/aqe-learning-engine.d.ts.map +1 -0
  490. package/v3/dist/learning/aqe-learning-engine.js +708 -0
  491. package/v3/dist/learning/aqe-learning-engine.js.map +1 -0
  492. package/v3/dist/learning/causal-verifier.d.ts +244 -0
  493. package/v3/dist/learning/causal-verifier.d.ts.map +1 -0
  494. package/v3/dist/learning/causal-verifier.js +300 -0
  495. package/v3/dist/learning/causal-verifier.js.map +1 -0
  496. package/v3/dist/learning/experience-capture.d.ts +266 -0
  497. package/v3/dist/learning/experience-capture.d.ts.map +1 -0
  498. package/v3/dist/learning/experience-capture.js +647 -0
  499. package/v3/dist/learning/experience-capture.js.map +1 -0
  500. package/v3/dist/learning/index.d.ts +8 -0
  501. package/v3/dist/learning/index.d.ts.map +1 -1
  502. package/v3/dist/learning/index.js +16 -0
  503. package/v3/dist/learning/index.js.map +1 -1
  504. package/v3/dist/learning/memory-auditor.d.ts +235 -0
  505. package/v3/dist/learning/memory-auditor.d.ts.map +1 -0
  506. package/v3/dist/learning/memory-auditor.js +480 -0
  507. package/v3/dist/learning/memory-auditor.js.map +1 -0
  508. package/v3/dist/learning/pattern-store.d.ts.map +1 -1
  509. package/v3/dist/learning/pattern-store.js +27 -6
  510. package/v3/dist/learning/pattern-store.js.map +1 -1
  511. package/v3/dist/learning/qe-patterns.d.ts +15 -1
  512. package/v3/dist/learning/qe-patterns.d.ts.map +1 -1
  513. package/v3/dist/learning/qe-patterns.js +26 -5
  514. package/v3/dist/learning/qe-patterns.js.map +1 -1
  515. package/v3/dist/learning/qe-reasoning-bank.d.ts +38 -2
  516. package/v3/dist/learning/qe-reasoning-bank.d.ts.map +1 -1
  517. package/v3/dist/learning/qe-reasoning-bank.js +86 -4
  518. package/v3/dist/learning/qe-reasoning-bank.js.map +1 -1
  519. package/v3/dist/learning/real-qe-reasoning-bank.d.ts +32 -2
  520. package/v3/dist/learning/real-qe-reasoning-bank.d.ts.map +1 -1
  521. package/v3/dist/learning/real-qe-reasoning-bank.js +61 -6
  522. package/v3/dist/learning/real-qe-reasoning-bank.js.map +1 -1
  523. package/v3/dist/mcp/bundle.js +8786 -1737
  524. package/v3/dist/mcp/security/cve-prevention.d.ts +31 -134
  525. package/v3/dist/mcp/security/cve-prevention.d.ts.map +1 -1
  526. package/v3/dist/mcp/security/cve-prevention.js +37 -562
  527. package/v3/dist/mcp/security/cve-prevention.js.map +1 -1
  528. package/v3/dist/mcp/security/index.d.ts +5 -1
  529. package/v3/dist/mcp/security/index.d.ts.map +1 -1
  530. package/v3/dist/mcp/security/validators/command-validator.d.ts +41 -0
  531. package/v3/dist/mcp/security/validators/command-validator.d.ts.map +1 -0
  532. package/v3/dist/mcp/security/validators/command-validator.js +123 -0
  533. package/v3/dist/mcp/security/validators/command-validator.js.map +1 -0
  534. package/v3/dist/mcp/security/validators/crypto-validator.d.ts +40 -0
  535. package/v3/dist/mcp/security/validators/crypto-validator.d.ts.map +1 -0
  536. package/v3/dist/mcp/security/validators/crypto-validator.js +72 -0
  537. package/v3/dist/mcp/security/validators/crypto-validator.js.map +1 -0
  538. package/v3/dist/mcp/security/validators/index.d.ts +12 -0
  539. package/v3/dist/mcp/security/validators/index.d.ts.map +1 -0
  540. package/v3/dist/mcp/security/validators/index.js +22 -0
  541. package/v3/dist/mcp/security/validators/index.js.map +1 -0
  542. package/v3/dist/mcp/security/validators/input-sanitizer.d.ts +56 -0
  543. package/v3/dist/mcp/security/validators/input-sanitizer.d.ts.map +1 -0
  544. package/v3/dist/mcp/security/validators/input-sanitizer.js +157 -0
  545. package/v3/dist/mcp/security/validators/input-sanitizer.js.map +1 -0
  546. package/v3/dist/mcp/security/validators/interfaces.d.ts +164 -0
  547. package/v3/dist/mcp/security/validators/interfaces.d.ts.map +1 -0
  548. package/v3/dist/mcp/security/validators/interfaces.js +6 -0
  549. package/v3/dist/mcp/security/validators/interfaces.js.map +1 -0
  550. package/v3/dist/mcp/security/validators/path-traversal-validator.d.ts +50 -0
  551. package/v3/dist/mcp/security/validators/path-traversal-validator.d.ts.map +1 -0
  552. package/v3/dist/mcp/security/validators/path-traversal-validator.js +242 -0
  553. package/v3/dist/mcp/security/validators/path-traversal-validator.js.map +1 -0
  554. package/v3/dist/mcp/security/validators/regex-safety-validator.d.ts +50 -0
  555. package/v3/dist/mcp/security/validators/regex-safety-validator.d.ts.map +1 -0
  556. package/v3/dist/mcp/security/validators/regex-safety-validator.js +183 -0
  557. package/v3/dist/mcp/security/validators/regex-safety-validator.js.map +1 -0
  558. package/v3/dist/mcp/security/validators/validation-orchestrator.d.ts +66 -0
  559. package/v3/dist/mcp/security/validators/validation-orchestrator.d.ts.map +1 -0
  560. package/v3/dist/mcp/security/validators/validation-orchestrator.js +146 -0
  561. package/v3/dist/mcp/security/validators/validation-orchestrator.js.map +1 -0
  562. package/v3/dist/mcp/server.d.ts.map +1 -1
  563. package/v3/dist/mcp/server.js +1 -0
  564. package/v3/dist/mcp/server.js.map +1 -1
  565. package/v3/dist/mcp/tool-registry.d.ts +3 -1
  566. package/v3/dist/mcp/tool-registry.d.ts.map +1 -1
  567. package/v3/dist/mcp/tool-registry.js +155 -2
  568. package/v3/dist/mcp/tool-registry.js.map +1 -1
  569. package/v3/dist/mcp/tools/coherence/audit.d.ts +107 -0
  570. package/v3/dist/mcp/tools/coherence/audit.d.ts.map +1 -0
  571. package/v3/dist/mcp/tools/coherence/audit.js +236 -0
  572. package/v3/dist/mcp/tools/coherence/audit.js.map +1 -0
  573. package/v3/dist/mcp/tools/coherence/check.d.ts +106 -0
  574. package/v3/dist/mcp/tools/coherence/check.d.ts.map +1 -0
  575. package/v3/dist/mcp/tools/coherence/check.js +205 -0
  576. package/v3/dist/mcp/tools/coherence/check.js.map +1 -0
  577. package/v3/dist/mcp/tools/coherence/collapse.d.ts +123 -0
  578. package/v3/dist/mcp/tools/coherence/collapse.d.ts.map +1 -0
  579. package/v3/dist/mcp/tools/coherence/collapse.js +279 -0
  580. package/v3/dist/mcp/tools/coherence/collapse.js.map +1 -0
  581. package/v3/dist/mcp/tools/coherence/consensus.d.ts +100 -0
  582. package/v3/dist/mcp/tools/coherence/consensus.d.ts.map +1 -0
  583. package/v3/dist/mcp/tools/coherence/consensus.js +201 -0
  584. package/v3/dist/mcp/tools/coherence/consensus.js.map +1 -0
  585. package/v3/dist/mcp/tools/coherence/index.d.ts +31 -0
  586. package/v3/dist/mcp/tools/coherence/index.d.ts.map +1 -0
  587. package/v3/dist/mcp/tools/coherence/index.js +42 -0
  588. package/v3/dist/mcp/tools/coherence/index.js.map +1 -0
  589. package/v3/dist/mcp/tools/index.d.ts +6 -1
  590. package/v3/dist/mcp/tools/index.d.ts.map +1 -1
  591. package/v3/dist/mcp/tools/index.js +9 -1
  592. package/v3/dist/mcp/tools/index.js.map +1 -1
  593. package/v3/dist/mcp/tools/mincut/index.d.ts +1 -1
  594. package/v3/dist/mcp/tools/mincut/index.d.ts.map +1 -1
  595. package/v3/dist/mcp/tools/mincut/index.js.map +1 -1
  596. package/v3/dist/mcp/tools/registry.d.ts +4 -0
  597. package/v3/dist/mcp/tools/registry.d.ts.map +1 -1
  598. package/v3/dist/mcp/tools/registry.js +5 -0
  599. package/v3/dist/mcp/tools/registry.js.map +1 -1
  600. package/v3/dist/mcp/tools/test-generation/generate.d.ts +1 -0
  601. package/v3/dist/mcp/tools/test-generation/generate.d.ts.map +1 -1
  602. package/v3/dist/mcp/tools/test-generation/generate.js +3 -2
  603. package/v3/dist/mcp/tools/test-generation/generate.js.map +1 -1
  604. package/v3/dist/mcp/types.d.ts +1 -1
  605. package/v3/dist/mcp/types.d.ts.map +1 -1
  606. package/v3/dist/strange-loop/belief-reconciler.d.ts +357 -0
  607. package/v3/dist/strange-loop/belief-reconciler.d.ts.map +1 -0
  608. package/v3/dist/strange-loop/belief-reconciler.js +696 -0
  609. package/v3/dist/strange-loop/belief-reconciler.js.map +1 -0
  610. package/v3/dist/strange-loop/index.d.ts +1 -0
  611. package/v3/dist/strange-loop/index.d.ts.map +1 -1
  612. package/v3/dist/strange-loop/index.js +2 -0
  613. package/v3/dist/strange-loop/index.js.map +1 -1
  614. package/v3/dist/strange-loop/strange-loop.d.ts +177 -5
  615. package/v3/dist/strange-loop/strange-loop.d.ts.map +1 -1
  616. package/v3/dist/strange-loop/strange-loop.js +452 -9
  617. package/v3/dist/strange-loop/strange-loop.js.map +1 -1
  618. package/v3/dist/strange-loop/types.d.ts +205 -1
  619. package/v3/dist/strange-loop/types.d.ts.map +1 -1
  620. package/v3/dist/strange-loop/types.js +5 -0
  621. package/v3/dist/strange-loop/types.js.map +1 -1
  622. package/v3/dist/sync/cloud/index.d.ts +8 -0
  623. package/v3/dist/sync/cloud/index.d.ts.map +1 -0
  624. package/v3/dist/sync/cloud/index.js +8 -0
  625. package/v3/dist/sync/cloud/index.js.map +1 -0
  626. package/v3/dist/sync/cloud/postgres-writer.d.ts +88 -0
  627. package/v3/dist/sync/cloud/postgres-writer.d.ts.map +1 -0
  628. package/v3/dist/sync/cloud/postgres-writer.js +319 -0
  629. package/v3/dist/sync/cloud/postgres-writer.js.map +1 -0
  630. package/v3/dist/sync/cloud/tunnel-manager.d.ts +75 -0
  631. package/v3/dist/sync/cloud/tunnel-manager.d.ts.map +1 -0
  632. package/v3/dist/sync/cloud/tunnel-manager.js +221 -0
  633. package/v3/dist/sync/cloud/tunnel-manager.js.map +1 -0
  634. package/v3/dist/sync/index.d.ts +35 -0
  635. package/v3/dist/sync/index.d.ts.map +1 -0
  636. package/v3/dist/sync/index.js +35 -0
  637. package/v3/dist/sync/index.js.map +1 -0
  638. package/v3/dist/sync/interfaces.d.ts +245 -0
  639. package/v3/dist/sync/interfaces.d.ts.map +1 -0
  640. package/v3/dist/sync/interfaces.js +160 -0
  641. package/v3/dist/sync/interfaces.js.map +1 -0
  642. package/v3/dist/sync/readers/index.d.ts +8 -0
  643. package/v3/dist/sync/readers/index.d.ts.map +1 -0
  644. package/v3/dist/sync/readers/index.js +8 -0
  645. package/v3/dist/sync/readers/index.js.map +1 -0
  646. package/v3/dist/sync/readers/json-reader.d.ts +95 -0
  647. package/v3/dist/sync/readers/json-reader.d.ts.map +1 -0
  648. package/v3/dist/sync/readers/json-reader.js +306 -0
  649. package/v3/dist/sync/readers/json-reader.js.map +1 -0
  650. package/v3/dist/sync/readers/sqlite-reader.d.ts +88 -0
  651. package/v3/dist/sync/readers/sqlite-reader.d.ts.map +1 -0
  652. package/v3/dist/sync/readers/sqlite-reader.js +255 -0
  653. package/v3/dist/sync/readers/sqlite-reader.js.map +1 -0
  654. package/v3/dist/sync/sync-agent.d.ts +116 -0
  655. package/v3/dist/sync/sync-agent.d.ts.map +1 -0
  656. package/v3/dist/sync/sync-agent.js +416 -0
  657. package/v3/dist/sync/sync-agent.js.map +1 -0
  658. package/v3/package.json +17 -2
@@ -1,33 +1,33 @@
1
1
  /**
2
- * Agentic QE v3 - Test Generation Domain Interface
3
- * AI-powered test creation with pattern learning
2
+ * Agentic QE v3 - Test Generation Domain Interfaces
3
+ * All types and interfaces for the test-generation domain
4
4
  */
5
5
  import { Result } from '../../shared/types';
6
- export interface TestGenerationAPI {
6
+ export interface ITestGenerationAPI {
7
7
  /** Generate tests for source files */
8
- generateTests(request: GenerateTestsRequest): Promise<Result<GeneratedTests, Error>>;
8
+ generateTests(request: IGenerateTestsRequest): Promise<Result<IGeneratedTests, Error>>;
9
9
  /** Generate tests using TDD workflow */
10
- generateTDDTests(request: TDDRequest): Promise<Result<TDDResult, Error>>;
10
+ generateTDDTests(request: ITDDRequest): Promise<Result<ITDDResult, Error>>;
11
11
  /** Generate property-based tests */
12
- generatePropertyTests(request: PropertyTestRequest): Promise<Result<PropertyTests, Error>>;
12
+ generatePropertyTests(request: IPropertyTestRequest): Promise<Result<IPropertyTests, Error>>;
13
13
  /** Generate test data */
14
- generateTestData(request: TestDataRequest): Promise<Result<TestData, Error>>;
14
+ generateTestData(request: ITestDataRequest): Promise<Result<ITestData, Error>>;
15
15
  /** Learn patterns from existing tests */
16
- learnPatterns(request: LearnPatternsRequest): Promise<Result<LearnedPatterns, Error>>;
16
+ learnPatterns(request: ILearnPatternsRequest): Promise<Result<ILearnedPatterns, Error>>;
17
17
  }
18
- export interface GenerateTestsRequest {
18
+ export interface IGenerateTestsRequest {
19
19
  sourceFiles: string[];
20
20
  testType: 'unit' | 'integration' | 'e2e';
21
21
  framework: 'jest' | 'vitest' | 'mocha' | 'pytest';
22
22
  coverageTarget?: number;
23
23
  patterns?: string[];
24
24
  }
25
- export interface GeneratedTests {
26
- tests: GeneratedTest[];
25
+ export interface IGeneratedTests {
26
+ tests: IGeneratedTest[];
27
27
  coverageEstimate: number;
28
28
  patternsUsed: string[];
29
29
  }
30
- export interface GeneratedTest {
30
+ export interface IGeneratedTest {
31
31
  id: string;
32
32
  name: string;
33
33
  sourceFile: string;
@@ -36,57 +36,196 @@ export interface GeneratedTest {
36
36
  type: 'unit' | 'integration' | 'e2e';
37
37
  assertions: number;
38
38
  }
39
- export interface TDDRequest {
39
+ export interface ITDDRequest {
40
40
  feature: string;
41
41
  behavior: string;
42
42
  framework: string;
43
43
  phase: 'red' | 'green' | 'refactor';
44
44
  }
45
- export interface TDDResult {
45
+ export interface ITDDResult {
46
46
  phase: string;
47
47
  testCode?: string;
48
48
  implementationCode?: string;
49
49
  refactoringChanges?: string[];
50
50
  nextStep: string;
51
51
  }
52
- export interface PropertyTestRequest {
52
+ export interface IPropertyTestRequest {
53
53
  function: string;
54
54
  properties: string[];
55
55
  constraints?: Record<string, unknown>;
56
56
  }
57
- export interface PropertyTests {
58
- tests: PropertyTest[];
57
+ export interface IPropertyTests {
58
+ tests: IPropertyTest[];
59
59
  arbitraries: string[];
60
60
  }
61
- export interface PropertyTest {
61
+ export interface IPropertyTest {
62
62
  property: string;
63
63
  testCode: string;
64
64
  generators: string[];
65
65
  }
66
- export interface TestDataRequest {
66
+ export interface ITestDataRequest {
67
67
  schema: Record<string, unknown>;
68
68
  count: number;
69
69
  locale?: string;
70
70
  preserveRelationships?: boolean;
71
71
  }
72
- export interface TestData {
72
+ export interface ITestData {
73
73
  records: unknown[];
74
74
  schema: Record<string, unknown>;
75
75
  seed: number;
76
76
  }
77
- export interface LearnPatternsRequest {
77
+ export interface ILearnPatternsRequest {
78
78
  testFiles: string[];
79
79
  depth: 'shallow' | 'deep';
80
80
  }
81
- export interface LearnedPatterns {
82
- patterns: Pattern[];
81
+ export interface ILearnedPatterns {
82
+ patterns: IPattern[];
83
83
  confidence: number;
84
84
  }
85
- export interface Pattern {
85
+ export interface IPattern {
86
86
  id: string;
87
87
  name: string;
88
88
  structure: string;
89
89
  examples: number;
90
90
  applicability: number;
91
91
  }
92
+ /**
93
+ * Supported test frameworks
94
+ */
95
+ export type TestFramework = 'jest' | 'vitest' | 'mocha' | 'pytest';
96
+ /**
97
+ * Types of tests that can be generated
98
+ */
99
+ export type TestType = 'unit' | 'integration' | 'e2e';
100
+ /**
101
+ * Information about a function extracted from AST
102
+ */
103
+ export interface IFunctionInfo {
104
+ name: string;
105
+ parameters: IParameterInfo[];
106
+ returnType: string | undefined;
107
+ isAsync: boolean;
108
+ isExported: boolean;
109
+ complexity: number;
110
+ startLine: number;
111
+ endLine: number;
112
+ body?: string;
113
+ }
114
+ /**
115
+ * Information about a class extracted from AST
116
+ */
117
+ export interface IClassInfo {
118
+ name: string;
119
+ methods: IFunctionInfo[];
120
+ properties: IPropertyInfo[];
121
+ isExported: boolean;
122
+ hasConstructor: boolean;
123
+ constructorParams?: IParameterInfo[];
124
+ }
125
+ /**
126
+ * Information about a parameter
127
+ */
128
+ export interface IParameterInfo {
129
+ name: string;
130
+ type: string | undefined;
131
+ optional: boolean;
132
+ defaultValue: string | undefined;
133
+ }
134
+ /**
135
+ * Information about a class property
136
+ */
137
+ export interface IPropertyInfo {
138
+ name: string;
139
+ type: string | undefined;
140
+ isPrivate: boolean;
141
+ isReadonly: boolean;
142
+ }
143
+ /**
144
+ * Test case definition
145
+ */
146
+ export interface ITestCase {
147
+ description: string;
148
+ type: 'happy-path' | 'edge-case' | 'error-handling' | 'boundary';
149
+ setup?: string;
150
+ action: string;
151
+ assertion: string;
152
+ }
153
+ /**
154
+ * Code analysis result from AST parsing
155
+ */
156
+ export interface ICodeAnalysis {
157
+ functions: IFunctionInfo[];
158
+ classes: IClassInfo[];
159
+ }
160
+ /**
161
+ * Context for test generation
162
+ */
163
+ export interface ITestGenerationContext {
164
+ moduleName: string;
165
+ importPath: string;
166
+ testType: TestType;
167
+ patterns: IPattern[];
168
+ analysis?: ICodeAnalysis;
169
+ }
170
+ /**
171
+ * ITestGenerator - Strategy interface for framework-specific test generation
172
+ */
173
+ export interface ITestGenerator {
174
+ readonly framework: TestFramework;
175
+ generateTests(context: ITestGenerationContext): string;
176
+ generateFunctionTests(fn: IFunctionInfo, testType: TestType): string;
177
+ generateClassTests(cls: IClassInfo, testType: TestType): string;
178
+ generateStubTests(context: ITestGenerationContext): string;
179
+ generateCoverageTests(moduleName: string, importPath: string, lines: number[]): string;
180
+ }
181
+ /**
182
+ * Factory interface for creating test generators
183
+ */
184
+ export interface ITestGeneratorFactory {
185
+ create(framework: TestFramework): ITestGenerator;
186
+ supports(framework: string): framework is TestFramework;
187
+ getDefault(): TestFramework;
188
+ }
189
+ /** @deprecated Use ITestGenerationAPI */
190
+ export type TestGenerationAPI = ITestGenerationAPI;
191
+ /** @deprecated Use IGenerateTestsRequest */
192
+ export type GenerateTestsRequest = IGenerateTestsRequest;
193
+ /** @deprecated Use IGeneratedTests */
194
+ export type GeneratedTests = IGeneratedTests;
195
+ /** @deprecated Use IGeneratedTest */
196
+ export type GeneratedTest = IGeneratedTest;
197
+ /** @deprecated Use ITDDRequest */
198
+ export type TDDRequest = ITDDRequest;
199
+ /** @deprecated Use ITDDResult */
200
+ export type TDDResult = ITDDResult;
201
+ /** @deprecated Use IPropertyTestRequest */
202
+ export type PropertyTestRequest = IPropertyTestRequest;
203
+ /** @deprecated Use IPropertyTests */
204
+ export type PropertyTests = IPropertyTests;
205
+ /** @deprecated Use IPropertyTest */
206
+ export type PropertyTest = IPropertyTest;
207
+ /** @deprecated Use ITestDataRequest */
208
+ export type TestDataRequest = ITestDataRequest;
209
+ /** @deprecated Use ITestData */
210
+ export type TestData = ITestData;
211
+ /** @deprecated Use ILearnPatternsRequest */
212
+ export type LearnPatternsRequest = ILearnPatternsRequest;
213
+ /** @deprecated Use ILearnedPatterns */
214
+ export type LearnedPatterns = ILearnedPatterns;
215
+ /** @deprecated Use IPattern */
216
+ export type Pattern = IPattern;
217
+ /** @deprecated Use IFunctionInfo */
218
+ export type FunctionInfo = IFunctionInfo;
219
+ /** @deprecated Use IClassInfo */
220
+ export type ClassInfo = IClassInfo;
221
+ /** @deprecated Use IParameterInfo */
222
+ export type ParameterInfo = IParameterInfo;
223
+ /** @deprecated Use IPropertyInfo */
224
+ export type PropertyInfo = IPropertyInfo;
225
+ /** @deprecated Use ITestCase */
226
+ export type TestCase = ITestCase;
227
+ /** @deprecated Use ICodeAnalysis */
228
+ export type CodeAnalysis = ICodeAnalysis;
229
+ /** @deprecated Use ITestGenerationContext */
230
+ export type TestGenerationContext = ITestGenerationContext;
92
231
  //# sourceMappingURL=interfaces.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/domains/test-generation/interfaces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAM5C,MAAM,WAAW,iBAAiB;IAChC,sCAAsC;IACtC,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC,CAAC;IAErF,wCAAwC;IACxC,gBAAgB,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,SAAS,EA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AG,qBAAqB,CAAC;AACzD,uCAAuC;AACvC,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC;AAC/C,+BAA+B;AAC/B,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC;AAC/B,oCAAoC;AACpC,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC;AACzC,iCAAiC;AACjC,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC;AACnC,qCAAqC;AACrC,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC;AAC3C,oCAAoC;AACpC,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC;AACzC,gCAAgC;AAChC,MAAM,MAAM,QAAQ,GAAG,SAAS,CAAC;AACjC,oCAAoC;AACpC,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC;AACzC,6CAA6C;AAC7C,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Agentic QE v3 - Test Generation Domain Interface
3
- * AI-powered test creation with pattern learning
2
+ * Agentic QE v3 - Test Generation Domain Interfaces
3
+ * All types and interfaces for the test-generation domain
4
4
  */
5
5
  export {};
6
6
  //# sourceMappingURL=interfaces.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/domains/test-generation/plugin.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EACL,QAAQ,EACR,aAAa,EACb,gBAAgB,EACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,iBAAiB,EAWlB,MAAM,cAAc,CAAC;AACtB,OAAO,EAEL,0BAA0B,EAC1B,iBAAiB,EAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAA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BaseDomainPlugin } from '../domain-interface';
6
6
  import { TestGenerationCoordinator, } from './coordinator';
7
- import { TestGeneratorService, } from './services/test-generator';
7
+ import { createTestGeneratorService, } from './services/test-generator';
8
8
  import { PatternMatcherService, } from './services/pattern-matcher';
9
9
  /**
10
10
  * Test Generation Domain Plugin
@@ -56,16 +56,17 @@ export class TestGenerationPlugin extends BaseDomainPlugin {
56
56
  // Lifecycle Methods
57
57
  // ============================================================================
58
58
  async onInitialize() {
59
- // Create services
60
- this.testGenerator = new TestGeneratorService(this.memory, this.pluginConfig.testGenerator);
59
+ // Create services using factory function for proper DI
60
+ this.testGenerator = createTestGeneratorService(this.memory, this.pluginConfig.testGenerator);
61
61
  this.patternMatcher = new PatternMatcherService(this.memory, this.pluginConfig.patternMatcher);
62
62
  // Create coordinator
63
63
  this.coordinator = new TestGenerationCoordinator(this.eventBus, this.memory, this.agentCoordinator, this.pluginConfig.coordinator);
64
64
  // Initialize coordinator
65
65
  await this.coordinator.initialize();
66
- // Update health status
66
+ // Issue #205 fix: Start with 'idle' status (0 agents)
67
+ // Transitions to 'healthy' when agents spawn
67
68
  this.updateHealth({
68
- status: 'healthy',
69
+ status: 'idle',
69
70
  agents: { total: 0, active: 0, idle: 0, failed: 0 },
70
71
  lastActivity: new Date(),
71
72
  errors: [],
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../src/domains/test-generation/plugin.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAcvD,OAAO,EACL,yBAAyB,GAG1B,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,oBAAoB,GAGrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,qBAAqB,GAGtB,MAAM,4BAA4B,CAAC;AAyBpC;;;GAGG;AACH,MAAM,OAAO,oBAAqB,SAAQ,gBAAgB;IASrC;IARX,WAAW,GAAsC,IAAI,CAAC;IACtD,aAAa,GAAk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,CAAC,aAAa,CAAC,MAAM;SAC7E,CAAC,CAAC;QAEH,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC;IACxC,CAAC;IAEO,yBAAyB,CAAC,MAAsB;QACtD,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAChC,IAAI,CAAC,YAAY,CAAC;YAChB,MAAM,EAAE;gBACN,GAAG,MAAM,CAAC,MAAM;gBAChB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,CAAC;gBAC9B,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC;aAC7B;YACD,YAAY,EAAE,IAAI,IAAI,EAAE;SACzB,CAAC,CAAC;IACL,CAAC;IAEO,qBAAqB,CAAC,KAAY;QACxC,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAChC,IAAI,CAAC,YAAY,CAAC;YAChB,MAAM,EAAE;gBACN,GAAG,MAAM,CAAC,MAAM;gBAChB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC;aACjC;YACD,MAAM,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC;SACpD,CAAC,CAAC;IACL,CAAC;CACF;AAED;;GAEG;AACH,MAAM,UAAU,0BAA0B,CACxC,QAAkB,EAClB,MAAqB,EACrB,gBAAkC,EAClC,MAAmC;IAEnC,OAAO,IAAI,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,CAAC,CAAC;AAC9E,CAAC"}
@@ -0,0 +1,245 @@
1
+ /**
2
+ * Agentic QE v3 - Test Generation Coherence Gate
3
+ * ADR-052: Coherence verification before test generation
4
+ *
5
+ * Verifies requirement coherence using Prime Radiant mathematical gates
6
+ * before allowing test generation to proceed.
7
+ *
8
+ * @module domains/test-generation/coherence-gate
9
+ */
10
+ import { Result } from '../../../shared/types/index.js';
11
+ import type { ICoherenceService } from '../../../integrations/coherence/coherence-service.js';
12
+ import type { ComputeLane } from '../../../integrations/coherence/types.js';
13
+ /**
14
+ * A requirement for test generation
15
+ */
16
+ export interface Requirement {
17
+ /** Unique requirement identifier */
18
+ id: string;
19
+ /** Requirement description */
20
+ description: string;
21
+ /** Optional priority */
22
+ priority?: 'high' | 'medium' | 'low';
23
+ /** Optional source of the requirement */
24
+ source?: string;
25
+ /** Optional metadata */
26
+ metadata?: Record<string, unknown>;
27
+ }
28
+ /**
29
+ * Test specification containing requirements
30
+ */
31
+ export interface TestSpecification {
32
+ /** Specification identifier */
33
+ id: string;
34
+ /** Name of the test specification */
35
+ name: string;
36
+ /** Requirements to generate tests for */
37
+ requirements: Requirement[];
38
+ /** Test type */
39
+ testType: 'unit' | 'integration' | 'e2e';
40
+ /** Target framework */
41
+ framework: string;
42
+ /** Additional context */
43
+ context?: Record<string, unknown>;
44
+ }
45
+ /**
46
+ * Enrichment recommendation from coherence analysis
47
+ */
48
+ export interface EnrichmentRecommendation {
49
+ /** Type of enrichment */
50
+ type: 'clarify' | 'add-context' | 'resolve-ambiguity' | 'split-requirement';
51
+ /** Target requirement ID */
52
+ requirementId: string;
53
+ /** Description of what to do */
54
+ description: string;
55
+ /** Optional suggested resolution */
56
+ suggestedResolution?: string;
57
+ }
58
+ /**
59
+ * Result of coherence check on requirements
60
+ */
61
+ export interface RequirementCoherenceResult {
62
+ /** Whether requirements are coherent */
63
+ isCoherent: boolean;
64
+ /** Coherence energy (lower = more coherent) */
65
+ energy: number;
66
+ /** Recommended compute lane */
67
+ lane: ComputeLane;
68
+ /** Detected contradictions between requirements */
69
+ contradictions: RequirementContradiction[];
70
+ /** Recommendations for resolving issues */
71
+ recommendations: EnrichmentRecommendation[];
72
+ /** Duration of the check in milliseconds */
73
+ durationMs: number;
74
+ /** Whether fallback logic was used */
75
+ usedFallback: boolean;
76
+ }
77
+ /**
78
+ * Severity type for requirement contradictions
79
+ */
80
+ export type ContradictionSeverity = 'critical' | 'high' | 'medium' | 'low';
81
+ /**
82
+ * A contradiction between requirements
83
+ */
84
+ export interface RequirementContradiction {
85
+ /** First requirement ID */
86
+ requirementId1: string;
87
+ /** Second requirement ID */
88
+ requirementId2: string;
89
+ /** Severity of the contradiction */
90
+ severity: ContradictionSeverity;
91
+ /** Description of the contradiction */
92
+ description: string;
93
+ /** Confidence that this is a true contradiction */
94
+ confidence: number;
95
+ /** Suggested resolution */
96
+ suggestedResolution?: string;
97
+ }
98
+ /**
99
+ * Configuration for the coherence gate
100
+ */
101
+ export interface TestGenerationCoherenceGateConfig {
102
+ /** Whether coherence checking is enabled */
103
+ enabled: boolean;
104
+ /** Coherence threshold for passing (default: 0.1) */
105
+ coherenceThreshold: number;
106
+ /** Whether to block on human lane (default: true) */
107
+ blockOnHumanLane: boolean;
108
+ /** Whether to enrich spec on retrieval lane (default: true) */
109
+ enrichOnRetrievalLane: boolean;
110
+ /** Embedding dimension for requirements (default: 384) */
111
+ embeddingDimension: number;
112
+ }
113
+ /**
114
+ * Default configuration
115
+ */
116
+ export declare const DEFAULT_COHERENCE_GATE_CONFIG: TestGenerationCoherenceGateConfig;
117
+ /**
118
+ * Error thrown when requirements have unresolvable contradictions
119
+ */
120
+ export declare class CoherenceError extends Error {
121
+ readonly contradictions: RequirementContradiction[];
122
+ readonly lane: ComputeLane;
123
+ constructor(message: string, contradictions: RequirementContradiction[], lane: ComputeLane);
124
+ }
125
+ /**
126
+ * Interface for embedding service (dependency injection)
127
+ */
128
+ export interface IEmbeddingService {
129
+ /** Generate embedding for text */
130
+ embed(text: string): Promise<number[]>;
131
+ }
132
+ /**
133
+ * Test Generation Coherence Gate
134
+ *
135
+ * Verifies requirement coherence before allowing test generation.
136
+ * Per ADR-052, this gate uses Prime Radiant mathematical coherence
137
+ * checking to detect contradictions and route to appropriate compute lanes.
138
+ *
139
+ * @example
140
+ * ```typescript
141
+ * const gate = new TestGenerationCoherenceGate(coherenceService);
142
+ *
143
+ * const result = await gate.checkRequirementCoherence(spec.requirements);
144
+ *
145
+ * if (result.lane === 'human') {
146
+ * throw new CoherenceError('Requirements contain unresolvable contradictions', result.contradictions);
147
+ * }
148
+ *
149
+ * if (result.lane === 'retrieval') {
150
+ * spec = await gate.enrichSpecification(spec, result.recommendations);
151
+ * }
152
+ * ```
153
+ */
154
+ export declare class TestGenerationCoherenceGate {
155
+ private readonly coherenceService;
156
+ private readonly config;
157
+ private readonly embeddingService;
158
+ constructor(coherenceService: ICoherenceService | null, embeddingService?: IEmbeddingService, config?: Partial<TestGenerationCoherenceGateConfig>);
159
+ /**
160
+ * Check coherence of requirements
161
+ *
162
+ * @param requirements - Array of requirements to check
163
+ * @returns Coherence result with lane recommendation
164
+ */
165
+ checkRequirementCoherence(requirements: Requirement[]): Promise<RequirementCoherenceResult>;
166
+ /**
167
+ * Enrich a test specification based on coherence recommendations
168
+ *
169
+ * @param spec - Original test specification
170
+ * @param recommendations - Recommendations from coherence check
171
+ * @returns Enriched specification
172
+ */
173
+ enrichSpecification(spec: TestSpecification, recommendations: EnrichmentRecommendation[]): Promise<TestSpecification>;
174
+ /**
175
+ * Validate requirements before test generation
176
+ *
177
+ * Convenience method that combines coherence check with automatic
178
+ * enrichment and error handling per ADR-052 specification.
179
+ *
180
+ * @param spec - Test specification to validate
181
+ * @returns Validated (and possibly enriched) specification
182
+ * @throws CoherenceError if requirements have unresolvable contradictions
183
+ */
184
+ validateAndEnrich(spec: TestSpecification): Promise<Result<TestSpecification, CoherenceError>>;
185
+ /**
186
+ * Check if the gate is available (coherence service is initialized)
187
+ */
188
+ isAvailable(): boolean;
189
+ /**
190
+ * Convert requirements to coherence nodes
191
+ */
192
+ private requirementsToNodes;
193
+ /**
194
+ * Transform coherence result to requirement-specific format
195
+ */
196
+ private transformCoherenceResult;
197
+ /**
198
+ * Generate enrichment recommendations based on coherence result
199
+ */
200
+ private generateRecommendations;
201
+ /**
202
+ * Generate a resolution suggestion for a contradiction
203
+ */
204
+ private generateResolutionSuggestion;
205
+ /**
206
+ * Create a passing coherence result
207
+ */
208
+ private createPassingResult;
209
+ /**
210
+ * Convert priority to weight
211
+ */
212
+ private priorityToWeight;
213
+ /**
214
+ * Map Severity type to ContradictionSeverity
215
+ * Coherence Severity includes 'info' which we map to 'low'
216
+ */
217
+ private mapSeverity;
218
+ /**
219
+ * Add clarification note to requirement updates
220
+ */
221
+ private addClarificationNote;
222
+ /**
223
+ * Add disambiguation note to requirement updates
224
+ */
225
+ private addDisambiguationNote;
226
+ }
227
+ /**
228
+ * Create a TestGenerationCoherenceGate
229
+ *
230
+ * @param coherenceService - Optional coherence service (can be null for disabled mode)
231
+ * @param embeddingService - Optional embedding service
232
+ * @param config - Optional configuration
233
+ * @returns Configured coherence gate
234
+ *
235
+ * @example
236
+ * ```typescript
237
+ * // With coherence service
238
+ * const gate = createTestGenerationCoherenceGate(coherenceService);
239
+ *
240
+ * // Disabled mode (no blocking)
241
+ * const disabledGate = createTestGenerationCoherenceGate(null, null, { enabled: false });
242
+ * ```
243
+ */
244
+ export declare function createTestGenerationCoherenceGate(coherenceService: ICoherenceService | null, embeddingService?: IEmbeddingService, config?: Partial<TestGenerationCoherenceGateConfig>): TestGenerationCoherenceGate;
245
+ //# sourceMappingURL=coherence-gate-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coherence-gate-service.d.ts","sourceRoot":"","sources":["../../../../src/domains/test-generation/services/coherence-gate-service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAE,MAAM,EAAW,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,EACV,iBAAiB,EAClB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,KAAK,EAGV,WAAW,EAEZ,MAAM,0CAA0C,CAAC;AAMlD;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,oCAAoC;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,8BAA8B;IAC9B,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