agentic-qe 3.13.3 → 3.13.5

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 (414) hide show
  1. package/.agents/skills/aqe-plan-work/SKILL.md +31 -0
  2. package/.agents/skills/aqe-plan-work/agents/openai.yaml +4 -0
  3. package/.agents/skills/aqe-plan-work/references/planning-framework.md +39 -0
  4. package/.agents/skills/aqe-research/SKILL.md +31 -0
  5. package/.agents/skills/aqe-research/agents/openai.yaml +4 -0
  6. package/.agents/skills/aqe-research/references/evidence-rules.md +21 -0
  7. package/.agents/skills/aqe-ruflo/SKILL.md +29 -0
  8. package/.claude/commands/pair/README.md +261 -0
  9. package/.claude/commands/pair/commands.md +546 -0
  10. package/.claude/commands/pair/config.md +510 -0
  11. package/.claude/commands/pair/examples.md +512 -0
  12. package/.claude/commands/pair/modes.md +348 -0
  13. package/.claude/commands/pair/session.md +407 -0
  14. package/.claude/commands/pair/start.md +209 -0
  15. package/.claude/commands/stream-chain/pipeline.md +121 -0
  16. package/.claude/commands/stream-chain/run.md +70 -0
  17. package/.claude/commands/training/README.md +9 -0
  18. package/.claude/commands/training/model-update.md +25 -0
  19. package/.claude/commands/training/neural-patterns.md +108 -0
  20. package/.claude/commands/training/neural-train.md +75 -0
  21. package/.claude/commands/training/pattern-learn.md +25 -0
  22. package/.claude/commands/training/specialization.md +63 -0
  23. package/.claude/commands/truth/start.md +143 -0
  24. package/.claude/commands/verify/check.md +50 -0
  25. package/.claude/commands/verify/start.md +128 -0
  26. package/.claude/helpers/.helpers-version +1 -1
  27. package/.claude/helpers/auto-memory-hook.mjs +430 -430
  28. package/.claude/helpers/helpers.manifest.json +6 -6
  29. package/.claude/helpers/hook-handler.cjs +565 -565
  30. package/.claude/helpers/intelligence.cjs +1058 -1058
  31. package/.claude/helpers/statusline.cjs +1022 -968
  32. package/.claude/helpers/v3/advisor-call.cjs +283 -0
  33. package/.claude/skills/README.md +54 -64
  34. package/.claude/skills/dual-mode/README.md +71 -0
  35. package/.claude/skills/dual-mode/dual-collect.md +103 -0
  36. package/.claude/skills/dual-mode/dual-coordinate.md +85 -0
  37. package/.claude/skills/dual-mode/dual-spawn.md +81 -0
  38. package/.claude/skills/skills-manifest.json +1 -1
  39. package/.codex/hooks/aqe-codex-hook.cjs +34 -9
  40. package/.codex/hooks.json +9 -9
  41. package/CHANGELOG.md +90 -0
  42. package/assets/skills/skills-manifest.json +1 -1
  43. package/dist/cli/bundle.js +5 -5
  44. package/dist/cli/chunks/adapter-QGJAFSG5.js +2 -0
  45. package/dist/cli/chunks/{agent-booster-wasm-YIGGREZN.js → agent-booster-wasm-XDKGG2GP.js} +2 -2
  46. package/dist/cli/chunks/{agent-handler-64O7R55A.js → agent-handler-CTPXGR5P.js} +2 -2
  47. package/dist/cli/chunks/{agent-memory-branch-2ZZBYUP3.js → agent-memory-branch-MG5OV7AY.js} +2 -2
  48. package/dist/cli/chunks/aqe-learning-engine-ZU735SG7.js +2 -0
  49. package/dist/cli/chunks/{arena-PF5WL2WM.js → arena-FAHVOHNG.js} +2 -2
  50. package/dist/cli/chunks/{arena-6YRNQNCX.js → arena-NYO4EUNQ.js} +4 -4
  51. package/dist/cli/chunks/{audit-R53FOYCK.js → audit-6544RL5D.js} +3 -3
  52. package/dist/cli/chunks/base-EKTX2PRE.js +2 -0
  53. package/dist/cli/chunks/{hnswlib-node-QOULNHXS.js → better-sqlite3-MTEONNCQ.js} +2 -2
  54. package/dist/cli/chunks/{brain-handler-J4ICUOUX.js → brain-handler-DPKCUQUC.js} +3 -3
  55. package/dist/cli/chunks/{branch-enumerator-YVPD43TG.js → branch-enumerator-SU2KHC2C.js} +2 -2
  56. package/dist/cli/chunks/{browser-TKVHX53S.js → browser-ITDN72YJ.js} +2 -2
  57. package/dist/cli/chunks/browser-workflow-BUPIMI3E.js +2 -0
  58. package/dist/cli/chunks/{chunk-ORXDKBZC.js → chunk-23AO43XW.js} +1 -1
  59. package/dist/cli/chunks/{chunk-3NML6POU.js → chunk-2CF3XZAS.js} +2 -2
  60. package/dist/cli/chunks/{chunk-5IVOY76M.js → chunk-2KPGJ4LO.js} +2 -2
  61. package/dist/cli/chunks/{chunk-SJWTNKPY.js → chunk-2QI3OJAC.js} +3 -3
  62. package/dist/cli/chunks/{chunk-MYR6CBXC.js → chunk-2RZ2S6YR.js} +2 -2
  63. package/dist/cli/chunks/{chunk-VKUH57JE.js → chunk-2XZWYKXQ.js} +1 -1
  64. package/dist/cli/chunks/{chunk-ZU3XUBDQ.js → chunk-3EWWP3AO.js} +1 -1
  65. package/dist/cli/chunks/{chunk-4Z2AKQP4.js → chunk-3XKCC7LE.js} +1 -1
  66. package/dist/cli/chunks/chunk-42KQE5H6.js +12 -0
  67. package/dist/cli/chunks/{chunk-2MLPO3RZ.js → chunk-43BXSNKU.js} +2 -2
  68. package/dist/cli/chunks/{chunk-UOJ26GXD.js → chunk-4E2NA2GY.js} +2 -2
  69. package/dist/cli/chunks/{chunk-66KIIH6V.js → chunk-4Z7JP7CD.js} +2 -2
  70. package/dist/cli/chunks/{chunk-3J2QITXC.js → chunk-54C3OHES.js} +1 -1
  71. package/dist/cli/chunks/{chunk-5A5EC5RD.js → chunk-557BFPDB.js} +2 -2
  72. package/dist/cli/chunks/{chunk-JG267MVB.js → chunk-5I5KMIFY.js} +2 -2
  73. package/dist/cli/chunks/{chunk-IRX2THND.js → chunk-5YIGAWBO.js} +2 -2
  74. package/dist/cli/chunks/{chunk-PHGOMAIS.js → chunk-64GTU5LR.js} +2 -2
  75. package/dist/cli/chunks/{chunk-HJNFXYX4.js → chunk-6BEMH5K5.js} +1 -1
  76. package/dist/cli/chunks/{chunk-AJ45QR3K.js → chunk-6H3I36DL.js} +2 -2
  77. package/dist/cli/chunks/{chunk-X737I4SO.js → chunk-6L5V3JGJ.js} +1 -1
  78. package/dist/cli/chunks/{chunk-QGJYKXUO.js → chunk-6RV3W2UZ.js} +1 -1
  79. package/dist/cli/chunks/{chunk-XRF5MX4Q.js → chunk-6ZCAZ3TR.js} +2 -2
  80. package/dist/cli/chunks/{chunk-JQTDNUHA.js → chunk-74QRMQFR.js} +2 -2
  81. package/dist/cli/chunks/{chunk-DSUEJK33.js → chunk-76OWM3ZO.js} +2 -2
  82. package/dist/cli/chunks/{chunk-GTURQ454.js → chunk-7A4EXSMN.js} +2 -2
  83. package/dist/cli/chunks/{chunk-DPJLA7JW.js → chunk-7BLXINIL.js} +2 -2
  84. package/dist/cli/chunks/{chunk-4RYU4WMW.js → chunk-7LR4VP2I.js} +1 -1
  85. package/dist/cli/chunks/{chunk-NIA6VTIH.js → chunk-7M4X6WTF.js} +2 -2
  86. package/dist/cli/chunks/{chunk-N3KQRDTM.js → chunk-7PHF2JM3.js} +1 -1
  87. package/dist/cli/chunks/{chunk-7MBPKAQ3.js → chunk-7SQXEYII.js} +2 -2
  88. package/dist/cli/chunks/{chunk-PHBGMXTR.js → chunk-AAGOBPIJ.js} +2 -2
  89. package/dist/cli/chunks/{chunk-33SPAMQZ.js → chunk-AJYJFIKO.js} +2 -2
  90. package/dist/cli/chunks/{chunk-QP4UKSUJ.js → chunk-AKYOY5KR.js} +2 -2
  91. package/dist/cli/chunks/{chunk-HEF6XKA5.js → chunk-AKZ6PWHM.js} +2 -2
  92. package/dist/cli/chunks/{chunk-764G7VK6.js → chunk-APMLMLSL.js} +1 -1
  93. package/dist/cli/chunks/{chunk-KQFMCVBH.js → chunk-AX4XIG4G.js} +2 -2
  94. package/dist/cli/chunks/{chunk-ZLTAAROU.js → chunk-BAJK26EI.js} +2 -2
  95. package/dist/cli/chunks/{chunk-LLQG3F4H.js → chunk-BI6OTPC6.js} +2 -2
  96. package/dist/cli/chunks/chunk-BKI5NFQ5.js +2 -0
  97. package/dist/cli/chunks/{chunk-V6W4IHS5.js → chunk-BUN4WBPW.js} +2 -2
  98. package/dist/cli/chunks/{chunk-UF7JKDWB.js → chunk-BX5MY65W.js} +1 -1
  99. package/dist/cli/chunks/{chunk-KBQRYAHZ.js → chunk-CD4YWKJ2.js} +2 -2
  100. package/dist/cli/chunks/{chunk-VGWHFFK6.js → chunk-CHFZHORO.js} +5 -5
  101. package/dist/cli/chunks/{chunk-UX434RY5.js → chunk-CPIAZGHF.js} +2 -2
  102. package/dist/cli/chunks/{chunk-PS32DXYF.js → chunk-D4P6BKGF.js} +3 -3
  103. package/dist/cli/chunks/{chunk-CBLKYGKT.js → chunk-DFBJPOJR.js} +2 -2
  104. package/dist/cli/chunks/{chunk-XRQGWUDX.js → chunk-DIRFXY3J.js} +7 -7
  105. package/dist/cli/chunks/chunk-DK7MV2W3.js +2 -0
  106. package/dist/cli/chunks/chunk-DVYNBMMP.js +62 -0
  107. package/dist/cli/chunks/{chunk-LWPCGOQM.js → chunk-EGI6SKQD.js} +2 -2
  108. package/dist/cli/chunks/{chunk-RMQRSZB4.js → chunk-ELC3UEML.js} +1 -1
  109. package/dist/cli/chunks/chunk-ELKWYWTD.js +2 -0
  110. package/dist/cli/chunks/{chunk-2BYRQ5MV.js → chunk-EPMUAKU2.js} +2 -2
  111. package/dist/cli/chunks/{chunk-U7DGRHSB.js → chunk-EROQSNGD.js} +2 -2
  112. package/dist/cli/chunks/{chunk-GSG5FASF.js → chunk-EXXWOOUL.js} +3 -3
  113. package/dist/cli/chunks/{chunk-UWBHR4EZ.js → chunk-FQPYD6YE.js} +1 -1
  114. package/dist/cli/chunks/{chunk-OD5R7HRI.js → chunk-FW6OPDA6.js} +1 -1
  115. package/dist/cli/chunks/{chunk-M7XDTQHX.js → chunk-FYWTMDID.js} +2 -2
  116. package/dist/cli/chunks/{chunk-TK6CHESH.js → chunk-G47WJMHM.js} +1 -1
  117. package/dist/cli/chunks/{chunk-LOZRBK2Z.js → chunk-G73XY2NK.js} +2 -2
  118. package/dist/cli/chunks/{chunk-WRC66JTK.js → chunk-GHSP4AC5.js} +1 -1
  119. package/dist/cli/chunks/{chunk-37GCWGXT.js → chunk-GITS44TM.js} +2 -2
  120. package/dist/cli/chunks/{chunk-IH47VGC7.js → chunk-GUO6JZMS.js} +2 -2
  121. package/dist/cli/chunks/{chunk-JLFU5SCI.js → chunk-GWBV26SE.js} +2 -2
  122. package/dist/cli/chunks/{chunk-AXXFY7PX.js → chunk-HBYVYLBN.js} +2 -2
  123. package/dist/cli/chunks/{chunk-46U73TST.js → chunk-HMNBNGNO.js} +1 -1
  124. package/dist/cli/chunks/{chunk-J65XQ6WE.js → chunk-HZV3J4VQ.js} +2 -2
  125. package/dist/cli/chunks/{chunk-PHNNAIFA.js → chunk-IC5JGTM4.js} +1 -1
  126. package/dist/cli/chunks/{chunk-JOHWWTJF.js → chunk-IS3P5VBL.js} +2 -2
  127. package/dist/cli/chunks/{chunk-64C4SS66.js → chunk-JID7JO7K.js} +2 -2
  128. package/dist/cli/chunks/{chunk-DTOKJKSE.js → chunk-JOJ2UFHM.js} +2 -2
  129. package/dist/cli/chunks/{chunk-MGKJFO57.js → chunk-JTUTZUED.js} +2 -2
  130. package/dist/cli/chunks/{chunk-2QKSIHXO.js → chunk-JX5IY2YK.js} +1 -1
  131. package/dist/cli/chunks/{chunk-EEG4G5JG.js → chunk-K55D3PAR.js} +3 -3
  132. package/dist/cli/chunks/{chunk-TNM7X2GD.js → chunk-KAVYTFAS.js} +2 -2
  133. package/dist/cli/chunks/{chunk-NUPAGPN6.js → chunk-KRCIC4JK.js} +2 -2
  134. package/dist/cli/chunks/{chunk-VFZNVJP2.js → chunk-L6H4MWVN.js} +2 -2
  135. package/dist/cli/chunks/{chunk-QZ3EIONO.js → chunk-L6I2Q6UQ.js} +1 -1
  136. package/dist/cli/chunks/{chunk-A547LEUW.js → chunk-LARAXKTZ.js} +2 -2
  137. package/dist/cli/chunks/{chunk-6I2L22WS.js → chunk-LELWVGN6.js} +1 -1
  138. package/dist/cli/chunks/chunk-M7456ZW5.js +2 -0
  139. package/dist/cli/chunks/{chunk-J5AIMM2J.js → chunk-MF6OT43N.js} +1 -1
  140. package/dist/cli/chunks/{chunk-WHUQDBV7.js → chunk-MX35PIGJ.js} +2 -2
  141. package/dist/cli/chunks/{chunk-RRHIEG4Y.js → chunk-ND7IWTVQ.js} +2 -2
  142. package/dist/cli/chunks/{chunk-TRPRFW27.js → chunk-NFE4RV2Q.js} +2 -2
  143. package/dist/cli/chunks/{chunk-37I4AMCT.js → chunk-NVZ3QROA.js} +2 -2
  144. package/dist/cli/chunks/{chunk-6C3PDY72.js → chunk-OF5UL3FA.js} +1 -1
  145. package/dist/cli/chunks/{chunk-JBWXBDJX.js → chunk-OGUPLNRY.js} +1 -1
  146. package/dist/cli/chunks/chunk-OJZ5LI3O.js +2 -0
  147. package/dist/cli/chunks/{chunk-ZIYCZZYD.js → chunk-OQ4HOHBI.js} +2 -2
  148. package/dist/cli/chunks/{chunk-2G2XD6EM.js → chunk-OUWZTYRZ.js} +2 -2
  149. package/dist/cli/chunks/{chunk-IZIYFVAZ.js → chunk-PDOL3FGO.js} +3 -3
  150. package/dist/cli/chunks/{chunk-NF2N2FIY.js → chunk-PEHSTLU7.js} +1 -1
  151. package/dist/cli/chunks/{chunk-WVWWTRKT.js → chunk-PKCVQ2I4.js} +1 -1
  152. package/dist/cli/chunks/{chunk-CW7BWFFF.js → chunk-PNDWHSZO.js} +2 -2
  153. package/dist/cli/chunks/{chunk-IKPBQZQP.js → chunk-PSD2L2JB.js} +2 -2
  154. package/dist/cli/chunks/{chunk-DSGKRXHF.js → chunk-Q3J5OTZ2.js} +1 -1
  155. package/dist/cli/chunks/{chunk-PY55ZD2G.js → chunk-QHX7VLVT.js} +2 -2
  156. package/dist/cli/chunks/{chunk-7TG7LJAB.js → chunk-QIHKSRUZ.js} +2 -2
  157. package/dist/cli/chunks/{chunk-B7XZJBMT.js → chunk-QLD2WVWN.js} +2 -2
  158. package/dist/cli/chunks/{chunk-HOIH542Y.js → chunk-R4VDRE75.js} +1 -1
  159. package/dist/cli/chunks/{chunk-A6J5MAVO.js → chunk-RDHBUCKQ.js} +182 -201
  160. package/dist/cli/chunks/{chunk-OU5CZFBG.js → chunk-RGBYJAKQ.js} +3 -3
  161. package/dist/cli/chunks/{chunk-GNCGRDQ2.js → chunk-RKXN5TVS.js} +1 -1
  162. package/dist/cli/chunks/{chunk-RWPWD5GG.js → chunk-S2EUFKHL.js} +2 -2
  163. package/dist/cli/chunks/{chunk-CVFUANMU.js → chunk-SN57SNLU.js} +2 -2
  164. package/dist/cli/chunks/{chunk-OX6WPOGR.js → chunk-SQDHFTGQ.js} +3 -3
  165. package/dist/cli/chunks/{chunk-P5CQMDFQ.js → chunk-THQ5ZBWP.js} +2 -2
  166. package/dist/cli/chunks/{chunk-BDOD534O.js → chunk-TU5S33SD.js} +2 -2
  167. package/dist/cli/chunks/{chunk-22WFXSXB.js → chunk-U5GGDJ44.js} +2 -2
  168. package/dist/cli/chunks/{chunk-KQ5GLUOB.js → chunk-UGER2PGN.js} +4 -4
  169. package/dist/cli/chunks/{chunk-TW5QWNT4.js → chunk-UUFLYBUO.js} +2 -2
  170. package/dist/cli/chunks/{chunk-QFANYWC5.js → chunk-UWM4CCK7.js} +1 -1
  171. package/dist/cli/chunks/{chunk-FF53QW6C.js → chunk-V2T7QEPV.js} +1 -1
  172. package/dist/cli/chunks/{chunk-EMH54CO7.js → chunk-VE5STFDP.js} +2 -2
  173. package/dist/cli/chunks/{chunk-APXJJRU4.js → chunk-VNRWJ5JZ.js} +2 -2
  174. package/dist/cli/chunks/{chunk-N7IRBQ4D.js → chunk-VRV7CXEM.js} +1 -1
  175. package/dist/cli/chunks/{chunk-CXPMA7LY.js → chunk-W7H46LAX.js} +1 -1
  176. package/dist/cli/chunks/{chunk-3CFWNT3F.js → chunk-WAELEQP5.js} +2 -2
  177. package/dist/cli/chunks/{chunk-JHOJG5VO.js → chunk-WDDU4I5Z.js} +1 -1
  178. package/dist/cli/chunks/{chunk-SAMAYDVS.js → chunk-WLY2J6JP.js} +2 -2
  179. package/dist/cli/chunks/{chunk-62F5M5OO.js → chunk-WSSFH23M.js} +1 -1
  180. package/dist/cli/chunks/{chunk-N4OBRS6S.js → chunk-WZI2REDL.js} +2 -2
  181. package/dist/cli/chunks/{chunk-7AHQ7ROU.js → chunk-X53GJW2E.js} +2 -2
  182. package/dist/cli/chunks/{chunk-H2BR5MCX.js → chunk-XACF7ZLM.js} +2 -2
  183. package/dist/cli/chunks/{chunk-QZS3XCU5.js → chunk-XNGYWOAK.js} +2 -2
  184. package/dist/cli/chunks/{chunk-F6V5POSK.js → chunk-YFD6K7AS.js} +75 -75
  185. package/dist/cli/chunks/{chunk-W6OIDL4J.js → chunk-YG45ZONW.js} +2 -2
  186. package/dist/cli/chunks/{chunk-FGIZVGIE.js → chunk-YGMCRJSC.js} +2 -2
  187. package/dist/cli/chunks/{chunk-SSXCHSVM.js → chunk-YIEMVVUH.js} +2 -2
  188. package/dist/cli/chunks/{chunk-ZI7BWJJW.js → chunk-YSWI3APU.js} +2 -2
  189. package/dist/cli/chunks/{chunk-ADBTOUOX.js → chunk-YU4U3BUY.js} +1 -1
  190. package/dist/cli/chunks/{chunk-K2D3YW2N.js → chunk-Z5YNYVFO.js} +1 -1
  191. package/dist/cli/chunks/{chunk-UAXFRKR3.js → chunk-ZE3WS57T.js} +2 -2
  192. package/dist/cli/chunks/{chunk-C7AXBCMS.js → chunk-ZMA5OWIQ.js} +4 -4
  193. package/dist/cli/chunks/{chunk-RU23JXCG.js → chunk-ZOD37GNG.js} +3 -3
  194. package/dist/cli/chunks/{chunk-MNEQESQJ.js → chunk-ZQ7XQLLV.js} +3 -3
  195. package/dist/cli/chunks/{chunk-TGVDKSSS.js → chunk-ZUIPUO7Q.js} +1 -1
  196. package/dist/cli/chunks/{chunk-L4O2645U.js → chunk-ZWLFEZQC.js} +1 -1
  197. package/dist/cli/chunks/{ci-G2NEYLVO.js → ci-IRCNFD32.js} +2 -2
  198. package/dist/cli/chunks/{ci-output-SZFEXGBU.js → ci-output-NFOUNDJ2.js} +2 -2
  199. package/dist/cli/chunks/{circuit-breaker-ZD7PJY6N.js → circuit-breaker-GB7SQRD2.js} +2 -2
  200. package/dist/cli/chunks/{claude-flow-setup-DAVANGUJ.js → claude-flow-setup-STFKPPVL.js} +2 -2
  201. package/dist/cli/chunks/client-M4WF22UT.js +2 -0
  202. package/dist/cli/chunks/{cline-installer-WCPKWLY7.js → cline-installer-MLKKIHIV.js} +2 -2
  203. package/dist/cli/chunks/{code-324ZJR3V.js → code-ZRCJC42H.js} +2 -2
  204. package/dist/cli/chunks/{code-index-extractor-EWVSXJHR.js → code-index-extractor-VWDYYQY2.js} +2 -2
  205. package/dist/cli/chunks/codex-installer-I5BTWYQV.js +15 -0
  206. package/dist/cli/chunks/{completions-ZAWBZWYK.js → completions-5JCAFTQV.js} +2 -2
  207. package/dist/cli/chunks/{complexity-analyzer-S3H2IRON.js → complexity-analyzer-6JLLAPGO.js} +2 -2
  208. package/dist/cli/chunks/{continuedev-installer-4DDFAJ26.js → continuedev-installer-YBOLMUZR.js} +2 -2
  209. package/dist/cli/chunks/{copilot-installer-KBBAL3G5.js → copilot-installer-GDBJZBXS.js} +2 -2
  210. package/dist/cli/chunks/core-handlers-3MNFXL44.js +2 -0
  211. package/dist/cli/chunks/{cost-tracker-2YM7SGBW.js → cost-tracker-NEAVGEZI.js} +2 -2
  212. package/dist/cli/chunks/{coverage-6CCBAORJ.js → coverage-DXS5XNAA.js} +3 -3
  213. package/dist/cli/chunks/cross-domain-router-Q5X6ZLJY.js +2 -0
  214. package/dist/cli/chunks/{cursor-installer-24DKXNU5.js → cursor-installer-3KEMFIFA.js} +2 -2
  215. package/dist/cli/chunks/{daemon-M2PSDIZF.js → daemon-FT2J6VY4.js} +3 -3
  216. package/dist/cli/chunks/{daemon-JLF6CRBS.js → daemon-JN377KTA.js} +4 -4
  217. package/dist/cli/chunks/{dag-attention-scheduler-Y5HSZDRV.js → dag-attention-scheduler-EJFEWFXI.js} +2 -2
  218. package/dist/cli/chunks/{detect-6Y227IJ6.js → detect-E5MN6N3L.js} +2 -2
  219. package/dist/cli/chunks/{dist-node-EGOJXGTA.js → dist-node-ZFSAQMFD.js} +2 -2
  220. package/dist/cli/chunks/{domain-handler-G3JEWRE5.js → domain-handler-S7VFZ2MY.js} +2 -2
  221. package/dist/cli/chunks/{domain-transfer-XOHI3EMJ.js → domain-transfer-LGHT3FN4.js} +2 -2
  222. package/dist/cli/chunks/dream-5QB6JABW.js +2 -0
  223. package/dist/cli/chunks/{embed-and-insert-pattern-CSSA55L4.js → embed-and-insert-pattern-OVQS6IKK.js} +2 -2
  224. package/dist/cli/chunks/{eval-NHBXOXDV.js → eval-45UWDD2R.js} +2 -2
  225. package/dist/cli/chunks/{experience-capture-middleware-B7ZDV5UY.js → experience-capture-middleware-XDRJSNPY.js} +3 -3
  226. package/dist/cli/chunks/{fast-paths-XGKSBALA.js → fast-paths-VEDCJL75.js} +2 -2
  227. package/dist/cli/chunks/{feature-flags-ZVD73ZYK.js → feature-flags-NOTQVBLP.js} +2 -2
  228. package/dist/cli/chunks/{feature-flags-NBUDJSWJ.js → feature-flags-TGA3NWVL.js} +2 -2
  229. package/dist/cli/chunks/file-discovery-AHMR6IGX.js +2 -0
  230. package/dist/cli/chunks/{fleet-LF77P3BW.js → fleet-CQBUCH2S.js} +3 -3
  231. package/dist/cli/chunks/{gnn-wrapper-UXNT7BEN.js → gnn-wrapper-SOZCIONJ.js} +2 -2
  232. package/dist/cli/chunks/{heartbeat-handler-C4LMU5LA.js → heartbeat-handler-6XNV4DGM.js} +4 -4
  233. package/dist/cli/chunks/heartbeat-scheduler-ZRLIMPKO.js +2 -0
  234. package/dist/cli/chunks/hnsw-adapter-R4VAEQ2B.js +2 -0
  235. package/dist/cli/chunks/hnsw-index-GTUOS6DF.js +2 -0
  236. package/dist/cli/chunks/{hnsw-legacy-bridge-EHHBIWS3.js → hnsw-legacy-bridge-UILVP37N.js} +2 -2
  237. package/dist/cli/chunks/hnswlib-node-OHJQOSAH.js +2 -0
  238. package/dist/cli/chunks/{hooks-AGE3HCFI.js → hooks-QVDOGEHG.js} +10 -10
  239. package/dist/cli/chunks/hybrid-router-CYEXFWDT.js +2 -0
  240. package/dist/cli/chunks/{hypergraph-engine-E5QX5MEB.js → hypergraph-engine-YMVPBXZS.js} +2 -2
  241. package/dist/cli/chunks/{hypergraph-handler-ZZHBANYB.js → hypergraph-handler-SHUNZXUK.js} +3 -3
  242. package/dist/cli/chunks/impact-analyzer-HMJ7LAXR.js +2 -0
  243. package/dist/cli/chunks/{init-handler-PNVRBZZT.js → init-handler-JE5FYJAV.js} +16 -12
  244. package/dist/cli/chunks/init-wizard-OIK6S3PQ.js +2 -0
  245. package/dist/cli/chunks/kernel-NZCGR72Y.js +2 -0
  246. package/dist/cli/chunks/{kilocode-installer-TR53QKPU.js → kilocode-installer-TVP4YOOK.js} +2 -2
  247. package/dist/cli/chunks/{kiro-installer-MJW6LCAX.js → kiro-installer-XBSGANX7.js} +2 -2
  248. package/dist/cli/chunks/knowledge-graph-HA7XW46B.js +2 -0
  249. package/dist/cli/chunks/{learning-6LLGHP2Q.js → learning-O4ZXQVRE.js} +3 -3
  250. package/dist/cli/chunks/{llm-router-DBLV3VGG.js → llm-router-FXXJHARR.js} +4 -4
  251. package/dist/cli/chunks/llm-router-service-FVGQSXYC.js +2 -0
  252. package/dist/cli/chunks/{load-LAZ3E5PE.js → load-IVF6G2SK.js} +2 -2
  253. package/dist/cli/chunks/load-test-IQTO35GE.js +2 -0
  254. package/dist/cli/chunks/{mcp-L5QXHSEY.js → mcp-VXSDVG3H.js} +2 -2
  255. package/dist/cli/chunks/{memory-YR5PCMWA.js → memory-BINJV3M6.js} +5 -5
  256. package/dist/cli/chunks/memory-backend-YGSOJ7SI.js +2 -0
  257. package/dist/cli/chunks/{memory-handlers-BSRTZQYR.js → memory-handlers-BJNFJZFP.js} +2 -2
  258. package/dist/cli/chunks/{multi-model-executor-RECZ3ACW.js → multi-model-executor-RJHYK6JI.js} +2 -2
  259. package/dist/cli/chunks/{opencode-installer-4TDUB7HH.js → opencode-installer-VCTF5ETL.js} +2 -2
  260. package/dist/cli/chunks/{orchestrator-PHDKJ5C4.js → orchestrator-5SKZ2BOK.js} +11 -11
  261. package/dist/cli/chunks/pattern-null-store-4WN5O2PF.js +2 -0
  262. package/dist/cli/chunks/{pattern-usage-recorder-QK2FADRS.js → pattern-usage-recorder-AY2DAOQO.js} +2 -2
  263. package/dist/cli/chunks/{pipeline-JQJYSN43.js → pipeline-EMBMC75N.js} +2 -2
  264. package/dist/cli/chunks/platform-GADIFXCI.js +2 -0
  265. package/dist/cli/chunks/{plugin-766MBGK6.js → plugin-Q234ZAAY.js} +2 -2
  266. package/dist/cli/chunks/{prime-radiant-advanced-wasm-XQERZNSK.js → prime-radiant-advanced-wasm-CXXKYB2P.js} +2 -2
  267. package/dist/cli/chunks/protocol-executor-EYTJXPXY.js +2 -0
  268. package/dist/cli/chunks/{protocol-handler-FAK4MMNA.js → protocol-handler-ZZRFBVNA.js} +2 -2
  269. package/dist/cli/chunks/{prove-HYBVXOGW.js → prove-7674ATXK.js} +2 -2
  270. package/dist/cli/chunks/provider-manager-TM3JHYLL.js +2 -0
  271. package/dist/cli/chunks/qe-reasoning-bank-6JLFP3HE.js +2 -0
  272. package/dist/cli/chunks/quality-QCIGVN2S.js +7 -0
  273. package/dist/cli/chunks/{quality-gate-RK32VMO7.js → quality-gate-AKV564GE.js} +3 -3
  274. package/dist/cli/chunks/queen-coordinator-OKGOKGHI.js +2 -0
  275. package/dist/cli/chunks/{real-embeddings-GI7CRHE2.js → real-embeddings-74POUVMX.js} +2 -2
  276. package/dist/cli/chunks/{roocode-installer-BS3XWJJI.js → roocode-installer-INBL5AG7.js} +2 -2
  277. package/dist/cli/chunks/router-J45OF4SP.js +2 -0
  278. package/dist/cli/chunks/routing-feedback-VTZFH57X.js +2 -0
  279. package/dist/cli/chunks/{routing-handler-XMGRJDHH.js → routing-handler-C7HMM7RL.js} +2 -2
  280. package/dist/cli/chunks/{ruvector-commands-NDL3ONNC.js → ruvector-commands-PT6LRVCW.js} +2 -2
  281. package/dist/cli/chunks/{rvf-dual-writer-XAJOYGJ2.js → rvf-dual-writer-PRKROTP3.js} +2 -2
  282. package/dist/cli/chunks/{rvf-migration-adapter-WXFRZZ26.js → rvf-migration-adapter-ZI2XW4UX.js} +2 -2
  283. package/dist/cli/chunks/{rvf-migration-coordinator-WFXA2VUQ.js → rvf-migration-coordinator-5JTGP35V.js} +2 -2
  284. package/dist/cli/chunks/rvf-native-adapter-BDPUBFNP.js +2 -0
  285. package/dist/cli/chunks/{rvf-store-integrity-I7PFJZCK.js → rvf-store-integrity-3B5TZTFR.js} +2 -2
  286. package/dist/cli/chunks/safe-db-FHJBWJIB.js +2 -0
  287. package/dist/cli/chunks/schedule-LP7YYT4P.js +2 -0
  288. package/dist/cli/chunks/scheduler-BOZWGKJG.js +2 -0
  289. package/dist/cli/chunks/{security-H3WY76GF.js → security-IMIWSAHW.js} +3 -3
  290. package/dist/cli/chunks/{shared-rvf-adapter-GRTJCLW6.js → shared-rvf-adapter-UDKJNX6I.js} +2 -2
  291. package/dist/cli/chunks/{shared-rvf-dual-writer-46XE5R2B.js → shared-rvf-dual-writer-FQOBQ6S5.js} +2 -2
  292. package/dist/cli/chunks/sqlite-persistence-TDM36AHF.js +2 -0
  293. package/dist/cli/chunks/{status-handler-VUIFMY4F.js → status-handler-7WON7M7F.js} +2 -2
  294. package/dist/cli/chunks/{structural-health-I7HC477E.js → structural-health-JTKTO3A4.js} +2 -2
  295. package/dist/cli/chunks/{sync-M6LUV5R4.js → sync-6ABYTAOL.js} +2 -2
  296. package/dist/cli/chunks/{sync-RO2YGMBF.js → sync-UJSHBY3B.js} +2 -2
  297. package/dist/cli/chunks/{task-handler-BJJTZ7AU.js → task-handler-5TZNOCCB.js} +2 -2
  298. package/dist/cli/chunks/{task-handlers-B6S4NEN3.js → task-handlers-G7ZUGBHM.js} +3 -3
  299. package/dist/cli/chunks/test-BSJ6MVTG.js +33 -0
  300. package/dist/cli/chunks/{test-scheduling-4ISKEFR6.js → test-scheduling-OSJJXIYQ.js} +3 -3
  301. package/dist/cli/chunks/{token-bootstrap-BOIYBZHW.js → token-bootstrap-MRNFR4YI.js} +2 -2
  302. package/dist/cli/chunks/{token-usage-6ZZC7RLT.js → token-usage-YQN7ND7G.js} +2 -2
  303. package/dist/cli/chunks/{transformers-55VI4OGW.js → transformers-QL3AG25C.js} +2 -2
  304. package/dist/cli/chunks/{tree-sitter-wasm-parser-6GRRGB3K.js → tree-sitter-wasm-parser-BECZRRZP.js} +2 -2
  305. package/dist/cli/chunks/{types-SXDF7QQT.js → types-FQSNLPWS.js} +2 -2
  306. package/dist/cli/chunks/unified-memory-6PHUOZRH.js +2 -0
  307. package/dist/cli/chunks/unified-memory-hnsw-WYSFH3PS.js +2 -0
  308. package/dist/cli/chunks/unified-persistence-QBGHDCCO.js +2 -0
  309. package/dist/cli/chunks/{upgrade-PMPB7NGB.js → upgrade-2ICXXV6D.js} +2 -2
  310. package/dist/cli/chunks/{validate-G37QKKXK.js → validate-LPAUH2F4.js} +2 -2
  311. package/dist/cli/chunks/{validate-swarm-6X22J3VD.js → validate-swarm-VWVE2GM7.js} +2 -2
  312. package/dist/cli/chunks/{vibium-SGBJKHQL.js → vibium-U3LBEI4K.js} +2 -2
  313. package/dist/cli/chunks/visual-security-LH7DRCDS.js +2 -0
  314. package/dist/cli/chunks/{web-tree-sitter-S46Y5BUJ.js → web-tree-sitter-QGZXQPXU.js} +2 -2
  315. package/dist/cli/chunks/{windsurf-installer-PTYCETNM.js → windsurf-installer-GGLQJWUI.js} +2 -2
  316. package/dist/cli/chunks/witness-chain-2BDZOPJ2.js +2 -0
  317. package/dist/cli/chunks/{witness-chain-5SCRFT2K.js → witness-chain-47A2AXUS.js} +2 -2
  318. package/dist/cli/chunks/{witness-key-manager-XIAMRVUZ.js → witness-key-manager-FVS7UOWM.js} +2 -2
  319. package/dist/cli/chunks/{workflow-BPQA2NAI.js → workflow-KIZPLTYW.js} +4 -4
  320. package/dist/cli/chunks/workflow-orchestrator-UYOPFK2T.js +2 -0
  321. package/dist/cli/chunks/{wrappers-IWZZZOAU.js → wrappers-ER6XCMT6.js} +2 -2
  322. package/dist/cli/commands/platform.d.ts +17 -0
  323. package/dist/cli/commands/platform.js +91 -41
  324. package/dist/cli/commands/quality.d.ts +12 -0
  325. package/dist/cli/commands/quality.js +50 -74
  326. package/dist/cli/commands/test.js +33 -4
  327. package/dist/cli/handlers/init-handler.d.ts +3 -0
  328. package/dist/cli/handlers/init-handler.js +13 -4
  329. package/dist/cli/utils/file-discovery.d.ts +1 -0
  330. package/dist/cli/utils/file-discovery.js +13 -1
  331. package/dist/domains/coverage-analysis/services/coverage-analyzer.js +5 -0
  332. package/dist/domains/quality-assessment/index.d.ts +1 -0
  333. package/dist/domains/quality-assessment/index.js +1 -0
  334. package/dist/domains/quality-assessment/quality-evidence.d.ts +41 -0
  335. package/dist/domains/quality-assessment/quality-evidence.js +115 -0
  336. package/dist/domains/test-execution/coordinator.d.ts +1 -0
  337. package/dist/domains/test-execution/coordinator.js +11 -4
  338. package/dist/domains/test-execution/interfaces.d.ts +2 -0
  339. package/dist/domains/test-execution/services/retry-handler.js +3 -3
  340. package/dist/domains/test-execution/services/test-executor.d.ts +5 -0
  341. package/dist/domains/test-execution/services/test-executor.js +93 -30
  342. package/dist/domains/test-generation/gates/test-quality-gate.d.ts +8 -2
  343. package/dist/domains/test-generation/gates/test-quality-gate.js +93 -4
  344. package/dist/domains/test-generation/generators/base-test-generator.js +0 -15
  345. package/dist/domains/test-generation/generators/jest-vitest-generator.js +17 -26
  346. package/dist/domains/test-generation/services/test-generator.js +7 -2
  347. package/dist/init/codex-installer.d.ts +22 -3
  348. package/dist/init/codex-installer.js +132 -54
  349. package/dist/init/codex-skill-manifest.d.ts +43 -0
  350. package/dist/init/codex-skill-manifest.js +21 -0
  351. package/dist/init/orchestrator.js +2 -0
  352. package/dist/init/phases/07-hooks.js +3 -1
  353. package/dist/init/phases/09-assets.js +10 -1
  354. package/dist/init/phases/phase-interface.d.ts +4 -0
  355. package/dist/init/settings-merge.d.ts +3 -1
  356. package/dist/init/settings-merge.js +9 -3
  357. package/dist/integrations/embeddings/index/HNSWIndex.js +2 -0
  358. package/dist/learning/real-embeddings.js +19 -3
  359. package/dist/mcp/bundle.js +453 -472
  360. package/dist/mcp/tools/quality-assessment/evaluate.d.ts +7 -0
  361. package/dist/mcp/tools/quality-assessment/evaluate.js +72 -20
  362. package/dist/mcp/tools/security-compliance/scan.js +8 -1
  363. package/package.json +6 -2
  364. package/dist/cli/chunks/adapter-NIUFP6QX.js +0 -2
  365. package/dist/cli/chunks/aqe-learning-engine-DC4DNCPB.js +0 -2
  366. package/dist/cli/chunks/base-EXD3ULZT.js +0 -2
  367. package/dist/cli/chunks/better-sqlite3-OW5HIPEN.js +0 -2
  368. package/dist/cli/chunks/browser-workflow-KOMASCB7.js +0 -2
  369. package/dist/cli/chunks/chunk-5IH22DLD.js +0 -12
  370. package/dist/cli/chunks/chunk-6R6QGQ7D.js +0 -2
  371. package/dist/cli/chunks/chunk-A22RTEJ3.js +0 -62
  372. package/dist/cli/chunks/chunk-H4XZOIV6.js +0 -2
  373. package/dist/cli/chunks/chunk-T5L65R23.js +0 -2
  374. package/dist/cli/chunks/chunk-VRTNRI4H.js +0 -2
  375. package/dist/cli/chunks/client-ZJQMJO5N.js +0 -2
  376. package/dist/cli/chunks/codex-installer-HVSZBHH2.js +0 -10
  377. package/dist/cli/chunks/core-handlers-U2YJLH6O.js +0 -2
  378. package/dist/cli/chunks/cross-domain-router-E7EMKZEK.js +0 -2
  379. package/dist/cli/chunks/dream-ZMNQYBJO.js +0 -2
  380. package/dist/cli/chunks/file-discovery-C42TEUKT.js +0 -2
  381. package/dist/cli/chunks/heartbeat-scheduler-2JL4MAJR.js +0 -2
  382. package/dist/cli/chunks/hnsw-adapter-AZD6O35G.js +0 -2
  383. package/dist/cli/chunks/hnsw-index-WJLE4S5L.js +0 -2
  384. package/dist/cli/chunks/hybrid-router-YTKJBAS2.js +0 -2
  385. package/dist/cli/chunks/impact-analyzer-CX56GZXA.js +0 -2
  386. package/dist/cli/chunks/init-wizard-WE6HIC66.js +0 -2
  387. package/dist/cli/chunks/kernel-MT55LNNI.js +0 -2
  388. package/dist/cli/chunks/knowledge-graph-WN3LQ2W7.js +0 -2
  389. package/dist/cli/chunks/llm-router-service-NKHEQQMN.js +0 -2
  390. package/dist/cli/chunks/load-test-3WIQASDF.js +0 -2
  391. package/dist/cli/chunks/memory-backend-W6YSNT6O.js +0 -2
  392. package/dist/cli/chunks/pattern-null-store-IV3ZESTR.js +0 -2
  393. package/dist/cli/chunks/platform-FA5TOPTH.js +0 -2
  394. package/dist/cli/chunks/protocol-executor-GFAG5G6K.js +0 -2
  395. package/dist/cli/chunks/provider-manager-TIVIJIYH.js +0 -2
  396. package/dist/cli/chunks/qe-reasoning-bank-BYE7YF6Y.js +0 -2
  397. package/dist/cli/chunks/quality-EGSO2RAX.js +0 -7
  398. package/dist/cli/chunks/queen-coordinator-WOHYVV7A.js +0 -2
  399. package/dist/cli/chunks/router-VUW2UVCN.js +0 -2
  400. package/dist/cli/chunks/routing-feedback-WSUQMZAK.js +0 -2
  401. package/dist/cli/chunks/rvf-native-adapter-RHZCXVN6.js +0 -2
  402. package/dist/cli/chunks/safe-db-NTWEW7ZM.js +0 -2
  403. package/dist/cli/chunks/schedule-WEVC2GW2.js +0 -2
  404. package/dist/cli/chunks/scheduler-XHI5AJIS.js +0 -2
  405. package/dist/cli/chunks/sqlite-persistence-QZUPKMHP.js +0 -2
  406. package/dist/cli/chunks/test-BE7EM6Y6.js +0 -33
  407. package/dist/cli/chunks/unified-memory-QKWUSEBV.js +0 -2
  408. package/dist/cli/chunks/unified-memory-hnsw-Z2UQZRTK.js +0 -2
  409. package/dist/cli/chunks/unified-persistence-AVK2NSMI.js +0 -2
  410. package/dist/cli/chunks/visual-security-64UFH23G.js +0 -2
  411. package/dist/cli/chunks/witness-chain-ZIVSDX6C.js +0 -2
  412. package/dist/cli/chunks/workflow-orchestrator-TYP4MI2V.js +0 -2
  413. package/dist/cli/commands/init.d.ts +0 -19
  414. package/dist/cli/commands/init.js +0 -318
