pi-lens 4.4.10 → 4.4.11

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 (376) hide show
  1. package/CHANGELOG-USER.md +6 -6
  2. package/CHANGELOG.md +182 -0
  3. package/dist/{chunk-NE4EFHJX.js → chunk-2SD2CGVH.js} +2 -2
  4. package/dist/{chunk-7JX3RNG4.js → chunk-34RXPR7M.js} +1 -1
  5. package/dist/{chunk-2LVJQU3I.js → chunk-3C6ZZAB2.js} +33 -27
  6. package/dist/{chunk-WAA63ZJV.js → chunk-3HZ6MNB2.js} +1 -1
  7. package/dist/{chunk-IDCTDKIA.js → chunk-3NVGBFJS.js} +6 -6
  8. package/dist/{chunk-B2YUE6YD.js → chunk-3QCI3V6C.js} +11 -11
  9. package/dist/{chunk-NL5LSKVD.js → chunk-3R3Z54J7.js} +10 -4
  10. package/dist/{chunk-7WJ55KBN.js → chunk-43KD3PPM.js} +1 -1
  11. package/dist/{chunk-DVRJBQOJ.js → chunk-4HNBY7S7.js} +20 -19
  12. package/dist/chunk-4WWPDMRA.js +22 -0
  13. package/dist/{chunk-QL37SGTS.js → chunk-532X3OCZ.js} +18 -16
  14. package/dist/{chunk-ZZDVGCGG.js → chunk-5RLEDUUE.js} +9 -9
  15. package/dist/{chunk-GUGKKGG7.js → chunk-5YTDZ5WP.js} +3 -3
  16. package/dist/{chunk-FOEPIX76.js → chunk-6EIV3H7O.js} +158 -61
  17. package/dist/{chunk-E4VXKTBR.js → chunk-6K4X7IIF.js} +164 -172
  18. package/dist/{chunk-HSYFLOZY.js → chunk-6RXMQYNU.js} +3 -3
  19. package/dist/{chunk-K6WIBVMK.js → chunk-6XNVY3FW.js} +8 -9
  20. package/dist/{chunk-ACRJ2GZ5.js → chunk-7424ANRU.js} +2 -2
  21. package/dist/{chunk-PTSA6QKL.js → chunk-A4HKPAEN.js} +8 -8
  22. package/dist/{chunk-RQRKIRFY.js → chunk-AFNPNHJV.js} +8 -8
  23. package/dist/{chunk-3FRI5H4T.js → chunk-AGEQRJ5A.js} +24 -10
  24. package/dist/{chunk-MAD4QJTP.js → chunk-AJ62EQIQ.js} +15 -14
  25. package/dist/{chunk-FCQSZQAT.js → chunk-AOQKQWZU.js} +14 -5
  26. package/dist/{chunk-ZOPXB2KK.js → chunk-AVOUHMCS.js} +111 -107
  27. package/dist/{chunk-OTSTS7L2.js → chunk-AYDE7RFV.js} +34 -3
  28. package/dist/{chunk-AWQWXSW4.js → chunk-B4FAFEBP.js} +7 -2
  29. package/dist/{chunk-SKVNHCT5.js → chunk-B4K6OSLL.js} +49 -42
  30. package/dist/{chunk-2ADRLTM2.js → chunk-BBJXIZ3X.js} +3 -3
  31. package/dist/chunk-BJDB7PXU.js +25 -0
  32. package/dist/{chunk-GTTMQ6XB.js → chunk-BLL4VYGZ.js} +1 -1
  33. package/dist/{chunk-CZAWWXP6.js → chunk-BMMRLJA4.js} +7 -5
  34. package/dist/{chunk-TN5CWX5D.js → chunk-BN36MQW5.js} +35 -34
  35. package/dist/{chunk-IL6PIV33.js → chunk-C2REOMPO.js} +2 -2
  36. package/dist/{chunk-XAFZJEXY.js → chunk-C4ICGFEO.js} +23 -23
  37. package/dist/chunk-CIA7X2PZ.js +26 -0
  38. package/dist/{chunk-SJQUWQR6.js → chunk-D5L7Q57Z.js} +2 -2
  39. package/dist/{chunk-XPGH5O74.js → chunk-DBAHJFBU.js} +31 -35
  40. package/dist/{chunk-H65TYP6V.js → chunk-DNB4ZQGN.js} +37 -21
  41. package/dist/chunk-DPDA3ILA.js +108 -0
  42. package/dist/{chunk-QGITU23N.js → chunk-E3PNZDPH.js} +1 -1
  43. package/dist/{chunk-KDCIG23C.js → chunk-E6Z3CJT2.js} +13 -9
  44. package/dist/{chunk-V7F7JHS5.js → chunk-ECYUBKYX.js} +557 -551
  45. package/dist/chunk-F37CCZUA.js +27 -0
  46. package/dist/{chunk-KSTQ4VXT.js → chunk-FVEEEEIM.js} +10 -13
  47. package/dist/{chunk-GMC4ZGYR.js → chunk-GL6J5R34.js} +5 -5
  48. package/dist/{chunk-C6AODRNU.js → chunk-GTNO6F6K.js} +11 -10
  49. package/dist/{chunk-KJ3AHOCK.js → chunk-HASJPQBC.js} +10 -10
  50. package/dist/{chunk-XVB3Q2PG.js → chunk-HGEE5LDW.js} +3 -2
  51. package/dist/{chunk-F6FT6BVQ.js → chunk-HIUVHRLM.js} +35 -34
  52. package/dist/{chunk-BRESRQBE.js → chunk-HTUG7ZFK.js} +8 -8
  53. package/dist/{chunk-ALIZWXHZ.js → chunk-IBEYUBCM.js} +9 -9
  54. package/dist/{chunk-JZQGRARR.js → chunk-IJ55MYO6.js} +15 -12
  55. package/dist/{chunk-BGLS5SDN.js → chunk-IT7MFVGP.js} +2 -2
  56. package/dist/{chunk-AON2QIJF.js → chunk-ITAPXBIB.js} +20 -17
  57. package/dist/{chunk-TLWFZ66Y.js → chunk-JSQK5DH3.js} +4 -4
  58. package/dist/{chunk-VCRVNLE7.js → chunk-K2GV34T2.js} +9 -1
  59. package/dist/{chunk-QUQY3IME.js → chunk-KBSC5Z3G.js} +9 -8
  60. package/dist/{chunk-W4CUK5G6.js → chunk-KDGKKK7A.js} +2 -2
  61. package/dist/{chunk-YQA34KAF.js → chunk-KDMJ2DJD.js} +11 -11
  62. package/dist/{chunk-SG2JQ2YP.js → chunk-KNP4ENFT.js} +1 -1
  63. package/dist/chunk-KX4DF6XX.js +25 -0
  64. package/dist/{chunk-4ITEFRDH.js → chunk-LHCDWFDB.js} +37 -145
  65. package/dist/{chunk-3HM4BUHR.js → chunk-LHU6NG5Z.js} +16 -15
  66. package/dist/{chunk-6I44EDNQ.js → chunk-LIDFFCZZ.js} +17 -15
  67. package/dist/{chunk-KFRDFAOE.js → chunk-LPM6NKVI.js} +7 -7
  68. package/dist/{chunk-NBM7PNBP.js → chunk-LXE7JAMV.js} +37 -26
  69. package/dist/{chunk-UY745U35.js → chunk-ME6MF2N2.js} +1 -1
  70. package/dist/{chunk-YT2VR4SL.js → chunk-NLRKB32C.js} +7 -7
  71. package/dist/{chunk-QHOTTC4A.js → chunk-NQFXN5U7.js} +2 -2
  72. package/dist/{chunk-QUPYLQA4.js → chunk-NR4KQOXZ.js} +14 -9
  73. package/dist/{chunk-Y3EHLUPL.js → chunk-NWK7KKNO.js} +4 -4
  74. package/dist/{chunk-A5TEJZGJ.js → chunk-O6LCSHHI.js} +1 -1
  75. package/dist/{chunk-CTB5BAJI.js → chunk-OC4ZGVMH.js} +17 -14
  76. package/dist/{chunk-VPFRU5IG.js → chunk-OP5BMZKK.js} +3 -3
  77. package/dist/{chunk-MN635QYA.js → chunk-OYXD2MOM.js} +3 -3
  78. package/dist/{chunk-GVWIU7M7.js → chunk-PSUXESQ5.js} +41 -4
  79. package/dist/{chunk-J6BR5XN2.js → chunk-QAM2Q3VO.js} +3 -3
  80. package/dist/{chunk-6MDM5MQT.js → chunk-QBUSONNE.js} +367 -153
  81. package/dist/{chunk-VGTBLTPN.js → chunk-QDZ3ZZMY.js} +18 -66
  82. package/dist/{chunk-LT62P654.js → chunk-QJ4T73J5.js} +1 -1
  83. package/dist/{chunk-DOUAWKLO.js → chunk-QUZYRDT6.js} +12 -12
  84. package/dist/{chunk-UNBRHPHJ.js → chunk-R2UF54ON.js} +17 -15
  85. package/dist/{chunk-I32RSMH6.js → chunk-R2VUZZPJ.js} +11 -10
  86. package/dist/chunk-R5BNSOIV.js +29 -0
  87. package/dist/chunk-RV5VX2XW.js +29 -0
  88. package/dist/{chunk-QWTHFFU6.js → chunk-SQBDX6IO.js} +12 -12
  89. package/dist/{chunk-CZCAZVTD.js → chunk-SRXYSLMW.js} +2 -2
  90. package/dist/{chunk-WS3UFJOU.js → chunk-SUIZOCSY.js} +3 -2
  91. package/dist/{chunk-NUSXS6YB.js → chunk-T5EGSBM2.js} +4 -4
  92. package/dist/{chunk-QMV2APEH.js → chunk-TBE4OLPA.js} +37 -35
  93. package/dist/{chunk-B6HXETWY.js → chunk-TPMBNWHO.js} +28 -26
  94. package/dist/{chunk-CYUJB552.js → chunk-TRYOYWWU.js} +18 -12
  95. package/dist/{chunk-TJQSYX3J.js → chunk-TTGDTNSN.js} +6 -6
  96. package/dist/{chunk-S3WFVG5P.js → chunk-UELHWF5I.js} +137 -126
  97. package/dist/chunk-UG4YLCJ5.js +58 -0
  98. package/dist/chunk-UQ6OZYTO.js +91 -0
  99. package/dist/{chunk-QSCZAP24.js → chunk-UY3WWW5R.js} +4 -4
  100. package/dist/chunk-V7IPIAE5.js +74 -0
  101. package/dist/{chunk-4NCDHTFI.js → chunk-VDMF7Q2P.js} +10 -10
  102. package/dist/{chunk-TYHOEX4V.js → chunk-VI3BJMZO.js} +35 -34
  103. package/dist/{chunk-UOO4D2TK.js → chunk-VTXJAO5R.js} +34 -35
  104. package/dist/chunk-W6VLB6LL.js +145 -0
  105. package/dist/{chunk-NPNFGYLV.js → chunk-WBXCIRVI.js} +19 -2
  106. package/dist/{chunk-CB7PEVOJ.js → chunk-WLD6BGON.js} +176 -60
  107. package/dist/{chunk-Q2VCKC3X.js → chunk-WMCAEP2K.js} +11 -8
  108. package/dist/{chunk-OPFNQBS5.js → chunk-WXMUGUZV.js} +21 -25
  109. package/dist/{chunk-46TQJSUE.js → chunk-X33QECRJ.js} +2 -2
  110. package/dist/{chunk-HILZE4BQ.js → chunk-YUF4DRYB.js} +396 -306
  111. package/dist/{chunk-YF4G5NN5.js → chunk-YVPB5YGO.js} +2 -2
  112. package/dist/{chunk-W7TY6HYX.js → chunk-ZRQMENT4.js} +5 -27
  113. package/dist/index.js +5573 -4181
  114. package/dist/mcp/analyze-cli.js +17 -11
  115. package/dist/mcp/cli.js +43 -42
  116. package/dist/mcp/server.js +1521 -610
  117. package/dist/mcp/worker.js +62 -59
  118. package/dist/probes/installer.js +19 -18
  119. package/docs/agent-guide.md +3 -1
  120. package/docs/agent-tools.md +4 -2
  121. package/docs/alignment-families.md +5 -1
  122. package/docs/ci.md +120 -0
  123. package/docs/configuration.md +21 -3
  124. package/docs/custom-rules.md +1 -0
  125. package/docs/defect-shapes.md +107 -71
  126. package/docs/durable-store-audit-1202.md +1 -1
  127. package/docs/engineering-principles.md +46 -12
  128. package/docs/environment-variables.md +25 -2
  129. package/docs/features.md +1 -1
  130. package/docs/invariants/dispatch-runners.md +13 -0
  131. package/docs/language-coverage.md +1 -1
  132. package/docs/lsp-capability-matrix.md +15 -16
  133. package/docs/lsp-idle-eviction.md +1 -1
  134. package/docs/module-report-read-symbol.md +2 -2
  135. package/docs/pi-lens-fixer.md +3 -2
  136. package/docs/pi-lens-merge-policy.md +1 -0
  137. package/docs/pi-lens-monitor.md +4 -1
  138. package/docs/pi-lens-release.md +19 -0
  139. package/docs/pi-lens-reviewer.md +8 -2
  140. package/docs/public-api-stability.md +41 -6
  141. package/docs/rfcs/5138-query-surface.md +121 -0
  142. package/docs/servercapabilities.md +1 -1
  143. package/docs/settings.md +9 -0
  144. package/docs/word-index.md +9 -10
  145. package/package.json +3 -3
  146. package/rules/ast-grep-rules/coderabbit/README.md +2 -0
  147. package/rules/ast-grep-rules/coderabbit/rules/c/security/dont-call-system-c.yml +2 -1
  148. package/rules/ast-grep-rules/coderabbit/rules/c/security/file-access-before-action-c.yml +2 -1
  149. package/rules/ast-grep-rules/coderabbit/rules/c/security/file-stat-before-action-c.yml +2 -1
  150. package/rules/ast-grep-rules/coderabbit/rules/c/security/insecure-hash-c.yml +2 -1
  151. package/rules/ast-grep-rules/coderabbit/rules/c/security/libxml2-audit-parser-c.yml +2 -1
  152. package/rules/ast-grep-rules/coderabbit/rules/c/security/null-library-function-c.yml +2 -1
  153. package/rules/ast-grep-rules/coderabbit/rules/c/security/sizeof-this-c.yml +2 -1
  154. package/rules/ast-grep-rules/coderabbit/rules/c/security/small-key-size-c.yml +2 -1
  155. package/rules/ast-grep-rules/coderabbit/rules/c/security/world-writable-file-c.yml +2 -1
  156. package/rules/ast-grep-rules/coderabbit/rules/cpp/security/dont-call-system-cpp.yml +2 -1
  157. package/rules/ast-grep-rules/coderabbit/rules/cpp/security/file-access-before-action-cpp.yml +2 -1
  158. package/rules/ast-grep-rules/coderabbit/rules/cpp/security/file-stat-before-action-cpp.yml +2 -1
  159. package/rules/ast-grep-rules/coderabbit/rules/cpp/security/fix-format-security-error-cpp.yml +2 -1
  160. package/rules/ast-grep-rules/coderabbit/rules/cpp/security/insecure-hash-cpp.yml +2 -1
  161. package/rules/ast-grep-rules/coderabbit/rules/cpp/security/libxml2-audit-parser-cpp.yml +2 -1
  162. package/rules/ast-grep-rules/coderabbit/rules/cpp/security/missing-nul-cpp-string-memcpy-cpp.yml +2 -1
  163. package/rules/ast-grep-rules/coderabbit/rules/cpp/security/null-library-function-cpp.yml +2 -1
  164. package/rules/ast-grep-rules/coderabbit/rules/cpp/security/return-c-str-cpp.yml +2 -1
  165. package/rules/ast-grep-rules/coderabbit/rules/cpp/security/sizeof-this-cpp.yml +2 -1
  166. package/rules/ast-grep-rules/coderabbit/rules/cpp/security/small-key-size-cpp.yml +2 -1
  167. package/rules/ast-grep-rules/coderabbit/rules/cpp/security/std-return-data-cpp.yml +2 -1
  168. package/rules/ast-grep-rules/coderabbit/rules/cpp/security/std-vector-invalidation-cpp.yml +2 -1
  169. package/rules/ast-grep-rules/coderabbit/rules/cpp/security/string-view-temporary-string-cpp.yml +2 -1
  170. package/rules/ast-grep-rules/coderabbit/rules/cpp/security/world-writable-file-cpp.yml +2 -1
  171. package/rules/ast-grep-rules/coderabbit/rules/csharp/security/httponly-false-csharp.yml +2 -1
  172. package/rules/ast-grep-rules/coderabbit/rules/csharp/security/insecure-binaryformatter-deserialization-csharp.yml +2 -1
  173. package/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-decode-without-verify-csharp.yml +2 -1
  174. package/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-hardcoded-secret-csharp.yml +2 -1
  175. package/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-tokenvalidationparameters-no-expiry-validation-csharp.yml +2 -1
  176. package/rules/ast-grep-rules/coderabbit/rules/csharp/security/networkcredential-hardcoded-secret-python.yml +2 -1
  177. package/rules/ast-grep-rules/coderabbit/rules/csharp/security/npgsqlconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
  178. package/rules/ast-grep-rules/coderabbit/rules/csharp/security/oracleconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
  179. package/rules/ast-grep-rules/coderabbit/rules/csharp/security/sqlconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
  180. package/rules/ast-grep-rules/coderabbit/rules/csharp/security/stacktrace-disclosure-csharp.yml +2 -1
  181. package/rules/ast-grep-rules/coderabbit/rules/csharp/security/use-ecb-mode-csharp.yml +2 -1
  182. package/rules/ast-grep-rules/coderabbit/rules/go/security/avoid-bind-to-all-interfaces-go.yml +2 -1
  183. package/rules/ast-grep-rules/coderabbit/rules/go/security/gorilla-cookie-store-hardcoded-session-key-go.yml +2 -1
  184. package/rules/ast-grep-rules/coderabbit/rules/go/security/gorilla-csrf-hardcoded-auth-key-go.yml +2 -1
  185. package/rules/ast-grep-rules/coderabbit/rules/go/security/grpc-client-insecure-connection-go.yml +2 -1
  186. package/rules/ast-grep-rules/coderabbit/rules/go/security/jwt-go-none-algorithm-go.yml +2 -1
  187. package/rules/ast-grep-rules/coderabbit/rules/go/security/missing-ssl-minversion-go.yml +2 -1
  188. package/rules/ast-grep-rules/coderabbit/rules/go/security/openai-empty-secret-go.yml +2 -1
  189. package/rules/ast-grep-rules/coderabbit/rules/go/security/openai-hardcoded-secret-go.yml +2 -1
  190. package/rules/ast-grep-rules/coderabbit/rules/go/security/ssl-v3-is-insecure-go.yml +2 -1
  191. package/rules/ast-grep-rules/coderabbit/rules/go/security/tls-with-insecure-cipher-go.yml +2 -1
  192. package/rules/ast-grep-rules/coderabbit/rules/go/security/use-of-weak-rsa-key-go.yml +2 -1
  193. package/rules/ast-grep-rules/coderabbit/rules/html/security/plaintext-http-link-html.yml +2 -1
  194. package/rules/ast-grep-rules/coderabbit/rules/java/security/cbc-padding-oracle-java.yml +2 -1
  195. package/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-httponly-false-java.yml +2 -1
  196. package/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-httponly-java.yml +2 -1
  197. package/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-samesite-java.yml +2 -1
  198. package/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-secure-flag-java.yml +2 -1
  199. package/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-secure-flag-false-java.yml +2 -1
  200. package/rules/ast-grep-rules/coderabbit/rules/java/security/datanucleus-hardcoded-connection-password-java.yml +2 -1
  201. package/rules/ast-grep-rules/coderabbit/rules/java/security/des-is-deprecated-java.yml +2 -1
  202. package/rules/ast-grep-rules/coderabbit/rules/java/security/desede-is-deprecated-java.yml +2 -1
  203. package/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-disallow-doctype-decl-false-java.yml +2 -1
  204. package/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-external-general-entities-true-java.yml +2 -1
  205. package/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-external-parameter-entities-true-java.yml +2 -1
  206. package/rules/ast-grep-rules/coderabbit/rules/java/security/drivermanager-hardcoded-secret-java.yml +2 -1
  207. package/rules/ast-grep-rules/coderabbit/rules/java/security/ecb-cipher-java.yml +2 -1
  208. package/rules/ast-grep-rules/coderabbit/rules/java/security/hardcoded-connection-password-java.yml +2 -1
  209. package/rules/ast-grep-rules/coderabbit/rules/java/security/hardcoded-secret-in-credentials-java.yml +2 -1
  210. package/rules/ast-grep-rules/coderabbit/rules/java/security/java-jwt-hardcoded-secret-java.yml +2 -1
  211. package/rules/ast-grep-rules/coderabbit/rules/java/security/jedis-jedisclientconfig-hardcoded-password-java.yml +2 -1
  212. package/rules/ast-grep-rules/coderabbit/rules/java/security/jedis-jedisfactory-hardcoded-password-java.yml +2 -1
  213. package/rules/ast-grep-rules/coderabbit/rules/java/security/missing-httponly-java.yml +2 -1
  214. package/rules/ast-grep-rules/coderabbit/rules/java/security/missing-secure-java.yml +2 -1
  215. package/rules/ast-grep-rules/coderabbit/rules/java/security/no-null-cipher-java.yml +2 -1
  216. package/rules/ast-grep-rules/coderabbit/rules/java/security/passwordauthentication-hardcoded-password-java.yml +2 -1
  217. package/rules/ast-grep-rules/coderabbit/rules/java/security/rsa-no-padding-java.yml +2 -1
  218. package/rules/ast-grep-rules/coderabbit/rules/java/security/simple-command-injection-direct-input-java.yml +2 -1
  219. package/rules/ast-grep-rules/coderabbit/rules/java/security/system-setproperty-hardcoded-secret-java.yml +2 -1
  220. package/rules/ast-grep-rules/coderabbit/rules/java/security/unencrypted-socket-java.yml +2 -1
  221. package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-aes-ecb-java.yml +2 -1
  222. package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-blowfish-java.yml +2 -1
  223. package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-default-aes-java.yml +2 -1
  224. package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-md5-digest-utils-java.yml +2 -1
  225. package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-md5-java.yml +2 -1
  226. package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-rc2-java.yml +2 -1
  227. package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-rc4-java.yml +2 -1
  228. package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-sha1-java.yml +2 -1
  229. package/rules/ast-grep-rules/coderabbit/rules/java/security/weak-ssl-context-java.yml +2 -1
  230. package/rules/ast-grep-rules/coderabbit/rules/javascript/security/detect-angular-sce-disabled-javascript.yml +2 -1
  231. package/rules/ast-grep-rules/coderabbit/rules/javascript/security/express-jwt-hardcoded-secret-javascript.yml +2 -1
  232. package/rules/ast-grep-rules/coderabbit/rules/javascript/security/express-session-hardcoded-secret-javascript.yml +2 -1
  233. package/rules/ast-grep-rules/coderabbit/rules/javascript/security/jwt-simple-noverify-javascript.yml +2 -1
  234. package/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-rsa-weak-key-javascript.yml +2 -1
  235. package/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-sequelize-empty-password-argument-javascript.yml +2 -1
  236. package/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-sequelize-hardcoded-secret-argument-javascript.yml +2 -1
  237. package/rules/ast-grep-rules/coderabbit/rules/kotlin/security/des-is-deprecated-kotlin.yml +2 -1
  238. package/rules/ast-grep-rules/coderabbit/rules/kotlin/security/desede-is-deprecated-kotlin.yml +2 -1
  239. package/rules/ast-grep-rules/coderabbit/rules/kotlin/security/jwt-hardcode-kotlin.yml +2 -1
  240. package/rules/ast-grep-rules/coderabbit/rules/kotlin/security/rsa-no-padding-kotlin.yml +2 -1
  241. package/rules/ast-grep-rules/coderabbit/rules/kotlin/security/system-setproperty-hardcoded-secret-kotlin.yml +2 -1
  242. package/rules/ast-grep-rules/coderabbit/rules/php/security/openssl-cbc-static-iv-php.yml +2 -1
  243. package/rules/ast-grep-rules/coderabbit/rules/php/security/search-active-debug-php.yml +2 -1
  244. package/rules/ast-grep-rules/coderabbit/rules/python/security/avoid-mktemp-python.yml +2 -1
  245. package/rules/ast-grep-rules/coderabbit/rules/python/security/avoid_app_run_with_bad_host-python.yml +2 -1
  246. package/rules/ast-grep-rules/coderabbit/rules/python/security/debug-enabled-python.yml +2 -1
  247. package/rules/ast-grep-rules/coderabbit/rules/python/security/hashids-with-django-secret-python.yml +2 -1
  248. package/rules/ast-grep-rules/coderabbit/rules/python/security/hashids-with-flask-secret-python.yml +2 -1
  249. package/rules/ast-grep-rules/coderabbit/rules/python/security/insecure-cipher-algorithm-rc4-python.yml +2 -1
  250. package/rules/ast-grep-rules/coderabbit/rules/python/security/jwt-python-hardcoded-secret-python.yml +2 -1
  251. package/rules/ast-grep-rules/coderabbit/rules/python/security/openai-hardcoded-secret-python.yml +2 -1
  252. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-cassandra-empty-password-python.yml +2 -1
  253. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-cassandra-hardcoded-secret-python.yml +2 -1
  254. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-couchbase-empty-password-python.yml +2 -1
  255. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-couchbase-hardcoded-secret-python.yml +2 -1
  256. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-elasticsearch-hardcoded-bearer-auth-python.yml +2 -1
  257. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-ldap3-empty-password-python.yml +2 -1
  258. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-ldap3-hardcoded-secret-python.yml +2 -1
  259. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mariadb-empty-password-python.yml +2 -1
  260. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mariadb-hardcoded-secret-python.yml +2 -1
  261. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysql-empty-password-python.yml +2 -1
  262. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysql-hardcoded-secret-python.yml +2 -1
  263. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysqlclient-empty-password-python.yml +2 -1
  264. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysqlclient-hardcoded-secret-python.yml +2 -1
  265. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-neo4j-empty-password-python.yml +2 -1
  266. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-neo4j-hardcoded-secret-python.yml +2 -1
  267. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-mysql-empty-password-python.yml +2 -1
  268. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-mysql-hardcoded-secret-python.yml +2 -1
  269. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-pg-empty-password-python.yml +2 -1
  270. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-pg-hardcoded-secret-python.yml +2 -1
  271. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pg8000-empty-password-python.yml +2 -1
  272. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pg8000-hardcoded-secret-python.yml +2 -1
  273. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-psycopg2-empty-password-python.yml +2 -1
  274. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-psycopg2-hardcoded-secret-python.yml +2 -1
  275. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pyjwt-hardcoded-secret-python.yml +2 -1
  276. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymongo-empty-password-python.yml +2 -1
  277. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymongo-hardcoded-secret-python.yml +2 -1
  278. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymssql-empty-password-python.yml +2 -1
  279. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymssql-hardcoded-secret-python.yml +2 -1
  280. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymysql-empty-password-python.yml +2 -1
  281. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymysql-hardcoded-secret-python.yml +2 -1
  282. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-redis-empty-password-python.yml +2 -1
  283. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-redis-hardcoded-secret-python.yml +2 -1
  284. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-empty-password-python.yml +2 -1
  285. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-hardcoded-secret-python.yml +2 -1
  286. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-oauth-hardcoded-secret-python.yml +2 -1
  287. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-tormysql-empty-password-python.yml +2 -1
  288. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-tormysql-hardcoded-secret-python.yml +2 -1
  289. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-urllib3-hardcoded-secret-python.yml +2 -1
  290. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-webrepl-empty-password-python.yml +2 -1
  291. package/rules/ast-grep-rules/coderabbit/rules/python/security/python-webrepl-hardcoded-secret-python.yml +2 -1
  292. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/force-ssl-false-ruby.yml +2 -1
  293. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/hardcoded-http-auth-in-controller-ruby.yml +2 -1
  294. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/hardcoded-secret-rsa-passphrase-ruby.yml +2 -1
  295. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/insufficient-rsa-key-size-ruby.yml +2 -1
  296. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-aws-sdk-hardcoded-secret-ruby.yml +2 -1
  297. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-cassandra-empty-password-ruby.yml +2 -1
  298. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-cassandra-hardcoded-secret-ruby.yml +2 -1
  299. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-excon-hardcoded-secret-ruby.yml +2 -1
  300. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-faraday-hardcoded-secret-ruby.yml +2 -1
  301. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mongo-empty-password-ruby.yml +2 -1
  302. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mongo-hardcoded-secret-ruby.yml +2 -1
  303. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mysql2-empty-password-ruby.yml +2 -1
  304. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mysql2-hardcoded-secret-ruby.yml +2 -1
  305. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-octokit-hardcoded-secret-ruby.yml +2 -1
  306. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-pg-empty-password-ruby.yml +2 -1
  307. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-pg-hardcoded-secret-ruby.yml +2 -1
  308. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-redis-empty-password-ruby.yml +2 -1
  309. package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-redis-hardcoded-secret-ruby.yml +2 -1
  310. package/rules/ast-grep-rules/coderabbit/rules/rust/security/empty-password-rust.yml +2 -1
  311. package/rules/ast-grep-rules/coderabbit/rules/rust/security/hardcoded-password-rust.yml +2 -1
  312. package/rules/ast-grep-rules/coderabbit/rules/rust/security/postgres-empty-password-rust.yml +2 -1
  313. package/rules/ast-grep-rules/coderabbit/rules/rust/security/reqwest-accept-invalid-rust.yml +2 -1
  314. package/rules/ast-grep-rules/coderabbit/rules/rust/security/secrets-reqwest-hardcoded-auth-rust.yml +2 -1
  315. package/rules/ast-grep-rules/coderabbit/rules/rust/security/ssl-verify-none-rust.yml +2 -1
  316. package/rules/ast-grep-rules/coderabbit/rules/rust/security/tokio-postgres-empty-password-rust.yml +2 -1
  317. package/rules/ast-grep-rules/coderabbit/rules/rust/security/tokio-postgres-hardcoded-password-rust.yml +2 -1
  318. package/rules/ast-grep-rules/coderabbit/rules/scala/security/jwt-scala-hardcode-scala.yml +2 -1
  319. package/rules/ast-grep-rules/coderabbit/rules/scala/security/scala-jwt-hardcoded-secret-scala.yml +2 -1
  320. package/rules/ast-grep-rules/coderabbit/rules/swift/security/aes-hardcoded-secret-swift.yml +2 -1
  321. package/rules/ast-grep-rules/coderabbit/rules/swift/security/blowfish-hardcoded-secret-swift.yml +2 -1
  322. package/rules/ast-grep-rules/coderabbit/rules/swift/security/chacha20-hardcoded-secret-swift.yml +2 -1
  323. package/rules/ast-grep-rules/coderabbit/rules/swift/security/insecure-biometrics-swift.yml +2 -1
  324. package/rules/ast-grep-rules/coderabbit/rules/swift/security/rabbit-hardcoded-secret-swift.yml +2 -1
  325. package/rules/ast-grep-rules/coderabbit/rules/typescript/security/detect-angular-sce-disabled-typescript.yml +2 -1
  326. package/rules/ast-grep-rules/coderabbit/rules/typescript/security/express-session-hardcoded-secret-typescript.yml +2 -1
  327. package/rules/ast-grep-rules/coderabbit/rules/typescript/security/jwt-simple-noverify-typescript.yml +2 -1
  328. package/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-rsa-weak-key-typescript.yml +2 -1
  329. package/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-sequelize-empty-password-argument-typescript.yml +2 -1
  330. package/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-sequelize-hardcoded-secret-argument-typescript.yml +2 -1
  331. package/rules/ast-grep-rules/rule-schema.json +1 -1
  332. package/rules/ast-grep-rules/rules/c-no-malloc-free.yml +13 -12
  333. package/rules/ast-grep-rules/rules/cpp-no-malloc-free.yml +11 -10
  334. package/rules/ast-grep-rules/rules/cpp-no-printf.yml +10 -9
  335. package/rules/ast-grep-rules/rules/go-defer-func-call-antipattern.yml +14 -13
  336. package/rules/ast-grep-rules/rules/go-no-fmt-println.yml +14 -13
  337. package/rules/ast-grep-rules/rules/go-no-panic-in-lib.yml +20 -19
  338. package/rules/ast-grep-rules/rules/go-no-underscore-func-name.yml +14 -13
  339. package/rules/ast-grep-rules/rules/go-prefer-errors-is.yml +14 -13
  340. package/rules/ast-grep-rules/rules/go-prefer-string-builder.yml +19 -18
  341. package/rules/ast-grep-rules/rules/go-test-functions.yml +14 -13
  342. package/rules/ast-grep-rules/rules/hyphenated-svg-attribute.yml +10 -9
  343. package/rules/ast-grep-rules/rules/kotlin-no-lateinit.yml +12 -11
  344. package/rules/ast-grep-rules/rules/kotlin-no-nullable-boolean.yml +11 -10
  345. package/rules/ast-grep-rules/rules/kotlin-no-println.yml +15 -14
  346. package/rules/ast-grep-rules/rules/kotlin-no-unnecessary-let.yml +10 -9
  347. package/rules/ast-grep-rules/rules/kotlin-no-unsafe-cast.yml +10 -9
  348. package/rules/ast-grep-rules/rules/kotlin-no-var.yml +11 -10
  349. package/rules/ast-grep-rules/rules/kotlin-prefer-data-class.yml +10 -9
  350. package/rules/ast-grep-rules/rules/kotlin-prefer-is-empty.yml +10 -9
  351. package/rules/ast-grep-rules/rules/no-aws-access-key-literal.yml +1 -1
  352. package/rules/ast-grep-rules/rules/no-compile-call.yml +13 -12
  353. package/rules/ast-grep-rules/rules/no-flask-secret-key-literal.yml +1 -1
  354. package/rules/ast-grep-rules/rules/no-hardcoded-password.yml +1 -1
  355. package/rules/ast-grep-rules/rules/no-marshal-load.yml +12 -11
  356. package/rules/ast-grep-rules/rules/no-python-sql-string-concat.yml +12 -11
  357. package/rules/ast-grep-rules/rules/no-requests-verify-false.yml +13 -12
  358. package/rules/ast-grep-rules/rules/no-secret-in-env-var-name.yml +1 -1
  359. package/rules/ast-grep-rules/rules/python-optional-type.yml +9 -8
  360. package/rules/ast-grep-rules/rules/reducible-list-comprehension.yml +8 -7
  361. package/rules/ast-grep-rules/rules/ruby-detect-path-traversal.yml +14 -13
  362. package/rules/ast-grep-rules/rules/ruby-symbol-to-proc-candidate.yml +8 -7
  363. package/rules/ast-grep-rules/rules/rust-no-chars-enumerate.yml +9 -8
  364. package/rules/ast-grep-rules/rules-disabled/gorm-unbounded-preload.yml +7 -6
  365. package/rules/ast-grep-rules/rules-disabled/shadow-err-variable.yml +6 -5
  366. package/scripts/analyze-pi-lens-logs.mjs +262 -3
  367. package/scripts/lib/latency-log-phases.mjs +125 -0
  368. package/dist/chunk-3QWVOBZJ.js +0 -73
  369. package/dist/chunk-BDR5MEZY.js +0 -25
  370. package/dist/chunk-DBS736MA.js +0 -57
  371. package/dist/chunk-I74RQGKA.js +0 -88
  372. package/dist/chunk-IK4YS3KC.js +0 -25
  373. package/dist/chunk-JKOZ2Z4U.js +0 -20
  374. package/dist/chunk-TQHOKMVZ.js +0 -28
  375. package/dist/chunk-VS2L7QDI.js +0 -25
  376. package/dist/chunk-ZPFLHB3R.js +0 -28
