@hawkeyexl/manni 4.19.0 → 4.20.1

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 (246) hide show
  1. package/README.md +1 -1
  2. package/dist/{batch-R7A22ANE.js → batch-J626LZ22.js} +13 -13
  3. package/dist/{build-EUPWPNJJ.js → build-AYLD6V6Y.js} +15 -15
  4. package/dist/{calibrate-3JTVKYSQ.js → calibrate-2HZFACIX.js} +14 -14
  5. package/dist/{capture-WT4O77PA.js → capture-NMDIPC6S.js} +13 -13
  6. package/dist/{check-5HPK2S57.js → check-KNQV7GLU.js} +13 -12
  7. package/dist/check-OH4KKXP3.js +33 -0
  8. package/dist/{check-POQHLDLN.js → check-PQ7S5I3I.js} +31 -31
  9. package/dist/check-PRAMKQCI.js +47 -0
  10. package/dist/{check-KQ3KUXQT.js → check-RCSQARQE.js} +13 -13
  11. package/dist/{chunk-XGL4TSEA.js → chunk-2GTR24SA.js} +8 -8
  12. package/dist/{chunk-2BY4C2WU.js → chunk-4DFBBU4A.js} +2 -2
  13. package/dist/{chunk-CEIJV5QG.js → chunk-4F5WGZRP.js} +5 -5
  14. package/dist/{chunk-XH3NRZFD.js → chunk-4H3IOF52.js} +3 -3
  15. package/dist/{chunk-OABOOM6D.js → chunk-5CJ3P5O3.js} +13 -13
  16. package/dist/chunk-5CJ3P5O3.js.map +1 -0
  17. package/dist/{chunk-X4ZANRWU.js → chunk-5E3ABFOQ.js} +3 -3
  18. package/dist/{chunk-BJ4T6QRD.js → chunk-6FY573GB.js} +3 -3
  19. package/dist/{chunk-PF6BTJ4N.js → chunk-A633WB3N.js} +26 -26
  20. package/dist/chunk-A633WB3N.js.map +1 -0
  21. package/dist/{chunk-EWNWPYMQ.js → chunk-ACJUZFRT.js} +4 -4
  22. package/dist/{chunk-YKOB2LDR.js → chunk-BM43RJIS.js} +8 -8
  23. package/dist/{chunk-P3DDYDJW.js → chunk-BY4THWAQ.js} +3 -3
  24. package/dist/{chunk-IM2K47B7.js → chunk-C5BXSQDO.js} +5 -5
  25. package/dist/{chunk-5YOZIXTG.js → chunk-CT5WSUUZ.js} +2 -2
  26. package/dist/{chunk-5SL2QOCH.js → chunk-CXL6ES7O.js} +4 -4
  27. package/dist/{chunk-S2PXTHDM.js → chunk-D4XQX4W7.js} +2 -2
  28. package/dist/{chunk-7FDYCTXS.js → chunk-D54BQM5P.js} +8 -8
  29. package/dist/chunk-D54BQM5P.js.map +1 -0
  30. package/dist/chunk-DNF42MK7.js +326 -0
  31. package/dist/chunk-DNF42MK7.js.map +1 -0
  32. package/dist/chunk-E6JYRVR5.js +137 -0
  33. package/dist/chunk-E6JYRVR5.js.map +1 -0
  34. package/dist/{chunk-TC76MTNC.js → chunk-EOJEPEYY.js} +2 -2
  35. package/dist/{chunk-KMZF77L6.js → chunk-FIR2MAGS.js} +2 -2
  36. package/dist/chunk-FKELQCGN.js +25 -0
  37. package/dist/chunk-FKELQCGN.js.map +1 -0
  38. package/dist/{chunk-JNMY7KZG.js → chunk-G5I2JTDK.js} +2 -2
  39. package/dist/{chunk-TMPCYEGS.js → chunk-GGTCSMNX.js} +4 -4
  40. package/dist/{chunk-HCUHASZN.js → chunk-H3C3UXTA.js} +6 -6
  41. package/dist/{chunk-BMFT6SBM.js → chunk-HGUCJ3K3.js} +5 -5
  42. package/dist/{chunk-BAH6O5PN.js → chunk-ISDFYXLA.js} +38 -36
  43. package/dist/chunk-ISDFYXLA.js.map +1 -0
  44. package/dist/{chunk-6Q7JZZVG.js → chunk-JPXC62SD.js} +11 -10
  45. package/dist/chunk-JPXC62SD.js.map +1 -0
  46. package/dist/{chunk-S3WWQTJC.js → chunk-KERICP5Y.js} +6 -6
  47. package/dist/chunk-LPJ3IB26.js +64 -0
  48. package/dist/chunk-LPJ3IB26.js.map +1 -0
  49. package/dist/{chunk-K2FE4B6R.js → chunk-LXJ4FZ7Y.js} +6 -6
  50. package/dist/{chunk-SGUSZTUB.js → chunk-MJZ5HYYL.js} +22 -22
  51. package/dist/{chunk-SGUSZTUB.js.map → chunk-MJZ5HYYL.js.map} +1 -1
  52. package/dist/{chunk-6MVYXXRG.js → chunk-MJZK7G4B.js} +3 -3
  53. package/dist/{chunk-VBEFPLAN.js → chunk-MPXMQGJI.js} +7 -7
  54. package/dist/{chunk-X7RPFR6B.js → chunk-MTMR65NM.js} +2 -2
  55. package/dist/{chunk-23C7Q3Z5.js → chunk-N2VB6UUE.js} +2 -2
  56. package/dist/{chunk-5R4BXMGC.js → chunk-N3DYE6LJ.js} +5 -5
  57. package/dist/{chunk-T63LOFB2.js → chunk-NDPQ2GQ4.js} +5 -5
  58. package/dist/chunk-O4O6JOGD.js +59 -0
  59. package/dist/chunk-O4O6JOGD.js.map +1 -0
  60. package/dist/{chunk-JA25DZIV.js → chunk-ODSIHEIW.js} +6 -11
  61. package/dist/chunk-ODSIHEIW.js.map +1 -0
  62. package/dist/{chunk-IBNI5CRF.js → chunk-OQR3VVAX.js} +3 -3
  63. package/dist/{chunk-NZYXMTNI.js → chunk-OVUQNM7Y.js} +2 -2
  64. package/dist/{chunk-YL7EATZ7.js → chunk-OXCWCEVV.js} +5 -5
  65. package/dist/chunk-P5DWBG6T.js +50 -0
  66. package/dist/chunk-P5DWBG6T.js.map +1 -0
  67. package/dist/{chunk-PGMHGOLD.js → chunk-P6XZ44C2.js} +7 -7
  68. package/dist/chunk-P6XZ44C2.js.map +1 -0
  69. package/dist/{chunk-3EQR6QAZ.js → chunk-QGBNWEWS.js} +60 -63
  70. package/dist/chunk-QGBNWEWS.js.map +1 -0
  71. package/dist/{chunk-S243N72D.js → chunk-RA2BER5P.js} +2 -2
  72. package/dist/{chunk-YM2DGL3T.js → chunk-RN7IA742.js} +7 -7
  73. package/dist/{chunk-G4RTYFFR.js → chunk-ROZDHPKA.js} +3 -3
  74. package/dist/{chunk-U2PJNL3R.js → chunk-S2HW3CBF.js} +5 -5
  75. package/dist/chunk-SIREOHLW.js +233 -0
  76. package/dist/chunk-SIREOHLW.js.map +1 -0
  77. package/dist/{chunk-QYFPJY7F.js → chunk-SUTY4VCZ.js} +6 -6
  78. package/dist/{chunk-IX5YIY5O.js → chunk-TAJYMXMM.js} +2 -2
  79. package/dist/{chunk-2MRYDECM.js → chunk-TDG2S5UE.js} +2 -2
  80. package/dist/{chunk-TKINOTVS.js → chunk-TI4DA6DF.js} +1 -1
  81. package/dist/{chunk-TKINOTVS.js.map → chunk-TI4DA6DF.js.map} +1 -1
  82. package/dist/{chunk-K5Q766TX.js → chunk-UVC3BUKU.js} +3 -3
  83. package/dist/{chunk-BKWXY474.js → chunk-WI3PPQQX.js} +2 -2
  84. package/dist/{chunk-T3DDFC2B.js → chunk-WRWW6SGG.js} +2 -2
  85. package/dist/{chunk-JBJGBEBU.js → chunk-XPO655IX.js} +3 -3
  86. package/dist/chunk-XTKJNRJ6.js +33 -0
  87. package/dist/chunk-XTKJNRJ6.js.map +1 -0
  88. package/dist/{chunk-WQVXJMJM.js → chunk-YIHIRMXN.js} +7 -7
  89. package/dist/chunk-YIHIRMXN.js.map +1 -0
  90. package/dist/chunk-YM2W43DI.js +126 -0
  91. package/dist/chunk-YM2W43DI.js.map +1 -0
  92. package/dist/chunk-YYWZ2MSL.js +50 -0
  93. package/dist/chunk-YYWZ2MSL.js.map +1 -0
  94. package/dist/{chunk-NNAE7NF2.js → chunk-Z2T5U7HN.js} +2 -2
  95. package/dist/{chunk-DJM67CFP.js → chunk-ZB3OFSRB.js} +7 -32
  96. package/dist/chunk-ZB3OFSRB.js.map +1 -0
  97. package/dist/{cli-5CUZEROV.js → cli-4RTNEVVX.js} +9 -9
  98. package/dist/{cli-4QKOQEWV.js → cli-6J4P5MLU.js} +2 -2
  99. package/dist/{cli-WAXGGWNW.js → cli-DQRFSU7U.js} +15 -15
  100. package/dist/{cli-WRNKMNEM.js → cli-FTSJQSB4.js} +17 -17
  101. package/dist/{cli-2Q2OFLOI.js → cli-IIFCE6GY.js} +14 -14
  102. package/dist/{cli-TMMOVK3R.js → cli-ISKXSN3P.js} +18 -18
  103. package/dist/{cli-4OHXIGOF.js → cli-K5635N25.js} +16 -16
  104. package/dist/{cli-II4EPPDK.js → cli-K5QWXB7H.js} +31 -31
  105. package/dist/cli-K5QWXB7H.js.map +1 -0
  106. package/dist/{cli-ZEOR6LL5.js → cli-PCZ7XNCO.js} +89 -38
  107. package/dist/cli-PCZ7XNCO.js.map +1 -0
  108. package/dist/{cli-534K765K.js → cli-TCHSYJLB.js} +21 -21
  109. package/dist/{cli-R3CS7V3H.js → cli-TM2JCTQT.js} +9 -9
  110. package/dist/cli.js +20 -14
  111. package/dist/cli.js.map +1 -1
  112. package/dist/docmeta.d.ts +1 -1
  113. package/dist/docmeta.js +8 -8
  114. package/dist/github-BUK5CVQW.js +27 -0
  115. package/dist/{github-PXXYARFQ.js → github-CMAZWS76.js} +12 -12
  116. package/dist/{github-K2A4TNDE.js → github-NXR4QMMM.js} +14 -14
  117. package/dist/graph/embed.d.ts +2 -1
  118. package/dist/graph/runtime.d.ts +2 -1
  119. package/dist/index.d.ts +27 -14
  120. package/dist/index.js +101 -101
  121. package/dist/{json-ELJ5D3VR.js → json-7Z2IFGB3.js} +12 -12
  122. package/dist/json-NZSGRYOE.js +34 -0
  123. package/dist/{labels-CHN33A4X.js → labels-SE2WL7WD.js} +11 -11
  124. package/dist/{lint-PYDL7IT7.js → lint-VUYM5PPM.js} +14 -14
  125. package/dist/list-4JGOXLOZ.js +33 -0
  126. package/dist/{list-EIFNJKE5.js → list-LTF25DQE.js} +12 -12
  127. package/dist/{list-T2NPRQCA.js → list-WD3TZS5R.js} +12 -12
  128. package/dist/{page-C4P4KFUL.js → page-A2Y4ZMV4.js} +11 -11
  129. package/dist/{prepare-Q6Y4NCXU.js → prepare-M2COBP5O.js} +16 -16
  130. package/dist/{pretty-XXMCA3SX.js → pretty-D3DZFC5U.js} +12 -12
  131. package/dist/pretty-R67YU6TU.js +35 -0
  132. package/dist/{pretty-B52EGTKL.js → pretty-SFFOMSG5.js} +13 -13
  133. package/dist/{release-Z3ASYZ3S.js → release-VHHASAG7.js} +4 -4
  134. package/dist/{reporters-3MDFUPKQ.js → reporters-TO7Q6JYF.js} +4 -4
  135. package/dist/{reporters-6VOPV7L6.js → reporters-UTLJVSWX.js} +13 -13
  136. package/dist/reporters-UTLJVSWX.js.map +1 -0
  137. package/dist/{run-YFH7RPUR.js → run-BDGYRUXJ.js} +12 -12
  138. package/dist/run-BDGYRUXJ.js.map +1 -0
  139. package/dist/{sarif-RBLPUGPH.js → sarif-EHAMGCVR.js} +15 -15
  140. package/dist/sarif-EHAMGCVR.js.map +1 -0
  141. package/dist/sarif-GJYLRXLS.js +30 -0
  142. package/dist/sarif-GJYLRXLS.js.map +1 -0
  143. package/dist/{sarif-NXSMEW2M.js → sarif-IAGMXA6C.js} +10 -10
  144. package/dist/sarif-IAGMXA6C.js.map +1 -0
  145. package/dist/strategy-UKRA6WO4.js +222 -0
  146. package/dist/strategy-UKRA6WO4.js.map +1 -0
  147. package/dist/{term-QIG4USZM.js → term-AMORBEO7.js} +30 -28
  148. package/dist/term-AMORBEO7.js.map +1 -0
  149. package/dist/{validate-W2XQYBSW.js → validate-CDTKFZUV.js} +5 -5
  150. package/dist/validate-CDTKFZUV.js.map +1 -0
  151. package/package.json +21 -21
  152. package/plugin/manni/.claude-plugin/plugin.json +1 -1
  153. package/plugin/manni/hooks/manni.mjs +29 -2
  154. package/plugin/manni/skills/fix/SKILL.md +18 -1
  155. package/plugin/manni/skills/setup/SKILL.md +1 -1
  156. package/dist/check-URJURAED.js +0 -47
  157. package/dist/chunk-3EQR6QAZ.js.map +0 -1
  158. package/dist/chunk-6Q7JZZVG.js.map +0 -1
  159. package/dist/chunk-7FDYCTXS.js.map +0 -1
  160. package/dist/chunk-BAH6O5PN.js.map +0 -1
  161. package/dist/chunk-DJM67CFP.js.map +0 -1
  162. package/dist/chunk-JA25DZIV.js.map +0 -1
  163. package/dist/chunk-OABOOM6D.js.map +0 -1
  164. package/dist/chunk-PF6BTJ4N.js.map +0 -1
  165. package/dist/chunk-PGMHGOLD.js.map +0 -1
  166. package/dist/chunk-WQVXJMJM.js.map +0 -1
  167. package/dist/cli-II4EPPDK.js.map +0 -1
  168. package/dist/cli-ZEOR6LL5.js.map +0 -1
  169. package/dist/term-QIG4USZM.js.map +0 -1
  170. /package/dist/{batch-R7A22ANE.js.map → batch-J626LZ22.js.map} +0 -0
  171. /package/dist/{build-EUPWPNJJ.js.map → build-AYLD6V6Y.js.map} +0 -0
  172. /package/dist/{calibrate-3JTVKYSQ.js.map → calibrate-2HZFACIX.js.map} +0 -0
  173. /package/dist/{capture-WT4O77PA.js.map → capture-NMDIPC6S.js.map} +0 -0
  174. /package/dist/{check-5HPK2S57.js.map → check-KNQV7GLU.js.map} +0 -0
  175. /package/dist/{check-KQ3KUXQT.js.map → check-OH4KKXP3.js.map} +0 -0
  176. /package/dist/{check-POQHLDLN.js.map → check-PQ7S5I3I.js.map} +0 -0
  177. /package/dist/{check-URJURAED.js.map → check-PRAMKQCI.js.map} +0 -0
  178. /package/dist/{cli-5CUZEROV.js.map → check-RCSQARQE.js.map} +0 -0
  179. /package/dist/{chunk-XGL4TSEA.js.map → chunk-2GTR24SA.js.map} +0 -0
  180. /package/dist/{chunk-2BY4C2WU.js.map → chunk-4DFBBU4A.js.map} +0 -0
  181. /package/dist/{chunk-CEIJV5QG.js.map → chunk-4F5WGZRP.js.map} +0 -0
  182. /package/dist/{chunk-XH3NRZFD.js.map → chunk-4H3IOF52.js.map} +0 -0
  183. /package/dist/{chunk-X4ZANRWU.js.map → chunk-5E3ABFOQ.js.map} +0 -0
  184. /package/dist/{chunk-BJ4T6QRD.js.map → chunk-6FY573GB.js.map} +0 -0
  185. /package/dist/{chunk-EWNWPYMQ.js.map → chunk-ACJUZFRT.js.map} +0 -0
  186. /package/dist/{chunk-YKOB2LDR.js.map → chunk-BM43RJIS.js.map} +0 -0
  187. /package/dist/{chunk-P3DDYDJW.js.map → chunk-BY4THWAQ.js.map} +0 -0
  188. /package/dist/{chunk-IM2K47B7.js.map → chunk-C5BXSQDO.js.map} +0 -0
  189. /package/dist/{chunk-5YOZIXTG.js.map → chunk-CT5WSUUZ.js.map} +0 -0
  190. /package/dist/{chunk-5SL2QOCH.js.map → chunk-CXL6ES7O.js.map} +0 -0
  191. /package/dist/{chunk-S2PXTHDM.js.map → chunk-D4XQX4W7.js.map} +0 -0
  192. /package/dist/{chunk-TC76MTNC.js.map → chunk-EOJEPEYY.js.map} +0 -0
  193. /package/dist/{chunk-KMZF77L6.js.map → chunk-FIR2MAGS.js.map} +0 -0
  194. /package/dist/{chunk-JNMY7KZG.js.map → chunk-G5I2JTDK.js.map} +0 -0
  195. /package/dist/{chunk-TMPCYEGS.js.map → chunk-GGTCSMNX.js.map} +0 -0
  196. /package/dist/{chunk-HCUHASZN.js.map → chunk-H3C3UXTA.js.map} +0 -0
  197. /package/dist/{chunk-BMFT6SBM.js.map → chunk-HGUCJ3K3.js.map} +0 -0
  198. /package/dist/{chunk-S3WWQTJC.js.map → chunk-KERICP5Y.js.map} +0 -0
  199. /package/dist/{chunk-K2FE4B6R.js.map → chunk-LXJ4FZ7Y.js.map} +0 -0
  200. /package/dist/{chunk-6MVYXXRG.js.map → chunk-MJZK7G4B.js.map} +0 -0
  201. /package/dist/{chunk-VBEFPLAN.js.map → chunk-MPXMQGJI.js.map} +0 -0
  202. /package/dist/{chunk-X7RPFR6B.js.map → chunk-MTMR65NM.js.map} +0 -0
  203. /package/dist/{chunk-23C7Q3Z5.js.map → chunk-N2VB6UUE.js.map} +0 -0
  204. /package/dist/{chunk-5R4BXMGC.js.map → chunk-N3DYE6LJ.js.map} +0 -0
  205. /package/dist/{chunk-T63LOFB2.js.map → chunk-NDPQ2GQ4.js.map} +0 -0
  206. /package/dist/{chunk-IBNI5CRF.js.map → chunk-OQR3VVAX.js.map} +0 -0
  207. /package/dist/{chunk-NZYXMTNI.js.map → chunk-OVUQNM7Y.js.map} +0 -0
  208. /package/dist/{chunk-YL7EATZ7.js.map → chunk-OXCWCEVV.js.map} +0 -0
  209. /package/dist/{chunk-S243N72D.js.map → chunk-RA2BER5P.js.map} +0 -0
  210. /package/dist/{chunk-YM2DGL3T.js.map → chunk-RN7IA742.js.map} +0 -0
  211. /package/dist/{chunk-G4RTYFFR.js.map → chunk-ROZDHPKA.js.map} +0 -0
  212. /package/dist/{chunk-U2PJNL3R.js.map → chunk-S2HW3CBF.js.map} +0 -0
  213. /package/dist/{chunk-QYFPJY7F.js.map → chunk-SUTY4VCZ.js.map} +0 -0
  214. /package/dist/{chunk-IX5YIY5O.js.map → chunk-TAJYMXMM.js.map} +0 -0
  215. /package/dist/{chunk-2MRYDECM.js.map → chunk-TDG2S5UE.js.map} +0 -0
  216. /package/dist/{chunk-K5Q766TX.js.map → chunk-UVC3BUKU.js.map} +0 -0
  217. /package/dist/{chunk-BKWXY474.js.map → chunk-WI3PPQQX.js.map} +0 -0
  218. /package/dist/{chunk-T3DDFC2B.js.map → chunk-WRWW6SGG.js.map} +0 -0
  219. /package/dist/{chunk-JBJGBEBU.js.map → chunk-XPO655IX.js.map} +0 -0
  220. /package/dist/{chunk-NNAE7NF2.js.map → chunk-Z2T5U7HN.js.map} +0 -0
  221. /package/dist/{github-K2A4TNDE.js.map → cli-4RTNEVVX.js.map} +0 -0
  222. /package/dist/{cli-4QKOQEWV.js.map → cli-6J4P5MLU.js.map} +0 -0
  223. /package/dist/{cli-WAXGGWNW.js.map → cli-DQRFSU7U.js.map} +0 -0
  224. /package/dist/{cli-WRNKMNEM.js.map → cli-FTSJQSB4.js.map} +0 -0
  225. /package/dist/{cli-2Q2OFLOI.js.map → cli-IIFCE6GY.js.map} +0 -0
  226. /package/dist/{cli-TMMOVK3R.js.map → cli-ISKXSN3P.js.map} +0 -0
  227. /package/dist/{cli-4OHXIGOF.js.map → cli-K5635N25.js.map} +0 -0
  228. /package/dist/{cli-534K765K.js.map → cli-TCHSYJLB.js.map} +0 -0
  229. /package/dist/{cli-R3CS7V3H.js.map → cli-TM2JCTQT.js.map} +0 -0
  230. /package/dist/{github-PXXYARFQ.js.map → github-BUK5CVQW.js.map} +0 -0
  231. /package/dist/{json-ELJ5D3VR.js.map → github-CMAZWS76.js.map} +0 -0
  232. /package/dist/{lint-PYDL7IT7.js.map → github-NXR4QMMM.js.map} +0 -0
  233. /package/dist/{list-EIFNJKE5.js.map → json-7Z2IFGB3.js.map} +0 -0
  234. /package/dist/{list-T2NPRQCA.js.map → json-NZSGRYOE.js.map} +0 -0
  235. /package/dist/{labels-CHN33A4X.js.map → labels-SE2WL7WD.js.map} +0 -0
  236. /package/dist/{page-C4P4KFUL.js.map → lint-VUYM5PPM.js.map} +0 -0
  237. /package/dist/{pretty-B52EGTKL.js.map → list-4JGOXLOZ.js.map} +0 -0
  238. /package/dist/{pretty-XXMCA3SX.js.map → list-LTF25DQE.js.map} +0 -0
  239. /package/dist/{reporters-3MDFUPKQ.js.map → list-WD3TZS5R.js.map} +0 -0
  240. /package/dist/{reporters-6VOPV7L6.js.map → page-A2Y4ZMV4.js.map} +0 -0
  241. /package/dist/{prepare-Q6Y4NCXU.js.map → prepare-M2COBP5O.js.map} +0 -0
  242. /package/dist/{run-YFH7RPUR.js.map → pretty-D3DZFC5U.js.map} +0 -0
  243. /package/dist/{sarif-NXSMEW2M.js.map → pretty-R67YU6TU.js.map} +0 -0
  244. /package/dist/{sarif-RBLPUGPH.js.map → pretty-SFFOMSG5.js.map} +0 -0
  245. /package/dist/{release-Z3ASYZ3S.js.map → release-VHHASAG7.js.map} +0 -0
  246. /package/dist/{validate-W2XQYBSW.js.map → reporters-TO7Q6JYF.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  loadTerms
4
- } from "./chunk-TMPCYEGS.js";
4
+ } from "./chunk-GGTCSMNX.js";
5
5
 
