scip-query 0.20.0 → 0.21.0

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 (586) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/README.md +255 -884
  3. package/dist/augment-vue-worker.js +1 -1
  4. package/dist/by-kind-CI3O6PQG.js +2 -0
  5. package/dist/call-graph-6QTUTXH7.js +2 -0
  6. package/dist/call-graph-evidence-lZa2dwQA.d.ts +11 -0
  7. package/dist/change-analysis-types-CCtoCHbC.d.ts +9 -0
  8. package/dist/chunk-26CT72HM.js +2 -0
  9. package/dist/{chunk-7PIO7NKH.js → chunk-2COFMIVK.js} +2 -2
  10. package/dist/chunk-2H4IAJHO.js +2 -0
  11. package/dist/chunk-2I3RSUWX.js +16 -0
  12. package/dist/chunk-2RP27XLR.js +2 -0
  13. package/dist/chunk-2ZBMOQGG.js +3 -0
  14. package/dist/{chunk-HX4GQPZP.js → chunk-32A42O5B.js} +3 -3
  15. package/dist/chunk-35ELD3RM.js +2 -0
  16. package/dist/chunk-35IW3P4H.js +2 -0
  17. package/dist/{chunk-DQGFVPUV.js → chunk-3653GTR7.js} +3 -3
  18. package/dist/chunk-3EX7DNBC.js +2 -0
  19. package/dist/chunk-3FQ3KMCD.js +2 -0
  20. package/dist/{chunk-5E4WNAVD.js → chunk-3PII3JI5.js} +2 -2
  21. package/dist/chunk-3TNRNKAT.js +2 -0
  22. package/dist/chunk-3VLJ2DCA.js +2 -0
  23. package/dist/{chunk-XSRF6Q77.js → chunk-46JLFIGA.js} +2 -2
  24. package/dist/chunk-4DCKBY6T.js +5 -0
  25. package/dist/chunk-4EXFZP6H.js +2 -0
  26. package/dist/chunk-4IIMPWMR.js +29 -0
  27. package/dist/chunk-4ILHWBYF.js +2 -0
  28. package/dist/chunk-4N6QSEMZ.js +10 -0
  29. package/dist/chunk-4OE2JO6I.js +2 -0
  30. package/dist/{chunk-7BAVHKMJ.js → chunk-4S4DF62J.js} +9 -9
  31. package/dist/chunk-4UUCUASK.js +554 -0
  32. package/dist/chunk-5236NQV3.js +2 -0
  33. package/dist/chunk-54EOGFBR.js +2 -0
  34. package/dist/{chunk-LY4WC4AD.js → chunk-5H7IWVXJ.js} +2 -2
  35. package/dist/chunk-5IZTXSOL.js +117 -0
  36. package/dist/{chunk-AZJQQKDD.js → chunk-5SE323LF.js} +2 -2
  37. package/dist/chunk-5ZJH6DDE.js +2 -0
  38. package/dist/chunk-63MBA7EG.js +3 -0
  39. package/dist/chunk-6BJ7SOY7.js +2 -0
  40. package/dist/chunk-6GJAP4OE.js +2 -0
  41. package/dist/chunk-6IEVHGWG.js +26 -0
  42. package/dist/chunk-6SWA6B24.js +7 -0
  43. package/dist/chunk-6T7H2AFY.js +3 -0
  44. package/dist/chunk-73Z33VFI.js +4 -0
  45. package/dist/chunk-7COHFNJK.js +38 -0
  46. package/dist/chunk-7HU2IJ2T.js +3 -0
  47. package/dist/chunk-7IOAZRVL.js +60 -0
  48. package/dist/chunk-7KCZELVM.js +2 -0
  49. package/dist/chunk-7PPYXENX.js +2 -0
  50. package/dist/chunk-7TWP3MCP.js +2 -0
  51. package/dist/chunk-AA7K3XLM.js +21 -0
  52. package/dist/chunk-AJVMVE7X.js +7 -0
  53. package/dist/chunk-ANWGXPPN.js +4 -0
  54. package/dist/chunk-APLKXICZ.js +3 -0
  55. package/dist/{chunk-JDOEX4E6.js → chunk-AQDWTCDC.js} +2 -2
  56. package/dist/chunk-AUP6YI5M.js +2 -0
  57. package/dist/chunk-B7ECWJAZ.js +2 -0
  58. package/dist/{chunk-ZHXX42OH.js → chunk-BATIVRU2.js} +4 -4
  59. package/dist/chunk-BBEDPVPB.js +4 -0
  60. package/dist/chunk-BBWPOMGU.js +2 -0
  61. package/dist/chunk-BD6CV7PN.js +2 -0
  62. package/dist/{chunk-XKWKXZKW.js → chunk-BHE44MHT.js} +2 -2
  63. package/dist/chunk-BOJ5SVE2.js +2 -0
  64. package/dist/chunk-BZYSGZRK.js +2 -0
  65. package/dist/chunk-CA5RE6H7.js +2 -0
  66. package/dist/chunk-CKDOY6JA.js +2 -0
  67. package/dist/chunk-CN2WGM7D.js +2 -0
  68. package/dist/chunk-COTMS5KM.js +3 -0
  69. package/dist/chunk-CSDDOUA4.js +3 -0
  70. package/dist/chunk-CT5SI2I4.js +2 -0
  71. package/dist/chunk-D5EKVZPI.js +2 -0
  72. package/dist/{chunk-FKSELJQF.js → chunk-D5W4UZY5.js} +2 -2
  73. package/dist/{chunk-RUJURYSV.js → chunk-DEUGHURX.js} +2 -2
  74. package/dist/chunk-DHKBIOXF.js +7 -0
  75. package/dist/chunk-DMQ7ZKJG.js +81 -0
  76. package/dist/chunk-DMUGTKMD.js +2 -0
  77. package/dist/chunk-DOPCR5BY.js +2 -0
  78. package/dist/chunk-DRENNWRG.js +2 -0
  79. package/dist/chunk-E4EJBGDZ.js +2 -0
  80. package/dist/chunk-E7BJXRNV.js +2 -0
  81. package/dist/chunk-EA4SH4U5.js +5 -0
  82. package/dist/{chunk-L7AW2QB5.js → chunk-EKZRF57O.js} +2 -2
  83. package/dist/chunk-ELNRLMC5.js +29 -0
  84. package/dist/chunk-F4FNK44D.js +2 -0
  85. package/dist/chunk-F7WQ337U.js +308 -0
  86. package/dist/chunk-FEQIQ26E.js +2 -0
  87. package/dist/chunk-FGB567HK.js +23 -0
  88. package/dist/chunk-FHV7NMFU.js +29 -0
  89. package/dist/chunk-FN6EJM6Q.js +2 -0
  90. package/dist/chunk-FTSQNONX.js +2 -0
  91. package/dist/chunk-FUG6RPYY.js +6 -0
  92. package/dist/chunk-G2F6T5BV.js +2 -0
  93. package/dist/chunk-G6OGPXJW.js +9 -0
  94. package/dist/chunk-GFLTPNWV.js +3 -0
  95. package/dist/chunk-GTDP2SKQ.js +2 -0
  96. package/dist/chunk-H46QMB7E.js +2 -0
  97. package/dist/chunk-H5EXS3HM.js +2 -0
  98. package/dist/chunk-HEOMG7IM.js +8 -0
  99. package/dist/chunk-HG5YI7PV.js +2 -0
  100. package/dist/{chunk-7SQQWSY3.js → chunk-HGKEAP7F.js} +2 -2
  101. package/dist/chunk-HUZNZ3H2.js +2 -0
  102. package/dist/chunk-HWLCBKFE.js +2 -0
  103. package/dist/chunk-I3U2FN2T.js +13 -0
  104. package/dist/{chunk-JAYYFEQY.js → chunk-I7PFL5P3.js} +2 -2
  105. package/dist/{chunk-2HPVVXM5.js → chunk-ICHBVITH.js} +2 -2
  106. package/dist/chunk-ICUQONOG.js +38 -0
  107. package/dist/chunk-IDPLC3FI.js +5 -0
  108. package/dist/{chunk-A73XVBCR.js → chunk-IGKKTHJR.js} +2 -2
  109. package/dist/chunk-IOKWFRFQ.js +4 -0
  110. package/dist/chunk-IPAL6DP2.js +3 -0
  111. package/dist/chunk-IUJ3ZFEE.js +7 -0
  112. package/dist/chunk-IXJ26KJJ.js +16 -0
  113. package/dist/chunk-IYV2YBHM.js +2 -0
  114. package/dist/chunk-JVZNWJBH.js +2 -0
  115. package/dist/chunk-K5MZYZV7.js +3 -0
  116. package/dist/{chunk-3G66UZBH.js → chunk-KFK7GF5C.js} +2 -2
  117. package/dist/chunk-KTRGJLY7.js +18 -0
  118. package/dist/chunk-KW6B5OL4.js +2 -0
  119. package/dist/chunk-KWARB5FZ.js +2 -0
  120. package/dist/chunk-LHTT5C3Z.js +2 -0
  121. package/dist/chunk-LPGDO2XA.js +3 -0
  122. package/dist/chunk-LXLD46LH.js +21 -0
  123. package/dist/chunk-MEI3PTUK.js +2 -0
  124. package/dist/chunk-MJNV7OCG.js +5 -0
  125. package/dist/chunk-MO226P4Q.js +4 -0
  126. package/dist/{chunk-3CLX5EOX.js → chunk-MOBF2GH6.js} +2 -2
  127. package/dist/chunk-MXNGIEPU.js +3 -0
  128. package/dist/chunk-MYUKI5VN.js +4 -0
  129. package/dist/{chunk-TFRAYKN6.js → chunk-N5C65OFK.js} +2 -2
  130. package/dist/{chunk-PXY7F6Y4.js → chunk-O2RM7E7L.js} +5 -5
  131. package/dist/chunk-OFUBXBYX.js +3 -0
  132. package/dist/chunk-OFY4HTMI.js +2 -0
  133. package/dist/chunk-OIRWZIYL.js +38 -0
  134. package/dist/chunk-OIVZ7PW6.js +438 -0
  135. package/dist/chunk-ORBKAUCH.js +4 -0
  136. package/dist/chunk-OUB4J26T.js +2 -0
  137. package/dist/chunk-OVPS2ILI.js +20 -0
  138. package/dist/chunk-PHSPBQM6.js +5 -0
  139. package/dist/{chunk-JVYA47YU.js → chunk-PIZY2GX6.js} +2 -2
  140. package/dist/chunk-PNISDVYC.js +3 -0
  141. package/dist/chunk-PQOL42AW.js +2 -0
  142. package/dist/chunk-PUVZNFVY.js +11 -0
  143. package/dist/chunk-PZEI2TVL.js +4 -0
  144. package/dist/{chunk-ZK26BAQL.js → chunk-Q2J2VZZT.js} +2 -2
  145. package/dist/chunk-Q7HB7BFJ.js +2 -0
  146. package/dist/{chunk-ZTETIQ35.js → chunk-QBANU5BQ.js} +2 -2
  147. package/dist/chunk-QD7IFBCR.js +10 -0
  148. package/dist/chunk-QDCCHMVZ.js +2 -0
  149. package/dist/chunk-QLQBZOJH.js +3 -0
  150. package/dist/{chunk-PQCI4SQX.js → chunk-QXR5QPSF.js} +2 -2
  151. package/dist/chunk-R2MOKIVO.js +2 -0
  152. package/dist/{chunk-EN3O7VJA.js → chunk-RFWAUHVW.js} +2 -2
  153. package/dist/chunk-RGCJ4646.js +16 -0
  154. package/dist/{chunk-BPAPWKP6.js → chunk-S3RTPPLQ.js} +8 -8
  155. package/dist/chunk-S73HBCGI.js +11 -0
  156. package/dist/chunk-SDPA5DKN.js +210 -0
  157. package/dist/chunk-SEUJVWT2.js +3 -0
  158. package/dist/chunk-SF7X6QNW.js +2 -0
  159. package/dist/chunk-SKUMCCC5.js +2 -0
  160. package/dist/chunk-SSSJO4RG.js +2 -0
  161. package/dist/chunk-SWFAFA4G.js +49 -0
  162. package/dist/chunk-SYUNTKO2.js +2 -0
  163. package/dist/chunk-T6FRID7Y.js +3 -0
  164. package/dist/chunk-TGWNNMPF.js +3 -0
  165. package/dist/chunk-TM5XEDDR.js +4 -0
  166. package/dist/chunk-TNOHGHZQ.js +2 -0
  167. package/dist/chunk-U2GPTA5U.js +3 -0
  168. package/dist/{chunk-SXP2MBJH.js → chunk-U7DR7MJD.js} +2 -2
  169. package/dist/chunk-U7LRSQG6.js +3 -0
  170. package/dist/chunk-UL4VJUMD.js +2 -0
  171. package/dist/chunk-UNORWZIJ.js +16 -0
  172. package/dist/chunk-UQ7XPRWU.js +2 -0
  173. package/dist/{chunk-6SHPK5ZE.js → chunk-URMZLV2N.js} +2 -2
  174. package/dist/chunk-URTX2BEA.js +6 -0
  175. package/dist/chunk-UZFCZ7SJ.js +2 -0
  176. package/dist/{chunk-KMKTIO2G.js → chunk-V7LQZTTZ.js} +2 -2
  177. package/dist/chunk-VETXXOYU.js +3 -0
  178. package/dist/chunk-VGRUM7JI.js +3 -0
  179. package/dist/{chunk-WXZLAAWK.js → chunk-VNKYRJKN.js} +2 -2
  180. package/dist/chunk-VWLIOEEF.js +11 -0
  181. package/dist/chunk-WB6LGCFB.js +6 -0
  182. package/dist/{chunk-W4ETQAXM.js → chunk-WK4FD4PG.js} +2 -2
  183. package/dist/{chunk-O64IZ6UX.js → chunk-WKPZCQLI.js} +2 -2
  184. package/dist/chunk-WSG3DK5H.js +2 -0
  185. package/dist/chunk-WULAPQUD.js +38 -0
  186. package/dist/chunk-WZQFY5S7.js +4 -0
  187. package/dist/chunk-X434XZAI.js +2 -0
  188. package/dist/chunk-X7PJJYKX.js +29 -0
  189. package/dist/chunk-XDAUYDFT.js +2 -0
  190. package/dist/chunk-XITQLISP.js +2 -0
  191. package/dist/chunk-XRXCANFQ.js +4 -0
  192. package/dist/chunk-XVDMJMES.js +3 -0
  193. package/dist/chunk-XXJ7WL3F.js +35 -0
  194. package/dist/chunk-Y4XQ7LES.js +9 -0
  195. package/dist/chunk-YIEFEPG6.js +16 -0
  196. package/dist/chunk-YRVERHJR.js +49 -0
  197. package/dist/{chunk-CJST5ETY.js → chunk-YUFWLWIC.js} +2 -2
  198. package/dist/chunk-YUKYB54I.js +1 -0
  199. package/dist/chunk-Z3GCK3PD.js +3 -0
  200. package/dist/chunk-ZBNL3QCY.js +4 -0
  201. package/dist/chunk-ZD3Z54IW.js +2 -0
  202. package/dist/chunk-ZDVDSDFG.js +4 -0
  203. package/dist/{chunk-32LVLCLN.js → chunk-ZHSARYVS.js} +3 -3
  204. package/dist/{chunk-BDCC2NPY.js → chunk-ZW44MCJM.js} +2 -2
  205. package/dist/{chunk-N5W4YZMK.js → chunk-ZYREOING.js} +2 -2
  206. package/dist/cli-main.js +8 -0
  207. package/dist/cli.js +1 -3
  208. package/dist/code-CczEvHui.d.ts +121 -0
  209. package/dist/code-EQL6ZBLH.js +2 -0
  210. package/dist/code-result-json-6E4J6LGZ.js +2 -0
  211. package/dist/command-descriptors-QH3G2OVD.js +346 -0
  212. package/dist/{config-types-jVM3D7MA.d.ts → config-types-Cm-VSEBb.d.ts} +189 -23
  213. package/dist/dataflow-2BLMUZBP.js +2 -0
  214. package/dist/{db-B5PM5yNk.d.ts → db-LKJXAlNS.d.ts} +1 -1
  215. package/dist/dependence-slice-MGAJDZXB.js +2 -0
  216. package/dist/deps-GQMUYVKW.js +2 -0
  217. package/dist/direct-navigation-6RUJKLAV.js +3 -0
  218. package/dist/entry-map-V2NQP5JU.js +2 -0
  219. package/dist/exploration-topology-BG4v30HZ.d.ts +256 -0
  220. package/dist/file-dep-graph-Bqg3t3Px.d.ts +4 -0
  221. package/dist/file-kind-BKCVMNUf.d.ts +10 -0
  222. package/dist/files-VM53I4IU.js +2 -0
  223. package/dist/graph-evidence-CbUPCSKV.d.ts +126 -0
  224. package/dist/graph-exploration-contract-CqDsnPQL.d.ts +7 -0
  225. package/dist/{health-Do5TKSJI.d.ts → health-Wl5G_LRt.d.ts} +33 -34
  226. package/dist/hierarchy-D553WRSZ.js +2 -0
  227. package/dist/imports-DOZAJWLW.js +2 -0
  228. package/dist/index.d.ts +4 -31
  229. package/dist/index.js +1 -1
  230. package/dist/members-HE67475K.js +2 -0
  231. package/dist/methods-K5JK4PPH.js +2 -0
  232. package/dist/next-anchor-candidates-BwMczMvX.d.ts +90 -0
  233. package/dist/output-continuation-command-LKBUTNRL.js +3 -0
  234. package/dist/output-pagination-VAWOGX4R.js +19 -0
  235. package/dist/postinstall.js +1 -1
  236. package/dist/project-reindex-4ARU6QCM.js +3 -0
  237. package/dist/queries/affected.d.ts +22 -4
  238. package/dist/queries/affected.js +1 -1
  239. package/dist/queries/anchors.d.ts +123 -0
  240. package/dist/queries/anchors.js +2 -0
  241. package/dist/queries/architecture.d.ts +3 -2
  242. package/dist/queries/architecture.js +1 -1
  243. package/dist/queries/bottlenecks.d.ts +26 -7
  244. package/dist/queries/bottlenecks.js +1 -1
  245. package/dist/queries/by-kind.d.ts +2 -2
  246. package/dist/queries/by-kind.js +1 -1
  247. package/dist/queries/call-graph.d.ts +17 -3
  248. package/dist/queries/call-graph.js +1 -1
  249. package/dist/queries/change-surface.d.ts +2 -2
  250. package/dist/queries/change-surface.js +1 -1
  251. package/dist/queries/cleanup-plan.d.ts +2 -2
  252. package/dist/queries/cleanup-plan.js +1 -1
  253. package/dist/queries/co-change.d.ts +2 -2
  254. package/dist/queries/co-change.js +1 -1
  255. package/dist/queries/code.d.ts +5 -26
  256. package/dist/queries/code.js +1 -1
  257. package/dist/queries/complexity-hotspots.d.ts +2 -2
  258. package/dist/queries/complexity-hotspots.js +1 -1
  259. package/dist/queries/complexity.d.ts +2 -2
  260. package/dist/queries/complexity.js +1 -1
  261. package/dist/queries/context.d.ts +145 -0
  262. package/dist/queries/context.js +2 -0
  263. package/dist/queries/convergence.d.ts +2 -2
  264. package/dist/queries/convergence.js +1 -1
  265. package/dist/queries/coupling.d.ts +8 -3
  266. package/dist/queries/coupling.js +1 -1
  267. package/dist/queries/cycles.d.ts +34 -7
  268. package/dist/queries/cycles.js +1 -1
  269. package/dist/queries/dataflow.d.ts +40 -14
  270. package/dist/queries/dataflow.js +1 -1
  271. package/dist/queries/dead.d.ts +2 -2
  272. package/dist/queries/dead.js +1 -1
  273. package/dist/queries/decorative-checkers.d.ts +3 -3
  274. package/dist/queries/decorative-checkers.js +1 -1
  275. package/dist/queries/deep-chains.d.ts +4 -38
  276. package/dist/queries/deep-chains.js +1 -1
  277. package/dist/queries/dependence-slice.d.ts +47 -0
  278. package/dist/queries/dependence-slice.js +2 -0
  279. package/dist/queries/dependency-depth.d.ts +49 -0
  280. package/dist/queries/dependency-depth.js +2 -0
  281. package/dist/queries/deps.d.ts +4 -2
  282. package/dist/queries/deps.js +1 -1
  283. package/dist/queries/diff-impact.d.ts +3 -3
  284. package/dist/queries/diff-impact.js +1 -1
  285. package/dist/queries/doc-drift.d.ts +4 -4
  286. package/dist/queries/doc-drift.js +1 -1
  287. package/dist/queries/drift.d.ts +2 -2
  288. package/dist/queries/drift.js +1 -1
  289. package/dist/queries/duplicate-bodies.d.ts +2 -2
  290. package/dist/queries/duplicate-bodies.js +1 -1
  291. package/dist/queries/entry-map.d.ts +121 -0
  292. package/dist/queries/entry-map.js +2 -0
  293. package/dist/queries/evidence.d.ts +70 -0
  294. package/dist/queries/evidence.js +2 -0
  295. package/dist/queries/extract-candidates.d.ts +2 -2
  296. package/dist/queries/extract-candidates.js +1 -1
  297. package/dist/queries/fan.d.ts +18 -5
  298. package/dist/queries/fan.js +1 -1
  299. package/dist/queries/files.d.ts +2 -2
  300. package/dist/queries/files.js +1 -1
  301. package/dist/queries/health.d.ts +4 -3
  302. package/dist/queries/health.js +1 -1
  303. package/dist/queries/hierarchy.d.ts +5 -3
  304. package/dist/queries/hierarchy.js +1 -1
  305. package/dist/queries/hotspots.d.ts +11 -5
  306. package/dist/queries/hotspots.js +1 -1
  307. package/dist/queries/imports.d.ts +2 -2
  308. package/dist/queries/imports.js +1 -1
  309. package/dist/queries/incomplete-migration.d.ts +4 -4
  310. package/dist/queries/incomplete-migration.js +1 -1
  311. package/dist/queries/index.d.ts +56 -136
  312. package/dist/queries/index.js +1 -1
  313. package/dist/queries/isolated.d.ts +2 -2
  314. package/dist/queries/isolated.js +1 -1
  315. package/dist/queries/locality-candidates.d.ts +2 -2
  316. package/dist/queries/locality-candidates.js +1 -1
  317. package/dist/queries/members.d.ts +2 -2
  318. package/dist/queries/members.js +1 -1
  319. package/dist/queries/methods.d.ts +2 -2
  320. package/dist/queries/methods.js +1 -1
  321. package/dist/queries/not-implemented.d.ts +3 -3
  322. package/dist/queries/not-implemented.js +1 -1
  323. package/dist/queries/outline.d.ts +2 -2
  324. package/dist/queries/outline.js +1 -1
  325. package/dist/queries/passthrough-candidates.d.ts +5 -9
  326. package/dist/queries/passthrough-candidates.js +1 -1
  327. package/dist/queries/plan-context.d.ts +27 -64
  328. package/dist/queries/plan-context.js +1 -1
  329. package/dist/queries/react-component-duplicates.d.ts +2 -2
  330. package/dist/queries/react-component-duplicates.js +1 -1
  331. package/dist/queries/react-hook-candidates.d.ts +2 -2
  332. package/dist/queries/react-hook-candidates.js +1 -1
  333. package/dist/queries/react-large-component-pressure.d.ts +2 -2
  334. package/dist/queries/react-large-component-pressure.js +1 -1
  335. package/dist/queries/recent-duplicates.d.ts +2 -2
  336. package/dist/queries/recent-duplicates.js +1 -1
  337. package/dist/queries/redundant-reexports.d.ts +2 -2
  338. package/dist/queries/redundant-reexports.js +1 -1
  339. package/dist/queries/reference-neighborhood.d.ts +4 -0
  340. package/dist/queries/reference-neighborhood.js +2 -0
  341. package/dist/queries/reference-reachability.d.ts +48 -0
  342. package/dist/queries/reference-reachability.js +2 -0
  343. package/dist/queries/refs.d.ts +2 -2
  344. package/dist/queries/refs.js +1 -1
  345. package/dist/queries/self-audit.d.ts +2 -2
  346. package/dist/queries/self-audit.js +1 -1
  347. package/dist/queries/similar-chains.d.ts +2 -2
  348. package/dist/queries/similar-chains.js +1 -1
  349. package/dist/queries/similar-files.d.ts +2 -2
  350. package/dist/queries/similar-files.js +1 -1
  351. package/dist/queries/similar-signatures.d.ts +2 -2
  352. package/dist/queries/similar-signatures.js +1 -1
  353. package/dist/queries/similar.d.ts +2 -2
  354. package/dist/queries/similar.js +1 -1
  355. package/dist/queries/slice.d.ts +3 -36
  356. package/dist/queries/slice.js +1 -1
  357. package/dist/queries/source-inspection.d.ts +209 -0
  358. package/dist/queries/source-inspection.js +2 -0
  359. package/dist/queries/source-search.d.ts +13 -0
  360. package/dist/queries/source-search.js +2 -0
  361. package/dist/queries/stale-abstractions.d.ts +2 -2
  362. package/dist/queries/stale-abstractions.js +1 -1
  363. package/dist/queries/stats.d.ts +2 -2
  364. package/dist/queries/surface.d.ts +13 -4
  365. package/dist/queries/surface.js +1 -1
  366. package/dist/queries/symbols.d.ts +2 -2
  367. package/dist/queries/symbols.js +1 -1
  368. package/dist/queries/system-map.d.ts +449 -0
  369. package/dist/queries/system-map.js +2 -0
  370. package/dist/queries/system.d.ts +5 -3
  371. package/dist/queries/system.js +1 -1
  372. package/dist/queries/test-quality.d.ts +2 -2
  373. package/dist/queries/test-quality.js +1 -1
  374. package/dist/queries/trace.d.ts +47 -3
  375. package/dist/queries/trace.js +1 -1
  376. package/dist/queries/twin-ab.d.ts +3 -3
  377. package/dist/queries/twin-ab.js +1 -1
  378. package/dist/queries/twin-drift.d.ts +3 -3
  379. package/dist/queries/twin-drift.js +1 -1
  380. package/dist/queries/unused-imports.d.ts +2 -2
  381. package/dist/queries/unused-imports.js +1 -1
  382. package/dist/queries/unused-params.d.ts +2 -2
  383. package/dist/queries/unused-params.js +1 -1
  384. package/dist/queries/value-flow.d.ts +43 -0
  385. package/dist/queries/value-flow.js +2 -0
  386. package/dist/queries/vue-component-duplicates.d.ts +2 -2
  387. package/dist/queries/vue-component-duplicates.js +1 -1
  388. package/dist/queries/vue-composable-candidates.d.ts +2 -2
  389. package/dist/queries/vue-composable-candidates.js +1 -1
  390. package/dist/queries/vue-large-view-pressure.d.ts +2 -2
  391. package/dist/queries/vue-large-view-pressure.js +1 -1
  392. package/dist/queries/wrapper-candidates.d.ts +2 -2
  393. package/dist/queries/wrapper-candidates.js +1 -1
  394. package/dist/query-service-fastpath.js +6 -0
  395. package/dist/query-service-server.js +5 -0
  396. package/dist/refs-NBHKL4UQ.js +2 -0
  397. package/dist/refs-pagination-BBVTIHMH.js +2 -0
  398. package/dist/reindex-worker.js +27 -45
  399. package/dist/reindex.d.ts +62 -42
  400. package/dist/reindex.js +32 -33
  401. package/dist/repository-text-C0Q8VYdN.d.ts +19 -0
  402. package/dist/runtime.d.ts +286 -7
  403. package/dist/runtime.js +4 -3
  404. package/dist/rust-semantic-session-server.js +1 -1
  405. package/dist/rust-semantic-session-worker.js +1 -1
  406. package/dist/rust-semantic-worker.js +1 -1
  407. package/dist/{scip-cli-BnEwZRLJ.d.ts → scip-cli-CppzF5MK.d.ts} +33 -2
  408. package/dist/slice-U6S6LBSB.js +2 -0
  409. package/dist/source-search-types-Dwz8KeuW.d.ts +79 -0
  410. package/dist/source-snippet-_wrcgmZc.d.ts +15 -0
  411. package/dist/stats-OOJ74B32.js +2 -0
  412. package/dist/surface-C7SS5CDQ.js +2 -0
  413. package/dist/symbol-resolution-3FVEKDTJ.js +2 -0
  414. package/dist/system-6K2NOO5C.js +2 -0
  415. package/dist/trace-II5K2TMH.js +2 -0
  416. package/dist/typescript-mailbox-worker.js +1 -1
  417. package/dist/value-flow-MKFUUE5B.js +2 -0
  418. package/dist/watch-server.js +3 -2
  419. package/docs/AGENT_GUIDE.md +133 -476
  420. package/docs/AI_FAILURE_MODES.md +30 -301
  421. package/docs/API.md +1 -1
  422. package/docs/API_EVOLUTION.md +6 -0
  423. package/docs/CLI_JSON_OUTPUT.md +207 -29
  424. package/docs/COMMAND_REFERENCE.md +255 -154
  425. package/docs/CONFIGURATION_WRITE_SAFETY.md +14 -13
  426. package/docs/DETECTOR_EVIDENCE_CONTRACTS.md +84 -0
  427. package/docs/DETECTOR_GUIDE.md +46 -138
  428. package/docs/DURABILITY.md +7 -1
  429. package/docs/INDEX_GENERATIONS.md +6 -0
  430. package/docs/LOCK_PROTOCOL.md +8 -0
  431. package/docs/REINDEX_METADATA_COMPATIBILITY.md +13 -3
  432. package/docs/SECURITY_MODEL.md +39 -42
  433. package/docs/accuracy-audit-checklist.md +4 -0
  434. package/docs/accuracy-hardening-goal.md +9 -2
  435. package/docs/analyzer-inventory.md +59 -264
  436. package/docs/analyzer-validation-protocol.md +62 -170
  437. package/docs/architecture-coherence-vision.md +18 -12
  438. package/docs/locality-analyzer-design.md +1 -1
  439. package/docs/schemas/cli-json-envelope.schema.json +212 -27
  440. package/docs/schemas/cli-json-export-receipt.schema.json +25 -0
  441. package/docs/schemas/cli-output-page.schema.json +1 -1
  442. package/docs/schemas/observation-receipt.schema.json +164 -0
  443. package/docs/schemas/project-config.schema.json +27 -45
  444. package/docs/schemas/suppression-record.schema.json +1 -34
  445. package/package.json +65 -8
  446. package/skills/concrete-plan/SKILL.md +8 -0
  447. package/skills/concrete-plan/agents/openai.yaml +4 -0
  448. package/skills/scip-explore/SKILL.md +3 -85
  449. package/skills/scip-explore/agents/openai.yaml +3 -3
  450. package/skills/scip-integrity-audit/SKILL.md +185 -0
  451. package/skills/scip-integrity-audit/agents/openai.yaml +4 -0
  452. package/skills/scip-plan/SKILL.md +67 -49
  453. package/skills/scip-plan/agents/openai.yaml +3 -3
  454. package/skills/scip-query/SKILL.md +77 -77
  455. package/skills/scip-query/agents/openai.yaml +3 -3
  456. package/skills/scip-setup/SKILL.md +10 -102
  457. package/skills/scip-setup/agents/openai.yaml +3 -3
  458. package/dist/chunk-26QA6FAI.js +0 -8
  459. package/dist/chunk-2KAZEZ6M.js +0 -2
  460. package/dist/chunk-3ORVDL3H.js +0 -2
  461. package/dist/chunk-46XGSFNI.js +0 -2
  462. package/dist/chunk-4MAK2HOY.js +0 -6
  463. package/dist/chunk-4TURLRL5.js +0 -16
  464. package/dist/chunk-4UQVNCQE.js +0 -2
  465. package/dist/chunk-55Q3WLZX.js +0 -2
  466. package/dist/chunk-5I5G2QOX.js +0 -3
  467. package/dist/chunk-6LDJQXAH.js +0 -2
  468. package/dist/chunk-6O5TICIZ.js +0 -3
  469. package/dist/chunk-7O5IKBTZ.js +0 -16
  470. package/dist/chunk-7S5E7KWT.js +0 -2
  471. package/dist/chunk-7WPLAODU.js +0 -5
  472. package/dist/chunk-AFHORGLH.js +0 -42
  473. package/dist/chunk-AIE7TFJW.js +0 -9
  474. package/dist/chunk-AQOFWNQJ.js +0 -1
  475. package/dist/chunk-B2PX5I6M.js +0 -2
  476. package/dist/chunk-B75HZHUP.js +0 -2
  477. package/dist/chunk-B7PBSLZN.js +0 -2
  478. package/dist/chunk-BBW6JFHN.js +0 -2
  479. package/dist/chunk-BNXCIFVY.js +0 -2
  480. package/dist/chunk-BS2NMXQZ.js +0 -4
  481. package/dist/chunk-C3KV2II6.js +0 -2
  482. package/dist/chunk-C43RDDP4.js +0 -20
  483. package/dist/chunk-DAFAHMNB.js +0 -42
  484. package/dist/chunk-DQLPXMH6.js +0 -8
  485. package/dist/chunk-EKZTZXHZ.js +0 -117
  486. package/dist/chunk-EW2NTSFA.js +0 -18
  487. package/dist/chunk-F3Z4OUDS.js +0 -8
  488. package/dist/chunk-FJH2NW7J.js +0 -66
  489. package/dist/chunk-FTFP6O3L.js +0 -11
  490. package/dist/chunk-FYLK2DEJ.js +0 -2
  491. package/dist/chunk-GH74ASD6.js +0 -11
  492. package/dist/chunk-GMXWZP2B.js +0 -2
  493. package/dist/chunk-GOUBFH5O.js +0 -3
  494. package/dist/chunk-HLF2TX6R.js +0 -2
  495. package/dist/chunk-HX7M4BDI.js +0 -30
  496. package/dist/chunk-HZ72SESS.js +0 -128
  497. package/dist/chunk-IB2N4FIY.js +0 -10
  498. package/dist/chunk-IZYYAFN5.js +0 -2
  499. package/dist/chunk-JFGGXWQF.js +0 -947
  500. package/dist/chunk-JN4NMBEX.js +0 -8
  501. package/dist/chunk-JW56N3KI.js +0 -4
  502. package/dist/chunk-JZ2OXNWB.js +0 -2
  503. package/dist/chunk-KFZNKUNT.js +0 -2
  504. package/dist/chunk-L5GJNV2T.js +0 -8
  505. package/dist/chunk-L7JDSCDF.js +0 -4
  506. package/dist/chunk-LU47HG23.js +0 -14
  507. package/dist/chunk-LVY7NPF7.js +0 -2
  508. package/dist/chunk-MKCDWWGV.js +0 -4
  509. package/dist/chunk-MNE7YG56.js +0 -2
  510. package/dist/chunk-MRXBEXSY.js +0 -26
  511. package/dist/chunk-MV7OWDUX.js +0 -2
  512. package/dist/chunk-NGEXCJJW.js +0 -11
  513. package/dist/chunk-NIW6JDC5.js +0 -29
  514. package/dist/chunk-PBUQFCNB.js +0 -16
  515. package/dist/chunk-POAVPHH7.js +0 -2
  516. package/dist/chunk-QZ4JVECJ.js +0 -2
  517. package/dist/chunk-RDO52JGY.js +0 -2
  518. package/dist/chunk-RJT3TUUZ.js +0 -2
  519. package/dist/chunk-RVLDN63O.js +0 -4
  520. package/dist/chunk-RXOXSKY3.js +0 -2
  521. package/dist/chunk-S7OYBOCK.js +0 -2
  522. package/dist/chunk-SMNXQT5Z.js +0 -3
  523. package/dist/chunk-SRAFT254.js +0 -2
  524. package/dist/chunk-T7YQSHPQ.js +0 -3
  525. package/dist/chunk-UJCOIXDY.js +0 -2
  526. package/dist/chunk-UJPRPGCO.js +0 -13
  527. package/dist/chunk-WCCFZ7V7.js +0 -113
  528. package/dist/chunk-WUPW3UN3.js +0 -3
  529. package/dist/chunk-X54AGLVX.js +0 -2
  530. package/dist/chunk-Y2MVPNKY.js +0 -5
  531. package/dist/chunk-YKUU5AIC.js +0 -3
  532. package/dist/chunk-YLCJLTPL.js +0 -2
  533. package/dist/chunk-YTQVETEO.js +0 -2
  534. package/dist/chunk-Z4N3MZYA.js +0 -38
  535. package/dist/chunk-ZJOOT3BG.js +0 -2
  536. package/dist/command-descriptors-DSS46KXI.js +0 -642
  537. package/dist/diff-gate-types-B0QYpDv1.d.ts +0 -11
  538. package/dist/direct-navigation-6YHV6IB5.js +0 -3
  539. package/dist/queries/diff-gate.d.ts +0 -253
  540. package/dist/queries/diff-gate.js +0 -2
  541. package/docs/COMMITTED_RECORD_COMPATIBILITY.md +0 -154
  542. package/docs/analyzer-validation-ledger.md +0 -516
  543. package/docs/schemas/outcome-event-record.schema.json +0 -95
  544. package/skills/_shared/SKILL.md +0 -101
  545. package/skills/_shared/agents/openai.yaml +0 -4
  546. package/skills/_shared/references/agent-contract-catalog.md +0 -105
  547. package/skills/_shared/references/command-catalog.md +0 -118
  548. package/skills/_shared/references/detector-precision-and-diffgate.md +0 -59
  549. package/skills/_shared/references/evidence-and-dead-code.md +0 -25
  550. package/skills/scip-audit/SKILL.md +0 -77
  551. package/skills/scip-audit/agents/openai.yaml +0 -4
  552. package/skills/scip-audit/references/claims.md +0 -98
  553. package/skills/scip-audit/references/cleanup.md +0 -100
  554. package/skills/scip-audit/references/directory.md +0 -222
  555. package/skills/scip-audit/references/frontend.md +0 -130
  556. package/skills/scip-audit/references/integrity.md +0 -154
  557. package/skills/scip-audit/references/maintainability.md +0 -162
  558. package/skills/scip-audit/references/twin-drift.md +0 -104
  559. package/skills/scip-diagnose/SKILL.md +0 -52
  560. package/skills/scip-diagnose/agents/openai.yaml +0 -4
  561. package/skills/scip-diagnose/references/debug.md +0 -117
  562. package/skills/scip-diagnose/references/probe-reachability.md +0 -77
  563. package/skills/scip-diagnose/references/root-cause.md +0 -145
  564. package/skills/scip-diagnose/references/triage.md +0 -119
  565. package/skills/scip-explore/references/diagrams.md +0 -40
  566. package/skills/scip-explore/references/language-playbook.md +0 -49
  567. package/skills/scip-improve/SKILL.md +0 -56
  568. package/skills/scip-improve/agents/openai.yaml +0 -4
  569. package/skills/scip-improve/references/cleanup-batches.md +0 -53
  570. package/skills/scip-improve/references/directory-moves.md +0 -53
  571. package/skills/scip-improve/references/doc-reconcile.md +0 -30
  572. package/skills/scip-improve/references/frontend-extraction.md +0 -39
  573. package/skills/scip-improve/references/maintainability-mechanism.md +0 -43
  574. package/skills/scip-improve/references/twin-drift.md +0 -35
  575. package/skills/scip-plan/references/api-impact.md +0 -19
  576. package/skills/scip-plan/references/conductor.md +0 -41
  577. package/skills/scip-plan/references/high-assurance.md +0 -43
  578. package/skills/scip-plan/references/hyper-optimization.md +0 -50
  579. package/skills/scip-plan/references/tla-model.md +0 -88
  580. package/skills/scip-setup/references/bootstrap-workflow.md +0 -119
  581. package/skills/scip-setup/references/language-verification.md +0 -61
  582. package/skills/scip-setup/references/lifecycle-commands.md +0 -119
  583. package/skills/scip-setup/references/per-repo-triage.md +0 -24
  584. package/skills/scip-verify/SKILL.md +0 -229
  585. package/skills/scip-verify/agents/openai.yaml +0 -4
  586. package/skills/scip-verify/references/calibrate-detectors.md +0 -170
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scip-query",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "description": "Evidence and verification for AI coding agents: map code, reuse concepts, finish migrations, and gate diffs.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -40,6 +40,10 @@
40
40
  "import": "./dist/queries/architecture.js",