package/CHANGELOG-USER.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # User changelog
2
2
 
3
+ ## [4.4.11] - 2026-11-09
4
+
5
+ 32 fixes, 2 other changes.
6
+
7
+ Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.11
8
+
3
9
  ## [4.4.10] - 2026-11-06
4
10
 
5
11
  2 features, 7 fixes, 1 other change.
@@ -23,9 +29,3 @@ Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.8
23
29
  2 features, 21 fixes.
24
30
 
25
31
  Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.7
26
-
27
- ## [4.4.6] - 2026-10-27
28
-
29
- 6 fixes, 2 other changes.
30
-
31
- Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.6
package/CHANGELOG.md CHANGED
@@ -16,6 +16,188 @@ All notable changes to pi-lens will be documented in this file.
16
16
 
17
17
  ### Security
18
18
 
19
+ ## [4.4.11] - 2026-11-09
20
+
21
+ ### Changed
22
+
23
+ #### Configuration and flags
24
+
25
+ - **Numeric knobs now treat 0 as a value and blank as unset.** A blank `PI_LENS_*` number now falls back to its default, and an explicit `0` disables the knobs documented as "0 disables", such as `PI_LENS_LSP_TOUCH_DEBOUNCE_MS` and `PI_LENS_LSP_EARLY_UNBLOCK_GRACE_MS`; `PI_LENS_LSP_NAV_CLIENT_WAIT_MS` keeps its 1500 ms default, and an explicit `0` also waits 1500 ms. A non-numeric or negative value also falls back to the default. The switches `PI_LENS_REVERSE_DEPS_REUSE`, `PI_LENS_GRAPH_SEQ_FASTPATH` and `PI_LENS_READ_GUARD_LOG_SNAPSHOTS` now read only the exact `0` or `1`, so `false` and `off` stop switching them off. `PI_LENS_SNAPSHOT_PERSIST_SYNC` accepted `1` and `true` before and now accepts only `1`, so `true` stops switching it to sync persistence. (refs #5419)
26
+
27
+ #### Hosts and integrations
28
+
29
+ - **`path` is now the only file argument four MCP tools advertise.** `pilens_module_report`, `pilens_read_symbol`, `pilens_read_enclosing` and `pilens_effective_config` take their schema and description from the pi tool definition, which names `path` alone, so a model reading the tool list is never sent to `file` or `filePath`. A `file`-only call to the three read tools is now refused as a missing `path`; `pilens_effective_config` still answers one, with the ignored-argument notice. `pilens_analyze`, `pilens_diagnostics` and `pilens_lsp_navigation` keep both aliases. (refs #5138)
30
+
31
+ ### Fixed
32
+
33
+ #### Language servers
34
+
35
+ - **A session rooted at `/` keeps its `lsp.disabledServers` denial.** The LSP session-root registry answered "no config" for every file under a root whose path is the filesystem root (a container's `WORKDIR /`), so a language server the operator had turned off could still attach. It now uses the containment check the rest of that module already used. Four other inline containment checks (C/C++ include resolution, the bundled query root, the LSP root-walk stop directory and the live-peer root match) now go through the shared path helpers. Their answers change only where the old inline check was wrong: a root at `/`, Windows drive and UNC roots, and case-insensitive spellings. (refs #4907)
36
+
37
+ #### Blockers and sessions
38
+
39
+ - **A dismissed cascade error stops coming back.** Mark a neighbour's reported error as a false positive and the "still unresolved until a cascade or an edit shows them gone" line drops it on the next turn, instead of repeating at blocker tier until some later check re-reads that file. (refs #5344)
40
+
41
+ - **A mark copied from a cascade line now hides that error.** The cascade line
42
+ prints only the first line of an error message, cut at 100 characters, so a
43
+ false-positive or suppress mark spelled from what the agent was shown hid
44
+ nothing for a long or multiline error; the error kept reporting every turn.
45
+ A mark that quotes text two live errors share still hides neither, so naming
46
+ one message exactly drops that one alone. (refs #5367)
47
+
48
+ - **Cross-process autoformat nudges keep every file.** Two writes landing in
49
+ the same tick previously dropped one batch, so an agent could miss the
50
+ "these files were autoformatted" note about one of them. (refs #5377)
51
+
52
+ - **An LSP rename no longer costs an extra read after /tree or /fork.** On OpenAI Responses sessions the tool-call id carries a pipe, and the write record of an `lsp_navigation` rename or code action kept that raw id, so a branch move dropped it. The record now keeps the same sanitized id the branch holds, and the next edit of the renamed file is allowed. (refs #5405)
53
+
54
+ #### Runners and scanners
55
+
56
+ - **Linters now find a project venv tool once pi trusts the project.** A
57
+ linter that was skipped because pi had not yet trusted the project now
58
+ checks again after trust is granted, so a project `.venv` ruff runs in the
59
+ same session. In a trusted project, the project's own `.venv` or
60
+ `node_modules/.bin` copy of a linter now runs ahead of pi-lens's managed
61
+ copy and the one on PATH; a project copy that cannot start falls back to
62
+ them. Twelve linters (yamllint, markdownlint, stylelint and others) also
63
+ stop re-running their version check on every edit when the tool is present
64
+ but broken. (refs #5410)
65
+
66
+ - **A linter that hangs now costs one timeout per session, not one per edit.**
67
+ Any linter whose run times out is skipped for the rest of the session
68
+ before it spawns or checks its version again, and the skip is reported
69
+ once. A slow linter that runs after the edit no longer starts a second copy
70
+ while one is still running: edits made meanwhile get one rerun per file
71
+ once the first run ends. (refs #5413)
72
+
73
+ - **A truncated gitleaks or trivy report now reports a failed scan, not a clean one.** A report the scanner could not read used to read as "no secrets or vulnerabilities found"; it now leaves a failed result and a `security-scan-report-failed` health row that names the unreadable report, as jscpd and opengrep already did. An empty report file still reads as an empty run. (refs #5447)
74
+
75
+ - **Autofix now skips a tool that timed out for the rest of the session.** Later edits no longer wait out another 30 second budget on that tool.
76
+ (refs #5376)
77
+
78
+ - **Config-gated linters now agree on whether your project has config.** The detekt runner now finds a config at the repo root from a Gradle module, and tflint receives a `.tflint.hcl` that sits in your home directory. Black and ruff config is read from TOML table headings and requirement names, so a commented `[tool.ruff]` or a `flake8-black` entry no longer counts. The `effective_config` tool reports `no-project-config` for a linter that declares it needs project config and would skip (eslint, mypy, detekt, golangci-lint, phpstan, credo, vale), and the SQL lint policy no longer claims it needs config. (refs #5408)
79
+
80
+ - **A failed jscpd run is recorded, and an opengrep run with no report is empty.** Opengrep and jscpd each ran their
81
+ own copy of the report file rules, so the same run read differently per
82
+ scanner. An opengrep scan that exited 0 and wrote no report read as a
83
+ failure, and a jscpd run that never started, or wrote a report it could not
84
+ read, came back empty and left no record. All four scanners now share one
85
+ verdict: a clean run with no report is an empty scan that claims no files,
86
+ and a missing or unreadable report in any other case is a failure with its
87
+ reason on the record; a readable report still goes to the parser. (refs #5411)
88
+
89
+ - **Unreadable output and timeouts now read the same across linters.** A nonzero exit with output its parser cannot parse at all is a parse error for vale, SwiftLint, spellcheck, taplo and detekt, as it already was for ruff, and a nonzero prisma exit that printed nothing is a skip. A timeout in helm or clippy is a run that did not finish, as it is for SwiftLint. For vale, SwiftLint, spellcheck, taplo and detekt, a valid report that names only other files still reads clean. Ruff, credo and shellcheck no longer lose their findings to a warning printed on stderr, and opengrep reads a complete report whatever its exit status. (refs #5411)
90
+
91
+ - **Information-level findings now count as advisory warnings on every path.** Pyright information findings were warnings through the CLI and `none` through the language server, so the copy the dispatcher kept depended on which lane answered. A finding with no rule also took its identity from its line alone, so a second finding on the same line could drop out of the report. (refs #5412)
92
+
93
+ - **A new unused variable, unused import or undefined name now blocks whichever linter reports it.** The same finding from two tools is listed once, and a disabled rule or a pre-existing finding in one tool no longer hides or blocks another tool's copy. (refs #5416)
94
+
95
+ - **A fixer that rewrites a file and then exits nonzero is now recorded as a change.** The autofix and formatter paths compare the bytes, not the exit code, so the rewritten file is refreshed and resynced to the language server. `ast_grep_replace`, language-server workspace edits and `lens_diagnostic_mark` refuse files outside the session's writable roots and record the files an interrupted `ast_grep_replace` already rewrote. Under `no-autofix`, `ast_grep_replace` previews but refuses `apply: true`, and a language-server rename that touches a vendor path such as `node_modules` is refused whole. (refs #5417)
96
+
97
+ - **`.mts` and `.cts` files now count as source.** The startup source count, the duplicate-code (jscpd) re-scan and walk gate, and the review-graph module walk each kept a hand-written extension list that left out ES-module and CommonJS-module TypeScript; they now answer through the language registry's JS/TS source check. `.mjs` and `.cjs` files also now count at the startup file-limit count, in the review-graph walk and at the circular-dependency root gate. Circular-dependency scanning of `.mts` and `.cts` still waits on madge reading those extensions. (refs #5446)
98
+
99
+ #### Rules
100
+
101
+ - **The ast-grep rules pi-lens dispatches load on ast-grep 0.51.1 and later.** Those versions refuse a rule file with a top-level key outside the rule schema, which stopped the whole rule set from loading. The 218 rules that carried `tags`, `examples`, `has_fix` or the vendored CodeRabbit `ast-grep-essentials` marker at top level now keep them under `metadata:`, and what each rule matches is unchanged. (refs #5424)
102
+
103
+ #### Tools and reports
104
+
105
+ - **A mark on a finding's own file now hides it in cached reports.** A chart-level finding recorded under the edited file's session record (helm-lint reporting `Chart.yaml`) honored marks made on the edited file's path and ignored its own; `lens_diagnostics mode=all`/`delta` and the footer's tags now anchor on the file each finding names. A cited file that moved after the finding was observed, or that sits outside the project or cannot be read, no longer suppresses that row. (refs #5044)
106
+
107
+ - **Esc now stops the child processes a pi-lens tool call started.** `ast_grep_outline` and `ast_grep_replace` kill their ast-grep run when the call is aborted instead of running it to the end. An aborted `ast_grep_replace` apply changes no file when the abort lands before the write starts, and finishes the write when it lands during it. Tool installs and shared availability checks still run to completion. (refs #5097)
108
+
109
+ - **`symbol_search` now lists the files that a term-less filter matches.** A call with `paths`, `lang`, or an inline `lang:`, `file:` or `ext:` filter and no search terms lists the matching files instead of answering that nothing matched. A call with neither terms nor scope is now an error that says so, on the pi tool and over MCP alike. An unknown `lang` value is refused with the accepted file kinds and language ids, even when no term has hits or the index is still building. Inline `lang:` also accepts language ids such as `typescript` and `dockerfile`, and `lang:css`, `lang:json` and `lang:terraform` still match `.scss`, `.jsonc` and `.tfvars` files. (refs #5135)
110
+
111
+ - **A file no check completed on is no longer reported as clean.** `lens_diagnostics` now names such files as not checked instead of opening with "No issues ✓", the footer stops counting kinds nothing can check, and `pi-lens-analyze` and `pilens_analyze` print the reason instead of exiting silent. The default cold hook pass over TypeScript now prints a not-checked line, because it runs without a language server. One wording now covers a file no language server handles, and the mode=full sweep names an enabled opt-in server as not run. (refs #5287)
112
+
113
+ - **A second distinct warning is no longer dropped.** Two notices whose text shared their first 200 characters were treated as one event, so the second was never shown; a long checkout, fixture or `TMPDIR` path made that likely, and the shown notice stays the same length as before. (refs #5359)
114
+
115
+ - **A `paths` glob now finds the same files in every tool.** `paths: ["src/**/*.ts"]` searched the workspace in `symbol_search`, reached the ast-grep CLI as a file name and answered "No matches found", and on `source=lsp` reported `path not found`. A glob now expands once against the call's own root. A path that exists is always a literal, so `app/[id]/page.tsx` keeps working. A glob that matches nothing says `no file matches`, one rooted outside the workspace is refused, and an entry starting with `!` is refused. (refs #5371)
116
+
117
+ - **Tool view and maxLines parameters now answer the same on pi and MCP.** `view:"json"` returns JSON on `module_report`, `project_report` accepts the known JSON preset names (`json`, `summary-json`, `full-json`) as its JSON hatch, and `read_enclosing` clamps `maxLines` to a floored minimum of 1 in the engine, so pi and MCP report the same number.
118
+ (refs #5372)
119
+
120
+ - **Every file a `mv -t` move renames stays tracked.** `mv -t DIR a b` and `mv --target-directory=DIR a b` reported only the first moved file, so a later edit of the others was refused as a file never read and the paths they moved to were not recorded as written; both argument orders now report every source and every destination. (refs #5378)
121
+
122
+ - **The performance report no longer ranks waiting time as slow work.** Phases that record how long ago something happened, such as a document drift age or the time since process start, now write that value as `ageMs` and are left out of the slowest-phase ranking, including in older logs. (refs #5379)
123
+
124
+ - **`pilens_health` now gives offline zizmor scans and failed PowerShell runs their own names.** Two report groups each mixed two unrelated causes: zizmor running without a GitHub token shared a group with a notice the terminal mode could not show, and a refused grammar download shared one with a blocked PowerShell analysis run. Each cause has its own name now, so the group a reader sees says which one happened. Rows written before the split keep their earlier names and still appear. (refs #5400)
125
+
126
+ - **Three successful edits to one file no longer warn as thrashing.** The 🔴 THRASHING line means the same call keeps repeating with no progress, and it now checks the call itself: a successful call that ran with the same arguments as the call before it counts as no progress. Edits that each change the file, and reads at different offsets, are progress, so a working sequence stays quiet while identical successful retries still warn. (refs #5429)
127
+
128
+ - **A stuck retry loop now shows the THRASHING warning.** Repeating the same failing edit three times renders 🔴 THRASHING on that failing result, instead of only when a later retry happens to succeed. (refs #5434)
129
+
130
+ #### Configuration and flags
131
+
132
+ - **A session started in a package directory keeps the repo root's project settings.**
133
+ `.pi-lens.json` layers upward field by field now: a package config that sets
134
+ one key no longer drops the root's `autofix.enabled`, `maxProjectFiles`,
135
+ `tools.*.enabled`, `trivy.enabled` or any other field, and the nearest file
136
+ still wins each key it sets. The turn-off lists (`rules.<id>.disable`,
137
+ `lsp.disabledServers`, `dispatch.disabledRunners`) merge as the union of
138
+ every file, so a nested config can add a denial but never re-enable one.
139
+ The layering stops at the git root: a `.pi-lens.json` in a folder above the
140
+ repository is never merged in. (refs #5291)
141
+
142
+ #### Install and updates
143
+
144
+ - **A failed `which` or `where` no longer marks pnpm, yarn, bun, npm or Java as absent.** The package-manager and Java probes now read a finder that could not spawn (EACCES, EMFILE) as a transient rejection and re-probe after the cooldown, as the formatter probe already did; before, one such failure latched the tool as not installed until the next session. (refs #4907)
145
+
146
+ #### Hosts and integrations
147
+
148
+ - **The deferred-tools log field now states how the host sends this model's tools.**
149
+ The `tool_set_mutation` row in `latency.log` reported that capability as
150
+ false on every supported pi host, because it read a compat flag only the
151
+ long-unsupported pi 0.80.10 build shipped. It now reports true exactly when
152
+ pi's own transport leaves the request's tool list empty or partial — the
153
+ Responses-family tool-search gate, the Responses-family additional-tools
154
+ gate, the Anthropic mid-conversation tool-change gate, and the
155
+ chat-completions tool-additions gate — and false when the host resends the
156
+ full tool list on every turn. (refs #5361)
157
+
158
+ ### Internal
159
+
160
+ <details>
161
+ <summary>18 internal changes: tests, CI, tooling, and refactors</summary>
162
+
163
+ - The two refusal vocabularies in `clients/language-registry.ts` now sort with `compareOrdinal`, clearing master's SonarCloud S2871 red; the order of today's kinds and language ids is unchanged (refs #5135).
164
+
165
+ - Ledger-subject assertions in the #4530 trust suite, the #4760 auxiliary-root decline, the bare-`tsc` trust refusal, the pi-agent staging-root decline, and the two #4535 disk-change rows now compare the `degradation-ledger`'s bounded subject instead of the raw `kind:path` key, so a long checkout or TMPDIR no longer reddens them in the pre-push hook (refs #5246).
166
+
167
+ - The release roll (`release-roll.sh`) now runs `node scripts/rollup-changelog.mjs --duplicates <version>` and adds its checklist of likely duplicate entry pairs (one section and area, similar headlines or shared code spans) to the release PR body; it edits nothing. A release can also carry `.changelog/highlights/<version>.md`, which `changelog-extract.mjs --summary` puts on top of the release body (refs #5351).
168
+
169
+ - Retired ci.yml's `heavy-gate` job (`Heavy advisory gate (advisory)`), `scripts/ci-heavy-gate.mjs` and ci-verdict's deferred-row list. No job had waited on the gate since #5275, and it was never a required check; an older head's gate row still classifies as advisory. (refs #3801)
170
+
171
+ - CI npm installs retry a transient registry 5xx: every workflow that reaches the npm registry sets `npm_config_fetch_retries` and `npm_config_fetch_retry_maxtimeout` once at its top level (install-smoke adds the `pnpm_config_` pair, which pnpm reads instead), and the four `oven-sh/setup-bun` steps in install-smoke now install `bun@latest` from the npm registry. The fetch gate fails closed on a workflow that installs from npm without the env, on an install step it cannot classify, on a command word it cannot resolve, on any `npm_config_` or `pnpm_config_` override in any case, and on any `uses:` action with no recorded verdict (refs #5420).
172
+
173
+ - Restores the DegradationKind doc blocks above their own kinds (misplaced by the #2671 sort), pins that each kind's doc names it, and corrects the sha256 comments, the `PI_LENS_LSP_NAV_REQUEST_TIMEOUT_MS` reference row and the shape verdicts (refs #5401).
174
+
175
+ - The tmp-fixture-hygiene owner-population case no longer asserts on directories it creates. It created `<prefix>population-` for every row of `tests/config/tmp-fixture-hygiene-baseline.json` and checked that the census saw each prefix, so the setup supplied the value the assertion read. A row whose producer had been deleted always passed. Liveness now comes from the owner's source, and a row with no live producer reds with "remove the admission". The census's owner index reads files through the same scan. (refs #5072)
176
+
177
+ - `scripts/analyze-pi-lens-logs.mjs` now reports a per-(tool, phase) and per-runner latency distribution in both the text and `--json` outputs. Percentiles are the clamped floor-rank index `clamp(floor(p * n), 0, n - 1)` over the ascending sample, so every reported number is an observed row and, for any group of 20 rows or fewer, p95 equals max. Each group carries count, p50, p95, max and its share of the summed recorded phase spans (nested spans overlap); age rows (the shared span-or-age rule of #5379) are left out of the samples, parent `total` rows and runner skip or pending rows are left out and counted, and a section that truncates says "showing N of M groups". `--limit` below 1 is refused at parse. A ranking of performance work can therefore be read from real sessions' `latency.log` instead of only from the synthetic hot-path sampler (refs #5263).
178
+
179
+ - One generic packaging gate now reads the published file list: `packedImportResolutionViolations` (`scripts/lib/packed-layout.mjs`) checks every relative `import`, dynamic `import()` and `require` in each packed `.js`/`.mjs`/`.cjs` file against that same list, and `tests/packaging-pack-manifest.test.ts` runs it over the real `npm pack` tarball. A published script that imports a file `files[]` omits fails in the Unit tests shards instead of CI's install leg, so the per-file pins it subsumes (#1926, #2626, #3409, #4314, #4789) are deleted. (refs #5365)
180
+
181
+ - CI downloads of the pinned release binaries and the TLA+ jar go through one fetch-verified helper: restored from actions/cache by tool, version and sha256, fetched with `--fail` and retries on a miss, and verified before use. A GitHub 504 now names an HTTP error instead of a checksum mismatch. The helper deletes a rejected cache file before it downloads. A governance test refuses any other CI network fetch that has no named admission (refs #5409).
182
+
183
+ - **The tool registries and the docs now name the same tools.** A parity guard compares the runner registry, `TOOL_EXECUTION_POLICY`, `TOOL_COMMAND_SPECS`, `AUTO_INSTALLABLE_DEFAULT_FORMATTERS` and the installer table with each other, and with the docs lists that name runners and autofix tools. It reds a dangling id, a policy row for a tool no registry has, and a docs name that is not a registered runner. The drift it found was live: two command specs pointed their install pointer at installer entries that never existed, `typstyle` was an auto-installable formatter with no policy row, and `typos`, `phpstan` and `detekt` were probed with neither an installer entry nor a written reason. `docs/language-coverage.md` named `ts-lsp`, `type-safety` and `similarity` as JS/TS dispatch runners, and `docs/features.md` called the Dart autofix `dart-fix`. `TOOL_EXECUTION_POLICY`'s `gate` became `configEligibility`, so the word `gate` means only the per-file policy gate it used to disagree with. The LSP/linter coverage guard's hand list of smart-default linters is derived from that table now, so a new smart-default runner lands in the guard without anyone editing a list. (refs #5418)
184
+
185
+ - The four path-sensitive test files (`effective-config`, `lens-diagnostic-mark`, `lens-diagnostics`, `lsp-navigation`) now build their temp roots by realpath at each fixture site, as `setupTestEnvironment` does, so a symlinked `TMPDIR` (macOS `/var` to `/private/var`) passes them the way the real root does (refs #5439).
186
+
187
+ - Routes the last raw separator fold in `index.ts` (the `lens-health` sample path) through `toPosix`, and empties the shape-A census pin in `tests/config/path-key-fold-sweep.test.ts`. The output is byte-identical (refs #5401).
188
+
189
+ - **A `symbol_search` query-metrics instrument measures the D8 acceptance signal over recorded pi sessions (refs #5138)** — `scripts/symbol-search-query-metrics.mjs` reports `emptyRate`, `listedReadRate`, `repeatReadRate`, `drilldownRate` and `unscannableRate` per time window, so each PR in the #5138 sequence can quote a before/after from the append-only session JSONL instead of "metric absent". No runtime path changes; no CI gate.
190
+
191
+ - Twelve production sites that spelled their own whole-content sha256 of a byte buffer (partial-edit records, review-graph content fingerprints, fix-run restore, read-guard edit snapshots, observed and opaque mutation scans, the opengrep pack refresh, the archive installer integrity check and the grammar pin comparison) now call `hashContentBytes` / `hashFileBytes` in `clients/content-stamp.ts`; digests are unchanged (refs #4907).
192
+
193
+ - **The dispatcher records a runner's tier observation in one place (refs #4907)** — the collect-later run and the inline run in `clients/dispatch/dispatcher.ts` shared a spelled-twice block (latency observation, `runner_collect_later_tier_flip` row, `runner-collect-later` count); one local `observeRunnerTier` now does it. Rows, counts and tiers are unchanged for every probed project root.
194
+
195
+ - **The tree-walk census now follows helper modules.** A test that pays a whole-tree walk inside an imported `tests/` helper kept vitest's 5 s default and timed out on the Windows unit leg. The census now derives each helper module's verdicts from its source, fails an unresolvable call closed as a walk, and reads the `it(title, { timeout }, fn)` form; on one tree it counts 399 members where it counted 259, all budgeted (#4967).
196
+
197
+ - **Four fast-check tests turn the 2026-11-07 property-based probes into regression tests (refs #3995)** — a two-session model for the per-repository commit gate and the per-session change-log stamp (#4952, #4953), a generated-K session-root eviction property (#4734), a generated venv-install property (#5009), and a concurrent-publisher property for the recent-touches record (#5385). Each runs a bounded `numRuns` under seed 5370 and is red on its bug's parent commit. No runtime path changes.
198
+
199
+ </details>
200
+
19
201
  ## [4.4.10] - 2026-11-06
20
202
 
21
203
  ### Added
@@ -1,10 +1,10 @@
1
1
  import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
2
  import {
3
3
  resolveOpengrepRulePack
4
- } from "./chunk-SG2JQ2YP.js";
4
+ } from "./chunk-KNP4ENFT.js";
5
5
  import {
6
6
  findLocalToolConfig
7
- } from "./chunk-CB7PEVOJ.js";
7
+ } from "./chunk-WLD6BGON.js";
8
8
 
9
9
  // dist/clients/opengrep-config.js
10
10
  import * as path from "node:path";
@@ -2,7 +2,7 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
2
2
  import {
3
3
  collectSourceFiles,
4
4
  collectSourceFilesAsync
5
- } from "./chunk-IDCTDKIA.js";
5
+ } from "./chunk-3NVGBFJS.js";
6
6
 
7
7
  // dist/clients/scan-utils.js
8
8
  function getSourceFiles(dir, _isTsProject) {
@@ -11,11 +11,11 @@ import {
11
11
  getLSPService,
12
12
  isLspRequestTimeoutError,
13
13
  rankFilesByReverseDependencyCentrality
14
- } from "./chunk-6MDM5MQT.js";
14
+ } from "./chunk-QBUSONNE.js";
15
15
  import {
16
16
  notePersistWorkerMessageFault,
17
17
  readWorkerHeapStatistics
18
- } from "./chunk-BRESRQBE.js";
18
+ } from "./chunk-HTUG7ZFK.js";
19
19
  import {
20
20
  buildQualifiedName,
21
21
  findOwnerName
@@ -31,48 +31,52 @@ import {
31
31
  resolveProjectReferenceImport,
32
32
  resolveWorkspacePackageImport,
33
33
  symbolExtractionGrammar
34
- } from "./chunk-QL37SGTS.js";
34
+ } from "./chunk-532X3OCZ.js";
35
35
  import {
36
36
  classifyTreeSitterWasmError,
37
37
  getSharedTreeSitterClient,
38
38
  logTreeSitterCacheStats,
39
39
  withTreeSitterRoot
40
- } from "./chunk-CTB5BAJI.js";
40
+ } from "./chunk-OC4ZGVMH.js";
41
41
  import {
42
42
  getReviewGraphMaxFilesDerived
43
- } from "./chunk-BGLS5SDN.js";
43
+ } from "./chunk-IT7MFVGP.js";
44
44
  import {
45
45
  withBudget
46
- } from "./chunk-WAA63ZJV.js";
46
+ } from "./chunk-3HZ6MNB2.js";
47
47
  import {
48
48
  readGzipStageWorkerResult,
49
49
  reapStageFile
50
50
  } from "./chunk-IJYGIDF4.js";
51
51
  import {
52
52
  collectSourceFilesWithBudgetAsync
53
- } from "./chunk-IDCTDKIA.js";
53
+ } from "./chunk-3NVGBFJS.js";
54
54
  import {
55
55
  collectUntrackedIgnoredIds,
56
56
  createGitIdentityResolver,
57
57
  getProjectDataDir,
58
58
  isStaleStageFile,
59
59
  resolveGitIdentity
60
- } from "./chunk-H65TYP6V.js";
60
+ } from "./chunk-DNB4ZQGN.js";
61
61
  import {
62
62
  KIND_EXTENSIONS,
63
63
  detectFileKind
64
- } from "./chunk-CZCAZVTD.js";
64
+ } from "./chunk-SRXYSLMW.js";
65
65
  import {
66
66
  detectFileRole
67
- } from "./chunk-FOEPIX76.js";
67
+ } from "./chunk-6EIV3H7O.js";
68
+ import {
69
+ hashContentBytes,
70
+ hashFileBytes
71
+ } from "./chunk-CIA7X2PZ.js";
68
72
  import {
69
73
  writeFileAtomic
70
- } from "./chunk-7WJ55KBN.js";
74
+ } from "./chunk-43KD3PPM.js";
71
75
  import {
72
76
  compareOrdinal,
73
77
  escapeRegExp,
74
78
  incrementDegradationCount
75
- } from "./chunk-3FRI5H4T.js";
79
+ } from "./chunk-AGEQRJ5A.js";
76
80
  import {
77
81
  createNdjsonLogger,
78
82
  getGlobalPiLensLogDir,
@@ -80,11 +84,12 @@ import {
80
84
  getTurnId,
81
85
  isTestMode,
82
86
  lazyEnvNumber,
83
- logLatency
84
- } from "./chunk-VCRVNLE7.js";
87
+ logLatency,
88
+ nonNegativeIntEnv
89
+ } from "./chunk-K2GV34T2.js";
85
90
  import {
86
91
  FactStore
87
- } from "./chunk-A5TEJZGJ.js";
92
+ } from "./chunk-O6LCSHHI.js";
88
93
  import {
89
94
  BoundedFifoMap,
90
95
  BoundedLruCache,
@@ -93,9 +98,10 @@ import {
93
98
  normalizeFilePath,
94
99
  normalizeMapKey,
95
100
  realpathOrResolve,
101
+ relativeInside,
96
102
  toPosix,
97
103
  toProjectRelativePath
98
- } from "./chunk-CB7PEVOJ.js";
104
+ } from "./chunk-WLD6BGON.js";
99
105
 
100
106
  // dist/clients/review-graph/builder.js
101
107
  import { createHash as createHash2 } from "node:crypto";
@@ -552,8 +558,7 @@ function graphLogMetadata(graph, options = {}) {
552
558
  return makeReviewGraphBuildMetadata(graph, options);
553
559
  }
554
560
  function seqFastpathEnabled() {
555
- const raw = process.env.PI_LENS_GRAPH_SEQ_FASTPATH;
556
- return raw !== "0" && raw !== "false";
561
+ return process.env.PI_LENS_GRAPH_SEQ_FASTPATH !== "0";
557
562
  }
558
563
  var _lastGraphBuildInfo = {
559
564
  reused: false,
@@ -919,7 +924,7 @@ function sourceSignatureFromMap(signatures) {
919
924
  }
920
925
  function contentHashEntry(file) {
921
926
  try {
922
- return createHash2("sha256").update(fs2.readFileSync(file)).digest("hex");
927
+ return hashFileBytes(file);
923
928
  } catch {
924
929
  return "missing";
925
930
  }
@@ -1335,8 +1340,7 @@ function isReviewGraphMigrationNeeded(cwd) {
1335
1340
  var GRAPH_PERSIST_DEBOUNCE_MS_DEFAULT = 1500;
1336
1341
  var GRAPH_PERSIST_MAX_ELEMENTS_DEFAULT = 5e5;
1337
1342
  function graphPersistDebounceMs() {
1338
- const raw = Number(process.env.PI_LENS_GRAPH_PERSIST_DEBOUNCE_MS);
1339
- return Number.isFinite(raw) && raw >= 0 ? raw : GRAPH_PERSIST_DEBOUNCE_MS_DEFAULT;
1343
+ return nonNegativeIntEnv("PI_LENS_GRAPH_PERSIST_DEBOUNCE_MS", GRAPH_PERSIST_DEBOUNCE_MS_DEFAULT);
1340
1344
  }
1341
1345
  function graphPersistMaxElements() {
1342
1346
  const raw = Number(process.env.PI_LENS_GRAPH_PERSIST_MAX_ELEMENTS);
@@ -1995,8 +1999,7 @@ function graphCheckpointEveryFiles() {
1995
1999
  return Number.isFinite(raw) && raw > 0 ? Math.floor(raw) : GRAPH_CHECKPOINT_EVERY_FILES_DEFAULT;
1996
2000
  }
1997
2001
  function graphCheckpointMinIntervalMs() {
1998
- const raw = Number(process.env.PI_LENS_GRAPH_CHECKPOINT_MIN_INTERVAL_MS);
1999
- return Number.isFinite(raw) && raw >= 0 ? raw : GRAPH_CHECKPOINT_MIN_INTERVAL_MS_DEFAULT;
2002
+ return nonNegativeIntEnv("PI_LENS_GRAPH_CHECKPOINT_MIN_INTERVAL_MS", GRAPH_CHECKPOINT_MIN_INTERVAL_MS_DEFAULT);
2000
2003
  }
2001
2004
  function reviewGraphCheckpointPath(cwd) {
2002
2005
  return path2.join(getProjectDataDir(cwd), "cache", GRAPH_CHECKPOINT_FILENAME);
@@ -2485,8 +2488,8 @@ async function ensureReviewGraphFacts(filePath, cwd, facts, contentOverride) {
2485
2488
  }
2486
2489
  try {
2487
2490
  const [{ importFactProvider }, { functionFactProvider }] = await Promise.all([
2488
- import("./chunk-ZPFLHB3R.js"),
2489
- import("./chunk-TQHOKMVZ.js")
2491
+ import("./chunk-R5BNSOIV.js"),
2492
+ import("./chunk-RV5VX2XW.js")
2490
2493
  ]);
2491
2494
  await importFactProvider.run(ctx, facts);
2492
2495
  await functionFactProvider.run(ctx, facts);
@@ -2999,7 +3002,7 @@ function resolveCxxInclude(cwd, filePath, source) {
2999
3002
  ];
3000
3003
  const root = path2.resolve(cwd);
3001
3004
  for (const candidate of candidates) {
3002
- if (!candidate.startsWith(root + path2.sep) && candidate !== root)
3005
+ if (relativeInside(root, candidate) === void 0)
3003
3006
  continue;
3004
3007
  if (fs2.existsSync(candidate) && detectFileKind(candidate) === "cxx") {
3005
3008
  return normalizeMapKey(candidate);
@@ -3833,7 +3836,7 @@ async function _doBuildGraph(cwd, changedFiles, facts, seqHint, buildId) {
3833
3836
  try {
3834
3837
  const bytes = fs2.readFileSync(file);
3835
3838
  content = bytes.toString("utf-8");
3836
- fileHashes.set(file, createHash2("sha256").update(bytes).digest("hex"));
3839
+ fileHashes.set(file, hashContentBytes(bytes));
3837
3840
  } catch {
3838
3841
  content = null;
3839
3842
  fileHashes.set(file, "missing");
@@ -4183,6 +4186,7 @@ export {
4183
4186
  _resetReviewGraphExtractorCacheForTests,
4184
4187
  _resetReviewGraphSourcePathMemoForTests,
4185
4188
  graphWasmTrapDetail,
4189
+ seqFastpathEnabled,
4186
4190
  getGraphBuildInfoForGraph,
4187
4191
  graphBuildInfoIsTrustworthy,
4188
4192
  clearGraphCache,
@@ -4212,10 +4216,12 @@ export {
4212
4216
  getGraphSourceFiles,
4213
4217
  isReviewGraphMigrationNeeded,
4214
4218
  GRAPH_PERSIST_MAX_ELEMENTS_DEFAULT,
4219
+ graphPersistDebounceMs,
4215
4220
  refreshReviewGraphPersistWorkerHeapStatistics,
4216
4221
  getReviewGraphPersistWorkerHeapStatistics,
4217
4222
  flushReviewGraphPersistsForExitForTests,
4218
4223
  _resetReviewGraphStageSweepForTests,
4224
+ graphCheckpointMinIntervalMs,
4219
4225
  _readReviewGraphCheckpointForTests,
4220
4226
  flushReviewGraphPersistsForTests,
4221
4227
  waitForReviewGraphPersistsForTests,
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
2
  import {
3
3
  recordDegradationOnce
4
- } from "./chunk-3FRI5H4T.js";
4
+ } from "./chunk-AGEQRJ5A.js";
5
5
 
6
6
  // dist/clients/deadline-utils.js
7
7
  function combineAbortSignals(...signals) {
@@ -3,28 +3,28 @@ import {
3
3
  shouldRecurseIntoDir,
4
4
  walkTreeRecursiveSync,
5
5
  walkTreeStackAsync
6
- } from "./chunk-IL6PIV33.js";
6
+ } from "./chunk-C2REOMPO.js";
7
7
  import {
8
8
  getProjectIgnoreMatcher
9
- } from "./chunk-H65TYP6V.js";
9
+ } from "./chunk-DNB4ZQGN.js";
10
10
  import {
11
11
  KIND_EXTENSIONS,
12
12
  SPECIAL_FILENAMES,
13
13
  isCodeKindFile
14
- } from "./chunk-CZCAZVTD.js";
14
+ } from "./chunk-SRXYSLMW.js";
15
15
  import {
16
16
  classifyGeneratedOrArtifactDetailed,
17
17
  isDeclarationFile
18
- } from "./chunk-FOEPIX76.js";
18
+ } from "./chunk-6EIV3H7O.js";
19
19
  import {
20
20
  logLatency,
21
21
  toPositiveFinite
22
- } from "./chunk-VCRVNLE7.js";
22
+ } from "./chunk-K2GV34T2.js";
23
23
  import {
24
24
  BoundedLruCache,
25
25
  normalizeEphemeralMapKey,
26
26
  normalizeFilePath
27
- } from "./chunk-CB7PEVOJ.js";
27
+ } from "./chunk-WLD6BGON.js";
28
28
 
29
29
  // dist/clients/source-filter.js
30
30
  import * as fs2 from "node:fs";
@@ -2,20 +2,20 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
2
2
  import {
3
3
  getSourceFiles,
4
4
  getSourceFilesAsync
5
- } from "./chunk-7JX3RNG4.js";
6
- import "./chunk-IDCTDKIA.js";
7
- import "./chunk-IL6PIV33.js";
8
- import "./chunk-H65TYP6V.js";
5
+ } from "./chunk-34RXPR7M.js";
6
+ import "./chunk-3NVGBFJS.js";
7
+ import "./chunk-C2REOMPO.js";
8
+ import "./chunk-DNB4ZQGN.js";
9
9
  import "./chunk-QYF5S6P6.js";
10
- import "./chunk-CZCAZVTD.js";
11
- import "./chunk-FOEPIX76.js";
12
- import "./chunk-NL5LSKVD.js";
13
- import "./chunk-7WJ55KBN.js";
14
- import "./chunk-3FRI5H4T.js";
10
+ import "./chunk-SRXYSLMW.js";
11
+ import "./chunk-6EIV3H7O.js";
12
+ import "./chunk-3R3Z54J7.js";
13
+ import "./chunk-43KD3PPM.js";
14
+ import "./chunk-AGEQRJ5A.js";
15
15
  import "./chunk-S26LC76R.js";
16
- import "./chunk-VCRVNLE7.js";
16
+ import "./chunk-K2GV34T2.js";
17
17
  import "./chunk-LJDODBBZ.js";
18
- import "./chunk-CB7PEVOJ.js";
18
+ import "./chunk-WLD6BGON.js";
19
19
  import "./chunk-NXL4FFQQ.js";
20
20
  export {
21
21
  getSourceFiles,
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-S26LC76R.js";
7
7
  import {
8
8
  logLatency
9
- } from "./chunk-VCRVNLE7.js";
9
+ } from "./chunk-K2GV34T2.js";
10
10
  import {
11
11
  isWindowsPath,
12
12
  nameMatchesMarkerGlob,
@@ -14,7 +14,7 @@ import {
14
14
  realpathOrResolve,
15
15
  toPosix,
16
16
  walkUpDirs
17
- } from "./chunk-CB7PEVOJ.js";
17
+ } from "./chunk-WLD6BGON.js";
18
18
 
19
19
  // dist/clients/workspace-topology.js
20
20
  import * as fs2 from "node:fs";
@@ -73,8 +73,14 @@ var DECLARED_LEGACY_FILE_SURFACES = [
73
73
  ...PROJECT_CONFIG_LOCATIONS,
74
74
  ...GLOBAL_CONFIG_LOCATIONS
75
75
  ].filter((location) => location.legacy).map((location) => location.surface);
76
- function configSearchDirs(startDir, homeDir = os.homedir()) {
77
- return [...walkUpDirs(startDir, { homeDir })];
76
+ function configSearchDirs(startDir, homeDir = os.homedir(), stopAtGitRoot = false) {
77
+ const dirs = [];
78
+ for (const dir of walkUpDirs(startDir, { homeDir })) {
79
+ dirs.push(dir);
80
+ if (stopAtGitRoot && fs.existsSync(path.join(dir, ".git")))
81
+ break;
82
+ }
83
+ return dirs;
78
84
  }
79
85
  function defaultGlobalConfigExists(file) {
80
86
  try {
@@ -2,7 +2,7 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
2
2
  import {
3
3
  logExtension,
4
4
  recordDegradation
5
- } from "./chunk-3FRI5H4T.js";
5
+ } from "./chunk-AGEQRJ5A.js";
6
6
  import {
7
7
  stagePathFor
8
8
  } from "./chunk-LJDODBBZ.js";
@@ -7,31 +7,32 @@ import {
7
7
  extractForwardImportPaths,
8
8
  extractForwardImports,
9
9
  sweepInlineBlockerFreshness
10
- } from "./chunk-QL37SGTS.js";
11
- import "./chunk-K6WIBVMK.js";
12
- import "./chunk-ACRJ2GZ5.js";
13
- import "./chunk-WS3UFJOU.js";
14
- import "./chunk-CTB5BAJI.js";
10
+ } from "./chunk-532X3OCZ.js";
11
+ import "./chunk-6XNVY3FW.js";
12
+ import "./chunk-7424ANRU.js";
13
+ import "./chunk-SUIZOCSY.js";
14
+ import "./chunk-OC4ZGVMH.js";
15
15
  import "./chunk-Z54ZSOBZ.js";
16
- import "./chunk-GUGKKGG7.js";
17
- import "./chunk-QGITU23N.js";
18
- import "./chunk-OTSTS7L2.js";
16
+ import "./chunk-5YTDZ5WP.js";
17
+ import "./chunk-E3PNZDPH.js";
19
18
  import "./chunk-CKEQFGLT.js";
20
- import "./chunk-W7TY6HYX.js";
21
- import "./chunk-WAA63ZJV.js";
22
- import "./chunk-NPNFGYLV.js";
23
- import "./chunk-H65TYP6V.js";
24
- import "./chunk-CZCAZVTD.js";
25
- import "./chunk-FOEPIX76.js";
26
- import "./chunk-NL5LSKVD.js";
27
- import "./chunk-7WJ55KBN.js";
28
- import "./chunk-3FRI5H4T.js";
19
+ import "./chunk-AYDE7RFV.js";
20
+ import "./chunk-ZRQMENT4.js";
21
+ import "./chunk-3HZ6MNB2.js";
22
+ import "./chunk-WBXCIRVI.js";
23
+ import "./chunk-DNB4ZQGN.js";
24
+ import "./chunk-SRXYSLMW.js";
25
+ import "./chunk-6EIV3H7O.js";
26
+ import "./chunk-3R3Z54J7.js";
27
+ import "./chunk-CIA7X2PZ.js";
28
+ import "./chunk-43KD3PPM.js";
29
+ import "./chunk-AGEQRJ5A.js";
29
30
  import {
30
31
  MTIME_DRIFT_TOLERANCE_MS
31
32
  } from "./chunk-S26LC76R.js";
32
- import "./chunk-VCRVNLE7.js";
33
+ import "./chunk-K2GV34T2.js";
33
34
  import "./chunk-LJDODBBZ.js";
34
- import "./chunk-CB7PEVOJ.js";
35
+ import "./chunk-WLD6BGON.js";
35
36
  import "./chunk-NXL4FFQQ.js";
36
37
  export {
37
38
  DEPENDENCY_DRIFT_MAX_DELIVERIES,
@@ -0,0 +1,22 @@
1
+ import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
2
+ import {
3
+ AgentBehaviorClient,
4
+ agentBehaviorClient,
5
+ toolCallProgress
6
+ } from "./chunk-PSUXESQ5.js";
7
+ import "./chunk-AOQKQWZU.js";
8
+ import "./chunk-DNB4ZQGN.js";
9
+ import "./chunk-6EIV3H7O.js";
10
+ import "./chunk-3R3Z54J7.js";
11
+ import "./chunk-43KD3PPM.js";
12
+ import "./chunk-AGEQRJ5A.js";
13
+ import "./chunk-S26LC76R.js";
14
+ import "./chunk-K2GV34T2.js";
15
+ import "./chunk-LJDODBBZ.js";
16
+ import "./chunk-WLD6BGON.js";
17
+ import "./chunk-NXL4FFQQ.js";
18
+ export {
19
+ AgentBehaviorClient,
20
+ agentBehaviorClient,
21
+ toolCallProgress
22
+ };