@cleocode/cleo 2026.10.27 → 2026.11.1-canary.11

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 (356) hide show
  1. package/README.md +28 -365
  2. package/dist/.source-stamp.json +4 -0
  3. package/dist/cli/{adapter-ZIB3OAPD.js → adapter-JZET3CDA.js} +5 -5
  4. package/dist/cli/{add-TBJUMJW7.js → add-W23ZQJ2U.js} +5 -5
  5. package/dist/cli/{add-batch-GGKVPTS5.js → add-batch-MNLEUT24.js} +5 -5
  6. package/dist/cli/{admin-NGPG2LSO.js → admin-3NN6QIJE.js} +5 -5
  7. package/dist/cli/{admin-PEYBYMZN.js → admin-LOGL2TBY.js} +16 -6
  8. package/dist/cli/{adr-2XVNDYZ7.js → adr-QYUJRVHW.js} +5 -5
  9. package/dist/cli/{agent-B23GPWYM.js → agent-KKMNGKR2.js} +3 -548
  10. package/dist/cli/{agent-outputs-SZ45UZVC.js → agent-outputs-ZEKMONK2.js} +2 -2
  11. package/dist/cli/{analyze-A44RDCSX.js → analyze-VUEJUV24.js} +5 -5
  12. package/dist/cli/{archive-QQB6M2RF.js → archive-I2XT6DGU.js} +5 -5
  13. package/dist/cli/{archive-stats-K4YKKYQV.js → archive-stats-J5AMTF7W.js} +5 -5
  14. package/dist/cli/{attention-KAHDF6KD.js → attention-736TGLSO.js} +5 -5
  15. package/dist/cli/{audit-ALSFSHEI.js → audit-JTEHB556.js} +2 -2
  16. package/dist/cli/{auth-5L3XPCXL.js → auth-QNFL6SIX.js} +5 -5
  17. package/dist/cli/{backfill-5B2FWBIB.js → backfill-QCEV5ZJR.js} +2 -2
  18. package/dist/cli/{backup-IYFULQTM.js → backup-6D6Y7S4X.js} +39 -10
  19. package/dist/cli/{backup-inspect-SYI6JWYI.js → backup-inspect-YS4HJUFF.js} +3 -3
  20. package/dist/cli/{backup-recover-I64KKABA.js → backup-recover-6RRWTZUF.js} +3 -3
  21. package/dist/cli/{blockers-KYNJJKZQ.js → blockers-TXOHUIQZ.js} +5 -5
  22. package/dist/cli/{brain-3E6GWG33.js → brain-MPZZ73RR.js} +2 -2
  23. package/dist/cli/{briefing-J6PDDZ2C.js → briefing-HR7WKAP7.js} +5 -5
  24. package/dist/cli/{caamp-4GLHZPAB.js → caamp-6BHIZIRC.js} +2 -2
  25. package/dist/cli/{cancel-A4OCUVDI.js → cancel-RPBL7XNS.js} +16 -6
  26. package/dist/cli/{canon-NPF5RODM.js → canon-UQKCAL3J.js} +13 -8
  27. package/dist/cli/{chunk-SXXOC6KZ.js → canon-docs-ZXWC4AFI.js} +51 -4
  28. package/dist/cli/{cant-JZXHRLE2.js → cant-7YDYKDCE.js} +2 -2
  29. package/dist/cli/{changeset-WTR2KKML.js → changeset-XDMWUH4W.js} +2 -2
  30. package/dist/cli/{check-HHT4J5ZM.js → check-ALYB2DED.js} +43 -5
  31. package/dist/cli/{check-ZT6O5JDS.js → check-BNV2Z7NL.js} +45 -23
  32. package/dist/cli/{checkpoint-THR2KML7.js → checkpoint-WGT5Q4IV.js} +2 -2
  33. package/dist/cli/{chunk-6G43T2BO.js → chunk-2DRYEF4Q.js} +2 -2
  34. package/dist/cli/{chunk-4FO2MCCU.js → chunk-2EBQ2UPV.js} +2 -2
  35. package/dist/cli/{chunk-G63BB37P.js → chunk-2FVSEFH6.js} +3 -3
  36. package/dist/cli/{chunk-6N6WGLXE.js → chunk-2NXQCE4N.js} +10 -2
  37. package/dist/cli/{chunk-BXEMLY6P.js → chunk-367CXLZW.js} +2 -2
  38. package/dist/cli/{chunk-DNR7ZPOW.js → chunk-3C4ABVIM.js} +2 -2
  39. package/dist/cli/{chunk-YJQL26VS.js → chunk-3FLFKMKA.js} +3 -3
  40. package/dist/cli/{chunk-FBR2NQW4.js → chunk-4C4NJVR3.js} +2 -2
  41. package/dist/cli/{chunk-QITYNI2H.js → chunk-57YMZSNI.js} +2 -2
  42. package/dist/cli/{chunk-HQG5YZCJ.js → chunk-5D5EFJTJ.js} +2 -2
  43. package/dist/cli/{chunk-2LFWGSPE.js → chunk-5OFSGZLM.js} +2 -2
  44. package/dist/cli/{chunk-Y6FHWDNX.js → chunk-6KWKDXMT.js} +2 -2
  45. package/dist/cli/{chunk-RX5F2FUP.js → chunk-6VT7QNQH.js} +2 -2
  46. package/dist/cli/{chunk-D7QZ4WSJ.js → chunk-6ZCDCJB4.js} +2 -2
  47. package/dist/cli/{chunk-4QI7JOPI.js → chunk-762STE53.js} +2 -2
  48. package/dist/cli/{chunk-SP66YNWA.js → chunk-76QLAP54.js} +2 -2
  49. package/dist/cli/{chunk-7VRIP4MD.js → chunk-7AEZ35UT.js} +2 -2
  50. package/dist/cli/{chunk-64OLQ6OH.js → chunk-7VAYYOTQ.js} +2 -2
  51. package/dist/cli/{chunk-YM7QMFFW.js → chunk-AXFIVWJZ.js} +2 -2
  52. package/dist/cli/{chunk-AI4BE3MJ.js → chunk-B3NZQ2Y4.js} +2 -2
  53. package/dist/cli/{chunk-MLUCI3JC.js → chunk-BELA5D4T.js} +15 -6
  54. package/dist/cli/{chunk-2UQB3DWD.js → chunk-BJL3MZUI.js} +2 -2
  55. package/dist/cli/{chunk-UPFW3DRJ.js → chunk-BSIPR5S5.js} +2 -2
  56. package/dist/cli/{chunk-JRDAITPC.js → chunk-D75KPNMP.js} +18 -19
  57. package/dist/cli/{chunk-NBFD6HZX.js → chunk-DA7LGEOB.js} +2 -2
  58. package/dist/cli/{chunk-ESI6Q4OS.js → chunk-FD6EQLV7.js} +1 -2
  59. package/dist/cli/{chunk-5IFMSDWF.js → chunk-FJ5CWNTM.js} +2 -2
  60. package/dist/cli/{chunk-XSURVN6Y.js → chunk-FYS4D5VL.js} +2 -2
  61. package/dist/cli/chunk-HACZVXOL.js +92 -0
  62. package/dist/cli/{chunk-JBLHNKSK.js → chunk-HPRGQCRR.js} +2 -2
  63. package/dist/cli/{chunk-362WHUCT.js → chunk-IC33OPZA.js} +2 -2
  64. package/dist/cli/{chunk-TVNXFYOJ.js → chunk-ICFMF56Q.js} +4 -4
  65. package/dist/cli/{chunk-Y7ZNHNVQ.js → chunk-IDFVCC6T.js} +2 -2
  66. package/dist/cli/{chunk-NDN5LU2T.js → chunk-IDZSVRTW.js} +2 -2
  67. package/dist/cli/{chunk-SLNCIDY5.js → chunk-K3VVRO75.js} +2 -2
  68. package/dist/cli/{owner-override-cap-53HYZHIL.js → chunk-KA636FBJ.js} +45 -5
  69. package/dist/cli/{chunk-GNASLIE2.js → chunk-KNHQAYMR.js} +2 -2
  70. package/dist/cli/{chunk-THHPBHFL.js → chunk-LVPOIHUW.js} +2 -2
  71. package/dist/cli/{chunk-IYP3ACPP.js → chunk-M7L5XJYS.js} +2 -2
  72. package/dist/cli/{chunk-PGR4RWQL.js → chunk-MYBFLQT4.js} +8 -5
  73. package/dist/cli/{chunk-W56TDRLF.js → chunk-OMLSVE5U.js} +2 -2
  74. package/dist/cli/{chunk-TNLB7XJO.js → chunk-QZKOWHXO.js} +2 -2
  75. package/dist/cli/{chunk-5KN6IF7F.js → chunk-SKQG2E6A.js} +2 -2
  76. package/dist/cli/{chunk-J4ZSHCUO.js → chunk-TBIXOLSO.js} +2 -2
  77. package/dist/cli/{chunk-QWNKLLLG.js → chunk-TM72T27J.js} +2 -20
  78. package/dist/cli/{chunk-SHRGWWE2.js → chunk-TRUE5NCE.js} +12 -5
  79. package/dist/cli/{chunk-T2TE45UH.js → chunk-UAHZXF7P.js} +2 -2
  80. package/dist/cli/{chunk-3SWQFMWN.js → chunk-UGEJXSUY.js} +2 -2
  81. package/dist/cli/{chunk-NPEWU2LO.js → chunk-UYNMYQIG.js} +2 -2
  82. package/dist/cli/{chunk-S2IS4DXJ.js → chunk-VR6TPIRF.js} +2 -2
  83. package/dist/cli/{chunk-GL5GCK7T.js → chunk-VV65VS2B.js} +2 -2
  84. package/dist/cli/{chunk-OIS3BDSL.js → chunk-YNBEP6TJ.js} +23 -11
  85. package/dist/cli/{chunk-TUUKU4H7.js → chunk-YQQXHUUN.js} +15 -5
  86. package/dist/cli/{chunk-RBI6IBDF.js → chunk-Z24VFMRA.js} +2 -2
  87. package/dist/cli/{claim-MFFSWD64.js → claim-NJMCYE4S.js} +5 -5
  88. package/dist/cli/{classify-H3W4U76E.js → classify-KWJ3TFEC.js} +2 -2
  89. package/dist/cli/{cli-5PJ2B6ZH.js → cli-FIW3KVGU.js} +5 -5
  90. package/dist/cli/{cloud-IEDKFMLI.js → cloud-2H332MHX.js} +4 -4
  91. package/dist/cli/{code-IUDQNALE.js → code-NB4L5SQS.js} +2 -2
  92. package/dist/cli/{complete-2IN4YEWL.js → complete-ZVXR5WFT.js} +6 -6
  93. package/dist/cli/{complexity-JVEIZE5M.js → complexity-J7QTUVEQ.js} +5 -5
  94. package/dist/cli/{compliance-MC3X2M34.js → compliance-JA6VK45M.js} +5 -5
  95. package/dist/cli/{config-Z5BXGRZB.js → config-G7L2NAIX.js} +12 -7
  96. package/dist/cli/{consensus-T6UARQTD.js → consensus-TMDIZHXI.js} +5 -5
  97. package/dist/cli/{context-M4F3YXZE.js → context-6GLTMU2N.js} +5 -5
  98. package/dist/cli/{contribution-76FJYJKR.js → contribution-HPVDMKN6.js} +5 -5
  99. package/dist/cli/{curator-3YXUY4N7.js → curator-O2FXIQFI.js} +2 -2
  100. package/dist/cli/{current-EFRCVSWL.js → current-QFANPTZ4.js} +5 -5
  101. package/dist/cli/{daemon-UAAMDN6C.js → daemon-XTMW67JG.js} +5 -5
  102. package/dist/cli/{dash-ZEBYLYPV.js → dash-K25EK3MM.js} +5 -5
  103. package/dist/cli/{decide-GQTJOC55.js → decide-7JM6V3MS.js} +2 -2
  104. package/dist/cli/{decompose-XTK2DXSM.js → decompose-D2CI6H4Z.js} +5 -5
  105. package/dist/cli/{decomposition-ZDACSPOU.js → decomposition-HM2POZII.js} +5 -5
  106. package/dist/cli/{delete-6YZADILS.js → delete-WKIEMXKN.js} +5 -5
  107. package/dist/cli/{deps-WTASB2GB.js → deps-2X5EWRGY.js} +5 -5
  108. package/dist/cli/{detect-IITE5EBW.js → detect-SWEMXU4U.js} +5 -5
  109. package/dist/cli/{detect-drift-PVC7IPHL.js → detect-drift-M5C4RFJ5.js} +15 -12
  110. package/dist/cli/{diagnostics-MFUOSLSQ.js → diagnostics-6STQBKON.js} +5 -5
  111. package/dist/cli/{docs-AIZLN3ZE.js → docs-O5A34WJY.js} +172 -101
  112. package/dist/cli/{docs-NF5COLOB.js → docs-SI2YNPSG.js} +216 -30
  113. package/dist/cli/{doctor-4DWCNDOP.js → doctor-45UUXTVQ.js} +57 -52
  114. package/dist/cli/{doctor-ac-bindings-HPTG3DDJ.js → doctor-ac-bindings-PBJQ5AS6.js} +3 -3
  115. package/dist/cli/{doctor-acceptance-drift-P7DOAY54.js → doctor-acceptance-drift-FIV25NRE.js} +3 -3
  116. package/dist/cli/{doctor-credentials-TBRT7RAV.js → doctor-credentials-W7EGOG54.js} +3 -3
  117. package/dist/cli/{doctor-db-substrate-ZMLTPGQF.js → doctor-db-substrate-DQJDPL4K.js} +3 -3
  118. package/dist/cli/{doctor-dep-cycles-QWFYH2JK.js → doctor-dep-cycles-2RK2MAHL.js} +3 -3
  119. package/dist/cli/{doctor-exodus-FYBTDXNQ.js → doctor-exodus-SCIA5CZ5.js} +3 -3
  120. package/dist/cli/{doctor-exodus-residue-S7EKSTZS.js → doctor-exodus-residue-N7R3FRC5.js} +3 -3
  121. package/dist/cli/{doctor-fk-check-CNZCA74C.js → doctor-fk-check-5TND2DZH.js} +3 -3
  122. package/dist/cli/{doctor-global-delivery-FICIWVP6.js → doctor-global-delivery-ENAHOZF7.js} +3 -3
  123. package/dist/cli/{doctor-goal-runtime-UIPZRP5Y.js → doctor-goal-runtime-PN6LJFPN.js} +3 -3
  124. package/dist/cli/{doctor-heavy-command-hook-SJHLYWEI.js → doctor-heavy-command-hook-UK3PLJRM.js} +3 -3
  125. package/dist/cli/{doctor-hooks-GHQIAFOY.js → doctor-hooks-ABHXHN2C.js} +3 -3
  126. package/dist/cli/{doctor-legacy-backups-USISQQ5C.js → doctor-legacy-backups-6NXVR43I.js} +3 -3
  127. package/dist/cli/{doctor-legacy-reaper-54BUE5RK.js → doctor-legacy-reaper-SWQOAPNV.js} +3 -3
  128. package/dist/cli/{doctor-malformed-ids-LZNVED2E.js → doctor-malformed-ids-VPZE6A4O.js} +3 -3
  129. package/dist/cli/{doctor-manifest-rows-3L6RUH3C.js → doctor-manifest-rows-GHPAYQ6I.js} +3 -3
  130. package/dist/cli/{doctor-memory-guard-Z62J6U3O.js → doctor-memory-guard-Z6IMLQ5C.js} +3 -3
  131. package/dist/cli/{doctor-migrations-EYB6XSZ2.js → doctor-migrations-6HICMUH5.js} +3 -3
  132. package/dist/cli/{doctor-nexus-residency-GFS37HCL.js → doctor-nexus-residency-VEOZBSYZ.js} +3 -3
  133. package/dist/cli/{doctor-project-identity-A3C6ZWUQ.js → doctor-project-identity-UPRBKXXU.js} +3 -3
  134. package/dist/cli/{doctor-projects-73UHVECZ.js → doctor-projects-3BKEL6SE.js} +3 -3
  135. package/dist/cli/{doctor-projects-registry-5RGRJMCE.js → doctor-projects-registry-JQRWKMRP.js} +3 -3
  136. package/dist/cli/{doctor-release-readiness-7G3OGH2R.js → doctor-release-readiness-ZAK5RKP7.js} +3 -3
  137. package/dist/cli/{doctor-repair-IK6OSUHA.js → doctor-repair-KP66YRVA.js} +3 -3
  138. package/dist/cli/{doctor-row-identity-2CULRXQ2.js → doctor-row-identity-7BDE6BMR.js} +3 -3
  139. package/dist/cli/{doctor-skill-fixtures-OQ2RMIR6.js → doctor-skill-fixtures-MJQ7BJRE.js} +3 -3
  140. package/dist/cli/{doctor-split-brain-5YQGDVTY.js → doctor-split-brain-FFQ7U2FI.js} +3 -3
  141. package/dist/cli/{doctor-superseded-store-JLATIXXP.js → doctor-superseded-store-FQSFKMEX.js} +3 -3
  142. package/dist/cli/{doctor-sync-journal-MZM3WUIT.js → doctor-sync-journal-AM5M5RGO.js} +3 -3
  143. package/dist/cli/{doctor-sync-triggers-IZFC62D7.js → doctor-sync-triggers-4GSCFCL7.js} +3 -3
  144. package/dist/cli/{doctor-system-TJINX2M3.js → doctor-system-S7KYSUXW.js} +3 -3
  145. package/dist/cli/{doctor-tool-locks-VXKJZKAY.js → doctor-tool-locks-XRRQJ3MK.js} +3 -3
  146. package/dist/cli/{doctor-twin-collapse-C5GLUSAO.js → doctor-twin-collapse-SJM5LNAO.js} +3 -3
  147. package/dist/cli/doctor-type-matrix-6MJXOZI2.js +26 -0
  148. package/dist/cli/{doctor-worktree-stores-WZMB4ZHG.js → doctor-worktree-stores-TIR5ZDJ4.js} +3 -3
  149. package/dist/cli/{done-A7ITQSJT.js → done-TXCQGNT7.js} +91 -8
  150. package/dist/cli/{event-RD4EI52P.js → event-J2A7PIDI.js} +2 -2
  151. package/dist/cli/{exists-U33AFKXF.js → exists-NN5QNXFW.js} +2 -2
  152. package/dist/cli/{exodus-QHAQC5SH.js → exodus-VIV4AX54.js} +2 -2
  153. package/dist/cli/{export-OTDQUAQQ.js → export-T4YD6Q3U.js} +5 -5
  154. package/dist/cli/{export-tasks-BKVXMFLD.js → export-tasks-VB5U3YMC.js} +5 -5
  155. package/dist/cli/{federation-GZCJIYMK.js → federation-7WZTYIX7.js} +2 -2
  156. package/dist/cli/{find-BWKYKZEN.js → find-KMTKZ7FY.js} +5 -5
  157. package/dist/cli/{focus-772SYK7Z.js → focus-3BLWBLBG.js} +5 -5
  158. package/dist/cli/{focus-H5CBCFFV.js → focus-6ZYKBB3X.js} +2 -2
  159. package/dist/cli/{gateway-PJ2A6TNM.js → gateway-WVQ3QQFW.js} +2 -2
  160. package/dist/cli/{gc-KG3D2PSR.js → gc-PZGIBTWQ.js} +3 -3
  161. package/dist/cli/{go-AEDN2TNP.js → go-LK5WEP3M.js} +2 -2
  162. package/dist/cli/{goal-TG74GKBK.js → goal-IRTYU7XD.js} +3 -3
  163. package/dist/cli/{grade-BZYBWDA7.js → grade-GIXFAUVP.js} +5 -5
  164. package/dist/cli/{graph-LB2TBRH6.js → graph-SVPHG4VG.js} +8 -33
  165. package/dist/cli/{history-XIYAXOUF.js → history-LPGGTRI7.js} +5 -5
  166. package/dist/cli/{hook-GS5ZZX46.js → hook-VMFPDWVJ.js} +2 -2
  167. package/dist/cli/hook-entry.js +105 -7
  168. package/dist/cli/hygiene-NJD3GR56.js +142 -0
  169. package/dist/cli/{import-C2QISQC7.js → import-55RUOSXO.js} +5 -5
  170. package/dist/cli/{import-tasks-P6FYXAAS.js → import-tasks-RXPNEFPW.js} +5 -5
  171. package/dist/cli/index.js +256 -204
  172. package/dist/cli/{init-XLIT5JVO.js → init-KNRJ22RZ.js} +5 -5
  173. package/dist/cli/{inject-EDZVSPTW.js → inject-43VJCL2Y.js} +5 -5
  174. package/dist/cli/{install-global-FFNYQ366.js → install-global-GU4F2KKV.js} +2 -2
  175. package/dist/cli/{intelligence-OE7SIVR5.js → intelligence-36SGMEHH.js} +5 -5
  176. package/dist/cli/{issue-S67EZXN7.js → issue-VYWZG6BR.js} +5 -5
  177. package/dist/cli/{janitor-GMTGHNOZ.js → janitor-LU6EA55M.js} +2 -2
  178. package/dist/cli/{labels-M7GIBYAQ.js → labels-X6BEE5ZZ.js} +5 -5
  179. package/dist/cli/{lean-FNQ3D4VT.js → lean-GXLAUNNG.js} +2 -2
  180. package/dist/cli/{lifecycle-NO5QDJ2J.js → lifecycle-5P7AVPSI.js} +6 -6
  181. package/dist/cli/{list-VH6DPZ4V.js → list-5N73FV7H.js} +5 -5
  182. package/dist/cli/{llm-P35U52I5.js → llm-IO53XETC.js} +9 -9
  183. package/dist/cli/{llm-YVC5HL7D.js → llm-J3SYJEGB.js} +2 -2
  184. package/dist/cli/{llm-cost-CRIA3VMB.js → llm-cost-DYY7IC4W.js} +3 -3
  185. package/dist/cli/{llm-stream-YBT4FNWZ.js → llm-stream-G35ANQKL.js} +3 -3
  186. package/dist/cli/{log-XIPOX6UM.js → log-E7XZBG7W.js} +5 -5
  187. package/dist/cli/{login-SYEMTZXY.js → login-IRTRPQTX.js} +4 -4
  188. package/dist/cli/{logout-FVWR2AXZ.js → logout-XEL6AVVB.js} +4 -4
  189. package/dist/cli/{manifest-A5F2YD35.js → manifest-UZDHLWAN.js} +5 -5
  190. package/dist/cli/{map-AOMU72RY.js → map-6J27ZMSH.js} +5 -5
  191. package/dist/cli/{memory-4WNZWJG7.js → memory-CFG7P3MM.js} +65 -18
  192. package/dist/cli/{memory-GK5WDYWT.js → memory-Y2C7HYDJ.js} +4 -3
  193. package/dist/cli/merge-JCDDPQIX.js +65 -0
  194. package/dist/cli/{migrate-agents-v2-IX3IBBIT.js → migrate-agents-v2-4W4ZSHZM.js} +3 -3
  195. package/dist/cli/{migrate-claude-mem-OTSYHYBZ.js → migrate-claude-mem-MDBLLJ22.js} +6 -6
  196. package/dist/cli/{next-YUZ4X7NB.js → next-MSGFEI7M.js} +5 -5
  197. package/dist/cli/{nexus-RYH4IAG3.js → nexus-IK7QLEDF.js} +3 -11
  198. package/dist/cli/{nexus-YHPP3RZU.js → nexus-XULYITP6.js} +98 -63
  199. package/dist/cli/{nexus-vault-cli-2R6ALKUP.js → nexus-vault-cli-G7QY446L.js} +4 -4
  200. package/dist/cli/{ops-XPJK3WBN.js → ops-2XDAGO4L.js} +5 -5
  201. package/dist/cli/{orchestrate-AYBDAVOQ.js → orchestrate-BDU4ZLDN.js} +77 -346
  202. package/dist/cli/{orchestrate-TWV43SAR.js → orchestrate-SUOWHPIU.js} +147 -140
  203. package/dist/cli/{otel-TR54MLYU.js → otel-4AS22352.js} +2 -2
  204. package/dist/cli/owner-override-cap-5XAZD23U.js +31 -0
  205. package/dist/cli/{owner-password-GQO37FBV.js → owner-password-VBK5RHKP.js} +3 -3
  206. package/dist/cli/{phase-CFH2NZU5.js → phase-FF6OMRTY.js} +5 -5
  207. package/dist/cli/{pipeline-LW5HWLBI.js → pipeline-4ATMN26D.js} +3 -3
  208. package/dist/cli/{pivot-LEBKDG22.js → pivot-S6JDBRK4.js} +5 -5
  209. package/dist/cli/{plan-6VK5I4BT.js → plan-AY6CF5VB.js} +5 -5
  210. package/dist/cli/{playbook-YPGSNILZ.js → playbook-JDDX5F3H.js} +3 -3
  211. package/dist/cli/{playbook-4GKDYZYW.js → playbook-LJOLT6MX.js} +5 -5
  212. package/dist/cli/{project-QJM7P2HG.js → project-RCRORK6A.js} +3 -3
  213. package/dist/cli/project-hook-entry.js +1 -1
  214. package/dist/cli/{promote-4V4ZLAL3.js → promote-YAFPAZEH.js} +5 -5
  215. package/dist/cli/{provenance-2SFRY42O.js → provenance-2WVSVXNS.js} +5 -5
  216. package/dist/cli/{provider-G6MBFVHR.js → provider-GJD2MZOF.js} +5 -5
  217. package/dist/cli/{reason-2AYZ6SGZ.js → reason-QJZGRMSL.js} +5 -5
  218. package/dist/cli/{reconcile-7CBD7AHH.js → reconcile-JMYN3BON.js} +6 -5
  219. package/dist/cli/{refresh-memory-JTQYFIC7.js → refresh-memory-XVQE7B7L.js} +2 -2
  220. package/dist/cli/{relates-FP43JAOK.js → relates-NNOSVBIM.js} +5 -5
  221. package/dist/cli/{release-NW7XHRVB.js → release-DB23AFID.js} +136 -6
  222. package/dist/cli/{release-OWPFPUQG.js → release-EI72GMAM.js} +79 -96
  223. package/dist/cli/release-authorize-OPL262T6.js +84 -0
  224. package/dist/cli/{remote-ZCCQGM5A.js → remote-XJGF5MGU.js} +2 -2
  225. package/dist/cli/{renderers-37XPXD3K.js → renderers-AMSXAXLY.js} +2 -2
  226. package/dist/cli/{reorder-M457CQRR.js → reorder-HFTIHYBZ.js} +5 -5
  227. package/dist/cli/{reparent-53T6IUUS.js → reparent-JOBADCH5.js} +5 -5
  228. package/dist/cli/{req-ORMMU5PV.js → req-6JXMXBNA.js} +38 -5
  229. package/dist/cli/{research-LFGCGIEP.js → research-5GRWQLHM.js} +6 -6
  230. package/dist/cli/{restore-ZYRIZQUJ.js → restore-ZZH5EUTG.js} +12 -6
  231. package/dist/cli/{revert-XB7K5DR7.js → revert-2F3RPBGW.js} +2 -2
  232. package/dist/cli/review-LTRABBAL.js +162 -0
  233. package/dist/cli/{roadmap-EK6LXBQ4.js → roadmap-THEKOZ3A.js} +5 -5
  234. package/dist/cli/{run-PZJCIRFD.js → run-LH2KI2BV.js} +57 -4
  235. package/dist/cli/{safestop-NO57J3RK.js → safestop-3BH4GLOW.js} +5 -5
  236. package/dist/cli/{saga-NIJMIJE5.js → saga-SMAWF37G.js} +5 -5
  237. package/dist/cli/{schema-5SBTATBP.js → schema-J4UNFL5K.js} +2 -2
  238. package/dist/cli/{self-update-7747XBHR.js → self-update-OP7X4SV5.js} +2 -2
  239. package/dist/cli/{selfimprove-6HSEV3RG.js → selfimprove-MJXG7BIB.js} +5 -5
  240. package/dist/cli/{selfimprove-IYKG5PF4.js → selfimprove-MQ5WGGVO.js} +2 -2
  241. package/dist/cli/{sentient-U56VMS6D.js → sentient-B7TXJ2XI.js} +2 -2
  242. package/dist/cli/{sentient-Z7W7WO74.js → sentient-W3D6ATW5.js} +2 -2
  243. package/dist/cli/{sequence-T42KPEEQ.js → sequence-VUPNLIB3.js} +5 -5
  244. package/dist/cli/{service-CBEZWGHC.js → service-ZBMCSGAO.js} +5 -5
  245. package/dist/cli/{session-XDADM7O4.js → session-5JTABSZR.js} +6 -6
  246. package/dist/cli/{session-TFVW42XK.js → session-NN655K5R.js} +3 -3
  247. package/dist/cli/{setup-WZVYP7QA.js → setup-JQ3DFC5Q.js} +4 -4
  248. package/dist/cli/{show-I2TEU6MP.js → show-OKAPY3KE.js} +5 -6
  249. package/dist/cli/{skill-YUWT2LC6.js → skill-HOUTOSDX.js} +2 -2
  250. package/dist/cli/{skills-ZBYRPFRL.js → skills-CJ4UY4VG.js} +7 -7
  251. package/dist/cli/{snapshot-GMN7LZ4A.js → snapshot-5AUXE72Q.js} +5 -5
  252. package/dist/cli/{start-FQWDRGJE.js → start-ZB263BD4.js} +5 -5
  253. package/dist/cli/{stats-D2AU77GH.js → stats-QKNT3RCZ.js} +5 -5
  254. package/dist/cli/{status-TNLDBR7K.js → status-7BIMUOCS.js} +2 -2
  255. package/dist/cli/{sticky-FKZFQYNV.js → sticky-IDNWN3F6.js} +5 -5
  256. package/dist/cli/{sticky-EKL5FD2D.js → sticky-Z2BMRSAB.js} +2 -2
  257. package/dist/cli/{stop-ZCL7RZPH.js → stop-OCEFE7PM.js} +5 -5
  258. package/dist/cli/{sync-WM4JLGXF.js → sync-6DQ2OAMG.js} +6 -6
  259. package/dist/cli/{tasks-RU6AAJKD.js → tasks-BIZI4QJF.js} +30 -5
  260. package/dist/cli/{tasks-54WNYQZS.js → tasks-Q2XYKLX6.js} +5 -5
  261. package/dist/cli/{telemetry-RQFRJRBZ.js → telemetry-DCWQTH2I.js} +2 -2
  262. package/dist/cli/{templates-6H4CTUCW.js → templates-Q3QZQZ62.js} +2 -2
  263. package/dist/cli/{testing-S7FCPHW5.js → testing-PTDKLHX3.js} +5 -5
  264. package/dist/cli/{token-BDRGEO3E.js → token-BZEEYQHF.js} +5 -5
  265. package/dist/cli/{transcript-DVV4EFPG.js → transcript-ZY6UF3TU.js} +2 -2
  266. package/dist/cli/{update-BD77ORMO.js → update-E5PECNWK.js} +5 -5
  267. package/dist/cli/{upgrade-EDQ7F6OX.js → upgrade-E6M4ERKP.js} +5 -5
  268. package/dist/cli/{verify-VOJRQQE2.js → verify-474GA75M.js} +12 -7
  269. package/dist/cli/{web-BPCE3X2V.js → web-R7LXSDEG.js} +2 -2
  270. package/dist/cli/{workgraph-ZKOFWUUE.js → workgraph-LWSTY3JY.js} +6 -6
  271. package/dist/cli/{worktree-2UEPNBJC.js → worktree-3B5JR6N7.js} +4 -5
  272. package/dist/cli/{worktree-2HHJT5BS.js → worktree-ZCJAH23Z.js} +12 -14
  273. package/package.json +16 -14
  274. package/studio-dist/client/_app/immutable/chunks/{CwQ8nAoh.js → 6tOJRYtC.js} +1 -1
  275. package/studio-dist/client/_app/immutable/chunks/{C87Q3uxm.js → Bb5_AOYB.js} +1 -1
  276. package/studio-dist/client/_app/immutable/chunks/C2a5FdIt.js +1 -0
  277. package/studio-dist/client/_app/immutable/chunks/{Dv66614U.js → DdIqZ0F-.js} +1 -1
  278. package/studio-dist/client/_app/immutable/chunks/{Js_lZuOv.js → DtBpLaMM.js} +1 -1
  279. package/studio-dist/client/_app/immutable/chunks/{EZwHPWle.js → h4IOtB0S.js} +1 -1
  280. package/studio-dist/client/_app/immutable/entry/{app.C2oQiIiz.js → app.Bu2fyKEV.js} +2 -2
  281. package/studio-dist/client/_app/immutable/entry/start.CBBzjkal.js +1 -0
  282. package/studio-dist/client/_app/immutable/nodes/{0.DaE6eVaG.js → 0.D0Q67wN6.js} +1 -1
  283. package/studio-dist/client/_app/immutable/nodes/{1.D0Mb3i_7.js → 1.Cx9rAK7i.js} +1 -1
  284. package/studio-dist/client/_app/immutable/nodes/{15.ChRO-4dz.js → 15.DnOsli29.js} +1 -1
  285. package/studio-dist/client/_app/immutable/nodes/{16.fltF2wse.js → 16.CrxwCKGy.js} +1 -1
  286. package/studio-dist/client/_app/immutable/nodes/{17.DnYjMhyj.js → 17.Cdh0_9mm.js} +1 -1
  287. package/studio-dist/client/_app/immutable/nodes/{18.DYVIAC9a.js → 18.8GsoNI5O.js} +1 -1
  288. package/studio-dist/client/_app/immutable/nodes/{20.CVBcbjBW.js → 20.BJG6Nl3w.js} +1 -1
  289. package/studio-dist/client/_app/immutable/nodes/{24.Bfswm8Y5.js → 24.j8WC-gjA.js} +1 -1
  290. package/studio-dist/client/_app/immutable/nodes/25.BlW7cJd4.js +39 -0
  291. package/studio-dist/client/_app/immutable/nodes/{26.D3RoTHoD.js → 26.C5RluMQM.js} +1 -1
  292. package/studio-dist/client/_app/immutable/nodes/{28.D64RBcfs.js → 28.B9m_UNTl.js} +1 -1
  293. package/studio-dist/client/_app/immutable/nodes/{29.yfuBeH1x.js → 29.BLFaoK4P.js} +1 -1
  294. package/studio-dist/client/_app/immutable/nodes/{3.ezhkaJvt.js → 3.BhtcETod.js} +1 -1
  295. package/studio-dist/client/_app/version.json +1 -1
  296. package/studio-dist/server/chunks/{0-BKQLYEeE.js → 0-3ISI_Jd4.js} +3 -3
  297. package/studio-dist/server/chunks/1-CM2aVyEP.js +9 -0
  298. package/studio-dist/server/chunks/{15-DuSvkmiZ.js → 15-3X9-99yQ.js} +3 -3
  299. package/studio-dist/server/chunks/{16-DJVePzvS.js → 16-CpB7uymk.js} +3 -3
  300. package/studio-dist/server/chunks/{17-D8K9-EPJ.js → 17-BwPBOkXY.js} +3 -3
  301. package/studio-dist/server/chunks/{18-D5FUPGnv.js → 18-4rPYGgn2.js} +3 -3
  302. package/studio-dist/server/chunks/{2-DQaIET_o.js → 2-q7c9jKfs.js} +6 -6
  303. package/studio-dist/server/chunks/{20-CmHgNZFV.js → 20-BRURJXYm.js} +3 -3
  304. package/studio-dist/server/chunks/{23-D194DGVi.js → 23-DEuC4HS6.js} +3 -2
  305. package/studio-dist/server/chunks/{24-CfuHWHgd.js → 24-guuvcnQd.js} +5 -4
  306. package/studio-dist/server/chunks/{25-bm3BDSum.js → 25-Cu45aO6X.js} +618 -36
  307. package/studio-dist/server/chunks/{26-DRlhAbrf.js → 26-CbjqXxSv.js} +15 -14
  308. package/studio-dist/server/chunks/{28-DeYe2rpm.js → 28-CiVv4jji.js} +3 -3
  309. package/studio-dist/server/chunks/{29-d_lZvJg3.js → 29-CHrYKy9L.js} +6 -5
  310. package/studio-dist/server/chunks/{3-BrE1-gTA.js → 3-dGuWwuGL.js} +4 -4
  311. package/studio-dist/server/chunks/30-CZYg7-qi.js +94 -0
  312. package/studio-dist/server/chunks/{_layout.svelte-BeqNMCvk.js → _layout.svelte-BtFiGIEp.js} +4 -4
  313. package/studio-dist/server/chunks/{_page.svelte-Dm8y5a8S.js → _page.svelte-Bazc0M-R.js} +3 -3
  314. package/studio-dist/server/chunks/{_page.svelte-V7BTZinR.js → _page.svelte-C3zGtsso.js} +9 -8
  315. package/studio-dist/server/chunks/{_page.svelte-CJVF_ySt.js → _page.svelte-C7HQSp26.js} +3 -3
  316. package/studio-dist/server/chunks/{_page.svelte-Bchzzf-O.js → _page.svelte-CGmJXo2R.js} +3 -3
  317. package/studio-dist/server/chunks/{_page.svelte-CkXCx1iz.js → _page.svelte-CQVvPMmQ.js} +3 -3
  318. package/studio-dist/server/chunks/{_page.svelte-DIx7Hcw-.js → _page.svelte-CndKFWTU.js} +3 -3
  319. package/studio-dist/server/chunks/{_page.svelte-Ds0GMs_q.js → _page.svelte-CpWAUdOW.js} +5 -5
  320. package/studio-dist/server/chunks/{_page.svelte-DM-MP-Vl.js → _page.svelte-DWXNbjU9.js} +3 -3
  321. package/studio-dist/server/chunks/{_page.svelte-B7xxx6BP.js → _page.svelte-DciYSvHg.js} +4 -4
  322. package/studio-dist/server/chunks/{_page.svelte-DnmZYECG.js → _page.svelte-FsmVvOW2.js} +3 -3
  323. package/studio-dist/server/chunks/{_page.svelte-Cx9Ptecp.js → _page.svelte-_ePwQLv-.js} +2 -2
  324. package/studio-dist/server/chunks/{_server.ts-B5vYKkI6.js → _server.ts--7OuOtTn.js} +1 -2
  325. package/studio-dist/server/chunks/{_server.ts-Cd_KHxRr.js → _server.ts-BDyyTu-K.js} +2 -2
  326. package/studio-dist/server/chunks/{_server.ts-YtGAClvW.js → _server.ts-Bqqug0HB.js} +10 -8
  327. package/studio-dist/server/chunks/{_server.ts-CcQ0AQoo.js → _server.ts-C_2-lCv8.js} +6 -5
  328. package/studio-dist/server/chunks/{_server.ts-6A72NyG7.js → _server.ts-Cr0M7RVU.js} +2 -2
  329. package/studio-dist/server/chunks/{_server.ts-BKZlM7rp.js → _server.ts-Csp0H96s.js} +2 -2
  330. package/studio-dist/server/chunks/{_server.ts-DdCviCsN.js → _server.ts-CyTTBEcl.js} +4 -4
  331. package/studio-dist/server/chunks/{_server.ts-Ck-oreiA.js → _server.ts-D6VzZhEs.js} +3 -3
  332. package/studio-dist/server/chunks/{_server.ts-b2YIpIsi.js → _server.ts-D9u8o_fg.js} +3 -3
  333. package/studio-dist/server/chunks/{_server.ts-XLV5SvjH.js → _server.ts-NPYD7LXS.js} +2 -2
  334. package/studio-dist/server/chunks/{_server.ts-CqO357sV.js → _server.ts-Te-2tjen.js} +2 -2
  335. package/studio-dist/server/chunks/{_server.ts-OPrTc7WI.js → _server.ts-ZJufMUl-.js} +2 -2
  336. package/studio-dist/server/chunks/{client-DR3j81J8.js → client-DKCgIuPq.js} +2 -2
  337. package/studio-dist/server/chunks/{error.svelte-NY-X_Qdt.js → error.svelte-gYXatkJM.js} +3 -3
  338. package/studio-dist/server/chunks/{explorer-loader-CP09K03H.js → explorer-loader-fHkiu8Z4.js} +8 -6
  339. package/studio-dist/server/chunks/{http-Dz72j56i.js → http-elrAoEmj.js} +2 -2
  340. package/studio-dist/server/chunks/{internal-y7btLoII.js → internal-C4t8_O0Q.js} +2 -2
  341. package/studio-dist/server/chunks/{lane-transition-lM2ngbbc.js → lane-transition-tca216Ny.js} +10 -3
  342. package/studio-dist/server/chunks/{operations-registry-DKEHmggR.js → operations-registry-C9N47F53.js} +350 -471
  343. package/studio-dist/server/chunks/{stores-Cm-Qj76R.js → stores-CLlSxFBW.js} +2 -2
  344. package/studio-dist/server/chunks/{tasks-sWuEmiGW.js → tasks-Ch-fdBjA.js} +2 -2
  345. package/studio-dist/server/index.js +1 -1
  346. package/studio-dist/server/manifest.js +29 -29
  347. package/dist/cli/canon-docs-2GTOLF7Y.js +0 -26
  348. package/dist/cli/chunk-IGM44F43.js +0 -33
  349. package/dist/cli/conduit-STEBYJTU.js +0 -535
  350. package/dist/cli/conduit-XYYPJYUF.js +0 -319
  351. package/dist/cli/hygiene-QVIG57RZ.js +0 -55
  352. package/studio-dist/client/_app/immutable/chunks/BXnpxR_0.js +0 -1
  353. package/studio-dist/client/_app/immutable/entry/start.BolRa540.js +0 -1
  354. package/studio-dist/client/_app/immutable/nodes/25.B_7VqHJ6.js +0 -39
  355. package/studio-dist/server/chunks/1-ClOr3JN3.js +0 -9
  356. package/studio-dist/server/chunks/30-BHsj4oeh.js +0 -105
