codebaseiq 0.1.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 (432) hide show
  1. package/CHANGELOG.md +481 -0
  2. package/LICENSE +202 -0
  3. package/README.md +349 -0
  4. package/dist/augment-vue-worker.js +2 -0
  5. package/dist/call-graph-evidence-gNsxjCW8.d.ts +16 -0
  6. package/dist/change-analysis-types-CCtoCHbC.d.ts +9 -0
  7. package/dist/chunk-2Q2LW5JW.js +14 -0
  8. package/dist/chunk-2X7V4HS4.js +88 -0
  9. package/dist/chunk-34WBMAYK.js +2 -0
  10. package/dist/chunk-35NLDRZC.js +2 -0
  11. package/dist/chunk-362QOSFD.js +3 -0
  12. package/dist/chunk-3IER7Q6H.js +12 -0
  13. package/dist/chunk-3JSXXYTZ.js +345 -0
  14. package/dist/chunk-3LCDIREB.js +4 -0
  15. package/dist/chunk-476NR5B7.js +2 -0
  16. package/dist/chunk-4FC325IF.js +30 -0
  17. package/dist/chunk-4WKDMDEW.js +9 -0
  18. package/dist/chunk-4XTAUQFD.js +2 -0
  19. package/dist/chunk-5PUWMSDU.js +26 -0
  20. package/dist/chunk-5VKBFZZU.js +3 -0
  21. package/dist/chunk-6BQ3DSPK.js +2 -0
  22. package/dist/chunk-6CS3UQTN.js +3 -0
  23. package/dist/chunk-6MUIJMVL.js +6 -0
  24. package/dist/chunk-6NW7MU72.js +40 -0
  25. package/dist/chunk-6OAHRI2D.js +6 -0
  26. package/dist/chunk-6YTSKJJ3.js +2 -0
  27. package/dist/chunk-7FND7D7N.js +2 -0
  28. package/dist/chunk-7MGU3HPH.js +2 -0
  29. package/dist/chunk-7NVGT435.js +2 -0
  30. package/dist/chunk-7XAN6GKB.js +2 -0
  31. package/dist/chunk-AAQQPKCU.js +2 -0
  32. package/dist/chunk-ADTBPVUZ.js +21 -0
  33. package/dist/chunk-AKB7V7TV.js +2 -0
  34. package/dist/chunk-ANFVSJWQ.js +11 -0
  35. package/dist/chunk-B2OB55RR.js +3 -0
  36. package/dist/chunk-B3UYV66Z.js +4 -0
  37. package/dist/chunk-B75HZHUP.js +2 -0
  38. package/dist/chunk-BFFZDZQV.js +2 -0
  39. package/dist/chunk-BGBBVSH4.js +2 -0
  40. package/dist/chunk-BH5F2Q4O.js +2 -0
  41. package/dist/chunk-BJ6SQAEN.js +2 -0
  42. package/dist/chunk-BMYOV5GP.js +77 -0
  43. package/dist/chunk-BVAJLC5A.js +7 -0
  44. package/dist/chunk-C6SBF2WH.js +4 -0
  45. package/dist/chunk-C74PPYLA.js +3 -0
  46. package/dist/chunk-C7QOQX32.js +8 -0
  47. package/dist/chunk-CAUCPUOF.js +7 -0
  48. package/dist/chunk-CO5R3UNA.js +2 -0
  49. package/dist/chunk-CQP3THUZ.js +7 -0
  50. package/dist/chunk-CVYSU6BX.js +16 -0
  51. package/dist/chunk-CWONGW6P.js +3 -0
  52. package/dist/chunk-DDZ7VHWV.js +20 -0
  53. package/dist/chunk-DGXRDLV5.js +2 -0
  54. package/dist/chunk-DO6WQD2T.js +3 -0
  55. package/dist/chunk-DQMDCD24.js +2 -0
  56. package/dist/chunk-DR2LURYU.js +3 -0
  57. package/dist/chunk-DRENNWRG.js +2 -0
  58. package/dist/chunk-ECQBG7PW.js +564 -0
  59. package/dist/chunk-EF2R3WNQ.js +2 -0
  60. package/dist/chunk-ELNRLMC5.js +29 -0
  61. package/dist/chunk-EMNIHCRB.js +18 -0
  62. package/dist/chunk-ENCCHKM6.js +5 -0
  63. package/dist/chunk-EZNMUY67.js +5 -0
  64. package/dist/chunk-FAJQ7LWY.js +3 -0
  65. package/dist/chunk-FDGD5AB5.js +2 -0
  66. package/dist/chunk-FETNQCFO.js +117 -0
  67. package/dist/chunk-FM5BPL4V.js +60 -0
  68. package/dist/chunk-FQKZWM4L.js +49 -0
  69. package/dist/chunk-FW53T7EB.js +2 -0
  70. package/dist/chunk-G6XFR4ZL.js +4 -0
  71. package/dist/chunk-GCHRX4YW.js +4 -0
  72. package/dist/chunk-GTIYTDRE.js +562 -0
  73. package/dist/chunk-GTXSJDCO.js +2 -0
  74. package/dist/chunk-GW6Z3WGY.js +2 -0
  75. package/dist/chunk-H3LGFZVK.js +2 -0
  76. package/dist/chunk-HKQUXIFO.js +2 -0
  77. package/dist/chunk-HOA5YGOH.js +3 -0
  78. package/dist/chunk-HPJRBHVT.js +3 -0
  79. package/dist/chunk-HRWGYWRJ.js +49 -0
  80. package/dist/chunk-I2T2LLK2.js +4 -0
  81. package/dist/chunk-ICFDQHAM.js +3 -0
  82. package/dist/chunk-ID63777H.js +4 -0
  83. package/dist/chunk-IJ4HMYBE.js +3 -0
  84. package/dist/chunk-ILMHV3KM.js +2 -0
  85. package/dist/chunk-IOP6FWIM.js +2 -0
  86. package/dist/chunk-IRQOAM5G.js +2 -0
  87. package/dist/chunk-J77SU6VA.js +38 -0
  88. package/dist/chunk-JE3WZ6II.js +2 -0
  89. package/dist/chunk-JEJLSICM.js +4 -0
  90. package/dist/chunk-JOIRNPPY.js +2 -0
  91. package/dist/chunk-JSOYNVWH.js +3 -0
  92. package/dist/chunk-KMITESMT.js +2 -0
  93. package/dist/chunk-KUW32IRO.js +2 -0
  94. package/dist/chunk-KWVHSKHK.js +31 -0
  95. package/dist/chunk-L4NRUAGJ.js +18 -0
  96. package/dist/chunk-L57ZKWVG.js +6 -0
  97. package/dist/chunk-LTA3BRZX.js +2 -0
  98. package/dist/chunk-LU3BMVH2.js +10 -0
  99. package/dist/chunk-LZYFLFEH.js +2 -0
  100. package/dist/chunk-MOVBWNIP.js +16 -0
  101. package/dist/chunk-MVB3DAEY.js +3 -0
  102. package/dist/chunk-N3IQCBCF.js +29 -0
  103. package/dist/chunk-NAUD7LCA.js +2 -0
  104. package/dist/chunk-NCZUNH3E.js +109 -0
  105. package/dist/chunk-NE6IU5ZD.js +5 -0
  106. package/dist/chunk-NEDP5RFQ.js +60 -0
  107. package/dist/chunk-NMTSZXCL.js +2 -0
  108. package/dist/chunk-NNJ2KZZG.js +4 -0
  109. package/dist/chunk-NNO6A2PO.js +2 -0
  110. package/dist/chunk-NNOKTMZT.js +20 -0
  111. package/dist/chunk-O6QTXQPJ.js +13 -0
  112. package/dist/chunk-OANDYLJQ.js +2 -0
  113. package/dist/chunk-OFBE4NGP.js +2 -0
  114. package/dist/chunk-OGTFJ3XD.js +2 -0
  115. package/dist/chunk-OL6KJP3N.js +16 -0
  116. package/dist/chunk-OLF4MA5W.js +8 -0
  117. package/dist/chunk-OTOKVOJ3.js +2 -0
  118. package/dist/chunk-OVTS4DKB.js +2 -0
  119. package/dist/chunk-OZYRSMSH.js +3 -0
  120. package/dist/chunk-P5XHIJHI.js +2 -0
  121. package/dist/chunk-PBI2LFKH.js +2 -0
  122. package/dist/chunk-PIOMTC27.js +2 -0
  123. package/dist/chunk-PTAWHLVJ.js +6 -0
  124. package/dist/chunk-PX4RYAAK.js +2 -0
  125. package/dist/chunk-PYAB5SM6.js +7 -0
  126. package/dist/chunk-Q5ELPRKQ.js +2 -0
  127. package/dist/chunk-Q65CQ4XL.js +2 -0
  128. package/dist/chunk-Q72QSKXC.js +308 -0
  129. package/dist/chunk-QCN62RTF.js +3 -0
  130. package/dist/chunk-QDCCHMVZ.js +2 -0
  131. package/dist/chunk-QHRNXP3C.js +3 -0
  132. package/dist/chunk-QKPLA6IC.js +2 -0
  133. package/dist/chunk-QOKYJ33H.js +2 -0
  134. package/dist/chunk-QW7EP6WI.js +21 -0
  135. package/dist/chunk-R2NOK63J.js +4 -0
  136. package/dist/chunk-RBAS5ZHI.js +2 -0
  137. package/dist/chunk-RDBI2RXU.js +9 -0
  138. package/dist/chunk-RKEJ6VTF.js +73 -0
  139. package/dist/chunk-RR7SX44N.js +35 -0
  140. package/dist/chunk-RU65DDUP.js +215 -0
  141. package/dist/chunk-SELM5MER.js +2 -0
  142. package/dist/chunk-SGX43S2L.js +2 -0
  143. package/dist/chunk-SMRBZ6EC.js +2 -0
  144. package/dist/chunk-SNNWPCN7.js +4 -0
  145. package/dist/chunk-ST7V3SKN.js +2 -0
  146. package/dist/chunk-SWHMHUKF.js +2 -0
  147. package/dist/chunk-SYDJMPES.js +2 -0
  148. package/dist/chunk-SZD2KF7Q.js +2 -0
  149. package/dist/chunk-T3DGWPXM.js +3 -0
  150. package/dist/chunk-TFZB6XTM.js +239 -0
  151. package/dist/chunk-TIIC3ZE7.js +2 -0
  152. package/dist/chunk-TRRC4ZJ7.js +2 -0
  153. package/dist/chunk-TXXOEMZJ.js +2 -0
  154. package/dist/chunk-UBGWN7I4.js +2 -0
  155. package/dist/chunk-UCD3H3UZ.js +5 -0
  156. package/dist/chunk-UDS562V4.js +5 -0
  157. package/dist/chunk-UNBY47BC.js +3 -0
  158. package/dist/chunk-UP3BUZR5.js +74 -0
  159. package/dist/chunk-UXM43C7T.js +3 -0
  160. package/dist/chunk-UZGZB3VB.js +3 -0
  161. package/dist/chunk-VE5AVNMP.js +2 -0
  162. package/dist/chunk-VEXUL62T.js +2 -0
  163. package/dist/chunk-VFY6Y2H6.js +61 -0
  164. package/dist/chunk-VUIYB2V3.js +2 -0
  165. package/dist/chunk-VXYS3FZD.js +23 -0
  166. package/dist/chunk-WE5RZHZ7.js +5 -0
  167. package/dist/chunk-WMPRTGH2.js +2 -0
  168. package/dist/chunk-WOQBZPIF.js +2 -0
  169. package/dist/chunk-XLQ3GLWZ.js +2 -0
  170. package/dist/chunk-XME3HPXZ.js +2 -0
  171. package/dist/chunk-XMQ23E27.js +2 -0
  172. package/dist/chunk-XWUOUWYI.js +2 -0
  173. package/dist/chunk-XZEE23VG.js +5 -0
  174. package/dist/chunk-Y6KHROC3.js +7 -0
  175. package/dist/chunk-YESXMKX3.js +3 -0
  176. package/dist/chunk-YMGZZEW4.js +2 -0
  177. package/dist/chunk-YSNONTJ2.js +2 -0
  178. package/dist/chunk-YUKYB54I.js +1 -0
  179. package/dist/chunk-YVCIMIOC.js +12 -0
  180. package/dist/chunk-Z54RD7VL.js +3 -0
  181. package/dist/chunk-ZKX2FRS6.js +15 -0
  182. package/dist/chunk-ZMI2JSX2.js +2 -0
  183. package/dist/chunk-ZV3JV5G5.js +8 -0
  184. package/dist/chunk-ZZ3MWF33.js +4 -0
  185. package/dist/chunk-ZZXSWSN6.js +2 -0
  186. package/dist/cli-context-3SNLDYBM.js +3 -0
  187. package/dist/cli-context-T3B7W6GG.js +2 -0
  188. package/dist/cli-program-YNOXO72B.js +7 -0
  189. package/dist/cli.js +3 -0
  190. package/dist/code-DlqpBDd0.d.ts +121 -0
  191. package/dist/command-descriptors-6AOUKWW7.js +346 -0
  192. package/dist/command-descriptors-ZFKJSRUP.js +344 -0
  193. package/dist/command-panels-SZONPMLJ.js +3 -0
  194. package/dist/config-types-BNoC96J3.d.ts +560 -0
  195. package/dist/db-D7sauVFH.d.ts +95 -0
  196. package/dist/direct-navigation-DP4LVMRX.js +3 -0
  197. package/dist/direct-navigation-FLUS3BT6.js +2 -0
  198. package/dist/exploration-topology-BG4v30HZ.d.ts +256 -0
  199. package/dist/file-dep-graph-Bqg3t3Px.d.ts +4 -0
  200. package/dist/file-kind-BKCVMNUf.d.ts +10 -0
  201. package/dist/frontend-behavior-evidence-EfM4_9bc.d.ts +4 -0
  202. package/dist/git-history-ChNHbfZQ.d.ts +13 -0
  203. package/dist/graph-evidence-BIFqyisO.d.ts +131 -0
  204. package/dist/health-DJaZXg8I.d.ts +340 -0
  205. package/dist/index.d.ts +183 -0
  206. package/dist/index.js +2 -0
  207. package/dist/invocation-command-descriptors-QT2JMY5J.js +3 -0
  208. package/dist/invocation-command-descriptors-YN4QJEAX.js +2 -0
  209. package/dist/next-anchor-candidates-BwMczMvX.d.ts +90 -0
  210. package/dist/output-continuation-command-2V2SL4TD.js +2 -0
  211. package/dist/output-continuation-command-65J5IP3O.js +3 -0
  212. package/dist/postinstall.js +3 -0
  213. package/dist/project-reindex-5JOKXAXT.js +2 -0
  214. package/dist/project-reindex-UQBIKO4M.js +3 -0
  215. package/dist/queries/affected.d.ts +40 -0
  216. package/dist/queries/affected.js +2 -0
  217. package/dist/queries/anchors.d.ts +123 -0
  218. package/dist/queries/anchors.js +2 -0
  219. package/dist/queries/architecture.d.ts +166 -0
  220. package/dist/queries/architecture.js +2 -0
  221. package/dist/queries/bottlenecks.d.ts +68 -0
  222. package/dist/queries/bottlenecks.js +2 -0
  223. package/dist/queries/by-kind.d.ts +27 -0
  224. package/dist/queries/by-kind.js +2 -0
  225. package/dist/queries/call-graph.d.ts +52 -0
  226. package/dist/queries/call-graph.js +2 -0
  227. package/dist/queries/change-surface.d.ts +55 -0
  228. package/dist/queries/change-surface.js +2 -0
  229. package/dist/queries/cleanup-plan.d.ts +66 -0
  230. package/dist/queries/cleanup-plan.js +2 -0
  231. package/dist/queries/co-change.d.ts +90 -0
  232. package/dist/queries/co-change.js +2 -0
  233. package/dist/queries/code.d.ts +6 -0
  234. package/dist/queries/code.js +2 -0
  235. package/dist/queries/complexity-hotspots.d.ts +61 -0
  236. package/dist/queries/complexity-hotspots.js +2 -0
  237. package/dist/queries/complexity.d.ts +74 -0
  238. package/dist/queries/complexity.js +2 -0
  239. package/dist/queries/context.d.ts +146 -0
  240. package/dist/queries/context.js +2 -0
  241. package/dist/queries/convergence.d.ts +33 -0
  242. package/dist/queries/convergence.js +2 -0
  243. package/dist/queries/coupling.d.ts +32 -0
  244. package/dist/queries/coupling.js +2 -0
  245. package/dist/queries/cycles.d.ts +66 -0
  246. package/dist/queries/cycles.js +2 -0
  247. package/dist/queries/dataflow.d.ts +77 -0
  248. package/dist/queries/dataflow.js +2 -0
  249. package/dist/queries/dead.d.ts +58 -0
  250. package/dist/queries/dead.js +2 -0
  251. package/dist/queries/decorative-checkers.d.ts +34 -0
  252. package/dist/queries/decorative-checkers.js +2 -0
  253. package/dist/queries/deep-chains.d.ts +5 -0
  254. package/dist/queries/deep-chains.js +2 -0
  255. package/dist/queries/dependence-slice.d.ts +46 -0
  256. package/dist/queries/dependence-slice.js +2 -0
  257. package/dist/queries/dependency-depth.d.ts +49 -0
  258. package/dist/queries/dependency-depth.js +2 -0
  259. package/dist/queries/deps.d.ts +15 -0
  260. package/dist/queries/deps.js +2 -0
  261. package/dist/queries/diff-impact.d.ts +165 -0
  262. package/dist/queries/diff-impact.js +2 -0
  263. package/dist/queries/doc-drift.d.ts +115 -0
  264. package/dist/queries/doc-drift.js +2 -0
  265. package/dist/queries/drift.d.ts +79 -0
  266. package/dist/queries/drift.js +2 -0
  267. package/dist/queries/duplicate-bodies.d.ts +55 -0
  268. package/dist/queries/duplicate-bodies.js +2 -0
  269. package/dist/queries/entry-map.d.ts +121 -0
  270. package/dist/queries/entry-map.js +2 -0
  271. package/dist/queries/evidence.d.ts +70 -0
  272. package/dist/queries/evidence.js +2 -0
  273. package/dist/queries/extract-candidates.d.ts +52 -0
  274. package/dist/queries/extract-candidates.js +2 -0
  275. package/dist/queries/fan.d.ts +53 -0
  276. package/dist/queries/fan.js +2 -0
  277. package/dist/queries/files.d.ts +20 -0
  278. package/dist/queries/files.js +2 -0
  279. package/dist/queries/health.d.ts +8 -0
  280. package/dist/queries/health.js +2 -0
  281. package/dist/queries/hierarchy.d.ts +21 -0
  282. package/dist/queries/hierarchy.js +2 -0
  283. package/dist/queries/hotspots.d.ts +42 -0
  284. package/dist/queries/hotspots.js +2 -0
  285. package/dist/queries/imports.d.ts +34 -0
  286. package/dist/queries/imports.js +2 -0
  287. package/dist/queries/incomplete-migration.d.ts +90 -0
  288. package/dist/queries/incomplete-migration.js +2 -0
  289. package/dist/queries/index.d.ts +180 -0
  290. package/dist/queries/index.js +2 -0
  291. package/dist/queries/isolated.d.ts +24 -0
  292. package/dist/queries/isolated.js +2 -0
  293. package/dist/queries/locality-candidates.d.ts +51 -0
  294. package/dist/queries/locality-candidates.js +2 -0
  295. package/dist/queries/members.d.ts +21 -0
  296. package/dist/queries/members.js +2 -0
  297. package/dist/queries/methods.d.ts +43 -0
  298. package/dist/queries/methods.js +2 -0
  299. package/dist/queries/not-implemented.d.ts +33 -0
  300. package/dist/queries/not-implemented.js +2 -0
  301. package/dist/queries/outline.d.ts +22 -0
  302. package/dist/queries/outline.js +2 -0
  303. package/dist/queries/passthrough-candidates.d.ts +41 -0
  304. package/dist/queries/passthrough-candidates.js +2 -0
  305. package/dist/queries/plan-context.d.ts +33 -0
  306. package/dist/queries/plan-context.js +2 -0
  307. package/dist/queries/react-component-duplicates.d.ts +39 -0
  308. package/dist/queries/react-component-duplicates.js +2 -0
  309. package/dist/queries/react-hook-candidates.d.ts +44 -0
  310. package/dist/queries/react-hook-candidates.js +2 -0
  311. package/dist/queries/react-large-component-pressure.d.ts +34 -0
  312. package/dist/queries/react-large-component-pressure.js +2 -0
  313. package/dist/queries/recent-duplicates.d.ts +79 -0
  314. package/dist/queries/recent-duplicates.js +2 -0
  315. package/dist/queries/redundant-reexports.d.ts +37 -0
  316. package/dist/queries/redundant-reexports.js +2 -0
  317. package/dist/queries/reference-neighborhood.d.ts +4 -0
  318. package/dist/queries/reference-neighborhood.js +2 -0
  319. package/dist/queries/reference-reachability.d.ts +48 -0
  320. package/dist/queries/reference-reachability.js +2 -0
  321. package/dist/queries/refs.d.ts +13 -0
  322. package/dist/queries/refs.js +2 -0
  323. package/dist/queries/self-audit.d.ts +65 -0
  324. package/dist/queries/self-audit.js +2 -0
  325. package/dist/queries/similar-chains.d.ts +48 -0
  326. package/dist/queries/similar-chains.js +2 -0
  327. package/dist/queries/similar-files.d.ts +35 -0
  328. package/dist/queries/similar-files.js +2 -0
  329. package/dist/queries/similar-signatures.d.ts +46 -0
  330. package/dist/queries/similar-signatures.js +2 -0
  331. package/dist/queries/similar.d.ts +187 -0
  332. package/dist/queries/similar.js +2 -0
  333. package/dist/queries/slice.d.ts +4 -0
  334. package/dist/queries/slice.js +2 -0
  335. package/dist/queries/source-inspection.d.ts +209 -0
  336. package/dist/queries/source-inspection.js +2 -0
  337. package/dist/queries/source-search.d.ts +85 -0
  338. package/dist/queries/source-search.js +2 -0
  339. package/dist/queries/stale-abstractions.d.ts +72 -0
  340. package/dist/queries/stale-abstractions.js +2 -0
  341. package/dist/queries/stats.d.ts +15 -0
  342. package/dist/queries/stats.js +2 -0
  343. package/dist/queries/surface.d.ts +22 -0
  344. package/dist/queries/surface.js +2 -0
  345. package/dist/queries/symbols.d.ts +14 -0
  346. package/dist/queries/symbols.js +2 -0
  347. package/dist/queries/system-map.d.ts +449 -0
  348. package/dist/queries/system-map.js +2 -0
  349. package/dist/queries/system.d.ts +21 -0
  350. package/dist/queries/system.js +2 -0
  351. package/dist/queries/test-quality.d.ts +56 -0
  352. package/dist/queries/test-quality.js +2 -0
  353. package/dist/queries/trace.d.ts +68 -0
  354. package/dist/queries/trace.js +2 -0
  355. package/dist/queries/twin-ab.d.ts +66 -0
  356. package/dist/queries/twin-ab.js +2 -0
  357. package/dist/queries/twin-drift.d.ts +119 -0
  358. package/dist/queries/twin-drift.js +2 -0
  359. package/dist/queries/unused-imports.d.ts +4 -0
  360. package/dist/queries/unused-imports.js +2 -0
  361. package/dist/queries/unused-params.d.ts +38 -0
  362. package/dist/queries/unused-params.js +2 -0
  363. package/dist/queries/value-flow.d.ts +42 -0
  364. package/dist/queries/value-flow.js +2 -0
  365. package/dist/queries/vue-component-duplicates.d.ts +43 -0
  366. package/dist/queries/vue-component-duplicates.js +2 -0
  367. package/dist/queries/vue-composable-candidates.d.ts +44 -0
  368. package/dist/queries/vue-composable-candidates.js +2 -0
  369. package/dist/queries/vue-large-view-pressure.d.ts +41 -0
  370. package/dist/queries/vue-large-view-pressure.js +2 -0
  371. package/dist/queries/wrapper-candidates.d.ts +34 -0
  372. package/dist/queries/wrapper-candidates.js +2 -0
  373. package/dist/reindex-worker.js +3 -0
  374. package/dist/reindex.d.ts +254 -0
  375. package/dist/reindex.js +298 -0
  376. package/dist/repository-text-C0Q8VYdN.d.ts +19 -0
  377. package/dist/runtime.d.ts +555 -0
  378. package/dist/runtime.js +4 -0
  379. package/dist/rust-semantic-session-server.js +2 -0
  380. package/dist/rust-semantic-session-worker.js +2 -0
  381. package/dist/rust-semantic-worker.js +2 -0
  382. package/dist/scip-cli-B7N3haxa.d.ts +67 -0
  383. package/dist/source-snippet-_wrcgmZc.d.ts +15 -0
  384. package/dist/symbol-types-BIQwfoAx.d.ts +74 -0
  385. package/dist/typescript-mailbox-worker.js +2 -0
  386. package/dist/watch-server.js +8 -0
  387. package/docs/AGENT_GUIDE.md +148 -0
  388. package/docs/AI_FAILURE_MODES.md +43 -0
  389. package/docs/API.md +40 -0
  390. package/docs/API_EVOLUTION.md +77 -0
  391. package/docs/CLI_JSON_OUTPUT.md +389 -0
  392. package/docs/COMMAND_REFERENCE.md +294 -0
  393. package/docs/CONFIGURATION_WRITE_SAFETY.md +131 -0
  394. package/docs/DETECTOR_GUIDE.md +46 -0
  395. package/docs/DURABILITY.md +159 -0
  396. package/docs/INDEX_GENERATIONS.md +167 -0
  397. package/docs/LOCK_PROTOCOL.md +133 -0
  398. package/docs/MAILBOX_LIFECYCLE.md +224 -0
  399. package/docs/REGEX_POLICY.md +36 -0
  400. package/docs/REINDEX_METADATA_COMPATIBILITY.md +104 -0
  401. package/docs/RUST_DURABLE_SESSION_PROTOCOL.md +126 -0
  402. package/docs/SECURITY_MODEL.md +125 -0
  403. package/docs/TELEMETRY_RETENTION.md +84 -0
  404. package/docs/TIME_SEMANTICS.md +77 -0
  405. package/docs/WATCH_REFRESH_REQUESTS.md +123 -0
  406. package/docs/WINDOWS_SIDECAR_RELEASE.md +424 -0
  407. package/docs/accuracy-audit-checklist.md +304 -0
  408. package/docs/accuracy-hardening-goal.md +500 -0
  409. package/docs/analyzer-inventory.md +78 -0
  410. package/docs/analyzer-validation-protocol.md +84 -0
  411. package/docs/architecture-coherence-vision.md +254 -0
  412. package/docs/assets/codebaseiq-logo-dark.svg +21 -0
  413. package/docs/assets/codebaseiq-logo.svg +24 -0
  414. package/docs/locality-analyzer-design.md +193 -0
  415. package/docs/schemas/cli-json-envelope.schema.json +237 -0
  416. package/docs/schemas/cli-output-page.schema.json +104 -0
  417. package/docs/schemas/npm-release-state.schema.json +146 -0
  418. package/docs/schemas/observation-receipt.schema.json +164 -0
  419. package/docs/schemas/project-config.schema.json +318 -0
  420. package/docs/schemas/suppression-record.schema.json +79 -0
  421. package/docs/schemas/windows-sidecar-provenance.schema.json +137 -0
  422. package/package.json +482 -0
  423. package/scripts/build-codebaseiq-windows.mjs +197 -0
  424. package/scripts/codebaseiq-windows-provenance.mjs +364 -0
  425. package/scripts/evidence-product-contract.mjs +197 -0
  426. package/scripts/verify-codebaseiq-windows.mjs +29 -0
  427. package/skills/codebaseiq/SKILL.md +75 -0
  428. package/skills/codebaseiq/agents/openai.yaml +4 -0
  429. package/skills/codebaseiq-explore/SKILL.md +34 -0
  430. package/skills/codebaseiq-explore/agents/openai.yaml +4 -0
  431. package/skills/concrete-plan/SKILL.md +79 -0
  432. package/skills/concrete-plan/agents/openai.yaml +4 -0
