@herbertgao/pi-extensions 2026.11.6 → 2026.11.7
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.md +9 -0
- package/README.md +6 -6
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/CHANGELOG.md +6 -0
- package/node_modules/@herbertgao/pi-impeccable/README.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/package.json +4 -4
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/SKILL.md +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/VERSION +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/engine-checksums.txt +5 -5
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/live-browser.js +71 -56
- package/node_modules/@pi-plugins/fast-mode/dist/index.d.mts +1 -4
- package/node_modules/@pi-plugins/fast-mode/dist/index.d.mts.map +1 -1
- package/node_modules/@pi-plugins/fast-mode/dist/index.mjs +5620 -2946
- package/node_modules/@pi-plugins/fast-mode/dist/index.mjs.map +1 -1
- package/node_modules/@pi-plugins/fast-mode/package.json +11 -11
- package/node_modules/pi-commandcode-provider/CHANGELOG.md +5 -0
- package/node_modules/pi-commandcode-provider/README.md +1 -1
- package/node_modules/pi-commandcode-provider/package.json +1 -1
- package/node_modules/pi-commandcode-provider/src/commandcode-catalog.ts +5 -4
- package/node_modules/pi-commandcode-provider/src/pricing.ts +8 -2
- package/node_modules/pi-lens/CHANGELOG-USER.md +6 -6
- package/node_modules/pi-lens/CHANGELOG.md +182 -0
- package/node_modules/pi-lens/dist/{chunk-NE4EFHJX.js → chunk-2SD2CGVH.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-7JX3RNG4.js → chunk-34RXPR7M.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-2LVJQU3I.js → chunk-3C6ZZAB2.js} +33 -27
- package/node_modules/pi-lens/dist/{chunk-WAA63ZJV.js → chunk-3HZ6MNB2.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-IDCTDKIA.js → chunk-3NVGBFJS.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-B2YUE6YD.js → chunk-3QCI3V6C.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-NL5LSKVD.js → chunk-3R3Z54J7.js} +10 -4
- package/node_modules/pi-lens/dist/{chunk-7WJ55KBN.js → chunk-43KD3PPM.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-DVRJBQOJ.js → chunk-4HNBY7S7.js} +20 -19
- package/node_modules/pi-lens/dist/chunk-4WWPDMRA.js +22 -0
- package/node_modules/pi-lens/dist/{chunk-QL37SGTS.js → chunk-532X3OCZ.js} +18 -16
- package/node_modules/pi-lens/dist/{chunk-ZZDVGCGG.js → chunk-5RLEDUUE.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-GUGKKGG7.js → chunk-5YTDZ5WP.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-FOEPIX76.js → chunk-6EIV3H7O.js} +158 -61
- package/node_modules/pi-lens/dist/{chunk-E4VXKTBR.js → chunk-6K4X7IIF.js} +164 -172
- package/node_modules/pi-lens/dist/{chunk-HSYFLOZY.js → chunk-6RXMQYNU.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-K6WIBVMK.js → chunk-6XNVY3FW.js} +8 -9
- package/node_modules/pi-lens/dist/{chunk-ACRJ2GZ5.js → chunk-7424ANRU.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-PTSA6QKL.js → chunk-A4HKPAEN.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-RQRKIRFY.js → chunk-AFNPNHJV.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-3FRI5H4T.js → chunk-AGEQRJ5A.js} +24 -10
- package/node_modules/pi-lens/dist/{chunk-MAD4QJTP.js → chunk-AJ62EQIQ.js} +15 -14
- package/node_modules/pi-lens/dist/{chunk-FCQSZQAT.js → chunk-AOQKQWZU.js} +14 -5
- package/node_modules/pi-lens/dist/{chunk-ZOPXB2KK.js → chunk-AVOUHMCS.js} +111 -107
- package/node_modules/pi-lens/dist/{chunk-OTSTS7L2.js → chunk-AYDE7RFV.js} +34 -3
- package/node_modules/pi-lens/dist/{chunk-AWQWXSW4.js → chunk-B4FAFEBP.js} +7 -2
- package/node_modules/pi-lens/dist/{chunk-SKVNHCT5.js → chunk-B4K6OSLL.js} +49 -42
- package/node_modules/pi-lens/dist/{chunk-2ADRLTM2.js → chunk-BBJXIZ3X.js} +3 -3
- package/node_modules/pi-lens/dist/chunk-BJDB7PXU.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-GTTMQ6XB.js → chunk-BLL4VYGZ.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-CZAWWXP6.js → chunk-BMMRLJA4.js} +7 -5
- package/node_modules/pi-lens/dist/{chunk-TN5CWX5D.js → chunk-BN36MQW5.js} +35 -34
- package/node_modules/pi-lens/dist/{chunk-IL6PIV33.js → chunk-C2REOMPO.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-XAFZJEXY.js → chunk-C4ICGFEO.js} +23 -23
- package/node_modules/pi-lens/dist/chunk-CIA7X2PZ.js +26 -0
- package/node_modules/pi-lens/dist/{chunk-SJQUWQR6.js → chunk-D5L7Q57Z.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-XPGH5O74.js → chunk-DBAHJFBU.js} +31 -35
- package/node_modules/pi-lens/dist/{chunk-H65TYP6V.js → chunk-DNB4ZQGN.js} +37 -21
- package/node_modules/pi-lens/dist/chunk-DPDA3ILA.js +108 -0
- package/node_modules/pi-lens/dist/{chunk-QGITU23N.js → chunk-E3PNZDPH.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-KDCIG23C.js → chunk-E6Z3CJT2.js} +13 -9
- package/node_modules/pi-lens/dist/{chunk-V7F7JHS5.js → chunk-ECYUBKYX.js} +557 -551
- package/node_modules/pi-lens/dist/chunk-F37CCZUA.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-KSTQ4VXT.js → chunk-FVEEEEIM.js} +10 -13
- package/node_modules/pi-lens/dist/{chunk-GMC4ZGYR.js → chunk-GL6J5R34.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-C6AODRNU.js → chunk-GTNO6F6K.js} +11 -10
- package/node_modules/pi-lens/dist/{chunk-KJ3AHOCK.js → chunk-HASJPQBC.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-XVB3Q2PG.js → chunk-HGEE5LDW.js} +3 -2
- package/node_modules/pi-lens/dist/{chunk-F6FT6BVQ.js → chunk-HIUVHRLM.js} +35 -34
- package/node_modules/pi-lens/dist/{chunk-BRESRQBE.js → chunk-HTUG7ZFK.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-ALIZWXHZ.js → chunk-IBEYUBCM.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-JZQGRARR.js → chunk-IJ55MYO6.js} +15 -12
- package/node_modules/pi-lens/dist/{chunk-BGLS5SDN.js → chunk-IT7MFVGP.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-AON2QIJF.js → chunk-ITAPXBIB.js} +20 -17
- package/node_modules/pi-lens/dist/{chunk-TLWFZ66Y.js → chunk-JSQK5DH3.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-VCRVNLE7.js → chunk-K2GV34T2.js} +9 -1
- package/node_modules/pi-lens/dist/{chunk-QUQY3IME.js → chunk-KBSC5Z3G.js} +9 -8
- package/node_modules/pi-lens/dist/{chunk-W4CUK5G6.js → chunk-KDGKKK7A.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-YQA34KAF.js → chunk-KDMJ2DJD.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-SG2JQ2YP.js → chunk-KNP4ENFT.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-KX4DF6XX.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-4ITEFRDH.js → chunk-LHCDWFDB.js} +37 -145
- package/node_modules/pi-lens/dist/{chunk-3HM4BUHR.js → chunk-LHU6NG5Z.js} +16 -15
- package/node_modules/pi-lens/dist/{chunk-6I44EDNQ.js → chunk-LIDFFCZZ.js} +17 -15
- package/node_modules/pi-lens/dist/{chunk-KFRDFAOE.js → chunk-LPM6NKVI.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-NBM7PNBP.js → chunk-LXE7JAMV.js} +37 -26
- package/node_modules/pi-lens/dist/{chunk-UY745U35.js → chunk-ME6MF2N2.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-YT2VR4SL.js → chunk-NLRKB32C.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-QHOTTC4A.js → chunk-NQFXN5U7.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-QUPYLQA4.js → chunk-NR4KQOXZ.js} +14 -9
- package/node_modules/pi-lens/dist/{chunk-Y3EHLUPL.js → chunk-NWK7KKNO.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-A5TEJZGJ.js → chunk-O6LCSHHI.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-CTB5BAJI.js → chunk-OC4ZGVMH.js} +17 -14
- package/node_modules/pi-lens/dist/{chunk-VPFRU5IG.js → chunk-OP5BMZKK.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-MN635QYA.js → chunk-OYXD2MOM.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-GVWIU7M7.js → chunk-PSUXESQ5.js} +41 -4
- package/node_modules/pi-lens/dist/{chunk-J6BR5XN2.js → chunk-QAM2Q3VO.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-6MDM5MQT.js → chunk-QBUSONNE.js} +367 -153
- package/node_modules/pi-lens/dist/{chunk-VGTBLTPN.js → chunk-QDZ3ZZMY.js} +18 -66
- package/node_modules/pi-lens/dist/{chunk-LT62P654.js → chunk-QJ4T73J5.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-DOUAWKLO.js → chunk-QUZYRDT6.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-UNBRHPHJ.js → chunk-R2UF54ON.js} +17 -15
- package/node_modules/pi-lens/dist/{chunk-I32RSMH6.js → chunk-R2VUZZPJ.js} +11 -10
- package/node_modules/pi-lens/dist/chunk-R5BNSOIV.js +29 -0
- package/node_modules/pi-lens/dist/chunk-RV5VX2XW.js +29 -0
- package/node_modules/pi-lens/dist/{chunk-QWTHFFU6.js → chunk-SQBDX6IO.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-CZCAZVTD.js → chunk-SRXYSLMW.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-WS3UFJOU.js → chunk-SUIZOCSY.js} +3 -2
- package/node_modules/pi-lens/dist/{chunk-NUSXS6YB.js → chunk-T5EGSBM2.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-QMV2APEH.js → chunk-TBE4OLPA.js} +37 -35
- package/node_modules/pi-lens/dist/{chunk-B6HXETWY.js → chunk-TPMBNWHO.js} +28 -26
- package/node_modules/pi-lens/dist/{chunk-CYUJB552.js → chunk-TRYOYWWU.js} +18 -12
- package/node_modules/pi-lens/dist/{chunk-TJQSYX3J.js → chunk-TTGDTNSN.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-S3WFVG5P.js → chunk-UELHWF5I.js} +137 -126
- package/node_modules/pi-lens/dist/chunk-UG4YLCJ5.js +58 -0
- package/node_modules/pi-lens/dist/chunk-UQ6OZYTO.js +91 -0
- package/node_modules/pi-lens/dist/{chunk-QSCZAP24.js → chunk-UY3WWW5R.js} +4 -4
- package/node_modules/pi-lens/dist/chunk-V7IPIAE5.js +74 -0
- package/node_modules/pi-lens/dist/{chunk-4NCDHTFI.js → chunk-VDMF7Q2P.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-TYHOEX4V.js → chunk-VI3BJMZO.js} +35 -34
- package/node_modules/pi-lens/dist/{chunk-UOO4D2TK.js → chunk-VTXJAO5R.js} +34 -35
- package/node_modules/pi-lens/dist/chunk-W6VLB6LL.js +145 -0
- package/node_modules/pi-lens/dist/{chunk-NPNFGYLV.js → chunk-WBXCIRVI.js} +19 -2
- package/node_modules/pi-lens/dist/{chunk-CB7PEVOJ.js → chunk-WLD6BGON.js} +176 -60
- package/node_modules/pi-lens/dist/{chunk-Q2VCKC3X.js → chunk-WMCAEP2K.js} +11 -8
- package/node_modules/pi-lens/dist/{chunk-OPFNQBS5.js → chunk-WXMUGUZV.js} +21 -25
- package/node_modules/pi-lens/dist/{chunk-46TQJSUE.js → chunk-X33QECRJ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-HILZE4BQ.js → chunk-YUF4DRYB.js} +396 -306
- package/node_modules/pi-lens/dist/{chunk-YF4G5NN5.js → chunk-YVPB5YGO.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-W7TY6HYX.js → chunk-ZRQMENT4.js} +5 -27
- package/node_modules/pi-lens/dist/index.js +5573 -4181
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +17 -11
- package/node_modules/pi-lens/dist/mcp/cli.js +43 -42
- package/node_modules/pi-lens/dist/mcp/server.js +1521 -610
- package/node_modules/pi-lens/dist/mcp/worker.js +62 -59
- package/node_modules/pi-lens/dist/probes/installer.js +19 -18
- package/node_modules/pi-lens/docs/agent-guide.md +3 -1
- package/node_modules/pi-lens/docs/agent-tools.md +4 -2
- package/node_modules/pi-lens/docs/alignment-families.md +5 -1
- package/node_modules/pi-lens/docs/ci.md +120 -0
- package/node_modules/pi-lens/docs/configuration.md +21 -3
- package/node_modules/pi-lens/docs/custom-rules.md +1 -0
- package/node_modules/pi-lens/docs/defect-shapes.md +107 -71
- package/node_modules/pi-lens/docs/durable-store-audit-1202.md +1 -1
- package/node_modules/pi-lens/docs/engineering-principles.md +46 -12
- package/node_modules/pi-lens/docs/environment-variables.md +25 -2
- package/node_modules/pi-lens/docs/features.md +1 -1
- package/node_modules/pi-lens/docs/invariants/dispatch-runners.md +13 -0
- package/node_modules/pi-lens/docs/language-coverage.md +1 -1
- package/node_modules/pi-lens/docs/lsp-capability-matrix.md +15 -16
- package/node_modules/pi-lens/docs/lsp-idle-eviction.md +1 -1
- package/node_modules/pi-lens/docs/module-report-read-symbol.md +2 -2
- package/node_modules/pi-lens/docs/pi-lens-fixer.md +3 -2
- package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +1 -0
- package/node_modules/pi-lens/docs/pi-lens-monitor.md +4 -1
- package/node_modules/pi-lens/docs/pi-lens-release.md +19 -0
- package/node_modules/pi-lens/docs/pi-lens-reviewer.md +8 -2
- package/node_modules/pi-lens/docs/public-api-stability.md +41 -6
- package/node_modules/pi-lens/docs/rfcs/5138-query-surface.md +121 -0
- package/node_modules/pi-lens/docs/servercapabilities.md +1 -1
- package/node_modules/pi-lens/docs/settings.md +9 -0
- package/node_modules/pi-lens/docs/word-index.md +9 -10
- package/node_modules/pi-lens/package.json +3 -3
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/README.md +2 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/dont-call-system-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/file-access-before-action-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/file-stat-before-action-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/insecure-hash-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/libxml2-audit-parser-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/null-library-function-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/sizeof-this-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/small-key-size-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/world-writable-file-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/dont-call-system-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/file-access-before-action-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/file-stat-before-action-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/fix-format-security-error-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/insecure-hash-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/libxml2-audit-parser-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/missing-nul-cpp-string-memcpy-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/null-library-function-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/return-c-str-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/sizeof-this-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/small-key-size-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/std-return-data-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/std-vector-invalidation-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/string-view-temporary-string-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/world-writable-file-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/httponly-false-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/insecure-binaryformatter-deserialization-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-decode-without-verify-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-tokenvalidationparameters-no-expiry-validation-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/networkcredential-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/npgsqlconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/oracleconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/sqlconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/stacktrace-disclosure-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/use-ecb-mode-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/avoid-bind-to-all-interfaces-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/gorilla-cookie-store-hardcoded-session-key-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/gorilla-csrf-hardcoded-auth-key-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/grpc-client-insecure-connection-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/jwt-go-none-algorithm-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/missing-ssl-minversion-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/openai-empty-secret-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/openai-hardcoded-secret-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/ssl-v3-is-insecure-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/tls-with-insecure-cipher-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/use-of-weak-rsa-key-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/html/security/plaintext-http-link-html.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cbc-padding-oracle-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-httponly-false-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-httponly-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-samesite-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-secure-flag-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-secure-flag-false-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/datanucleus-hardcoded-connection-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/des-is-deprecated-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/desede-is-deprecated-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-disallow-doctype-decl-false-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-external-general-entities-true-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-external-parameter-entities-true-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/drivermanager-hardcoded-secret-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/ecb-cipher-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/hardcoded-connection-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/hardcoded-secret-in-credentials-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/java-jwt-hardcoded-secret-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/jedis-jedisclientconfig-hardcoded-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/jedis-jedisfactory-hardcoded-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/missing-httponly-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/missing-secure-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/no-null-cipher-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/passwordauthentication-hardcoded-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/rsa-no-padding-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/simple-command-injection-direct-input-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/system-setproperty-hardcoded-secret-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/unencrypted-socket-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-aes-ecb-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-blowfish-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-default-aes-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-md5-digest-utils-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-md5-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-rc2-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-rc4-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-sha1-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/weak-ssl-context-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/detect-angular-sce-disabled-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/express-jwt-hardcoded-secret-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/express-session-hardcoded-secret-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/jwt-simple-noverify-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-rsa-weak-key-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-sequelize-empty-password-argument-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-sequelize-hardcoded-secret-argument-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/des-is-deprecated-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/desede-is-deprecated-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/jwt-hardcode-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/rsa-no-padding-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/system-setproperty-hardcoded-secret-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/php/security/openssl-cbc-static-iv-php.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/php/security/search-active-debug-php.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/avoid-mktemp-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/avoid_app_run_with_bad_host-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/debug-enabled-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/hashids-with-django-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/hashids-with-flask-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/insecure-cipher-algorithm-rc4-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/jwt-python-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/openai-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-cassandra-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-cassandra-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-couchbase-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-couchbase-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-elasticsearch-hardcoded-bearer-auth-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-ldap3-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-ldap3-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mariadb-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mariadb-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysqlclient-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysqlclient-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-neo4j-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-neo4j-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-mysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-mysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-pg-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-pg-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pg8000-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pg8000-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-psycopg2-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-psycopg2-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pyjwt-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymongo-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymongo-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymssql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymssql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-redis-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-redis-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-oauth-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-tormysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-tormysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-urllib3-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-webrepl-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-webrepl-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/force-ssl-false-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/hardcoded-http-auth-in-controller-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/hardcoded-secret-rsa-passphrase-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/insufficient-rsa-key-size-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-aws-sdk-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-cassandra-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-cassandra-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-excon-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-faraday-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mongo-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mongo-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mysql2-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mysql2-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-octokit-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-pg-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-pg-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-redis-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-redis-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/empty-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/hardcoded-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/postgres-empty-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/reqwest-accept-invalid-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/secrets-reqwest-hardcoded-auth-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/ssl-verify-none-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/tokio-postgres-empty-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/tokio-postgres-hardcoded-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/scala/security/jwt-scala-hardcode-scala.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/scala/security/scala-jwt-hardcoded-secret-scala.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/aes-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/blowfish-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/chacha20-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/insecure-biometrics-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/rabbit-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/detect-angular-sce-disabled-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/express-session-hardcoded-secret-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/jwt-simple-noverify-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-rsa-weak-key-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-sequelize-empty-password-argument-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-sequelize-hardcoded-secret-argument-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-schema.json +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/c-no-malloc-free.yml +13 -12
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/cpp-no-malloc-free.yml +11 -10
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/cpp-no-printf.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-defer-func-call-antipattern.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-no-fmt-println.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-no-panic-in-lib.yml +20 -19
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-no-underscore-func-name.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-prefer-errors-is.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-prefer-string-builder.yml +19 -18
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-test-functions.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/hyphenated-svg-attribute.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-lateinit.yml +12 -11
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-nullable-boolean.yml +11 -10
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-println.yml +15 -14
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-unnecessary-let.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-unsafe-cast.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-var.yml +11 -10
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-prefer-data-class.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-prefer-is-empty.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-aws-access-key-literal.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-compile-call.yml +13 -12
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-flask-secret-key-literal.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-hardcoded-password.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-marshal-load.yml +12 -11
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-python-sql-string-concat.yml +12 -11
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-requests-verify-false.yml +13 -12
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-secret-in-env-var-name.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/python-optional-type.yml +9 -8
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/reducible-list-comprehension.yml +8 -7
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/ruby-detect-path-traversal.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/ruby-symbol-to-proc-candidate.yml +8 -7
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/rust-no-chars-enumerate.yml +9 -8
- package/node_modules/pi-lens/rules/ast-grep-rules/rules-disabled/gorm-unbounded-preload.yml +7 -6
- package/node_modules/pi-lens/rules/ast-grep-rules/rules-disabled/shadow-err-variable.yml +6 -5
- package/node_modules/pi-lens/scripts/analyze-pi-lens-logs.mjs +262 -3
- package/node_modules/pi-lens/scripts/lib/latency-log-phases.mjs +125 -0
- package/package.json +6 -6
- package/node_modules/pi-lens/dist/chunk-3QWVOBZJ.js +0 -73
- package/node_modules/pi-lens/dist/chunk-BDR5MEZY.js +0 -25
- package/node_modules/pi-lens/dist/chunk-DBS736MA.js +0 -57
- package/node_modules/pi-lens/dist/chunk-I74RQGKA.js +0 -88
- package/node_modules/pi-lens/dist/chunk-IK4YS3KC.js +0 -25
- package/node_modules/pi-lens/dist/chunk-JKOZ2Z4U.js +0 -20
- package/node_modules/pi-lens/dist/chunk-TQHOKMVZ.js +0 -28
- package/node_modules/pi-lens/dist/chunk-VS2L7QDI.js +0 -25
- package/node_modules/pi-lens/dist/chunk-ZPFLHB3R.js +0 -28
|
@@ -15,7 +15,7 @@ respawned server reports every finding it reported before eviction; the
|
|
|
15
15
|
content-bound coverage check the auxiliary freeze depends on. A server that
|
|
16
16
|
cannot demonstrate it is never proposed for eviction on perf grounds alone.
|
|
17
17
|
|
|
18
|
-
_Last generated: 2026-11-
|
|
18
|
+
_Last generated: 2026-11-08 on linux; 51 registry servers: 38 eligible, 0 vetoed, 3 inconclusive, 10 unavailable (0 not reached: budget)._
|
|
19
19
|
|
|
20
20
|
## Per-server rows
|
|
21
21
|
|
|
@@ -250,8 +250,8 @@ member's own `exported` rides on its container's section), and lands at about
|
|
|
250
250
|
|
|
251
251
|
Both tools are also exposed via the pi-lens MCP server:
|
|
252
252
|
|
|
253
|
-
- `pilens_module_report({
|
|
254
|
-
- `pilens_read_symbol({
|
|
253
|
+
- `pilens_module_report({path, cwd?, maxRefsPerSymbol?, focus?, view?, blastRadius?, blastRadiusDepth?})`
|
|
254
|
+
- `pilens_read_symbol({path, symbol, kind?, cwd?})`
|
|
255
255
|
|
|
256
256
|
The MCP wrappers return the same text or JSON payload the pi tools emit for
|
|
257
257
|
the same preset — `pilens_module_report` default text equals `module_report`
|
|
@@ -18,8 +18,9 @@ A new test starts from `tests/support/`: a registration question (flags,
|
|
|
18
18
|
tools, commands, declarations) goes through tier 1
|
|
19
19
|
(`tests/support/pi-runner.ts`, a real `ExtensionRunner`), a session-flow case
|
|
20
20
|
through tier 2 (`tests/support/pi-session.ts`), and a JSON-lines sink through
|
|
21
|
-
`readNdjsonRows` (`tests/support/ndjson-rows.ts`),
|
|
22
|
-
when the claim needs the complete output
|
|
21
|
+
`readNdjsonRows` (`tests/support/ndjson-rows.ts`), never a local `JSON.parse`
|
|
22
|
+
loop, asserting `skipped === 0` when the claim needs the complete output,
|
|
23
|
+
because the reader drops a line it cannot parse. No fake of an in-process store or
|
|
23
24
|
registry; other doubles only as `AGENTS.md` admits them.
|
|
24
25
|
|
|
25
26
|
- Trace the production entry point and reproduce the defect through it
|
|
@@ -874,5 +874,6 @@ Each row cost a lane at least once; the prose above carries the record.
|
|
|
874
874
|
| Dispatching a user-facing design before the maintainer has seen the output | #5202 round 4 was interrupted twice as the maintainer moved from full prose to headlines to a straight copy of the release bodies (2026-11-02). Show the rendered sample and agree the design before the round |
|
|
875
875
|
| Running the bot-thread gate only once, after CI | A CodeRabbit thread on #5298 and a real Greptile finding on #5286 arrived during the advisory wait, after the gate had passed; #5298 merged over it and #5286 was stopped by hand (2026-11-05). Mechanical, orchestrator tooling outside this repo: the merge step now re-runs the gate right before the merge call, pinned by its own red test |
|
|
876
876
|
| Writing an issue's premise from a constant without tracing the loop that runs | #5307's body named `BATCH=3000` as the test's cost; that constant was dead and the executing loop was 4296 iterations, so the fixer re-scoped the lane (2026-11-05). Premise first binds the orchestrator's issue bodies too: trace the constant to the code path that executes before filing |
|
|
877
|
+
| Acting on a routine's range claim ("lines N-M are stale") as one block | The residual-recheck routine called #4626 lines 402-403 superseded; only 403 was, and 402's gap is still live on master (2026-11-08). Check each line against master before editing a record from a routine report |
|
|
877
878
|
| Verifying a store-parity fix against the claims, not the row states | #5302 verify r2 passed the two cases the PR claimed and missed a third row state the reference reader honours (past-EOF). `docs/pi-lens-reviewer.md` "Store-reader parity" |
|
|
878
879
|
| Passing on a reviewer's prescribed remedy after checking only that its test went green | The PR-Synopsis F7 remedy kept a refresh through a failed run start. Its test counted comment edits and passed, while the refresh published the failed start's reset state, so every bot read no-review (PR-Synopsis #19 verify, 2026-11-05). A prescription is a hypothesis: the verify round probes the output it changes (the published record, the delivered finding), never a call count |
|
|
@@ -86,7 +86,10 @@ the requested window.
|
|
|
86
86
|
`n | timed_n | p50 | p95 | max | total_ms`, sorted by total, top 15.
|
|
87
87
|
Count every row in `n`; compute
|
|
88
88
|
timing columns only from numeric `durationMs`, in ms, with `timed_n`
|
|
89
|
-
showing that sample count.
|
|
89
|
+
showing that sample count. A row that carries `ageMs` is an age, not a
|
|
90
|
+
duration (#5379), and so is a pre-#5379 line of a phase in
|
|
91
|
+
`LEGACY_AGE_PHASES` (`scripts/lib/latency-log-phases.mjs`): count it in `n`,
|
|
92
|
+
never in a timing column. Show `-` when no durations exist. List count-only
|
|
90
93
|
phases separately so the timing top 15 cannot hide `cascade_carry_rendered`;
|
|
91
94
|
include its `metadata.carriedRunsRendered` and `metadata.labeledAdvisories`
|
|
92
95
|
totals.
|
|
@@ -18,4 +18,23 @@ A `user` fragment carries an `area` and the one shape
|
|
|
18
18
|
`- **Headline sentence.** Body. (refs #N)`; `.changelog/README.md` lists the
|
|
19
19
|
rules, and internal fragments are exempt.
|
|
20
20
|
|
|
21
|
+
### Release roll: duplicate entries and highlights
|
|
22
|
+
|
|
23
|
+
The orchestrator's `release-roll.sh` runs the first step after it rolls the
|
|
24
|
+
fragments into `CHANGELOG.md` (it works in `--dry`), and both steps belong to the
|
|
25
|
+
release PR:
|
|
26
|
+
|
|
27
|
+
1. `node scripts/rollup-changelog.mjs --duplicates <version>` prints a checklist
|
|
28
|
+
of entry pairs of one section and one area whose headlines have a word
|
|
29
|
+
overlap of 0.4 or more, or that share three or more code spans. The roll
|
|
30
|
+
appends it to its `summary.md`, the source of the release PR body; run it by
|
|
31
|
+
hand to re-check after an edit. It edits no file. The maintainer merges,
|
|
32
|
+
keeps or dismisses each pair in that PR; an unchecked box is not a gate.
|
|
33
|
+
2. The orchestrator drafts 3 to 5 highlights and the maintainer approves them in
|
|
34
|
+
that PR as `.changelog/highlights/<version>.md`: the line `### Highlights`,
|
|
35
|
+
then 3 to 5 `- ` bullets, nothing else. `changelog-extract.mjs --summary`
|
|
36
|
+
(what `release.yml` passes) puts that block on top of the release body, and
|
|
37
|
+
`rollup-changelog.mjs --check` refuses a malformed file. `CHANGELOG-USER.md`
|
|
38
|
+
stays count-only. No model runs in CI and no step needs a secret.
|
|
39
|
+
|
|
21
40
|
</important>
|
|
@@ -45,7 +45,13 @@ are the author's claims. A verify round is exempt (#5319).
|
|
|
45
45
|
worktree (`<worktree>/../probes-<pr>` or the lane's `$TMPDIR`): an untracked `.mjs`
|
|
46
46
|
inside it reds `tests/scripts/lint-js.test.ts` (#2865). Attack inversions
|
|
47
47
|
(real failures downgraded, healthy paths narrowed); concurrency (shared
|
|
48
|
-
state, retained settled promises, check-then-act across an await);
|
|
48
|
+
state, retained settled promises, check-then-act across an await); liveness
|
|
49
|
+
and retry (every non-terminal state a probe can reach has an exit the
|
|
50
|
+
production path takes, and running an operation twice, by retry, resume or
|
|
51
|
+
a second `session_start`, ends in the same state with no second side
|
|
52
|
+
effect; name each state you could not drive to an exit); silent swallow
|
|
53
|
+
(every catch or default-returning fallthrough on a touched path shows where
|
|
54
|
+
its failure is recorded); session
|
|
49
55
|
boundaries (once-only state after `resetDegradationLedger()` or
|
|
50
56
|
`session_start`, probed with the SAME cached object); cadence (cooldowns
|
|
51
57
|
against the caller's real retry interval, both directions); input channels,
|
|
@@ -82,7 +88,7 @@ does not ship.
|
|
|
82
88
|
| A file under `clients/lsp/`, `formal/`, or any path `formal/switch-pins.json` names | The model moves with the code: a `.tla`/`.cfg` hunk and its TLC verdict, or a `TLA+ unaffected:` line; a flipped constant flips its config and its pin (AGENTS shape 68) | The line, or the model diff plus the verdict, and the pin's test name for a flipped constant | #4575 (Greptile r4304045020: the model did not move with the code), #4387, #4393 |
|
|
83
89
|
| A spawn, shell or path seam: `clients/package-manager.ts`, `clients/lsp/launch.ts`, `clients/path-utils.ts`, `clients/safe-spawn.ts`, or any `trySpawn` caller | Read the Windows lane, and keep a shim cell that asserts the platform command (AGENTS "Test requirements"; `docs/invariants/dispatch-runners.md` "Dispatch, runners, formatters, and installers") | The `Unit tests Windows` row on the head, or the shim cell's platform assertion | #4566 (Greptile r4304149666: the `.cmd` cells), #4356, #4263 |
|
|
84
90
|
| A rung that can execute project code | Judge the rung by the resolved target under every trust state, never by the name it was called with (`docs/invariants/lsp-trust-exec.md` "LSP, trust, and process execution") | The target table: each spelling, its resolved path, and the verdict under trusted, unknown and denied | #4566 (an empty `PATH` and a global link each ran project code), #4530 |
|
|
85
|
-
| A new shared helper | Net-count rule: delete a same-shape sibling in this change (principles §1 "
|
|
91
|
+
| A new shared helper | Net-count rule: delete a same-shape sibling in this change (principles §1 "Deepen the module, keep the net count") | The deleted sibling in `Change outline`, or the unsafe-to-fold reason with its follow-up link | #2585 r1, #2617 r1 (an existing override and scan set bypassed or recopied), #3064, #3065, #3066, #3068 (a fold's newly sole predicate left untested) |
|
|
86
92
|
| A second writer, reader or mirror of one shared record | Design shared state once, with a reason or kind discriminator per writer (principles §1 "Design shared state once"; AGENTS shape 24) | The writers-by-axis table, and the discriminator each writer carries | #1631/#1641 (the `stale` collision that was green alone), #1633, #1703 |
|
|
87
93
|
| A durable record whose shape changes, or a new version of one | Keep the fixture corpus: every version that produced the record still parses (principles §2 "Keep fixture corpora") | The fixture path and the parser test that replays it | #3594 R2-F1 (AGENTS shape 57) |
|
|
88
94
|
| A cache or memo key | Key every input the value depends on, trust scope and install state included (AGENTS shape 6) | The key's input list beside the value's dependencies, and the mutation that changes one input | #4562 (a large update left a cached answer), #4566 (a trust change left tools missing) |
|
|
@@ -404,12 +404,47 @@ wrong scope — a tool that only declares an older name refuses or ignores the
|
|
|
404
404
|
canonical one, and an ignored file parameter leaves the call running on its
|
|
405
405
|
default scope, whose answer then reads as if it were about the named file.
|
|
406
406
|
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
407
|
+
Three MCP entries (`pilens_analyze`, `pilens_diagnostics`,
|
|
408
|
+
`pilens_lsp_navigation`) keep declaring **`file`** and **`filePath`**, and
|
|
409
|
+
`lens_diagnostic_mark` keeps accepting **`filePath`**, as aliases of `path`, so
|
|
410
|
+
no caller written against an older spelling breaks. A call may send any one of
|
|
411
|
+
them; a call that sends two spellings naming different files is refused rather
|
|
412
|
+
than guessed at. Adding a fourth spelling, or dropping one of these, changes
|
|
413
|
+
this contract through section 4.
|
|
414
|
+
|
|
415
|
+
#### Contract change: the four pi-projected tools declare only `path`
|
|
416
|
+
|
|
417
|
+
`pilens_module_report`, `pilens_read_symbol`, `pilens_read_enclosing` and
|
|
418
|
+
`pilens_effective_config` take their `inputSchema` from the pi tool definition
|
|
419
|
+
(#5138 PR 3), so they advertise exactly what the pi tool declares — `path`, and
|
|
420
|
+
no `file` or `filePath` alias. This is a change to the MCP input contract. The
|
|
421
|
+
maintainer approved it as Option A (drop `file` and `filePath` on the projected
|
|
422
|
+
tools in this arc) in [the #5438
|
|
423
|
+
approval comment](https://github.com/apmantza/pi-lens/pull/5438#issuecomment-6727074808),
|
|
424
|
+
and it is recorded here rather than carried as a deprecation window: a window
|
|
425
|
+
exists to let callers migrate off a *config source*, and these are call
|
|
426
|
+
arguments that the runtime reader still understands.
|
|
427
|
+
|
|
428
|
+
What a caller sees:
|
|
429
|
+
|
|
430
|
+
- the schema and the tool description name `path` only, so a model reading the
|
|
431
|
+
tool list is never sent to an alias;
|
|
432
|
+
- a `file`-only call to `pilens_module_report`, `pilens_read_symbol` or
|
|
433
|
+
`pilens_read_enclosing` is now **refused**, under condition 1 above, because
|
|
434
|
+
`path` is `required` and the call did not send it;
|
|
435
|
+
- a `file`-only call to `pilens_effective_config` still answers, with the
|
|
436
|
+
ignored-argument report, because its handler keeps reading the shared
|
|
437
|
+
single-file reader; condition 2 does not fire for a bare `file`, which is not
|
|
438
|
+
a head-noun match for `path`;
|
|
439
|
+
- a `filePath` or `file_path` send on any of the four is refused under
|
|
440
|
+
condition 2, as a mistyped `path` that was not sent.
|
|
441
|
+
|
|
442
|
+
Impact evidence from the review corpus behind the decision: of 471
|
|
443
|
+
schema-following calls, 471 used `path`; 9 sends used `file`, every one of them
|
|
444
|
+
on a tool whose schema advertised `file`; no call omitted `path` where it was
|
|
445
|
+
required. No hardcoded client spelling is assumed. The pinned refusal corpus in
|
|
446
|
+
`tests/mcp/server.smoke.test.ts` moves with this change (431 → 337 rows: 96
|
|
447
|
+
alias rows leave, 2 `filePath`/`file_path` → `path` rows arrive).
|
|
413
448
|
|
|
414
449
|
### The MCP tool result block contract
|
|
415
450
|
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# RFC 5138: `symbol_search` query surface
|
|
2
|
+
|
|
3
|
+
**Status:** PR 2 scope implemented (#5135). PR 0 (instrument, #5355) is open; PR 3 (schema
|
|
4
|
+
projection) and PR 4 (D9 step b) are pending.
|
|
5
|
+
|
|
6
|
+
**Tracking Issue:** [apmantza/pi-lens#5138](https://github.com/apmantza/pi-lens/issues/5138)
|
|
7
|
+
|
|
8
|
+
**Related Issues/PRs:** #5135 (listing + contract), #5136 (`ext:` suffix match), #5288 (D9 step a)
|
|
9
|
+
|
|
10
|
+
**Authors:** `rfc5135` lane
|
|
11
|
+
|
|
12
|
+
Decision IDs below are the ones on the tracking issue (D1–D8), extended by D9 and the rulings the
|
|
13
|
+
maintainer recorded on 2026-11-04. They are cited by those IDs in review, in PR bodies, and in
|
|
14
|
+
`AGENTS.md`-adjacent prose, so a renumbering would break every cross-reference.
|
|
15
|
+
|
|
16
|
+
## 1. Problem
|
|
17
|
+
|
|
18
|
+
A filter-only `symbol_search` query (`file:clients/`, `-file:test`) returned an empty result and
|
|
19
|
+
rendered `No files matched`, which reads as "nothing exists". A term-less call with structured
|
|
20
|
+
`paths` reached the same early return, so the inline and structured entry paths diverged. An empty
|
|
21
|
+
query also differed by surface: pi rendered `No files matched ""` while MCP answered `Provide a
|
|
22
|
+
non-empty query.`
|
|
23
|
+
|
|
24
|
+
The `lang` filter resolved through two tables: inline `lang:` used `KIND_EXTENSIONS` (file kinds),
|
|
25
|
+
structured `lang` used the language registry (ids). A kind such as `jsts` therefore worked inline
|
|
26
|
+
but not structured, and an unknown value answered "no match" instead of refusing.
|
|
27
|
+
|
|
28
|
+
The same root cause produced three more wrong answers, measured in #5138's census: an unknown
|
|
29
|
+
`severity` disabled the filter, an unknown `read_symbol.kind` fell back to all kinds, and an
|
|
30
|
+
unreadable file read as `found: false` — each a silent default where a refusal belonged.
|
|
31
|
+
|
|
32
|
+
## 2. Decisions
|
|
33
|
+
|
|
34
|
+
| ID | Decision | Enforcement |
|
|
35
|
+
| --- | --- | --- |
|
|
36
|
+
| **D1** | **The key set is closed and named.** `lang`, `file`, `ext`, in `WORD_INDEX_QUERY_FILTER_KEYS`. | Adding, renaming, or removing a key requires an amendment here. Enforced behaviourally in `tests/clients/word-index.test.ts`: `recognises exactly lang, file, and ext as filter keys` reds on a fourth key, and `keeps an unknown prefix as a literal search term` reds if an unknown prefix starts filtering. |
|
|
37
|
+
| **D2** | **Every key validates its value or is documented as free-form.** `lang:` resolves through one owner and refuses an unknown token; `file:` is free-form by design (substring); `ext:` is **permissive** — `ts`, `.ts`, and `test.ts` all match a path suffix, with no shape validation (maintainer: "permissive `-ext`"). | A known key with a bad value refuses, naming the accepted values. `file:`/`ext:` never refuse. |
|
|
38
|
+
| **D3** | **A term-less query that carries a scope returns the scope listing.** Inline filters, or structured `paths`/`lang`. The listing seeds score 1 and runs the **same** prior block and comparator as a term search, so a demoted file cannot hide behind the alphabetical tie-break. | `searchWordIndex(index, "file:clients/")` returns the files under `clients/`, and a term-less call with `paths: ["clients/"]` returns the same set shape. Neither renders `No files matched` while its predicate matches. |
|
|
39
|
+
| **D4** | **Structured arguments are the contract; inline filters are sugar — and the two vocabularies are mapped, not identical.** `lang` is the one aligned pair; `file:` is a substring on the display path while `paths` is a subtree glob; `ext:` has no structured twin. | A mapping table (§3) and cells pinning each relationship, including the deliberate `file:`/`paths` difference (@Don-Yin, #5135). |
|
|
40
|
+
| **D5** | **Kind vocabulary is LSP `SymbolKind`.** If `kind:` is ever added its values are LSP kind names, not pi-lens-local synonyms. | **Parked** (maintainer: "kind: stays parked"). No `kind:` key exists, and the tool schema and docs carry no second vocabulary. |
|
|
41
|
+
| **D6** | **Unknown prefixes stay literal terms, and the description says so.** `std::vector`, `http://…`, `C:\paths`, and `TODO:tag` keep searching as terms. | The tool description states the policy. `tests/tools/symbol-search.test.ts` (`the query description states the three keys, the literal-prefix rule and the listing rule`) asserts independent literals on `SYMBOL_SEARCH_QUERY_DESCRIPTION` and reds if the sentence is dropped or reworded; the tool-roster byte baseline is a second witness that a re-pin can silence. |
|
|
42
|
+
| **D7** | **The accepted surface is pinned.** The description text and the key list are model-facing and re-read every session. | Two pins. Identity: both surfaces import the one constant (`the tool's own description is the exported constant` in `tests/tools/symbol-search.test.ts`, `advertises the query contract sentence` in `tests/mcp/symbol-search.smoke.test.ts`), so the surfaces cannot drift apart. Content: the independent-literal cell named under D6 asserts the three keys, the literal-prefix rule and the listing rule, so the text itself cannot be silently dropped. Identity alone passes when the constant is edited, which is why it is not the content pin. |
|
|
43
|
+
| **D8** | **Measured, not assumed, on a named population.** Accepted when the empty-result rate falls and the same-file repeat-read rate does not rise, for queries that carry an inline `file:` or `ext:` filter — not for every scoped query. | `scripts/symbol-search-query-metrics.mjs` reports `emptyRate` over that population (an error is not an answer, so it stays in the denominator and prints as `scopedError`), `repeatReadRate` (any read after the session's first listing of a file it had already read; no window), `drilldownRate`, and `unscannableRate` (fail-closed: any `symbol_search` occurrence it cannot read as a literal call is unscannable, never dropped). Misses scoped by `paths`/`lang` print as `structuredScoped` counts, not a rate. `--since`/`--until` bracket each merge. No CI gate. |
|
|
44
|
+
| **D9** | **One failure policy.** A known key with a bad value fails loudly on every surface; a value that is merely unresolvable never reads as a match. | Step (a), patch level, merges the three wrong-answer sites (#5288). Step (b), schema-wide value refusal, is PR 4 and flips run→refuse, so it carries the `docs/public-api-stability.md` amendment and the maintainer sign-off. |
|
|
45
|
+
|
|
46
|
+
### Rulings on record
|
|
47
|
+
|
|
48
|
+
- **D9 step (a) is a bug fix, step (b) is a contract change.** Maintainer, 2026-11-04: fix
|
|
49
|
+
`severity`, `read_symbol.kind`, and the unreadable-file case now; do the schema-wide refusal with
|
|
50
|
+
PR 4.
|
|
51
|
+
- **No exemption list.** The seam refuses whatever the schema declares, so a per-tool opt-out cannot
|
|
52
|
+
grow.
|
|
53
|
+
- **A valid kind with no extensions refuses** (`terragrunt`), and the refusal names the
|
|
54
|
+
`file:terragrunt.hcl` route as the way in. It stays in the D9 census so PR 4 handles it instead of
|
|
55
|
+
leaving a silent empty.
|
|
56
|
+
- **A call with neither terms nor scope is an `isError` refusal**, with one sentence shared by both
|
|
57
|
+
surfaces. A term-less call that carries a scope returns a listing — the two entry paths must not
|
|
58
|
+
diverge (Q4, from @Don-Yin's #5135 finding).
|
|
59
|
+
- **Project the MCP `inputSchema` from the pi `parameters`** (PR 3), and adopt `constrainedSampling`
|
|
60
|
+
on the enum-bearing tools. Order is PR 0 → PR 4 with no folds, so validation is written once
|
|
61
|
+
against one schema source.
|
|
62
|
+
- **Prose is derived.** The schema constant owns the sentence, docs link to it, and a doc that
|
|
63
|
+
restates behaviour is a bug.
|
|
64
|
+
|
|
65
|
+
## 3. `lang`, `file`, `ext`, and `paths` mapping
|
|
66
|
+
|
|
67
|
+
The inline filter and the structured argument are NOT interchangeable for every key; only `lang` is
|
|
68
|
+
an aligned pair.
|
|
69
|
+
|
|
70
|
+
| Surface form | Semantics |
|
|
71
|
+
| --- | --- |
|
|
72
|
+
| inline `file:<substr>` | substring match on the index's display path (`resolveWordIndexFilter`) |
|
|
73
|
+
| structured `paths: [...]` | subtree glob matched relative to `cwd` (`fileMatchesPathGlobs`) |
|
|
74
|
+
| inline `ext:<ext>` | suffix match with no structured twin |
|
|
75
|
+
| inline `lang:<kind\|id>` / structured `lang` | the one aligned pair, both resolved by `resolveLanguageScope` |
|
|
76
|
+
|
|
77
|
+
So `file:clients/` also matches a nested `tests/clients/...`, while `paths: ["clients/"]` scopes
|
|
78
|
+
only the root `clients/` subtree. The tool description owns the query contract; this table links to
|
|
79
|
+
it rather than restating it.
|
|
80
|
+
|
|
81
|
+
## 4. Surface contract
|
|
82
|
+
|
|
83
|
+
- A listing row is a `file` row: ` N. <path>` with no score, no line, and no hit count. The
|
|
84
|
+
producer (`RankedFile.kind`) owns the shape; the renderer never infers it from a hit count or an
|
|
85
|
+
empty line list and never fabricates a line.
|
|
86
|
+
- A term search row is a `symbol` row: path, best-matching line, score, hit count, and any graph
|
|
87
|
+
annotations.
|
|
88
|
+
- The refusal sentence and the description live in one place. Docs link to them; a doc that restates
|
|
89
|
+
behaviour is a bug.
|
|
90
|
+
|
|
91
|
+
## 5. Sequence
|
|
92
|
+
|
|
93
|
+
| # | Slice | State |
|
|
94
|
+
| --- | --- | --- |
|
|
95
|
+
| 0 | `scripts/symbol-search-query-metrics.mjs` (measurement only) | open, #5355; the maintainer is finishing the review items on that branch |
|
|
96
|
+
| 1 | `ext:` suffix match (#5136) | merged, #5282 |
|
|
97
|
+
| 1b | D9 step (a), three wrong-answer sites (#5288) | merged |
|
|
98
|
+
| 2 | Listing, `lang` owner, description owner (#5135) | this change |
|
|
99
|
+
| 3 | MCP `inputSchema` projected from `parameters`, `constrainedSampling` | pending |
|
|
100
|
+
| 4 | D9 step (b), schema-wide value refusal plus identity ratchets | pending |
|
|
101
|
+
|
|
102
|
+
## 6. Non-goals
|
|
103
|
+
|
|
104
|
+
- `kind:` key support is parked on #5138.
|
|
105
|
+
- Schema-wide value enforcement is PR 4.
|
|
106
|
+
- A valid kind with no extensions (`terragrunt`) stays a documented gap owned by PR 4, which refuses
|
|
107
|
+
it and names the `file:terragrunt.hcl` route.
|
|
108
|
+
- No AST or Cypher query language, no new tool names, no alias removal.
|
|
109
|
+
|
|
110
|
+
## 7. Verification
|
|
111
|
+
|
|
112
|
+
The PR body carries the red-then-green cell transcripts and the hand-mutation rows (prior
|
|
113
|
+
multiplier, inline-filters guard, `file`/`symbol` discriminator, `rows()` throw guard, filter key
|
|
114
|
+
set). The cells live in `tests/clients/word-index.test.ts`, `tests/tools/symbol-search.test.ts`,
|
|
115
|
+
`tests/mcp/symbol-search.smoke.test.ts`, and `tests/clients/language-registry-drift.test.ts`.
|
|
116
|
+
|
|
117
|
+
Two guards deliberately do not exist. There is no separate "exported key list" arch test: the
|
|
118
|
+
key-set cells above drive `parseWordIndexQuery`, so they already probe that population at runtime,
|
|
119
|
+
and a spelling-level duplicate would add no coverage. There is also no "no doc restates the
|
|
120
|
+
contract" sweep: Q8's enforcement is the identity and content pins on the description (D7) plus docs that link to it,
|
|
121
|
+
and a lexical sweep over prose would red on quoting the sentence it is trying to forbid.
|
|
@@ -6,7 +6,7 @@ server's `initialize` handshake. Generated by `node scripts/server-capabilities.
|
|
|
6
6
|
absent on the generating host are listed under *Unavailable* — run in a
|
|
7
7
|
provisioned environment (the nightly) to capture those rows.
|
|
8
8
|
|
|
9
|
-
_Last generated: 2026-11-
|
|
9
|
+
_Last generated: 2026-11-08 on linux; 42 servers captured, 9 unavailable._
|
|
10
10
|
|
|
11
11
|
## Diagnostic mode + navigation/edit operations
|
|
12
12
|
|
|
@@ -146,6 +146,15 @@ These take values (numbers, arrays, strings) rather than being on/off, so they
|
|
|
146
146
|
have no CLI flag. See the [Configuration reference](./globalconfig.md) for full
|
|
147
147
|
field docs.
|
|
148
148
|
|
|
149
|
+
A project-scoped key is layered across every `.pi-lens.json` from the working
|
|
150
|
+
directory up to the git root (#5291; the `$HOME` ceiling when there is no git
|
|
151
|
+
root, and a file in a folder above the repo is never merged in): the nearest
|
|
152
|
+
file that sets a key wins, field by field, so a package that sets one key keeps the repo root's other settings;
|
|
153
|
+
the turn-off lists (`rules.<id>.disable`, `lsp.disabledServers`,
|
|
154
|
+
`dispatch.disabledRunners`) are the union of every file, so a nearer file can
|
|
155
|
+
add a denial but never re-enable one. See
|
|
156
|
+
[Which file wins](./configuration.md#which-file-wins).
|
|
157
|
+
|
|
149
158
|
| Key | Where | Default | What it does |
|
|
150
159
|
| --- | --- | --- | --- |
|
|
151
160
|
| `ignore` | global + project | `[]` | Gitignore-style globs excluded from every scan |
|
|
@@ -47,9 +47,9 @@ each through `splitIdentifier`; queries are tokenized the same way so
|
|
|
47
47
|
The query string can mix plain terms with composable `key:value` filters,
|
|
48
48
|
parsed by `parseWordIndexQuery` (`clients/word-index.ts`) before tokenization:
|
|
49
49
|
|
|
50
|
-
- `lang:<kind>` —
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
- `lang:<kind|id>` — resolved by `resolveLanguageScope`
|
|
51
|
+
(`clients/language-registry.ts`), the one owner shared with the structured
|
|
52
|
+
`lang`.
|
|
53
53
|
- `file:<substr>` — path substring match against the index's own stored path,
|
|
54
54
|
normalized through `wordIndexKey` (case-folded on win32 only, matching how
|
|
55
55
|
the index's own path-keyed maps already fold win32 paths, #1025).
|
|
@@ -64,13 +64,12 @@ Filters are applied as a `fileFilter` predicate BEFORE BM25/priors/centrality
|
|
|
64
64
|
scoring (same seam as the pre-existing `paths`/`lang` structured options,
|
|
65
65
|
#771), so a surviving file's score is unaffected by filtering. An unrecognized
|
|
66
66
|
`key:` token passes through as an ordinary search term (colon-bearing terms
|
|
67
|
-
like `std::vector`, URLs, and Windows paths search normally).
|
|
68
|
-
|
|
69
|
-
`
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
straight through to `searchWordIndex` (the entry point where parsing happens).
|
|
67
|
+
like `std::vector`, URLs, and Windows paths search normally). The query
|
|
68
|
+
contract is owned by the tool description (`SYMBOL_SEARCH_QUERY_DESCRIPTION`
|
|
69
|
+
in `tools/symbol-search.ts`); this page does not restate it. Both the pi
|
|
70
|
+
`symbol_search` tool and the MCP `pilens_symbol_search` mirror inherit the
|
|
71
|
+
syntax for free since both pass their `query` argument straight through to
|
|
72
|
+
`searchWordIndex` (the entry point where parsing happens).
|
|
74
73
|
|
|
75
74
|
DF-normalization: BM25's per-token `idf` is computed from the FULL,
|
|
76
75
|
unfiltered posting for that token before `fileFilter` is applied per
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-lens",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Real-time code feedback for pi — LSP, linters, formatters, type-checking, structural analysis & booboo",
|
|
6
6
|
"repository": {
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"banner.png"
|
|
132
132
|
],
|
|
133
133
|
"dependencies": {
|
|
134
|
-
"@ast-grep/cli": "0.51.
|
|
134
|
+
"@ast-grep/cli": "0.51.1",
|
|
135
135
|
"@ast-grep/napi": "^0.51.0",
|
|
136
136
|
"js-yaml": "^5.2.2",
|
|
137
137
|
"minimatch": "^11.0.4",
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
170
|
"allowScripts": {
|
|
171
|
-
"@ast-grep/cli@0.51.
|
|
171
|
+
"@ast-grep/cli@0.51.1": true,
|
|
172
172
|
"@google/genai@2.21.0": true,
|
|
173
173
|
"esbuild@0.28.2": true,
|
|
174
174
|
"fsevents@2.3.3": false,
|
|
@@ -7,3 +7,5 @@ License: Apache-2.0 (see ./LICENSE).
|
|
|
7
7
|
The rules are included in pi-lens's synthesized baseline `sgconfig` when a target repository does not provide its own `sgconfig.yml` / `sgconfig.yaml`. If a repository supplies its own sgconfig, pi-lens respects that project config instead.
|
|
8
8
|
|
|
9
9
|
Compatibility note: ast-grep rejects utility ids containing reserved characters. Some upstream utility names include characters such as parentheses, dots, commas, and spaces. During vendoring, those utility ids were normalized to ast-grep-safe identifiers and matching `matches:` references were rewritten. Rule ids, languages, messages, notes, and severities are preserved.
|
|
10
|
+
|
|
11
|
+
The upstream top-level `ast-grep-essentials: true` marker sits under `metadata:` in every vendored rule (#5424). ast-grep 0.51.1 refuses top-level keys outside its rule schema, and `metadata` is the schema's free-form slot.
|
|
@@ -7,7 +7,8 @@ message: >-
|
|
|
7
7
|
note: |-
|
|
8
8
|
[CWE-367]: Time-of-check Time-of-use (TOCTOU) Race Condition [REFERENCES]
|
|
9
9
|
- https://wiki.sei.cmu.edu/confluence/display/c/FIO45-C.+Avoid+TOCTOU+race+conditions+while+accessing+files
|
|
10
|
-
|
|
10
|
+
metadata:
|
|
11
|
+
ast-grep-essentials: true
|
|
11
12
|
utils:
|
|
12
13
|
PATTERN_1_identifier:
|
|
13
14
|
kind: identifier
|
|
@@ -7,7 +7,8 @@ message: >-
|
|
|
7
7
|
note: |-
|
|
8
8
|
[CWE-367]: Time-of-check Time-of-use (TOCTOU) Race Condition [REFERENCES]
|
|
9
9
|
- https://wiki.sei.cmu.edu/confluence/display/c/FIO45-C.+Avoid+TOCTOU+race+conditions+while+accessing+files
|
|
10
|
-
|
|
10
|
+
metadata:
|
|
11
|
+
ast-grep-essentials: true
|
|
11
12
|
utils:
|
|
12
13
|
PATTERN_1_identifier_nth1:
|
|
13
14
|
kind: identifier
|
|
@@ -8,7 +8,8 @@ message: >-
|
|
|
8
8
|
note: |-
|
|
9
9
|
[CWE-611] Improper Restriction of XML External Entity Reference. [REFERENCES]
|
|
10
10
|
- https://owasp.org/Top10/A05_2021-Security_Misconfiguration
|
|
11
|
-
|
|
11
|
+
metadata:
|
|
12
|
+
ast-grep-essentials: true
|
|
12
13
|
utils:
|
|
13
14
|
Pattern_having_three_child:
|
|
14
15
|
kind: call_expression
|
|
@@ -5,7 +5,8 @@ message: The `$SOURCE` function returns NULL on error and this line dereferences
|
|
|
5
5
|
note: |-
|
|
6
6
|
[CWE-476] NULL Pointer Dereference. [REFERENCES]
|
|
7
7
|
- https://wiki.sei.cmu.edu/confluence/display/c/EXP34-C.+Do+not+dereference+null+pointers
|
|
8
|
-
|
|
8
|
+
metadata:
|
|
9
|
+
ast-grep-essentials: true
|
|
9
10
|
rule:
|
|
10
11
|
all:
|
|
11
12
|
- not:
|
package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/sizeof-this-c.yml
CHANGED
|
@@ -7,7 +7,8 @@ message: >-
|
|
|
7
7
|
note: |-
|
|
8
8
|
[CWE-467]: Use of sizeof() on a Pointer Type [REFERENCES]
|
|
9
9
|
- https://wiki.sei.cmu.edu/confluence/display/c/ARR01-C.+Do+not+apply+the+sizeof+operator+to+a+pointer+when+taking+the+size+of+an+array
|
|
10
|
-
|
|
10
|
+
metadata:
|
|
11
|
+
ast-grep-essentials: true
|
|
11
12
|
rule:
|
|
12
13
|
not:
|
|
13
14
|
has:
|
package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/small-key-size-c.yml
CHANGED
|
@@ -7,7 +7,8 @@ note: >-
|
|
|
7
7
|
Exposure [REFERENCES]
|
|
8
8
|
https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar2.pdf
|
|
9
9
|
https://owasp.org/Top10/A02_2021-Cryptographic_Failures
|
|
10
|
-
|
|
10
|
+
metadata:
|
|
11
|
+
ast-grep-essentials: true
|
|
11
12
|
rule:
|
|
12
13
|
kind: call_expression
|
|
13
14
|
all:
|
|
@@ -7,7 +7,8 @@ message: >-
|
|
|
7
7
|
note: |-
|
|
8
8
|
[CWE-732]: Incorrect Permission Assignment for Critical Resource [REFERENCES]
|
|
9
9
|
- https://wiki.sei.cmu.edu/confluence/display/c/FIO06-C.+Create+files+with+appropriate+access+permissions
|
|
10
|
-
|
|
10
|
+
metadata:
|
|
11
|
+
ast-grep-essentials: true
|
|
11
12
|
utils:
|
|
12
13
|
follows_umask:
|
|
13
14
|
follows:
|
|
@@ -7,7 +7,8 @@ message: >-
|
|
|
7
7
|
note: |-
|
|
8
8
|
[CWE-367]: Time-of-check Time-of-use (TOCTOU) Race Condition [REFERENCES]
|
|
9
9
|
- https://wiki.sei.cmu.edu/confluence/display/c/FIO45-C.+Avoid+TOCTOU+race+conditions+while+accessing+files
|
|
10
|
-
|
|
10
|
+
metadata:
|
|
11
|
+
ast-grep-essentials: true
|
|
11
12
|
utils:
|
|
12
13
|
PATTERN_1_identifier:
|
|
13
14
|
kind: identifier
|
|
@@ -7,7 +7,8 @@ message: >-
|
|
|
7
7
|
note: |-
|
|
8
8
|
[CWE-367]: Time-of-check Time-of-use (TOCTOU) Race Condition [REFERENCES]
|
|
9
9
|
- https://wiki.sei.cmu.edu/confluence/display/c/FIO45-C.+Avoid+TOCTOU+race+conditions+while+accessing+files
|
|
10
|
-
|
|
10
|
+
metadata:
|
|
11
|
+
ast-grep-essentials: true
|
|
11
12
|
utils:
|
|
12
13
|
PATTERN_1_identifier_nth1:
|
|
13
14
|
kind: identifier
|
|
@@ -4,7 +4,8 @@ severity: warning
|
|
|
4
4
|
message: >-
|
|
5
5
|
The Format String exploit occurs when the submitted data of an input string is evaluated as a command by the
|
|
6
6
|
application.
|
|
7
|
-
|
|
7
|
+
metadata:
|
|
8
|
+
ast-grep-essentials: true
|
|
8
9
|
rule:
|
|
9
10
|
pattern: $PRINTF($S, $VAR)
|
|
10
11
|
constraints:
|
|
@@ -8,7 +8,8 @@ message: >-
|
|
|
8
8
|
note: |-
|
|
9
9
|
[CWE-611] Improper Restriction of XML External Entity Reference. [REFERENCES]
|
|
10
10
|
- https://owasp.org/Top10/A05_2021-Security_Misconfiguration
|
|
11
|
-
|
|
11
|
+
metadata:
|
|
12
|
+
ast-grep-essentials: true
|
|
12
13
|
utils:
|
|
13
14
|
Pattern_having_three_child:
|
|
14
15
|
kind: call_expression
|
|
@@ -7,7 +7,8 @@ message: >-
|
|
|
7
7
|
note: |-
|
|
8
8
|
[CWE-125]: Out-of-bounds Read [REFERENCES]
|
|
9
9
|
- https://wiki.sei.cmu.edu/confluence/display/c/STR31-C.+Guarantee+that+storage+for+strings+has+sufficient+space+for+character+data+and+the+null+terminator
|
|
10
|
-
|
|
10
|
+
metadata:
|
|
11
|
+
ast-grep-essentials: true
|
|
11
12
|
rule:
|
|
12
13
|
any:
|
|
13
14
|
- kind: qualified_identifier
|
|
@@ -5,7 +5,8 @@ message: The `$SOURCE` function returns NULL on error and this line dereferences
|
|
|
5
5
|
note: |-
|
|
6
6
|
[CWE-476] NULL Pointer Dereference. [REFERENCES]
|
|
7
7
|
- https://wiki.sei.cmu.edu/confluence/display/c/EXP34-C.+Do+not+dereference+null+pointers
|
|
8
|
-
|
|
8
|
+
metadata:
|
|
9
|
+
ast-grep-essentials: true
|
|
9
10
|
rule:
|
|
10
11
|
all:
|
|
11
12
|
- not:
|
package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/return-c-str-cpp.yml
CHANGED
|
@@ -9,7 +9,8 @@ note: |-
|
|
|
9
9
|
[CWE-416] Use After Free [REFERENCES]
|
|
10
10
|
- https://wiki.sei.cmu.edu/confluence/display/c/DCL30-C.+Declare+objects+with+appropriate+storage+durations
|
|
11
11
|
- https://wiki.sei.cmu.edu/confluence/display/cplusplus/EXP54-CPP.+Do+not+access+an+object+outside+of+its+lifetime
|
|
12
|
-
|
|
12
|
+
metadata:
|
|
13
|
+
ast-grep-essentials: true
|
|
13
14
|
rule:
|
|
14
15
|
any:
|
|
15
16
|
- pattern: return basic_string<$TYPE>($$$).$METHOD();
|
package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/sizeof-this-cpp.yml
CHANGED
|
@@ -7,7 +7,8 @@ message: >-
|
|
|
7
7
|
note: |-
|
|
8
8
|
[CWE-467]: Use of sizeof() on a Pointer Type [REFERENCES]
|
|
9
9
|
- https://wiki.sei.cmu.edu/confluence/display/c/ARR01-C.+Do+not+apply+the+sizeof+operator+to+a+pointer+when+taking+the+size+of+an+array
|
|
10
|
-
|
|
10
|
+
metadata:
|
|
11
|
+
ast-grep-essentials: true
|
|
11
12
|
utils:
|
|
12
13
|
match_sizeof_this:
|
|
13
14
|
kind: sizeof_expression
|
|
@@ -7,7 +7,8 @@ note: >-
|
|
|
7
7
|
Exposure [REFERENCES]
|
|
8
8
|
https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar2.pdf
|
|
9
9
|
https://owasp.org/Top10/A02_2021-Cryptographic_Failures
|
|
10
|
-
|
|
10
|
+
metadata:
|
|
11
|
+
ast-grep-essentials: true
|
|
11
12
|
rule:
|
|
12
13
|
kind: call_expression
|
|
13
14
|
all:
|