6
6
  // src/term/commands/list.ts
7
7
  var LIST_FORMATS = ["pretty", "json", "csv"];
@@ -14,4 +14,4 @@ export {
14
14
  LIST_FORMATS,
15
15
  runList
16
16
  };
17
- //# sourceMappingURL=chunk-S243N72D.js.map
17
+ //# sourceMappingURL=chunk-RA2BER5P.js.map
@@ -23,7 +23,7 @@ import {
23
23
  runShowSchema,
24
24
  runVendorSchema,
25
25
  terminalConfirm
26
- } from "./chunk-QYFPJY7F.js";
26
+ } from "./chunk-SUTY4VCZ.js";
27
27
  import {
28
28
  COMMON_FORMATS,
29
29
  COMMON_FORMAT_LIST,
@@ -39,11 +39,11 @@ import {
39
39
  isQueryFormat,
40
40
  isReportFormat,
41
41
  render
42
- } from "./chunk-JBJGBEBU.js";
42
+ } from "./chunk-XPO655IX.js";
43
43
  import {
44
44
  rowsToFindings,
45
45
  runValidate
46
- } from "./chunk-XH3NRZFD.js";
46
+ } from "./chunk-4H3IOF52.js";
47
47
  import {
48
48
  LOCATION_EXTERNAL_SCHEMA,
49
49
  LOCATION_PAGE_SCHEMA,
@@ -62,7 +62,7 @@ import {
62
62
  relocationContext,
63
63
  reportConfig,
64
64
  splitList
65
- } from "./chunk-JA25DZIV.js";
65
+ } from "./chunk-ODSIHEIW.js";
66
66
  import {
67
67
  DocmetaError,
68
68
  STDIN_LABEL,
@@ -72,7 +72,7 @@ import {
72
72
  schemaLoadOptions,
73
73
  supportedExtensions,
74
74
  toJsonText
75
- } from "./chunk-T3DDFC2B.js";
75
+ } from "./chunk-WRWW6SGG.js";
76
76
  import {
77
77
  palette,
78
78
  shouldColor
@@ -89,7 +89,7 @@ import {
89
89
  } from "./chunk-VM7VAFJW.js";
90
90
  import {
91
91
  package_default
92
- } from "./chunk-SGUSZTUB.js";
92
+ } from "./chunk-MJZ5HYYL.js";
93
93
  import {
94
94
  programName
95
95
  } from "./chunk-OWBRDNRZ.js";