@@ -0,0 +1,84 @@
1
+ # Operational Telemetry Retention
2
+
3
+ Operational telemetry is observational history produced while codebaseiq
4
+ works. Its concrete referents here are `reindex-activity.jsonl`, which records
5
+ refresh frequency and estimated logical output, and `affected-shadow.jsonl`,
6
+ which records compact affected-set calibration outcomes. It differs from an
7
+ authoritative record because no index generation, policy decision, ownership
8
+ claim, or completed user operation is reconstructed from it.
9
+
10
+ ## Retained segment set
11
+
12
+ Each history has two ordered segments:
13
+
14
+ 1. `<history>.previous` is the older retained segment.
15
+ 2. `<history>` is the current append segment.
16
+
17
+ The reindex-activity limit is 1 MiB per segment. The affected-shadow limit is
18
+ 8 MiB per segment. A single JSON record larger than its configured limit
19
+ expands that segment's effective limit to the complete record size; a
20
+ successful append is never made immediately ineligible by its own size.
21
+ Rotation removes the former previous segment, renames the complete current
22
+ segment to previous, and then creates the new current segment. Readers scan
23
+ previous before current.
24
+
25
+ Retention deliberately permits deletion of records older than those two
26
+ segments. That bounded-history deletion is different from concurrency loss:
27
+ which segment is pruned is decided while the append/rotation lock excludes
28
+ other writers.
29
+
30
+ The retained-set reader also has a 256 MiB byte budget across the files it
31
+ opens. It validates each segment as the same regular file before and after the
32
+ read. Exceeding that operational budget is an explicit read failure; it does
33
+ not silently return a prefix and present it as complete telemetry.
34
+
35
+ ## Serialization and crash recovery
36
+
37
+ The rotation lock is `<history>.rotation.lock`. It is a process-instance lock:
38
+ its record contains a PID, an operating-system process-start identity when
39
+ available, and a random token, and only that owner can release it. Lock
40
+ acquisition, incomplete-tail repair, retention pruning, rename, append, and
41
+ the default retained-set read all occur beneath that lock. Waits use a
42
+ process-local monotonic two-second budget.
43
+
44
+ Every append is one newline-terminated JSON value. If a process stops during
45
+ the append, the current segment can end in one incomplete tail. The next
46
+ writer truncates only the bytes after the last newline before it rotates or
47
+ appends. Readers ignore and count incomplete tail bytes. A stop after current
48
+ is renamed but before the new append leaves the old complete segment at
49
+ `.previous`; a later writer creates a new current segment.
50
+
51
+ These files are process-visible but not crash-durable. They are not fsynced,
52
+ so a kernel or power failure may lose the newest observation even after the
53
+ write call returned. That is acceptable only because the histories are
54
+ operational evidence. Authoritative index, lock, suppression, configuration,
55
+ mailbox-response, and release records use their own durable protocols.
56
+
57
+ ## Failure contract
58
+
59
+ Lock timeout and ownership-changed release are typed failures at the shared
60
+ helper boundary. The reindex-activity and affected-shadow production writers
61
+ remain best effort: telemetry failure cannot change the authoritative reindex
62
+ result. A reindex-activity writer returns either `recorded` or `failed` with a
63
+ reason; reindex, foreground watch, and daemon watch surface that failure as a
64
+ warning or watch-state error rather than silently losing the observation.
65
+
66
+ A retained-set summary carries an activity-confidence state. `complete` means
67
+ every selected non-empty record decoded; `partial` means a valid subset was
68
+ used while exact invalid/skipped/read-error or incomplete-tail counts are
69
+ reported; `unavailable` means no reliable summary could be formed. The summary
70
+ also exposes records read and ignored partial-tail bytes, so consumers can
71
+ distinguish zero activity from missing evidence.
72
+
73
+ The regression suite forces:
74
+
75
+ - a competing writer at tail repair, prior-segment pruning, current rotation,
76
+ and append;
77
+ - a stop after rotation and a partial append tail;
78
+ - bounded retention across three rotations;
79
+ - deterministic previous-then-current reads;
80
+ - partial legacy tails; and
81
+ - bounded live-owner contention.
82
+
83
+ The implementation is `src/reindex/rotating-jsonl.ts`; its direct contract
84
+ tests are `tests/reindex/rotating-jsonl.test.ts`.
@@ -0,0 +1,77 @@
1
+ # Time Semantics
2
+
3
+ codebaseiq separates shared timestamps from local elapsed-time control so a
4
+ system-clock correction cannot prolong a wait or impersonate ownership.
5
+
6
+ A **civil timestamp** is a calendar coordinate produced by the host's system
7
+ clock and written so different processes and later executions can compare
8
+ records. ISO dates, `enqueuedAtMs`, `deadlineAtMs`, heartbeat times, retention
9
+ times, and diagnostic start/completion times refer to this clock. Network time
10
+ synchronization, administrator changes, suspend/resume behavior, virtual
11
+ machine migration, and a reboot can move its observed value forward or
12
+ backward.
13
+
14
+ A **monotonic clock reading** is a process-local elapsed-time coordinate whose
15
+ ordering does not move backward while that process runs. `performance.now()`
16
+ is the JavaScript implementation used here. A monotonic reading is suitable
17
+ for durations and local deadlines because a civil-clock adjustment cannot add
18
+ time to or remove time from the measured interval. Its numeric value is not a
19
+ portable timestamp and is never persisted as cross-process evidence.
20
+
21
+ A **deadline** is the boundary that ends an operation when its resource budget
22
+ is consumed. Local request waits, lock waits, service startup and stop waits,
23
+ Rust readiness work, heartbeat throttles, activity polling, cache sweeps,
24
+ idle shutdown, and reported elapsed durations use monotonic readings. Timer
25
+ delivery can be late if the process is not scheduled, but moving the civil
26
+ clock cannot make the deadline later.
27
+
28
+ A **durable expiry hint** is a persisted civil timestamp that lets another
29
+ process classify old work for bounded cleanup or rejection. It is weaker than
30
+ ownership evidence because timestamp age cannot identify the process that
31
+ created a record. Mailbox request deadlines, response retention, dead-letter
32
+ retention, and heartbeat times remain durable hints. They may reject or clean
33
+ rebuildable retained data according to the documented retention contract, but
34
+ they do not alone authorize signaling a process, replacing a live service, or
35
+ reclaiming an inflight claim.
36
+
37
+ ## Decision table
38
+
39
+ | Decision | Clock/evidence used | Why |
40
+ | ------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
41
+ | Stop waiting for a lock, response, startup, shutdown, or readiness phase | Process-local monotonic deadline | The wait remains bounded across forward and backward civil-clock jumps. |
42
+ | Report a duration | Difference between monotonic readings | A clock correction cannot create a negative or inflated elapsed duration. |
43
+ | Publish a heartbeat, start time, completion time, or request expiry | Civil timestamp | Other processes and later executions need an inspectable shared coordinate. |
44
+ | Accept a watch or mailbox service as the same owner | Protocol/project identity, live PID, and matching process-start identity when recorded | A timestamp cannot distinguish PID reuse or a different executable instance. |
45
+ | Replace or signal a watch service | Matching process-start identity plus the explicit stop/start protocol | An old heartbeat alone never grants process-signal authority. |
46
+ | Reclaim an inflight mailbox claim | Lease expired and recorded process instance is dead or replaced | The civil lease is a delay hint; process-instance loss supplies ownership evidence. |
47
+ | Reclaim a process lock | Dead recorded process or mismatched process-start identity, followed by a guarded unchanged recheck | Valid locks do not expire; malformed public locks fail closed. |
48
+
49
+ ## Cross-process handoff
50
+
51
+ Absolute monotonic readings are not sent between independent processes.
52
+ Portable mailbox requests carry relative timeout budgets and civil diagnostic
53
+ times. The receiving Rust service converts the relative budget into a new
54
+ deadline in its own monotonic clock domain before it hands work to its worker
55
+ thread. TypeScript and Rust clients likewise use their own monotonic deadline
56
+ while polling for a retained response.
57
+
58
+ Legacy state without a process-start identity remains readable. A live legacy
59
+ PID is treated conservatively: it can support availability where no process
60
+ mutation is attempted, but it cannot authorize a signal or deletion. An
61
+ unparseable public ownership record fails closed and requires operator review.
62
+
63
+ ## Verification
64
+
65
+ The clock contract is covered by injected-clock tests that independently move
66
+ civil time forward and backward, advance monotonic time, reuse a PID with a
67
+ different process-start identity, and hold a live owner beyond a civil lease.
68
+ Focused suites include:
69
+
70
+ - `tests/domain/time.test.ts`;
71
+ - `tests/platform/process-file-lock.test.ts`;
72
+ - `tests/runtime/repository-cache-lifecycle.test.ts`;
73
+ - `tests/runtime/revisioned-file.test.ts`;
74
+ - `tests/runtime/watch-service.test.ts`;
75
+ - `tests/storage/bounded-mailbox.test.ts`;
76
+ - the TypeScript semantic and index mailbox suites; and
77
+ - the durable Rust and rust-analyzer readiness suites.
@@ -0,0 +1,123 @@
1
+ # Watch Refresh Requests
2
+
3
+ ## Contract
4
+
5
+ A watch refresh request is a durable command-side intent to make one project's
6
+ index current. Its concrete referents are the records created when a command or
7
+ agent hook observes a stale index and asks the live watch service to reindex.
8
+ It is a request record distinguished from ordinary watch activity by remaining
9
+ authoritative until a corresponding refresh attempt completes or its declared
10
+ deadline expires.
11
+
12
+ Watch activity is a disposable observation that a command recently used the
13
+ service. Its concrete referent is `watch-activity.json`; it is a
14
+ last-writer-wins timestamp whose only effect is extending the daemon's idle
15
+ lifetime. It is not a queue and carries no current refresh authority.
16
+
17
+ An admission is the successful publication of one complete immutable request
18
+ under `watch-refresh-requests/requests/`. Its defining property is that the
19
+ stable request path exists before the caller is told the request was accepted.
20
+ A claim is an exclusive processing marker for that admitted request. A
21
+ completion is a durable receipt proving that the attempt associated with the
22
+ claim finished successfully, or that the request expired before execution.
23
+
24
+ On hosts that support directory synchronization, these records provide
25
+ at-least-once execution across process, operating-system, and machine failure
26
+ for an accepted, unexpired request. At-least-once execution means a crash after
27
+ reindex success but before the completion receipt may repeat the safe reindex
28
+ operation; it never means an acknowledged request can disappear. On Windows
29
+ hosts where Node cannot synchronize directory handles, admission reports
30
+ `achievedDurability: "file-flushed"` and `directorySync: "unsupported"`:
31
+ process-crash recovery remains intact, but the stronger machine-crash
32
+ namespace guarantee is not claimed.
33
+
34
+ ## Layout
35
+
36
+ ```text
37
+ <project-cache>/
38
+ watch-activity.json
39
+ watch-refresh-requests/
40
+ requests/<request-id>.json
41
+ claims/<request-id>.json
42
+ completions/<request-id>.json
43
+ staging/
44
+ ```
45
+
46
+ - `requests/` is the immutable admission log.
47
+ - `claims/` contains exclusive, temporary ownership markers.
48
+ - `completions/` contains immutable acknowledgements.
49
+ - `staging/` contains same-filesystem temporary files used to publish a
50
+ complete record through an exclusive hard-link operation.
51
+
52
+ The request ID is random unless the caller supplies an idempotency key. An
53
+ idempotency key is a caller-chosen logical-operation identity whose hash
54
+ becomes the stable request ID; retries with that key observe the first admitted
55
+ request instead of appending another one. The first request's detail and
56
+ deadline remain authoritative.
57
+
58
+ ## Lifecycle
59
+
60
+ 1. The requester durably establishes the protocol root, `staging/`, and the
61
+ target record directory from the nearest existing ancestor.
62
+ 2. It writes and flushes a complete staging record.
63
+ 3. It exclusively links that record into `requests/`. A collision is a
64
+ duplicate, not an overwrite.
65
+ 4. It flushes `requests/` before returning accepted and reports the achieved
66
+ platform guarantee.
67
+ 5. The watch server, while holding the project watch lock, claims pending,
68
+ unexpired requests through exclusive claim records.
69
+ 6. It deliberately coalesces one claimed batch into one `watch-demand`
70
+ refresh. Requests arriving while the watcher is busy remain pending.
71
+ 7. A successful corresponding reindex writes every completion receipt before
72
+ removing any claim.
73
+ 8. A failed reindex removes its claims without writing completion, making the
74
+ requests pending after a bounded retry delay.
75
+ 9. A successor watch server removes predecessor claims only after acquiring
76
+ the same exclusive watch lock. Completed requests remain completed; all
77
+ other claimed requests become pending.
78
+
79
+ The default request deadline is ten minutes. An expired request gets an
80
+ explicit `expired` completion rather than being silently deleted. Completed
81
+ and expired history is retained for seven days; pruning removes only a receipt
82
+ and its already-acknowledged request. Pending and claimed requests are never
83
+ history-pruned. Idempotency is therefore guaranteed for at least the history
84
+ retention window.
85
+
86
+ ## Crash and Concurrency Outcomes
87
+
88
+ | Boundary | Observable outcome |
89
+ | ------------------------------------------------ | --------------------------------------------------------------------------------------- |
90
+ | Crash before exclusive admission | No request was accepted; only staging may remain |
91
+ | Crash after admission before caller sees success | Request remains pending; retrying the same idempotency key returns the admitted request |
92
+ | Two callers use one idempotency key | Exactly one immutable request wins |
93
+ | Two callers use distinct keys | Both requests remain independently visible and may be coalesced deliberately |
94
+ | Crash after claim before reindex | Successor clears the stale claim and retries the request |
95
+ | Reindex failure | Claim is released; request remains pending |
96
+ | Crash after reindex before completion | Request may execute again; it is never lost |
97
+ | Crash after completion before claim removal | Completion prevents replay; successor removes the obsolete claim |
98
+ | Activity writer races any row above | Activity changes only `watch-activity.json` and cannot modify request state |
99
+
100
+ The first two rows are machine-crash claims only when admission returned
101
+ `directory-durable`. A `file-flushed` result is explicit evidence that the
102
+ host could not commit the complete namespace frontier.
103
+
104
+ ## Compatibility and Diagnostics
105
+
106
+ Protocol version 5 writers use the request store. During the overlap release,
107
+ the watch server still recognizes the former
108
+ `refreshRequestedAt`/`refreshDetail` fields if an older client writes them. On
109
+ observation it converts that timestamp to a deduplicated durable request before
110
+ processing it. New activity writers never place refresh intent in the activity
111
+ file.
112
+
113
+ `codebaseiq watch --status` reports pending, claimed, completed, expired, and
114
+ invalid record counts. A nonzero invalid count means an on-disk record failed
115
+ strict validation; the store does not treat malformed bytes as an accepted
116
+ request or completion.
117
+
118
+ This protocol does not promise exactly-once reindex execution. Exactly-once
119
+ execution would require atomically committing the index generation and the
120
+ request receipt across separate storage authorities. Reindex is safe to
121
+ repeat, so the protocol chooses the stronger practical guarantee: accepted
122
+ intent is never silently lost, and successful acknowledgement is never
123
+ inferred from absence.