@cleocode/cleo 2026.10.27-rc.ci.698 → 2026.11.1-canary.2
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.
- package/dist/.source-stamp.json +4 -0
- package/dist/cli/{adapter-ZIB3OAPD.js → adapter-DG2SEXUO.js} +3 -3
- package/dist/cli/{add-TBJUMJW7.js → add-AMFBHFDV.js} +3 -3
- package/dist/cli/{add-batch-GGKVPTS5.js → add-batch-VOB72ZFB.js} +3 -3
- package/dist/cli/{admin-NGPG2LSO.js → admin-ENYHUNBS.js} +3 -3
- package/dist/cli/{admin-PEYBYMZN.js → admin-KEAEREQO.js} +15 -5
- package/dist/cli/{adr-2XVNDYZ7.js → adr-CBMIVBG2.js} +3 -3
- package/dist/cli/{analyze-A44RDCSX.js → analyze-MM2IHHTY.js} +3 -3
- package/dist/cli/{archive-QQB6M2RF.js → archive-6BHTE7TX.js} +3 -3
- package/dist/cli/{archive-stats-K4YKKYQV.js → archive-stats-ZOFY2YNK.js} +3 -3
- package/dist/cli/{attention-KAHDF6KD.js → attention-RE77HDUM.js} +3 -3
- package/dist/cli/{backup-IYFULQTM.js → backup-RIV7X622.js} +6 -5
- package/dist/cli/{blockers-KYNJJKZQ.js → blockers-WAI3SFV4.js} +3 -3
- package/dist/cli/{briefing-J6PDDZ2C.js → briefing-KZOICDXX.js} +3 -3
- package/dist/cli/{cancel-A4OCUVDI.js → cancel-4T3T6JT4.js} +3 -3
- package/dist/cli/{chunk-SXXOC6KZ.js → canon-docs-ZXWC4AFI.js} +51 -4
- package/dist/cli/{check-ZT6O5JDS.js → check-X5OV6U7U.js} +8 -12
- package/dist/cli/{check-HHT4J5ZM.js → check-XK6RXMFT.js} +3 -3
- package/dist/cli/{chunk-TUUKU4H7.js → chunk-5AL6B3J2.js} +7 -3
- package/dist/cli/{owner-override-cap-53HYZHIL.js → chunk-6C5X2J6S.js} +3 -2
- package/dist/cli/{chunk-PGR4RWQL.js → chunk-7YXILGEA.js} +2 -2
- package/dist/cli/{chunk-JRDAITPC.js → chunk-HFB4FPLA.js} +12 -12
- package/dist/cli/{chunk-OIS3BDSL.js → chunk-N3CEB7IU.js} +2 -2
- package/dist/cli/chunk-RYGY5LG4.js +89 -0
- package/dist/cli/{claim-MFFSWD64.js → claim-K5UMNF55.js} +3 -3
- package/dist/cli/{cli-5PJ2B6ZH.js → cli-EPAZQQOF.js} +3 -3
- package/dist/cli/{complete-2IN4YEWL.js → complete-OFIIUOEY.js} +4 -4
- package/dist/cli/{complexity-JVEIZE5M.js → complexity-H26U2QOX.js} +3 -3
- package/dist/cli/{compliance-MC3X2M34.js → compliance-VIA5PZ5R.js} +3 -3
- package/dist/cli/{conduit-XYYPJYUF.js → conduit-TKGCVRHB.js} +3 -3
- package/dist/cli/{config-Z5BXGRZB.js → config-EJ6VVCKX.js} +5 -5
- package/dist/cli/{consensus-T6UARQTD.js → consensus-ZSGZX7L7.js} +3 -3
- package/dist/cli/{context-M4F3YXZE.js → context-IBMFZA3M.js} +3 -3
- package/dist/cli/{contribution-76FJYJKR.js → contribution-VIZLVDNF.js} +3 -3
- package/dist/cli/{current-EFRCVSWL.js → current-OOPMJS6P.js} +3 -3
- package/dist/cli/{daemon-UAAMDN6C.js → daemon-B3YLFQHS.js} +3 -3
- package/dist/cli/{dash-ZEBYLYPV.js → dash-NPMLI7UK.js} +3 -3
- package/dist/cli/{decompose-XTK2DXSM.js → decompose-E245QWNE.js} +3 -3
- package/dist/cli/{decomposition-ZDACSPOU.js → decomposition-WIQ6INOS.js} +3 -3
- package/dist/cli/{delete-6YZADILS.js → delete-B2RR556E.js} +3 -3
- package/dist/cli/{deps-WTASB2GB.js → deps-FFNX2XN3.js} +3 -3
- package/dist/cli/{detect-IITE5EBW.js → detect-KDRXLJWQ.js} +3 -3
- package/dist/cli/{diagnostics-MFUOSLSQ.js → diagnostics-7CC55S3O.js} +3 -3
- package/dist/cli/{docs-AIZLN3ZE.js → docs-56FESINI.js} +134 -92
- package/dist/cli/{docs-NF5COLOB.js → docs-HOAUXIRZ.js} +133 -14
- package/dist/cli/{doctor-4DWCNDOP.js → doctor-4GX4L5UU.js} +9 -4
- package/dist/cli/{doctor-tool-locks-VXKJZKAY.js → doctor-tool-locks-3ZT2LXRY.js} +2 -2
- package/dist/cli/{canon-docs-2GTOLF7Y.js → doctor-type-matrix-DD233VK2.js} +8 -8
- package/dist/cli/{done-A7ITQSJT.js → done-QS7QSMQN.js} +73 -5
- package/dist/cli/{export-OTDQUAQQ.js → export-GKDTJMJQ.js} +3 -3
- package/dist/cli/{export-tasks-BKVXMFLD.js → export-tasks-DY2KH6PM.js} +3 -3
- package/dist/cli/{find-BWKYKZEN.js → find-LZS55M3I.js} +3 -3
- package/dist/cli/{focus-772SYK7Z.js → focus-EWBOWGC6.js} +3 -3
- package/dist/cli/{goal-TG74GKBK.js → goal-IIV76STG.js} +2 -2
- package/dist/cli/{grade-BZYBWDA7.js → grade-U7WCOFGN.js} +3 -3
- package/dist/cli/{graph-LB2TBRH6.js → graph-QWKRRCDD.js} +3 -3
- package/dist/cli/{history-XIYAXOUF.js → history-IEPFGAUQ.js} +3 -3
- package/dist/cli/{import-C2QISQC7.js → import-7O3BUOY4.js} +3 -3
- package/dist/cli/{import-tasks-P6FYXAAS.js → import-tasks-4KTKM7D5.js} +3 -3
- package/dist/cli/index.js +140 -103
- package/dist/cli/{inject-EDZVSPTW.js → inject-DADRRGXR.js} +3 -3
- package/dist/cli/{intelligence-OE7SIVR5.js → intelligence-QDTM2EX2.js} +3 -3
- package/dist/cli/{issue-S67EZXN7.js → issue-J7P2DNXC.js} +3 -3
- package/dist/cli/{labels-M7GIBYAQ.js → labels-MMXU55EP.js} +3 -3
- package/dist/cli/{lifecycle-NO5QDJ2J.js → lifecycle-FYA3POCM.js} +3 -3
- package/dist/cli/{list-VH6DPZ4V.js → list-KOHCHASA.js} +3 -3
- package/dist/cli/{llm-P35U52I5.js → llm-KOYHCBQH.js} +3 -3
- package/dist/cli/{log-XIPOX6UM.js → log-YP4H4AC6.js} +3 -3
- package/dist/cli/{manifest-A5F2YD35.js → manifest-M65CBVMQ.js} +3 -3
- package/dist/cli/{map-AOMU72RY.js → map-P6XIYLGM.js} +3 -3
- package/dist/cli/{memory-GK5WDYWT.js → memory-BJU2327X.js} +2 -2
- package/dist/cli/{memory-4WNZWJG7.js → memory-JQP3IPVA.js} +3 -3
- package/dist/cli/{migrate-claude-mem-OTSYHYBZ.js → migrate-claude-mem-7CTLN7GB.js} +3 -3
- package/dist/cli/{next-YUZ4X7NB.js → next-6NFF7HWH.js} +3 -3
- package/dist/cli/{nexus-RYH4IAG3.js → nexus-2S4ZWFAK.js} +2 -2
- package/dist/cli/{nexus-YHPP3RZU.js → nexus-UJPUET3K.js} +23 -15
- package/dist/cli/{ops-XPJK3WBN.js → ops-KE27PJVV.js} +3 -3
- package/dist/cli/{orchestrate-AYBDAVOQ.js → orchestrate-PQTIILHP.js} +2 -2
- package/dist/cli/{orchestrate-TWV43SAR.js → orchestrate-VK6MOSKX.js} +3 -3
- package/dist/cli/owner-override-cap-3B7UXQXA.js +29 -0
- package/dist/cli/{phase-CFH2NZU5.js → phase-GEX6VL47.js} +3 -3
- package/dist/cli/{pipeline-LW5HWLBI.js → pipeline-DUN63YOQ.js} +2 -2
- package/dist/cli/{pivot-LEBKDG22.js → pivot-DPRA43KL.js} +3 -3
- package/dist/cli/{plan-6VK5I4BT.js → plan-RGACSVCS.js} +3 -3
- package/dist/cli/{playbook-4GKDYZYW.js → playbook-ER2NXMCT.js} +3 -3
- package/dist/cli/{promote-4V4ZLAL3.js → promote-BIZDTTBH.js} +3 -3
- package/dist/cli/{provenance-2SFRY42O.js → provenance-FIINGMVN.js} +3 -3
- package/dist/cli/{provider-G6MBFVHR.js → provider-PJ7BG4LO.js} +3 -3
- package/dist/cli/{reason-2AYZ6SGZ.js → reason-4SH3OF2O.js} +3 -3
- package/dist/cli/{reconcile-7CBD7AHH.js → reconcile-ZSFETNAY.js} +3 -3
- package/dist/cli/{relates-FP43JAOK.js → relates-FXHIOAAM.js} +3 -3
- package/dist/cli/{release-NW7XHRVB.js → release-AMRAT2PE.js} +128 -3
- package/dist/cli/{release-OWPFPUQG.js → release-VUCVEZXA.js} +78 -3
- package/dist/cli/release-authorize-IV4MF6OV.js +84 -0
- package/dist/cli/{reorder-M457CQRR.js → reorder-MKO63DJV.js} +3 -3
- package/dist/cli/{reparent-53T6IUUS.js → reparent-LWWKDESX.js} +3 -3
- package/dist/cli/{req-ORMMU5PV.js → req-3V4FLQGJ.js} +3 -3
- package/dist/cli/{research-LFGCGIEP.js → research-ACQIAOKO.js} +3 -3
- package/dist/cli/{restore-ZYRIZQUJ.js → restore-DQDE4Q5N.js} +3 -3
- package/dist/cli/review-2VXZEKW6.js +131 -0
- package/dist/cli/{roadmap-EK6LXBQ4.js → roadmap-RJP3DGOE.js} +3 -3
- package/dist/cli/{run-PZJCIRFD.js → run-SUK5J7SL.js} +42 -2
- package/dist/cli/{safestop-NO57J3RK.js → safestop-A55EIVTT.js} +3 -3
- package/dist/cli/{saga-NIJMIJE5.js → saga-D5ZHKWK3.js} +3 -3
- package/dist/cli/{selfimprove-6HSEV3RG.js → selfimprove-3RFOSFEY.js} +3 -3
- package/dist/cli/{selfimprove-IYKG5PF4.js → selfimprove-V3J63HFW.js} +2 -2
- package/dist/cli/{sequence-T42KPEEQ.js → sequence-67LSEZXS.js} +3 -3
- package/dist/cli/{service-CBEZWGHC.js → service-3HF5T3FK.js} +3 -3
- package/dist/cli/{session-TFVW42XK.js → session-NZI7KLAG.js} +2 -2
- package/dist/cli/{session-XDADM7O4.js → session-O7WQZ3FC.js} +3 -3
- package/dist/cli/{show-I2TEU6MP.js → show-ZGPWZ5K7.js} +3 -3
- package/dist/cli/{skills-ZBYRPFRL.js → skills-QEDUL5OK.js} +3 -3
- package/dist/cli/{snapshot-GMN7LZ4A.js → snapshot-2L56HYDV.js} +3 -3
- package/dist/cli/{start-FQWDRGJE.js → start-7LUSXQIY.js} +3 -3
- package/dist/cli/{stats-D2AU77GH.js → stats-QMT2U6UV.js} +3 -3
- package/dist/cli/{sticky-FKZFQYNV.js → sticky-P7ZQNJOY.js} +3 -3
- package/dist/cli/{stop-ZCL7RZPH.js → stop-7PQWX343.js} +3 -3
- package/dist/cli/{sync-WM4JLGXF.js → sync-BRLFSZLJ.js} +3 -3
- package/dist/cli/{tasks-54WNYQZS.js → tasks-AMX5BNT6.js} +3 -3
- package/dist/cli/{tasks-RU6AAJKD.js → tasks-RTGNQOSH.js} +2 -2
- package/dist/cli/{testing-S7FCPHW5.js → testing-WKWDA2VL.js} +3 -3
- package/dist/cli/{token-BDRGEO3E.js → token-ECWD4DBT.js} +3 -3
- package/dist/cli/{update-BD77ORMO.js → update-AJYEZD5C.js} +3 -3
- package/dist/cli/{verify-VOJRQQE2.js → verify-XLJ7RTFB.js} +4 -4
- package/dist/cli/{worktree-2HHJT5BS.js → worktree-AFGKXSPR.js} +3 -3
- package/package.json +16 -13
- package/studio-dist/client/_app/immutable/chunks/{CwQ8nAoh.js → Btz0tQqj.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/CPIhpiGj.js +1 -0
- package/studio-dist/client/_app/immutable/chunks/{Js_lZuOv.js → D6qKHbA2.js} +1 -1
- package/studio-dist/client/_app/immutable/chunks/{Dv66614U.js → RdpDuuJu.js} +1 -1
- package/studio-dist/client/_app/immutable/entry/{app.C2oQiIiz.js → app.DT5LX-9S.js} +2 -2
- package/studio-dist/client/_app/immutable/entry/start.Xnwi6D3w.js +1 -0
- package/studio-dist/client/_app/immutable/nodes/{0.DaE6eVaG.js → 0.Cu0XAzuX.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{1.D0Mb3i_7.js → 1.Bo7-qoq9.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{15.ChRO-4dz.js → 15.CeLncxci.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{16.fltF2wse.js → 16.ECAaVAgD.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{17.DnYjMhyj.js → 17.DmaoWxRR.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{18.DYVIAC9a.js → 18.DxeHl5QX.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{20.CVBcbjBW.js → 20.COjwnX-m.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{24.Bfswm8Y5.js → 24.CkYJs7KO.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/25.tPoDyB6K.js +39 -0
- package/studio-dist/client/_app/immutable/nodes/{26.D3RoTHoD.js → 26.CYF2cRZS.js} +1 -1
- package/studio-dist/client/_app/immutable/nodes/{3.ezhkaJvt.js → 3.085mGQcP.js} +1 -1
- package/studio-dist/client/_app/version.json +1 -1
- package/studio-dist/server/chunks/{0-BKQLYEeE.js → 0-CMBufzu-.js} +3 -3
- package/studio-dist/server/chunks/1-CtcXfgeh.js +9 -0
- package/studio-dist/server/chunks/{15-DuSvkmiZ.js → 15-3YhTbrvk.js} +3 -3
- package/studio-dist/server/chunks/{16-DJVePzvS.js → 16-CSecxIh7.js} +3 -3
- package/studio-dist/server/chunks/{17-D8K9-EPJ.js → 17-CeIfhqmH.js} +3 -3
- package/studio-dist/server/chunks/{18-D5FUPGnv.js → 18-DQjD_dVK.js} +3 -3
- package/studio-dist/server/chunks/{20-CmHgNZFV.js → 20-BcSZ8IZV.js} +3 -3
- package/studio-dist/server/chunks/{24-CfuHWHgd.js → 24-BdooKWYf.js} +3 -3
- package/studio-dist/server/chunks/{25-bm3BDSum.js → 25-C7Mrt_ZY.js} +201 -6
- package/studio-dist/server/chunks/{26-DRlhAbrf.js → 26-BZvP7L0W.js} +3 -3
- package/studio-dist/server/chunks/{3-BrE1-gTA.js → 3-OZioTEgm.js} +3 -3
- package/studio-dist/server/chunks/{_layout.svelte-BeqNMCvk.js → _layout.svelte-DD9NUkp3.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-CJVF_ySt.js → _page.svelte-BaRJl2wA.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-DM-MP-Vl.js → _page.svelte-C132GXE8.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-Ds0GMs_q.js → _page.svelte-C1OCI1HJ.js} +4 -4
- package/studio-dist/server/chunks/{_page.svelte-DnmZYECG.js → _page.svelte-CkCxe4CP.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-V7BTZinR.js → _page.svelte-D74SMLO2.js} +6 -6
- package/studio-dist/server/chunks/{_page.svelte-B7xxx6BP.js → _page.svelte-DokPLKF3.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-DIx7Hcw-.js → _page.svelte-X5UYq87e.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-CkXCx1iz.js → _page.svelte-kmz8T3zl.js} +3 -3
- package/studio-dist/server/chunks/{_page.svelte-Bchzzf-O.js → _page.svelte-tr7JTALw.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-Ck-oreiA.js → _server.ts-BBKnsrJQ.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-Cd_KHxRr.js → _server.ts-BPhofOwJ.js} +2 -2
- package/studio-dist/server/chunks/{_server.ts-b2YIpIsi.js → _server.ts-CYudVzjN.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-DdCviCsN.js → _server.ts-CuZllzdA.js} +3 -3
- package/studio-dist/server/chunks/{_server.ts-YtGAClvW.js → _server.ts-DdRUhbRy.js} +3 -3
- package/studio-dist/server/chunks/{client-DR3j81J8.js → client-Bzj70t1H.js} +2 -2
- package/studio-dist/server/chunks/{error.svelte-NY-X_Qdt.js → error.svelte-CtgEIltc.js} +3 -3
- package/studio-dist/server/chunks/{http-Dz72j56i.js → http-DhvqcYGu.js} +2 -2
- package/studio-dist/server/chunks/{internal-y7btLoII.js → internal-jhq9gXru.js} +2 -2
- package/studio-dist/server/chunks/{operations-registry-DKEHmggR.js → operations-registry-DggYPK_D.js} +177 -1
- package/studio-dist/server/chunks/{stores-Cm-Qj76R.js → stores-CdLD7i4a.js} +2 -2
- package/studio-dist/server/index.js +1 -1
- package/studio-dist/server/manifest.js +17 -17
- package/studio-dist/client/_app/immutable/chunks/BXnpxR_0.js +0 -1
- package/studio-dist/client/_app/immutable/entry/start.BolRa540.js +0 -1
- package/studio-dist/client/_app/immutable/nodes/25.B_7VqHJ6.js +0 -39
- package/studio-dist/server/chunks/1-ClOr3JN3.js +0 -9
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-YY66LFZF.js";
|
|
19
19
|
import {
|
|
20
20
|
dispatchFromCli
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-N3CEB7IU.js";
|
|
22
22
|
import "./chunk-6N6WGLXE.js";
|
|
23
23
|
import "./chunk-4VASFLUW.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-
|
|
31
|
+
import "./chunk-HFB4FPLA.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-
|
|
159
|
+
//# sourceMappingURL=adapter-DG2SEXUO.js.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
dispatchRaw,
|
|
21
21
|
handleRawError,
|
|
22
22
|
maybeEmitDescribe
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-N3CEB7IU.js";
|
|
24
24
|
import "./chunk-6N6WGLXE.js";
|
|
25
25
|
import "./chunk-4VASFLUW.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-
|
|
39
|
+
import "./chunk-HFB4FPLA.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-
|
|
443
|
+
//# sourceMappingURL=add-AMFBHFDV.js.map
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
dispatchRaw,
|
|
21
21
|
maybeEmitDescribe
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-N3CEB7IU.js";
|
|
23
23
|
import "./chunk-6N6WGLXE.js";
|
|
24
24
|
import "./chunk-4VASFLUW.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-
|
|
35
|
+
import "./chunk-HFB4FPLA.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-
|
|
164
|
+
//# sourceMappingURL=add-batch-VOB72ZFB.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-N3CEB7IU.js";
|
|
19
19
|
import "./chunk-6N6WGLXE.js";
|
|
20
20
|
import "./chunk-4VASFLUW.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-
|
|
31
|
+
import "./chunk-HFB4FPLA.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-
|
|
352
|
+
//# sourceMappingURL=admin-ENYHUNBS.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-4VASFLUW.js";
|
|
19
19
|
import {
|
|
20
20
|
lazyOperation
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HFB4FPLA.js";
|
|
22
22
|
import {
|
|
23
23
|
defineTypedHandler,
|
|
24
24
|
lafsError,
|
|
@@ -35,6 +35,7 @@ import {
|
|
|
35
35
|
} from "./chunk-XD25OCUE.js";
|
|
36
36
|
|
|
37
37
|
// packages/cleo/src/dispatch/domains/admin.ts
|
|
38
|
+
import { join } from "node:path";
|
|
38
39
|
import { computeHelp } from "@cleocode/core/admin/help";
|
|
39
40
|
import { getContextWindow } from "@cleocode/core/context/index";
|
|
40
41
|
import { configDomainHandler } from "@cleocode/core/dispatch/config-domain-handler";
|
|
@@ -194,7 +195,7 @@ var SMOKE_PROBES = [
|
|
|
194
195
|
{ domain: "adapter", operation: "list" }
|
|
195
196
|
];
|
|
196
197
|
async function runSystemSmoke() {
|
|
197
|
-
const { dispatchRaw } = await import("./cli-
|
|
198
|
+
const { dispatchRaw } = await import("./cli-EPAZQQOF.js");
|
|
198
199
|
const totalStart = Date.now();
|
|
199
200
|
const probes = [];
|
|
200
201
|
for (const probe of SMOKE_PROBES) {
|
|
@@ -993,8 +994,17 @@ var _adminTypedHandler = defineTypedHandler("admin", {
|
|
|
993
994
|
}
|
|
994
995
|
}
|
|
995
996
|
try {
|
|
996
|
-
const
|
|
997
|
-
const
|
|
997
|
+
const destination = params.destination;
|
|
998
|
+
const data = await systemCreateBackup(projectRoot, {
|
|
999
|
+
type: params.type,
|
|
1000
|
+
note: params.note,
|
|
1001
|
+
...destination ? { destination } : {}
|
|
1002
|
+
});
|
|
1003
|
+
const global = params.includeGlobal ? await createGlobalBackup({
|
|
1004
|
+
type: params.type,
|
|
1005
|
+
note: params.note,
|
|
1006
|
+
...destination ? { destination: join(destination, "global") } : {}
|
|
1007
|
+
}) : null;
|
|
998
1008
|
for (const failure of data.captureErrors ?? []) {
|
|
999
1009
|
pushWarning({
|
|
1000
1010
|
code: "W_BACKUP_CAPTURE_FAILED",
|
|
@@ -1456,4 +1466,4 @@ var AdminHandler = class {
|
|
|
1456
1466
|
export {
|
|
1457
1467
|
AdminHandler
|
|
1458
1468
|
};
|
|
1459
|
-
//# sourceMappingURL=admin-
|
|
1469
|
+
//# sourceMappingURL=admin-KEAEREQO.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-N3CEB7IU.js";
|
|
19
19
|
import "./chunk-6N6WGLXE.js";
|
|
20
20
|
import "./chunk-4VASFLUW.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-
|
|
29
|
+
import "./chunk-HFB4FPLA.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-
|
|
172
|
+
//# sourceMappingURL=adr-CBMIVBG2.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-N3CEB7IU.js";
|
|
19
19
|
import "./chunk-6N6WGLXE.js";
|
|
20
20
|
import "./chunk-4VASFLUW.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-
|
|
28
|
+
import "./chunk-HFB4FPLA.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-
|
|
49
|
+
//# sourceMappingURL=analyze-MM2IHHTY.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-N3CEB7IU.js";
|
|
19
19
|
import "./chunk-6N6WGLXE.js";
|
|
20
20
|
import "./chunk-4VASFLUW.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-
|
|
28
|
+
import "./chunk-HFB4FPLA.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-
|
|
65
|
+
//# sourceMappingURL=archive-6BHTE7TX.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-N3CEB7IU.js";
|
|
19
19
|
import "./chunk-6N6WGLXE.js";
|
|
20
20
|
import "./chunk-4VASFLUW.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-
|
|
28
|
+
import "./chunk-HFB4FPLA.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-
|
|
101
|
+
//# sourceMappingURL=archive-stats-ZOFY2YNK.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
dispatchFromCli,
|
|
19
19
|
dispatchRaw,
|
|
20
20
|
handleRawError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-N3CEB7IU.js";
|
|
22
22
|
import "./chunk-6N6WGLXE.js";
|
|
23
23
|
import "./chunk-4VASFLUW.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-
|
|
35
|
+
import "./chunk-HFB4FPLA.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-
|
|
168
|
+
//# sourceMappingURL=attention-RE77HDUM.js.map
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-YY66LFZF.js";
|
|
27
27
|
import {
|
|
28
28
|
dispatchFromCli
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-N3CEB7IU.js";
|
|
30
30
|
import {
|
|
31
31
|
CLEO_DIR_NAME,
|
|
32
32
|
CLI_GLOBAL_BACKUP_FILES,
|
|
@@ -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-
|
|
51
|
+
import "./chunk-HFB4FPLA.js";
|
|
52
52
|
|
|
53
53
|
// packages/cleo/src/cli/commands/backup.ts
|
|
54
54
|
import crypto from "node:crypto";
|
|
@@ -147,7 +147,7 @@ var addCommand = defineCommand({
|
|
|
147
147
|
args: {
|
|
148
148
|
destination: {
|
|
149
149
|
type: "string",
|
|
150
|
-
description: "
|
|
150
|
+
description: "Write the backup into this directory (global copy under <dir>/global) instead of the rotating backup dirs; it never rotates or is rotated (T13209)"
|
|
151
151
|
},
|
|
152
152
|
note: {
|
|
153
153
|
type: "string",
|
|
@@ -166,7 +166,8 @@ var addCommand = defineCommand({
|
|
|
166
166
|
{
|
|
167
167
|
type: "snapshot",
|
|
168
168
|
note: args.note ?? (args.destination ? `destination:${args.destination}` : void 0),
|
|
169
|
-
includeGlobal: args.global === true
|
|
169
|
+
includeGlobal: args.global === true,
|
|
170
|
+
...typeof args.destination === "string" ? { destination: args.destination } : {}
|
|
170
171
|
},
|
|
171
172
|
{ command: "backup" }
|
|
172
173
|
);
|
|
@@ -589,4 +590,4 @@ function sha256OfMachineKey(cleoHome) {
|
|
|
589
590
|
export {
|
|
590
591
|
backupCommand
|
|
591
592
|
};
|
|
592
|
-
//# sourceMappingURL=backup-
|
|
593
|
+
//# sourceMappingURL=backup-RIV7X622.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-N3CEB7IU.js";
|
|
19
19
|
import "./chunk-6N6WGLXE.js";
|
|
20
20
|
import "./chunk-4VASFLUW.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-
|
|
28
|
+
import "./chunk-HFB4FPLA.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-
|
|
55
|
+
//# sourceMappingURL=blockers-WAI3SFV4.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-YY66LFZF.js";
|
|
19
19
|
import {
|
|
20
20
|
dispatchFromCli
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-N3CEB7IU.js";
|
|
22
22
|
import "./chunk-6N6WGLXE.js";
|
|
23
23
|
import "./chunk-4VASFLUW.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-
|
|
34
|
+
import "./chunk-HFB4FPLA.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-
|
|
213
|
+
//# sourceMappingURL=briefing-KZOICDXX.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
dispatchFromCli
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-N3CEB7IU.js";
|
|
19
19
|
import "./chunk-6N6WGLXE.js";
|
|
20
20
|
import "./chunk-4VASFLUW.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-
|
|
28
|
+
import "./chunk-HFB4FPLA.js";
|
|
29
29
|
|
|
30
30
|
// packages/cleo/src/cli/commands/cancel.ts
|
|
31
31
|
var cancelCommand = defineCommand({
|
|
@@ -82,4 +82,4 @@ var cancelCommand = defineCommand({
|
|
|
82
82
|
export {
|
|
83
83
|
cancelCommand
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=cancel-
|
|
85
|
+
//# sourceMappingURL=cancel-4T3T6JT4.js.map
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
import { execFileSync } from "node:child_process";
|
|
19
19
|
import { existsSync, readFileSync } from "node:fs";
|
|
20
20
|
import { join, sep } from "node:path";
|
|
21
|
+
import {
|
|
22
|
+
checkDocNames,
|
|
23
|
+
readDocNameBaseline
|
|
24
|
+
} from "@cleocode/core/docs/doc-name-rule";
|
|
21
25
|
import { resolveCanonDocPathPolicy } from "@cleocode/core/session/canon-lint";
|
|
22
26
|
import { parse as parseYaml } from "yaml";
|
|
23
27
|
var CanonDocsDiffError = class extends Error {
|
|
@@ -67,6 +71,23 @@ function listAddedMarkdownFiles(projectRoot, baseRef) {
|
|
|
67
71
|
);
|
|
68
72
|
}
|
|
69
73
|
}
|
|
74
|
+
function listTrackedDocs(projectRoot) {
|
|
75
|
+
try {
|
|
76
|
+
const out = execFileSync("git", ["ls-files", "-z", "--", "docs"], {
|
|
77
|
+
cwd: projectRoot,
|
|
78
|
+
encoding: "utf8",
|
|
79
|
+
stdio: ["pipe", "pipe", "pipe"],
|
|
80
|
+
timeout: 3e4
|
|
81
|
+
});
|
|
82
|
+
return out.split("\0").filter((line) => line.length > 0);
|
|
83
|
+
} catch (error) {
|
|
84
|
+
throw new CanonDocsDiffError(
|
|
85
|
+
projectRoot,
|
|
86
|
+
"HEAD",
|
|
87
|
+
error instanceof Error ? error : new Error(String(error))
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
70
91
|
function validateCanonRegistry(raw, source) {
|
|
71
92
|
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) {
|
|
72
93
|
throw new Error(`${source}: top-level value must be an object`);
|
|
@@ -167,7 +188,7 @@ function loadCanonRegistry(projectRoot) {
|
|
|
167
188
|
return validateCanonRegistry(parsed, path);
|
|
168
189
|
}
|
|
169
190
|
function runCanonDocsCheck(params) {
|
|
170
|
-
const { projectRoot, baseRef = "origin/main", candidateFiles } = params;
|
|
191
|
+
const { projectRoot, baseRef = "origin/main", candidateFiles, trackedFiles } = params;
|
|
171
192
|
const registry = loadCanonRegistry(projectRoot);
|
|
172
193
|
if (!registry) {
|
|
173
194
|
return {
|
|
@@ -175,6 +196,8 @@ function runCanonDocsCheck(params) {
|
|
|
175
196
|
baseRef,
|
|
176
197
|
scanned: 0,
|
|
177
198
|
violations: [],
|
|
199
|
+
nameViolations: [],
|
|
200
|
+
staleBaseline: [],
|
|
178
201
|
mode: "no-canon"
|
|
179
202
|
};
|
|
180
203
|
}
|
|
@@ -192,18 +215,42 @@ function runCanonDocsCheck(params) {
|
|
|
192
215
|
});
|
|
193
216
|
}
|
|
194
217
|
}
|
|
218
|
+
const names = checkDocNames(
|
|
219
|
+
trackedFiles ?? (candidateFiles !== void 0 ? [] : listTrackedDocs(projectRoot)),
|
|
220
|
+
readDocNameBaseline(projectRoot)
|
|
221
|
+
);
|
|
195
222
|
return {
|
|
196
|
-
passed: violations.length === 0,
|
|
223
|
+
passed: violations.length === 0 && names.violations.length === 0 && names.stale.length === 0,
|
|
197
224
|
baseRef,
|
|
198
225
|
scanned: candidates.length,
|
|
199
226
|
violations,
|
|
227
|
+
nameViolations: names.violations,
|
|
228
|
+
staleBaseline: names.stale,
|
|
200
229
|
mode: "enforced"
|
|
201
230
|
};
|
|
202
231
|
}
|
|
203
|
-
|
|
232
|
+
function canonDocsFailure(result) {
|
|
233
|
+
const parts = [];
|
|
234
|
+
if (result.violations.length > 0)
|
|
235
|
+
parts.push(
|
|
236
|
+
`${result.violations.length} raw *.md addition(s) bypass the SSoT \u2014 ${result.violations.map((v) => `${v.file} (kind=${v.kind})`).join(", ")}`
|
|
237
|
+
);
|
|
238
|
+
if (result.nameViolations.length > 0)
|
|
239
|
+
parts.push(
|
|
240
|
+
`${result.nameViolations.length} doc name(s) break the naming rule (lowercase kebab-case; no task id, session id or date; links and dates go in doc metadata) \u2014 ${result.nameViolations.map((v) => `${v.file} (${v.reasons.join(", ")}; rename to ${v.suggestion}.md)`).join(", ")}`
|
|
241
|
+
);
|
|
242
|
+
if (result.staleBaseline.length > 0)
|
|
243
|
+
parts.push(
|
|
244
|
+
`${result.staleBaseline.length} entry(ies) in scripts/.docs-name-baseline.json are renamed or gone; remove them \u2014 ${result.staleBaseline.join(", ")}`
|
|
245
|
+
);
|
|
246
|
+
const firstName = result.nameViolations[0];
|
|
247
|
+
const fix = result.violations[0] !== void 0 ? `Route through SSoT instead: ${result.violations[0].fix}` : firstName !== void 0 ? `git mv ${firstName.file} ${firstName.file.replace(/[^/]+\.md$/, `${firstName.suggestion}.md`)}` : "Delete the stale entries from scripts/.docs-name-baseline.json";
|
|
248
|
+
return { message: `Docs canon violation: ${parts.join("; ")}`, fix };
|
|
249
|
+
}
|
|
204
250
|
export {
|
|
205
251
|
CanonDocsDiffError,
|
|
252
|
+
canonDocsFailure,
|
|
206
253
|
loadCanonRegistry,
|
|
207
254
|
runCanonDocsCheck
|
|
208
255
|
};
|
|
209
|
-
//# sourceMappingURL=
|
|
256
|
+
//# sourceMappingURL=canon-docs-ZXWC4AFI.js.map
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
})();
|
|
16
16
|
import {
|
|
17
17
|
lazyOperation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HFB4FPLA.js";
|
|
19
19
|
import {
|
|
20
20
|
defineTypedHandler,
|
|
21
21
|
lafsError,
|
|
@@ -538,7 +538,7 @@ var _checkTypedHandler = defineTypedHandler("check", {
|
|
|
538
538
|
},
|
|
539
539
|
"canon.docs": async (params) => {
|
|
540
540
|
const projectRoot = getProjectRoot();
|
|
541
|
-
const { runCanonDocsCheck } = await import("./canon-docs-
|
|
541
|
+
const { runCanonDocsCheck } = await import("./canon-docs-ZXWC4AFI.js");
|
|
542
542
|
try {
|
|
543
543
|
const result = runCanonDocsCheck({
|
|
544
544
|
projectRoot,
|
|
@@ -546,15 +546,11 @@ var _checkTypedHandler = defineTypedHandler("check", {
|
|
|
546
546
|
...params.candidateFiles !== void 0 ? { candidateFiles: params.candidateFiles } : {}
|
|
547
547
|
});
|
|
548
548
|
if (!result.passed) {
|
|
549
|
-
const
|
|
550
|
-
const
|
|
551
|
-
return lafsError(
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
"canon.docs",
|
|
555
|
-
`Route through SSoT instead: ${firstFix}`,
|
|
556
|
-
{ result }
|
|
557
|
-
);
|
|
549
|
+
const { canonDocsFailure } = await import("./canon-docs-ZXWC4AFI.js");
|
|
550
|
+
const failure = canonDocsFailure(result);
|
|
551
|
+
return lafsError("E_CANON_VIOLATION", failure.message, "canon.docs", failure.fix, {
|
|
552
|
+
result
|
|
553
|
+
});
|
|
558
554
|
}
|
|
559
555
|
return lafsSuccess(result, "canon.docs");
|
|
560
556
|
} catch (err) {
|
|
@@ -757,4 +753,4 @@ var CheckHandler = class {
|
|
|
757
753
|
export {
|
|
758
754
|
CheckHandler
|
|
759
755
|
};
|
|
760
|
-
//# sourceMappingURL=check-
|
|
756
|
+
//# sourceMappingURL=check-X5OV6U7U.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-47JYZAMS.js";
|
|
23
23
|
import {
|
|
24
24
|
dispatchFromCli
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-N3CEB7IU.js";
|
|
26
26
|
import "./chunk-6N6WGLXE.js";
|
|
27
27
|
import "./chunk-4VASFLUW.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-
|
|
38
|
+
import "./chunk-HFB4FPLA.js";
|
|
39
39
|
|
|
40
40
|
// packages/cleo/src/cli/commands/check.ts
|
|
41
41
|
import { formatPrGateSummary, runPrGate } from "@cleocode/core/check/pr-gate";
|
|
@@ -921,4 +921,4 @@ var checkCommand = defineCommand({
|
|
|
921
921
|
export {
|
|
922
922
|
checkCommand
|
|
923
923
|
};
|
|
924
|
-
//# sourceMappingURL=check-
|
|
924
|
+
//# sourceMappingURL=check-XK6RXMFT.js.map
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
// packages/cleo/src/cli/commands/doctor-tool-locks.ts
|
|
24
24
|
import {
|
|
25
25
|
admissionCapacityBytes,
|
|
26
|
+
entryCharge,
|
|
26
27
|
entryVerdict,
|
|
27
28
|
readForeignEntries,
|
|
28
29
|
readLedger,
|
|
@@ -81,6 +82,8 @@ var doctorToolLocksCommand = defineCommand({
|
|
|
81
82
|
command: e.command,
|
|
82
83
|
cwd: e.cwd,
|
|
83
84
|
footprintBytes: e.footprintBytes,
|
|
85
|
+
// T14116: the charge it holds now, its plan and its measured peak.
|
|
86
|
+
...entryCharge(e),
|
|
84
87
|
// T13367: why the run is charged that much (its real scope).
|
|
85
88
|
footprintReason: e.footprintReason ?? null,
|
|
86
89
|
// T13132: what the run covers (`full` = a whole-suite run) and its task.
|
|
@@ -98,7 +101,8 @@ var doctorToolLocksCommand = defineCommand({
|
|
|
98
101
|
run: ((r) => r === void 0 ? null : {
|
|
99
102
|
sessionId: r.sessionId,
|
|
100
103
|
childPid: r.childPid,
|
|
101
|
-
chargedBytes: e.
|
|
104
|
+
chargedBytes: entryCharge(e).chargedBytes,
|
|
105
|
+
plannedBytes: e.footprintBytes,
|
|
102
106
|
measuredRssBytes: r.measuredRssBytes ?? null,
|
|
103
107
|
cpuMs: r.cpuMs ?? null,
|
|
104
108
|
elapsedMs: now - r.startedAtMs,
|
|
@@ -116,7 +120,7 @@ var doctorToolLocksCommand = defineCommand({
|
|
|
116
120
|
capacityBytes: admissionCapacityBytes(),
|
|
117
121
|
// T13572: the share pressure leaves and the light/heavy budgets it sets.
|
|
118
122
|
budget: readLedgerBudget(),
|
|
119
|
-
usedBytes: held.reduce((n, e) => n + e.
|
|
123
|
+
usedBytes: held.reduce((n, e) => n + e.chargedBytes, 0),
|
|
120
124
|
entries,
|
|
121
125
|
heldCount: held.length,
|
|
122
126
|
waitingCount: entries.length - held.length,
|
|
@@ -139,4 +143,4 @@ var doctorToolLocksCommand = defineCommand({
|
|
|
139
143
|
export {
|
|
140
144
|
doctorToolLocksCommand
|
|
141
145
|
};
|
|
142
|
-
//# sourceMappingURL=chunk-
|
|
146
|
+
//# sourceMappingURL=chunk-5AL6B3J2.js.map
|
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
cliError,
|
|
21
21
|
cliOutput
|
|
22
22
|
} from "./chunk-ESI6Q4OS.js";
|
|
23
|
-
import "./chunk-6JSJNYH2.js";
|
|
24
23
|
|
|
25
24
|
// packages/cleo/src/cli/lib/owner-override-cap.ts
|
|
26
25
|
import { ExitCode } from "@cleocode/contracts/exit-codes.js";
|
|
@@ -83,8 +82,10 @@ async function runOwnerOverrideCapSet(rawValue) {
|
|
|
83
82
|
{ command: "config-set", operation: "config.set" }
|
|
84
83
|
);
|
|
85
84
|
}
|
|
85
|
+
|
|
86
86
|
export {
|
|
87
|
+
ownerCaller,
|
|
87
88
|
runOwnerEnroll,
|
|
88
89
|
runOwnerOverrideCapSet
|
|
89
90
|
};
|
|
90
|
-
//# sourceMappingURL=
|
|
91
|
+
//# sourceMappingURL=chunk-6C5X2J6S.js.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
dispatchRaw,
|
|
21
21
|
handleRawError,
|
|
22
22
|
maybeEmitDescribe
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-N3CEB7IU.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-
|
|
160
|
+
//# sourceMappingURL=chunk-7YXILGEA.js.map
|