@@ -16,28 +16,27 @@
16
16
  import {
17
17
  negatedFlag
18
18
  } from "./chunk-47JYZAMS.js";
19
- import {
20
- warnConduitDeprecated
21
- } from "./chunk-IGM44F43.js";
22
19
  import {
23
20
  dispatchFromCli
24
- } from "./chunk-OIS3BDSL.js";
25
- import "./chunk-6N6WGLXE.js";
21
+ } from "./chunk-YNBEP6TJ.js";
26
22
  import "./chunk-4VASFLUW.js";
23
+ import "./chunk-2NXQCE4N.js";
27
24
  import {
28
25
  defineCommand,
29
26
  showUsage
30
27
  } from "./chunk-IVN46UST.js";
31
28
  import "./chunk-QKMBWYAS.js";
32
29
  import {
30
+ cliError,
33
31
  cliOutput
34
- } from "./chunk-ESI6Q4OS.js";
32
+ } from "./chunk-FD6EQLV7.js";
35
33
  import "./chunk-6JSJNYH2.js";
36
34
  import "./chunk-D7BAQNV2.js";
37
- import "./chunk-JRDAITPC.js";
35
+ import "./chunk-D75KPNMP.js";
38
36
 
39
37
  // packages/cleo/src/cli/commands/orchestrate.ts
