@cleocode/cleo 2026.11.1-canary.6 → 2026.11.1-canary.7

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 (203) hide show
  1. package/dist/.source-stamp.json +1 -1
  2. package/dist/cli/{adapter-AAV6DQAU.js → adapter-ZOOB5CZG.js} +3 -3
  3. package/dist/cli/{add-4A7NEPOT.js → add-C3DLUUIU.js} +3 -3
  4. package/dist/cli/{add-batch-PAFSKHP6.js → add-batch-UFIKHAW5.js} +3 -3
  5. package/dist/cli/{admin-22CR6TJQ.js → admin-LIQHGIOG.js} +3 -3
  6. package/dist/cli/{admin-6YIR23XG.js → admin-PXU5J2VQ.js} +3 -3
  7. package/dist/cli/{adr-NQZPOOVK.js → adr-K7LB7YMG.js} +3 -3
  8. package/dist/cli/{analyze-F3QZ5UU4.js → analyze-KVZVQBIH.js} +3 -3
  9. package/dist/cli/{archive-2IPS2LRK.js → archive-G2SH5I2O.js} +3 -3
  10. package/dist/cli/{archive-stats-UQA2MK37.js → archive-stats-CO7ZUN5T.js} +3 -3
  11. package/dist/cli/{attention-D4Z4U67V.js → attention-U6WMFTGI.js} +3 -3
  12. package/dist/cli/{backup-QHWBRY5N.js → backup-FX5CKWOQ.js} +31 -3
  13. package/dist/cli/{blockers-L5LZQIVV.js → blockers-52X3RD7U.js} +3 -3
  14. package/dist/cli/{briefing-PJA35NQI.js → briefing-SX35UC4D.js} +3 -3
  15. package/dist/cli/{cancel-EZVNKQ5R.js → cancel-UA5FV76M.js} +14 -4
  16. package/dist/cli/{check-NFBULBE5.js → check-WLBL76VA.js} +13 -5
  17. package/dist/cli/{check-GJIZJQON.js → check-X7CKPTJD.js} +21 -3
  18. package/dist/cli/{chunk-TVNXFYOJ.js → chunk-7L47UQJ6.js} +3 -3
  19. package/dist/cli/{chunk-FMEF3JU7.js → chunk-A35TN6R2.js} +2 -2
  20. package/dist/cli/{chunk-MLUCI3JC.js → chunk-CZ2VQUXN.js} +14 -5
  21. package/dist/cli/{chunk-6WPQM7YS.js → chunk-QL3A56SV.js} +13 -13
  22. package/dist/cli/{chunk-SHRGWWE2.js → chunk-T4RGA7BP.js} +11 -4
  23. package/dist/cli/{chunk-QAZEWH7Z.js → chunk-YJE7RSNU.js} +3 -3
  24. package/dist/cli/{chunk-QPROUKS6.js → chunk-YOZKQEGA.js} +18 -6
  25. package/dist/cli/{claim-C7TGIEWG.js → claim-JFN6CZ4L.js} +3 -3
  26. package/dist/cli/{cli-E7S4RFPU.js → cli-FTOVE3YE.js} +3 -3
  27. package/dist/cli/{complete-K62RPQAS.js → complete-2SZ6GDH6.js} +4 -4
  28. package/dist/cli/{complexity-NZD4UWZL.js → complexity-H6TPEXGO.js} +3 -3
  29. package/dist/cli/{compliance-CR5IOY5Z.js → compliance-NS7TRVEC.js} +3 -3
  30. package/dist/cli/{conduit-WA7K7XO2.js → conduit-4RXPJCPS.js} +3 -3
  31. package/dist/cli/{config-OOLYGNEY.js → config-XCASTOJV.js} +3 -3
  32. package/dist/cli/{consensus-DS2H4TB4.js → consensus-B4R5J4S5.js} +3 -3
  33. package/dist/cli/{context-NAS5HWDZ.js → context-W7QYRG6C.js} +3 -3
  34. package/dist/cli/{contribution-XLF33K3E.js → contribution-V2FVTXOH.js} +3 -3
  35. package/dist/cli/{current-MIM4RYTJ.js → current-QNR7PI5F.js} +3 -3
  36. package/dist/cli/{daemon-UKKX4GTA.js → daemon-GXC3MGPA.js} +3 -3
  37. package/dist/cli/{dash-ZBJLVGDM.js → dash-2APX7LUW.js} +3 -3
  38. package/dist/cli/{decompose-OZR4EBBP.js → decompose-QA7HUOIN.js} +3 -3
  39. package/dist/cli/{decomposition-RP43BMRK.js → decomposition-FK34VKXD.js} +3 -3
  40. package/dist/cli/{delete-A3KJF2GQ.js → delete-R6WDBUAO.js} +3 -3
  41. package/dist/cli/{deps-H7BHD32B.js → deps-ELEEXHP6.js} +3 -3
  42. package/dist/cli/{detect-LRLBFXYN.js → detect-RHT6YLO2.js} +3 -3
  43. package/dist/cli/{diagnostics-HAPUMAHG.js → diagnostics-WWXU37S4.js} +3 -3
  44. package/dist/cli/{docs-3FQJQD6W.js → docs-XWISXBXI.js} +23 -9
  45. package/dist/cli/{docs-AJ5QSOG7.js → docs-ZST5BT6G.js} +57 -13
  46. package/dist/cli/{doctor-PM6F5756.js → doctor-TWS56H47.js} +7 -7
  47. package/dist/cli/{doctor-credentials-TBRT7RAV.js → doctor-credentials-MOZJJKDS.js} +2 -2
  48. package/dist/cli/{doctor-global-delivery-FICIWVP6.js → doctor-global-delivery-ARMJJCHF.js} +2 -2
  49. package/dist/cli/{doctor-malformed-ids-LZNVED2E.js → doctor-malformed-ids-UZSYICAW.js} +2 -2
  50. package/dist/cli/{doctor-tool-locks-HFRNR2ZV.js → doctor-tool-locks-ZX3YG6KF.js} +2 -2
  51. package/dist/cli/{done-DZWXYBBD.js → done-APWOGIYY.js} +20 -5
  52. package/dist/cli/{export-PTZKUA6D.js → export-6P4XC5N4.js} +3 -3
  53. package/dist/cli/{export-tasks-BCN6AMAV.js → export-tasks-TMCV32D6.js} +3 -3
  54. package/dist/cli/{find-NXEZUJWG.js → find-VAKZBSVH.js} +3 -3
  55. package/dist/cli/{focus-7PEIXOOZ.js → focus-DZ63CET5.js} +3 -3
  56. package/dist/cli/{gc-KG3D2PSR.js → gc-2PWPSXMP.js} +2 -2
  57. package/dist/cli/{goal-4KX3RA5G.js → goal-KYCYONZI.js} +2 -2
  58. package/dist/cli/{grade-WA4TP3R7.js → grade-KUXQXZVH.js} +3 -3
  59. package/dist/cli/{graph-CWGC5GJS.js → graph-N3L7A7MD.js} +3 -3
  60. package/dist/cli/{history-YECACNI6.js → history-OSLNYTD4.js} +3 -3
  61. package/dist/cli/{hook-GS5ZZX46.js → hook-6MWRBBYO.js} +1 -1
  62. package/dist/cli/hook-entry.js +105 -7
  63. package/dist/cli/hygiene-OPWFNSHV.js +113 -0
  64. package/dist/cli/{import-72M3BCLP.js → import-3GYELGMO.js} +3 -3
  65. package/dist/cli/{import-tasks-X635GEIJ.js → import-tasks-VI3X2HMO.js} +3 -3
  66. package/dist/cli/index.js +129 -110
  67. package/dist/cli/{inject-PPABFMDU.js → inject-6ZJ44JQI.js} +3 -3
  68. package/dist/cli/{intelligence-6DGWSDTO.js → intelligence-RBT7EKJ6.js} +3 -3
  69. package/dist/cli/{issue-SKSBPH7L.js → issue-3RB2ODCS.js} +3 -3
  70. package/dist/cli/{labels-DO6ZSAUS.js → labels-W5QCLGCC.js} +3 -3
  71. package/dist/cli/{lifecycle-W3HIHLJ6.js → lifecycle-DLT3LCHN.js} +3 -3
  72. package/dist/cli/{list-FZ6QJBM2.js → list-3FIWEOLO.js} +3 -3
  73. package/dist/cli/{llm-4VSQ25ST.js → llm-PEB646OW.js} +3 -3
  74. package/dist/cli/{log-P2FN2Z5L.js → log-CXP4IBMW.js} +3 -3
  75. package/dist/cli/{manifest-NX34VCHT.js → manifest-54TV6LJP.js} +3 -3
  76. package/dist/cli/{map-HUSWSUFI.js → map-T37QZCRA.js} +3 -3
  77. package/dist/cli/{memory-ULDZHGNY.js → memory-COC4SHLE.js} +4 -3
  78. package/dist/cli/{memory-GQ7TLTAZ.js → memory-HUVH3XPO.js} +36 -10
  79. package/dist/cli/merge-QJO3EUTI.js +65 -0
  80. package/dist/cli/{migrate-claude-mem-XXDJIBLC.js → migrate-claude-mem-HMR57YUU.js} +3 -3
  81. package/dist/cli/{next-RATUDICY.js → next-BABQLLQ4.js} +3 -3
  82. package/dist/cli/{nexus-HQTVW5QU.js → nexus-UB5LHSKQ.js} +2 -2
  83. package/dist/cli/{nexus-Q6DSX5VQ.js → nexus-YUDQAZL5.js} +51 -3
  84. package/dist/cli/{ops-IEYKZ4LS.js → ops-XUKCTPXA.js} +3 -3
  85. package/dist/cli/{orchestrate-T44CHZ37.js → orchestrate-37G7JSMX.js} +41 -282
  86. package/dist/cli/{orchestrate-L5J3HQ5J.js → orchestrate-I5OJ4A64.js} +24 -50
  87. package/dist/cli/{phase-PPJLQXCC.js → phase-66G3Y56A.js} +3 -3
  88. package/dist/cli/{pipeline-VZSLFYVK.js → pipeline-C7HZA3SK.js} +2 -2
  89. package/dist/cli/{pivot-JWHAFYIZ.js → pivot-CCD3YX2N.js} +3 -3
  90. package/dist/cli/{plan-V34NXHJU.js → plan-BHKHOHRE.js} +3 -3
  91. package/dist/cli/{playbook-3LCXDB62.js → playbook-VABE5MXB.js} +3 -3
  92. package/dist/cli/{promote-K5BZDX7K.js → promote-BPIQGOS7.js} +3 -3
  93. package/dist/cli/{provenance-KJZJCAEY.js → provenance-GMSE4DK2.js} +3 -3
  94. package/dist/cli/{provider-UFYZ4MNP.js → provider-VQEN3LS6.js} +3 -3
  95. package/dist/cli/{reason-IMX64T4F.js → reason-KW2P7SCT.js} +3 -3
  96. package/dist/cli/{reconcile-23LEERE6.js → reconcile-Z7NNLLE6.js} +3 -3
  97. package/dist/cli/{relates-BTQPLKJ7.js → relates-JUCKHYOZ.js} +3 -3
  98. package/dist/cli/{release-3EI5M3O2.js → release-3EKEC5JH.js} +3 -3
  99. package/dist/cli/{release-HPEGXNXU.js → release-EI72GMAM.js} +4 -98
  100. package/dist/cli/{reorder-ZHJH27D6.js → reorder-JQZHOUYP.js} +3 -3
  101. package/dist/cli/{reparent-O3CQZAJC.js → reparent-4426FVI2.js} +3 -3
  102. package/dist/cli/{req-QVS76TRB.js → req-C55ZKZC4.js} +3 -3
  103. package/dist/cli/{research-VNW2JZWB.js → research-E6QDXXK4.js} +3 -3
  104. package/dist/cli/{restore-HZAO6HYH.js → restore-2TU55YPY.js} +9 -3
  105. package/dist/cli/{roadmap-MUGCUS52.js → roadmap-B3AXWXDM.js} +3 -3
  106. package/dist/cli/{run-SUK5J7SL.js → run-B2ES25NT.js} +15 -2
  107. package/dist/cli/{safestop-G7RYATZL.js → safestop-XSWWY733.js} +3 -3
  108. package/dist/cli/{saga-AKNF6JAQ.js → saga-OARD4XDG.js} +3 -3
  109. package/dist/cli/{selfimprove-H3Y6URQY.js → selfimprove-OEIKYOPU.js} +2 -2
  110. package/dist/cli/{selfimprove-KR6KM2PE.js → selfimprove-PBCI4LYX.js} +3 -3
  111. package/dist/cli/{sequence-JFUYMBAN.js → sequence-BLW3B7LA.js} +3 -3
  112. package/dist/cli/{service-WYGTJO2O.js → service-4EA6BQJ2.js} +3 -3
  113. package/dist/cli/{session-YVICOBPV.js → session-EFKW2DC5.js} +3 -3
  114. package/dist/cli/{session-A24655SW.js → session-M6XJCWKY.js} +2 -2
  115. package/dist/cli/{show-OLC2AYCD.js → show-IRQNCDYW.js} +3 -4
  116. package/dist/cli/{skills-A4L4APYL.js → skills-2HNWSC53.js} +3 -3
  117. package/dist/cli/{snapshot-Q2UBBYOO.js → snapshot-SPTQY5PQ.js} +3 -3
  118. package/dist/cli/{start-YAA2UQYX.js → start-F5HRNJTK.js} +3 -3
  119. package/dist/cli/{stats-FBWZQB3D.js → stats-YMI3PCP5.js} +3 -3
  120. package/dist/cli/{sticky-QPCSRBB3.js → sticky-A5CLHH64.js} +3 -3
  121. package/dist/cli/{stop-JW2I74BF.js → stop-2HIWA6DM.js} +3 -3
  122. package/dist/cli/{sync-7LWWEHRL.js → sync-6PDFUI7Z.js} +3 -3
  123. package/dist/cli/{tasks-MFC2GHGN.js → tasks-BMP265WV.js} +3 -3
  124. package/dist/cli/{tasks-6BTDR547.js → tasks-MDCK5T4C.js} +5 -3
  125. package/dist/cli/{testing-I5UGZLFZ.js → testing-EHD6VTJJ.js} +3 -3
  126. package/dist/cli/{token-CIYGRU45.js → token-UWASDTA4.js} +3 -3
  127. package/dist/cli/{update-W4KPQUNB.js → update-S5SI7NY7.js} +3 -3
  128. package/dist/cli/{verify-D3HHKIE7.js → verify-KRLDXTWJ.js} +3 -3
  129. package/dist/cli/{worktree-2UEPNBJC.js → worktree-3B5JR6N7.js} +4 -5
  130. package/dist/cli/{worktree-OOZGBZFU.js → worktree-NCTYSTWN.js} +10 -12
  131. package/package.json +13 -13
  132. package/studio-dist/client/_app/immutable/chunks/BFlN9kly.js +1 -0
  133. package/studio-dist/client/_app/immutable/chunks/{C87Q3uxm.js → Bb5_AOYB.js} +1 -1
  134. package/studio-dist/client/_app/immutable/chunks/{BloYpGto.js → Cdw7isJh.js} +1 -1
  135. package/studio-dist/client/_app/immutable/chunks/{2o7LSZuU.js → DCD3_2hh.js} +1 -1
  136. package/studio-dist/client/_app/immutable/chunks/{CHtiR-s7.js → Dq_iRHPr.js} +1 -1
  137. package/studio-dist/client/_app/immutable/chunks/{EZwHPWle.js → h4IOtB0S.js} +1 -1
  138. package/studio-dist/client/_app/immutable/entry/{app.DivmTNAJ.js → app.jraauIrX.js} +2 -2
  139. package/studio-dist/client/_app/immutable/entry/start.BtAJ3--b.js +1 -0
  140. package/studio-dist/client/_app/immutable/nodes/{0.wvml4rLl.js → 0.DC_3yEx3.js} +1 -1
  141. package/studio-dist/client/_app/immutable/nodes/{1.EVG12olH.js → 1.BSJAHrke.js} +1 -1
  142. package/studio-dist/client/_app/immutable/nodes/{15.E0YnVJaV.js → 15.r8Kh066S.js} +1 -1
  143. package/studio-dist/client/_app/immutable/nodes/{16.BOZmFL6K.js → 16.PRM-fhEG.js} +1 -1
  144. package/studio-dist/client/_app/immutable/nodes/{17.D8L_0bsN.js → 17.DhbVCCa7.js} +1 -1
  145. package/studio-dist/client/_app/immutable/nodes/{18.Bnfxe2wc.js → 18.cc2C52LX.js} +1 -1
  146. package/studio-dist/client/_app/immutable/nodes/{20.Bpqtl9cF.js → 20.Drkr3Itp.js} +1 -1
  147. package/studio-dist/client/_app/immutable/nodes/{24.BsgbsglJ.js → 24.El-rBuTq.js} +1 -1
  148. package/studio-dist/client/_app/immutable/nodes/{25.jbmj7o6b.js → 25.DSrAlldD.js} +2 -2
  149. package/studio-dist/client/_app/immutable/nodes/{26.JVTf0tfn.js → 26.F8A-LIfp.js} +1 -1
  150. package/studio-dist/client/_app/immutable/nodes/{28.D64RBcfs.js → 28.B9m_UNTl.js} +1 -1
  151. package/studio-dist/client/_app/immutable/nodes/{29.yfuBeH1x.js → 29.BLFaoK4P.js} +1 -1
  152. package/studio-dist/client/_app/immutable/nodes/{3.BjNZH8co.js → 3.YazGRfFa.js} +1 -1
  153. package/studio-dist/client/_app/version.json +1 -1
  154. package/studio-dist/server/chunks/{0-Cuk-TL-b.js → 0-CzSGdY50.js} +3 -3
  155. package/studio-dist/server/chunks/1-HevnNS4O.js +9 -0
  156. package/studio-dist/server/chunks/{15-DQpKg3Ok.js → 15-DUNe93rP.js} +3 -3
  157. package/studio-dist/server/chunks/{16-CYnV8axc.js → 16-C9IncDby.js} +3 -3
  158. package/studio-dist/server/chunks/{17-DMicwW9n.js → 17-BkQYRjZH.js} +3 -3
  159. package/studio-dist/server/chunks/{18-MEAI_i7T.js → 18-CGlr9rRK.js} +3 -3
  160. package/studio-dist/server/chunks/{2-DQaIET_o.js → 2-q7c9jKfs.js} +6 -6
  161. package/studio-dist/server/chunks/{20-0ZZSOxUI.js → 20-BDxM1OMN.js} +3 -3
  162. package/studio-dist/server/chunks/{23-D194DGVi.js → 23-DEuC4HS6.js} +3 -2
  163. package/studio-dist/server/chunks/{24-CKqwPcWt.js → 24-D8YeZa3s.js} +5 -4
  164. package/studio-dist/server/chunks/{25-DAZLRd-e.js → 25-o0RaL9a5.js} +64 -33
  165. package/studio-dist/server/chunks/{26-DhZQByE_.js → 26-COgiXn-K.js} +15 -14
  166. package/studio-dist/server/chunks/{28-dkMBZdA6.js → 28-CiVv4jji.js} +3 -3
  167. package/studio-dist/server/chunks/{29-C40lVITh.js → 29-CHrYKy9L.js} +5 -4
  168. package/studio-dist/server/chunks/{3-DcIAXQjo.js → 3-CU3Ygho0.js} +4 -4
  169. package/studio-dist/server/chunks/30-CZYg7-qi.js +94 -0
  170. package/studio-dist/server/chunks/{_layout.svelte-9oybkbgg.js → _layout.svelte-BSfgiLXO.js} +4 -4
  171. package/studio-dist/server/chunks/{_page.svelte-dryIo85I.js → _page.svelte-B20I3N4G.js} +3 -3
  172. package/studio-dist/server/chunks/{_page.svelte-Db0GFPEo.js → _page.svelte-B4htvquZ.js} +3 -3
  173. package/studio-dist/server/chunks/{_page.svelte-C3EMbhxU.js → _page.svelte-BDkeNWYm.js} +3 -3
  174. package/studio-dist/server/chunks/{_page.svelte-DCY22SzZ.js → _page.svelte-BP1mRAz-.js} +3 -3
  175. package/studio-dist/server/chunks/{_page.svelte-n6guDEx4.js → _page.svelte-Bazc0M-R.js} +2 -2
  176. package/studio-dist/server/chunks/{_page.svelte-DSJuxCUJ.js → _page.svelte-Bh2Fv1sW.js} +8 -7
  177. package/studio-dist/server/chunks/{_page.svelte-CnJOHsjl.js → _page.svelte-C0PTtRPZ.js} +3 -3
  178. package/studio-dist/server/chunks/{_page.svelte-5Y7JHPf5.js → _page.svelte-COhVPs5T.js} +4 -4
  179. package/studio-dist/server/chunks/{_page.svelte-D6DSccZn.js → _page.svelte-aERskOxf.js} +3 -3
  180. package/studio-dist/server/chunks/{_page.svelte-DOW2GRrF.js → _page.svelte-m1KdSrzj.js} +3 -3
  181. package/studio-dist/server/chunks/{_server.ts-B5vYKkI6.js → _server.ts--7OuOtTn.js} +1 -2
  182. package/studio-dist/server/chunks/{_server.ts-ArfXqxVI.js → _server.ts-0MRunVEp.js} +3 -3
  183. package/studio-dist/server/chunks/{_server.ts-q3mfJkGv.js → _server.ts-9mLJy3wP.js} +3 -3
  184. package/studio-dist/server/chunks/{_server.ts-CEd6PKOk.js → _server.ts-C4nmivCa.js} +4 -4
  185. package/studio-dist/server/chunks/{_server.ts-DqRrtk9k.js → _server.ts-C_2-lCv8.js} +5 -4
  186. package/studio-dist/server/chunks/{_server.ts-XLV5SvjH.js → _server.ts-NPYD7LXS.js} +2 -2
  187. package/studio-dist/server/chunks/{_server.ts-C6QEdDeh.js → _server.ts-SMSKPzqh.js} +10 -8
  188. package/studio-dist/server/chunks/{_server.ts-BwgEb_rZ.js → _server.ts-txftl08V.js} +2 -2
  189. package/studio-dist/server/chunks/{client-BindkDtF.js → client-DB0HTghX.js} +2 -2
  190. package/studio-dist/server/chunks/{error.svelte-BWMgndgY.js → error.svelte-SA5uoJaS.js} +3 -3
  191. package/studio-dist/server/chunks/{explorer-loader-CP09K03H.js → explorer-loader-fHkiu8Z4.js} +8 -6
  192. package/studio-dist/server/chunks/{http-h9tI-dnK.js → http-B92xC6l1.js} +2 -2
  193. package/studio-dist/server/chunks/{internal-D0QsYgSd.js → internal-Ck8VXn-C.js} +2 -2
  194. package/studio-dist/server/chunks/{lane-transition-lM2ngbbc.js → lane-transition-tca216Ny.js} +10 -3
  195. package/studio-dist/server/chunks/{operations-registry-BlLCK05v.js → operations-registry-BHSnoXx2.js} +13 -186
  196. package/studio-dist/server/chunks/{stores-Bav6Ut_U.js → stores-AxJDB6KN.js} +2 -2
  197. package/studio-dist/server/index.js +1 -1
  198. package/studio-dist/server/manifest.js +25 -25
  199. package/dist/cli/hygiene-QVIG57RZ.js +0 -55
  200. package/studio-dist/client/_app/immutable/chunks/WM5w5JSa.js +0 -1
  201. package/studio-dist/client/_app/immutable/entry/start.nX0_-60n.js +0 -1
  202. package/studio-dist/server/chunks/1-DWX7bz0i.js +0 -9
  203. package/studio-dist/server/chunks/30-BHsj4oeh.js +0 -105
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "schema": 2,
3
- "sourceHash": "62330ec040fd895b9360e41c8df17c0103a334c04cee1f236e2a91583e49363b"
3
+ "sourceHash": "f726c3cd1265f58d99a1dd33b581255040176c4c498448827752cd742f0a50f4"
4
4
  }
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-YY66LFZF.js";
19
19
  import {
20
20
  dispatchFromCli
21
- } from "./chunk-QPROUKS6.js";
21
+ } from "./chunk-YOZKQEGA.js";
22
22
  import "./chunk-4VASFLUW.js";