41
41
  "types": "./dist/queries/architecture.d.ts"
42
42
  },
43
+ "./queries/anchors": {
44
+ "import": "./dist/queries/anchors.js",
45
+ "types": "./dist/queries/anchors.d.ts"
46
+ },
43
47
  "./queries/bottlenecks": {
44
48
  "import": "./dist/queries/bottlenecks.js",
45
49
  "types": "./dist/queries/bottlenecks.d.ts"
@@ -92,6 +96,14 @@
92
96
  "import": "./dist/queries/dataflow.js",
93
97
  "types": "./dist/queries/dataflow.d.ts"
94
98
  },
99
+ "./queries/dependence-slice": {
100
+ "import": "./dist/queries/dependence-slice.js",
101
+ "types": "./dist/queries/dependence-slice.d.ts"
102
+ },
103
+ "./queries/dependency-depth": {
104
+ "import": "./dist/queries/dependency-depth.js",
105
+ "types": "./dist/queries/dependency-depth.d.ts"
106
+ },
95
107
  "./queries/dead": {
96
108
  "import": "./dist/queries/dead.js",
97
109
  "types": "./dist/queries/dead.d.ts"
@@ -104,14 +116,18 @@
104
116
  "import": "./dist/queries/deep-chains.js",
105
117
  "types": "./dist/queries/deep-chains.d.ts"
106
118
  },
