@cleocode/cleo 2026.11.17 → 2026.11.18

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 (183) hide show
  1. package/dist/.source-stamp.json +1 -1
  2. package/dist/cli/{adapter-5MDCOYGC.js → adapter-5LAPPWDG.js} +3 -3
  3. package/dist/cli/{add-O74GFCW4.js → add-UW5YQRJF.js} +3 -3
  4. package/dist/cli/{add-batch-27TFCIOS.js → add-batch-VCNJVNUF.js} +3 -3
  5. package/dist/cli/{admin-H2YMRZ2U.js → admin-4CPCNOLE.js} +3 -3
  6. package/dist/cli/{admin-V2E56CI6.js → admin-MEJYZGFJ.js} +3 -3
  7. package/dist/cli/{adr-PRKE6GWP.js → adr-UE4H6ZFL.js} +3 -3
  8. package/dist/cli/{agent-TUUKQBZV.js → agent-RMPHLITH.js} +4 -3
  9. package/dist/cli/{analyze-TLF7PMOF.js → analyze-QZTXBKVH.js} +3 -3
  10. package/dist/cli/{archive-5W6MWOHW.js → archive-ZC2DBZIP.js} +3 -3
  11. package/dist/cli/{archive-stats-H53C4UTQ.js → archive-stats-WVSAILA7.js} +3 -3
  12. package/dist/cli/{attention-6QLUR2V5.js → attention-Q266HLPT.js} +3 -3
  13. package/dist/cli/{backup-4RLHQ7GY.js → backup-D76DEXWA.js} +3 -3
  14. package/dist/cli/{blockers-LWYKTZFY.js → blockers-CPYGYMB6.js} +3 -3
  15. package/dist/cli/{briefing-BDKQA7KW.js → briefing-ZXYIHVNM.js} +3 -3
  16. package/dist/cli/{cancel-KGN5HAMK.js → cancel-UE7FE44Q.js} +3 -3
  17. package/dist/cli/{cant-7453H4YN.js → cant-U4EGLXPJ.js} +16 -2
  18. package/dist/cli/cant-parses-5SIQ6U7T.js +22 -0
  19. package/dist/cli/{check-XL6T762F.js → check-PPARGLFQ.js} +2 -2
  20. package/dist/cli/{check-A55P2PPJ.js → check-ZPP4LIEG.js} +3 -3
  21. package/dist/cli/{chunk-7QKKXIZO.js → chunk-6ESGNFUU.js} +2 -2
  22. package/dist/cli/{chunk-NW4SOMJC.js → chunk-DGHNP57Z.js} +11 -11
  23. package/dist/cli/{chunk-EPTA6JOP.js → chunk-MUM7NTUD.js} +2 -2
  24. package/dist/cli/chunk-OSOQ5YXS.js +26 -0
  25. package/dist/cli/{claim-QPQVZFBD.js → claim-Y3MXS5UB.js} +3 -3
  26. package/dist/cli/{cli-AC55E53F.js → cli-RQDZRMOL.js} +3 -3
  27. package/dist/cli/{complete-FKOOFSXS.js → complete-2DBOR6IF.js} +4 -4
  28. package/dist/cli/{complexity-AWHB37LL.js → complexity-MISBHEYY.js} +3 -3
  29. package/dist/cli/{compliance-GPE7DQIN.js → compliance-SUXO6APO.js} +3 -3
  30. package/dist/cli/{config-NVSCHUVO.js → config-K45SIZXW.js} +3 -3
  31. package/dist/cli/{consensus-UJOGM2HY.js → consensus-5P6OMOCZ.js} +3 -3
  32. package/dist/cli/{context-5LTEY2FN.js → context-2PRS2NQH.js} +3 -3
  33. package/dist/cli/{contribution-LNETN2N2.js → contribution-7WVUFD6G.js} +3 -3
  34. package/dist/cli/{current-4AB4DCP5.js → current-LC4ICPLM.js} +3 -3
  35. package/dist/cli/{daemon-5DG4O6RM.js → daemon-FH6HPZJU.js} +3 -3
  36. package/dist/cli/{dash-DKIZBQQE.js → dash-WR2J7RE4.js} +3 -3
  37. package/dist/cli/{decompose-YIPLA2KW.js → decompose-QMIBRXT6.js} +3 -3
  38. package/dist/cli/{decomposition-NCLNGSYK.js → decomposition-IDCYNOYT.js} +3 -3
  39. package/dist/cli/{delete-HCWTH33S.js → delete-ELF5TYA7.js} +3 -3
  40. package/dist/cli/{deps-G4WH2JHF.js → deps-PSQ7PMW4.js} +3 -3
  41. package/dist/cli/{detect-U3FHF7SX.js → detect-QQL62ZNC.js} +3 -3
  42. package/dist/cli/{diagnostics-KSP3VSRL.js → diagnostics-EAVXKZKZ.js} +3 -3
  43. package/dist/cli/{docs-XCBYSR44.js → docs-2WLNHCKX.js} +16 -4
  44. package/dist/cli/{docs-D74A2C27.js → docs-N4UZ762Y.js} +15 -2
  45. package/dist/cli/{doctor-QAYWB4LS.js → doctor-JO3TOQDK.js} +26 -23
  46. package/dist/cli/doctor-gate-text-V7FT2IFK.js +60 -0
  47. package/dist/cli/{done-BY5AGPQK.js → done-P2X6HAAI.js} +4 -4
  48. package/dist/cli/{export-US54C7K4.js → export-K46IDT7J.js} +3 -3
  49. package/dist/cli/{export-tasks-S3HBJJLL.js → export-tasks-YWA2R6SV.js} +3 -3
  50. package/dist/cli/{find-GI2N4W4C.js → find-EAMOXG5D.js} +3 -3
  51. package/dist/cli/{focus-MBLPBCZP.js → focus-7VMY4OPJ.js} +3 -3
  52. package/dist/cli/{goal-B2LOBNAJ.js → goal-BJPJ6QIF.js} +2 -2
  53. package/dist/cli/{grade-N5FOIT77.js → grade-4NZ4PFR4.js} +3 -3
  54. package/dist/cli/{graph-OK6YOP42.js → graph-YHCDCIYY.js} +3 -3
  55. package/dist/cli/{history-LJFEFQSM.js → history-LRFQTQIM.js} +3 -3
  56. package/dist/cli/{import-UB3X43WG.js → import-TOPFUH6D.js} +3 -3
  57. package/dist/cli/{import-tasks-KK5JSORJ.js → import-tasks-43JE5CHL.js} +3 -3
  58. package/dist/cli/index.js +115 -107
  59. package/dist/cli/{inject-5ZW5MWK2.js → inject-TPWXIDUC.js} +3 -3
  60. package/dist/cli/{intelligence-MBHCYI37.js → intelligence-SNGSKZXV.js} +3 -3
  61. package/dist/cli/{issue-IFJ2L66E.js → issue-KDY2MBQZ.js} +3 -3
  62. package/dist/cli/{labels-AUKNPHK2.js → labels-LRGDKLF6.js} +3 -3
  63. package/dist/cli/{lifecycle-UDVHA3GI.js → lifecycle-QZ3EN2PW.js} +3 -3
  64. package/dist/cli/{list-ZRSNR4ZT.js → list-WRFWYGDJ.js} +3 -3
  65. package/dist/cli/{llm-C33IPUZ2.js → llm-AMXBN24Y.js} +3 -3
  66. package/dist/cli/{log-WN5Y7YUC.js → log-SWJWYYBR.js} +3 -3
  67. package/dist/cli/{manifest-WQR2MMB4.js → manifest-JES75O7E.js} +3 -3
  68. package/dist/cli/{map-6J7HTDDB.js → map-KXYE3ZCU.js} +3 -3
  69. package/dist/cli/{memory-TQDJULUR.js → memory-6GJVZXLU.js} +2 -2
  70. package/dist/cli/{memory-5UCRVX2D.js → memory-TBB7EPI4.js} +3 -3
  71. package/dist/cli/{migrate-claude-mem-5LS5ZC4B.js → migrate-claude-mem-5K6LARZL.js} +3 -3
  72. package/dist/cli/{next-4W2VCBLK.js → next-CASQPK7P.js} +3 -3
  73. package/dist/cli/{nexus-MJAM5QKA.js → nexus-KZ3KWNAF.js} +2 -2
  74. package/dist/cli/{nexus-NRSHSNSD.js → nexus-Q5OGKS2O.js} +3 -3
  75. package/dist/cli/{ops-NWEUYPMM.js → ops-BAGCCCGL.js} +3 -3
  76. package/dist/cli/{orchestrate-4JOC5JBH.js → orchestrate-56TWH7VX.js} +2 -2
  77. package/dist/cli/{orchestrate-PKP6NGDB.js → orchestrate-KH3UMO3A.js} +3 -3
  78. package/dist/cli/{phase-FFE3AYXK.js → phase-YFUIHHO3.js} +3 -3
  79. package/dist/cli/{pipeline-OMKEFYSV.js → pipeline-OWBRNTF4.js} +2 -2
  80. package/dist/cli/{pivot-MYXAZZOK.js → pivot-YUMSSFTZ.js} +3 -3
  81. package/dist/cli/{plan-PP7ZRDEL.js → plan-GXKPNFFR.js} +3 -3
  82. package/dist/cli/{playbook-3ZJ364AT.js → playbook-2ENSNMBX.js} +3 -3
  83. package/dist/cli/{promote-BMEJWJFS.js → promote-NNAEHQJE.js} +3 -3
  84. package/dist/cli/{provenance-E5YRQR6B.js → provenance-TVJDA63I.js} +3 -3
  85. package/dist/cli/{provider-CPXT43JJ.js → provider-UXQ6FRLT.js} +3 -3
  86. package/dist/cli/{reason-S3IX5MVW.js → reason-Q4O56AEQ.js} +3 -3
  87. package/dist/cli/{reconcile-QBQ2J5S7.js → reconcile-DNB26STV.js} +3 -3
  88. package/dist/cli/{relates-6HDKISVV.js → relates-C75YWMZJ.js} +3 -3
  89. package/dist/cli/{release-RCUUBO7N.js → release-REL4CB7S.js} +3 -3
  90. package/dist/cli/{reorder-QQM7Q6FL.js → reorder-J2IDDXE2.js} +3 -3
  91. package/dist/cli/{reparent-NWPI5GCQ.js → reparent-YPTCMIZ4.js} +3 -3
  92. package/dist/cli/{req-ZTCKOKAJ.js → req-BVFFKTXR.js} +3 -3
  93. package/dist/cli/{research-FDCTCUMM.js → research-IVYLZXES.js} +3 -3
  94. package/dist/cli/{restore-Q7YO647P.js → restore-SR2ODC2F.js} +3 -3
  95. package/dist/cli/{roadmap-BZHWWL5G.js → roadmap-ZVR4BFVV.js} +3 -3
  96. package/dist/cli/{safestop-LPZVMNXG.js → safestop-4NJAFUGS.js} +3 -3
  97. package/dist/cli/{saga-MW5T4GQQ.js → saga-4JJWDB5R.js} +3 -3
  98. package/dist/cli/{self-update-STWFASBR.js → self-update-U7W6QTLJ.js} +6 -3
  99. package/dist/cli/{selfimprove-4ZERPHXT.js → selfimprove-SS27Z7EN.js} +3 -3
  100. package/dist/cli/{selfimprove-C4HWDCM7.js → selfimprove-WQZKONL2.js} +2 -2
  101. package/dist/cli/{sequence-TINZEJ7V.js → sequence-XSYQKOVZ.js} +3 -3
  102. package/dist/cli/{service-WWCX2GBY.js → service-MBYXZ7BL.js} +3 -3
  103. package/dist/cli/{session-6NWSKFSG.js → session-7EX5W2NE.js} +3 -3
  104. package/dist/cli/{session-2XGQYSM4.js → session-F3ULVXCB.js} +2 -2
  105. package/dist/cli/{show-G3GPC23W.js → show-VGFTRMMQ.js} +3 -3
  106. package/dist/cli/{skills-FV6SVE7L.js → skills-56K36QBG.js} +3 -3
  107. package/dist/cli/{snapshot-QH3IRA6F.js → snapshot-3QATGRU5.js} +3 -3
  108. package/dist/cli/{start-S52HD5JV.js → start-2FQRPHWC.js} +3 -3
  109. package/dist/cli/{stats-6S4JMDOU.js → stats-WBNXMCF2.js} +3 -3
  110. package/dist/cli/{sticky-UB37G6EL.js → sticky-MND4WZLA.js} +3 -3
  111. package/dist/cli/{stop-DJMBHZR2.js → stop-CHVH7FQA.js} +3 -3
  112. package/dist/cli/{sync-BHUVE2CT.js → sync-4SJ6UWUU.js} +3 -3
  113. package/dist/cli/{tasks-MXKXRJC4.js → tasks-5YEGHPQW.js} +3 -3
  114. package/dist/cli/{tasks-HTOVUBA3.js → tasks-SHTN4VNH.js} +2 -2
  115. package/dist/cli/{testing-CSM77MCM.js → testing-2NACMGOB.js} +3 -3
  116. package/dist/cli/{token-SWBMAFNC.js → token-C7EUTCGG.js} +3 -3
  117. package/dist/cli/{update-MGQ3VOZA.js → update-ZD5HYSKB.js} +3 -3
  118. package/dist/cli/{upgrade-POVM5EDT.js → upgrade-363CG5IB.js} +6 -2
  119. package/dist/cli/{verify-E3HKTGZO.js → verify-LVM4TRD3.js} +3 -3
  120. package/dist/cli/{worktree-OHZ2HXVY.js → worktree-3TENVCFN.js} +3 -3
  121. package/package.json +14 -14
  122. package/studio-dist/client/_app/immutable/chunks/{COvBLBir.js → BPn6xjpy.js} +1 -1
  123. package/studio-dist/client/_app/immutable/chunks/C113yBd0.js +1 -0
  124. package/studio-dist/client/_app/immutable/chunks/{CzOru2IQ.js → DbccpEZ2.js} +1 -1
  125. package/studio-dist/client/_app/immutable/chunks/{Bx_Ybdwg.js → DibDuJs3.js} +1 -1
  126. package/studio-dist/client/_app/immutable/entry/{app.DnI5mM73.js → app.D4YI_RAP.js} +2 -2
  127. package/studio-dist/client/_app/immutable/entry/start._LyaK-iD.js +1 -0
  128. package/studio-dist/client/_app/immutable/nodes/{0.DQ30q-mz.js → 0.D_UzQ8Yl.js} +1 -1
  129. package/studio-dist/client/_app/immutable/nodes/{1.JV0f2m6G.js → 1.CAVDaxks.js} +1 -1
  130. package/studio-dist/client/_app/immutable/nodes/{15.CLlik7BX.js → 15.BLW07CRr.js} +1 -1
  131. package/studio-dist/client/_app/immutable/nodes/{16.3tCwb6mJ.js → 16.OwFHKxFl.js} +1 -1
  132. package/studio-dist/client/_app/immutable/nodes/{17.CnYe2cL4.js → 17.ByNcDwwk.js} +1 -1
  133. package/studio-dist/client/_app/immutable/nodes/{18.CmRvKXU6.js → 18.DQ2z0cVj.js} +1 -1
  134. package/studio-dist/client/_app/immutable/nodes/{20.Dd8Jncv-.js → 20.DcklgcYr.js} +1 -1
  135. package/studio-dist/client/_app/immutable/nodes/{24.BKeV5sCP.js → 24.CFNCQUQa.js} +1 -1
  136. package/studio-dist/client/_app/immutable/nodes/{25.42FV04bG.js → 25.DOpU5M2h.js} +2 -2
  137. package/studio-dist/client/_app/immutable/nodes/{26.kdWFFy6h.js → 26.BZvubV3F.js} +1 -1
  138. package/studio-dist/client/_app/immutable/nodes/{3.C7gybX_c.js → 3.DfqLHFYv.js} +1 -1
  139. package/studio-dist/client/_app/version.json +1 -1
  140. package/studio-dist/server/chunks/{0-D5IK1A6a.js → 0-CbgboTx6.js} +3 -3
  141. package/studio-dist/server/chunks/1-Cyw2DSw5.js +9 -0
  142. package/studio-dist/server/chunks/{15-1FEj7YLh.js → 15-HB3bkWMP.js} +3 -3
  143. package/studio-dist/server/chunks/{16-BPExaCbz.js → 16-DGVo0Czi.js} +3 -3
  144. package/studio-dist/server/chunks/{17-BJDZbxOa.js → 17-CNX9-knu.js} +3 -3
  145. package/studio-dist/server/chunks/{18-Ctw9hVSr.js → 18-1spEvEI8.js} +3 -3
  146. package/studio-dist/server/chunks/{20-DHYBZQXc.js → 20-DJJyDqmv.js} +3 -3
  147. package/studio-dist/server/chunks/{24-DAI0Lyyc.js → 24-CCnxieNz.js} +3 -3
  148. package/studio-dist/server/chunks/{25-I2HNzAo9.js → 25-DiDtvOeY.js} +10 -338
  149. package/studio-dist/server/chunks/{26-DyIOS9XM.js → 26-BIzvIYSx.js} +3 -3
  150. package/studio-dist/server/chunks/{3-B2xvXVT0.js → 3-WAClmfHo.js} +6 -5
  151. package/studio-dist/server/chunks/{_layout.svelte-DWyTOQxs.js → _layout.svelte-D6Ldlo8e.js} +4 -4
  152. package/studio-dist/server/chunks/{_page.svelte-rvUlNZoL.js → _page.svelte--c8tMFPx.js} +4 -4
  153. package/studio-dist/server/chunks/{_page.svelte-B9H6-g06.js → _page.svelte-BAQybygW.js} +3 -3
  154. package/studio-dist/server/chunks/{_page.svelte-RhWTQFHO.js → _page.svelte-Bm6AVnMf.js} +3 -3
  155. package/studio-dist/server/chunks/{_page.svelte-BnFe-NMP.js → _page.svelte-COWnE68H.js} +3 -3
  156. package/studio-dist/server/chunks/{_page.svelte-C-87PKFP.js → _page.svelte-Cz61TPsq.js} +3 -3
  157. package/studio-dist/server/chunks/{_page.svelte-BbyRiKdN.js → _page.svelte-D4YDVEYh.js} +3 -3
  158. package/studio-dist/server/chunks/{_page.svelte-DXjPWuIN.js → _page.svelte-Dpr2yepq.js} +3 -3
  159. package/studio-dist/server/chunks/{_page.svelte-CEwUAieV.js → _page.svelte-KD8A9NNL.js} +3 -3
  160. package/studio-dist/server/chunks/{_page.svelte-B45EpBnX.js → _page.svelte-imuh1_oL.js} +7 -6
  161. package/studio-dist/server/chunks/{_server.ts-BcEKZJJA.js → _server.ts-B-ezGzXl.js} +3 -3
  162. package/studio-dist/server/chunks/{_server.ts-CjV8PszM.js → _server.ts-B9qiqq4z.js} +3 -3
  163. package/studio-dist/server/chunks/{_server.ts-BoJ3fPMJ.js → _server.ts-BiyZRJLN.js} +3 -2
  164. package/studio-dist/server/chunks/{_server.ts-BbEV1obK.js → _server.ts-BkEnOqaQ.js} +3 -3
  165. package/studio-dist/server/chunks/{_server.ts-CUFugtSt.js → _server.ts-C4rPjGI1.js} +3 -3
  166. package/studio-dist/server/chunks/{_server.ts-DqCpzs5A.js → _server.ts-CSH4fzXf.js} +4 -3
  167. package/studio-dist/server/chunks/{_server.ts-DSM1bzLc.js → _server.ts-Dz-499Yg.js} +3 -2
  168. package/studio-dist/server/chunks/{_server.ts-CwDGVJ2P.js → _server.ts-MJtlS_2Z.js} +2 -2
  169. package/studio-dist/server/chunks/{_server.ts-C_AxPpt-.js → _server.ts-pZ4SU8_H.js} +4 -3
  170. package/studio-dist/server/chunks/{brain-BAwmMnA6.js → brain-BTM0v0Cd.js} +2 -2
  171. package/studio-dist/server/chunks/{client-Br0ikrJg.js → client-BcCBvM6e.js} +2 -2
  172. package/studio-dist/server/chunks/{error.svelte-BmmeOJVZ.js → error.svelte-BI9UKC3a.js} +3 -3
  173. package/studio-dist/server/chunks/errors-CbKNtzWS.js +360 -0
  174. package/studio-dist/server/chunks/{http-CQioSYsK.js → http-DcRPuXuV.js} +2 -2
  175. package/studio-dist/server/chunks/{internal-qWV_lqaN.js → internal-CWvXHt7s.js} +2 -2
  176. package/studio-dist/server/chunks/{operations-registry-C_x34kYM.js → operations-registry-DPL0JZAc.js} +39 -12
  177. package/studio-dist/server/chunks/{src-DMQE8esV.js → src-DHIA6U44.js} +378 -341
  178. package/studio-dist/server/chunks/{stores-ClTAlUAW.js → stores-mFH1rHF6.js} +2 -2
  179. package/studio-dist/server/index.js +1 -1
  180. package/studio-dist/server/manifest.js +21 -21
  181. package/studio-dist/client/_app/immutable/chunks/CK74r9qk.js +0 -1
  182. package/studio-dist/client/_app/immutable/entry/start.CocuF8MJ.js +0 -1
  183. package/studio-dist/server/chunks/1-BQTnuTNB.js +0 -9