@@ -1618,4 +1618,4 @@ export {
1618
1618
  parseQueryParams,
1619
1619
  buildProgram
1620
1620
  };
1621
- //# sourceMappingURL=chunk-YM2DGL3T.js.map
1621
+ //# sourceMappingURL=chunk-RN7IA742.js.map
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  META_CONTEXT,
4
4
  withValueAt
5
- } from "./chunk-JA25DZIV.js";
5
+ } from "./chunk-ODSIHEIW.js";
6
6
  import {
7
7
  DocmetaError,
8
8
  escapePointerSegment,
9
9
  extractorByName,
10
10
  extractorForExtension,
11
11
  supportedExtensions
12
- } from "./chunk-T3DDFC2B.js";
12
+ } from "./chunk-WRWW6SGG.js";
13
13
  import {
14
14
  decryptValue,
15
15
  encryptValue,
@@ -121,4 +121,4 @@ export {
121
121
  reencryptMetadata,
122
122
  reencryptData
123
123
  };
124
- //# sourceMappingURL=chunk-G4RTYFFR.js.map
124
+ //# sourceMappingURL=chunk-ROZDHPKA.js.map
@@ -22,7 +22,7 @@ import {
22
22
  updateConfigEval,
23
23
  updateManifestEval,
24
24
  updatePageEval
25
- } from "./chunk-5R4BXMGC.js";
25
+ } from "./chunk-N3DYE6LJ.js";
26
26
  import {
27
27
  DEFAULT_CONFIG_FILENAME,
28
28
  assertRegisteredGraders,
@@ -41,7 +41,7 @@ import {
41
41
  sha256,
42
42
  splitBody,
43
43
  withExternalMetadata
44
- } from "./chunk-CEIJV5QG.js";
44
+ } from "./chunk-4F5WGZRP.js";
45
45
  import {
46
46
  isTurnBudgetSkip
47
47
  } from "./chunk-SSQZB5SQ.js";
@@ -54,10 +54,10 @@ import {
54
54
  } from "./chunk-MDZXRHIJ.js";
55
55
  import {
56
56
  mergeMetaProvenance
57
- } from "./chunk-BKWXY474.js";
57
+ } from "./chunk-WI3PPQQX.js";
58
58
  import {
59
59
  notFoundMessage
60
- } from "./chunk-T3DDFC2B.js";
60
+ } from "./chunk-WRWW6SGG.js";
61
61
  import {
62
62
  SEVERITIES
63
63
  } from "./chunk-77AINBYM.js";
@@ -1287,4 +1287,4 @@ export {
1287
1287
  renderCalibration,
1288
1288
  runInit
1289
1289
  };