119
+ "./queries/entry-map": {
120
+ "import": "./dist/queries/entry-map.js",
121
+ "types": "./dist/queries/entry-map.d.ts"
122
+ },
123
+ "./queries/system-map": {
124
+ "import": "./dist/queries/system-map.js",
125
+ "types": "./dist/queries/system-map.d.ts"
126
+ },
107
127
  "./queries/deps": {
108
128
  "import": "./dist/queries/deps.js",
109
129
  "types": "./dist/queries/deps.d.ts"
110
130
  },
111
- "./queries/diff-gate": {
112
- "import": "./dist/queries/diff-gate.js",
113
- "types": "./dist/queries/diff-gate.d.ts"
114
- },
115
131
  "./queries/diff-impact": {
116
132
  "import": "./dist/queries/diff-impact.js",
117
133
  "types": "./dist/queries/diff-impact.d.ts"
@@ -128,6 +144,10 @@
128
144
  "import": "./dist/queries/drift.js",
129
145
  "types": "./dist/queries/drift.d.ts"
130
146
  },
147
+ "./queries/evidence": {
148
+ "import": "./dist/queries/evidence.js",
149
+ "types": "./dist/queries/evidence.d.ts"
150
+ },
131
151
  "./queries/extract-candidates": {
132
152
  "import": "./dist/queries/extract-candidates.js",
133
153
  "types": "./dist/queries/extract-candidates.d.ts"
@@ -196,6 +216,10 @@
196
216
  "import": "./dist/queries/plan-context.js",
197
217
  "types": "./dist/queries/plan-context.d.ts"
198
218
  },