@@ -1,9 +1,9 @@
1
1
  import { o as store_get, x as head, m as attr_class, p as escape_html, k as attr, j as ensure_array_like, t as attr_style, q as unsubscribe_stores, w as derived, v as stringify } from './dev-Br5zieNA.js';
2
2
  import 'node:module';
3
- import { p as page } from './stores-ClTAlUAW.js';
3
+ import { p as page } from './stores-mFH1rHF6.js';
4
4
  import { T as TaskSearchBox, F as FilterChipGroup, L as LabelsFilter, H as HierarchyTab, G as GraphTab, K as KanbanTab, E as EpicProgressCard, R as RecentActivityFeed, D as DetailDrawer } from './tasks-CtL5gCpX.js';
5
- import './client-Br0ikrJg.js';
6
- import { T as TASK_STATUSES } from './25-I2HNzAo9.js';
5
+ import './client-BcCBvM6e.js';
6
+ import { T as TASK_STATUSES } from './25-DiDtvOeY.js';
7
7
  import './index-server-BgfA6C0S.js';
8
8
  import '@cleocode/core/tasks/agent-lifecycle-lane';
9
9
  import './StatBlock-jNsxycS1.js';
@@ -12,7 +12,7 @@ import './ui-CkQ-pCs3.js';
12
12
  import './no-face-up-B_3h6Hgs.js';
