pi-lens 4.4.9 → 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.
- package/CHANGELOG-USER.md +12 -12
- package/CHANGELOG.md +262 -0
- package/README.md +2 -0
- package/dist/{chunk-7YTRG6YW.js → chunk-2SD2CGVH.js} +2 -2
- package/dist/{chunk-CDFJF5YD.js → chunk-34RXPR7M.js} +1 -1
- package/dist/{chunk-XO756WE5.js → chunk-3C6ZZAB2.js} +34 -27
- package/dist/{chunk-MKPDIAZH.js → chunk-3HZ6MNB2.js} +1 -1
- package/dist/{chunk-RNXOWDM6.js → chunk-3NVGBFJS.js} +6 -6
- package/dist/{chunk-DGKFWQK4.js → chunk-3QCI3V6C.js} +11 -11
- package/dist/{chunk-NL5LSKVD.js → chunk-3R3Z54J7.js} +10 -4
- package/dist/{chunk-PIIUNJIT.js → chunk-43KD3PPM.js} +1 -1
- package/dist/{chunk-LAHHGNAY.js → chunk-4HNBY7S7.js} +20 -19
- package/dist/chunk-4WWPDMRA.js +22 -0
- package/dist/{chunk-L7O774U7.js → chunk-532X3OCZ.js} +116 -22
- package/dist/{chunk-ZVCDHYWZ.js → chunk-5RLEDUUE.js} +9 -9
- package/dist/{chunk-5YSEQHJN.js → chunk-5YTDZ5WP.js} +3 -3
- package/dist/{chunk-X5BJ3G2P.js → chunk-6EIV3H7O.js} +158 -61
- package/dist/{chunk-KV6GQOGN.js → chunk-6K4X7IIF.js} +164 -172
- package/dist/{chunk-HYSKJMZK.js → chunk-6RXMQYNU.js} +3 -3
- package/dist/{chunk-7UTSNTWM.js → chunk-6XNVY3FW.js} +10 -10
- package/dist/{chunk-ACRJ2GZ5.js → chunk-7424ANRU.js} +2 -2
- package/dist/{chunk-JUZ67QZQ.js → chunk-A4HKPAEN.js} +8 -8
- package/dist/{chunk-EKNYSXFB.js → chunk-AFNPNHJV.js} +8 -8
- package/dist/{chunk-W5E72HJA.js → chunk-AGEQRJ5A.js} +37 -11
- package/dist/{chunk-4ENEJHF4.js → chunk-AJ62EQIQ.js} +15 -14
- package/dist/{chunk-VWLSU3XV.js → chunk-AOQKQWZU.js} +14 -5
- package/dist/{chunk-CJS6WE66.js → chunk-AVOUHMCS.js} +111 -107
- package/dist/{chunk-WTB4GKMH.js → chunk-AYDE7RFV.js} +45 -5
- package/dist/{chunk-AWQWXSW4.js → chunk-B4FAFEBP.js} +7 -2
- package/dist/{chunk-SLSMJPEF.js → chunk-B4K6OSLL.js} +49 -42
- package/dist/{chunk-CM6BDY4E.js → chunk-BBJXIZ3X.js} +3 -3
- package/dist/chunk-BJDB7PXU.js +25 -0
- package/dist/{chunk-TOE2RRCS.js → chunk-BLL4VYGZ.js} +1 -1
- package/dist/{chunk-THYHUIDR.js → chunk-BMMRLJA4.js} +7 -5
- package/dist/{chunk-LWOM6LVS.js → chunk-BN36MQW5.js} +35 -34
- package/dist/{chunk-ZCQBNPRH.js → chunk-C2REOMPO.js} +2 -2
- package/dist/{chunk-T5QSLSMM.js → chunk-C4ICGFEO.js} +23 -23
- package/dist/chunk-CIA7X2PZ.js +26 -0
- package/dist/{chunk-VO4JFPTV.js → chunk-D5L7Q57Z.js} +2 -2
- package/dist/{chunk-YOXCCJDF.js → chunk-DBAHJFBU.js} +70 -64
- package/dist/{chunk-TMNUTMT5.js → chunk-DNB4ZQGN.js} +59 -22
- package/dist/chunk-DPDA3ILA.js +108 -0
- package/dist/{chunk-QGITU23N.js → chunk-E3PNZDPH.js} +1 -1
- package/dist/{chunk-QVBOXT3L.js → chunk-E6Z3CJT2.js} +13 -9
- package/dist/{chunk-ZDMFGACN.js → chunk-ECYUBKYX.js} +588 -566
- package/dist/chunk-F37CCZUA.js +27 -0
- package/dist/{chunk-E65WJVI5.js → chunk-FVEEEEIM.js} +10 -13
- package/dist/{chunk-F6BEQWAK.js → chunk-GL6J5R34.js} +5 -5
- package/dist/{chunk-5GEYJJHG.js → chunk-GTNO6F6K.js} +11 -10
- package/dist/{chunk-NMUSOZ2D.js → chunk-HASJPQBC.js} +10 -10
- package/dist/{chunk-XVB3Q2PG.js → chunk-HGEE5LDW.js} +3 -2
- package/dist/{chunk-XKFO2SZV.js → chunk-HIUVHRLM.js} +35 -34
- package/dist/{chunk-PRHYIA6X.js → chunk-HTUG7ZFK.js} +8 -8
- package/dist/{chunk-HEA3EM23.js → chunk-IBEYUBCM.js} +9 -9
- package/dist/{chunk-WSSLVMDA.js → chunk-IJ55MYO6.js} +15 -12
- package/dist/{chunk-MRLH4MYU.js → chunk-IT7MFVGP.js} +2 -2
- package/dist/{chunk-MQ4PPCJB.js → chunk-ITAPXBIB.js} +42 -43
- package/dist/{chunk-RNJFRXEN.js → chunk-JSQK5DH3.js} +4 -4
- package/dist/{chunk-VCRVNLE7.js → chunk-K2GV34T2.js} +9 -1
- package/dist/{chunk-3NPWO5UO.js → chunk-KBSC5Z3G.js} +9 -8
- package/dist/{chunk-PXQ45SGD.js → chunk-KDGKKK7A.js} +2 -2
- package/dist/{chunk-SIQHOB6P.js → chunk-KDMJ2DJD.js} +11 -11
- package/dist/{chunk-RTFMDIKV.js → chunk-KNP4ENFT.js} +1 -1
- package/dist/chunk-KX4DF6XX.js +25 -0
- package/dist/{chunk-ZZN74OGD.js → chunk-LHCDWFDB.js} +37 -144
- package/dist/{chunk-N5CEGQPG.js → chunk-LHU6NG5Z.js} +16 -15
- package/dist/{chunk-G22UNQID.js → chunk-LIDFFCZZ.js} +17 -15
- package/dist/{chunk-NOWH2VA2.js → chunk-LPM6NKVI.js} +7 -7
- package/dist/{chunk-KXMJLOZF.js → chunk-LXE7JAMV.js} +37 -26
- package/dist/{chunk-47UCC4MM.js → chunk-ME6MF2N2.js} +1 -1
- package/dist/{chunk-V67D6TMU.js → chunk-NLRKB32C.js} +7 -7
- package/dist/{chunk-2VZ3VN3N.js → chunk-NQFXN5U7.js} +2 -2
- package/dist/{chunk-IILEH3ZC.js → chunk-NR4KQOXZ.js} +14 -9
- package/dist/{chunk-UXTQ3QPD.js → chunk-NWK7KKNO.js} +4 -4
- package/dist/{chunk-ZMMHHXSW.js → chunk-O6LCSHHI.js} +2 -1
- package/dist/{chunk-ZZSJAR76.js → chunk-OC4ZGVMH.js} +33 -17
- package/dist/{chunk-L6WBJGQS.js → chunk-OP5BMZKK.js} +3 -3
- package/dist/{chunk-MN635QYA.js → chunk-OYXD2MOM.js} +3 -3
- package/dist/{chunk-OSEKJEUU.js → chunk-PSUXESQ5.js} +41 -4
- package/dist/{chunk-6GPB3JLL.js → chunk-QAM2Q3VO.js} +3 -3
- package/dist/{chunk-OUYAUXAT.js → chunk-QBUSONNE.js} +518 -191
- package/dist/{chunk-PBZNYHMM.js → chunk-QDZ3ZZMY.js} +18 -66
- package/dist/{chunk-LT62P654.js → chunk-QJ4T73J5.js} +1 -1
- package/dist/{chunk-XLAI7UYY.js → chunk-QUZYRDT6.js} +12 -12
- package/dist/{chunk-QP33NKYC.js → chunk-R2UF54ON.js} +17 -15
- package/dist/{chunk-V2WDBOLZ.js → chunk-R2VUZZPJ.js} +11 -10
- package/dist/chunk-R5BNSOIV.js +29 -0
- package/dist/chunk-RV5VX2XW.js +29 -0
- package/dist/{chunk-FGNSESAC.js → chunk-SQBDX6IO.js} +12 -12
- package/dist/{chunk-CZCAZVTD.js → chunk-SRXYSLMW.js} +2 -2
- package/dist/{chunk-J3Q2NYJR.js → chunk-SUIZOCSY.js} +3 -2
- package/dist/{chunk-NUSXS6YB.js → chunk-T5EGSBM2.js} +4 -4
- package/dist/{chunk-FRUBVFXV.js → chunk-TBE4OLPA.js} +37 -35
- package/dist/{chunk-GQTQUNCG.js → chunk-TPMBNWHO.js} +28 -26
- package/dist/{chunk-IICERRFF.js → chunk-TRYOYWWU.js} +18 -12
- package/dist/{chunk-3HTZDY3C.js → chunk-TTGDTNSN.js} +6 -6
- package/dist/{chunk-NCLO6E6N.js → chunk-UELHWF5I.js} +139 -135
- package/dist/chunk-UG4YLCJ5.js +58 -0
- package/dist/chunk-UQ6OZYTO.js +91 -0
- package/dist/{chunk-L4Y3ROKQ.js → chunk-UY3WWW5R.js} +4 -4
- package/dist/chunk-V7IPIAE5.js +74 -0
- package/dist/{chunk-C3YRO3EU.js → chunk-VDMF7Q2P.js} +10 -10
- package/dist/{chunk-N56BNAA6.js → chunk-VI3BJMZO.js} +35 -34
- package/dist/{chunk-EY6LY2HO.js → chunk-VTXJAO5R.js} +34 -35
- package/dist/chunk-W6VLB6LL.js +145 -0
- package/dist/{chunk-AACN5GNE.js → chunk-WBXCIRVI.js} +21 -2
- package/dist/{chunk-CB7PEVOJ.js → chunk-WLD6BGON.js} +176 -60
- package/dist/{chunk-ZPM7ZIFL.js → chunk-WMCAEP2K.js} +11 -8
- package/dist/{chunk-H3BVMK47.js → chunk-WXMUGUZV.js} +21 -25
- package/dist/{chunk-QB7T2PHK.js → chunk-X33QECRJ.js} +4 -2
- package/dist/{chunk-7R5GZIA6.js → chunk-YUF4DRYB.js} +399 -308
- package/dist/{chunk-HSOBIN22.js → chunk-YVPB5YGO.js} +2 -2
- package/dist/{chunk-W7TY6HYX.js → chunk-ZRQMENT4.js} +5 -27
- package/dist/index.js +6100 -4440
- package/dist/mcp/analyze-cli.js +17 -11
- package/dist/mcp/cli.js +43 -42
- package/dist/mcp/server.js +1534 -623
- package/dist/mcp/worker.js +62 -59
- package/dist/probes/installer.js +19 -18
- package/docs/agent-guide.md +5 -2
- package/docs/agent-tools.md +17 -4
- package/docs/alignment-families.md +5 -1
- package/docs/ci.md +120 -0
- package/docs/configuration.md +30 -7
- package/docs/custom-rules.md +1 -0
- package/docs/defect-shapes.md +122 -72
- package/docs/durable-store-audit-1202.md +1 -1
- package/docs/engineering-principles.md +46 -12
- package/docs/environment-variables.md +25 -2
- package/docs/features.md +12 -2
- package/docs/globalconfig.md +13 -0
- package/docs/invariants/dispatch-runners.md +13 -0
- package/docs/invariants/language-config.md +9 -1
- package/docs/language-coverage.md +67 -1
- package/docs/lsp-capability-matrix.md +68 -23
- package/docs/lsp-idle-eviction.md +17 -13
- package/docs/module-report-read-symbol.md +2 -2
- package/docs/pi-lens-fixer.md +11 -8
- package/docs/pi-lens-merge-policy.md +6 -1
- package/docs/pi-lens-monitor.md +4 -1
- package/docs/pi-lens-release.md +22 -2
- package/docs/pi-lens-reviewer.md +60 -13
- package/docs/public-api-stability.md +41 -6
- package/docs/rfcs/5138-query-surface.md +121 -0
- package/docs/servercapabilities.md +1 -1
- package/docs/settings.md +16 -4
- package/docs/usage.md +1 -0
- package/docs/word-index.md +9 -10
- package/package.json +4 -4
- package/rules/ast-grep-rules/coderabbit/README.md +2 -0
- package/rules/ast-grep-rules/coderabbit/rules/c/security/dont-call-system-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/file-access-before-action-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/file-stat-before-action-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/insecure-hash-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/libxml2-audit-parser-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/null-library-function-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/sizeof-this-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/small-key-size-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/c/security/world-writable-file-c.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/dont-call-system-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/file-access-before-action-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/file-stat-before-action-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/fix-format-security-error-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/insecure-hash-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/libxml2-audit-parser-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/missing-nul-cpp-string-memcpy-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/null-library-function-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/return-c-str-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/sizeof-this-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/small-key-size-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/std-return-data-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/std-vector-invalidation-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/string-view-temporary-string-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/cpp/security/world-writable-file-cpp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/httponly-false-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/insecure-binaryformatter-deserialization-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-decode-without-verify-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-hardcoded-secret-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-tokenvalidationparameters-no-expiry-validation-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/networkcredential-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/npgsqlconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/oracleconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/sqlconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/stacktrace-disclosure-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/csharp/security/use-ecb-mode-csharp.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/avoid-bind-to-all-interfaces-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/gorilla-cookie-store-hardcoded-session-key-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/gorilla-csrf-hardcoded-auth-key-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/grpc-client-insecure-connection-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/jwt-go-none-algorithm-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/missing-ssl-minversion-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/openai-empty-secret-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/openai-hardcoded-secret-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/ssl-v3-is-insecure-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/tls-with-insecure-cipher-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/go/security/use-of-weak-rsa-key-go.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/html/security/plaintext-http-link-html.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/cbc-padding-oracle-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-httponly-false-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-httponly-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-samesite-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-secure-flag-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-secure-flag-false-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/datanucleus-hardcoded-connection-password-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/des-is-deprecated-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/desede-is-deprecated-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-disallow-doctype-decl-false-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-external-general-entities-true-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-external-parameter-entities-true-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/drivermanager-hardcoded-secret-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/ecb-cipher-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/hardcoded-connection-password-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/hardcoded-secret-in-credentials-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/java-jwt-hardcoded-secret-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/jedis-jedisclientconfig-hardcoded-password-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/jedis-jedisfactory-hardcoded-password-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/missing-httponly-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/missing-secure-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/no-null-cipher-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/passwordauthentication-hardcoded-password-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/rsa-no-padding-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/simple-command-injection-direct-input-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/system-setproperty-hardcoded-secret-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/unencrypted-socket-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-aes-ecb-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-blowfish-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-default-aes-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-md5-digest-utils-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-md5-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-rc2-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-rc4-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-sha1-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/java/security/weak-ssl-context-java.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/javascript/security/detect-angular-sce-disabled-javascript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/javascript/security/express-jwt-hardcoded-secret-javascript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/javascript/security/express-session-hardcoded-secret-javascript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/javascript/security/jwt-simple-noverify-javascript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-rsa-weak-key-javascript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-sequelize-empty-password-argument-javascript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-sequelize-hardcoded-secret-argument-javascript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/kotlin/security/des-is-deprecated-kotlin.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/kotlin/security/desede-is-deprecated-kotlin.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/kotlin/security/jwt-hardcode-kotlin.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/kotlin/security/rsa-no-padding-kotlin.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/kotlin/security/system-setproperty-hardcoded-secret-kotlin.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/php/security/openssl-cbc-static-iv-php.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/php/security/search-active-debug-php.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/avoid-mktemp-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/avoid_app_run_with_bad_host-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/debug-enabled-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/hashids-with-django-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/hashids-with-flask-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/insecure-cipher-algorithm-rc4-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/jwt-python-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/openai-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-cassandra-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-cassandra-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-couchbase-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-couchbase-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-elasticsearch-hardcoded-bearer-auth-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-ldap3-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-ldap3-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mariadb-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mariadb-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysql-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysql-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysqlclient-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysqlclient-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-neo4j-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-neo4j-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-mysql-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-mysql-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-pg-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-pg-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pg8000-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pg8000-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-psycopg2-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-psycopg2-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pyjwt-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymongo-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymongo-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymssql-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymssql-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymysql-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymysql-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-redis-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-redis-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-oauth-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-tormysql-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-tormysql-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-urllib3-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-webrepl-empty-password-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/python/security/python-webrepl-hardcoded-secret-python.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/force-ssl-false-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/hardcoded-http-auth-in-controller-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/hardcoded-secret-rsa-passphrase-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/insufficient-rsa-key-size-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-aws-sdk-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-cassandra-empty-password-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-cassandra-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-excon-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-faraday-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mongo-empty-password-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mongo-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mysql2-empty-password-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mysql2-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-octokit-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-pg-empty-password-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-pg-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-redis-empty-password-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-redis-hardcoded-secret-ruby.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/empty-password-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/hardcoded-password-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/postgres-empty-password-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/reqwest-accept-invalid-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/secrets-reqwest-hardcoded-auth-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/ssl-verify-none-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/tokio-postgres-empty-password-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/rust/security/tokio-postgres-hardcoded-password-rust.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/scala/security/jwt-scala-hardcode-scala.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/scala/security/scala-jwt-hardcoded-secret-scala.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/swift/security/aes-hardcoded-secret-swift.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/swift/security/blowfish-hardcoded-secret-swift.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/swift/security/chacha20-hardcoded-secret-swift.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/swift/security/insecure-biometrics-swift.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/swift/security/rabbit-hardcoded-secret-swift.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/typescript/security/detect-angular-sce-disabled-typescript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/typescript/security/express-session-hardcoded-secret-typescript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/typescript/security/jwt-simple-noverify-typescript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-rsa-weak-key-typescript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-sequelize-empty-password-argument-typescript.yml +2 -1
- package/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-sequelize-hardcoded-secret-argument-typescript.yml +2 -1
- package/rules/ast-grep-rules/rule-schema.json +1 -1
- package/rules/ast-grep-rules/rules/c-no-malloc-free.yml +13 -12
- package/rules/ast-grep-rules/rules/cpp-no-malloc-free.yml +11 -10
- package/rules/ast-grep-rules/rules/cpp-no-printf.yml +10 -9
- package/rules/ast-grep-rules/rules/go-defer-func-call-antipattern.yml +14 -13
- package/rules/ast-grep-rules/rules/go-no-fmt-println.yml +14 -13
- package/rules/ast-grep-rules/rules/go-no-panic-in-lib.yml +20 -19
- package/rules/ast-grep-rules/rules/go-no-underscore-func-name.yml +14 -13
- package/rules/ast-grep-rules/rules/go-prefer-errors-is.yml +14 -13
- package/rules/ast-grep-rules/rules/go-prefer-string-builder.yml +19 -18
- package/rules/ast-grep-rules/rules/go-test-functions.yml +14 -13
- package/rules/ast-grep-rules/rules/hyphenated-svg-attribute.yml +10 -9
- package/rules/ast-grep-rules/rules/kotlin-no-lateinit.yml +12 -11
- package/rules/ast-grep-rules/rules/kotlin-no-nullable-boolean.yml +11 -10
- package/rules/ast-grep-rules/rules/kotlin-no-println.yml +15 -14
- package/rules/ast-grep-rules/rules/kotlin-no-unnecessary-let.yml +10 -9
- package/rules/ast-grep-rules/rules/kotlin-no-unsafe-cast.yml +10 -9
- package/rules/ast-grep-rules/rules/kotlin-no-var.yml +11 -10
- package/rules/ast-grep-rules/rules/kotlin-prefer-data-class.yml +10 -9
- package/rules/ast-grep-rules/rules/kotlin-prefer-is-empty.yml +10 -9
- package/rules/ast-grep-rules/rules/no-aws-access-key-literal.yml +1 -1
- package/rules/ast-grep-rules/rules/no-compile-call.yml +13 -12
- package/rules/ast-grep-rules/rules/no-flask-secret-key-literal.yml +1 -1
- package/rules/ast-grep-rules/rules/no-hardcoded-password.yml +1 -1
- package/rules/ast-grep-rules/rules/no-marshal-load.yml +12 -11
- package/rules/ast-grep-rules/rules/no-python-sql-string-concat.yml +12 -11
- package/rules/ast-grep-rules/rules/no-requests-verify-false.yml +13 -12
- package/rules/ast-grep-rules/rules/no-secret-in-env-var-name.yml +1 -1
- package/rules/ast-grep-rules/rules/python-optional-type.yml +9 -8
- package/rules/ast-grep-rules/rules/reducible-list-comprehension.yml +8 -7
- package/rules/ast-grep-rules/rules/ruby-detect-path-traversal.yml +14 -13
- package/rules/ast-grep-rules/rules/ruby-symbol-to-proc-candidate.yml +8 -7
- package/rules/ast-grep-rules/rules/rust-no-chars-enumerate.yml +9 -8
- package/rules/ast-grep-rules/rules-disabled/gorm-unbounded-preload.yml +7 -6
- package/rules/ast-grep-rules/rules-disabled/shadow-err-variable.yml +6 -5
- package/scripts/analyze-pi-lens-logs.mjs +262 -3
- package/scripts/download-grammars.js +10 -0
- package/scripts/grammars.lock.json +7 -0
- package/scripts/lib/latency-log-phases.mjs +125 -0
- package/vendor/grammars/tree-sitter-groovy.wasm +0 -0
- package/dist/chunk-H6FLQ5NW.js +0 -28
- package/dist/chunk-KR5VGMVT.js +0 -25
- package/dist/chunk-Q6JQKWPK.js +0 -25
- package/dist/chunk-QJJKOHLH.js +0 -57
- package/dist/chunk-TGQDAG4B.js +0 -88
- package/dist/chunk-TYHPVE5H.js +0 -25
- package/dist/chunk-UAKO2M6B.js +0 -73
- package/dist/chunk-UC5AXW5Z.js +0 -20
- package/dist/chunk-UTJP6WOS.js +0 -28
package/CHANGELOG-USER.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
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
|
+
|
|
9
|
+
## [4.4.10] - 2026-11-06
|
|
10
|
+
|
|
11
|
+
2 features, 7 fixes, 1 other change.
|
|
12
|
+
|
|
13
|
+
Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.10
|
|
14
|
+
|
|
3
15
|
## [4.4.9] - 2026-11-05
|
|
4
16
|
|
|
5
17
|
3 features, 29 fixes, 8 other changes.
|
|
@@ -17,15 +29,3 @@ Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.8
|
|
|
17
29
|
2 features, 21 fixes.
|
|
18
30
|
|
|
19
31
|
Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.7
|
|
20
|
-
|
|
21
|
-
## [4.4.6] - 2026-10-27
|
|
22
|
-
|
|
23
|
-
6 fixes, 2 other changes.
|
|
24
|
-
|
|
25
|
-
Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.6
|
|
26
|
-
|
|
27
|
-
## [4.4.5] - 2026-10-25
|
|
28
|
-
|
|
29
|
-
3 features, 67 fixes, 7 other changes.
|
|
30
|
-
|
|
31
|
-
Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.5
|
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,268 @@ 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
|
+
|
|
201
|
+
## [4.4.10] - 2026-11-06
|
|
202
|
+
|
|
203
|
+
### Added
|
|
204
|
+
|
|
205
|
+
#### Tools and reports
|
|
206
|
+
|
|
207
|
+
- **`module_report` and `read_symbol` now list Groovy classes and methods.** Symbol search, imports and read expansion work for them too, and traits, interfaces, enums and constructors are listed. `.groovy`, `.gvy`, `.gy` and `.gsh` files, plus `Jenkinsfile`, `build.gradle` and `settings.gradle`, parse with a vendored tree-sitter grammar. The grammar is partial: 70% of 1,353 real files parse with no error node. Types nested in a class, command calls with named arguments and the diamond `<>` do not parse, and `module_report` shows its syntax-error warning on a partial parse. Lint and format for Groovy are not part of this change. (refs #5235)
|
|
208
|
+
|
|
209
|
+
#### Configuration and flags
|
|
210
|
+
|
|
211
|
+
- **Read widening can now be turned off without losing the read-before-edit guard.** Pass `--no-read-expansion` or set the global `readGuard.expandReads=false` to keep the requested read ranges while the guard stays active. Read widening stays on by default. (refs #5303)
|
|
212
|
+
|
|
213
|
+
### Changed
|
|
214
|
+
|
|
215
|
+
#### Language servers
|
|
216
|
+
|
|
217
|
+
- **A large file can now be checked with `lens_diagnostics source=lsp` on one path.** The new user-level key `lsp.queryMaxFileLines` (5000 to 40000, suggested 20000) raises the line limit of that single-file query only; per-edit, dispatch and batch checks keep 5000 lines and 2 MiB. A project `.pi-lens.json` cannot set it, and an out-of-range value is ignored with a warning. An explicit `waitMs` now waits past the server's own wait, up to 30000 ms. A file over the limit or a wait that runs out reads as too large or timed out, never as clean, and a language server whose wait ran out now reads as timed out even while a slower scanner is still running. (refs #5306)
|
|
218
|
+
|
|
219
|
+
### Fixed
|
|
220
|
+
|
|
221
|
+
#### Language servers
|
|
222
|
+
|
|
223
|
+
- **On Windows, a missing project-local server `.cmd` no longer blocks the PATH server or install.** When a project had no `node_modules/.bin/pyright-langserver.cmd` (or the `.cmd` for the YAML, Bash, Docker, HTML, CSS, PHP, Prisma, Vue, Svelte or Fish server), pi-lens treated the absent file as an installed server and failed with a runtime error. The Python server never reached its PATH server, and the Node-based servers never reached their managed install. An absent local `.cmd` is now skipped like any other missing candidate. Thanks to ProphetOfDoom-PoD for the report and reproduction. (refs #5305)
|
|
224
|
+
|
|
225
|
+
- **An explicit `~/.pi/agent/tsconfig.json` now roots extensions that have no project of their own.** A TypeScript extension under `~/.pi/agent/extensions/` with neither a `package.json` nor a `tsconfig.json` used to get its own directory as the language-server root even when the agent directory carried a `tsconfig.json`; the server now roots at the agent directory so that config's `types` and `paths` apply. An extension-local project still wins, an agent `package.json` alone keeps the per-file root, and only the agent directory itself is read. (refs #5335)
|
|
226
|
+
|
|
227
|
+
#### Rules
|
|
228
|
+
|
|
229
|
+
- **`.mts` and `.cts` files now get the same checks as `.ts`.** Twelve fact rules (`error-swallowing`, `cors-wildcard`, `no-commented-credentials`, `placeholder-comments` and eight more), the comment and try/catch fact providers, the JS/TS autofix and linter policy, and the project scan each left out `.mts` and `.cts`, so those files read as unchecked with no notice. They now share one TypeScript-family check. (refs #4907)
|
|
230
|
+
|
|
231
|
+
- **A nested package's `rules.<id>.threshold` now applies to its own files.** `rules.high-complexity.threshold` and `rules.high-fan-out.threshold` follow the edited file's nearest `.pi-lens.json`, field by field, like `rules.<id>.disable`: with `40` at the workspace root and `5` in `pkg/.pi-lens.json`, a function in `pkg/` is judged by `5`. A threshold in `~/.pi-lens/config.json` now applies to every file no project `.pi-lens.json` sets one for, and a project or nested file still wins over it. (refs #5292)
|
|
232
|
+
|
|
233
|
+
#### Tools and reports
|
|
234
|
+
|
|
235
|
+
- **Read notes now name Kotlin and Swift symbols.** A widened read named the enclosing Kotlin or Swift symbol by its node type (`function_declaration`, `class_declaration`); it now shows the real name (`greet`, `Greeter`) in the note, the read-widening record and the retry hint. Java read notes are unchanged. (refs #5320)
|
|
236
|
+
|
|
237
|
+
#### Install and updates
|
|
238
|
+
|
|
239
|
+
- **The first edit of a session no longer waits on an `npm config get prefix` spawn.** The lookup of the package managers' global bin dirs now starts at session start, so the first dispatch joins it instead of paying about 0.3 s for `which npm` and `npm config get prefix`. `session_start` itself costs no more than before. A tool process that exits before its first resource sample no longer records a false `resource-sampler-query-failed` record. (refs #5261)
|
|
240
|
+
|
|
241
|
+
#### Hosts and integrations
|
|
242
|
+
|
|
243
|
+
- **A resumed session now publishes its restored diagnostics on `pilens:diagnostics`.** An extension that listens on the bus sees the same findings as the widget, instead of nothing until the next write. (refs #5301)
|
|
244
|
+
|
|
245
|
+
### Internal
|
|
246
|
+
|
|
247
|
+
<details>
|
|
248
|
+
<summary>14 internal changes: tests, CI, tooling, and refactors</summary>
|
|
249
|
+
|
|
250
|
+
- Tier-2 pi sessions start with the orphan-backstop cooldown armed, so a long test file's 30 s sweep cannot SIGKILL a stale host process and red the #2042 kill guard (refs #4909).
|
|
251
|
+
|
|
252
|
+
- Fixed nightly LSP drift notification setup, idle-eviction provisioning, and capability-matrix row coverage (refs #5323).
|
|
253
|
+
|
|
254
|
+
- The type-aware lint lane enables `typescript/switch-exhaustiveness-check`, so a union switch whose `default:` would absorb a new member is flagged; the 11 runtime sites are listed explicitly or carry a reasoned disable (#5331).
|
|
255
|
+
|
|
256
|
+
- The module-level ast-grep availability sweep in `clients/dispatch/runners/utils/runner-helpers.ts` (`isSgAvailableAsync`, `getSgCommand`, the `sg` export and their helpers) is deleted: it had no production caller, carried the B1 cross-session latch write, and production ast-grep runs through `SgRunner` (closes #5345).
|
|
257
|
+
|
|
258
|
+
- The nightly clean-signal probe no longer credits a fixture's row to a different launch: a `typescript7` row that ran the classic server now reads `unknown` instead of `mode=push-only`, the probe rewrites the tracked LSP capability matrix only with `--write-matrix`, and the comments and matrix prose no longer say native TS7 is silent on clean (it is a pull server) (refs #5348).
|
|
259
|
+
|
|
260
|
+
- The nightly `silentOnClean` drift check no longer files `silent-not-marked` for an auxiliary server (fallow, ast-grep, opengrep, zizmor, typos), and the comments and matrix prose no longer say native TS7 publishes on clean (refs #5348). The native TS7 marker stays `false`.
|
|
261
|
+
|
|
262
|
+
- Changelog fragments now carry an `area:` and one fixed headline-and-body shape that `rollup-changelog.mjs --check` enforces, and the release rollup groups each section's entries by area (refs #5351).
|
|
263
|
+
|
|
264
|
+
- **PR body Refs checks now match land-time requirements.** A referenced open issue must have a line-start `Remaining #N:` line, unless GitHub identifies it as a tracking or umbrella issue.
|
|
265
|
+
|
|
266
|
+
- **Fact-store bound test fills the session-fact cap directly** — the large-batch case no longer dispatches 4296 real files to fill the cap, so it stops running at its timeout on CI. The test also pins the dispatcher's own baseline write (refs #5307).
|
|
267
|
+
|
|
268
|
+
- The installer's npm global-bin and pip user-base rungs now verify their candidates through one `firstVerifiedBinary` loop instead of two byte-identical copies of the access, project-trust and verification steps; resolution results are unchanged (refs #4907).
|
|
269
|
+
|
|
270
|
+
- Five hand-written `key === root || key.startsWith(`${root}/`)` containment tests (LSP client-root overlap in two places, the blocker sweep's root test, `findModuleForPath`, the `lens_diagnostics` directory scope) now ask `isWithinForm`, the path owner (refs #4907).
|
|
271
|
+
|
|
272
|
+
- **The dispatcher's code-like diagnostic path check folds backslashes through `toPosix` (refs #4907)** — `looksLikeDiagnosticCodePath` hand-rolled `.replace(/\\/g, "/")`; it now calls the shared seam, and the `path-key-fold-sweep` pin for `clients/dispatch/dispatcher.ts` is gone. Behaviour is unchanged.
|
|
273
|
+
|
|
274
|
+
- Pin five behaviours that survived hand mutation: the single-tag token precedence in `check-action-pins`, the sentence splitter and list-marker strip in `check-prose`, the libc drift predicate in `package-lock-sync`, and the exact root entries in `lint-prose-files` (refs #4907).
|
|
275
|
+
|
|
276
|
+
- Governance now requires every module-level state-helper use to appear in the
|
|
277
|
+
TLA+ coverage map (refs #5330).
|
|
278
|
+
|
|
279
|
+
</details>
|
|
280
|
+
|
|
19
281
|
## [4.4.9] - 2026-11-05
|
|
20
282
|
|
|
21
283
|
### Added
|
package/README.md
CHANGED
|
@@ -552,6 +552,8 @@ Thanks goes to these wonderful people:
|
|
|
552
552
|
<tr>
|
|
553
553
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/yxlimo"><img src="https://avatars.githubusercontent.com/u/13878887?v=4" width="100px;" alt=""/><br /><sub><b>ShayLu</b></sub></a><br /><a href="#bug-yxlimo" title="Bug reports">🐛</a></td>
|
|
554
554
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/aprudkin"><img src="https://avatars.githubusercontent.com/u/126267327?v=4" width="100px;" alt=""/><br /><sub><b>aprudkin</b></sub></a><br /><a href="#bug-aprudkin" title="Bug reports">🐛</a></td>
|
|
555
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ProphetOfDoom-PoD"><img src="https://avatars.githubusercontent.com/u/260035065?v=4" width="100px;" alt=""/><br /><sub><b>Prophet Of Doom</b></sub></a><br /><a href="#ideas-ProphetOfDoom-PoD" title="Ideas & Planning">🤔</a></td>
|
|
556
|
+
<td align="center" valign="top" width="14.28%"><a href="http://www.apostolapostolov.com/"><img src="https://avatars.githubusercontent.com/u/4083812?v=4" width="100px;" alt=""/><br /><sub><b>Apostol Apostolov</b></sub></a><br /><a href="#bug-apoapostolov" title="Bug reports">🐛</a></td>
|
|
555
557
|
</tr>
|
|
556
558
|
</tbody>
|
|
557
559
|
</table>
|
|
@@ -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-
|
|
4
|
+
} from "./chunk-KNP4ENFT.js";
|
|
5
5
|
import {
|
|
6
6
|
findLocalToolConfig
|
|
7
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
14
|
+
} from "./chunk-QBUSONNE.js";
|
|
15
15
|
import {
|
|
16
16
|
notePersistWorkerMessageFault,
|
|
17
17
|
readWorkerHeapStatistics
|
|
18
|
-
} from "./chunk-
|
|
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-
|
|
34
|
+
} from "./chunk-532X3OCZ.js";
|
|
35
35
|
import {
|
|
36
36
|
classifyTreeSitterWasmError,
|
|
37
37
|
getSharedTreeSitterClient,
|
|
38
38
|
logTreeSitterCacheStats,
|
|
39
39
|
withTreeSitterRoot
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-OC4ZGVMH.js";
|
|
41
41
|
import {
|
|
42
42
|
getReviewGraphMaxFilesDerived
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-IT7MFVGP.js";
|
|
44
44
|
import {
|
|
45
45
|
withBudget
|
|
46
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
60
|
+
} from "./chunk-DNB4ZQGN.js";
|
|
61
61
|
import {
|
|
62
62
|
KIND_EXTENSIONS,
|
|
63
63
|
detectFileKind
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-SRXYSLMW.js";
|
|
65
65
|
import {
|
|
66
66
|
detectFileRole
|
|
67
|
-
} from "./chunk-
|
|
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-
|
|
74
|
+
} from "./chunk-43KD3PPM.js";
|
|
71
75
|
import {
|
|
72
76
|
compareOrdinal,
|
|
73
77
|
escapeRegExp,
|
|
74
78
|
incrementDegradationCount
|
|
75
|
-
} from "./chunk-
|
|
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
|
-
|
|
87
|
+
logLatency,
|
|
88
|
+
nonNegativeIntEnv
|
|
89
|
+
} from "./chunk-K2GV34T2.js";
|
|
85
90
|
import {
|
|
86
91
|
FactStore
|
|
87
|
-
} from "./chunk-
|
|
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-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
2489
|
-
import("./chunk-
|
|
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 (
|
|
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,
|
|
3839
|
+
fileHashes.set(file, hashContentBytes(bytes));
|
|
3837
3840
|
} catch {
|
|
3838
3841
|
content = null;
|
|
3839
3842
|
fileHashes.set(file, "missing");
|
|
@@ -4076,6 +4079,7 @@ function extractSymbolsAndRefsFromGraph(graph) {
|
|
|
4076
4079
|
case "property":
|
|
4077
4080
|
case "function":
|
|
4078
4081
|
return node.symbolKind;
|
|
4082
|
+
case void 0:
|
|
4079
4083
|
default:
|
|
4080
4084
|
return "function";
|
|
4081
4085
|
}
|
|
@@ -4182,6 +4186,7 @@ export {
|
|
|
4182
4186
|
_resetReviewGraphExtractorCacheForTests,
|
|
4183
4187
|
_resetReviewGraphSourcePathMemoForTests,
|
|
4184
4188
|
graphWasmTrapDetail,
|
|
4189
|
+
seqFastpathEnabled,
|
|
4185
4190
|
getGraphBuildInfoForGraph,
|
|
4186
4191
|
graphBuildInfoIsTrustworthy,
|
|
4187
4192
|
clearGraphCache,
|
|
@@ -4211,10 +4216,12 @@ export {
|
|
|
4211
4216
|
getGraphSourceFiles,
|
|
4212
4217
|
isReviewGraphMigrationNeeded,
|
|
4213
4218
|
GRAPH_PERSIST_MAX_ELEMENTS_DEFAULT,
|
|
4219
|
+
graphPersistDebounceMs,
|
|
4214
4220
|
refreshReviewGraphPersistWorkerHeapStatistics,
|
|
4215
4221
|
getReviewGraphPersistWorkerHeapStatistics,
|
|
4216
4222
|
flushReviewGraphPersistsForExitForTests,
|
|
4217
4223
|
_resetReviewGraphStageSweepForTests,
|
|
4224
|
+
graphCheckpointMinIntervalMs,
|
|
4218
4225
|
_readReviewGraphCheckpointForTests,
|
|
4219
4226
|
flushReviewGraphPersistsForTests,
|
|
4220
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-
|
|
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-
|
|
6
|
+
} from "./chunk-C2REOMPO.js";
|
|
7
7
|
import {
|
|
8
8
|
getProjectIgnoreMatcher
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DNB4ZQGN.js";
|
|
10
10
|
import {
|
|
11
11
|
KIND_EXTENSIONS,
|
|
12
12
|
SPECIAL_FILENAMES,
|
|
13
13
|
isCodeKindFile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SRXYSLMW.js";
|
|
15
15
|
import {
|
|
16
16
|
classifyGeneratedOrArtifactDetailed,
|
|
17
17
|
isDeclarationFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6EIV3H7O.js";
|
|
19
19
|
import {
|
|
20
20
|
logLatency,
|
|
21
21
|
toPositiveFinite
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-K2GV34T2.js";
|
|
23
23
|
import {
|
|
24
24
|
BoundedLruCache,
|
|
25
25
|
normalizeEphemeralMapKey,
|
|
26
26
|
normalizeFilePath
|
|
27
|
-
} from "./chunk-
|
|
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-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
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-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
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-
|
|
16
|
+
import "./chunk-K2GV34T2.js";
|
|
17
17
|
import "./chunk-LJDODBBZ.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-WLD6BGON.js";
|
|
19
19
|
import "./chunk-NXL4FFQQ.js";
|
|
20
20
|
export {
|
|
21
21
|
getSourceFiles,
|