219
+ "./queries/context": {
220
+ "import": "./dist/queries/context.js",
221
+ "types": "./dist/queries/context.d.ts"
222
+ },
199
223
  "./queries/recent-duplicates": {
200
224
  "import": "./dist/queries/recent-duplicates.js",
201
225
  "types": "./dist/queries/recent-duplicates.d.ts"
@@ -204,6 +228,14 @@
204
228
  "import": "./dist/queries/redundant-reexports.js",
205
229
  "types": "./dist/queries/redundant-reexports.d.ts"
206
230
  },
231
+ "./queries/reference-neighborhood": {
232
+ "import": "./dist/queries/reference-neighborhood.js",
233
+ "types": "./dist/queries/reference-neighborhood.d.ts"
234
+ },
235
+ "./queries/reference-reachability": {
236
+ "import": "./dist/queries/reference-reachability.js",
237
+ "types": "./dist/queries/reference-reachability.d.ts"
238
+ },
207
239
  "./queries/refs": {
208
240
  "import": "./dist/queries/refs.js",
209
241
  "types": "./dist/queries/refs.d.ts"
@@ -256,6 +288,14 @@
256
288
  "import": "./dist/queries/slice.js",
257
289
  "types": "./dist/queries/slice.d.ts"
258
290
  },
291
+ "./queries/source-inspection": {
292
+ "import": "./dist/queries/source-inspection.js",
293
+ "types": "./dist/queries/source-inspection.d.ts"
294
+ },
295
+ "./queries/source-search": {
296
+ "import": "./dist/queries/source-search.js",
297
+ "types": "./dist/queries/source-search.d.ts"
298
+ },
259
299
  "./queries/stale-abstractions": {
260
300
  "import": "./dist/queries/stale-abstractions.js",
261
301
  "types": "./dist/queries/stale-abstractions.d.ts"
@@ -296,6 +336,10 @@
296
336
  "import": "./dist/queries/unused-params.js",
297
337
  "types": "./dist/queries/unused-params.d.ts"
298
338
  },