1290
- //# sourceMappingURL=chunk-U2PJNL3R.js.map
1290
+ //# sourceMappingURL=chunk-S2HW3CBF.js.map
@@ -0,0 +1,233 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ PAGE_FIELDS,
4
+ PARENTS,
5
+ guidanceFor,
6
+ resolveSeverity,
7
+ ruleId
8
+ } from "./chunk-O4O6JOGD.js";
9
+ import {
10
+ closestName
11
+ } from "./chunk-XTKJNRJ6.js";
12
+
13
+ // src/strategy/core/check.ts
14
+ var fold = (value) => value.toLowerCase();
15
+ var FIELD_TYPES = {
16
+ audiences: "audience",
17
+ personas: "persona",
18
+ journeys: "journey",
19
+ audience: "audience"
20
+ };
21
+ var parentTypeOf = (type) => FIELD_TYPES[PARENTS[type]];
22
+ function indexSet(set) {
23
+ const byType = /* @__PURE__ */ new Map();
24
+ const byId = /* @__PURE__ */ new Map();
25
+ for (const record of set.records) {
26
+ const ids = byType.get(record.type) ?? /* @__PURE__ */ new Map();
27
+ if (!ids.has(fold(record.id))) ids.set(fold(record.id), record);
28
+ byType.set(record.type, ids);
29
+ if (!byId.has(fold(record.id))) byId.set(fold(record.id), record);
30
+ }
31
+ const resolveIn = (type, value) => byType.get(type)?.get(fold(value));
32
+ const parentsOf = (record) => {
33
+ if (record.type === "audience") return [];
34
+ const type = parentTypeOf(record.type);
35
+ const found = record.parents.map((p) => resolveIn(type, p.value)).filter((r) => r !== void 0);
36
+ return [...new Set(found)];
37
+ };
38
+ const children = /* @__PURE__ */ new Map();
39
+ for (const record of set.records) {
40
+ for (const parent of parentsOf(record)) children.set(parent, [...children.get(parent) ?? [], record]);
41
+ }
42
+ const pages = /* @__PURE__ */ new Map();
43
+ for (const reference of set.references) {
44
+ if (reference.record) continue;
45
+ const target = resolveIn(FIELD_TYPES[reference.field], reference.value);
46
+ if (target === void 0) continue;
47
+ const named = pages.get(target) ?? /* @__PURE__ */ new Set();
48
+ named.add(reference.page);
49
+ pages.set(target, named);
50
+ }
51
+ return {
52
+ has: (type) => (byType.get(type)?.size ?? 0) > 0,
53
+ resolve: resolveIn,
54
+ anyWithId: (value) => byId.get(fold(value)),
55
+ parentsOf,
56
+ childrenOf: (record) => children.get(record) ?? [],
57
+ pagesNaming: (record) => [...pages.get(record) ?? []].sort()
58
+ };
59
+ }
60
+ function article(type) {
61
+ return `${type === "audience" ? "an" : "a"} ${type}`;
62
+ }
63
+ function onRecord(record) {
64
+ return record.idAt ?? { file: record.file, line: record.line };
65
+ }
66
+ function located(at) {
67
+ return { file: at.file, ...at.line === void 0 ? {} : { line: at.line } };
68
+ }
69
+ function ancestorOf(index, record, type) {
70
+ let current = index.parentsOf(record)[0];
71
+ while (current !== void 0 && current.type !== type) current = index.parentsOf(current)[0];
72
+ return current;
73
+ }
74
+ function checkStrategySet(set, opts = {}) {
75
+ const levels = resolveSeverity(opts.severity);
76
+ const index = indexSet(set);
77
+ const drafts = [];
78
+ const unresolved = (field, value, onRecordField) => {
79
+ const type = FIELD_TYPES[field];
80
+ const other = index.anyWithId(value);
81
+ if (other !== void 0) {
82
+ const ancestor = ancestorOf(index, other, type);
83
+ const fix2 = ancestor !== void 0 ? `Did you mean its ${type}, "${ancestor.id}"?` : onRecordField ? "Correct the value." : `Move it to ${PAGE_FIELDS[other.type]}:.`;
84
+ return { message: `${field}: "${value}" is ${article(other.type)}, not ${article(type)}.`, fix: fix2 };
85
+ }
86
+ const ids = set.records.filter((r) => r.type === type).map((r) => r.id);
87
+ const nearest = closestName(fold(value), ids.map(fold));
88
+ const suggestion = nearest === void 0 ? void 0 : ids.find((id) => fold(id) === nearest);
89
+ const add = `Correct the value, or add a record with type: ${type} and id: ${value}.`;
90
+ const fix = suggestion === void 0 ? add : onRecordField ? `Did you mean "${suggestion}"?` : `Did you mean "${suggestion}"? ${add}`;
91
+ return { message: `${field}: "${value}" names no ${type}.`, fix };
92
+ };
93
+ for (const reference of set.references) {
94
+ const type = FIELD_TYPES[reference.field];
95
+ if (!index.has(type) || index.resolve(type, reference.value) !== void 0) continue;
96
+ drafts.push({
97
+ rule: "undefined-reference",
98
+ ...unresolved(reference.field, reference.value, false),
99
+ ...located(reference),
100
+ field: reference.field
101
+ });
102
+ }
103
+ for (const record of set.records) {
104
+ if (record.type === "audience") continue;
105
+ const field = PARENTS[record.type];
106
+ const type = parentTypeOf(record.type);
107
+ if (!index.has(type)) continue;
108
+ for (const parent of record.parents) {
109
+ if (index.resolve(type, parent.value) !== void 0) continue;
110
+ drafts.push({
111
+ rule: "undefined-reference",
112
+ ...unresolved(field, parent.value, true),
113
+ ...located(parent),
114
+ id: record.id,
115
+ field
116
+ });
117
+ }
118
+ }
119
+ const sharing = /* @__PURE__ */ new Map();
120
+ for (const record of set.records) sharing.set(fold(record.id), [...sharing.get(fold(record.id)) ?? [], record]);
121
+ for (const group of sharing.values()) {
122
+ if (group.length < 2) continue;
123
+ for (const record of group) {
124
+ const others = group.filter((other) => other !== record).map((other) => {
125
+ const at = onRecord(other);
126
+ return at.line === void 0 ? at.file : `${at.file}:${String(at.line)}`;
127
+ });
128
+ drafts.push({
129
+ rule: "duplicate-id",
130
+ message: `id: "${record.id}" is also the id of ${others.join(", ")}.`,
131
+ fix: "Give each record its own id.",
132
+ ...located(onRecord(record)),
133
+ id: record.id
134
+ });
135
+ }
136
+ }
137
+ const byPage = /* @__PURE__ */ new Map();
138
+ for (const reference of set.references) {
139
+ if (reference.record) continue;
140
+ byPage.set(reference.page, [...byPage.get(reference.page) ?? [], reference]);
141
+ }
142
+ for (const references of byPage.values()) {
143
+ const named = (field) => new Set(references.filter((r) => r.field === field).map((r) => fold(r.value)));
144
+ const reported = /* @__PURE__ */ new Set();
145
+ for (const childType of ["journey", "persona"]) {
146
+ const parentType = parentTypeOf(childType);
147
+ const parentField = PAGE_FIELDS[parentType];
148
+ const has = named(parentField);
149
+ for (const reference of references) {
150
+ if (reference.field !== PAGE_FIELDS[childType]) continue;
151
+ const child = index.resolve(childType, reference.value);
152
+ if (child === void 0) continue;
153
+ const parents = index.parentsOf(child);
154
+ const ids = parents.map((p) => `"${p.id}"`).join(", ");
155
+ const key = `${parentType} ${ids}`;
156
+ if (parents.length === 0 || parents.some((p) => has.has(fold(p.id))) || reported.has(key)) continue;
157
+ reported.add(key);
158
+ const one = parents.length === 1;
159
+ drafts.push({
160
+ rule: "missing-parent",
161
+ message: one ? `${parentField}: does not name ${ids}, the ${parentType} of ${childType} "${child.id}".` : `${parentField}: names none of ${ids}, the ${parentField} of ${childType} "${child.id}".`,
162
+ fix: `Add ${one ? "it" : "one"}, or drop "${child.id}" from ${PAGE_FIELDS[childType]}:.`,
163
+ ...located(reference),
164
+ field: parentField
165
+ });
166
+ }
167
+ }
168
+ }
169
+ for (const record of set.records) {
170
+ const at = located(onRecord(record));
171
+ if (record.type !== "audience" && record.parents.length === 0 && index.has(parentTypeOf(record.type))) {
172
+ const field = PARENTS[record.type];
173
+ drafts.push({
174
+ rule: "orphan-record",
175
+ message: `${field}: missing, so this ${record.type} belongs to no ${parentTypeOf(record.type)}.`,
176
+ fix: `Name one with ${field}:.`,
177
+ ...at,
178
+ id: record.id,
179
+ field
180
+ });
181
+ }
182
+ if (index.resolve(record.type, record.id) !== record) continue;
183
+ const pages = index.pagesNaming(record);
184
+ const live = record.lifecycle !== "draft" && record.lifecycle !== "archived";
185
+ if (record.type === "journey" && live && pages.length === 0) {
186
+ drafts.push({
187
+ rule: "unserved-journey",
188
+ message: "no page names this journey in journeys:.",
189
+ fix: "Name it on the pages that serve it.",
190
+ ...at,
191
+ id: record.id
192
+ });
193
+ }
194
+ if (record.type !== "journey" && pages.length === 0 && index.childrenOf(record).length === 0) {
195
+ drafts.push({
196
+ rule: "unused-record",
197
+ message: `no page and no record names this ${record.type}.`,
198
+ ...at,
199
+ id: record.id
200
+ });
201
+ }
202
+ }
203
+ const findings = [];
204
+ for (const draft of drafts) {
205
+ const level = levels[draft.rule];
206
+ if (level === "off") continue;
207
+ findings.push({
208
+ rule: draft.rule,
209
+ ruleId: ruleId(draft.rule),
210
+ severity: level,
211
+ message: draft.fix === void 0 ? draft.message : `${draft.message} ${draft.fix}`,
212
+ ...draft.fix === void 0 ? {} : { key: draft.message },
213
+ guidance: guidanceFor(draft.rule),
214
+ file: draft.file,
215
+ ...draft.line === void 0 ? {} : { line: draft.line },
216
+ ...draft.id === void 0 ? {} : { id: draft.id },
217
+ ...draft.field === void 0 ? {} : { field: draft.field }
218
+ });
219
+ }
220
+ return findings.sort(compareFindings);
221
+ }
222
+ function compareText(a, b) {
223
+ return a < b ? -1 : a > b ? 1 : 0;
224
+ }
225
+ function compareFindings(a, b) {
226
+ return compareText(a.file, b.file) || (a.line ?? 0) - (b.line ?? 0) || compareText(a.ruleId, b.ruleId) || compareText(a.message, b.message);
227
+ }
228
+
229
+ export {
230
+ indexSet,
231
+ checkStrategySet
232
+ };
233
+ //# sourceMappingURL=chunk-SIREOHLW.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/strategy/core/check.ts"],"sourcesContent":["/**\n * `strategy check`'s rules (proposal 0102). Pure: it reads records and\n * references and returns findings, so the command core owns every file and\n * the rules are tested on sets built inline.\n *\n * Ids compare case-folded. A reference field is checked only when the set\n * holds a record of that field's type, so a repo that keeps no audience\n * records keeps free-form `audiences:`. `missing-parent` and the use counts\n * read pages that are not records: a record's own `journeys:` serves nobody.\n */\nimport { closestName } from \"../../shared/closest-name.js\";\nimport {\n PAGE_FIELDS,\n PARENTS,\n type At,\n type ChildType,\n type RecordType,\n type ReferenceField,\n type StrategyFinding,\n type StrategyRecord,\n type StrategyRule,\n type StrategySet,\n type StrategySeverity,\n} from \"../types.js\";\nimport { guidanceFor, resolveSeverity, ruleId } from \"./severity.js\";\n\nconst fold = (value: string): string => value.toLowerCase();\n\n/** The type each page field names. */\nconst FIELD_TYPES: Readonly<Record<ReferenceField, RecordType>> = {\n audiences: \"audience\",\n personas: \"persona\",\n journeys: \"journey\",\n audience: \"audience\",\n};\n\n/** The type of a child's parents: an audience for a persona, a persona for a journey. */\nconst parentTypeOf = (type: ChildType): RecordType => FIELD_TYPES[PARENTS[type]];\n\n/** What a set's records and pages say about each other, resolved once for `check`, `list` and `get`. */\nexport interface StrategyIndex {\n /** Whether the set holds a record of this type. */\n has(type: RecordType): boolean;\n /** The record of `type` a value names, case-folded. The first one read wins. */\n resolve(type: RecordType, value: string): StrategyRecord | undefined;\n /** The first record of any type with this id, case-folded. */\n anyWithId(value: string): StrategyRecord | undefined;\n /** The records of the parent type the record's parent field names, each once, in the field's order. */\n parentsOf(record: StrategyRecord): StrategyRecord[];\n /** The records whose parent field names this record, in set order. */\n childrenOf(record: StrategyRecord): StrategyRecord[];\n /** The pages that name this record directly, sorted. Records do not count. */\n pagesNaming(record: StrategyRecord): string[];\n}\n\nexport function indexSet(set: StrategySet): StrategyIndex {\n const byType = new Map<RecordType, Map<string, StrategyRecord>>();\n const byId = new Map<string, StrategyRecord>();\n for (const record of set.records) {\n const ids = byType.get(record.type) ?? new Map<string, StrategyRecord>();\n if (!ids.has(fold(record.id))) ids.set(fold(record.id), record);\n byType.set(record.type, ids);\n if (!byId.has(fold(record.id))) byId.set(fold(record.id), record);\n }\n const resolveIn = (type: RecordType, value: string): StrategyRecord | undefined => byType.get(type)?.get(fold(value));\n const parentsOf = (record: StrategyRecord): StrategyRecord[] => {\n if (record.type === \"audience\") return [];\n const type = parentTypeOf(record.type);\n const found = record.parents.map((p) => resolveIn(type, p.value)).filter((r) => r !== undefined);\n return [...new Set(found)];\n };\n\n const children = new Map<StrategyRecord, StrategyRecord[]>();\n for (const record of set.records) {\n for (const parent of parentsOf(record)) children.set(parent, [...(children.get(parent) ?? []), record]);\n }\n const pages = new Map<StrategyRecord, Set<string>>();\n for (const reference of set.references) {\n if (reference.record) continue;\n const target = resolveIn(FIELD_TYPES[reference.field], reference.value);\n if (target === undefined) continue;\n const named = pages.get(target) ?? new Set<string>();\n named.add(reference.page);\n pages.set(target, named);\n }\n\n return {\n has: (type) => (byType.get(type)?.size ?? 0) > 0,\n resolve: resolveIn,\n anyWithId: (value) => byId.get(fold(value)),\n parentsOf,\n childrenOf: (record) => children.get(record) ?? [],\n pagesNaming: (record) => [...(pages.get(record) ?? [])].sort(),\n };\n}\n\n/** A finding before its level is known: `message` is its identity, `fix` the advice after it. */\ninterface Draft {\n rule: StrategyRule;\n message: string;\n fix?: string;\n file: string;\n line?: number;\n id?: string;\n field?: ReferenceField;\n}\n\n/** `a journey`, `an audience`. */\nfunction article(type: RecordType): string {\n return `${type === \"audience\" ? \"an\" : \"a\"} ${type}`;\n}\n\n/** Where a finding about a whole record sits: its `id:` line, else its first line. */\nfunction onRecord(record: StrategyRecord): At {\n return record.idAt ?? { file: record.file, line: record.line };\n}\n\nfunction located(at: At): At {\n return { file: at.file, ...(at.line === undefined ? {} : { line: at.line }) };\n}\n\n/** The ancestor of `record` of type `type`, walking up each record's first parent. */\nfunction ancestorOf(index: StrategyIndex, record: StrategyRecord, type: RecordType): StrategyRecord | undefined {\n let current = index.parentsOf(record)[0];\n while (current !== undefined && current.type !== type) current = index.parentsOf(current)[0];\n return current;\n}\n\nexport interface CheckStrategySetOptions {\n severity?: Partial<Record<StrategyRule, StrategySeverity>>;\n}\n\nexport function checkStrategySet(set: StrategySet, opts: CheckStrategySetOptions = {}): StrategyFinding[] {\n const levels = resolveSeverity(opts.severity);\n const index = indexSet(set);\n const drafts: Draft[] = [];\n\n /** The finding for a value that names no record of `type`, or the wrong type of record. */\n const unresolved = (field: ReferenceField, value: string, onRecordField: boolean): Pick<Draft, \"message\" | \"fix\"> => {\n const type = FIELD_TYPES[field];\n const other = index.anyWithId(value);\n if (other !== undefined) {\n const ancestor = ancestorOf(index, other, type);\n const fix =\n ancestor !== undefined\n ? `Did you mean its ${type}, \"${ancestor.id}\"?`\n : onRecordField\n ? \"Correct the value.\"\n : `Move it to ${PAGE_FIELDS[other.type]}:.`;\n return { message: `${field}: \"${value}\" is ${article(other.type)}, not ${article(type)}.`, fix };\n }\n const ids = set.records.filter((r) => r.type === type).map((r) => r.id);\n const nearest = closestName(fold(value), ids.map(fold));\n const suggestion = nearest === undefined ? undefined : ids.find((id) => fold(id) === nearest);\n const add = `Correct the value, or add a record with type: ${type} and id: ${value}.`;\n const fix =\n suggestion === undefined ? add : onRecordField ? `Did you mean \"${suggestion}\"?` : `Did you mean \"${suggestion}\"? ${add}`;\n return { message: `${field}: \"${value}\" names no ${type}.`, fix };\n };\n\n // undefined-reference, on every page's fields, records included.\n for (const reference of set.references) {\n const type = FIELD_TYPES[reference.field];\n if (!index.has(type) || index.resolve(type, reference.value) !== undefined) continue;\n drafts.push({\n rule: \"undefined-reference\",\n ...unresolved(reference.field, reference.value, false),\n ...located(reference),\n field: reference.field,\n });\n }\n // ...and on each value of a record's parent field.\n for (const record of set.records) {\n if (record.type === \"audience\") continue;\n const field = PARENTS[record.type];\n const type = parentTypeOf(record.type);\n if (!index.has(type)) continue;\n for (const parent of record.parents) {\n if (index.resolve(type, parent.value) !== undefined) continue;\n drafts.push({\n rule: \"undefined-reference\",\n ...unresolved(field, parent.value, true),\n ...located(parent),\n id: record.id,\n field,\n });\n }\n }\n\n // duplicate-id: on every record sharing the id, each naming the others.\n const sharing = new Map<string, StrategyRecord[]>();\n for (const record of set.records) sharing.set(fold(record.id), [...(sharing.get(fold(record.id)) ?? []), record]);\n for (const group of sharing.values()) {\n if (group.length < 2) continue;\n for (const record of group) {\n const others = group\n .filter((other) => other !== record)\n .map((other) => {\n const at = onRecord(other);\n return at.line === undefined ? at.file : `${at.file}:${String(at.line)}`;\n });\n drafts.push({\n rule: \"duplicate-id\",\n message: `id: \"${record.id}\" is also the id of ${others.join(\", \")}.`,\n fix: \"Give each record its own id.\",\n ...located(onRecord(record)),\n id: record.id,\n });\n }\n }\n\n // missing-parent: per page, one finding per set of parents the page names none of.\n const byPage = new Map<string, typeof set.references>();\n for (const reference of set.references) {\n if (reference.record) continue;\n byPage.set(reference.page, [...(byPage.get(reference.page) ?? []), reference]);\n }\n for (const references of byPage.values()) {\n const named = (field: ReferenceField): Set<string> =>\n new Set(references.filter((r) => r.field === field).map((r) => fold(r.value)));\n const reported = new Set<string>();\n for (const childType of [\"journey\", \"persona\"] as const satisfies readonly ChildType[]) {\n const parentType = parentTypeOf(childType);\n const parentField = PAGE_FIELDS[parentType];\n const has = named(parentField);\n for (const reference of references) {\n if (reference.field !== PAGE_FIELDS[childType]) continue;\n const child = index.resolve(childType, reference.value);\n if (child === undefined) continue;\n const parents = index.parentsOf(child);\n const ids = parents.map((p) => `\"${p.id}\"`).join(\", \");\n const key = `${parentType} ${ids}`;\n if (parents.length === 0 || parents.some((p) => has.has(fold(p.id))) || reported.has(key)) continue;\n reported.add(key);\n const one = parents.length === 1;\n drafts.push({\n rule: \"missing-parent\",\n message: one\n ? `${parentField}: does not name ${ids}, the ${parentType} of ${childType} \"${child.id}\".`\n : `${parentField}: names none of ${ids}, the ${parentField} of ${childType} \"${child.id}\".`,\n fix: `Add ${one ? \"it\" : \"one\"}, or drop \"${child.id}\" from ${PAGE_FIELDS[childType]}:.`,\n ...located(reference),\n field: parentField,\n });\n }\n }\n }\n\n // orphan-record, unserved-journey and unused-record: about whole records.\n for (const record of set.records) {\n const at = located(onRecord(record));\n if (record.type !== \"audience\" && record.parents.length === 0 && index.has(parentTypeOf(record.type))) {\n const field = PARENTS[record.type];\n drafts.push({\n rule: \"orphan-record\",\n message: `${field}: missing, so this ${record.type} belongs to no ${parentTypeOf(record.type)}.`,\n fix: `Name one with ${field}:.`,\n ...at,\n id: record.id,\n field,\n });\n }\n // Only the first record with an id is the one references resolve to.\n if (index.resolve(record.type, record.id) !== record) continue;\n const pages = index.pagesNaming(record);\n // A draft journey is not live yet, and an archived one no longer is, so neither owes a page.\n const live = record.lifecycle !== \"draft\" && record.lifecycle !== \"archived\";\n if (record.type === \"journey\" && live && pages.length === 0) {\n drafts.push({\n rule: \"unserved-journey\",\n message: \"no page names this journey in journeys:.\",\n fix: \"Name it on the pages that serve it.\",\n ...at,\n id: record.id,\n });\n }\n if (record.type !== \"journey\" && pages.length === 0 && index.childrenOf(record).length === 0) {\n drafts.push({\n rule: \"unused-record\",\n message: `no page and no record names this ${record.type}.`,\n ...at,\n id: record.id,\n });\n }\n }\n\n const findings: StrategyFinding[] = [];\n for (const draft of drafts) {\n const level = levels[draft.rule];\n if (level === \"off\") continue;\n findings.push({\n rule: draft.rule,\n ruleId: ruleId(draft.rule),\n severity: level,\n message: draft.fix === undefined ? draft.message : `${draft.message} ${draft.fix}`,\n ...(draft.fix === undefined ? {} : { key: draft.message }),\n guidance: guidanceFor(draft.rule),\n file: draft.file,\n ...(draft.line === undefined ? {} : { line: draft.line }),\n ...(draft.id === undefined ? {} : { id: draft.id }),\n ...(draft.field === undefined ? {} : { field: draft.field }),\n });\n }\n return findings.sort(compareFindings);\n}\n\nfunction compareText(a: string, b: string): number {\n return a < b ? -1 : a > b ? 1 : 0;\n}\n\nexport function compareFindings(a: StrategyFinding, b: StrategyFinding): number {\n return (\n compareText(a.file, b.file) ||\n (a.line ?? 0) - (b.line ?? 0) ||\n compareText(a.ruleId, b.ruleId) ||\n compareText(a.message, b.message)\n );\n}\n"],"mappings":";;;;;;;;;;;;;AA0BA,IAAM,OAAO,CAAC,UAA0B,MAAM,YAAY;AAG1D,IAAM,cAA4D;AAAA,EAChE,WAAW;AAAA,EACX,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AACZ;AAGA,IAAM,eAAe,CAAC,SAAgC,YAAY,QAAQ,IAAI,CAAC;AAkBxE,SAAS,SAAS,KAAiC;AACxD,QAAM,SAAS,oBAAI,IAA6C;AAChE,QAAM,OAAO,oBAAI,IAA4B;AAC7C,aAAW,UAAU,IAAI,SAAS;AAChC,UAAM,MAAM,OAAO,IAAI,OAAO,IAAI,KAAK,oBAAI,IAA4B;AACvE,QAAI,CAAC,IAAI,IAAI,KAAK,OAAO,EAAE,CAAC,EAAG,KAAI,IAAI,KAAK,OAAO,EAAE,GAAG,MAAM;AAC9D,WAAO,IAAI,OAAO,MAAM,GAAG;AAC3B,QAAI,CAAC,KAAK,IAAI,KAAK,OAAO,EAAE,CAAC,EAAG,MAAK,IAAI,KAAK,OAAO,EAAE,GAAG,MAAM;AAAA,EAClE;AACA,QAAM,YAA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,SAAS,YAAY,GAAW,GAAmB;AACjD,SAAO,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI;AAClC;AAEO,SAAS,gBAAgB,GAAoB,GAA4B;AAC9E,SACE,YAAY,EAAE,MAAM,EAAE,IAAI,MACzB,EAAE,QAAQ,MAAM,EAAE,QAAQ,MAC3B,YAAY,EAAE,QAAQ,EAAE,MAAM,KAC9B,YAAY,EAAE,SAAS,EAAE,OAAO;AAEpC;","names":["fix"]}
@@ -5,11 +5,11 @@ import {
5
5
  manifestKeyLine,
6
6
  mergeMetaProvenance,
7
7
  offerExternalHomes
8
- } from "./chunk-BKWXY474.js";
8
+ } from "./chunk-WI3PPQQX.js";
9
9
  import {
10
10
  formatList,
11
11
  render
12
- } from "./chunk-JBJGBEBU.js";
12
+ } from "./chunk-XPO655IX.js";
13
13
  import {
14
14
  DERIVED_ROWS,
15
15
  DERIVED_VIEW,
@@ -32,7 +32,7 @@ import {
32
32
  readerManifests,
33
33
  readerPlace,
34
34
  stampManifests
35
- } from "./chunk-XH3NRZFD.js";
35
+ } from "./chunk-4H3IOF52.js";
36
36
  import {
37
37
  ENCRYPTED_PLACEHOLDER,
38
38
  ENCRYPTION_KEY_ENV,
@@ -116,7 +116,7 @@ import {
116
116
  valueAt,
117
117
  withValueAt,
118
118
  writeEncryptionKey
119
- } from "./chunk-JA25DZIV.js";
119
+ } from "./chunk-ODSIHEIW.js";
120
120
  import {
121
121
  termLabelSource
122
122
  } from "./chunk-DSWKBZWW.js";