13
13
  import './tasks-adapter-BVlE_iD7.js';
14
14
  import '@cleocode/core/tasks/dependency-check';
15
- import './internal-qWV_lqaN.js';
15
+ import './internal-CWvXHt7s.js';
16
16
  import './utils-g564cUMV.js';
17
17
  import './connections2-DyYEcX2h.js';
18
18
  import './cleo-home-_XIqkZaL.js';
@@ -26,7 +26,8 @@ import '@cleocode/core/store/open-cleo-db';
26
26
  import '@cleocode/core/store/worktree-build-guard';
27
27
  import './explorer-loader-Cp5JnZ-n.js';
28
28
  import '@cleocode/core/store/task-claim';
29
- import './operations-registry-C_x34kYM.js';
29
+ import './errors-CbKNtzWS.js';
30
+ import './operations-registry-DPL0JZAc.js';
30
31
  import '@cleocode/core/lifecycle/rollup';
31
32
  import '@cleocode/core/store/data-accessor';
32
33
  import '@cleocode/core/tasks/list';
@@ -494,4 +495,4 @@ function _page($$renderer, $$props) {
494
495
  }
495
496
 
496
497
  export { _page as default };
497
- //# sourceMappingURL=_page.svelte-B45EpBnX.js.map
498
+ //# sourceMappingURL=_page.svelte-imuh1_oL.js.map
@@ -1,8 +1,8 @@
1
- import { c as createSseStream, S as SSE_HEADERS, a as encodeStreamEvent } from './http-CQioSYsK.js';
1
+ import { c as createSseStream, S as SSE_HEADERS, a as encodeStreamEvent } from './http-DcRPuXuV.js';
2
2
  import { c as resolveGatewayBaseUrl } from './_dispatch-DTWViLGL.js';