40
38
  import { execFileSync } from "node:child_process";
39
+ import { ExitCode } from "@cleocode/contracts/exit-codes.js";
41
40
  import { BUILD_CONFIG } from "@cleocode/core/config/build-config";
42
41
  import * as orchestration from "@cleocode/core/orchestration/index";
43
42
  import { getProjectRoot } from "@cleocode/core/project-scope";
@@ -493,57 +492,29 @@ var contextCommand = defineCommand({
493
492
  var ivtrCommand = defineCommand({
494
493
  meta: {
495
494
  name: "ivtr",
496
- description: "Drive an Implement\u2192Validate\u2192Test phased loop on a task with evidence-bound gates"
495
+ description: "Removed (T14311): the IVTR loop is retired; prints a removal notice"
497
496
  },
498
497
  args: {
499
- taskId: {
500
- type: "positional",
501
- description: "Task ID to drive IVTR loop for",
502
- required: true
503
- },
504
- start: {
505
- type: "boolean",
506
- description: "Begin Implement phase"
507
- },
508
- next: {
509
- type: "boolean",
510
- description: "Advance to next phase (requires prior-phase evidence)"
511
- },
512
- status: {
513
- type: "boolean",
514
- description: "Show current IVTR state + history"
515
- },
516
- release: {
517
- type: "boolean",
518
- description: "Final gate \u2014 require I+V+T evidence, then release"
519
- },
520
- "loop-back": {
521
- type: "boolean",
522
- description: "Rewind to specified phase on failure"
523
- },
524
- phase: {
525
- type: "string",
526
- description: "Phase for --loop-back (implement|validate|test)"
527
- },
528
- reason: {
529
- type: "string",
530
- description: "Reason for loop-back"
531
- },
532
- evidence: {
533
- type: "string",
534
- description: "Attachment sha256 to attach"
535
- }
498
+ taskId: { type: "positional", description: "Ignored", required: false },
499
+ start: { type: "boolean", description: "Removed" },
500
+ next: { type: "boolean", description: "Removed" },
501
+ status: { type: "boolean", description: "Removed" },
502
+ release: { type: "boolean", description: "Removed" },
503
+ "loop-back": { type: "boolean", description: "Removed" },
504
+ phase: { type: "string", description: "Removed" },
505
+ reason: { type: "string", description: "Removed" },
506
+ evidence: { type: "string", description: "Removed" }
536
507
  },
537
- async run({ args }) {
538
- const action = args.start ? "start" : args.next ? "next" : args.release ? "release" : args["loop-back"] ? "loop-back" : "status";
539
- const kind = action === "status" ? "query" : "mutate";
540
- await dispatchFromCli(
541
- kind,
542
- "orchestrate",
543
- `ivtr.${action}`,
544
- { taskId: args.taskId, phase: args.phase, reason: args.reason, evidence: args.evidence },
545
- { command: "orchestrate" }
508
+ async run() {
509
+ cliError(
510
+ "'cleo orchestrate ivtr' was removed in T14311: the IVTR loop is retired and nothing reads its state.",
511
+ ExitCode.INVALID_INPUT,
512
+ {
513
+ name: "E_COMMAND_REMOVED",
514
+ fix: "Prove a task with evidence gates: 'cleo done <id> --plan', then 'cleo verify' and 'cleo complete'. Autonomous runs use CLEO Goal."
515
+ }
546
516
  );
517
+ process.exit(ExitCode.INVALID_INPUT);
547
518
  }
548
519
  });
549
520
  var parallelCommand = defineCommand({
@@ -676,6 +647,10 @@ var handoffCommand = defineCommand({
676
647
  var spawnExecuteCommand = defineCommand({
677
648
  meta: { name: "spawn-execute", description: "Execute spawn for a task via the adapter registry" },
678
649
  args: {
650
+ adapter: {
651
+ type: "string",
652
+ description: "Explicit harness (default: verified Orca rotation, otherwise native selection)"
653
+ },
679
654
  taskId: {
680
655
  type: "positional",
681
656
  description: "Task ID to execute spawn for",
@@ -691,11 +666,87 @@ var spawnExecuteCommand = defineCommand({
691
666
  "mutate",
692
667
  "orchestrate",
693
668
  "spawn.execute",
694
- { taskId: args.taskId, ...args.base !== void 0 ? { baseRef: args.base } : {} },
669
+ {
670
+ taskId: args.taskId,
671
+ ...args.adapter !== void 0 ? { adapterId: args.adapter } : {},
672
+ ...args.base !== void 0 ? { baseRef: args.base } : {}
673
+ },
695
674
  { command: "orchestrate" }
696
675
  );
697
676
  }
698
677
  });
678
+ var workerExitCommand = defineCommand({
679
+ meta: { name: "worker-exit", description: "Record a worker's exit and fire SubagentStop once" },
680
+ args: {
681
+ instance: { type: "string", description: "Adapter instance id of the worker" },
682
+ status: {
683
+ type: "string",
684
+ description: "Completion status: complete | partial | blocked | failed (default: derived from the task)"
685
+ }
686
+ },
687
+ async run({ args }) {
688
+ const { WORKER_EXIT_STATUSES, markWorkerExited } = await import("@cleocode/core/orchestrate/worker-records");
689
+ const status = WORKER_EXIT_STATUSES.find((s) => s === args.status);
690
+ if (args.status !== void 0 && status === void 0) {
691
+ const message = `--status must be one of ${WORKER_EXIT_STATUSES.join(", ")}`;
692
+ cliOutput(
693
+ { success: false, error: { code: "E_INVALID_INPUT", message } },
694
+ { command: "orchestrate worker-exit" }
695
+ );
696
+ process.exitCode = 6;
697
+ return;
698
+ }
699
+ const target = args.instance ? { instanceId: args.instance } : { sessionId: process.env.CLEO_SESSION_ID };
700
+ const data = await markWorkerExited(target, status, getProjectRoot());
701
+ cliOutput({ success: true, data }, { command: "orchestrate worker-exit" });
702
+ }
703
+ });
704
+ var workerCommand = defineCommand({
705
+ meta: { name: "worker", description: "Inspect or recover an exact recorded Orca worker" },
706
+ args: {
707
+ action: {
708
+ type: "positional",
709
+ description: "show | read | recover-start | recover-stop | retry | stop | ingest-report | relay-report",
710
+ required: true
711
+ },
712
+ recordId: {
713
+ type: "positional",
714
+ description: "Exact worker recordId from status",
715
+ required: true
716
+ },
717
+ cursor: { type: "string", description: "Source-pinned worker-read cursor (read only)" },
718
+ "message-id": { type: "string", description: "Exact worker_done id (ingest-report only)" }
719
+ },
720
+ async run({ args }) {
721
+ const { orcaWorkerRequestSchema } = await import("@cleocode/contracts/orca-execution.js");
722
+ const parsed = orcaWorkerRequestSchema.safeParse({ ...args, messageId: args["message-id"] });
723
+ if (!parsed.success) {
724
+ cliError(parsed.error.message, "E_INVALID_INPUT", {
725
+ fix: "Use cleo orchestrate worker --help."
726
+ });
727
+ process.exitCode = ExitCode.VALIDATION_ERROR;
728
+ return;
729
+ }
730
+ const [{ OrcaExecutionBackend }, { orchestrateOrcaWorker }] = await Promise.all([
731
+ import("@cleocode/adapters/orca-execution"),
732
+ import("@cleocode/core/orchestrate/orca-execution")
733
+ ]);
734
+ const result = await orchestrateOrcaWorker(
735
+ parsed.data,
736
+ getProjectRoot(),
737
+ new OrcaExecutionBackend()
738
+ );
739
+ if (!result.success) {
740
+ cliError(result.error.message, result.error.code, {
741
+ fix: result.error.fix,
742
+ details: result.error.details
743
+ });
744
+ process.exitCode = result.error.exitCode ?? ExitCode.SPAWN_VALIDATION_FAILED;
745
+ return;
746
+ }
747
+ cliOutput(result.data, { command: "orchestrate worker" });
748
+ }
749
+ });
699
750
  var fanoutCommand = defineCommand({
700
751
  meta: { name: "fanout", description: "Fan out tasks for an epic using parallel spawn" },
701
752
  args: {
@@ -724,7 +775,7 @@ var fanoutCommand = defineCommand({
724
775
  var pruneCommand = defineCommand({
725
776
  meta: {
726
777
  name: "prune",
727
- description: "Remove stale agent worktrees (after task completion or crash)"
778
+ description: "Legacy project/task cleanup; for terminal tasks, TTL, size budget and machine-wide cleanup use cleo hygiene census --all-projects --dry-run"
728
779
  },
729
780
  args: {
730
781
  taskId: {
@@ -772,60 +823,6 @@ var worktreeCompleteCommand = defineCommand({
772
823
  });
773
824
  }
774
825
  });
775
- var conduitStatusCommand = defineCommand({
776
- meta: { name: "conduit-status", description: "Get conduit messaging status" },
777
- async run() {
778
- warnConduitDeprecated("orchestrate conduit-status");
779
- await dispatchFromCli("query", "conduit", "status", {}, { command: "orchestrate" });
780
- }
781
- });
782
- var conduitPeekCommand = defineCommand({
783
- meta: { name: "conduit-peek", description: "Peek at queued conduit messages" },
784
- args: {
785
- limit: {
786
- type: "string",
787
- description: "Maximum number of messages to return"
788
- }
789
- },
790
- async run({ args }) {
791
- warnConduitDeprecated("orchestrate conduit-peek");
792
- await dispatchFromCli(
793
- "query",
794
- "conduit",
795
- "peek",
796
- { limit: args.limit !== void 0 ? Number.parseInt(args.limit, 10) : void 0 },
797
- { command: "orchestrate" }
798
- );
799
- }
800
- });
801
- var conduitStartCommand = defineCommand({
802
- meta: { name: "conduit-start", description: "Start the conduit message loop" },
803
- args: {
804
- "poll-interval": {
805
- type: "string",
806
- description: "Polling interval in milliseconds"
807
- }
808
- },
809
- async run({ args }) {
810
- warnConduitDeprecated("orchestrate conduit-start");
811
- await dispatchFromCli(
812
- "mutate",
813
- "conduit",
814
- "start",
815
- {
816
- pollIntervalMs: args["poll-interval"] !== void 0 ? Number.parseInt(args["poll-interval"], 10) : void 0
817
- },
818
- { command: "orchestrate" }
819
- );
820
- }
821
- });
822
- var conduitStopCommand = defineCommand({
823
- meta: { name: "conduit-stop", description: "Stop the conduit message loop" },
824
- async run() {
825
- warnConduitDeprecated("orchestrate conduit-stop");
826
- await dispatchFromCli("mutate", "conduit", "stop", {}, { command: "orchestrate" });
827
- }
828
- });
829
826
  var approveCommand = defineCommand({
830
827
  meta: {
831
828
  name: "approve",
@@ -904,35 +901,45 @@ var pendingCommand = defineCommand({
904
901
  await dispatchFromCli("query", "orchestrate", "pending", {}, { command: "orchestrate" });
905
902
  }
906
903
  });
907
- var conduitSendCommand = defineCommand({
904
+ var leadCommand = defineCommand({
908
905
  meta: {
909
- name: "conduit-send",
910
- description: "Send a message via conduit to an agent or conversation"
906
+ name: "lead",
907
+ description: "Spawn the no-hands lead for an epic (orchestrate.leadWorker.v1): no Bash/Edit/Write, commands only through the lead runner"
911
908
  },
912
909
  args: {
913
- content: {
914
- type: "positional",
915
- description: "Message content to send",
916
- required: true
917
- },
918
- to: {
919
- type: "string",
920
- description: "Target agent ID"
921
- },
922
- conversation: {
923
- type: "string",
924
- description: "Conversation ID to send into"
910
+ epicId: { type: "positional", description: "Epic the lead runs", required: true },
911
+ adapter: { type: "string", description: "Spawn adapter id (default: first capable adapter)" },
912
+ detached: {
913
+ type: "boolean",
914
+ description: "Run the lead in the background; owner decisions go to the owner's AgentMBX mailbox as a hitl.request (default: interactive in this terminal, asking with AskUserQuestion)"
925
915
  }
926
916
  },
927
917
  async run({ args }) {
928
- warnConduitDeprecated("orchestrate conduit-send");
929
- await dispatchFromCli(
930
- "mutate",
931
- "conduit",
932
- "send",
933
- { content: args.content, to: args.to, conversationId: args.conversation },
934
- { command: "orchestrate" }
935
- );
918
+ const { orchestrateLead } = await import("@cleocode/core/orchestrate/lead");
919
+ const { OrcaExecutionBackend } = await import("@cleocode/adapters/orca-execution");
920
+ const result = await orchestrateLead(args.epicId, {
921
+ projectRoot: getProjectRoot(),
922
+ orca: new OrcaExecutionBackend(),
923
+ mode: args.detached === true ? "detached" : "interactive",
924
+ ...args.adapter !== void 0 ? { adapterId: args.adapter } : {}
925
+ });
926
+ if (result.success) {
927
+ cliOutput({ success: true, data: result.data }, { command: "orchestrate lead" });
928
+ return;
929
+ }
930
+ const { code, message, exitCode, fix, details } = result.error;
931
+ cliError(message, code, { fix, details });
932
+ process.exitCode = exitCode ?? 1;
933
+ }
934
+ });
935
+ var leadRunnerCommand = defineCommand({
936
+ meta: {
937
+ name: "lead-runner",
938
+ description: "Serve the lead command runner (MCP stdio): runs allow-listed cleo and gh argv, no shell"
939
+ },
940
+ async run() {
941
+ const { serveLeadCommandRunner } = await import("@cleocode/core/orchestration/lead-command-runner");
942
+ await serveLeadCommandRunner({ input: process.stdin, output: process.stdout });
936
943
  }
937
944
  });
938
945
  var orchestrateCommand = defineCommand({
@@ -960,17 +967,17 @@ var orchestrateCommand = defineCommand({
960
967
  handoff: handoffCommand,
961
968
  "spawn-execute": spawnExecuteCommand,
962
969
  fanout: fanoutCommand,
970
+ "worker-exit": workerExitCommand,
971
+ worker: workerCommand,
963
972
  prune: pruneCommand,
964
973
  "worktree-complete": worktreeCompleteCommand,
965
- "conduit-status": conduitStatusCommand,
966
- "conduit-peek": conduitPeekCommand,
967
- "conduit-start": conduitStartCommand,
968
- "conduit-stop": conduitStopCommand,
969
- "conduit-send": conduitSendCommand,
970
974
  // T935: HITL playbook approval gates
971
975
  approve: approveCommand,
972
976
  reject: rejectCommand,
973
- pending: pendingCommand
977
+ pending: pendingCommand,
978
+ // T14363: no-hands lead entrypoint; T14374: its command runner
979
+ lead: leadCommand,
980
+ "lead-runner": leadRunnerCommand
974
981
  },
975
982
  async run({ cmd, rawArgs }) {
976
983
  const firstArg = rawArgs?.find((a) => !a.startsWith("-"));
@@ -982,4 +989,4 @@ export {
982
989
  formatRollupTable,
983
990
  orchestrateCommand
984
991
  };
985
- //# sourceMappingURL=orchestrate-TWV43SAR.js.map
992
+ //# sourceMappingURL=orchestrate-SUOWHPIU.js.map
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  cliError,
22
22
  cliOutput
23
- } from "./chunk-ESI6Q4OS.js";
23
+ } from "./chunk-FD6EQLV7.js";
24
24
  import "./chunk-6JSJNYH2.js";
25
25
 
26
26
  // packages/cleo/src/cli/commands/otel.ts
@@ -185,4 +185,4 @@ var otelCommand = defineCommand({
185
185
  export {
186
186
  otelCommand
187
187
  };
188
- //# sourceMappingURL=otel-TR54MLYU.js.map
188
+ //# sourceMappingURL=otel-4AS22352.js.map
@@ -0,0 +1,31 @@
1
+ (() => {
2
+ const _installed = Symbol.for('cleocode.cli.sqliteWarningFilter');
3
+ if (globalThis[_installed]) return;
4
+ globalThis[_installed] = true;
5
+ const _origEmitWarning = process.emitWarning;
6
+ process.emitWarning = function(warning, type, code, ctor) {
7
+ if (typeof warning === 'object' && warning.name === 'ExperimentalWarning' && typeof warning.message === 'string' && /SQLite is an experimental feature/i.test(warning.message)) {
8
+ return;
9
+ }
10
+ if (typeof warning === 'string' && /SQLite is an experimental feature/i.test(warning)) {
11
+ return;
12
+ }
13
+ return _origEmitWarning.call(process, warning, type, code, ctor);
14
+ };
15
+ })();
16
+ import {
17
+ ownerCaller,
18
+ runOwnerEnroll,
19
+ runOwnerOverrideCapSet,
20
+ runOwnerReviewWorkersCountedSet
21
+ } from "./chunk-KA636FBJ.js";
22
+ import "./chunk-LVPOIHUW.js";
23
+ import "./chunk-FD6EQLV7.js";
24
+ import "./chunk-6JSJNYH2.js";
25
+ export {
26
+ ownerCaller,
27
+ runOwnerEnroll,
28
+ runOwnerOverrideCapSet,
29
+ runOwnerReviewWorkersCountedSet
30
+ };
31
+ //# sourceMappingURL=owner-override-cap-5XAZD23U.js.map
@@ -15,10 +15,10 @@
15
15
  })();
16
16
  import {
17
17
  readOwnerPassword
18
- } from "./chunk-THHPBHFL.js";
19
- import "./chunk-ESI6Q4OS.js";
18
+ } from "./chunk-LVPOIHUW.js";
19
+ import "./chunk-FD6EQLV7.js";
20
20
  import "./chunk-6JSJNYH2.js";
21
21
  export {
22
22
  readOwnerPassword
23
23
  };
24
- //# sourceMappingURL=owner-password-GQO37FBV.js.map
24
+ //# sourceMappingURL=owner-password-VBK5RHKP.js.map
@@ -15,18 +15,18 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-OIS3BDSL.js";
19
- import "./chunk-6N6WGLXE.js";
18
+ } from "./chunk-YNBEP6TJ.js";
20
19
  import "./chunk-4VASFLUW.js";
20
+ import "./chunk-2NXQCE4N.js";
21
21
  import {
22
22
  defineCommand,
23
23
  showUsage
24
24
  } from "./chunk-IVN46UST.js";
25
25
  import "./chunk-QKMBWYAS.js";
26
- import "./chunk-ESI6Q4OS.js";
26
+ import "./chunk-FD6EQLV7.js";
27
27
  import "./chunk-6JSJNYH2.js";
28
28
  import "./chunk-D7BAQNV2.js";
29
- import "./chunk-JRDAITPC.js";
29
+ import "./chunk-D75KPNMP.js";
30
30
 
31
31
  // packages/cleo/src/cli/commands/phase.ts
32
32
  var showCommand = defineCommand({
@@ -218,4 +218,4 @@ var phaseCommand = defineCommand({
218
218
  export {
219
219
  phaseCommand
220
220
  };
221
- //# sourceMappingURL=phase-CFH2NZU5.js.map
221
+ //# sourceMappingURL=phase-FF6OMRTY.js.map
@@ -15,14 +15,14 @@
15
15
  })();
16
16
  import {
17
17
  lazyOperation
18
- } from "./chunk-JRDAITPC.js";
18
+ } from "./chunk-D75KPNMP.js";
19
19
  import {
20
20
  defineTypedHandler,
21
21
  lafsError,
22
22
  lafsSuccess,
23
23
  typedDispatch,
24
24
  wrapCoreResult
25
- } from "./chunk-QWNKLLLG.js";
25
+ } from "./chunk-TM72T27J.js";
26
26
  import {
27
27
  dispatchMeta,
28
28
  envelopeToEngineResult,
@@ -708,4 +708,4 @@ var PipelineHandler = class {
708
708
  export {
709
709
  PipelineHandler
710
710
  };
711
- //# sourceMappingURL=pipeline-LW5HWLBI.js.map
711
+ //# sourceMappingURL=pipeline-4ATMN26D.js.map
@@ -18,17 +18,17 @@ import {
18
18
  } from "./chunk-47JYZAMS.js";
19
19
  import {
20
20
  dispatchFromCli
21
- } from "./chunk-OIS3BDSL.js";
22
- import "./chunk-6N6WGLXE.js";
21
+ } from "./chunk-YNBEP6TJ.js";
23
22
  import "./chunk-4VASFLUW.js";
23
+ import "./chunk-2NXQCE4N.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-IVN46UST.js";
27
27
  import "./chunk-QKMBWYAS.js";
28
- import "./chunk-ESI6Q4OS.js";
28
+ import "./chunk-FD6EQLV7.js";
29
29
  import "./chunk-6JSJNYH2.js";
30
30
  import "./chunk-D7BAQNV2.js";
31
- import "./chunk-JRDAITPC.js";
31
+ import "./chunk-D75KPNMP.js";
32
32
 
33
33
  // packages/cleo/src/cli/commands/pivot.ts
34
34
  var pivotCommand = defineCommand({
@@ -85,4 +85,4 @@ var pivotCommand = defineCommand({
85
85
  export {
86
86
  pivotCommand
87
87
  };
88
- //# sourceMappingURL=pivot-LEBKDG22.js.map
88
+ //# sourceMappingURL=pivot-S6JDBRK4.js.map
@@ -15,17 +15,17 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-OIS3BDSL.js";
19
- import "./chunk-6N6WGLXE.js";
18
+ } from "./chunk-YNBEP6TJ.js";
20
19
  import "./chunk-4VASFLUW.js";
20
+ import "./chunk-2NXQCE4N.js";
21
21
  import {
22
22
  defineCommand
23
23
  } from "./chunk-IVN46UST.js";
24
24
  import "./chunk-QKMBWYAS.js";
25
- import "./chunk-ESI6Q4OS.js";
25
+ import "./chunk-FD6EQLV7.js";
26
26
  import "./chunk-6JSJNYH2.js";
27
27
  import "./chunk-D7BAQNV2.js";
28
- import "./chunk-JRDAITPC.js";
28
+ import "./chunk-D75KPNMP.js";
29
29
 
30
30
  // packages/cleo/src/cli/commands/plan.ts
31
31
  var planCommand = defineCommand({
@@ -46,4 +46,4 @@ var planCommand = defineCommand({
46
46
  export {
47
47
  planCommand
48
48
  };
49
- //# sourceMappingURL=plan-6VK5I4BT.js.map
49
+ //# sourceMappingURL=plan-AY6CF5VB.js.map
@@ -19,9 +19,9 @@ import {
19
19
  acquirePlaybookDb,
20
20
  listPendingApprovalsForDispatch,
21
21
  lookupApprovalByTokenForDispatch
22
- } from "./chunk-S2IS4DXJ.js";
22
+ } from "./chunk-VR6TPIRF.js";
23
23
  import "./chunk-JN552IFO.js";
24
- import "./chunk-QWNKLLLG.js";
24
+ import "./chunk-TM72T27J.js";
25
25
  import "./chunk-XD25OCUE.js";
26
26
  export {
27
27
  PlaybookHandler,
@@ -30,4 +30,4 @@ export {
30
30
  listPendingApprovalsForDispatch,
31
31
  lookupApprovalByTokenForDispatch
32
32
  };
33
- //# sourceMappingURL=playbook-YPGSNILZ.js.map
33
+ //# sourceMappingURL=playbook-JDDX5F3H.js.map
@@ -15,18 +15,18 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-OIS3BDSL.js";
19
- import "./chunk-6N6WGLXE.js";
18
+ } from "./chunk-YNBEP6TJ.js";
20
19
  import "./chunk-4VASFLUW.js";
20
+ import "./chunk-2NXQCE4N.js";
21
21
  import {
22
22
  defineCommand,
23
23
  showUsage
24
24
  } from "./chunk-IVN46UST.js";
25
25
  import "./chunk-QKMBWYAS.js";
26
- import "./chunk-ESI6Q4OS.js";
26
+ import "./chunk-FD6EQLV7.js";
27
27
  import "./chunk-6JSJNYH2.js";
28
28
  import "./chunk-D7BAQNV2.js";
29
- import "./chunk-JRDAITPC.js";
29
+ import "./chunk-D75KPNMP.js";
30
30
 
31
31
  // packages/cleo/src/cli/commands/playbook.ts
32
32
  var runCommand = defineCommand({
@@ -227,4 +227,4 @@ var playbookCommand = defineCommand({
227
227
  export {
228
228
  playbookCommand
229
229
  };
230
- //# sourceMappingURL=playbook-4GKDYZYW.js.map
230
+ //# sourceMappingURL=playbook-LJOLT6MX.js.map
@@ -20,7 +20,7 @@ import {
20
20
  nexusApiUrlArg,
21
21
  terminalSafe,
22
22
  writeNexusWarnings
23
- } from "./chunk-64OLQ6OH.js";
23
+ } from "./chunk-7VAYYOTQ.js";
24
24
  import "./chunk-47JYZAMS.js";
25
25
  import {
26
26
  defineCommand
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  cliError,
30
30
  cliOutput
31
- } from "./chunk-ESI6Q4OS.js";
31
+ } from "./chunk-FD6EQLV7.js";
32
32
  import {
33
33
  getFormatContext
34
34
  } from "./chunk-6JSJNYH2.js";
@@ -329,4 +329,4 @@ var projectCommand = defineCommand({
329
329
  export {
330
330
  projectCommand
331
331
  };
332
- //# sourceMappingURL=project-QJM7P2HG.js.map
332
+ //# sourceMappingURL=project-RCRORK6A.js.map
@@ -109,7 +109,7 @@ async function runProjectHookCli(argv, io = processIo()) {
109
109
  }
110
110
  }
111
111
  async function checkProjectHookCli(id, source, cwd, inputFile, candidate) {
112
- const { cliOutput, cliError } = await import("./renderers-37XPXD3K.js");
112
+ const { cliOutput, cliError } = await import("./renderers-AMSXAXLY.js");
113
113
  try {
114
114
  const { resolveProjectHookContext } = await import("@cleocode/core/hooks/project-state");
115
115
  const context = resolveProjectHookContext(cwd);
@@ -15,17 +15,17 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-OIS3BDSL.js";
19
- import "./chunk-6N6WGLXE.js";
18
+ } from "./chunk-YNBEP6TJ.js";
20
19
  import "./chunk-4VASFLUW.js";
20
+ import "./chunk-2NXQCE4N.js";
21
21
  import {
22
22
  defineCommand
23
23
  } from "./chunk-IVN46UST.js";
24
24
  import "./chunk-QKMBWYAS.js";
25
- import "./chunk-ESI6Q4OS.js";
25
+ import "./chunk-FD6EQLV7.js";
26
26
  import "./chunk-6JSJNYH2.js";
27
27
  import "./chunk-D7BAQNV2.js";
28
- import "./chunk-JRDAITPC.js";
28
+ import "./chunk-D75KPNMP.js";
29
29
 
30
30
  // packages/cleo/src/cli/commands/promote.ts
31
31
  var promoteCommand = defineCommand({
@@ -50,4 +50,4 @@ var promoteCommand = defineCommand({
50
50
  export {
51
51
  promoteCommand
52
52
  };
53
- //# sourceMappingURL=promote-4V4ZLAL3.js.map
53
+ //# sourceMappingURL=promote-YAFPAZEH.js.map