23
23
  import "./chunk-2NXQCE4N.js";
24
24
  import {
@@ -28,7 +28,7 @@ import "./chunk-QKMBWYAS.js";
28
28
  import "./chunk-ESI6Q4OS.js";
29
29
  import "./chunk-6JSJNYH2.js";
30
30
  import "./chunk-D7BAQNV2.js";
31
- import "./chunk-6WPQM7YS.js";
31
+ import "./chunk-QL3A56SV.js";
32
32
 
33
33
  // packages/cleo/src/cli/commands/adapter.ts
34
34
  var listCommand = defineCommand({
@@ -156,4 +156,4 @@ var adapterCommand = defineCommand({
156
156
  export {
157
157
  adapterCommand
158
158
  };
159
- //# sourceMappingURL=adapter-AAV6DQAU.js.map
159
+ //# sourceMappingURL=adapter-ZOOB5CZG.js.map
@@ -20,7 +20,7 @@ import {
20
20
  dispatchRaw,
21
21
  handleRawError,
22
22
  maybeEmitDescribe
23
- } from "./chunk-QPROUKS6.js";
23
+ } from "./chunk-YOZKQEGA.js";
24
24
  import "./chunk-4VASFLUW.js";
25
25
  import "./chunk-2NXQCE4N.js";
26
26
  import {
@@ -36,7 +36,7 @@ import {
36
36
  } from "./chunk-ESI6Q4OS.js";
37
37
  import "./chunk-6JSJNYH2.js";
38
38
  import "./chunk-D7BAQNV2.js";
39
- import "./chunk-6WPQM7YS.js";
39
+ import "./chunk-QL3A56SV.js";
40
40
 
41
41
  // packages/cleo/src/cli/commands/add.ts
42
42
  import { TASK_SEVERITIES } from "@cleocode/contracts/enums.js";
@@ -440,4 +440,4 @@ For 2+ tasks at once: cleo add-batch --file tasks.json (single transaction, atom
440
440
  export {
441
441
  addCommand
442
442
  };
443
- //# sourceMappingURL=add-4A7NEPOT.js.map
443
+ //# sourceMappingURL=add-C3DLUUIU.js.map
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  dispatchRaw,
21
21
  maybeEmitDescribe
22
- } from "./chunk-QPROUKS6.js";
22
+ } from "./chunk-YOZKQEGA.js";
23
23
  import "./chunk-4VASFLUW.js";
24
24
  import "./chunk-2NXQCE4N.js";
25
25
  import {
@@ -32,7 +32,7 @@ import {
32
32
  } from "./chunk-ESI6Q4OS.js";
33
33
  import "./chunk-6JSJNYH2.js";
34
34
  import "./chunk-D7BAQNV2.js";
35
- import "./chunk-6WPQM7YS.js";
35
+ import "./chunk-QL3A56SV.js";
36
36
 
37
37
  // packages/cleo/src/cli/commands/add-batch.ts
38
38
  import { ExitCode } from "@cleocode/contracts/exit-codes.js";
@@ -161,4 +161,4 @@ var addBatchCommand = defineCommand({
161
161
  export {
162
162
  addBatchCommand
163
163
  };
164
- //# sourceMappingURL=add-batch-PAFSKHP6.js.map
164
+ //# sourceMappingURL=add-batch-UFIKHAW5.js.map
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-4VASFLUW.js";
19
19
  import {
20
20
  lazyOperation
21
- } from "./chunk-6WPQM7YS.js";
21
+ } from "./chunk-QL3A56SV.js";
22
22
  import {
23
23
  defineTypedHandler,
24
24
  lafsError,
@@ -195,7 +195,7 @@ var SMOKE_PROBES = [
195
195
  { domain: "adapter", operation: "list" }
196
196
  ];
197
197
  async function runSystemSmoke() {
198
- const { dispatchRaw } = await import("./cli-E7S4RFPU.js");
198
+ const { dispatchRaw } = await import("./cli-FTOVE3YE.js");
199
199
  const totalStart = Date.now();
200
200
  const probes = [];
201
201
  for (const probe of SMOKE_PROBES) {
@@ -1466,4 +1466,4 @@ var AdminHandler = class {
1466
1466
  export {
1467
1467
  AdminHandler
1468
1468
  };
1469
- //# sourceMappingURL=admin-22CR6TJQ.js.map
1469
+ //# sourceMappingURL=admin-LIQHGIOG.js.map
@@ -15,7 +15,7 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-QPROUKS6.js";
18
+ } from "./chunk-YOZKQEGA.js";
19
19
  import "./chunk-4VASFLUW.js";
20
20
  import "./chunk-2NXQCE4N.js";
21
21
  import {
@@ -28,7 +28,7 @@ import {
28
28
  } from "./chunk-ESI6Q4OS.js";
29
29
  import "./chunk-6JSJNYH2.js";
30
30
  import "./chunk-D7BAQNV2.js";
31
- import "./chunk-6WPQM7YS.js";
31
+ import "./chunk-QL3A56SV.js";
32
32
 
33
33
  // packages/cleo/src/cli/commands/admin.ts
34
34
  import { pushWarning } from "@cleocode/core/output";
@@ -349,4 +349,4 @@ var adminCommand = defineCommand({
349
349
  export {
350
350
  adminCommand
351
351
  };
352
- //# sourceMappingURL=admin-6YIR23XG.js.map
352
+ //# sourceMappingURL=admin-PXU5J2VQ.js.map
@@ -15,7 +15,7 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-QPROUKS6.js";
18
+ } from "./chunk-YOZKQEGA.js";
19
19
  import "./chunk-4VASFLUW.js";
20
20
  import "./chunk-2NXQCE4N.js";
21
21
  import {
@@ -26,7 +26,7 @@ import "./chunk-QKMBWYAS.js";
26
26
  import "./chunk-ESI6Q4OS.js";
27
27
  import "./chunk-6JSJNYH2.js";
28
28
  import "./chunk-D7BAQNV2.js";
29
- import "./chunk-6WPQM7YS.js";
29
+ import "./chunk-QL3A56SV.js";
30
30
 
31
31
  // packages/cleo/src/cli/commands/adr.ts
32
32
  var validateCommand = defineCommand({
@@ -169,4 +169,4 @@ var adrCommand = defineCommand({
169
169
  export {
170
170
  adrCommand
171
171
  };
172
- //# sourceMappingURL=adr-NQZPOOVK.js.map
172
+ //# sourceMappingURL=adr-K7LB7YMG.js.map
@@ -15,7 +15,7 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-QPROUKS6.js";
18
+ } from "./chunk-YOZKQEGA.js";
19
19
  import "./chunk-4VASFLUW.js";
20
20
  import "./chunk-2NXQCE4N.js";
21
21
  import {
@@ -25,7 +25,7 @@ import "./chunk-QKMBWYAS.js";
25
25
  import "./chunk-ESI6Q4OS.js";
26
26
  import "./chunk-6JSJNYH2.js";
27
27
  import "./chunk-D7BAQNV2.js";
28
- import "./chunk-6WPQM7YS.js";
28
+ import "./chunk-QL3A56SV.js";
29
29
 
30
30
  // packages/cleo/src/cli/commands/analyze.ts
31
31
  var analyzeCommand = defineCommand({
@@ -46,4 +46,4 @@ var analyzeCommand = defineCommand({
46
46
  export {
47
47
  analyzeCommand
48
48
  };
49
- //# sourceMappingURL=analyze-F3QZ5UU4.js.map
49
+ //# sourceMappingURL=analyze-KVZVQBIH.js.map
@@ -15,7 +15,7 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-QPROUKS6.js";
18
+ } from "./chunk-YOZKQEGA.js";
19
19
  import "./chunk-4VASFLUW.js";
20
20
  import "./chunk-2NXQCE4N.js";
21
21
  import {
@@ -25,7 +25,7 @@ import "./chunk-QKMBWYAS.js";
25
25
  import "./chunk-ESI6Q4OS.js";
26
26
  import "./chunk-6JSJNYH2.js";
27
27
  import "./chunk-D7BAQNV2.js";
28
- import "./chunk-6WPQM7YS.js";
28
+ import "./chunk-QL3A56SV.js";
29
29
 
30
30
  // packages/cleo/src/cli/commands/archive.ts
31
31
  var archiveCommand = defineCommand({
@@ -62,4 +62,4 @@ var archiveCommand = defineCommand({
62
62
  export {
63
63
  archiveCommand
64
64
  };
65
- //# sourceMappingURL=archive-2IPS2LRK.js.map
65
+ //# sourceMappingURL=archive-G2SH5I2O.js.map
@@ -15,7 +15,7 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-QPROUKS6.js";
18
+ } from "./chunk-YOZKQEGA.js";
19
19
  import "./chunk-4VASFLUW.js";
20
20
  import "./chunk-2NXQCE4N.js";
21
21
  import {
@@ -25,7 +25,7 @@ import "./chunk-QKMBWYAS.js";
25
25
  import "./chunk-ESI6Q4OS.js";
26
26
  import "./chunk-6JSJNYH2.js";
27
27
  import "./chunk-D7BAQNV2.js";
28
- import "./chunk-6WPQM7YS.js";
28
+ import "./chunk-QL3A56SV.js";
29
29
 
30
30
  // packages/cleo/src/cli/commands/archive-stats.ts
31
31
  import { analyzeArchive } from "@cleocode/core/internal";
@@ -98,4 +98,4 @@ export {
98
98
  archiveStatsCommand,
99
99
  analyzeArchive as getArchiveStats
100
100
  };
101
- //# sourceMappingURL=archive-stats-UQA2MK37.js.map
101
+ //# sourceMappingURL=archive-stats-CO7ZUN5T.js.map
@@ -18,7 +18,7 @@ import {
18
18
  dispatchFromCli,
19
19
  dispatchRaw,
20
20
  handleRawError
21
- } from "./chunk-QPROUKS6.js";
21
+ } from "./chunk-YOZKQEGA.js";
22
22
  import "./chunk-4VASFLUW.js";
23
23
  import "./chunk-2NXQCE4N.js";
24
24
  import {
@@ -32,7 +32,7 @@ import {
32
32
  } from "./chunk-ESI6Q4OS.js";
33
33
  import "./chunk-6JSJNYH2.js";
34
34
  import "./chunk-D7BAQNV2.js";
35
- import "./chunk-6WPQM7YS.js";
35
+ import "./chunk-QL3A56SV.js";
36
36
 
37
37
  // packages/cleo/src/cli/commands/attention.ts
38
38
  import { ExitCode } from "@cleocode/contracts/exit-codes.js";
@@ -165,4 +165,4 @@ var attentionCommand = defineCommand({
165
165
  export {
166
166
  attentionCommand
167
167
  };
168
- //# sourceMappingURL=attention-D4Z4U67V.js.map
168
+ //# sourceMappingURL=attention-U6WMFTGI.js.map
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-YY66LFZF.js";
27
27
  import {
28
28
  dispatchFromCli
29
- } from "./chunk-QPROUKS6.js";
29
+ } from "./chunk-YOZKQEGA.js";
30
30
  import "./chunk-4VASFLUW.js";
31
31
  import {
32
32
  CLEO_DIR_NAME,
@@ -48,7 +48,7 @@ import {
48
48
  } from "./chunk-ESI6Q4OS.js";
49
49
  import "./chunk-6JSJNYH2.js";
50
50
  import "./chunk-D7BAQNV2.js";
51
- import "./chunk-6WPQM7YS.js";
51
+ import "./chunk-QL3A56SV.js";
52
52
 
53
53
  // packages/cleo/src/cli/commands/backup.ts
54
54
  import crypto from "node:crypto";
@@ -183,9 +183,37 @@ var listCommand = defineCommand({
183
183
  type: "string",
184
184
  description: "Filter by backup scope: project, global, or all (default: all)",
185
185
  default: "all"
186
+ },
187
+ rotation: {
188
+ type: "boolean",
189
+ description: "Preview the backup byte cap: every snapshot set it would remove, with its covering snapshot per store role. Read-only (T14278)",
190
+ default: false
186
191
  }
187
192
  },
188
193
  async run({ args }) {
194
+ if (args.rotation === true) {
195
+ const [{ getProjectRoot: getProjectRoot2 }, { resolveStoreCleoDir }, { applyBackupByteCap }] = await Promise.all([
196
+ import("@cleocode/core/project-scope"),
197
+ import("@cleocode/core/paths.js"),
198
+ import("@cleocode/core/store/backup-sidecar")
199
+ ]);
200
+ const backupDir = path.join(resolveStoreCleoDir(getProjectRoot2()), "backups", "sqlite");
201
+ const plan = fs.existsSync(backupDir) ? applyBackupByteCap(backupDir, { dryRun: true }) : null;
202
+ if (plan === null) {
203
+ cliError(`No byte cap could be computed for ${backupDir} (no store or no backups).`, 1);
204
+ process.exit(1);
205
+ return;
206
+ }
207
+ cliOutput(
208
+ { backupDir, ...plan },
209
+ {
210
+ command: "backup",
211
+ operation: "backup.rotation",
212
+ message: `Byte cap ${plan.maxBytes} bytes; ${plan.totalBefore} now. Would remove ${plan.removed.length} set(s) (${plan.totalBefore - plan.totalAfter} bytes)` + (plan.kept.length > 0 ? `; ${plan.kept.length} older set(s) kept with a reason.` : ".")
213
+ }
214
+ );
215
+ return;
216
+ }
189
217
  const scope = args.scope || "all";
190
218
  await dispatchFromCli(
191
219
  "query",
@@ -590,4 +618,4 @@ function sha256OfMachineKey(cleoHome) {
590
618
  export {
591
619
  backupCommand
592
620
  };
593
- //# sourceMappingURL=backup-QHWBRY5N.js.map
621
+ //# sourceMappingURL=backup-FX5CKWOQ.js.map
@@ -15,7 +15,7 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-QPROUKS6.js";
18
+ } from "./chunk-YOZKQEGA.js";
19
19
  import "./chunk-4VASFLUW.js";
20
20
  import "./chunk-2NXQCE4N.js";
21
21
  import {
@@ -25,7 +25,7 @@ import "./chunk-QKMBWYAS.js";
25
25
  import "./chunk-ESI6Q4OS.js";
26
26
  import "./chunk-6JSJNYH2.js";
27
27
  import "./chunk-D7BAQNV2.js";
28
- import "./chunk-6WPQM7YS.js";
28
+ import "./chunk-QL3A56SV.js";
29
29
 
30
30
  // packages/cleo/src/cli/commands/blockers.ts
31
31
  var blockersCommand = defineCommand({
@@ -52,4 +52,4 @@ var blockersCommand = defineCommand({
52
52
  export {
53
53
  blockersCommand
54
54
  };
55
- //# sourceMappingURL=blockers-L5LZQIVV.js.map
55
+ //# sourceMappingURL=blockers-52X3RD7U.js.map
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-YY66LFZF.js";
19
19
  import {
20
20
  dispatchFromCli
21
- } from "./chunk-QPROUKS6.js";
21
+ } from "./chunk-YOZKQEGA.js";
22
22
  import "./chunk-4VASFLUW.js";
23
23
  import "./chunk-2NXQCE4N.js";
24
24
  import {
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-ESI6Q4OS.js";
32
32
  import "./chunk-6JSJNYH2.js";
33
33
  import "./chunk-D7BAQNV2.js";
34
- import "./chunk-6WPQM7YS.js";
34
+ import "./chunk-QL3A56SV.js";
35
35
 
36
36
  // packages/cleo/src/cli/commands/briefing.ts
37
37
  import { pushWarning } from "@cleocode/core/output";
@@ -210,4 +210,4 @@ var briefingCommand = defineCommand({
210
210
  export {
211
211
  briefingCommand
212
212
  };
213
- //# sourceMappingURL=briefing-PJA35NQI.js.map
213
+ //# sourceMappingURL=briefing-SX35UC4D.js.map
@@ -15,7 +15,7 @@
15
15
  })();
16
16
  import {
17
17
  dispatchFromCli
18
- } from "./chunk-QPROUKS6.js";
18
+ } from "./chunk-YOZKQEGA.js";
19
19
  import "./chunk-4VASFLUW.js";
20
20
  import "./chunk-2NXQCE4N.js";
21
21
  import {
@@ -25,7 +25,7 @@ import "./chunk-QKMBWYAS.js";
25
25
  import "./chunk-ESI6Q4OS.js";
26
26
  import "./chunk-6JSJNYH2.js";
27
27
  import "./chunk-D7BAQNV2.js";
28
- import "./chunk-6WPQM7YS.js";
28
+ import "./chunk-QL3A56SV.js";
29
29
 
30
30
  // packages/cleo/src/cli/commands/cancel.ts
31
31
  var cancelCommand = defineCommand({
@@ -60,6 +60,14 @@ var cancelCommand = defineCommand({
60
60
  cascadeThreshold: {
61
61
  type: "string",
62
62
  description: "Maximum descendant count allowed for cascade without --force (default: 10)"
63
+ },
64
+ kind: {
65
+ type: "string",
66
+ description: "Why (T14267): abandoned, superseded, duplicate or obsolete. A superseded or duplicate child whose --replaced-by task is done needs no --waive-cancelled-children on its parent"
67
+ },
68
+ "replaced-by": {
69
+ type: "string",
70
+ description: "The task that replaced this one (with --kind superseded or duplicate)"
63
71
  }
64
72
  },
65
73
  async run({ args }) {
@@ -73,7 +81,9 @@ var cancelCommand = defineCommand({
73
81
  children: args.children,
74
82
  reparentTo: typeof args.to === "string" && args.to.length > 0 ? args.to : void 0,
75
83
  force: args.force === true,
76
- cascadeThreshold: typeof args.cascadeThreshold === "string" && args.cascadeThreshold.length > 0 ? Number.parseInt(args.cascadeThreshold, 10) : void 0
84
+ cascadeThreshold: typeof args.cascadeThreshold === "string" && args.cascadeThreshold.length > 0 ? Number.parseInt(args.cascadeThreshold, 10) : void 0,
85
+ kind: typeof args.kind === "string" && args.kind.length > 0 ? args.kind : void 0,
86
+ replacedBy: typeof args["replaced-by"] === "string" && args["replaced-by"].length > 0 ? args["replaced-by"] : void 0
77
87
  },
78
88
  { command: "cancel", operation: "tasks.cancel" }
79
89
  );
@@ -82,4 +92,4 @@ var cancelCommand = defineCommand({
82
92
  export {
83
93
  cancelCommand
84
94
  };
85
- //# sourceMappingURL=cancel-EZVNKQ5R.js.map
95
+ //# sourceMappingURL=cancel-UA5FV76M.js.map
@@ -15,7 +15,7 @@
15
15
  })();
16
16
  import {
17
17
  lazyOperation
18
- } from "./chunk-6WPQM7YS.js";
18
+ } from "./chunk-QL3A56SV.js";
19
19
  import {
20
20
  defineTypedHandler,
21
21
  lafsError,
@@ -634,7 +634,12 @@ var _checkTypedHandler = defineTypedHandler("check", {
634
634
  "gate.set": async (params) => {
635
635
  const projectRoot = resolveWorktreeRouting().canonicalRoot;
636
636
  if (!params.taskId) {
637
- return lafsError("E_INVALID_INPUT", "taskId is required", "gate.set");
637
+ return lafsError(
638
+ "E_INVALID_INPUT",
639
+ "taskId is required",
640
+ "gate.set",
641
+ "cleo verify <taskId> --gate <gate> --evidence <atoms>"
642
+ );
638
643
  }
639
644
  if (params.criterion === true) {
640
645
  if (params.gate || params.all || params.reset || !params.evidence)
@@ -642,7 +647,8 @@ var _checkTypedHandler = defineTypedHandler("check", {
642
647
  // @sync-invariant none:input-shape contradictory receipt flags are refused before any read; nothing is written
643
648
  "E_INVALID_INPUT",
644
649
  "--criterion records a receipt for one criterion: it takes --evidence and excludes --gate/--all/--reset",
645
- "gate.set"
650
+ "gate.set",
651
+ `cleo verify ${params.taskId} --criterion --evidence 'decision:<id>;satisfies:${params.taskId}#AC<n>'`
646
652
  );
647
653
  const receipt = await recordCriterionReceipt(projectRoot, {
648
654
  taskId: params.taskId,
@@ -676,7 +682,9 @@ var _checkTypedHandler = defineTypedHandler("check", {
676
682
  return lafsError(
677
683
  String(result.error?.code ?? "E_INTERNAL"),
678
684
  result.error?.message ?? "Unknown error",
679
- "gate.set"
685
+ "gate.set",
686
+ // T14299: keep the verify refusal's own fix through the re-wrap.
687
+ result.error?.fix
680
688
  );
681
689
  }
682
690
  return lafsSuccess(
@@ -771,4 +779,4 @@ var CheckHandler = class {
771
779
  export {
772
780
  CheckHandler
773
781
  };
774
- //# sourceMappingURL=check-NFBULBE5.js.map
782
+ //# sourceMappingURL=check-WLBL76VA.js.map
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk-47JYZAMS.js";
23
23
  import {
24
24
  dispatchFromCli
25
- } from "./chunk-QPROUKS6.js";
25
+ } from "./chunk-YOZKQEGA.js";
26
26
  import "./chunk-4VASFLUW.js";
27
27
  import "./chunk-2NXQCE4N.js";
28
28
  import {
@@ -35,7 +35,7 @@ import {
35
35
  } from "./chunk-ESI6Q4OS.js";
36
36
  import "./chunk-6JSJNYH2.js";
37
37
  import "./chunk-D7BAQNV2.js";
38
- import "./chunk-6WPQM7YS.js";
38
+ import "./chunk-QL3A56SV.js";
39
39
 
40
40
  // packages/cleo/src/cli/commands/check.ts
41
41
  import { formatPrGateSummary, runPrGate } from "@cleocode/core/check/pr-gate";
@@ -768,6 +768,24 @@ var checkArchCommand = defineCommand({
768
768
  task: "T13126",
769
769
  script: "scripts/lint-no-contracts-barrel-value-imports.mjs",
770
770
  description: "No runtime value import from the @cleocode/contracts barrel"
771
+ },
772
+ {
773
+ // T14276 / T13924: every worktree removal goes through `disposeWorktree`
774
+ // (proof that nothing is lost, else keep; `destroy --force` archives
775
+ // first). No other source names the raw removals. Zero tolerance.
776
+ id: "gate-41",
777
+ task: "T14276",
778
+ script: "scripts/lint-no-raw-worktree-removal.mjs",
779
+ description: "No raw worktree removal outside the disposeWorktree engine"
780
+ },
781
+ {
782
+ // T14299: every refusal on the close, cancel, verify, done, review and
783
+ // docs-link paths carries a fix that runs against the CLI manifest.
784
+ // Pinned per file, may only fall; no --baseline mode.
785
+ id: "gate-42",
786
+ task: "T14299",
787
+ script: "scripts/lint-refusal-fixes.mjs",
788
+ description: "Every refusal on the closure paths carries a runnable fix"
771
789
  }
772
790
  ];
773
791
  const scriptArgs = strict ? ["--strict"] : ["--check"];
@@ -921,4 +939,4 @@ var checkCommand = defineCommand({
921
939
  export {
922
940
  checkCommand
923
941
  };
924
- //# sourceMappingURL=check-GJIZJQON.js.map
942
+ //# sourceMappingURL=check-X7CKPTJD.js.map
@@ -29,12 +29,12 @@ import {
29
29
  var doctorGlobalDeliveryCommand = defineCommand({
30
30
  meta: {
31
31
  name: "global-delivery",
32
- description: "Check that ~/.cleo, the global hub reference and every harness CLEO skill install resolve. Read-only; --repair relinks them with a receipt (--dry-run to preview)."
32
+ description: "Check that ~/.cleo, the global hub reference and every harness CLEO skill install resolve, and that every managed instruction block hashes to the current template. Read-only; --repair relinks them and refreshes only stale managed blocks, with a receipt (--dry-run to preview)."
33
33
  },
34
34
  args: {
35
35
  repair: {
36
36
  type: "boolean",
37
- description: "Relink ~/.cleo to the OS data dir and every dangling or ~/.cleo-routed skill entry to the physical skills dir (verified symlink, else copy). Appends a receipt."
37
+ description: "Relink ~/.cleo to the OS data dir and every dangling or ~/.cleo-routed skill entry to the physical skills dir (verified symlink, else copy), and rewrite only the stale CAAMP block of each provider instruction file. Appends a receipt."
38
38
  },
39
39
  "dry-run": {
40
40
  type: "boolean",
@@ -80,4 +80,4 @@ var doctorGlobalDeliveryCommand = defineCommand({
80
80
  export {
81
81
  doctorGlobalDeliveryCommand
82
82
  };
83
- //# sourceMappingURL=chunk-TVNXFYOJ.js.map
83
+ //# sourceMappingURL=chunk-7L47UQJ6.js.map
@@ -20,7 +20,7 @@ import {
20
20
  dispatchRaw,
21
21
  handleRawError,
22
22
  maybeEmitDescribe
23
- } from "./chunk-QPROUKS6.js";
23
+ } from "./chunk-YOZKQEGA.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-IVN46UST.js";
@@ -157,4 +157,4 @@ export {
157
157
  completeDispatchParams,
158
158
  completeCommand
159
159
  };
160
- //# sourceMappingURL=chunk-FMEF3JU7.js.map
160
+ //# sourceMappingURL=chunk-A35TN6R2.js.map
@@ -22,6 +22,7 @@ import {
22
22
 
23
23
  // packages/cleo/src/cli/commands/doctor-credentials.ts
24
24
  import { join } from "node:path";
25
+ import { auditGlobalConfigModes } from "@cleocode/core/llm/global-config-migration.js";
25
26
  import { getCleoHome, getProjectRoot } from "@cleocode/core/paths.js";
26
27
  import {
27
28
  auditAgentRegistryKeys,
@@ -30,12 +31,12 @@ import {
30
31
  var doctorCredentialsCommand = defineCommand({
31
32
  meta: {
32
33
  name: "credentials",
33
- description: "Report project credentials still encrypted under the legacy path-bound key (moving the project would strand them) and agent registry keys that are not recoverable. --fix re-keys project credentials to the project's identity in place and flags unrecoverable agent keys requires_reauth. Idempotent; never deletes. Unrecoverable credentials are listed with their re-entry command."
34
+ description: "Report project credentials still encrypted under the legacy path-bound key (moving the project would strand them), agent registry keys that are not recoverable, and a global config.json that group or others can read (it can hold provider keys). --fix re-keys project credentials to the project's identity in place, flags unrecoverable agent keys requires_reauth, and tightens the global config to 0600. Idempotent; never deletes. Unrecoverable credentials are listed with their re-entry command."
34
35
  },
35
36
  args: {
36
37
  fix: {
37
38
  type: "boolean",
38
- description: "Re-key path-bound credentials in place (default: report only)."
39
+ description: "Re-key path-bound credentials in place and chmod an exposed global config.json to 0600 (default: report only)."
39
40
  },
40
41
  json: { type: "boolean", description: "Output as JSON" },
41
42
  human: { type: "boolean", description: "Force human-readable output" },
@@ -45,6 +46,7 @@ var doctorCredentialsCommand = defineCommand({
45
46
  const dryRun = args.fix !== true;
46
47
  const result = await migrateProjectCredentialsAtRoot(getProjectRoot(), { dryRun });
47
48
  const agents = await auditAgentRegistryKeys(join(getCleoHome(), "cleo.db"), { dryRun });
49
+ const globalConfig = auditGlobalConfigModes({ fix: !dryRun });
48
50
  cliOutput(
49
51
  {
50
52
  projectDbPath: result.projectDbPath,
@@ -58,11 +60,18 @@ var doctorCredentialsCommand = defineCommand({
58
60
  current: agents.current,
59
61
  requiresReentry: agents.reentry,
60
62
  flaggedRequiresReauth: agents.flagged
61
- }
63
+ },
64
+ globalConfig: globalConfig.map((f) => ({
65
+ path: f.path,
66
+ mode: `0${f.mode.toString(8)}`,
67
+ readableByOthers: f.exposed,
68
+ fixed: f.fixed
69
+ }))
62
70
  },
63
71
  { command: "doctor", operation: "doctor.credentials.run" }
64
72
  );
65
- const pending = result.dryRun && result.migrated.length > 0;
73
+ const exposedConfig = globalConfig.some((f) => f.exposed && !f.fixed);
74
+ const pending = result.dryRun && result.migrated.length > 0 || exposedConfig;
66
75
  const unrecoverable = result.reentry.length + agents.reentry.length;
67
76
  if ((pending || unrecoverable > 0) && (process.exitCode ?? 0) === 0) {
68
77
  process.exitCode = 1;
@@ -73,4 +82,4 @@ var doctorCredentialsCommand = defineCommand({
73
82
  export {
74
83
  doctorCredentialsCommand
75
84
  };
76
- //# sourceMappingURL=chunk-MLUCI3JC.js.map
85
+ //# sourceMappingURL=chunk-CZ2VQUXN.js.map
@@ -17,34 +17,34 @@
17
17
  // packages/cleo/src/dispatch/domains/lazy.ts
18
18
  import { OPERATIONS } from "@cleocode/contracts/dispatch/operations-registry.js";
19
19
  var DOMAIN_LOADERS = [
20
- ["tasks", async () => new (await import("./tasks-6BTDR547.js")).TasksHandler()],
21
- ["session", async () => new (await import("./session-A24655SW.js")).SessionHandler()],
20
+ ["tasks", async () => new (await import("./tasks-MDCK5T4C.js")).TasksHandler()],
21
+ ["session", async () => new (await import("./session-M6XJCWKY.js")).SessionHandler()],
22
22
  ["attention", async () => new (await import("./attention-BVRGUJJQ.js")).AttentionHandler()],
23
- ["memory", async () => new (await import("./memory-ULDZHGNY.js")).MemoryHandler()],
23
+ ["memory", async () => new (await import("./memory-COC4SHLE.js")).MemoryHandler()],
24
24
  ["intelligence", async () => new (await import("./intelligence-SEARRRBF.js")).IntelligenceHandler()],
25
- ["check", async () => new (await import("./check-NFBULBE5.js")).CheckHandler()],
26
- ["pipeline", async () => new (await import("./pipeline-VZSLFYVK.js")).PipelineHandler()],
27
- ["orchestrate", async () => new (await import("./orchestrate-T44CHZ37.js")).OrchestrateHandler()],
25
+ ["check", async () => new (await import("./check-WLBL76VA.js")).CheckHandler()],
26
+ ["pipeline", async () => new (await import("./pipeline-C7HZA3SK.js")).PipelineHandler()],
27
+ ["orchestrate", async () => new (await import("./orchestrate-37G7JSMX.js")).OrchestrateHandler()],
28
28
  ["tools", async () => new (await import("./tools-UM3OZKEH.js")).ToolsHandler()],
29
- ["admin", async () => new (await import("./admin-22CR6TJQ.js")).AdminHandler()],
30
- ["nexus", async () => new (await import("./nexus-HQTVW5QU.js")).NexusHandler()],
29
+ ["admin", async () => new (await import("./admin-LIQHGIOG.js")).AdminHandler()],
30
+ ["nexus", async () => new (await import("./nexus-UB5LHSKQ.js")).NexusHandler()],
31
31
  ["sticky", async () => new (await import("./sticky-EKL5FD2D.js")).StickyHandler()],
32
32
  ["diagnostics", async () => new (await import("./diagnostics-BT3HGJPT.js")).DiagnosticsHandler()],
33
- ["docs", async () => new (await import("./docs-AJ5QSOG7.js")).DocsHandler()],
33
+ ["docs", async () => new (await import("./docs-ZST5BT6G.js")).DocsHandler()],
34
34
  ["focus", async () => new (await import("./focus-H5CBCFFV.js")).FocusHandler()],
35
35
  ["playbook", async () => new (await import("./playbook-YPGSNILZ.js")).PlaybookHandler()],
36
36
  ["conduit", async () => new (await import("./conduit-STEBYJTU.js")).ConduitHandler()],
37
37
  ["sentient", async () => new (await import("./sentient-Z7W7WO74.js")).SentientHandler()],
38
- ["release", async () => new (await import("./release-HPEGXNXU.js")).ReleaseHandler()],
38
+ ["release", async () => new (await import("./release-EI72GMAM.js")).ReleaseHandler()],
39
39
  ["provenance", async () => new (await import("./provenance-3YCF7G7L.js")).ProvenanceHandler()],
40
- ["selfimprove", async () => new (await import("./selfimprove-H3Y6URQY.js")).SelfimproveHandler()],
40
+ ["selfimprove", async () => new (await import("./selfimprove-OEIKYOPU.js")).SelfimproveHandler()],
41
41
  ["service", async () => new (await import("./service-5SQKAABN.js")).ServiceHandler()],
42
42
  ["llm", async () => new (await import("./llm-YVC5HL7D.js")).LlmHandler()],
43
43
  ["account", async () => new (await import("./entities-JYA4L2OV.js")).AccountHandler()],
44
44
  ["provider", async () => new (await import("./entities-JYA4L2OV.js")).ProviderHandler()],
45
45
  ["model", async () => new (await import("./entities-JYA4L2OV.js")).ModelHandler()],
46
46
  ["profile", async () => new (await import("./entities-JYA4L2OV.js")).ProfileHandler()],
47
- ["worktree", async () => new (await import("./worktree-2UEPNBJC.js")).WorktreeHandler()],
47
+ ["worktree", async () => new (await import("./worktree-3B5JR6N7.js")).WorktreeHandler()],
48
48
  ["upgrade", async () => new (await import("./upgrade-27CBXUXH.js")).UpgradeHandler()]
49
49
  ];
50
50
  var LazyDomainHandler = class {
@@ -97,4 +97,4 @@ export {
97
97
  createLazyDomainHandlers,
98
98
  lazyOperation
99
99
  };
100
- //# sourceMappingURL=chunk-6WPQM7YS.js.map
100
+ //# sourceMappingURL=chunk-QL3A56SV.js.map