3
3
  import { getTaskAccessor } from '@cleocode/core/store/data-accessor';
4
4
  import { listTasks } from '@cleocode/core/tasks/list';
5
- import './operations-registry-C_x34kYM.js';
5
+ import './operations-registry-DPL0JZAc.js';
6
6
  import '@cleocode/core';
7
7
  import '@cleocode/core/memory/brain-writer-thread';
8
8
  import 'path';
@@ -133,4 +133,4 @@ var GET = async ({ locals, url, request }) => {
133
133
  };
134
134
 
135
135
  export { GET };
136
- //# sourceMappingURL=_server.ts-BcEKZJJA.js.map
136
+ //# sourceMappingURL=_server.ts-B-ezGzXl.js.map
@@ -1,7 +1,7 @@
1
- import { c as createSseStream, S as SSE_HEADERS } from './http-CQioSYsK.js';
1
+ import { c as createSseStream, S as SSE_HEADERS } from './http-DcRPuXuV.js';
2
2
  import { metrics } from '@cleocode/core';
3
3
  import { listSessions } from '@cleocode/core/sessions';
4
- import './operations-registry-C_x34kYM.js';
4
+ import './operations-registry-DPL0JZAc.js';
5
5
  import '@cleocode/core/memory/brain-writer-thread';
6
6
  import 'path';
7
7
 
@@ -138,4 +138,4 @@ var GET = ({ locals, params, request }) => {
138
138
  };
139
139
 
140
140
  export { GET };
141
- //# sourceMappingURL=_server.ts-CjV8PszM.js.map
141
+ //# sourceMappingURL=_server.ts-B9qiqq4z.js.map
@@ -1,6 +1,7 @@
1
1
  import { j as json } from './exports-Dg-gdPPq.js';
2
- import { g as getAllSubstrates } from './src-DMQE8esV.js';
2
+ import { g as getAllSubstrates } from './src-DHIA6U44.js';
3
3
  import './utils-g564cUMV.js';
4
+ import './errors-CbKNtzWS.js';
4
5
  import 'node:module';
5
6
  import 'node:fs';
6
7
  import '@cleocode/core/store/open-cleo-db.js';
@@ -53,4 +54,4 @@ var GET = ({ locals, params, url }) => {
53
54
  };
54
55
 
55
56
  export { GET };
56
- //# sourceMappingURL=_server.ts-BoJ3fPMJ.js.map
57
+ //# sourceMappingURL=_server.ts-BiyZRJLN.js.map
@@ -1,7 +1,7 @@
1
- import { c as createSseStream, S as SSE_HEADERS, e as encodeSseFrame } from './http-CQioSYsK.js';
1
+ import { c as createSseStream, S as SSE_HEADERS, e as encodeSseFrame } from './http-DcRPuXuV.js';
2
2
  import { a as getBrainDb, g as getTasksDb, c as getConduitDb } from './connections2-DyYEcX2h.js';
3
3
  import { derivedStatusSqlAt } from '@cleocode/core/store/task-claim';
4
- import './operations-registry-C_x34kYM.js';
4
+ import './operations-registry-DPL0JZAc.js';
5
5
  import '@cleocode/core';
6
6
  import '@cleocode/core/memory/brain-writer-thread';
7
7
  import 'path';
@@ -278,4 +278,4 @@ var GET = ({ locals, request }) => {
278
278
  };
279
279
 
280
280
  export { GET };
281
- //# sourceMappingURL=_server.ts-BbEV1obK.js.map
281
+ //# sourceMappingURL=_server.ts-BkEnOqaQ.js.map
@@ -1,6 +1,6 @@
1
- import { c as createSseStream, S as SSE_HEADERS } from './http-CQioSYsK.js';
1
+ import { c as createSseStream, S as SSE_HEADERS } from './http-DcRPuXuV.js';
2
2
  import { g as getTasksDb } from './connections2-DyYEcX2h.js';
3
- import './operations-registry-C_x34kYM.js';
3
+ import './operations-registry-DPL0JZAc.js';
4
4
  import '@cleocode/core';
5
5
  import '@cleocode/core/memory/brain-writer-thread';
6
6
  import 'path';
@@ -66,4 +66,4 @@ var GET = ({ locals, request }) => {
66
66
  };
67
67
 
68
68
  export { GET };
69
- //# sourceMappingURL=_server.ts-CUFugtSt.js.map
69
+ //# sourceMappingURL=_server.ts-C4rPjGI1.js.map
@@ -1,5 +1,6 @@
1
- import { g as getAllSubstrates } from './src-DMQE8esV.js';
2
- import { r as recordBrainLoadDuration } from './brain-BAwmMnA6.js';
1
+ import { g as getAllSubstrates } from './src-DHIA6U44.js';
2
+ import { r as recordBrainLoadDuration } from './brain-BTM0v0Cd.js';
3
+ import './errors-CbKNtzWS.js';
3
4
  import 'node:module';
4
5
  import 'node:fs';
5
6
  import '@cleocode/core/store/open-cleo-db.js';
@@ -112,4 +113,4 @@ var GET = ({ locals, url }) => {
112
113
  };
113
114
 
114
115
  export { GET };
115
- //# sourceMappingURL=_server.ts-DqCpzs5A.js.map
116
+ //# sourceMappingURL=_server.ts-CSH4fzXf.js.map
@@ -1,6 +1,7 @@
1
1
  import { j as json } from './exports-Dg-gdPPq.js';
2
- import { g as getAllSubstrates } from './src-DMQE8esV.js';
2
+ import { g as getAllSubstrates } from './src-DHIA6U44.js';
3
3
  import './utils-g564cUMV.js';
4
+ import './errors-CbKNtzWS.js';
4
5
  import 'node:module';
5
6
  import 'node:fs';
6
7
  import '@cleocode/core/store/open-cleo-db.js';
@@ -54,4 +55,4 @@ var GET = ({ locals, params }) => {
54
55
  };
55
56
 
56
57
  export { GET };
57
- //# sourceMappingURL=_server.ts-DSM1bzLc.js.map
58
+ //# sourceMappingURL=_server.ts-Dz-499Yg.js.map
@@ -13,7 +13,7 @@ import '@cleocode/core/store/open-cleo-db';
13
13
  import '@cleocode/core/store/worktree-build-guard';
14
14
 
15
15
  //#region package.json
16
- var version = "2026.11.17";
16
+ var version = "2026.11.18";
17
17
  //#endregion
18
18
  //#region src/routes/api/health/+server.ts
19
19
  /**
@@ -120,4 +120,4 @@ var GET = ({ locals }) => {
120
120
  };
121
121
 
122
122
  export { GET };
123
- //# sourceMappingURL=_server.ts-CwDGVJ2P.js.map
123
+ //# sourceMappingURL=_server.ts-MJtlS_2Z.js.map
@@ -1,7 +1,8 @@
1
1
  import { j as json } from './exports-Dg-gdPPq.js';
2
- import { g as getAllSubstrates } from './src-DMQE8esV.js';
3
- import { g as getCachedGraph, b as buildCacheKey, r as recordBrainLoadDuration, a as getBrainCacheMetrics, s as setCachedGraph } from './brain-BAwmMnA6.js';
2
+ import { g as getAllSubstrates } from './src-DHIA6U44.js';
3
+ import { g as getCachedGraph, b as buildCacheKey, r as recordBrainLoadDuration, a as getBrainCacheMetrics, s as setCachedGraph } from './brain-BTM0v0Cd.js';
4
4
  import './utils-g564cUMV.js';
5
+ import './errors-CbKNtzWS.js';
5
6
  import 'node:module';
6
7
  import 'node:fs';
7
8
  import '@cleocode/core/store/open-cleo-db.js';
@@ -106,4 +107,4 @@ var GET = ({ locals, url }) => {
106
107
  };
107
108
 
108
109
  export { GET };
109
- //# sourceMappingURL=_server.ts-C_AxPpt-.js.map
110
+ //# sourceMappingURL=_server.ts-pZ4SU8_H.js.map
@@ -1,4 +1,4 @@
1
- import './src-DMQE8esV.js';
1
+ import './src-DHIA6U44.js';
2
2
 
3
3
  //#region src/lib/server/brain/cache.ts
4
4
  /** Maximum number of cache entries before oldest is evicted. */