@@ -175,7 +175,7 @@ import {
175
175
  urlManifestMessage,
176
176
  urlManifestOwning,
177
177
  writeFileAtomic
178
- } from "./chunk-T3DDFC2B.js";
178
+ } from "./chunk-WRWW6SGG.js";
179
179
  import {
180
180
  escapeWorkflowCommandMessage,
181
181
  escapeWorkflowCommandProperty
@@ -6931,4 +6931,4 @@ export {
6931
6931
  renderQuery,
6932
6932
  renderQueryCsv
6933
6933
  };
6934
- //# sourceMappingURL=chunk-QYFPJY7F.js.map
6934
+ //# sourceMappingURL=chunk-SUTY4VCZ.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  pathKey
4
- } from "./chunk-X4ZANRWU.js";
4
+ } from "./chunk-5E3ABFOQ.js";
5
5
  import {
6
6
  DEFAULT_CAPTURE_DIR,
7
7
  makeRedactor
@@ -230,4 +230,4 @@ export {
230
230
  rollup,
231
231
  writeLedger
232
232
  };
233
- //# sourceMappingURL=chunk-IX5YIY5O.js.map
233
+ //# sourceMappingURL=chunk-TAJYMXMM.js.map
@@ -3,7 +3,7 @@ import {
3
3
  renderCalibration,
4
4
  resolveBatchTraces,
5
5
  runBatch
6
- } from "./chunk-VBEFPLAN.js";
6
+ } from "./chunk-MPXMQGJI.js";
7
7
  import {
8
8
  discoverConfig,
9
9
  labelKey,
@@ -378,4 +378,4 @@ export {
378
378
  score,
379
379
  runCalibrate
380
380
  };
381
- //# sourceMappingURL=chunk-2MRYDECM.js.map
381
+ //# sourceMappingURL=chunk-TDG2S5UE.js.map
@@ -14,4 +14,4 @@ var LintError = class extends ToolError {
14
14
  export {
15
15
  LintError
16
16
  };
17
- //# sourceMappingURL=chunk-TKINOTVS.js.map
17
+ //# sourceMappingURL=chunk-TI4DA6DF.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/lint/types.ts"],"sourcesContent":["/**\n * The contract every other module is written against.\n *\n * Two shapes matter. `DocumentTree` is what a parser owes the rest of the tool:\n * a nested section tree with real source positions, in a vocabulary that has\n * nothing to do with Markdown. `Finding` is what the tool owes its caller.\n * Everything between the two - matching, rules, reporting - touches neither\n * mdast nor Asciidoctor nor parse5, which is what lets a new input format be\n * one file plus a line in the parser registry.\n */\n\nimport { ToolError } from \"../shared/errors.js\";\nimport type { Severity } from \"../shared/severity.js\";\nimport type { Guidance } from \"../shared/guidance.js\";\n\n/**\n * Operational/usage failure. Exits 2; never used for lint findings.\n *\n * Extends the umbrella's `ToolError`, which is what the shared bin runner\n * matches on; the subclass stays so this tool's tests and library callers can\n * match on it by name. Named for its domain, as `A11yError`, `CiteError` and\n * `KeyError` are.\n */\nexport class LintError extends ToolError {\n constructor(message: string) {\n super(message);\n this.name = \"LintError\";\n }\n}\n\n/** A point in a source file. Line and column are 1-based, offset 0-based. */\nexport interface Point {\n line: number;\n column: number;\n offset: number;\n}\n\n/** A half-open source span, `start` inclusive and `end` exclusive. */\nexport interface Position {\n start: Point;\n end: Point;\n}\n\n/**\n * Content kinds a section can hold, named generically so a rule written once\n * works on every format. Each parser maps its own AST onto these: mdast\n * `paragraph`/`code`/`list`, Asciidoctor `paragraph`/`listing`/`ulist`|`olist`,\n * HTML `<p>`/`<pre>`/`<ul>` - all three onto `paragraph`/`codeBlock`/`list`.\n *\n * The vocabulary is wider than any one parser emits today. `table`,\n * `admonition`, `image`, `blockquote`, `definitionList`, and `element` are\n * declared here, and in each `DocumentParser.kinds`, only once a parser\n * actually produces them - see `src/lint/parsers/index.ts`.\n */\nexport type ContentKind =\n | \"paragraph\"\n | \"codeBlock\"\n | \"list\"\n | \"listItem\"\n | \"table\"\n | \"tableRow\"\n | \"tableCell\"\n | \"admonition\"\n | \"image\"\n | \"blockquote\"\n | \"definitionList\"\n | \"definitionItem\"\n | \"element\";\n\nexport interface ContentNodeBase {\n kind: ContentKind;\n position: Position;\n /** Plain-text rendering, used by pattern rules. */\n text: string;\n}\n\nexport interface ParagraphNode extends ContentNodeBase {\n kind: \"paragraph\";\n}\n\nexport interface CodeNode extends ContentNodeBase {\n kind: \"codeBlock\";\n /** Language, when the format carries one. */\n language?: string;\n /** The info-string tail after the language, when the format carries one. */\n fenceInfo?: string;\n}\n\nexport interface ListItemNode {\n kind: \"listItem\";\n position: Position;\n text: string;\n /** Nested content, so item-level paragraph/code/list rules can run. */\n children: ContentNode[];\n}\n\nexport interface ListNode extends ContentNodeBase {\n kind: \"list\";\n ordered: boolean;\n items: ListItemNode[];\n}\n\nexport interface TableCellNode extends ContentNodeBase {\n kind: \"tableCell\";\n children: ContentNode[];\n}\n\nexport interface TableRowNode extends ContentNodeBase {\n kind: \"tableRow\";\n header: boolean;\n children: TableCellNode[];\n}\n\nexport interface TableNode extends ContentNodeBase {\n kind: \"table\";\n children: TableRowNode[];\n}\n\n/**\n * A callout, and the flavor the source gave it.\n *\n * `variant` is optional because not every format names one this vocabulary\n * has. reStructuredText has `hint`, `attention`, `error` and a generic\n * `admonition` directive, and a bare HTML `<aside>` says nothing at all. Those\n * produce an admonition with no variant rather than an invented equivalence:\n * mapping `hint` onto `tip` would make `variant: tip` pass on a page that\n * never said tip. A `variant:` rule reports such a node as a mismatch, and a\n * plain count rule still counts it.\n */\nexport interface AdmonitionNode extends ContentNodeBase {\n kind: \"admonition\";\n variant?: \"note\" | \"tip\" | \"important\" | \"caution\" | \"warning\" | \"danger\";\n children: ContentNode[];\n}\n\nexport interface ImageNode extends ContentNodeBase {\n kind: \"image\";\n url: string;\n alt: string;\n title?: string;\n}\n\nexport interface BlockquoteNode extends ContentNodeBase {\n kind: \"blockquote\";\n children: ContentNode[];\n}\n\nexport interface DefinitionItemNode {\n kind: \"definitionItem\";\n position: Position;\n text: string;\n term: string;\n definition: ContentNode[];\n}\n\nexport interface DefinitionListNode extends ContentNodeBase {\n kind: \"definitionList\";\n children: DefinitionItemNode[];\n}\n\n/**\n * A named wrapper - an MDX/JSX component today, and where HTML and DITA may\n * eventually anchor a custom element. Its children are its own content, never\n * the enclosing section's: a rule reading a section's `children` must not see\n * inside an `<Element>` it did not ask about.\n */\nexport interface ElementNode extends ContentNodeBase {\n kind: \"element\";\n name: string;\n attributes?: Record<string, string | true>;\n children: ContentNode[];\n}\n\nexport type ContentNode =\n | ParagraphNode\n | CodeNode\n | ListNode\n | TableNode\n | AdmonitionNode\n | ImageNode\n | BlockquoteNode\n | DefinitionListNode\n | ElementNode;\n\n/**\n * One section of a document, demarcated by a heading.\n *\n * `slug`/`title`/`level`/`order`/`parentSlug` intentionally match manni graph's\n * `Section` (dockg/src/types.ts), so its graph can be built from this tree.\n *\n * `children` is in document order and is the single source of truth: the\n * paragraph/codeBlock/list counts every rule needs are queries over it, not\n * separately maintained arrays.\n */\nexport interface SectionNode {\n /** Slug of the heading, disambiguated across the document (`install-1`). */\n slug: string;\n /** Heading text, with inline markup flattened. */\n title: string;\n /** Heading level, 1-6. 0 for the implicit lead section before any heading. */\n level: number;\n /** 1-based position among siblings under the same parent. */\n order: number;\n /** Slug of the enclosing section, or null at the top level. */\n parentSlug: string | null;\n /** Span of the title itself. Null for the implicit lead section. */\n titlePosition: Position | null;\n /**\n * The anchor the source itself gives this section, verbatim - an HTML `id`,\n * a DITA `@id`, an AsciiDoc `[[id]]`, a reST `.. _label:` - when it gives\n * one. `slug` stays the slugged title either way: a link written against\n * the source's own id resolves through this, and nothing lint matches on\n * reads it.\n */\n id?: string;\n /**\n * Set on the level-1 section `withMetadataTitle` made from a metadata\n * `title`, so a consumer can tell it from a heading the author wrote. Its\n * `titlePosition` is not enough: a reST title read back as docinfo shares\n * its span with the frontmatter, written or not.\n */\n synthetic?: true;\n /** Span of the whole section: its heading through the last node before the next sibling heading. */\n position: Position;\n /** Direct content, in document order, excluding anything owned by a subsection. */\n children: ContentNode[];\n /** Nested sections, in document order. */\n sections: SectionNode[];\n}\n\n/** What a parser returns for one file. */\nexport interface DocumentTree {\n /** Name of the parser that produced this (`markdown`, `asciidoc`, ...). */\n format: string;\n /** Path the content came from, for error messages. */\n filePath: string;\n /** Raw frontmatter/metadata values, or null when the file carries none. */\n frontmatter: Record<string, unknown> | null;\n /** Span of the frontmatter block, for anchoring findings about it. */\n frontmatterPosition: Position | null;\n /** Top-level sections, in document order. */\n sections: SectionNode[];\n /**\n * Link targets exactly as the source wrote them, in document order, for\n * `manni graph`. No lint rule reads them. Each parser decides what counts:\n * an anchor to elsewhere does, and a stylesheet, a heading's own permalink,\n * or a key reference resolved only at build time does not.\n */\n links: { target: string; position: Position }[];\n}\n\n/**\n * A parser for one input format.\n *\n * Shaped after docmeta's `MetadataExtractor` so the two registries read the\n * same way. A format is registered only when its parser reads it, so every\n * registered format is one the tool reads, and an extension no parser claims is\n * skipped by name rather than parsed as Markdown.\n */\nexport interface DocumentParser {\n /** Stable name, also used as `DocumentTree.format`. */\n name: string;\n /** Human-readable label for `manni lint tools`. */\n label: string;\n /**\n * The content kinds this parser actually emits today. A capability\n * declaration, not the full `ContentKind` vocabulary: a kind absent here is\n * one no rule will ever see from this parser's trees, whatever the format\n * could in principle represent.\n */\n kinds: ContentKind[];\n /** Lowercase file extensions this parser handles, incl. dot (e.g. \".md\"). */\n extensions: string[];\n /**\n * Extensions safe to collect from a directory walk. Defaults to\n * `extensions`.\n *\n * The two differ when an extension is a generic container rather than a\n * documentation format. `.xml` is the case: this parser can read a DocBook\n * or DITA document named explicitly, but a docs tree also contains\n * `pom.xml`, `sitemap.xml`, and `.csproj`, and sweeping those in turns a\n * clean run into a failure about files the user never asked to lint.\n */\n walkExtensions?: string[];\n /** Parse raw file content into the generic tree. */\n parse(content: string, filePath: string): DocumentTree;\n}\n\n/**\n * How much a finding weighs, on the one scale every manni tool speaks\n * (`src/shared/severity.ts`): `notice | warning | error`.\n *\n * Almost every structural finding is an `error`, since a template either\n * describes a document or it does not. `unsupported_content_kind` is the\n * exception and is a `warning`: the rule never ran, so the page may still be\n * fine, and a warning never moves the exit code.\n *\n * The scale is the family's and not this tool's private pair, because a flag\n * or config key two domains both have carries the same name *and* the same\n * values. Re-exported so `lint.Severity` names the same type a caller already\n * has.\n */\nexport type { Severity };\n\n/**\n * One structural violation.\n *\n * The field set is pinned by manni docevals' tool adapter, which reads\n * `{ type, heading, message, position }` off the JSON reporter. Additions are\n * safe; renames are not.\n */\nexport interface Finding {\n /** Machine-readable rule id, e.g. `missing_section`. */\n type: string;\n /** Heading of the section the finding is anchored to, if any. */\n heading: string | null;\n message: string;\n position: Position;\n severity: Severity;\n /**\n * The template that judged the page and the rule this finding is about, so\n * an author reads what the section is for beside what is wrong with it.\n * `null` when no template stands behind the finding: a parse failure, an\n * unknown doctype, a broken template, or a tool other than manni.\n */\n template?: FindingTemplate | null;\n}\n\n/**\n * What a template asks for, as a finding carries it: the family's guidance\n * shape (`src/shared/guidance.ts`) under lint's released name.\n *\n * - `id` is the template's ref, as `manni lint templates` lists it and\n * `--template` takes it.\n * - `rule` is the rule's `id`. `null` for a rule without one, the template\n * itself, or no rule at all.\n * - `description` is the rule's `description`, or `null` when it has none.\n * - `guide` is the template's `guide`, after `extends`, or `null`.\n */\nexport type FindingTemplate = Guidance;\n\n/**\n * Why a file was not linted.\n *\n * `unreadable` is the one that is not about the document: the file was found,\n * claimed by a parser, and then could not be opened - a denied permission, a\n * symlink loop, a page a doc build moved between the walk and the read. It is a\n * skip rather than a finding because nothing was checked, and calling it a\n * finding would report the docs as wrong when the filesystem was.\n */\nexport type SkipReason = \"no-template\" | \"unsupported-format\" | \"unreadable\";\n\n/** Result of linting one file. */\nexport interface FileResult {\n file: string;\n /** True when the file was linted and produced no findings. */\n success: boolean;\n findings: Finding[];\n /** Template id/ref applied, or null when skipped. */\n template: string | null;\n /** Set when the file was skipped rather than linted. */\n skipped?: SkipReason;\n}\n"],"mappings":";;;;;;AAuBO,IAAM,YAAN,cAAwB,UAAU;AAAA,EACvC,YAAY,SAAiB;AAC3B,UAAM,OAAO;AACb,SAAK,OAAO;AAAA,EACd;AACF;","names":[]}
1
+ {"version":3,"sources":["../src/lint/types.ts"],"sourcesContent":["/**\n * The contract every other module is written against.\n *\n * Two shapes matter. `DocumentTree` is what a parser owes the rest of the tool:\n * a nested section tree with real source positions, in a vocabulary that has\n * nothing to do with Markdown. `Finding` is what the tool owes its caller.\n * Everything between the two - matching, rules, reporting - touches neither\n * mdast nor Asciidoctor nor parse5, which is what lets a new input format be\n * one file plus a line in the parser registry.\n */\n\nimport { ToolError } from \"../shared/errors.js\";\nimport type { Severity } from \"../shared/severity.js\";\nimport type { Guidance } from \"../shared/guidance.js\";\n\n/**\n * Operational/usage failure. Exits 2; never used for lint findings.\n *\n * Extends the umbrella's `ToolError`, which is what the shared bin runner\n * matches on; the subclass stays so this tool's tests and library callers can\n * match on it by name. Named for its domain, as `A11yError`, `CiteError` and\n * `KeyError` are.\n */\nexport class LintError extends ToolError {\n constructor(message: string) {\n super(message);\n this.name = \"LintError\";\n }\n}\n\n/** A point in a source file. Line and column are 1-based, offset 0-based. */\nexport interface Point {\n line: number;\n column: number;\n offset: number;\n}\n\n/** A half-open source span, `start` inclusive and `end` exclusive. */\nexport interface Position {\n start: Point;\n end: Point;\n}\n\n/**\n * Content kinds a section can hold, named generically so a rule written once\n * works on every format. Each parser maps its own AST onto these: mdast\n * `paragraph`/`code`/`list`, Asciidoctor `paragraph`/`listing`/`ulist`|`olist`,\n * HTML `<p>`/`<pre>`/`<ul>` - all three onto `paragraph`/`codeBlock`/`list`.\n *\n * The vocabulary is wider than any one parser emits today. `table`,\n * `admonition`, `image`, `blockquote`, `definitionList`, and `element` are\n * declared here, and in each `DocumentParser.kinds`, only once a parser\n * actually produces them - see `src/lint/parsers/index.ts`.\n */\nexport type ContentKind =\n | \"paragraph\"\n | \"codeBlock\"\n | \"list\"\n | \"listItem\"\n | \"table\"\n | \"tableRow\"\n | \"tableCell\"\n | \"admonition\"\n | \"image\"\n | \"blockquote\"\n | \"definitionList\"\n | \"definitionItem\"\n | \"element\";\n\nexport interface ContentNodeBase {\n kind: ContentKind;\n position: Position;\n /** Plain-text rendering, used by pattern rules. */\n text: string;\n}\n\nexport interface ParagraphNode extends ContentNodeBase {\n kind: \"paragraph\";\n}\n\nexport interface CodeNode extends ContentNodeBase {\n kind: \"codeBlock\";\n /** Language, when the format carries one. */\n language?: string;\n /** The info-string tail after the language, when the format carries one. */\n fenceInfo?: string;\n}\n\nexport interface ListItemNode {\n kind: \"listItem\";\n position: Position;\n text: string;\n /** Nested content, so item-level paragraph/code/list rules can run. */\n children: ContentNode[];\n}\n\nexport interface ListNode extends ContentNodeBase {\n kind: \"list\";\n ordered: boolean;\n items: ListItemNode[];\n}\n\nexport interface TableCellNode extends ContentNodeBase {\n kind: \"tableCell\";\n children: ContentNode[];\n}\n\nexport interface TableRowNode extends ContentNodeBase {\n kind: \"tableRow\";\n header: boolean;\n children: TableCellNode[];\n}\n\nexport interface TableNode extends ContentNodeBase {\n kind: \"table\";\n children: TableRowNode[];\n}\n\n/**\n * A callout, and the flavor the source gave it.\n *\n * `variant` is optional because not every format names one this vocabulary\n * has. reStructuredText has `hint`, `attention`, `error` and a generic\n * `admonition` directive, and a bare HTML `<aside>` says nothing at all. Those\n * produce an admonition with no variant rather than an invented equivalence:\n * mapping `hint` onto `tip` would make `variant: tip` pass on a page that\n * never said tip. A `variant:` rule reports such a node as a mismatch, and a\n * plain count rule still counts it.\n */\nexport interface AdmonitionNode extends ContentNodeBase {\n kind: \"admonition\";\n variant?: \"note\" | \"tip\" | \"important\" | \"caution\" | \"warning\" | \"danger\";\n children: ContentNode[];\n}\n\nexport interface ImageNode extends ContentNodeBase {\n kind: \"image\";\n url: string;\n alt: string;\n title?: string;\n}\n\nexport interface BlockquoteNode extends ContentNodeBase {\n kind: \"blockquote\";\n children: ContentNode[];\n}\n\nexport interface DefinitionItemNode {\n kind: \"definitionItem\";\n position: Position;\n text: string;\n term: string;\n definition: ContentNode[];\n}\n\nexport interface DefinitionListNode extends ContentNodeBase {\n kind: \"definitionList\";\n children: DefinitionItemNode[];\n}\n\n/**\n * A named wrapper - an MDX/JSX component today, and where HTML and DITA may\n * eventually anchor a custom element. Its children are its own content, never\n * the enclosing section's: a rule reading a section's `children` must not see\n * inside an `<Element>` it did not ask about.\n */\nexport interface ElementNode extends ContentNodeBase {\n kind: \"element\";\n name: string;\n attributes?: Record<string, string | true>;\n children: ContentNode[];\n}\n\nexport type ContentNode =\n | ParagraphNode\n | CodeNode\n | ListNode\n | TableNode\n | AdmonitionNode\n | ImageNode\n | BlockquoteNode\n | DefinitionListNode\n | ElementNode;\n\n/**\n * One section of a document, demarcated by a heading.\n *\n * `slug`/`title`/`level`/`order`/`parentSlug` intentionally match manni graph's\n * `Section` (dockg/src/types.ts), so its graph can be built from this tree.\n *\n * `children` is in document order and is the single source of truth: the\n * paragraph/codeBlock/list counts every rule needs are queries over it, not\n * separately maintained arrays.\n */\nexport interface SectionNode {\n /** Slug of the heading, disambiguated across the document (`install-1`). */\n slug: string;\n /** Heading text, with inline markup flattened. */\n title: string;\n /** Heading level, 1-6. 0 for the implicit lead section before any heading. */\n level: number;\n /** 1-based position among siblings under the same parent. */\n order: number;\n /** Slug of the enclosing section, or null at the top level. */\n parentSlug: string | null;\n /** Span of the title itself. Null for the implicit lead section. */\n titlePosition: Position | null;\n /**\n * The anchor the source itself gives this section, verbatim - an HTML `id`,\n * a DITA `@id`, an AsciiDoc `[[id]]`, a reST `.. _label:` - when it gives\n * one. `slug` stays the slugged title either way: a link written against\n * the source's own id resolves through this, and nothing lint matches on\n * reads it.\n */\n id?: string;\n /**\n * Set on the level-1 section `withMetadataTitle` made from a metadata\n * `title`, so a consumer can tell it from a heading the author wrote. Its\n * `titlePosition` is not enough: a reST title read back as docinfo shares\n * its span with the frontmatter, written or not.\n */\n synthetic?: true;\n /** Span of the whole section: its heading through the last node before the next sibling heading. */\n position: Position;\n /** Direct content, in document order, excluding anything owned by a subsection. */\n children: ContentNode[];\n /** Nested sections, in document order. */\n sections: SectionNode[];\n}\n\n/** What a parser returns for one file. */\nexport interface DocumentTree {\n /** Name of the parser that produced this (`markdown`, `asciidoc`, ...). */\n format: string;\n /** Path the content came from, for error messages. */\n filePath: string;\n /** Raw frontmatter/metadata values, or null when the file carries none. */\n frontmatter: Record<string, unknown> | null;\n /** Span of the frontmatter block, for anchoring findings about it. */\n frontmatterPosition: Position | null;\n /** Top-level sections, in document order. */\n sections: SectionNode[];\n /**\n * Link targets exactly as the source wrote them, in document order, for\n * `manni graph`. No lint rule reads them. Each parser decides what counts:\n * an anchor to elsewhere does, and a stylesheet, a heading's own permalink,\n * or a key reference resolved only at build time does not.\n */\n links: { target: string; position: Position }[];\n}\n\n/**\n * A parser for one input format.\n *\n * Shaped after docmeta's `MetadataExtractor` so the two registries read the\n * same way. A format is registered only when its parser reads it, so every\n * registered format is one the tool reads, and an extension no parser claims is\n * skipped by name rather than parsed as Markdown.\n */\nexport interface DocumentParser {\n /** Stable name, also used as `DocumentTree.format`. */\n name: string;\n /** Human-readable label for `manni lint tools`. */\n label: string;\n /**\n * The content kinds this parser actually emits today. A capability\n * declaration, not the full `ContentKind` vocabulary: a kind absent here is\n * one no rule will ever see from this parser's trees, whatever the format\n * could in principle represent.\n */\n kinds: ContentKind[];\n /** Lowercase file extensions this parser handles, incl. dot (e.g. \".md\"). */\n extensions: string[];\n /**\n * Extensions safe to collect from a directory walk. Defaults to\n * `extensions`.\n *\n * The two differ when an extension is a generic container rather than a\n * documentation format. `.xml` is the case: this parser can read a DocBook\n * or DITA document named explicitly, but a docs tree also contains\n * `pom.xml`, `sitemap.xml`, and `.csproj`, and sweeping those in turns a\n * clean run into a failure about files the user never asked to lint.\n */\n walkExtensions?: string[];\n /**\n * Parse raw file content into the generic tree. AsciiDoc's parser returns a\n * promise, because Asciidoctor loads a document asynchronously; the others\n * return the tree itself. A caller awaits either.\n */\n parse(content: string, filePath: string): DocumentTree | Promise<DocumentTree>;\n}\n\n/**\n * How much a finding weighs, on the one scale every manni tool speaks\n * (`src/shared/severity.ts`): `notice | warning | error`.\n *\n * Almost every structural finding is an `error`, since a template either\n * describes a document or it does not. `unsupported_content_kind` is the\n * exception and is a `warning`: the rule never ran, so the page may still be\n * fine, and a warning never moves the exit code.\n *\n * The scale is the family's and not this tool's private pair, because a flag\n * or config key two domains both have carries the same name *and* the same\n * values. Re-exported so `lint.Severity` names the same type a caller already\n * has.\n */\nexport type { Severity };\n\n/**\n * One structural violation.\n *\n * The field set is pinned by manni docevals' tool adapter, which reads\n * `{ type, heading, message, position }` off the JSON reporter. Additions are\n * safe; renames are not.\n */\nexport interface Finding {\n /** Machine-readable rule id, e.g. `missing_section`. */\n type: string;\n /** Heading of the section the finding is anchored to, if any. */\n heading: string | null;\n message: string;\n position: Position;\n severity: Severity;\n /**\n * The template that judged the page and the rule this finding is about, so\n * an author reads what the section is for beside what is wrong with it.\n * `null` when no template stands behind the finding: a parse failure, an\n * unknown doctype, a broken template, or a tool other than manni.\n */\n template?: FindingTemplate | null;\n}\n\n/**\n * What a template asks for, as a finding carries it: the family's guidance\n * shape (`src/shared/guidance.ts`) under lint's released name.\n *\n * - `id` is the template's ref, as `manni lint templates` lists it and\n * `--template` takes it.\n * - `rule` is the rule's `id`. `null` for a rule without one, the template\n * itself, or no rule at all.\n * - `description` is the rule's `description`, or `null` when it has none.\n * - `guide` is the template's `guide`, after `extends`, or `null`.\n */\nexport type FindingTemplate = Guidance;\n\n/**\n * Why a file was not linted.\n *\n * `unreadable` is the one that is not about the document: the file was found,\n * claimed by a parser, and then could not be opened - a denied permission, a\n * symlink loop, a page a doc build moved between the walk and the read. It is a\n * skip rather than a finding because nothing was checked, and calling it a\n * finding would report the docs as wrong when the filesystem was.\n */\nexport type SkipReason = \"no-template\" | \"unsupported-format\" | \"unreadable\";\n\n/** Result of linting one file. */\nexport interface FileResult {\n file: string;\n /** True when the file was linted and produced no findings. */\n success: boolean;\n findings: Finding[];\n /** Template id/ref applied, or null when skipped. */\n template: string | null;\n /** Set when the file was skipped rather than linted. */\n skipped?: SkipReason;\n}\n"],"mappings":";;;;;;AAuBO,IAAM,YAAN,cAAwB,UAAU;AAAA,EACvC,YAAY,SAAiB;AAC3B,UAAM,OAAO;AACb,SAAK,OAAO;AAAA,EACd;AACF;","names":[]}
@@ -7,11 +7,11 @@ import {
7
7
  } from "./chunk-4TSWU2SU.js";
8
8
  import {
9
9
  metaProvenanceEntries
10
- } from "./chunk-BKWXY474.js";
10
+ } from "./chunk-WI3PPQQX.js";
11
11
  import {
12
12
  __default3 as __default,
13
13
  extractFrontmatter
14
- } from "./chunk-T3DDFC2B.js";
14
+ } from "./chunk-WRWW6SGG.js";
15
15
 