@@ -0,0 +1,103 @@
1
+ ---
2
+ name: dual-collect
3
+ description: Collect results from headless Codex workers
4
+ ---
5
+
6
+ # Dual Collect Skill
7
+
8
+ Collect and aggregate results from headless Codex workers stored in shared memory.
9
+
10
+ ## Usage
11
+
12
+ ```
13
+ /dual-collect [--namespace <namespace>] [--format <format>]
14
+ ```
15
+
16
+ ## Parameters
17
+
18
+ | Parameter | Default | Description |
19
+ |-----------|---------|-------------|
20
+ | `--namespace` | results | Memory namespace to search |
21
+ | `--format` | summary | Output format: summary, detailed, json |
22
+ | `--filter` | none | Filter by key pattern |
23
+
24
+ ## Examples
25
+
26
+ ### Collect All Results
27
+ ```
28
+ /dual-collect
29
+ ```
30
+
31
+ ### Collect from Specific Namespace
32
+ ```
33
+ /dual-collect --namespace patterns
34
+ ```
35
+
36
+ ### Detailed Output
37
+ ```
38
+ /dual-collect --format detailed
39
+ ```
40
+
41
+ ### Filter by Worker
42
+ ```
43
+ /dual-collect --filter "worker-auth-*"
44
+ ```
45
+
46
+ ## How It Works
47
+
48
+ 1. Queries the memory system for entries in specified namespace
49
+ 2. Aggregates results from all workers
50
+ 3. Formats output according to specified format
51
+ 4. Displays summary of completed/failed workers
52
+
53
+ ## Generated Commands
54
+
55
+ ```bash
56
+ # List all results
57
+ npx claude-flow@v3alpha memory list --namespace {{namespace}}
58
+
59
+ # Search for specific patterns
60
+ npx claude-flow@v3alpha memory search -q "{{filter}}" -n {{namespace}}
61
+
62
+ # Get detailed entries
63
+ {{#each results}}
64
+ npx claude-flow@v3alpha memory get -k "{{this.key}}" -n {{namespace}}
65
+ {{/each}}
66
+ ```
67
+
68
+ ## Output Formats
69
+
70
+ ### Summary (default)
71
+ ```
72
+ Workers Completed: 4/4
73
+ ├─ worker-auth-core: ✅ Complete (auth.service.ts)
74
+ ├─ worker-auth-api: ✅ Complete (auth.controller.ts)
75
+ ├─ worker-tests: ✅ Complete (15 tests passing)
76
+ └─ worker-docs: ✅ Complete (API.md updated)
77
+ ```
78
+
79
+ ### Detailed
80
+ ```
81
+ ┌─────────────────────────────────────────────────┐
82
+ │ Worker: worker-auth-core │
83
+ │ Status: Complete │
84
+ │ Duration: 45s │
85
+ │ Files: auth.service.ts, auth.types.ts │
86
+ │ Result: Implemented JWT authentication │
87
+ └─────────────────────────────────────────────────┘
88
+ ```
89
+
90
+ ### JSON
91
+ ```json
92
+ {
93
+ "workers": [
94
+ {"id": "worker-auth-core", "status": "complete", "result": "..."}
95
+ ],
96
+ "summary": {"total": 4, "completed": 4, "failed": 0}
97
+ }
98
+ ```
99
+
100
+ ## Related Skills
101
+
102
+ - `/dual-spawn` - Spawn headless workers
103
+ - `/dual-coordinate` - Full hybrid workflow
@@ -0,0 +1,85 @@
1
+ ---
2
+ name: dual-coordinate
3
+ description: Coordinate hybrid Claude Code + Codex workflows
4
+ ---
5
+
6
+ # Dual Coordinate Skill
7
+
8
+ Coordinate hybrid workflows that use Claude Code for interactive reasoning and Codex for parallel background execution.
9
+
10
+ ## Usage
11
+
12
+ ```
13
+ /dual-coordinate --workflow <workflow-name> --task "<task-description>"
14
+ ```
15
+
16
+ ## Parameters
17
+
18
+ | Parameter | Default | Description |
19
+ |-----------|---------|-------------|
20
+ | `--workflow` | hybrid_development | Workflow template to use |
21
+ | `--task` | required | Task description |
22
+ | `--interactive-first` | true | Start with interactive phase |
23
+
24
+ ## Available Workflows
25
+
26
+ ### hybrid_development
27
+ Design interactively, implement in parallel, review interactively.
28
+
29
+ ```
30
+ /dual-coordinate --workflow hybrid_development --task "Build user authentication"
31
+ ```
32
+
33
+ ### parallel_feature
34
+ Spawn multiple Codex workers for parallel implementation.
35
+
36
+ ```
37
+ /dual-coordinate --workflow parallel_feature --task "Implement REST API"
38
+ ```
39
+
40
+ ### design_and_execute
41
+ Interactive design phase, then batch execution.
42
+
43
+ ```
44
+ /dual-coordinate --workflow design_and_execute --task "Refactor auth module"
45
+ ```
46
+
47
+ ## How It Works
48
+
49
+ 1. **Routing Decision**: Analyzes task to determine optimal platform split
50
+ 2. **Interactive Phase**: Complex reasoning in Claude Code
51
+ 3. **Parallel Phase**: Spawns Codex workers for execution
52
+ 4. **Review Phase**: Returns to Claude Code for quality review
53
+ 5. **Result Collection**: Aggregates worker results from memory
54
+
55
+ ## Generated Commands
56
+
57
+ ```bash
58
+ # Phase 1: Interactive (Claude Code)
59
+ # [Current session handles design/planning]
60
+
61
+ # Phase 2: Parallel (Codex)
62
+ {{#each workers}}
63
+ claude -p "{{this.task}}" --session-id {{this.id}} &
64
+ {{/each}}
65
+ wait
66
+
67
+ # Phase 3: Review (Claude Code)
68
+ npx claude-flow@v3alpha memory list --namespace results
69
+ ```
70
+
71
+ ## Example: Full Hybrid Workflow
72
+
73
+ ```
74
+ /dual-coordinate --workflow hybrid_development --task "Build user profile API"
75
+ ```
76
+
77
+ This will:
78
+ 1. **Design Phase** (Interactive): Discuss requirements, design endpoints, plan implementation
79
+ 2. **Implement Phase** (Headless): Spawn coders, testers, docs writers in parallel
80
+ 3. **Review Phase** (Interactive): Review implementation, discuss improvements
81
+
82
+ ## Related Skills
83
+
84
+ - `/dual-spawn` - Spawn headless workers only
85
+ - `/dual-collect` - Collect results from workers
@@ -0,0 +1,81 @@
1
+ ---
2
+ name: dual-spawn
3
+ description: Spawn headless Codex workers from Claude Code for parallel execution
4
+ ---
5
+
6
+ # Dual Spawn Skill
7
+
8
+ Spawn multiple headless Codex workers to run tasks in parallel while you continue working interactively.
9
+
10
+ ## Usage
11
+
12
+ ```
13
+ /dual-spawn "<task>" --workers <count> [--type <worker-type>]
14
+ ```
15
+
16
+ ## Parameters
17
+
18
+ | Parameter | Default | Description |
19
+ |-----------|---------|-------------|
20
+ | `task` | required | Task description for workers |
21
+ | `--workers` | 3 | Number of parallel workers |
22
+ | `--type` | coder | Worker type: coder, tester, docs, reviewer |
23
+ | `--wait` | false | Wait for completion |
24
+
25
+ ## Examples
26
+
27
+ ### Spawn Implementation Workers
28
+ ```
29
+ /dual-spawn "Implement user authentication" --workers 2 --type coder
30
+ ```
31
+
32
+ ### Spawn Test Writers
33
+ ```
34
+ /dual-spawn "Write comprehensive tests for auth module" --workers 2 --type tester
35
+ ```
36
+
37
+ ### Spawn Documentation Workers
38
+ ```
39
+ /dual-spawn "Document all API endpoints" --workers 1 --type docs
40
+ ```
41
+
42
+ ## How It Works
43
+
44
+ 1. Initializes shared swarm coordination
45
+ 2. Spawns headless Codex workers with `claude -p`
46
+ 3. Each worker searches memory for relevant patterns
47
+ 4. Workers execute in parallel
48
+ 5. Results stored in shared memory
49
+
50
+ ## Generated Commands
51
+
52
+ ```bash
53
+ # Initialize coordination
54
+ npx claude-flow swarm init --topology hierarchical --max-agents {{workers}}
55
+
56
+ # Spawn workers
57
+ {{#each workers}}
58
+ claude -p "
59
+ You are worker-{{@index}}.
60
+ TASK: {{task}}
61
+
62
+ 1. Search: memory_search(query='{{task_keywords}}')
63
+ 2. Execute your assigned work
64
+ 3. Store: memory_store(key='result-{{@index}}', namespace='results', upsert=true)
65
+ " --session-id task-{{@index}} &
66
+ {{/each}}
67
+
68
+ echo "Spawned {{workers}} headless workers"
69
+ ```
70
+
71
+ ## After Spawning
72
+
73
+ Use `/dual-collect` to gather results:
74
+ ```
75
+ /dual-collect --namespace results
76
+ ```
77
+
78
+ Or check manually:
79
+ ```bash
80
+ npx claude-flow memory list --namespace results
81
+ ```
@@ -940,7 +940,7 @@
940
940
  },