@@ -158,4 +158,4 @@ function recordBrainLoadDuration(tier, durationMs) {
158
158
  }
159
159
 
160
160
  export { getBrainCacheMetrics as a, buildCacheKey as b, getCachedGraph as g, recordBrainLoadDuration as r, setCachedGraph as s };
161
- //# sourceMappingURL=brain-BAwmMnA6.js.map
161
+ //# sourceMappingURL=brain-BTM0v0Cd.js.map
@@ -1,5 +1,5 @@
1
1
  import { i as index_server_exports } from './index-server-BgfA6C0S.js';
2
- import './internal-qWV_lqaN.js';
2
+ import './internal-CWvXHt7s.js';
3
3
  import './utils-g564cUMV.js';
4
4
  import { n as noop } from './dev-Br5zieNA.js';
5
5
 
@@ -42,4 +42,4 @@ function goto(url, opts = {}) {
42
42
  }
43
43
 
44
44
  export { goto as g };
45
- //# sourceMappingURL=client-Br0ikrJg.js.map
45
+ //# sourceMappingURL=client-BcCBvM6e.js.map
@@ -1,8 +1,8 @@
1
1
  import { g as getContext, p as escape_html } from './dev-Br5zieNA.js';
2
2
  import 'node:module';
3
- import './client-Br0ikrJg.js';
3
+ import './client-BcCBvM6e.js';
4
4
  import './index-server-BgfA6C0S.js';
5
- import './internal-qWV_lqaN.js';
5
+ import './internal-CWvXHt7s.js';
6
6
  import './utils-g564cUMV.js';
7
7
 
8
8
  //#endregion
@@ -65,4 +65,4 @@ function Error$1($$renderer, $$props) {
65
65
  }
66
66
 
67
67
  export { Error$1 as default };