16
16
  // src/tracevals/capture/manifest.ts
17
17
  import { createHash } from "node:crypto";
@@ -1168,4 +1168,4 @@ export {
1168
1168
  ARTIFACT_EVALS_SCHEMA_ID,
1169
1169
  extractEvals
1170
1170
  };
1171
- //# sourceMappingURL=chunk-K5Q766TX.js.map
1171
+ //# sourceMappingURL=chunk-UVC3BUKU.js.map
@@ -5,7 +5,7 @@ import {
5
5
  offerPrompt,
6
6
  planRelocation,
7
7
  relocationOffers
8
- } from "./chunk-JA25DZIV.js";
8
+ } from "./chunk-ODSIHEIW.js";
9
9
 
10
10
  // src/meta/core/location-writes.ts
11
11
  import { LineCounter, isMap, isNode, isScalar, parseDocument } from "yaml";
@@ -161,4 +161,4 @@ export {
161
161
  mergeMetaProvenance,
162
162
  metaProvenanceEntries
163
163
  };
164
- //# sourceMappingURL=chunk-BKWXY474.js.map
164
+ //# sourceMappingURL=chunk-WI3PPQQX.js.map
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-HX44GB4Z.js";
12
12
  import {
13
13
  package_default
14
- } from "./chunk-SGUSZTUB.js";
14
+ } from "./chunk-MJZ5HYYL.js";
15
15
  import {
16
16
  programName
17
17
  } from "./chunk-OWBRDNRZ.js";