941
941
  "metadata": {
942
942
  "generatedBy": "Agentic QE Fleet",
943
- "fleetVersion": "3.13.3",
943
+ "fleetVersion": "3.13.4",
944
944
  "manifestVersion": "1.4.0",
945
945
  "lastUpdated": "2026-04-13T00:00:00.000Z",
946
946
  "contributors": [
@@ -26,14 +26,39 @@ const codexShim = path.join(root, '.codex', 'hooks', 'aqe-runtime.cjs');
26
26
  const shim = require('node:fs').existsSync(codexShim)
27
27
  ? codexShim
28
28
  : path.join(root, '.claude', 'hooks', 'aqe-hook.cjs');
29
- const result = spawnSync(process.execPath, [shim, subcommand, '--json'], {
30
- cwd: root,
31
- env: { ...process.env, CLAUDE_PROJECT_DIR: root },
32
- input: JSON.stringify(input),
33
- encoding: 'utf8',
34
- timeout: Number(process.env.AQE_CODEX_HOOK_TIMEOUT_MS) || 20000,
35
- maxBuffer: 4 * 1024 * 1024,
36
- });
29
+ const adapterTimeout = Number(process.env.AQE_CODEX_HOOK_TIMEOUT_MS) || 25000;
30
+ const runtimeTimeout = Number(process.env.AQE_HOOK_TIMEOUT_MS)
31
+ || Math.max(1000, adapterTimeout - 3000);
32
+
33
+ function runAqe(command, extraArgs = []) {
34
+ return spawnSync(process.execPath, [shim, command, ...extraArgs, '--json'], {
35
+ cwd: root,
36
+ env: {
37
+ ...process.env,
38
+ CLAUDE_PROJECT_DIR: root,
39
+ AQE_HOOK_TIMEOUT_MS: String(runtimeTimeout),
40
+ },
41
+ input: JSON.stringify(input),
42
+ encoding: 'utf8',
43
+ timeout: adapterTimeout,
44
+ maxBuffer: 4 * 1024 * 1024,
45
+ });
46
+ }
47
+
48
+ // Stop closes the current route-learning sentinel before session cleanup.
49
+ // Both AQE commands emit internal telemetry, so return no Codex JSON.
50
+ if (subcommand === 'stop') {
51
+ runAqe('post-route', ['--success', 'true']);
52
+ runAqe('session-end', ['--save-state']);
53
+ process.exit(0);
54
+ }
55
+
56
+ const result = runAqe(subcommand);
57
+
58
+ // These commands produce AQE/Claude hook response shapes. Codex treats an
59
+ // empty successful response as continue, which preserves their side effects
60
+ // without forwarding unsupported permissionDecision or telemetry fields.
61
+ if (subcommand !== 'route') process.exit(0);
37
62
 
38
63
  if (!result.stdout) process.exit(0);
39
64
 
@@ -46,7 +71,7 @@ try {
46
71
 
47
72
  // AQE route results are useful context but are not themselves a Codex hook
48
73
  // response. Wrap them in the supported additional-context envelope.
49
- if (subcommand === 'route' && !output.hookSpecificOutput) {
74
+ if (!output.hookSpecificOutput) {
50
75
  const agent = output.recommendedAgent || 'unspecified';
51
76
  const confidence = Number.isFinite(output.confidence)
52
77
  ? ` (${Math.round(output.confidence * 100)}% confidence)`
package/.codex/hooks.json CHANGED
@@ -8,7 +8,7 @@
8
8
  {
9
9
  "type": "command",
10
10
  "command": "node \"$(git rev-parse --show-toplevel)/.codex/hooks/aqe-codex-hook.cjs\" session-start",
11
- "timeout": 25,
11
+ "timeout": 30,
12
12
  "statusMessage": "Loading AQE learning context"
13
13
  },
14
14
  {
@@ -26,7 +26,7 @@
26
26
  {
27
27
  "type": "command",
28
28
  "command": "node \"$(git rev-parse --show-toplevel)/.codex/hooks/aqe-codex-hook.cjs\" route",
29
- "timeout": 20,
29
+ "timeout": 30,
30
30
  "statusMessage": "Routing through the AQE fleet"
31
31
  },
32
32
  {
@@ -45,7 +45,7 @@
45
45
  {
46
46
  "type": "command",
47
47
  "command": "node \"$(git rev-parse --show-toplevel)/.codex/hooks/aqe-codex-hook.cjs\" pre-command",
48
- "timeout": 20,
48
+ "timeout": 30,
49
49
  "statusMessage": "Applying AQE command guardrails"
50
50
  },
51
51
  {
@@ -62,7 +62,7 @@
62
62
  {
63
63
  "type": "command",
64
64
  "command": "node \"$(git rev-parse --show-toplevel)/.codex/hooks/aqe-codex-hook.cjs\" pre-edit",
65
- "timeout": 20,
65
+ "timeout": 30,
66
66
  "statusMessage": "Applying AQE edit guardrails"
67
67
  },
68
68
  {
@@ -81,7 +81,7 @@
81
81
  {
82
82
  "type": "command",
83
83
  "command": "node \"$(git rev-parse --show-toplevel)/.codex/hooks/aqe-codex-hook.cjs\" post-command",
84
- "timeout": 20,
84
+ "timeout": 30,
85
85
  "statusMessage": "Recording AQE command outcome"
86
86
  },
87
87
  {
@@ -98,7 +98,7 @@
98
98
  {
99
99
  "type": "command",
100
100
  "command": "node \"$(git rev-parse --show-toplevel)/.codex/hooks/aqe-codex-hook.cjs\" post-edit",
101
- "timeout": 20,
101
+ "timeout": 30,
102
102
  "statusMessage": "Recording AQE edit outcome"
103
103
  },
104
104
  {
@@ -152,9 +152,9 @@
152
152
  "hooks": [
153
153
  {
154
154
  "type": "command",
155
- "command": "node \"$(git rev-parse --show-toplevel)/.codex/hooks/aqe-codex-hook.cjs\" session-end",
156
- "timeout": 20,
157
- "statusMessage": "Saving AQE session state"
155
+ "command": "node \"$(git rev-parse --show-toplevel)/.codex/hooks/aqe-codex-hook.cjs\" stop",
156
+ "timeout": 60,
157
+ "statusMessage": "Closing AQE learning outcome and saving session state"
158
158
  },
159
159
  {
160
160
  "type": "command",
package/CHANGELOG.md CHANGED
@@ -5,6 +5,96 @@ All notable changes to the Agentic QE project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.13.5] - 2026-08-03
9
+
10
+ Quality decisions and generated tests now carry evidence that reflects what AQE
11
+ actually measured or executed, while initialization and embedding workflows are
12
+ more reliable across supported environments.
13
+
14
+ ### Added
15
+
16
+ - **Measured quality-gate evidence** ([#596]). CLI and MCP quality evaluation
17
+ now share canonical thresholds and require fresh, attributed measurements for
18
+ coverage, passing tests, critical bugs, code smells, security findings,
19
+ technical debt, and duplication. Missing, malformed, or stale evidence fails
20
+ closed instead of silently receiving a fabricated passing value.
21
+ - **Optional status-line installation** ([#591]). `aqe init --no-statusline`
22
+ skips AQE's status line, removes an existing AQE-owned status line during an
23
+ upgrade, and preserves a project-authored status line.
24
+
25
+ ### Fixed
26
+
27
+ - **Generated tests are trustworthy and executable** ([#577]). Test generation
28
+ preserves framework imports, validates evidence before reporting success, and
29
+ no longer treats structurally incomplete output as a passing quality result.
30
+ - **Node's built-in test runner is honored end to end** ([#592]). Test discovery
31
+ filters Node test files correctly, execution uses the selected framework, and
32
+ retry confidence remains bounded.
33
+ - **Batch embedding semantics are consistent** ([#585]). Mixed batches send only
34
+ semantic content to the embedding provider, nonsemantic entries receive zero
35
+ vectors in their original positions, and all-nonsemantic batches avoid
36
+ provider initialization entirely.
37
+ - **HNSW initialization works in native ESM** ([#586]). Runtime dependency
38
+ loading no longer assumes a CommonJS global `require`.
39
+ - **Learning-engine tests use isolated persistence** ([#588]), preventing shared
40
+ worker databases from accumulating duplicate genesis data and causing long
41
+ test runs.
42
+
43
+ ### Changed
44
+
45
+ - Refreshed bundled Claude helpers and development-only Ruflo dependencies,
46
+ including upstream security and compatibility fixes.
47
+
48
+ [#577]: https://github.com/proffesor-for-testing/agentic-qe/issues/577
49
+ [#585]: https://github.com/proffesor-for-testing/agentic-qe/issues/585
50
+ [#586]: https://github.com/proffesor-for-testing/agentic-qe/issues/586
51
+ [#588]: https://github.com/proffesor-for-testing/agentic-qe/issues/588
52
+ [#591]: https://github.com/proffesor-for-testing/agentic-qe/issues/591
53
+ [#592]: https://github.com/proffesor-for-testing/agentic-qe/issues/592
54
+ [#596]: https://github.com/proffesor-for-testing/agentic-qe/issues/596
55
+
56
+ ## [3.13.4] - 2026-08-02
57
+
58
+ Codex users now receive a complete, upgradeable Agentic QE workflow instead of
59
+ an MCP entry and partial instructions that could drift from the installed
60
+ hooks and skills.
61
+
62
+ ### Added
63
+
64
+ - **A curated Codex-native QE workflow fleet** ([#587]). New research,
65
+ dependency-aware planning, and lightweight Ruflo orchestration skills join
66
+ the existing quality-planning, testing, and review workflows. Ruflo remains
67
+ optional development-time guidance, enabled explicitly with `--with-ruflo`,
68
+ and is not a runtime dependency.
69
+ - **End-to-end Codex installation verification.** `aqe platform verify codex`
70
+ now checks MCP configuration, AQE instructions, lifecycle hooks, adapters,
71
+ runtimes, and every required skill, with a failing exit code when the install
72
+ is incomplete.
73
+ - **A package-boundary release gate.** `npm run verify:codex-package` verifies
74
+ the actual npm tarball contains all curated skills and hooks, excludes the
75
+ vendored Ruflo tree and dependencies, and confirms every MCP tool named in
76
+ generated Codex guidance is registered.
77
+
78
+ ### Fixed
79
+
80
+ - **`--no-mcp` now applies to Codex installs.** Previously the Claude phase
81
+ honored the flag but the Codex asset phase still wrote `.codex/config.toml`.
82
+ - **Codex upgrades now refresh AQE-owned configuration safely.** Existing MCP
83
+ blocks can switch memory backends, generated `AGENTS.md` guidance updates
84
+ inside explicit ownership markers, and user TOML, instructions, and hook
85
+ groups remain intact.
86
+ - **Partial Codex installs are diagnosable.** MCP, rules, hooks, and skills now
87
+ report independent outcomes, so a malformed hooks file no longer hides the
88
+ components that succeeded or prevents later skill installation.
89
+
90
+ ### Changed
91
+
92
+ - Removed the unused duplicate init command implementation. The active CLI
93
+ continues through the modular init handler, eliminating a second stale help
94
+ and option surface.
95
+
96
+ [#587]: https://github.com/proffesor-for-testing/agentic-qe/issues/587
97
+
8
98
  ## [3.13.3] - 2026-07-29
9
99
 
10
100
  Two independent quality-of-evidence fixes: learning capture could stop silently
@@ -940,7 +940,7 @@
940
940
  },
941
941
  "metadata": {
942
942
  "generatedBy": "Agentic QE Fleet",
943
- "fleetVersion": "3.13.3",
943
+ "fleetVersion": "3.13.5",
944
944
  "manifestVersion": "1.4.0",
945
945
  "lastUpdated": "2026-04-13T00:00:00.000Z",
946
946
  "contributors": [
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.13.3");process.exit(0)}
3
- import{a as y}from"./chunks/chunk-ZU3XUBDQ.js";import{a as f,c as P}from"./chunks/chunk-XRF5MX4Q.js";import"./chunks/chunk-62F5M5OO.js";P();import{Command as S}from"commander";import m from"chalk";function h(e,i,a,s){let l=e.command(i).description(a);if(s)for(let u of s)l.alias(u);return l.helpOption(!1),l.allowUnknownOption(!0),l.allowExcessArguments(!0),l}function w(e,i){let a=e.commands,s=a.indexOf(i);s>=0&&a.splice(s,1)}function o(e,i){let a=h(e,i.name,i.description,i.aliases);a.action(async()=>{try{let s=await i.factory();w(e,a),e.addCommand(s),await e.parseAsync(process.argv)}catch(s){console.error(`Failed to load command '${i.name}':`,s instanceof Error?s.message:s),process.exit(1)}})}function d(e,i,a,s,l,u){let g=h(e,i,a,u);g.action(async()=>{try{let p=await s();w(e,g),p.register(e,l),await e.parseAsync(process.argv)}catch(p){console.error(`Failed to load command '${i}':`,p instanceof Error?p.message:p),process.exit(1)}})}var I=["[UnifiedMemory]","[HybridBackend]","[UnifiedPersistence]","[PersistentSONAEngine]","[QueenGovernance]","[QueenCoordinator]","[Queen]","[QUEEN]","[DomainBreakerRegistry]","[RealEmbeddings]","[HNSWIndex]","[PatternStore]","[TestGenerationCoordinator]","[CodeIntelligence]","[ProductFactorsBridge]","[LearningOptimizationCoordinator]","[DreamEngine]","[DreamScheduler]","[SecurityCompliance]","[Providers]","[GNN]","[test-generation]","[test-execution]","[coverage-analysis]","[quality-assessment]","[defect-intelligence]","[requirements-validation]","[code-intelligence]","[security-compliance]","[contract-testing]","[visual-accessibility]","[chaos-resilience]","[learning-optimization]","[enterprise-integration]","[coordination]","[PatternLearnerService]","[RequirementsValidation]","[ParserRegistry]","[AdversarialDefense]","[ContinueGateIntegration]","[ContinueGate]","[SQLitePatternStore]","[TokenTracking]","[InfraHealing]","[ExperienceCapture]"],b=/^\[\d{2}:\d{2}:\d{2}\.\d{3}\]\s+\[/,D=console.log.bind(console);console.log=(...e)=>{let a=(typeof e[0]=="string"?e[0]:"").trimStart();if(I.some(s=>a.startsWith(s))||b.test(a)){process.stderr.write(e.map(String).join(" ")+`
2
+ import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.13.5");process.exit(0)}
3
+ import{a as y}from"./chunks/chunk-3EWWP3AO.js";import{a as f,c as P}from"./chunks/chunk-6ZCAZ3TR.js";import"./chunks/chunk-WSSFH23M.js";P();import{Command as S}from"commander";import m from"chalk";function h(e,i,a,s){let l=e.command(i).description(a);if(s)for(let u of s)l.alias(u);return l.helpOption(!1),l.allowUnknownOption(!0),l.allowExcessArguments(!0),l}function w(e,i){let a=e.commands,s=a.indexOf(i);s>=0&&a.splice(s,1)}function o(e,i){let a=h(e,i.name,i.description,i.aliases);a.action(async()=>{try{let s=await i.factory();w(e,a),e.addCommand(s),await e.parseAsync(process.argv)}catch(s){console.error(`Failed to load command '${i.name}':`,s instanceof Error?s.message:s),process.exit(1)}})}function d(e,i,a,s,l,u){let g=h(e,i,a,u);g.action(async()=>{try{let p=await s();w(e,g),p.register(e,l),await e.parseAsync(process.argv)}catch(p){console.error(`Failed to load command '${i}':`,p instanceof Error?p.message:p),process.exit(1)}})}var I=["[UnifiedMemory]","[HybridBackend]","[UnifiedPersistence]","[PersistentSONAEngine]","[QueenGovernance]","[QueenCoordinator]","[Queen]","[QUEEN]","[DomainBreakerRegistry]","[RealEmbeddings]","[HNSWIndex]","[PatternStore]","[TestGenerationCoordinator]","[CodeIntelligence]","[ProductFactorsBridge]","[LearningOptimizationCoordinator]","[DreamEngine]","[DreamScheduler]","[SecurityCompliance]","[Providers]","[GNN]","[test-generation]","[test-execution]","[coverage-analysis]","[quality-assessment]","[defect-intelligence]","[requirements-validation]","[code-intelligence]","[security-compliance]","[contract-testing]","[visual-accessibility]","[chaos-resilience]","[learning-optimization]","[enterprise-integration]","[coordination]","[PatternLearnerService]","[RequirementsValidation]","[ParserRegistry]","[AdversarialDefense]","[ContinueGateIntegration]","[ContinueGate]","[SQLitePatternStore]","[TokenTracking]","[InfraHealing]","[ExperienceCapture]"],b=/^\[\d{2}:\d{2}:\d{2}\.\d{3}\]\s+\[/,D=console.log.bind(console);console.log=(...e)=>{let a=(typeof e[0]=="string"?e[0]:"").trimStart();if(I.some(s=>a.startsWith(s))||b.test(a)){process.stderr.write(e.map(String).join(" ")+`
4
4
  `);return}D(...e)};console.info=(...e)=>{process.stderr.write(e.map(String).join(" ")+`
5
- `)};var t={kernel:null,queen:null,router:null,workflowOrchestrator:null,scheduledWorkflows:new Map,persistentScheduler:null,initialized:!1};function C(e,i){let a=e.getDomainAPI("visual-accessibility");if(a?.registerWorkflowActions)try{a.registerWorkflowActions(i)}catch(l){console.error(m.yellow(` Warning: Could not register visual-accessibility workflow actions: ${f(l)}`))}let s=e.getDomainAPI("requirements-validation");if(s?.registerWorkflowActions)try{s.registerWorkflowActions(i)}catch(l){console.error(m.yellow(` Warning: Could not register requirements-validation workflow actions: ${f(l)}`))}}async function R(){let{QEKernelImpl:e}=await import("./chunks/kernel-MT55LNNI.js"),{CrossDomainEventRouter:i}=await import("./chunks/cross-domain-router-E7EMKZEK.js"),{DefaultProtocolExecutor:a}=await import("./chunks/protocol-executor-GFAG5G6K.js"),{WorkflowOrchestrator:s}=await import("./chunks/workflow-orchestrator-TYP4MI2V.js"),{createQueenCoordinator:l}=await import("./chunks/queen-coordinator-WOHYVV7A.js"),{createPersistentScheduler:u}=await import("./chunks/scheduler-XHI5AJIS.js");t.kernel=new e({maxConcurrentAgents:15,memoryBackend:"sqlite",hnswEnabled:!0,lazyLoading:!0,enabledDomains:[...y],enableExperienceBridge:!1}),await t.kernel.initialize(),t.router=new i(t.kernel.eventBus),await t.router.initialize();let g=A=>t.kernel.getDomainAPI(A),p=new a(t.kernel.eventBus,t.kernel.memory,g);t.workflowOrchestrator=new s(t.kernel.eventBus,t.kernel.memory,t.kernel.coordinator),await t.workflowOrchestrator.initialize(),C(t.kernel,t.workflowOrchestrator),t.persistentScheduler=u(),t.queen=l(t.kernel,t.router,p,void 0),await t.queen.initialize();let{adoptExternalFleet:E}=await import("./chunks/core-handlers-U2YJLH6O.js");E({kernel:t.kernel,queen:t.queen,router:t.router,workflowOrchestrator:t.workflowOrchestrator}),t.initialized=!0}async function k(){if(t.initialized&&t.kernel&&t.queen)return!0;let e=await import("fs"),a=(await import("path")).resolve(".agentic-qe");return e.existsSync(a)?c():(console.error(m.red(`
5
+ `)};var t={kernel:null,queen:null,router:null,workflowOrchestrator:null,scheduledWorkflows:new Map,persistentScheduler:null,initialized:!1};function C(e,i){let a=e.getDomainAPI("visual-accessibility");if(a?.registerWorkflowActions)try{a.registerWorkflowActions(i)}catch(l){console.error(m.yellow(` Warning: Could not register visual-accessibility workflow actions: ${f(l)}`))}let s=e.getDomainAPI("requirements-validation");if(s?.registerWorkflowActions)try{s.registerWorkflowActions(i)}catch(l){console.error(m.yellow(` Warning: Could not register requirements-validation workflow actions: ${f(l)}`))}}async function R(){let{QEKernelImpl:e}=await import("./chunks/kernel-NZCGR72Y.js"),{CrossDomainEventRouter:i}=await import("./chunks/cross-domain-router-Q5X6ZLJY.js"),{DefaultProtocolExecutor:a}=await import("./chunks/protocol-executor-EYTJXPXY.js"),{WorkflowOrchestrator:s}=await import("./chunks/workflow-orchestrator-UYOPFK2T.js"),{createQueenCoordinator:l}=await import("./chunks/queen-coordinator-OKGOKGHI.js"),{createPersistentScheduler:u}=await import("./chunks/scheduler-BOZWGKJG.js");t.kernel=new e({maxConcurrentAgents:15,memoryBackend:"sqlite",hnswEnabled:!0,lazyLoading:!0,enabledDomains:[...y],enableExperienceBridge:!1}),await t.kernel.initialize(),t.router=new i(t.kernel.eventBus),await t.router.initialize();let g=A=>t.kernel.getDomainAPI(A),p=new a(t.kernel.eventBus,t.kernel.memory,g);t.workflowOrchestrator=new s(t.kernel.eventBus,t.kernel.memory,t.kernel.coordinator),await t.workflowOrchestrator.initialize(),C(t.kernel,t.workflowOrchestrator),t.persistentScheduler=u(),t.queen=l(t.kernel,t.router,p,void 0),await t.queen.initialize();let{adoptExternalFleet:E}=await import("./chunks/core-handlers-3MNFXL44.js");E({kernel:t.kernel,queen:t.queen,router:t.router,workflowOrchestrator:t.workflowOrchestrator}),t.initialized=!0}async function k(){if(t.initialized&&t.kernel&&t.queen)return!0;let e=await import("fs"),a=(await import("path")).resolve(".agentic-qe");return e.existsSync(a)?c():(console.error(m.red(`
6
6
  Error: AQE system not initialized in this directory.`)),console.log(m.yellow("Run `aqe init` first to set up this project.\n")),!1)}async function c(){if(t.initialized&&t.kernel&&t.queen)return!0;process.stderr.write(m.gray("Auto-initializing v3 system...")+`
7
7
  `);let e=3e4,i=new Promise((a,s)=>{setTimeout(()=>s(new Error("Initialization timeout after 30 seconds")),e)});try{return await Promise.race([R(),i]),process.stderr.write(m.green("System ready")+`
8
8
 
9
- `),!0}catch(a){return a.message.includes("timeout")?(console.error(m.red("Initialization timed out after 30 seconds.")),console.log(m.yellow("Try running `aqe init` manually."))):(console.error(m.red("Failed to auto-initialize:"),a),console.log(m.yellow("Try running `aqe init` manually."))),!1}}async function r(e=0){try{t.workflowOrchestrator&&t.workflowOrchestrator.dispose().catch(()=>{}),t.queen&&t.queen.dispose().catch(()=>{}),t.router&&t.router.dispose().catch(()=>{}),t.kernel&&t.kernel.dispose().catch(()=>{})}catch{}process.exit(e)}var n=new S,v="3.13.3";n.name("aqe").description("Agentic QE - Domain-Driven Quality Engineering").version(v);d(n,"init","Initialize the AQE v3 system",()=>import("./chunks/init-handler-PNVRBZZT.js").then(e=>e.createInitHandler(r)),t);d(n,"status","Show system status",()=>import("./chunks/status-handler-VUIFMY4F.js").then(e=>e.createStatusHandler(r,k)),t);d(n,"health","Check system health",()=>import("./chunks/status-handler-VUIFMY4F.js").then(e=>e.createHealthHandler(r,k)),t);d(n,"task","Manage QE tasks",()=>import("./chunks/task-handler-BJJTZ7AU.js").then(e=>e.createTaskHandler(r,c)),t);d(n,"agent","Manage QE agents",()=>import("./chunks/agent-handler-64O7R55A.js").then(e=>e.createAgentHandler(r,c)),t);d(n,"domain","Domain operations",()=>import("./chunks/domain-handler-G3JEWRE5.js").then(e=>e.createDomainHandler(r,c)),t);d(n,"protocol","Execute coordination protocols",()=>import("./chunks/protocol-handler-FAK4MMNA.js").then(e=>e.createProtocolHandler(r,c)),t);d(n,"brain","Export, import, and inspect QE brain state",()=>import("./chunks/brain-handler-J4ICUOUX.js").then(e=>e.createBrainHandler(r,c)),t);d(n,"hypergraph","Query the code knowledge hypergraph",()=>import("./chunks/hypergraph-handler-ZZHBANYB.js").then(e=>e.createHypergraphHandler(r,c)),t,["hg"]);d(n,"heartbeat","Manage the token-free heartbeat scheduler",()=>import("./chunks/heartbeat-handler-C4LMU5LA.js").then(e=>e.createHeartbeatHandler(r)),t);d(n,"routing","View routing performance, economics, and accuracy",()=>import("./chunks/routing-handler-XMGRJDHH.js").then(e=>e.createRoutingHandler(r)),t);o(n,{name:"workflow",description:"Manage QE workflows and pipelines (ADR-041)",factory:()=>import("./chunks/workflow-BPQA2NAI.js").then(e=>e.createWorkflowCommand(t,r,c))});o(n,{name:"test",description:"Test generation, execution, scheduling, and load testing",factory:()=>import("./chunks/test-BE7EM6Y6.js").then(e=>e.createTestCommand(t,r,c))});o(n,{name:"coverage",description:"Coverage analysis shortcut",factory:()=>import("./chunks/coverage-6CCBAORJ.js").then(e=>e.createCoverageCommand(t,r,c))});o(n,{name:"quality",description:"Quality assessment shortcut",factory:()=>import("./chunks/quality-EGSO2RAX.js").then(e=>e.createQualityCommand(t,r,c))});o(n,{name:"quality-gate",description:"Two-gate, three-valued quality verdict against a pinned checklist (ADR-119)",factory:()=>import("./chunks/quality-gate-RK32VMO7.js").then(e=>e.createQualityGateCommand(t,r,c))});o(n,{name:"security",description:"Security scanning and URL validation",factory:()=>import("./chunks/security-H3WY76GF.js").then(e=>e.createSecurityCommand(t,r,c))});o(n,{name:"arena",description:"Competitive test-strategy tournaments (ADR-104)",factory:()=>import("./chunks/arena-6YRNQNCX.js").then(e=>e.createArenaCommand(t,r,c))});o(n,{name:"code",description:"Code intelligence analysis",factory:()=>import("./chunks/code-324ZJR3V.js").then(e=>e.createCodeCommand(t,r,c))});o(n,{name:"completions",description:"Generate shell completions for aqe",factory:()=>import("./chunks/completions-ZAWBZWYK.js").then(e=>e.createCompletionsCommand(r))});o(n,{name:"upgrade",description:"Detect optional native bindings and recommend install / flag changes",factory:()=>import("./chunks/upgrade-PMPB7NGB.js").then(e=>e.createUpgradeCommand(r))});o(n,{name:"fleet",description:"Fleet operations with multi-agent progress tracking",factory:()=>import("./chunks/fleet-LF77P3BW.js").then(e=>e.createFleetCommand(t,r,c,C))});o(n,{name:"validate",description:"Validation commands for skills and agents",factory:()=>import("./chunks/validate-swarm-6X22J3VD.js").then(e=>e.createValidateSwarmCommand(t,r,c))});o(n,{name:"skill",description:"Skill validation and reporting (ADR-056)",factory:()=>import("./chunks/validate-G37QKKXK.js").then(e=>e.createValidateCommand(t,r,c))});o(n,{name:"eval",description:"Run skill evaluation suites in parallel",factory:()=>import("./chunks/eval-NHBXOXDV.js").then(e=>e.createEvalCommand())});o(n,{name:"ci",description:"CI/CD pipeline orchestration",factory:()=>import("./chunks/ci-G2NEYLVO.js").then(e=>e.createCICommand(t,r,c))});o(n,{name:"token-usage",description:"View and analyze token consumption metrics (ADR-042)",factory:()=>import("./chunks/token-usage-6ZZC7RLT.js").then(e=>e.createTokenUsageCommand())});o(n,{name:"llm",description:"LLM Router management (ADR-043)",factory:()=>import("./chunks/llm-router-DBLV3VGG.js").then(e=>e.createLLMRouterCommand())});o(n,{name:"sync",description:"Sync local learning data to cloud PostgreSQL",factory:()=>import("./chunks/sync-M6LUV5R4.js").then(e=>e.createSyncCommands())});o(n,{name:"hooks",description:"Self-learning QE hooks for pattern recognition and guidance",factory:()=>import("./chunks/hooks-AGE3HCFI.js").then(e=>e.createHooksCommand())});o(n,{name:"learning",description:"AQE self-learning system management (standalone, no claude-flow required)",factory:()=>import("./chunks/learning-6LLGHP2Q.js").then(e=>e.createLearningCommand())});o(n,{name:"memory",description:"Memory store, retrieve, search, and delete operations",factory:()=>import("./chunks/memory-YR5PCMWA.js").then(e=>e.createMemoryCommand(t,r,c))});o(n,{name:"mcp",description:"Start the MCP protocol server for Claude Code integration",factory:()=>import("./chunks/mcp-L5QXHSEY.js").then(e=>e.createMcpCommand())});o(n,{name:"platform",description:"Manage coding agent platform configurations",factory:()=>import("./chunks/platform-FA5TOPTH.js").then(e=>e.createPlatformCommand())});o(n,{name:"prove",description:"Generate a verifiable Proof-of-Quality attestation",factory:()=>import("./chunks/prove-HYBVXOGW.js").then(e=>e.createProveCommand(t,r,c))});o(n,{name:"ruvector",description:"RuVector integration management",factory:()=>import("./chunks/ruvector-commands-NDL3ONNC.js").then(e=>e.createRuVectorCommand())});o(n,{name:"audit",description:"Witness chain audit trail management",factory:()=>import("./chunks/audit-R53FOYCK.js").then(e=>e.createAuditCommand(t,r,c))});o(n,{name:"pipeline",description:"Manage YAML deterministic pipelines (Imp-9)",factory:()=>import("./chunks/pipeline-JQJYSN43.js").then(e=>e.createPipelineCommand(t,r,c))});o(n,{name:"plugin",description:"Manage external QE domain plugins",factory:()=>import("./chunks/plugin-766MBGK6.js").then(e=>e.createPluginCommand())});o(n,{name:"daemon",description:"Manage the QE Quality Daemon",factory:()=>import("./chunks/daemon-M2PSDIZF.js").then(e=>e.createDaemonCommand())});process.on("SIGINT",async()=>{console.log(m.yellow(`
9
+ `),!0}catch(a){return a.message.includes("timeout")?(console.error(m.red("Initialization timed out after 30 seconds.")),console.log(m.yellow("Try running `aqe init` manually."))):(console.error(m.red("Failed to auto-initialize:"),a),console.log(m.yellow("Try running `aqe init` manually."))),!1}}async function r(e=0){try{t.workflowOrchestrator&&t.workflowOrchestrator.dispose().catch(()=>{}),t.queen&&t.queen.dispose().catch(()=>{}),t.router&&t.router.dispose().catch(()=>{}),t.kernel&&t.kernel.dispose().catch(()=>{})}catch{}process.exit(e)}var n=new S,v="3.13.5";n.name("aqe").description("Agentic QE - Domain-Driven Quality Engineering").version(v);d(n,"init","Initialize the AQE v3 system",()=>import("./chunks/init-handler-JE5FYJAV.js").then(e=>e.createInitHandler(r)),t);d(n,"status","Show system status",()=>import("./chunks/status-handler-7WON7M7F.js").then(e=>e.createStatusHandler(r,k)),t);d(n,"health","Check system health",()=>import("./chunks/status-handler-7WON7M7F.js").then(e=>e.createHealthHandler(r,k)),t);d(n,"task","Manage QE tasks",()=>import("./chunks/task-handler-5TZNOCCB.js").then(e=>e.createTaskHandler(r,c)),t);d(n,"agent","Manage QE agents",()=>import("./chunks/agent-handler-CTPXGR5P.js").then(e=>e.createAgentHandler(r,c)),t);d(n,"domain","Domain operations",()=>import("./chunks/domain-handler-S7VFZ2MY.js").then(e=>e.createDomainHandler(r,c)),t);d(n,"protocol","Execute coordination protocols",()=>import("./chunks/protocol-handler-ZZRFBVNA.js").then(e=>e.createProtocolHandler(r,c)),t);d(n,"brain","Export, import, and inspect QE brain state",()=>import("./chunks/brain-handler-DPKCUQUC.js").then(e=>e.createBrainHandler(r,c)),t);d(n,"hypergraph","Query the code knowledge hypergraph",()=>import("./chunks/hypergraph-handler-SHUNZXUK.js").then(e=>e.createHypergraphHandler(r,c)),t,["hg"]);d(n,"heartbeat","Manage the token-free heartbeat scheduler",()=>import("./chunks/heartbeat-handler-6XNV4DGM.js").then(e=>e.createHeartbeatHandler(r)),t);d(n,"routing","View routing performance, economics, and accuracy",()=>import("./chunks/routing-handler-C7HMM7RL.js").then(e=>e.createRoutingHandler(r)),t);o(n,{name:"workflow",description:"Manage QE workflows and pipelines (ADR-041)",factory:()=>import("./chunks/workflow-KIZPLTYW.js").then(e=>e.createWorkflowCommand(t,r,c))});o(n,{name:"test",description:"Test generation, execution, scheduling, and load testing",factory:()=>import("./chunks/test-BSJ6MVTG.js").then(e=>e.createTestCommand(t,r,c))});o(n,{name:"coverage",description:"Coverage analysis shortcut",factory:()=>import("./chunks/coverage-DXS5XNAA.js").then(e=>e.createCoverageCommand(t,r,c))});o(n,{name:"quality",description:"Quality assessment shortcut",factory:()=>import("./chunks/quality-QCIGVN2S.js").then(e=>e.createQualityCommand(t,r,c))});o(n,{name:"quality-gate",description:"Two-gate, three-valued quality verdict against a pinned checklist (ADR-119)",factory:()=>import("./chunks/quality-gate-AKV564GE.js").then(e=>e.createQualityGateCommand(t,r,c))});o(n,{name:"security",description:"Security scanning and URL validation",factory:()=>import("./chunks/security-IMIWSAHW.js").then(e=>e.createSecurityCommand(t,r,c))});o(n,{name:"arena",description:"Competitive test-strategy tournaments (ADR-104)",factory:()=>import("./chunks/arena-NYO4EUNQ.js").then(e=>e.createArenaCommand(t,r,c))});o(n,{name:"code",description:"Code intelligence analysis",factory:()=>import("./chunks/code-ZRCJC42H.js").then(e=>e.createCodeCommand(t,r,c))});o(n,{name:"completions",description:"Generate shell completions for aqe",factory:()=>import("./chunks/completions-5JCAFTQV.js").then(e=>e.createCompletionsCommand(r))});o(n,{name:"upgrade",description:"Detect optional native bindings and recommend install / flag changes",factory:()=>import("./chunks/upgrade-2ICXXV6D.js").then(e=>e.createUpgradeCommand(r))});o(n,{name:"fleet",description:"Fleet operations with multi-agent progress tracking",factory:()=>import("./chunks/fleet-CQBUCH2S.js").then(e=>e.createFleetCommand(t,r,c,C))});o(n,{name:"validate",description:"Validation commands for skills and agents",factory:()=>import("./chunks/validate-swarm-VWVE2GM7.js").then(e=>e.createValidateSwarmCommand(t,r,c))});o(n,{name:"skill",description:"Skill validation and reporting (ADR-056)",factory:()=>import("./chunks/validate-LPAUH2F4.js").then(e=>e.createValidateCommand(t,r,c))});o(n,{name:"eval",description:"Run skill evaluation suites in parallel",factory:()=>import("./chunks/eval-45UWDD2R.js").then(e=>e.createEvalCommand())});o(n,{name:"ci",description:"CI/CD pipeline orchestration",factory:()=>import("./chunks/ci-IRCNFD32.js").then(e=>e.createCICommand(t,r,c))});o(n,{name:"token-usage",description:"View and analyze token consumption metrics (ADR-042)",factory:()=>import("./chunks/token-usage-YQN7ND7G.js").then(e=>e.createTokenUsageCommand())});o(n,{name:"llm",description:"LLM Router management (ADR-043)",factory:()=>import("./chunks/llm-router-FXXJHARR.js").then(e=>e.createLLMRouterCommand())});o(n,{name:"sync",description:"Sync local learning data to cloud PostgreSQL",factory:()=>import("./chunks/sync-6ABYTAOL.js").then(e=>e.createSyncCommands())});o(n,{name:"hooks",description:"Self-learning QE hooks for pattern recognition and guidance",factory:()=>import("./chunks/hooks-QVDOGEHG.js").then(e=>e.createHooksCommand())});o(n,{name:"learning",description:"AQE self-learning system management (standalone, no claude-flow required)",factory:()=>import("./chunks/learning-O4ZXQVRE.js").then(e=>e.createLearningCommand())});o(n,{name:"memory",description:"Memory store, retrieve, search, and delete operations",factory:()=>import("./chunks/memory-BINJV3M6.js").then(e=>e.createMemoryCommand(t,r,c))});o(n,{name:"mcp",description:"Start the MCP protocol server for Claude Code integration",factory:()=>import("./chunks/mcp-VXSDVG3H.js").then(e=>e.createMcpCommand())});o(n,{name:"platform",description:"Manage coding agent platform configurations",factory:()=>import("./chunks/platform-GADIFXCI.js").then(e=>e.createPlatformCommand())});o(n,{name:"prove",description:"Generate a verifiable Proof-of-Quality attestation",factory:()=>import("./chunks/prove-7674ATXK.js").then(e=>e.createProveCommand(t,r,c))});o(n,{name:"ruvector",description:"RuVector integration management",factory:()=>import("./chunks/ruvector-commands-PT6LRVCW.js").then(e=>e.createRuVectorCommand())});o(n,{name:"audit",description:"Witness chain audit trail management",factory:()=>import("./chunks/audit-6544RL5D.js").then(e=>e.createAuditCommand(t,r,c))});o(n,{name:"pipeline",description:"Manage YAML deterministic pipelines (Imp-9)",factory:()=>import("./chunks/pipeline-EMBMC75N.js").then(e=>e.createPipelineCommand(t,r,c))});o(n,{name:"plugin",description:"Manage external QE domain plugins",factory:()=>import("./chunks/plugin-Q234ZAAY.js").then(e=>e.createPluginCommand())});o(n,{name:"daemon",description:"Manage the QE Quality Daemon",factory:()=>import("./chunks/daemon-FT2J6VY4.js").then(e=>e.createDaemonCommand())});process.on("SIGINT",async()=>{console.log(m.yellow(`
10
10
 
11
11
  Shutting down...`)),console.log(m.green(`Shutdown complete
12
12
  `)),await r(0)});process.on("SIGTERM",async()=>{console.log(m.yellow(`
13
- Received SIGTERM, shutting down gracefully...`)),await r(0)});async function x(){let{isVersionFastPath:e}=await import("./chunks/fast-paths-XGKSBALA.js");e(process.argv)&&(console.log(v),process.exit(0));let{bootstrapTokenTracking:i}=await import("./chunks/token-bootstrap-BOIYBZHW.js");await i({enableOptimization:!0,enablePersistence:!0,verbose:process.env.AQE_VERBOSE==="true"}),await n.parseAsync(),await r(0)}x().catch(async e=>{console.error(m.red("Fatal error:"),e),await r(1)});
13
+ Received SIGTERM, shutting down gracefully...`)),await r(0)});async function x(){let{isVersionFastPath:e}=await import("./chunks/fast-paths-VEDCJL75.js");e(process.argv)&&(console.log(v),process.exit(0));let{bootstrapTokenTracking:i}=await import("./chunks/token-bootstrap-MRNFR4YI.js");await i({enableOptimization:!0,enablePersistence:!0,verbose:process.env.AQE_VERBOSE==="true"}),await n.parseAsync(),await r(0)}x().catch(async e=>{console.error(m.red("Fatal error:"),e),await r(1)});
@@ -0,0 +1,2 @@
1
+ import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.13.5");process.exit(0)}
2
+ import{a,b,c}from"./chunk-SQDHFTGQ.js";import"./chunk-7SQXEYII.js";import"./chunk-IC5JGTM4.js";import"./chunk-OUWZTYRZ.js";import"./chunk-6ZCAZ3TR.js";import"./chunk-WSSFH23M.js";export{a as AgentBoosterAdapter,b as createAgentBoosterAdapter,c as createAgentBoosterAdapterSync};
@@ -1,2 +1,2 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.13.3");process.exit(0)}
2
- import{a as x}from"./chunk-T5L65R23.js";import{c as f}from"./chunk-66KIIH6V.js";import"./chunk-62F5M5OO.js";x();import{createRequire as w}from"module";var S=f.create("agent-booster-wasm"),t={JavaScript:0,TypeScript:1,Python:2,Rust:3,Go:4,Java:5,C:6,Cpp:7},l={ExactReplace:0,FuzzyReplace:1,InsertAfter:2,InsertBefore:3,Append:4},v={0:"JavaScript",1:"TypeScript",2:"Python",3:"Rust",4:"Go",5:"Java",6:"C",7:"Cpp"},a=null,u=null,p=null;async function g(){if(a)return!0;if(p)return!1;try{if(a=w(import.meta.url)("./agent_booster_wasm.js"),!a)throw new Error("WASM module loaded but is null");return u=new a.AgentBoosterWasm,!0}catch(e){return p=e,console.warn("[AgentBoosterWASM] Failed to load WASM module:",e),!1}}function A(e){return{".js":t.JavaScript,".mjs":t.JavaScript,".cjs":t.JavaScript,".jsx":t.JavaScript,".ts":t.TypeScript,".tsx":t.TypeScript,".mts":t.TypeScript,".cts":t.TypeScript,".py":t.Python,".rs":t.Rust,".go":t.Go,".java":t.Java,".c":t.C,".h":t.C,".cpp":t.Cpp,".cc":t.Cpp,".cxx":t.Cpp,".hpp":t.Cpp}[e.toLowerCase()]??t.JavaScript}var M=[{name:"var-to-const",detect:(e,r)=>e.includes("var ")&&r.includes("const "),apply:(e,r)=>e.replace(/\bvar\s+/g,"const ")},{name:"var-to-let",detect:(e,r)=>e.includes("var ")&&r.includes("let "),apply:(e,r)=>e.replace(/\bvar\s+/g,"let ")},{name:"add-types-function",detect:(e,r)=>e.includes("function")&&!e.includes(":")&&r.includes(":"),apply:(e,r)=>r},{name:"async-wrapper",detect:(e,r)=>!e.includes("async")&&r.includes("async")&&r.includes("await"),apply:(e,r)=>r},{name:"try-catch-wrapper",detect:(e,r)=>!e.includes("try {")&&r.includes("try {"),apply:(e,r)=>r},{name:"null-check",detect:(e,r)=>!e.includes("if (!")&&!e.includes("if (!")&&(r.includes("if (!")||r.includes("?.")),apply:(e,r)=>r},{name:"test-assertion",detect:(e,r)=>e.includes("test(")&&!e.includes("expect(")&&r.includes("expect("),apply:(e,r)=>r}];function y(e,r){for(let n of M)if(n.detect(e,r))try{return{success:!0,code:n.apply(e,r),pattern:n.name}}catch(s){S.debug("Pattern transform failed, trying next",{pattern:n.name,error:s instanceof Error?s.message:String(s)});continue}return{success:!1,code:r}}async function b(e,r,n,s={}){let o=performance.now(),{confidenceThreshold:T=.5,allowFallback:d=!0}=s;if(!e.trim())return{success:!0,mergedCode:r,confidence:1,strategy:l.Append,syntaxValid:!0,source:"fallback",latencyMs:performance.now()-o};if(await g()&&u&&a)try{let c=a.WasmLanguage[v[n]],i=u.apply_edit(e,r,c);return{success:!0,mergedCode:i.merged_code,confidence:i.confidence,strategy:i.strategy,syntaxValid:i.syntax_valid,source:"wasm",latencyMs:performance.now()-o}}catch(c){let i=c;if(d){let m=y(e,r);if(m.success)return{success:!0,mergedCode:m.code,confidence:.7,strategy:l.FuzzyReplace,syntaxValid:!0,source:"pattern",latencyMs:performance.now()-o}}return{success:!1,mergedCode:r,confidence:0,strategy:l.Append,syntaxValid:!1,source:"fallback",latencyMs:performance.now()-o,error:i.message}}if(d){let c=y(e,r);return{success:c.success,mergedCode:c.code,confidence:c.success?.7:0,strategy:l.FuzzyReplace,syntaxValid:!0,source:"pattern",latencyMs:performance.now()-o}}return{success:!1,mergedCode:r,confidence:0,strategy:l.Append,syntaxValid:!1,source:"fallback",latencyMs:performance.now()-o,error:p?.message??"WASM not available"}}async function W(e,r={}){return Promise.all(e.map(({original:n,edit:s,language:o})=>b(n,s,o,r)))}async function C(){return g()}async function L(){return await g()&&a?a.AgentBoosterWasm.version():"unavailable"}async function R(){if(await g(),u&&a)try{u.apply_edit("function x() {}","function x() {}",a.WasmLanguage.JavaScript)}catch(e){console.debug("[AgentBoosterWASM] Warmup error:",e instanceof Error?e.message:e)}}var _={transform:b,batchTransform:W,isWasmAvailable:C,getVersion:L,warmup:R,Language:t,MergeStrategy:l,languageFromExtension:A};export{t as Language,l as MergeStrategy,W as batchTransform,_ as default,L as getVersion,C as isWasmAvailable,A as languageFromExtension,b as transform,R as warmup};
1
+ import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.13.5");process.exit(0)}
2
+ import{a as x}from"./chunk-ELKWYWTD.js";import{c as f}from"./chunk-4Z7JP7CD.js";import"./chunk-WSSFH23M.js";x();import{createRequire as w}from"module";var S=f.create("agent-booster-wasm"),t={JavaScript:0,TypeScript:1,Python:2,Rust:3,Go:4,Java:5,C:6,Cpp:7},l={ExactReplace:0,FuzzyReplace:1,InsertAfter:2,InsertBefore:3,Append:4},v={0:"JavaScript",1:"TypeScript",2:"Python",3:"Rust",4:"Go",5:"Java",6:"C",7:"Cpp"},a=null,u=null,p=null;async function g(){if(a)return!0;if(p)return!1;try{if(a=w(import.meta.url)("./agent_booster_wasm.js"),!a)throw new Error("WASM module loaded but is null");return u=new a.AgentBoosterWasm,!0}catch(e){return p=e,console.warn("[AgentBoosterWASM] Failed to load WASM module:",e),!1}}function A(e){return{".js":t.JavaScript,".mjs":t.JavaScript,".cjs":t.JavaScript,".jsx":t.JavaScript,".ts":t.TypeScript,".tsx":t.TypeScript,".mts":t.TypeScript,".cts":t.TypeScript,".py":t.Python,".rs":t.Rust,".go":t.Go,".java":t.Java,".c":t.C,".h":t.C,".cpp":t.Cpp,".cc":t.Cpp,".cxx":t.Cpp,".hpp":t.Cpp}[e.toLowerCase()]??t.JavaScript}var M=[{name:"var-to-const",detect:(e,r)=>e.includes("var ")&&r.includes("const "),apply:(e,r)=>e.replace(/\bvar\s+/g,"const ")},{name:"var-to-let",detect:(e,r)=>e.includes("var ")&&r.includes("let "),apply:(e,r)=>e.replace(/\bvar\s+/g,"let ")},{name:"add-types-function",detect:(e,r)=>e.includes("function")&&!e.includes(":")&&r.includes(":"),apply:(e,r)=>r},{name:"async-wrapper",detect:(e,r)=>!e.includes("async")&&r.includes("async")&&r.includes("await"),apply:(e,r)=>r},{name:"try-catch-wrapper",detect:(e,r)=>!e.includes("try {")&&r.includes("try {"),apply:(e,r)=>r},{name:"null-check",detect:(e,r)=>!e.includes("if (!")&&!e.includes("if (!")&&(r.includes("if (!")||r.includes("?.")),apply:(e,r)=>r},{name:"test-assertion",detect:(e,r)=>e.includes("test(")&&!e.includes("expect(")&&r.includes("expect("),apply:(e,r)=>r}];function y(e,r){for(let n of M)if(n.detect(e,r))try{return{success:!0,code:n.apply(e,r),pattern:n.name}}catch(s){S.debug("Pattern transform failed, trying next",{pattern:n.name,error:s instanceof Error?s.message:String(s)});continue}return{success:!1,code:r}}async function b(e,r,n,s={}){let o=performance.now(),{confidenceThreshold:T=.5,allowFallback:d=!0}=s;if(!e.trim())return{success:!0,mergedCode:r,confidence:1,strategy:l.Append,syntaxValid:!0,source:"fallback",latencyMs:performance.now()-o};if(await g()&&u&&a)try{let c=a.WasmLanguage[v[n]],i=u.apply_edit(e,r,c);return{success:!0,mergedCode:i.merged_code,confidence:i.confidence,strategy:i.strategy,syntaxValid:i.syntax_valid,source:"wasm",latencyMs:performance.now()-o}}catch(c){let i=c;if(d){let m=y(e,r);if(m.success)return{success:!0,mergedCode:m.code,confidence:.7,strategy:l.FuzzyReplace,syntaxValid:!0,source:"pattern",latencyMs:performance.now()-o}}return{success:!1,mergedCode:r,confidence:0,strategy:l.Append,syntaxValid:!1,source:"fallback",latencyMs:performance.now()-o,error:i.message}}if(d){let c=y(e,r);return{success:c.success,mergedCode:c.code,confidence:c.success?.7:0,strategy:l.FuzzyReplace,syntaxValid:!0,source:"pattern",latencyMs:performance.now()-o}}return{success:!1,mergedCode:r,confidence:0,strategy:l.Append,syntaxValid:!1,source:"fallback",latencyMs:performance.now()-o,error:p?.message??"WASM not available"}}async function W(e,r={}){return Promise.all(e.map(({original:n,edit:s,language:o})=>b(n,s,o,r)))}async function C(){return g()}async function L(){return await g()&&a?a.AgentBoosterWasm.version():"unavailable"}async function R(){if(await g(),u&&a)try{u.apply_edit("function x() {}","function x() {}",a.WasmLanguage.JavaScript)}catch(e){console.debug("[AgentBoosterWASM] Warmup error:",e instanceof Error?e.message:e)}}var _={transform:b,batchTransform:W,isWasmAvailable:C,getVersion:L,warmup:R,Language:t,MergeStrategy:l,languageFromExtension:A};export{t as Language,l as MergeStrategy,W as batchTransform,_ as default,L as getVersion,C as isWasmAvailable,A as languageFromExtension,b as transform,R as warmup};
@@ -1,5 +1,5 @@
1
- import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.13.3");process.exit(0)}
2
- import{b as p}from"./chunk-UAXFRKR3.js";import{a as g}from"./chunk-VKUH57JE.js";import"./chunk-2G2XD6EM.js";import"./chunk-62F5M5OO.js";import s from"chalk";var l=class{name="agent";description="Manage QE agents";cleanupAndExit;ensureInitialized;constructor(n,t){this.cleanupAndExit=n,this.ensureInitialized=t}register(n,t){let a=n.command("agent").description(this.description);a.command("list").description("List all agents").option("-d, --domain <domain>","Filter by domain").option("-s, --status <status>","Filter by status").action(async e=>{await this.executeList(e,t)}),a.command("spawn <domain>").description("Spawn an agent in a domain").option("-t, --type <type>","Agent type","worker").option("-c, --capabilities <caps>","Comma-separated capabilities","general").option("--no-progress","Disable progress indicator").action(async(e,o)=>{await this.executeSpawn(e,o,t)})}async executeList(n,t){if(await this.ensureInitialized())try{let a=n.domain?t.queen.getAgentsByDomain(n.domain):t.queen.listAllAgents();if(n.status&&(a=a.filter(e=>e.status===n.status)),console.log(s.blue(`
1
+ import{createRequire as __cr}from"module";const require=__cr(import.meta.url);if(process.argv.includes('--version')||process.argv.includes('-v')){console.log("3.13.5");process.exit(0)}
2
+ import{b as p}from"./chunk-ZE3WS57T.js";import{a as g}from"./chunk-2XZWYKXQ.js";import"./chunk-OUWZTYRZ.js";import"./chunk-WSSFH23M.js";import s from"chalk";var l=class{name="agent";description="Manage QE agents";cleanupAndExit;ensureInitialized;constructor(n,t){this.cleanupAndExit=n,this.ensureInitialized=t}register(n,t){let a=n.command("agent").description(this.description);a.command("list").description("List all agents").option("-d, --domain <domain>","Filter by domain").option("-s, --status <status>","Filter by status").action(async e=>{await this.executeList(e,t)}),a.command("spawn <domain>").description("Spawn an agent in a domain").option("-t, --type <type>","Agent type","worker").option("-c, --capabilities <caps>","Comma-separated capabilities","general").option("--no-progress","Disable progress indicator").action(async(e,o)=>{await this.executeSpawn(e,o,t)})}async executeList(n,t){if(await this.ensureInitialized())try{let a=n.domain?t.queen.getAgentsByDomain(n.domain):t.queen.listAllAgents();if(n.status&&(a=a.filter(e=>e.status===n.status)),console.log(s.blue(`
3
3
  Agents (${a.length})
4
4
  `)),a.length===0)console.log(s.gray(" No agents found"));else{let e=new Map;for(let i of a)e.has(i.domain)||e.set(i.domain,[]),e.get(i.domain).push(i);let o=Array.from(e.entries());for(let[i,m]of o){console.log(s.cyan(` ${i}:`));for(let r of m)console.log(` ${r.id}`),console.log(` Type: ${r.type}`),console.log(` Status: ${g(r.status)}`),r.startedAt&&console.log(s.gray(` Started: ${r.startedAt.toISOString()}`));console.log("")}}}catch(a){console.error(s.red(`
5
5
  Failed to list agents:`),a),await this.cleanupAndExit(1)}}async executeSpawn(n,t,a){if(await this.ensureInitialized())try{let e=t.capabilities.split(",");console.log(s.blue(`