68
- //# sourceMappingURL=error.svelte-BmmeOJVZ.js.map
68
+ //# sourceMappingURL=error.svelte-BI9UKC3a.js.map
@@ -0,0 +1,360 @@
1
+ //#region ../contracts/dist/exit-codes.js
2
+ /**
3
+ * CLEO exit codes — canonical definitions shared across all layers.
4
+ *
5
+ * Ranges: 0 = success, 1-99 = errors, 100+ = special (non-error) states.
6
+ *
7
+ * @epic T4454
8
+ * @task T4456
9
+ * @task T5710
10
+ */
11
+ var ExitCode;
12
+ (function(ExitCode) {
13
+ ExitCode[ExitCode["SUCCESS"] = 0] = "SUCCESS";
14
+ ExitCode[ExitCode["GENERAL_ERROR"] = 1] = "GENERAL_ERROR";
15
+ ExitCode[ExitCode["INVALID_INPUT"] = 2] = "INVALID_INPUT";
16
+ ExitCode[ExitCode["FILE_ERROR"] = 3] = "FILE_ERROR";
17
+ ExitCode[ExitCode["NOT_FOUND"] = 4] = "NOT_FOUND";
18
+ ExitCode[ExitCode["DEPENDENCY_ERROR"] = 5] = "DEPENDENCY_ERROR";
19
+ ExitCode[ExitCode["VALIDATION_ERROR"] = 6] = "VALIDATION_ERROR";
20
+ ExitCode[ExitCode["LOCK_TIMEOUT"] = 7] = "LOCK_TIMEOUT";
21
+ ExitCode[ExitCode["CONFIG_ERROR"] = 8] = "CONFIG_ERROR";
22
+ /**
23
+ * The project this directory resolves to was relocated by
24
+ * `cleo project reroot`; a valid `.cleo-moved.json` tombstone names its new
25
+ * root. Refused instead of silently creating an empty store at the old root.
26
+ * LAFS code `E_PROJECT_MOVED`; details carry `movedTo`. @task T12558
27
+ */
28
+ ExitCode[ExitCode["PROJECT_MOVED"] = 9] = "PROJECT_MOVED";
29
+ ExitCode[ExitCode["PARENT_NOT_FOUND"] = 10] = "PARENT_NOT_FOUND";
30
+ ExitCode[ExitCode["DEPTH_EXCEEDED"] = 11] = "DEPTH_EXCEEDED";
31
+ ExitCode[ExitCode["SIBLING_LIMIT"] = 12] = "SIBLING_LIMIT";
32
+ ExitCode[ExitCode["INVALID_PARENT_TYPE"] = 13] = "INVALID_PARENT_TYPE";
33
+ ExitCode[ExitCode["CIRCULAR_REFERENCE"] = 14] = "CIRCULAR_REFERENCE";
34
+ ExitCode[ExitCode["ORPHAN_DETECTED"] = 15] = "ORPHAN_DETECTED";
35
+ ExitCode[ExitCode["HAS_CHILDREN"] = 16] = "HAS_CHILDREN";
36
+ ExitCode[ExitCode["TASK_COMPLETED"] = 17] = "TASK_COMPLETED";
37
+ ExitCode[ExitCode["CASCADE_FAILED"] = 18] = "CASCADE_FAILED";
38
+ ExitCode[ExitCode["HAS_DEPENDENTS"] = 19] = "HAS_DEPENDENTS";
39
+ ExitCode[ExitCode["CHECKSUM_MISMATCH"] = 20] = "CHECKSUM_MISMATCH";
40
+ ExitCode[ExitCode["CONCURRENT_MODIFICATION"] = 21] = "CONCURRENT_MODIFICATION";
41
+ ExitCode[ExitCode["ID_COLLISION"] = 22] = "ID_COLLISION";
42
+ /**
43
+ * Optimistic-concurrency version mismatch: the caller's expected task
44
+ * version (`updatedAt`) no longer matches the stored row. LAFS code
45
+ * `E_CONFLICT`; the error details carry the current version. @task T12503
46
+ */
47
+ ExitCode[ExitCode["VERSION_CONFLICT"] = 23] = "VERSION_CONFLICT";
48
+ /**
49
+ * A session MUTATION (end, decision, suspend-on-switch) was asked to act on
50
+ * "the caller's session" but the caller has no bound identity: no connection
51
+ * handle, no `CLEO_SESSION_ID` naming a real row, and no terminal binding
52
+ * from `cleo session start` / `cleo session resume`. Guessing the newest
53
+ * active row would act on ANOTHER agent's session, so the operation refuses.
54
+ * LAFS code `E_SESSION_UNBOUND`. @task T12500
55
+ */
56
+ ExitCode[ExitCode["SESSION_UNBOUND"] = 24] = "SESSION_UNBOUND";
57
+ /**
58
+ * A second spawn asked for a task worktree whose per-task lock is held by a
59
+ * live holder (session, agent, pid + process start, device, heartbeat).
60
+ * Re-provisioning would force-remove the holder's live worktree, so the
61
+ * spawn refuses. LAFS code `E_WORKTREE_LOCKED`; the error details name the
62
+ * holder. @task T12506
63
+ */
64
+ ExitCode[ExitCode["WORKTREE_LOCKED"] = 25] = "WORKTREE_LOCKED";
65
+ /**
66
+ * A guarded write (`--if-match`, or a claim holder's write) named a display
67
+ * id the task no longer carries: sync re-numbered it after a display-id
68
+ * collision (T12341), and the id now names another task or none. Writing
69
+ * would hit the wrong task, so the write refuses. LAFS code
70
+ * `E_TASK_RENAMED`; the details carry the task's current id
71
+ * (`details.expected`). @task T12800
72
+ */
73
+ ExitCode[ExitCode["TASK_RENAMED"] = 26] = "TASK_RENAMED";
74
+ /**
75
+ * A MUTATION came from an unqualified caller (no `CLEO_AGENT_ID`, no
76
+ * `CLEO_SESSION_ID`) inside a harness session whose provider key has no
77
+ * binding of its own while two or more agents of that harness hold live
78
+ * sessions: which agent is calling cannot be told, so the operation refuses
79
+ * rather than act as one of them. LAFS code `E_SESSION_AMBIGUOUS`; the
80
+ * details name the live agents. @task T14269
81
+ */
82
+ ExitCode[ExitCode["SESSION_AMBIGUOUS"] = 27] = "SESSION_AMBIGUOUS";
83
+ /**
84
+ * The machine-wide admission ledger refused to start a typed acceptance
85
+ * gate an evidence write links (memory budget full or external pressure),
86
+ * so no process ran and no verdict exists; the write records nothing.
87
+ * Retry when the machine has headroom (`cleo verify <id> --run`). LAFS code
88
+ * `E_GATE_ADMISSION_REFUSED`; the message names the ledger's reason and
89
+ * holders. @task T14536
90
+ */
91
+ ExitCode[ExitCode["GATE_ADMISSION_REFUSED"] = 28] = "GATE_ADMISSION_REFUSED";
92
+ ExitCode[ExitCode["SESSION_EXISTS"] = 30] = "SESSION_EXISTS";
93
+ ExitCode[ExitCode["SESSION_NOT_FOUND"] = 31] = "SESSION_NOT_FOUND";
94
+ ExitCode[ExitCode["SCOPE_CONFLICT"] = 32] = "SCOPE_CONFLICT";
95
+ ExitCode[ExitCode["SCOPE_INVALID"] = 33] = "SCOPE_INVALID";
96
+ ExitCode[ExitCode["TASK_NOT_IN_SCOPE"] = 34] = "TASK_NOT_IN_SCOPE";
97
+ /**
98
+ * Another session holds the claim lease on the task (`cleo start`,
99
+ * `cleo claim`, spawn). LAFS code `E_TASK_CLAIMED`; the details
100
+ * (`TaskClaimedDetails`) name the holder session and agent, the lease
101
+ * expiry, and the explicit, audited override: `--take-over` for an expired
102
+ * lease, `--force-claim` for a live one. @task T12502
103
+ */
104
+ ExitCode[ExitCode["TASK_CLAIMED"] = 35] = "TASK_CLAIMED";
105
+ ExitCode[ExitCode["SESSION_REQUIRED"] = 36] = "SESSION_REQUIRED";
106
+ ExitCode[ExitCode["SESSION_CLOSE_BLOCKED"] = 37] = "SESSION_CLOSE_BLOCKED";
107
+ ExitCode[ExitCode["ACTIVE_TASK_REQUIRED"] = 38] = "ACTIVE_TASK_REQUIRED";
108
+ ExitCode[ExitCode["NOTES_REQUIRED"] = 39] = "NOTES_REQUIRED";
109
+ ExitCode[ExitCode["VERIFICATION_INIT_FAILED"] = 40] = "VERIFICATION_INIT_FAILED";
110
+ ExitCode[ExitCode["GATE_UPDATE_FAILED"] = 41] = "GATE_UPDATE_FAILED";
111
+ ExitCode[ExitCode["INVALID_GATE"] = 42] = "INVALID_GATE";
112
+ ExitCode[ExitCode["INVALID_AGENT"] = 43] = "INVALID_AGENT";
113
+ ExitCode[ExitCode["MAX_ROUNDS_EXCEEDED"] = 44] = "MAX_ROUNDS_EXCEEDED";
114
+ ExitCode[ExitCode["GATE_DEPENDENCY"] = 45] = "GATE_DEPENDENCY";
115
+ ExitCode[ExitCode["VERIFICATION_LOCKED"] = 46] = "VERIFICATION_LOCKED";
116
+ ExitCode[ExitCode["ROUND_MISMATCH"] = 47] = "ROUND_MISMATCH";
117
+ /**
118
+ * E_AC_LOCKED — Acceptance criteria are locked because the task has
119
+ * advanced into (or past) the implementation pipeline stage.
120
+ *
121
+ * Reframing AC after work has begun is an anti-pattern (the
122
+ * "T-THIN-WRAPPER feature-complete" failure mode where AC was
123
+ * silently rewritten to match what shipped). To override the lock,
124
+ * the operator MUST supply an explicit `--reason "<text>"` which is
125
+ * appended to `.cleo/audit/ac-changes.jsonl`.
126
+ *
127
+ * Locked stages: implementation, validation, testing, release, contribution.
128
+ *
129
+ * @epic T1586 Foundation Lockdown
130
+ * @task T1590 AC-immutability guard
131
+ */
132
+ ExitCode[ExitCode["AC_LOCKED"] = 48] = "AC_LOCKED";
133
+ /**
134
+ * E_EPIC_HAS_PENDING_CHILDREN — `cleo complete <epicId>` was called while
135
+ * the epic still has one or more children in `pending` or `active` status.
136
+ *
137
+ * Prevents the T1467+T1603 premature-close bug class: epics may not be
138
+ * marked done while children remain in-flight. Pass `--override-reason`
139
+ * to bypass (audited to `.cleo/audit/premature-close.jsonl`).
140
+ *
141
+ * @epic T1627
142
+ * @task T1632
143
+ */
144
+ ExitCode[ExitCode["EPIC_HAS_PENDING_CHILDREN"] = 49] = "EPIC_HAS_PENDING_CHILDREN";
145
+ ExitCode[ExitCode["CONTEXT_WARNING"] = 50] = "CONTEXT_WARNING";
146
+ ExitCode[ExitCode["CONTEXT_CAUTION"] = 51] = "CONTEXT_CAUTION";
147
+ ExitCode[ExitCode["CONTEXT_CRITICAL"] = 52] = "CONTEXT_CRITICAL";
148
+ ExitCode[ExitCode["CONTEXT_EMERGENCY"] = 53] = "CONTEXT_EMERGENCY";
149
+ ExitCode[ExitCode["CONTEXT_STALE"] = 54] = "CONTEXT_STALE";
150
+ /**
151
+ * A twin collapse (a bare legacy table folded into its prefixed twin in the
152
+ * project `cleo.db`) could not complete: the pre-migration snapshot could
153
+ * not be written (backup directory unusable, not enough free space) or the
154
+ * merge failed and was rolled back. Both tables are unchanged. LAFS code
155
+ * `E_TWIN_COLLAPSE_FAILED`; details carry the table, the cause, the
156
+ * snapshot path and the free space needed. `cleo doctor twin-collapse`
157
+ * reports it and `--retry` re-runs it. @task T12535
158
+ */
159
+ ExitCode[ExitCode["TWIN_COLLAPSE_FAILED"] = 55] = "TWIN_COLLAPSE_FAILED";
160
+ ExitCode[ExitCode["PROTOCOL_MISSING"] = 60] = "PROTOCOL_MISSING";
161
+ ExitCode[ExitCode["INVALID_RETURN_MESSAGE"] = 61] = "INVALID_RETURN_MESSAGE";
162
+ ExitCode[ExitCode["MANIFEST_ENTRY_MISSING"] = 62] = "MANIFEST_ENTRY_MISSING";
163
+ ExitCode[ExitCode["SPAWN_VALIDATION_FAILED"] = 63] = "SPAWN_VALIDATION_FAILED";
164
+ ExitCode[ExitCode["AUTONOMOUS_BOUNDARY"] = 64] = "AUTONOMOUS_BOUNDARY";
165
+ ExitCode[ExitCode["HANDOFF_REQUIRED"] = 65] = "HANDOFF_REQUIRED";
166
+ ExitCode[ExitCode["RESUME_FAILED"] = 66] = "RESUME_FAILED";
167
+ ExitCode[ExitCode["CONCURRENT_SESSION"] = 67] = "CONCURRENT_SESSION";
168
+ /**
169
+ * E_THIN_AGENT_VIOLATION — A worker or lead agent attempted to spawn another
170
+ * agent, violating the thin-agent inversion-of-control rule (ORC-012).
171
+ * Only orchestrators may spawn subagents; non-orchestrator roles must
172
+ * escalate via the playbook approval gate.
173
+ *
174
+ * @task T889 Orchestration Coherence v3
175
+ * @task T907 Thin-agent enforcement
176
+ */
177
+ ExitCode[ExitCode["THIN_AGENT_VIOLATION"] = 68] = "THIN_AGENT_VIOLATION";
178
+ /**
179
+ * E_ATOMICITY_VIOLATION — A worker-role spawn was attempted for a task that
180
+ * exceeds the atomicity budget (more than {@link MAX_WORKER_FILES} files) or
181
+ * lacks an explicit file-scope declaration on its acceptance criteria.
182
+ *
183
+ * Workers MUST remain atomic (≤ 3 files with declared AC.files). Violations
184
+ * should be split into child tasks or promoted to a lead role.
185
+ *
186
+ * @task T889 Orchestration Coherence v3
187
+ * @task T894 Atomicity guard (W3-3)
188
+ */
189
+ ExitCode[ExitCode["ATOMICITY_VIOLATION"] = 69] = "ATOMICITY_VIOLATION";
190
+ ExitCode[ExitCode["NEXUS_NOT_INITIALIZED"] = 70] = "NEXUS_NOT_INITIALIZED";
191
+ ExitCode[ExitCode["NEXUS_PROJECT_NOT_FOUND"] = 71] = "NEXUS_PROJECT_NOT_FOUND";
192
+ ExitCode[ExitCode["NEXUS_PERMISSION_DENIED"] = 72] = "NEXUS_PERMISSION_DENIED";
193
+ ExitCode[ExitCode["NEXUS_INVALID_SYNTAX"] = 73] = "NEXUS_INVALID_SYNTAX";
194
+ ExitCode[ExitCode["NEXUS_SYNC_FAILED"] = 74] = "NEXUS_SYNC_FAILED";
195
+ ExitCode[ExitCode["NEXUS_REGISTRY_CORRUPT"] = 75] = "NEXUS_REGISTRY_CORRUPT";
196
+ ExitCode[ExitCode["NEXUS_PROJECT_EXISTS"] = 76] = "NEXUS_PROJECT_EXISTS";
197
+ ExitCode[ExitCode["NEXUS_QUERY_FAILED"] = 77] = "NEXUS_QUERY_FAILED";
198
+ ExitCode[ExitCode["NEXUS_GRAPH_ERROR"] = 78] = "NEXUS_GRAPH_ERROR";
199
+ ExitCode[ExitCode["NEXUS_IMPACT_CRITICAL"] = 79] = "NEXUS_IMPACT_CRITICAL";
200
+ ExitCode[ExitCode["LIFECYCLE_GATE_FAILED"] = 80] = "LIFECYCLE_GATE_FAILED";
201
+ ExitCode[ExitCode["AUDIT_MISSING"] = 81] = "AUDIT_MISSING";
202
+ ExitCode[ExitCode["CIRCULAR_VALIDATION"] = 82] = "CIRCULAR_VALIDATION";
203
+ ExitCode[ExitCode["LIFECYCLE_TRANSITION_INVALID"] = 83] = "LIFECYCLE_TRANSITION_INVALID";
204
+ ExitCode[ExitCode["PROVENANCE_REQUIRED"] = 84] = "PROVENANCE_REQUIRED";
205
+ ExitCode[ExitCode["ARTIFACT_TYPE_UNKNOWN"] = 85] = "ARTIFACT_TYPE_UNKNOWN";
206
+ ExitCode[ExitCode["ARTIFACT_VALIDATION_FAILED"] = 86] = "ARTIFACT_VALIDATION_FAILED";
207
+ ExitCode[ExitCode["ARTIFACT_BUILD_FAILED"] = 87] = "ARTIFACT_BUILD_FAILED";
208
+ ExitCode[ExitCode["ARTIFACT_PUBLISH_FAILED"] = 88] = "ARTIFACT_PUBLISH_FAILED";
209
+ ExitCode[ExitCode["ARTIFACT_ROLLBACK_FAILED"] = 89] = "ARTIFACT_ROLLBACK_FAILED";
210
+ ExitCode[ExitCode["PROVENANCE_CONFIG_INVALID"] = 90] = "PROVENANCE_CONFIG_INVALID";
211
+ ExitCode[ExitCode["SIGNING_KEY_MISSING"] = 91] = "SIGNING_KEY_MISSING";
212
+ ExitCode[ExitCode["SIGNATURE_INVALID"] = 92] = "SIGNATURE_INVALID";
213
+ ExitCode[ExitCode["DIGEST_MISMATCH"] = 93] = "DIGEST_MISMATCH";
214
+ ExitCode[ExitCode["ATTESTATION_INVALID"] = 94] = "ATTESTATION_INVALID";
215
+ ExitCode[ExitCode["ADAPTER_NOT_FOUND"] = 95] = "ADAPTER_NOT_FOUND";
216
+ ExitCode[ExitCode["ADAPTER_INIT_FAILED"] = 96] = "ADAPTER_INIT_FAILED";
217
+ ExitCode[ExitCode["ADAPTER_HOOK_FAILED"] = 97] = "ADAPTER_HOOK_FAILED";
218
+ ExitCode[ExitCode["ADAPTER_SPAWN_FAILED"] = 98] = "ADAPTER_SPAWN_FAILED";
219
+ ExitCode[ExitCode["ADAPTER_INSTALL_FAILED"] = 99] = "ADAPTER_INSTALL_FAILED";
220
+ ExitCode[ExitCode["NO_DATA"] = 100] = "NO_DATA";
221
+ ExitCode[ExitCode["ALREADY_EXISTS"] = 101] = "ALREADY_EXISTS";
222
+ ExitCode[ExitCode["NO_CHANGE"] = 102] = "NO_CHANGE";
223
+ ExitCode[ExitCode["TESTS_SKIPPED"] = 103] = "TESTS_SKIPPED";
224
+ /**
225
+ * E_DUPLICATE_TASK_LIKELY — `cleo add` was rejected because the new task's
226
+ * title and description are semantically very similar (score >= 0.92) to one
227
+ * or more active tasks detected by BRAIN-powered duplicate detection.
228
+ *
229
+ * Pass `--force-duplicate` to bypass; the bypass is audited to
230
+ * `.cleo/audit/duplicate-bypass.jsonl` (ADR-051 pattern).
231
+ *
232
+ * @epic T1627
233
+ * @task T1633
234
+ */
235
+ ExitCode[ExitCode["DUPLICATE_TASK_LIKELY"] = 105] = "DUPLICATE_TASK_LIKELY";
236
+ /**
237
+ * E_LAFS_VIOLATION — CLI output did not conform to the LAFS envelope
238
+ * schema. Emitted by the CLI renderer middleware when `zod.parse()` on
239
+ * the emitted envelope fails. This is an INTERNAL failure: CLEO itself
240
+ * produced a malformed envelope.
241
+ *
242
+ * @task Phase 6 — LAFS formalization + schema consolidation
243
+ */
244
+ ExitCode[ExitCode["LAFS_VIOLATION"] = 104] = "LAFS_VIOLATION";
245
+ /**
246
+ * E_DECISION_VALIDATOR_FAILED — An ADR-typed decision write was rejected
247
+ * by the LLM conflict-validator hook because the overall confidence score
248
+ * fell below the configured threshold (`decisions.validatorConfidenceThreshold`,
249
+ * default 0.7).
250
+ *
251
+ * The validator checks for collision, contradiction, and supersession-graph
252
+ * integrity before allowing the write to proceed. Callers should inspect
253
+ * the error message for the specific violation details and either:
254
+ * (a) revise the decision / rationale to resolve conflicts, or
255
+ * (b) explicitly supersede the conflicting entry via `supersedes:` param.
256
+ *
257
+ * @task T1828
258
+ */
259
+ ExitCode[ExitCode["DECISION_VALIDATOR_FAILED"] = 106] = "DECISION_VALIDATOR_FAILED";
260
+ /**
261
+ * Lead session attempted to end without delegating any work — `delegate_task_count=0`
262
+ * with `tasks_completed > 0`. Leads MUST fan out to Workers (T9230 / ADR-070).
263
+ * @codeName E_LEAD_BYPASS_DETECTED
264
+ * @task T9230
265
+ */
266
+ ExitCode[ExitCode["LEAD_BYPASS_DETECTED"] = 107] = "LEAD_BYPASS_DETECTED";
267
+ /**
268
+ * `cleo complete <tid>` was rejected because one or more acceptance criteria
269
+ * on the task have no `evidence_ac_bindings` rows pointing at them. The
270
+ * coverage gate is the load-bearing IVTR closure piece — every AC the task
271
+ * declared MUST be backed by a `direct`, `satisfies`, or `coverage` binding
272
+ * before completion is allowed.
273
+ *
274
+ * `error.details.unsatisfied` carries the list of offending ACs (each row
275
+ * has `acId`, `alias` (`AC<n>`), and `text`). Recovery options:
276
+ * 1. Add programmatic evidence that resolves the AC via `cleo verify` so
277
+ * a binding row is written.
278
+ * 2. Pass `--waive-ac "<csv>" --waive-reason "<text>"` on `cleo complete`
279
+ * to record an audited waiver (`.cleo/audit/ac-waiver.jsonl`).
280
+ * 3. Set `CLEO_OWNER_OVERRIDE=1` + `CLEO_OWNER_OVERRIDE_REASON=<text>` for
281
+ * a full bypass (logged to `.cleo/audit/force-bypass.jsonl`).
282
+ *
283
+ * @codeName E_AC_COVERAGE_INCOMPLETE
284
+ * @task T10509
285
+ * @saga T10377 (SG-IVTR-AC-BINDING)
286
+ * @adr ADR-079-r4
287
+ */
288
+ ExitCode[ExitCode["AC_COVERAGE_INCOMPLETE"] = 108] = "AC_COVERAGE_INCOMPLETE";
289
+ /**
290
+ * E_CANCELLED_CHILD_NO_WAIVER — `cleo complete <parentId>` was rejected
291
+ * because the parent has one or more `cancelled` children that have NOT been
292
+ * waived or replaced. A cancelled child represents work that was NOT done;
293
+ * silently treating it as satisfied lets a parent complete as if cancelled
294
+ * work had shipped (PM-Core V2 design-point 4 — agent-trust completion).
295
+ *
296
+ * `error.details.cancelledChildIds` lists the offending children. Recovery:
297
+ * 1. Record an audited waiver for the cancelled children via
298
+ * `cleo complete <parentId> --waive-cancelled-children "<reason>"`
299
+ * (logged to `.cleo/audit/cancelled-child-waiver.jsonl`).
300
+ * 2. Re-open and finish the work (the child stops being cancelled).
301
+ * 3. Replace the cancelled work with a new done child and waive the
302
+ * original, citing the replacement task id in the reason.
303
+ *
304
+ * @codeName E_CANCELLED_CHILD_NO_WAIVER
305
+ * @saga T10538 (PM-Core V2 agent-trust)
306
+ */
307
+ ExitCode[ExitCode["CANCELLED_CHILD_NO_WAIVER"] = 109] = "CANCELLED_CHILD_NO_WAIVER";
308
+ /**
309
+ * E_OBSERVE_NOT_STORED — `cleo memory observe` stored nothing: the
310
+ * extraction gate merged the text into an existing entry (a duplicate),
311
+ * deferred it or rejected it.
312
+ *
313
+ * `error.details.id` names the existing entry for a duplicate, so a script
314
+ * can treat this code as "already known" and keep that id.
315
+ *
316
+ * @codeName E_OBSERVE_NOT_STORED
317
+ * @task T13949
318
+ */
319
+ ExitCode[ExitCode["OBSERVE_NOT_STORED"] = 110] = "OBSERVE_NOT_STORED";
320
+ /**
321
+ * E_NEXUS_INDEX_STALE — a `cleo nexus` graph answer was refused because the
322
+ * index trails the checked-out HEAD by more than
323
+ * `nexus.freshness.maxCommitsBehind`, or the queried symbol is missing from
324
+ * an index that is stale for this checkout. `error.fix` names the reindex command; `--allow-stale` (or
325
+ * `CLEO_NEXUS_ALLOW_STALE=1`) accepts the stale answer.
326
+ *
327
+ * @codeName E_NEXUS_INDEX_STALE
328
+ * @task T14008
329
+ */
330
+ ExitCode[ExitCode["NEXUS_INDEX_STALE"] = 111] = "NEXUS_INDEX_STALE";
331
+ })(ExitCode || (ExitCode = {}));
332
+ //#endregion
333
+ //#region ../contracts/dist/errors.js
334
+ /**
335
+ * Extract a human-readable message from any error value.
336
+ *
337
+ * Safe to use on unknown thrown values without type guards.
338
+ *
339
+ * @param error - The error value
340
+ * @param fallback - Fallback message if extraction fails
341
+ * @returns The error message string
342
+ *
343
+ * @remarks
344
+ * Inspects the value for an `Error` instance, a plain string, or an object
345
+ * with a `message` property before falling back to the provided default.
346
+ *
347
+ * @example
348
+ * ```typescript
349
+ * const message = getErrorMessage(err, 'Unknown error');
350
+ * ```
351
+ */
352
+ function getErrorMessage(error, fallback = "Unknown error") {
353
+ if (error instanceof Error) return error.message;
354
+ if (typeof error === "string") return error;
355
+ if (error !== null && typeof error === "object" && "message" in error && typeof error.message === "string") return error.message;
356
+ return fallback;
357
+ }
358
+
359
+ export { getErrorMessage as g };
360
+ //# sourceMappingURL=errors-CbKNtzWS.js.map
@@ -1,4 +1,4 @@
1
- import { O as OPERATIONS$1 } from './operations-registry-C_x34kYM.js';
1
+ import { O as OPERATIONS$1 } from './operations-registry-DPL0JZAc.js';
2
2
  import '@cleocode/core';