@@ -14141,4 +14141,4 @@ export {
14141
14141
  loadMetaSection,
14142
14142
  resolveRunConfig
14143
14143
  };
14144
- //# sourceMappingURL=chunk-T3DDFC2B.js.map
14144
+ //# sourceMappingURL=chunk-WRWW6SGG.js.map
@@ -6,7 +6,7 @@ import {
6
6
  canonicalSchemaRef,
7
7
  fingerprint,
8
8
  isErrorSeverity
9
- } from "./chunk-T3DDFC2B.js";
9
+ } from "./chunk-WRWW6SGG.js";
10
10
  import {
11
11
  escapeWorkflowCommandMessage,
12
12
  escapeWorkflowCommandProperty,
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-B2242FYO.js";
21
21
  import {
22
22
  package_default
23
- } from "./chunk-SGUSZTUB.js";
23
+ } from "./chunk-MJZ5HYYL.js";
24
24
 
25
25
  // src/meta/reporters/rule-id.ts
26
26
  var SYNTHETIC_SCHEMA = "(parse)";
@@ -407,4 +407,4 @@ export {
407
407
  renderGithub,
408
408
  render
409
409
  };
410
- //# sourceMappingURL=chunk-JBJGBEBU.js.map
410
+ //# sourceMappingURL=chunk-XPO655IX.js.map