339
+ "./queries/value-flow": {
340
+ "import": "./dist/queries/value-flow.js",
341
+ "types": "./dist/queries/value-flow.d.ts"
342
+ },
299
343
  "./queries/unused-imports": {
300
344
  "import": "./dist/queries/unused-imports.js",
301
345
  "types": "./dist/queries/unused-imports.d.ts"
@@ -314,23 +358,35 @@
314
358
  }
315
359
  },
316
360
  "scripts": {
317
- "build": "node --max-old-space-size=8192 ./node_modules/tsup/dist/cli-default.js",
361
+ "build": "node --max-old-space-size=16384 ./node_modules/tsup/dist/cli-default.js",
318
362
  "dev": "tsup --watch",
319
363
  "format": "prettier --write \"{src,tests,scripts}/**/*.{ts,tsx,js,mjs,json}\" \"*.{ts,js,json}\"",
320
364
  "format:check": "prettier --check \"{src,tests,scripts}/**/*.{ts,tsx,js,mjs,json}\" \"*.{ts,js,json}\"",
321
- "test": "vitest run",
365
+ "test": "vitest run --maxWorkers=2",
366
+ "soak:cache-lifecycle": "npm run build && vite-node scripts/cache-lifecycle-soak.ts",
322
367
  "test:watch": "vitest",
323
368
  "typecheck": "tsc --noEmit && tsc -p tests/fixtures/invocation-coverage-contract/tsconfig.json && tsc -p tests/fixtures/protocol-state-contract/tsconfig.json",
324
369
  "audit:prod": "node scripts/audit-production-dependencies.mjs",
325
370
  "api:report": "node scripts/api-surface-contract.mjs report",
326
371
  "api:check": "npm run build && node scripts/api-surface-contract.mjs check && tsc -p tests/fixtures/public-api-consumer/tsconfig.json",
327
372
  "api:update": "npm run build && node scripts/api-surface-contract.mjs update",
328
- "lint": "npm run format:check && eslint src tests tsup.config.ts scripts/api-surface-contract.mjs scripts/audit-production-dependencies.mjs scripts/build-scip-windows.mjs scripts/npm-release-state.ts scripts/npm-release.ts scripts/publish-scip-windows.ts scripts/release-npm-guard.ts scripts/release-npm.ts scripts/scip-windows-package-identity.ts scripts/scip-windows-provenance.mjs scripts/scip-windows-release.ts scripts/verify-scip-windows.mjs scripts/verify-scip-windows-registry.ts && npm run api:check && node scripts/check-skill-links.mjs",
373
+ "lint": "npm run format:check && eslint src tests tsup.config.ts scripts/api-surface-contract.mjs scripts/audit-production-dependencies.mjs scripts/benchmark-cold-reindex.ts scripts/benchmark-graph-literal.ts scripts/benchmark-query-service.ts scripts/benchmark-reindex-accounting.ts scripts/benchmark-source-search.ts scripts/build-scip-windows.mjs scripts/cache-lifecycle-soak.ts scripts/codex-exploration-sandbox.mjs scripts/codex-exploration-trial-core.mjs scripts/codex-exploration-trial.mjs scripts/compare-exploration-trials.mjs scripts/exploration-benchmark-core.mjs scripts/exploration-benchmark.mjs scripts/npm-release-state.ts scripts/npm-release.ts scripts/publish-scip-windows.ts scripts/release-npm-guard.ts scripts/release-npm.ts scripts/scip-windows-package-identity.ts scripts/scip-windows-provenance.mjs scripts/scip-windows-release.ts scripts/verify-identity-collision-cli.mjs scripts/verify-scip-windows.mjs scripts/verify-scip-windows-registry.ts && npm run api:check && node scripts/check-skill-links.mjs",
329
374
  "build:scip-windows": "node scripts/build-scip-windows.mjs",
330
375
  "verify:scip-windows": "node scripts/verify-scip-windows.mjs",
376
+ "verify:identity-collision-cli": "node scripts/verify-identity-collision-cli.mjs",
331
377
  "verify:scip-windows-registry": "vite-node scripts/verify-scip-windows-registry.ts",
332
378
  "bench:evidence-products": "node scripts/evidence-product-contract.mjs",
379
+ "bench:exploration": "node scripts/exploration-benchmark.mjs",
380
+ "bench:exploration:codex": "node scripts/codex-exploration-trial.mjs",
381
+ "bench:exploration:compare": "node scripts/compare-exploration-trials.mjs",
382
+ "bench:cold-reindex": "vite-node scripts/benchmark-cold-reindex.ts",
383
+ "bench:edit-latency": "vite-node scripts/benchmark-edit-latency.ts",
384
+ "bench:graph-literal": "vite-node scripts/benchmark-graph-literal.ts",
385
+ "bench:query-service": "npm run build && vite-node scripts/benchmark-query-service.ts",
386
+ "bench:reindex-accounting": "vite-node scripts/benchmark-reindex-accounting.ts",
387
+ "bench:source-search": "vite-node scripts/benchmark-source-search.ts",
333
388
  "bench:native-symbol-leaf": "node scripts/bench-native-symbol-leaf.mjs",
389
+ "bench:agent-output": "npm run build -- --silent && vite-node scripts/benchmark-agent-output.ts",
334
390
  "calibrate": "node scripts/accuracy-calibration.mjs",
335
391
  "docs:commands": "vite-node scripts/render-command-reference.ts --write",
336
392
  "prepublishOnly": "vite-node scripts/release-npm-guard.ts",
@@ -363,6 +419,7 @@
363
419
  "dependencies": {
364
420
  "@bufbuild/protobuf": "^2.11.0",
365
421
  "@c4312/scip": "^0.1.0",
422
+ "@ts-morph/common": "^0.29.0",
366
423
  "@vue/compiler-dom": "^3.5.40",
367
424
  "@vue/compiler-sfc": "^3.5.40",
368
425
  "better-sqlite3": "^13.0.2",
@@ -0,0 +1,8 @@
1
+ ---
2
+ name: concrete-plan
3
+ description: Compatibility alias for the canonical scip-plan skill. Use only when an existing prompt explicitly requests concrete-plan.
4
+ ---
5
+
6
+ # Concrete Plan compatibility alias
7
+
8
+ This name remains for a transition period so existing agent prompts do not fail. Apply `$scip-plan`; it contains the canonical command/question manual and code-grounded planning format. Do not combine the two skills.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: 'Concrete Plan (compatibility)'
3
+ short_description: 'Forward old planning prompts to SCIP Plan'
4
+ default_prompt: 'Use $scip-plan for this repository plan. $concrete-plan is only a compatibility alias.'
@@ -1,90 +1,8 @@
1
1
  ---
2
2
  name: scip-explore
3
- description: Use to understand a system before editing it: what calls what, how data flows, what depends on it, what a change would reach, and what historically changed together. Includes choosing high-signal commands for an unfamiliar language and rendering the result as a flow, dependency, or blast-radius diagram. For understanding a failure mode class rather than this codebase, use `engineering-lenses`.
4
- commands:
5
- - template: "scip-query system <module-or-scope>"
6
- when: "Orient to a module's files, symbols, dependencies, and consumers."
7
- - template: "scip-query trace <entry-symbol>"
8
- when: "Connect an entry symbol to its definition and references."
9
- - template: "scip-query affected <symbol>"
10
- when: "Measure the transitive downstream blast radius of a change."
3
+ description: Compatibility alias for the canonical scip-query exploration skill. Use only when an existing prompt explicitly requests scip-explore.
11
4
  ---
12
5
 
13
- ## Purpose
6
+ # SCIP Explore compatibility alias
14
7
 
15
- Build verified understanding of how a system works end to end — entry points, call flow, data flow, dependencies, consumers, and risk — before answering or editing. Exploration means tracing code from entry points to effects against the SCIP index, not against memory or folder guesses. Load shared mechanics from `../_shared/SKILL.md`; use this skill's own shortlist first and open `_shared` only when it is insufficient.
16
-
17
- <!-- BEGIN GENERATED SKILL COMMANDS -->
18
- ## Commands for this skill
19
-
20
- | Command | Purpose | Returns | Coverage | When |
21
- | --- | --- | --- | --- | --- |
22
- | `scip-query system <module-or-scope>` | Full module map: files, symbols, deps in/out | module file paths; exported symbols with line ranges; internal dependencies; reverse dependencies | `complete` | Orient to a module's files, symbols, dependencies, and consumers. |
23
- | `scip-query trace <entry-symbol>` | Trace a symbol: definition + all references | definition sites with source and signature; referencing files with line numbers | `bounded` | Connect an entry symbol to its definition and references. |
24
- | `scip-query affected <symbol>` | Transitive closure of symbols that could break if this symbol changes | affected symbol identities, files, and traversal depths | `bounded` | Measure the transitive downstream blast radius of a change. |
25
-
26
- Use this shortlist first. Open [`../_shared/SKILL.md`](../_shared/SKILL.md) only when it is insufficient.
27
- <!-- END GENERATED SKILL COMMANDS -->
28
-
29
- ## Evidence rules (apply to every step below)
30
-
31
- - Use a current index before trusting graph facts: apply `_shared`'s freshness gate once before the first graph claim. After source changes, let an active watcher refresh and use manual reindex only as the documented fallback.
32
- - Relationship, consumer, and completeness claims must cite a `scip-query` command. Literal local-source claims may cite a native file read instead.
33
- - Resolve ambiguous symbols before describing behavior — `scip-query code` is the usual tool, but it isn't mandatory when you already have an exact native range.
34
- - Follow the graph before trusting folder structure. Start wide, then narrow.
35
- - Descriptions need citations; conclusions need discriminators. A conclusion — why something happens, what a unit is for, which intent explains a shape — must state one rival explanation and the trace evidence that ruled it out.
36
-
37
- Each `scip-query` command below carries a coverage rating: **complete** (exhaustive) or **bounded** (capped — a follow-up command may be needed to fill in the picture).
38
-
39
- ## The core workflow
40
-
41
- Run these five steps in order. Skip a step only when its evidence is already in hand from an earlier step.
42
-
43
- **1. Orient.** Run `stats` (repo-wide size/shape, complete), `kind-counts`, `system <module-or-scope>` (file paths, exported symbols with line ranges, internal/reverse deps, complete), `outline <entry-file>`, and `by-kind function --scope <scope>`.
44
- Done when: module files, key symbols, dependencies, and reverse dependencies are mapped.
45
-
46
- **2. Trace entry points.** Run `trace <entry-symbol>` (definition + every reference, bounded), `call-graph <entry-symbol>` (incoming callers, outgoing callees, bounded), `code <entry-symbol>`, `dataflow <entry-symbol>` — repeat for important callees until the path reaches a side effect, a returned value, or a terminal output.
47
- Done when: the traced path connects entry point to observable effect.
48
-
49
- **3. Map dependencies and consumers.** Run `deps <file>`, `rdeps <file>`, `fan-out <file>`, `surface <module>`, `affected <symbol>` (transitive closure of symbols that could break if this symbol changes: identities, files, traversal depths, bounded).
50
- Done when: direct dependencies, public surface, and downstream blast radius are named.
51
-
52
- **4. Follow data and state.** Run `dataflow <symbol-or-variable>` (definition sites, usage sites, producers, consumers, bounded), `slice <symbol-or-variable>`, `slice <symbol-or-variable> --forward`.
53
- Done when: producers, transformations, storage, and consumers are identified — or explicitly marked unavailable.
54
-
55
- **5. Assess risk.** Run `complexity <symbol>`, `complexity-hotspots`, `bottlenecks`, `change-surface <file>` (pre-change briefing: exports, consumers, blast-radius risk), `cycles`, `deep-chains --min-depth 5` (longest condensed dependency-component chains — flags fragile long call paths).
56
- Done when: the explanation names the risky symbols, or states that no relevant risks appeared.
57
-
58
- ## Route by question type
59
-
60
- | Question | Commands |
61
- |---|---|
62
- | Function behavior | `code`, `hierarchy`, `call-graph`, `dataflow`, `complexity` |
63
- | User-action flow | `files` or `outline` to find the handler, then `code` and `call-graph` down the path |
64
- | Safe to change? | `change-surface`, `affected`, `similar` |
65
- | Module architecture | `system`, `surface`, `deep-chains`, `bottlenecks`, `cycles`, `hotspots` (`hotspots` lists the most-referenced symbols — choke points where any change ripples widely) |
66
- | Relationship between two units | `coupling`, `similar --plan`, `similar-chains` |
67
-
68
- ## Other owned commands
69
-
70
- These four don't have a dedicated workflow step above but come up constantly once you're inside a module — use them as needed, not in sequence:
71
-
72
- - **`imported-by <symbol>`** — which files import this symbol. Run before changing or removing a shared export, to know exactly which files to check. If the list is empty, confirm with `dead` before deleting rather than trusting the empty result alone.
73
- - **`unused-imports <file>`** — imports not referenced in that same file. Run on a file you're about to touch, or one a de-bloat pass flagged; remove only entries you've confirmed are safe.
74
- - **`similar-signatures`** — functions with near-identical type signatures. Run when hunting duplicate-shaped functions to consolidate. This is a *good-with-review* signal — check each match with `code` before merging, don't act on the list alone.
75
- - **`co-change [file]`** — files that change together in git history with no dependency edge between them: hidden coupling. Run when `change-surface` or `affected` reports a small blast radius but you suspect the graph is missing something. This is also *good-with-review* — a paired file is a prompt to check manually, not proof the current change must touch it too. (`diff-gate`'s `co-change-partner` check is the automated version of this same signal.)
76
-
77
- ## Report the exploration
78
-
79
- Cover: overview, entry points, call flow, data flow, dependencies, consumers, risk areas, and the command citation that proves each claim. For every conclusion-bearing claim, name the rival explanation you considered and the evidence that ruled it out. Exploration is complete only when the reader can see what was proven, what remains unverified, and which conclusions rest on a discriminator rather than a single story.
80
-
81
- ## Deeper references
82
-
83
- | Need | Reference |
84
- |---|---|
85
- | Entering an unfamiliar language (TypeScript, Python, Java, Scala, Kotlin, Rust, Go, C, C++, Ruby, C#, Visual Basic, Dart, PHP, Clojure/ClojureScript, Vue) and picking the highest-signal commands, including de-bloat sets | `references/language-playbook.md` |
86
- | Turning exploration evidence into an HTML flow, dependency, data-flow, or blast-radius diagram | `references/diagrams.md` |
87
-
88
- ## Constraint
89
-
90
- scip-explore's OpenAI-agent interface binds to display name "SCIP Explore" with default prompt "Use $scip-explore to understand this system end to end with SCIP-backed code evidence."
8
+ This name remains for a transition period so existing agent prompts do not fail. Apply `$scip-query`; it contains the canonical command/question manual, typed-relationship controls, source-reading controls, and coverage semantics. Do not combine the two skills or treat this alias as a separate exploration phase.
@@ -1,4 +1,4 @@
1
1
  interface:
2
- display_name: "SCIP Explore"
3
- short_description: "Understand a system with SCIP evidence"
4
- default_prompt: "Use $scip-explore to understand this system end to end with SCIP-backed code evidence before editing it."
2
+ display_name: 'SCIP Explore (compatibility)'
3
+ short_description: 'Forward old exploration prompts to SCIP Query'
4
+ default_prompt: 'Use $scip-query for this repository exploration. $scip-explore is only a compatibility alias.'
@@ -0,0 +1,185 @@
1
+ ---
2
+ name: scip-integrity-audit
3
+ description: Audit whether implementations are real with scip-query. Use for suspected faked or half-implemented features, decorative checkers or verifiers that never fail, dead code paths hidden behind graceful fallbacks, metrics that may be lying, or a "does any of this actually work" interrogation of a system.
4
+ metadata:
5
+ commands:
6
+ - template: 'scip-query search <text>'
7
+ when: 'Locate a status word, checker name, adapter, fallback, or metric producer.'
8
+ - template: 'scip-query outline <file>'
9
+ when: 'Inventory the callables in a known file before choosing a drill target.'
10
+ - template: 'scip-query evidence --symbol <symbol> --edge <family> --direction <direction> --depth <n> --max-edges <n>'
11
+ when: 'Project callers, callees, or dataflow around a checker, adapter, fallback, or metric.'
12
+ - template: 'scip-query inspect --at <file:line> --view behavior'
13
+ when: 'Read connected behavior for a named remaining gap after graph evidence.'
14
+ - template: 'scip-query code <selector>'
15
+ when: 'Read exact implementation syntax only when the body itself can change the verdict.'
16
+ - template: 'scip-query decorative-checkers -s <scope> --json'
17
+ when: 'Shortlist validate/verify/check/assert/is/has callables with no reachable failure exit.'
18
+ - template: 'scip-query not-implemented -s <scope> --json'
19
+ when: 'Shortlist reachable placeholder stubs that a real caller can actually reach.'
20
+ - template: 'scip-query test-quality -s <scope> --json'
21
+ when: 'Check regression artifacts and tests for assertion-free bodies, skip rot, and mock-echo.'
22
+ - template: 'scip-query twin-drift -s <scope> --json'
23
+ when: 'Find same-name or near-name twins whose bodies have silently diverged.'
24
+ - template: 'scip-query twin-ab <symbolA> <symbolB>'
25
+ when: 'Scaffold a table-driven comparison of two same-concept twins on a shared input.'
26
+ ---
27
+
28
+ # scip-integrity-audit
29
+
30
+ <!-- BEGIN GENERATED SKILL COMMANDS -->
31
+ ## Command and question manual
32
+
33
+ | Command syntax | Question it answers |
34
+ | --- | --- |
35
+ | `scip-query search <text>` | Locate a status word, checker name, adapter, fallback, or metric producer. |
36
+ | `scip-query outline <file>` | Inventory the callables in a known file before choosing a drill target. |
37
+ | `scip-query evidence --symbol <symbol> --edge <family> --direction <direction> --depth <n> --max-edges <n>` | Project callers, callees, or dataflow around a checker, adapter, fallback, or metric. |
38
+ | `scip-query inspect --at <file:line> --view behavior` | Read connected behavior for a named remaining gap after graph evidence. |
39
+ | `scip-query code <selector>` | Read exact implementation syntax only when the body itself can change the verdict. |
40
+ | `scip-query decorative-checkers -s <scope> --json` | Shortlist validate/verify/check/assert/is/has callables with no reachable failure exit. |
41
+ | `scip-query not-implemented -s <scope> --json` | Shortlist reachable placeholder stubs that a real caller can actually reach. |
42
+ | `scip-query test-quality -s <scope> --json` | Check regression artifacts and tests for assertion-free bodies, skip rot, and mock-echo. |
43
+ | `scip-query twin-drift -s <scope> --json` | Find same-name or near-name twins whose bodies have silently diverged. |
44
+ | `scip-query twin-ab <symbolA> <symbolB>` | Scaffold a table-driven comparison of two same-concept twins on a shared input. |
45
+
46
+ These commands are controls, not a checklist. Use every capability needed by the task, but make each query answer a distinct question. There is no required sequence or query limit. Run a command's `--help` when you need a flag not shown in its template.
47
+ <!-- END GENERATED SKILL COMMANDS -->
48
+
49
+ Use this skill to interrogate whether a system's claims are backed by real
50
+ implementations. Structural review asks "is this well organized?"; this skill
51
+ asks **"is this real?"** — it hunts decorative checkers, adapters written
52
+ against imagined data, features that have silently never run, and numbers
53
+ nobody ever recomputed.
54
+
55
+ Use `$scip-query` locators and evidence projections to inventory producers.
56
+ `health --full` does not run the integrity detectors; call
57
+ `decorative-checkers`, `not-implemented`, `test-quality`, and `twin-drift`
58
+ directly.
59
+
60
+ ## The Stance
61
+
62
+ A green result you have never seen fail is unverified. Every status word,
63
+ banner, and metric is testimony from the code, not evidence about the code —
64
+ cross-examine the producer before believing it. The most dangerous code is
65
+ not broken code; it is code that reports success without doing the work.
66
+
67
+ ## Drills
68
+
69
+ Run all five over the chosen scope. Each has a checkable exit.
70
+
71
+ ### 1. Falsify every checker
72
+
73
+ Inventory everything in scope that accepts/rejects, passes/fails, or
74
+ validates (checkers, gates, verifiers, validators — find producers with
75
+ `search` on the status words in output, then `evidence` execution incoming
76
+ and outgoing). For each one, construct an input that MUST fail — a wrong
77
+ binding, a corrupt file, an impossible value — and run it. A checker that
78
+ passes its should-fail input is decorative: file it as a defect, not a note.
79
+ Before filing, attempt the defense: an accusation triggers a rewrite, so
80
+ search for the failure exit the drill may have missed — a config-gated
81
+ branch, an async rejection, one-hop delegation (the calibration's known
82
+ noise archetypes). File the defect with the executed should-fail input
83
+ attached and the defense attempt noted; a defense that succeeds clears the
84
+ checker and stays in the record as its witness.
85
+ Complete only when every checker in scope has been witnessed rejecting a
86
+ constructed should-fail input, or is listed with a reason it cannot be.
87
+
88
+ Mechanized by: `scip-query decorative-checkers` finds `validate*`/`verify*`/
89
+ `check*`/`assert*`/`is*`/`has*` callables with no reachable failure exit
90
+ anywhere in their body (calibrated 2026-07-03 against two external repos —
91
+ standalone-only; noise archetypes past one-hop delegation in
92
+ `docs/validation/2026-07-03-integrity-detector-calibration.md`). Run it first
93
+ to shortlist candidates before hand-constructing should-fail inputs.
94
+
95
+ ### 2. Diff every adapter against captured reality
96
+
97
+ For each parser/adapter of an external format (tool output, XML/JSON
98
+ schemas, protocol messages): obtain ONE real sample from the actual source
99
+ and diff it against the code's assumptions and the tests' fixtures. Ask of
100
+ every fixture: was this generated from reality, or imagined? A parser and a
101
+ hand-written fixture can validate each other's shared hallucination
102
+ indefinitely.
103
+ Complete only when every adapter has been checked against at least one
104
+ captured-real sample.
105
+
106
+ ### 3. Autopsy every fallback
107
+
108
+ Graceful degradation is where dead features hide: a primary path that has
109
+ never worked looks identical to a healthy fallback. For every catch block,
110
+ `?? fallback`, and degraded mode in scope: produce an execution witness that
111
+ the PRIMARY path runs (a test, a probe, a log). Use `evidence` execution and
112
+ `inspect --view behavior` for branch reachability. A fallback that always
113
+ fires means the feature above it is dead — date of death: birth.
114
+ Complete only when every fallback's primary path has a witness or a filed
115
+ defect.
116
+
117
+ Mechanized by: `scip-query not-implemented` finds reachable placeholder
118
+ stubs (`throw new Error('not implemented')`, TODO-comment + return-default,
119
+ empty bodies) that a real caller, entry surface, or package-surface export
120
+ can actually reach — the graph fact that separates "primary path never
121
+ built" from `dead`'s "primary path built but unreferenced." Standalone-only
122
+ (calibrated 2026-07-03; 0 live findings on two external repos post-fix, see
123
+ the calibration report) — treat a clean run as "nothing this shape found,"
124
+ not as "every fallback's primary path is proven live."
125
+
126
+ ### 4. Hand-compute every metric twice
127
+
128
+ For each number the system reports (scores, counts, estimates): pick two
129
+ concrete instances, compute the expected value by hand from first
130
+ principles, and compare. Off-by-a-factor errors (double counting, inflated
131
+ estimates) survive for years because nobody ever recomputes one sample.
132
+ Complete only when every reported metric has two hand-verified samples.
133
+
134
+ ### 5. Cross-examine same-concept twins
135
+
136
+ Where one concept is computed in more than one place, feed both the same
137
+ input and require the same answer. `twin-drift` finds the same-name cases
138
+ mechanically; for same-concept-different-name pairs, project consumers with
139
+ `evidence` execution incoming and compare implementations with `code`. Once
140
+ a pair is identified, `scip-query twin-ab <symbolA> <symbolB>` scaffolds a
141
+ table-driven vitest file that imports both and asserts equal output —
142
+ fill in the input table and run it. Disagreement between twins means at
143
+ least one is wrong — determine which before consolidating.
144
+ Complete only when every discovered twin pair has been compared on a shared
145
+ input.
146
+
147
+ ## Severity
148
+
149
+ Rank findings by what the failure does to a user who trusted the output:
150
+ a decorative checker or false "verified" banner outranks everything; a
151
+ dead-but-fallbacked feature outranks a wrong metric; a wrong metric outranks
152
+ structural mess. Structural findings are real, but they are not lies — do
153
+ not fold them into the integrity verdict.
154
+
155
+ ## Reporting
156
+
157
+ File each finding with: the claim as displayed, the producer (file:line),
158
+ the drill that exposed it, the should-fail input or real sample used, and
159
+ the fix. The audit is complete only when every drill's exit criterion is
160
+ met for the scope, and every defect found has a regression artifact — a
161
+ test, fixture, or model that fails on the pre-fix behavior.
162
+
163
+ End with a derived verdict, not an impression:
164
+
165
+ ```markdown
166
+ Integrity: <scope> — <c> checkers witnessed failing, <a> adapters diffed
167
+ against reality, <f> fallback primaries witnessed live, <m> metrics
168
+ recomputed, <t> twins compared; <d> defects filed, <u> unverifiable (reasons)
169
+ ```
170
+
171
+ A suspect scope that produces zero defects is itself a claim: state what
172
+ made the suspicion wrong, or rerun the drill that should have caught it.
173
+
174
+ A regression artifact that doesn't actually assert anything, or asserts the
175
+ same literal it stubbed into its own mock, is a fake witness — the same
176
+ "reports success without doing the work" failure mode this skill hunts in
177
+ production code, just relocated to the test suite. Run `scip-query
178
+ test-quality -s <scope>` over the audit's own regression artifacts (and,
179
+ periodically, over the suite at large) to catch this: assertion-free test
180
+ bodies, a skipped-test ledger with git-blame age (a skip with no fix date
181
+ attached is a claim nobody is checking), and mock-echo (a test that only
182
+ proves its own stub). Standalone-only, mixed precision by sub-check
183
+ (calibrated 2026-07-03): assertion-free and skipped are high-precision;
184
+ mock-echo is intentionally low-precision (syntactic same-literal matching,
185
+ not dataflow) — treat its output as a reviewed candidate list, not a verdict.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: 'scip integrity audit'
3
+ short_description: 'Interrogate whether implementations are real: falsify checkers, diff adapters against reality, autopsy fallbacks.'
4
+ default_prompt: 'Run the scip-integrity-audit drills over this codebase and report every decorative checker, dead-behind-fallback feature, and lying metric.'