3
3
  import '@cleocode/core/memory/brain-writer-thread';
4
4
  import 'path';
@@ -108,4 +108,4 @@ function createSseStream(source, signal) {
108
108
  }
109
109
 
110
110
  export { SSE_HEADERS as S, encodeStreamEvent as a, createSseStream as c, encodeSseFrame as e };
111
- //# sourceMappingURL=http-CQioSYsK.js.map
111
+ //# sourceMappingURL=http-DcRPuXuV.js.map
@@ -1430,7 +1430,7 @@ var options = {
1430
1430
  app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"en\" data-theme=\"dark\">\n <head>\n <meta charset=\"utf-8\" />\n <link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <meta name=\"color-scheme\" content=\"dark\" />\n <title>CLEO Studio</title>\n " + head + "\n </head>\n <body class=\"cleo-root\" data-sveltekit-preload-data=\"hover\">\n <div style=\"display: contents\">" + body + "</div>\n </body>\n</html>\n",
1431
1431
  error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <title>" + message + "</title>\n\n <style>\n body {\n --bg: white;\n --fg: #222;\n --divider: #ccc;\n background: var(--bg);\n color: var(--fg);\n font-family:\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n Roboto,\n Oxygen,\n Ubuntu,\n Cantarell,\n 'Open Sans',\n 'Helvetica Neue',\n sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100vh;\n margin: 0;\n }\n\n .error {\n display: flex;\n align-items: center;\n max-width: 32rem;\n margin: 0 1rem;\n }\n\n .status {\n font-weight: 200;\n font-size: 3rem;\n line-height: 1;\n position: relative;\n top: -0.05rem;\n }\n\n .message {\n border-left: 1px solid var(--divider);\n padding: 0 0 0 1rem;\n margin: 0 0 0 1rem;\n min-height: 2.5rem;\n display: flex;\n align-items: center;\n }\n\n .message h1 {\n font-weight: 400;\n font-size: 1em;\n margin: 0;\n }\n\n @media (prefers-color-scheme: dark) {\n body {\n --bg: #222;\n --fg: #ddd;\n --divider: #666;\n }\n }\n </style>\n </head>\n <body>\n <div class=\"error\">\n <span class=\"status\">" + status + "</span>\n <div class=\"message\">\n <h1>" + message + "</h1>\n </div>\n </div>\n </body>\n</html>\n"
1432
1432
  },
1433
- version_hash: "1u71hfa"
1433
+ version_hash: "1tu5gn1"
1434
1434
  };
1435
1435
  async function get_hooks() {
1436
1436
  let handle;
@@ -1453,4 +1453,4 @@ async function get_hooks() {
1453
1453
  }
1454
1454
 
1455
1455
  export { stringify as A, make_trackable as B, stringify$1 as C, read_implementation as D, split_remote_key as E, set_read_implementation as F, IN_WEBCONTAINER as I, NULL_BODY_STATUS as N, TRAILING_SLASH_PARAM as T, get_message as a, get_hooks as b, coalesce_to_error as c, INVALIDATED_PARAM as d, decode_pathname as e, find_route as f, get_status as g, normalize_path as h, disable_search as i, validate_layout_exports as j, validate_page_server_exports as k, validate_page_exports as l, merge_tracing as m, noop as n, options as o, parse as p, noop_span as q, create_remote_key as r, hash as s, compact as t, once as u, validate_layout_server_exports as v, with_request_store as w, normalize_error as x, resolve as y, parse_remote_arg as z };
1456
- //# sourceMappingURL=internal-qWV_lqaN.js.map
1456
+ //# sourceMappingURL=internal-CWvXHt7s.js.map