@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
|
@@ -2,83 +2,86 @@
|
|
|
2
2
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
analyzeFile
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-ECYUBKYX.js";
|
|
6
|
+
import "../chunk-GL6J5R34.js";
|
|
7
|
+
import "../chunk-ME6MF2N2.js";
|
|
8
|
+
import "../chunk-6RXMQYNU.js";
|
|
9
|
+
import "../chunk-NQFXN5U7.js";
|
|
10
|
+
import "../chunk-WXMUGUZV.js";
|
|
11
|
+
import "../chunk-D5L7Q57Z.js";
|
|
12
|
+
import "../chunk-QDZ3ZZMY.js";
|
|
13
|
+
import "../chunk-DPDA3ILA.js";
|
|
14
|
+
import "../chunk-LHCDWFDB.js";
|
|
15
|
+
import "../chunk-KDGKKK7A.js";
|
|
16
|
+
import "../chunk-UY3WWW5R.js";
|
|
17
|
+
import "../chunk-E6Z3CJT2.js";
|
|
18
|
+
import "../chunk-UELHWF5I.js";
|
|
19
|
+
import "../chunk-YUF4DRYB.js";
|
|
20
|
+
import "../chunk-NWK7KKNO.js";
|
|
21
|
+
import "../chunk-BBJXIZ3X.js";
|
|
21
22
|
import "../chunk-ZD4KVFXI.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-BLL4VYGZ.js";
|
|
24
|
+
import "../chunk-3C6ZZAB2.js";
|
|
24
25
|
import "../chunk-3MED75HT.js";
|
|
25
26
|
import "../chunk-PKLB2XJL.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-QBUSONNE.js";
|
|
28
|
+
import "../chunk-AOQKQWZU.js";
|
|
28
29
|
import "../chunk-XIMYZ3JA.js";
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-DBAHJFBU.js";
|
|
31
|
+
import "../chunk-2SD2CGVH.js";
|
|
32
|
+
import "../chunk-NLRKB32C.js";
|
|
33
|
+
import "../chunk-QJ4T73J5.js";
|
|
34
|
+
import "../chunk-HTUG7ZFK.js";
|
|
35
|
+
import "../chunk-HGEE5LDW.js";
|
|
35
36
|
import "../chunk-5W3R6LFT.js";
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-532X3OCZ.js";
|
|
38
|
+
import "../chunk-6XNVY3FW.js";
|
|
39
|
+
import "../chunk-7424ANRU.js";
|
|
40
|
+
import "../chunk-SUIZOCSY.js";
|
|
41
|
+
import "../chunk-OC4ZGVMH.js";
|
|
41
42
|
import "../chunk-Z54ZSOBZ.js";
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-OTSTS7L2.js";
|
|
43
|
+
import "../chunk-5YTDZ5WP.js";
|
|
44
|
+
import "../chunk-E3PNZDPH.js";
|
|
45
45
|
import "../chunk-6HWVI6MI.js";
|
|
46
|
-
import "../chunk-
|
|
46
|
+
import "../chunk-KNP4ENFT.js";
|
|
47
47
|
import "../chunk-CKEQFGLT.js";
|
|
48
|
-
import "../chunk-
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-
|
|
51
|
-
import "../chunk-
|
|
52
|
-
import "../chunk-
|
|
48
|
+
import "../chunk-LXE7JAMV.js";
|
|
49
|
+
import "../chunk-IT7MFVGP.js";
|
|
50
|
+
import "../chunk-AYDE7RFV.js";
|
|
51
|
+
import "../chunk-W6VLB6LL.js";
|
|
52
|
+
import "../chunk-YVPB5YGO.js";
|
|
53
|
+
import "../chunk-ZRQMENT4.js";
|
|
54
|
+
import "../chunk-3HZ6MNB2.js";
|
|
53
55
|
import "../chunk-2BEMIWEW.js";
|
|
54
56
|
import "../chunk-IJYGIDF4.js";
|
|
55
|
-
import "../chunk-
|
|
56
|
-
import "../chunk-
|
|
57
|
-
import "../chunk-
|
|
58
|
-
import "../chunk-
|
|
57
|
+
import "../chunk-ITAPXBIB.js";
|
|
58
|
+
import "../chunk-JSQK5DH3.js";
|
|
59
|
+
import "../chunk-FVEEEEIM.js";
|
|
60
|
+
import "../chunk-OP5BMZKK.js";
|
|
59
61
|
import "../chunk-UYXV5NIS.js";
|
|
60
|
-
import "../chunk-
|
|
61
|
-
import "../chunk-
|
|
62
|
-
import "../chunk-
|
|
63
|
-
import "../chunk-
|
|
64
|
-
import "../chunk-
|
|
65
|
-
import "../chunk-
|
|
66
|
-
import "../chunk-
|
|
62
|
+
import "../chunk-WBXCIRVI.js";
|
|
63
|
+
import "../chunk-TTGDTNSN.js";
|
|
64
|
+
import "../chunk-34RXPR7M.js";
|
|
65
|
+
import "../chunk-3NVGBFJS.js";
|
|
66
|
+
import "../chunk-C2REOMPO.js";
|
|
67
|
+
import "../chunk-DNB4ZQGN.js";
|
|
68
|
+
import "../chunk-B4FAFEBP.js";
|
|
67
69
|
import "../chunk-QYF5S6P6.js";
|
|
68
|
-
import "../chunk-
|
|
69
|
-
import "../chunk-
|
|
70
|
-
import "../chunk-
|
|
70
|
+
import "../chunk-SRXYSLMW.js";
|
|
71
|
+
import "../chunk-6EIV3H7O.js";
|
|
72
|
+
import "../chunk-3R3Z54J7.js";
|
|
73
|
+
import "../chunk-CIA7X2PZ.js";
|
|
71
74
|
import {
|
|
72
75
|
setProjectTrustState
|
|
73
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-43KD3PPM.js";
|
|
74
77
|
import {
|
|
75
78
|
logExtension
|
|
76
|
-
} from "../chunk-
|
|
79
|
+
} from "../chunk-AGEQRJ5A.js";
|
|
77
80
|
import "../chunk-S26LC76R.js";
|
|
78
|
-
import "../chunk-
|
|
81
|
+
import "../chunk-K2GV34T2.js";
|
|
79
82
|
import "../chunk-LJDODBBZ.js";
|
|
80
|
-
import "../chunk-
|
|
81
|
-
import "../chunk-
|
|
83
|
+
import "../chunk-O6LCSHHI.js";
|
|
84
|
+
import "../chunk-WLD6BGON.js";
|
|
82
85
|
import "../chunk-NXL4FFQQ.js";
|
|
83
86
|
|
|
84
87
|
// dist/mcp/worker.js
|
|
@@ -53,28 +53,29 @@ import {
|
|
|
53
53
|
verifyNpmPackageEntry,
|
|
54
54
|
verifyToolBinary,
|
|
55
55
|
wasLastResolveTransient
|
|
56
|
-
} from "../chunk-
|
|
57
|
-
import "../chunk-
|
|
58
|
-
import "../chunk-
|
|
59
|
-
import "../chunk-
|
|
56
|
+
} from "../chunk-ITAPXBIB.js";
|
|
57
|
+
import "../chunk-JSQK5DH3.js";
|
|
58
|
+
import "../chunk-FVEEEEIM.js";
|
|
59
|
+
import "../chunk-OP5BMZKK.js";
|
|
60
60
|
import "../chunk-UYXV5NIS.js";
|
|
61
|
-
import "../chunk-
|
|
62
|
-
import "../chunk-
|
|
63
|
-
import "../chunk-
|
|
64
|
-
import "../chunk-
|
|
65
|
-
import "../chunk-
|
|
66
|
-
import "../chunk-
|
|
67
|
-
import "../chunk-
|
|
61
|
+
import "../chunk-WBXCIRVI.js";
|
|
62
|
+
import "../chunk-TTGDTNSN.js";
|
|
63
|
+
import "../chunk-34RXPR7M.js";
|
|
64
|
+
import "../chunk-3NVGBFJS.js";
|
|
65
|
+
import "../chunk-C2REOMPO.js";
|
|
66
|
+
import "../chunk-DNB4ZQGN.js";
|
|
67
|
+
import "../chunk-B4FAFEBP.js";
|
|
68
68
|
import "../chunk-QYF5S6P6.js";
|
|
69
|
-
import "../chunk-
|
|
70
|
-
import "../chunk-
|
|
71
|
-
import "../chunk-
|
|
72
|
-
import "../chunk-
|
|
73
|
-
import "../chunk-
|
|
69
|
+
import "../chunk-SRXYSLMW.js";
|
|
70
|
+
import "../chunk-6EIV3H7O.js";
|
|
71
|
+
import "../chunk-3R3Z54J7.js";
|
|
72
|
+
import "../chunk-CIA7X2PZ.js";
|
|
73
|
+
import "../chunk-43KD3PPM.js";
|
|
74
|
+
import "../chunk-AGEQRJ5A.js";
|
|
74
75
|
import "../chunk-S26LC76R.js";
|
|
75
|
-
import "../chunk-
|
|
76
|
+
import "../chunk-K2GV34T2.js";
|
|
76
77
|
import "../chunk-LJDODBBZ.js";
|
|
77
|
-
import "../chunk-
|
|
78
|
+
import "../chunk-WLD6BGON.js";
|
|
78
79
|
import "../chunk-NXL4FFQQ.js";
|
|
79
80
|
export {
|
|
80
81
|
GITHUB_TOOLS,
|
|
@@ -290,7 +290,7 @@ Registered as pi agent tools. Verified names:
|
|
|
290
290
|
|---|---|---|
|
|
291
291
|
| `lens_diagnostics` | Session-cache or LSP-probe diagnostics with `source` and `scope` selectors. | Use `source=lsp` with `scope=paths` for targeted checks; an empty cache is not proof of clean. |
|
|
292
292
|
| `lsp_navigation` | LSP navigation (definition/references/etc.). | Trace symbols semantically. |
|
|
293
|
-
| `symbol_search` | Ranked identifier search over the warm word index (BM25 + priors). | Entry point of the discovery funnel. |
|
|
293
|
+
| `symbol_search` | Ranked identifier search over the warm word index (BM25 + priors). Accepts inline `lang:`/`file:`/`ext:` filters and structured `paths`/`lang`; the query contract is owned by the tool description in `tools/symbol-search.ts`. | Entry point of the discovery funnel. |
|
|
294
294
|
| `module_report` | Navigable outline + signatures + decorators + imports + callbacks for a file; optional `blastRadius`. | Understand a module without reading the whole body. |
|
|
295
295
|
| `read_symbol` | Verbatim body of one symbol/callback handle (records read-guard coverage). | Read exactly the symbol you'll edit. |
|
|
296
296
|
| `read_enclosing` | Smallest enclosing symbol/callback body for a file+line (records coverage). | Bridge a diagnostic location → exact body. |
|
|
@@ -298,6 +298,8 @@ Registered as pi agent tools. Verified names:
|
|
|
298
298
|
| `ast_grep_search` / `ast_grep_replace` | Structural AST search / replace. | Find or rewrite by code shape, not regex. |
|
|
299
299
|
| `ast_grep_outline` / `ast_grep_search` (`dump=true`) | Outline / AST dump. | Inspect structure. |
|
|
300
300
|
| `lens_diagnostic_mark` | Mark a finding false-positive / suppressed / deferred / flagged-to-fix (honored across surfaces). | Triage a finding you've judged. |
|
|
301
|
+
| `effective_config` | Resolved configuration and provenance for a file or the workspace. | Diagnose which LSP server or runner a file resolves to. |
|
|
302
|
+
| `pi_lens_activate_tools` | Activate registered situational tools for the next turn. | Bring a situational tool (e.g. `ast_grep_search`) into the tool list. |
|
|
301
303
|
|
|
302
304
|
Funnel discipline: **`symbol_search` → `module_report` → `read_symbol`/`read_enclosing`**
|
|
303
305
|
(find candidates → explain one → read the body).
|
|
@@ -197,8 +197,10 @@ and `[]` mean no arguments.
|
|
|
197
197
|
`grep` (raw substrings) and `lsp_navigation` (exact references). Returns
|
|
198
198
|
`available: false` with a retry hint when the index isn't built yet — it
|
|
199
199
|
self-builds in the background and never blocks the call. The answer is one
|
|
200
|
-
ranked table: a row per file with its path, best-matching line,
|
|
201
|
-
count and any graph annotations,
|
|
200
|
+
ranked table: a `symbol` row per file with its path, best-matching line,
|
|
201
|
+
score, hit count and any graph annotations, or a `file` listing row with just
|
|
202
|
+
its path when the query carries a scope but no terms; then a footer with
|
|
203
|
+
index coverage and a
|
|
202
204
|
next-step line naming the top-ranked hit (`module_report <path>`) — read that
|
|
203
205
|
line with `offset=<line>, limit=1`. Both surfaces render it through
|
|
204
206
|
`renderCompactSymbolSearch`, so no JSON payload rides along. See
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Alignment families
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Nine user-facing ideas that pi-lens implements in more than one place. The same idea has drifted into different meanings before: PR #5011 found one ignore pattern read three ways. This file is the single list. The daily alignment routine reads it to pick a family, and `scripts/check-pr-body.mjs` reads it to validate the `Alignment:` line in `### Class sweep`.
|
|
4
4
|
|
|
5
5
|
## Families
|
|
6
6
|
|
|
@@ -15,6 +15,8 @@ The family name is the text before the first colon in the Family column. Names c
|
|
|
15
15
|
| 5 | Tool parameter shapes across pi tools and MCP tools: names, defaults and accepted spellings of path / paths / scope / severity / wait parameters | `tools/`, `clients/mcp/` |
|
|
16
16
|
| 6 | Closed vocabularies: skip reasons (`RUNNER_SKIP_REASONS`), owner keys, degradation codes, `PILENS_CFG_*` diagnostic codes; one idea with two names, or one name with two meanings | `clients/config-diagnostic-codes.ts`, `clients/degradation-ledger.ts`, `tests/support/session-state-registry.ts` |
|
|
17
17
|
| 7 | Env tunables: `PI_LENS_*` variables, how each is parsed (int, bool, list), clamped and defaulted, and what an unparseable value does | `git grep -n "process.env.PI_LENS_" clients tools index.ts` |
|
|
18
|
+
| 8 | One object with different keys: a file, finding, session, turn, runner run, LSP document or blocker keyed by two spellings, or by a key that is not stable across its life (raw vs normalized path, URI vs path, display text, list position, a per-session counter) | `clients/path-keyed-map.ts` (`PathKeyedMap`), `clients/path-utils.ts` (the normalizers), `clients/finding-identity.ts`, `docs/invariants/`, `docs/defect-shapes.md` shape 1 |
|
|
19
|
+
| 9 | Tool config presence: whether tool X counts as configured for a file, answered by the tool policy (`hasXConfig` helpers), each runner's own gate, the formatter's explicit-config check and effective-config; where each looks, how far it walks, and what counts as config | `clients/tool-policy.ts` (`getLinterPolicyForCwd`, the `hasXConfig` helpers), `clients/dispatch/runners/`, `clients/formatters.ts`, `clients/effective-config.ts`; known divergences are #5408 |
|
|
18
20
|
|
|
19
21
|
## What touches means
|
|
20
22
|
|
|
@@ -27,3 +29,5 @@ A change touches a family when it adds or edits a member of that family. Naming
|
|
|
27
29
|
5. **Tool parameter shapes across pi tools and MCP tools.** Touched when the change adds or edits one of these: names, defaults and accepted spellings of path / paths / scope / severity / wait parameters.
|
|
28
30
|
6. **Closed vocabularies.** Touched when the change adds or edits one of these: skip reasons (`RUNNER_SKIP_REASONS`), owner keys, degradation codes, `PILENS_CFG_*` diagnostic codes; one idea with two names, or one name with two meanings.
|
|
29
31
|
7. **Env tunables.** Touched when the change adds or edits one of these: `PI_LENS_*` variables, how each is parsed (int, bool, list), clamped and defaulted, and what an unparseable value does.
|
|
32
|
+
8. **One object with different keys.** Touched when the change adds or edits one of these: a key, map, cache or record that identifies a file, finding, session, turn, runner run, LSP document or blocker.
|
|
33
|
+
9. **Tool config presence.** Touched when the change adds or edits one of these: a config-file check, walk or stop rule that decides whether a linter, formatter or runner counts as configured.
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# CI workflows, gates and caches
|
|
2
|
+
|
|
3
|
+
The CI facts an agent needs when it edits a workflow, a required check, a cache
|
|
4
|
+
or a CI-facing script. `AGENTS.md` "Commands and gates" keeps the commands and
|
|
5
|
+
the rules an agent obeys, and points here for the rest. Where a paragraph names
|
|
6
|
+
a test, that test is its enforcer. Bot-opened pull requests are in
|
|
7
|
+
`docs/ci-bot-pr-checks.md`.
|
|
8
|
+
|
|
9
|
+
## Jobs and required contexts
|
|
10
|
+
|
|
11
|
+
The seven advisory lint tools are steps of one `Lint (advisory)` job, and the PR
|
|
12
|
+
title and close-keyword checks are steps of one gating `PR metadata` job.
|
|
13
|
+
`actionlint` and `markdownlint` share one gating `actionlint & markdownlint` job,
|
|
14
|
+
and the required `Lint & type-check` also runs `depcruise:check`.
|
|
15
|
+
`ci-infra-kill-rerun.yml` has no `pull_request` trigger, so its jobs post no
|
|
16
|
+
skipped rows on a PR; the label cleanup lives in `ci-verdict-labels.yml`.
|
|
17
|
+
|
|
18
|
+
CI cost gates (#3801). ci.yml has no heavy-advisory gate: its `heavy-gate` job
|
|
19
|
+
and ci-verdict's deferred-row list are retired (an older head's
|
|
20
|
+
`Heavy advisory gate (advisory)` row still classifies as advisory by its
|
|
21
|
+
suffix and never gates). CodeQL runs only in `codeql.yml`, once a day on a
|
|
22
|
+
schedule and on dispatch, with no master-push or pull-request run, so a new
|
|
23
|
+
alert surfaces on master up to a day after its change, not on its PR. A
|
|
24
|
+
docs-only pull request (root `*.md`, `docs/**`, `.changelog/**` and
|
|
25
|
+
nothing else, classified by `scripts/ci-changed-files.mjs`; every doubt runs the
|
|
26
|
+
full suite) skips no test job: the Unit shards and every
|
|
27
|
+
other test job always run, because a docs edit can red tests outside tests/config
|
|
28
|
+
(`docs/public-api-stability.md`, `docs/*_rules_catalog.md`). The one exception
|
|
29
|
+
is the three `Install test` legs: outside `INSTALL_PATHS` in that script
|
|
30
|
+
they report success without installing, and `Strict install` and the macOS APFS
|
|
31
|
+
step run on non-pull_request events only. On a pull request, `TLA+ models`
|
|
32
|
+
model-checks only when `formal/` (or its checker or ci.yml) changed: its shards
|
|
33
|
+
skip at job level and the aggregate still reports. Push and merge-queue runs
|
|
34
|
+
always model-check (`changes` sets `formal=true` for every non-PR event). A REQUIRED job never skips at
|
|
35
|
+
job level: ci-verdict and the merge train demand a literal `success`. Implicit
|
|
36
|
+
`success()` reads every ancestor, so a job behind a skippable ancestor skips even
|
|
37
|
+
when its direct needs are green.
|
|
38
|
+
|
|
39
|
+
Master requires the ten contexts in `BRANCH_PROTECTION_CONTEXTS`
|
|
40
|
+
(`scripts/lib/ci-checks.mjs`). ci-verdict reads the live list, and it also gates
|
|
41
|
+
every other non-advisory row a run posts.
|
|
42
|
+
|
|
43
|
+
## The Windows unit leg
|
|
44
|
+
|
|
45
|
+
The Windows unit leg (`Unit tests Windows`, job key `unit-tests-windows`) GATES
|
|
46
|
+
by maintainer decision on 2026-10-17: it runs the real `win32` gates, and
|
|
47
|
+
advisory reds were waved through (the incidents are in `HISTORY.md`). It
|
|
48
|
+
therefore starts on every event like the Unit shards and never skips at job
|
|
49
|
+
level. Its name
|
|
50
|
+
carries no `(advisory)` suffix, and it is a required context on master. Its
|
|
51
|
+
population is every
|
|
52
|
+
`tests/config/*` file, every `process.platform` Windows gate, and the
|
|
53
|
+
shrink-only `WINDOWS_LANE_ADMISSIONS` rows
|
|
54
|
+
(`scripts/lib/win32-gate-population.mjs`); a failed or under-executed subset
|
|
55
|
+
reds the job, and no step of it is `continue-on-error`. The tmp-fixture
|
|
56
|
+
hygiene census asserts on every lane, `win32` included, and its teardown
|
|
57
|
+
prints `verdict=asserted`. A census a lane declines still leaves a record:
|
|
58
|
+
it prints `verdict=declined`, so a quarantine shows in the log.
|
|
59
|
+
|
|
60
|
+
## Smoke paths and shard weights
|
|
61
|
+
|
|
62
|
+
The same script's `smoke` output (`PR_SMOKE_PATHS`: RPC, install, LSP launch,
|
|
63
|
+
trust) makes `install-smoke.yml` run all four pi-load cells and an advisory LSP
|
|
64
|
+
handshake job on a pull request; any other PR that reaches that workflow keeps
|
|
65
|
+
the one pnpm-global cell (`tests/config/pr-smoke-paths.test.ts`).
|
|
66
|
+
The Unit shards are packed by the per-file seconds in
|
|
67
|
+
`scripts/test-shard-weights.json`; regenerate it from the shards' uploaded
|
|
68
|
+
`vitest-results.json` when `tests/config/test-shard-assignment.test.ts` reds.
|
|
69
|
+
|
|
70
|
+
## Actions cache
|
|
71
|
+
|
|
72
|
+
Actions cache. The repository cache is capped at 10 GB. The nightly
|
|
73
|
+
smoke workflows restore the managed tool tree through
|
|
74
|
+
`.github/actions/tool-tree-cache`, keyed on the hash of
|
|
75
|
+
`clients/installer/index.ts` (every pin) plus the ISO week; a pin that moves out
|
|
76
|
+
of that file moves the action's `hashFiles` target in the same change
|
|
77
|
+
(`tests/config/tool-tree-cache-workflow.test.ts`). A smoke saves its tree once
|
|
78
|
+
its last install step ran, red or green, because the key is first-wins per week.
|
|
79
|
+
`cache-prune.yml` runs `scripts/prune-actions-cache.mjs` nightly and when the
|
|
80
|
+
`CodeQL` workflow completes on master (its overlay base database is ~785 MB per
|
|
81
|
+
run, and the nightly run starts hours late), so a closed pull request's
|
|
82
|
+
caches and superseded copies never fill the cap; only its `prune` job holds
|
|
83
|
+
`actions: write` and passes `--apply`
|
|
84
|
+
(`tests/config/cache-prune-workflow.test.ts`).
|
|
85
|
+
A workflow that `pull_request_target` or `workflow_run` starts never restores
|
|
86
|
+
or saves a cache, so a pull request cannot poison what a privileged run
|
|
87
|
+
restores (`tests/config/untrusted-trigger-cache.test.ts`).
|
|
88
|
+
|
|
89
|
+
## Workflow jobs no pull request runs
|
|
90
|
+
|
|
91
|
+
A workflow job no pull request can run needs a registered reason in
|
|
92
|
+
`tests/config/workflow-pull-request-reachability.test.ts`, and the branch run
|
|
93
|
+
(`gh workflow run <file> --ref <branch>`) quoted with its run id (#3043). The
|
|
94
|
+
same quote is enforced per file for an edit to any workflow whose post-image no
|
|
95
|
+
`pull_request` run executes (no trigger, `pull_request_target` only, or a
|
|
96
|
+
filter that excludes the file): `scripts/check-pr-body.mjs` reds the body
|
|
97
|
+
without it. `Workflow run unaffected: <file> — <reason>` clears the rule only
|
|
98
|
+
for a workflow with no `workflow_dispatch` trigger or an edit of comments and
|
|
99
|
+
blank lines, verified against the merge base (#3085). The run id is quoted
|
|
100
|
+
evidence, not verified provenance.
|
|
101
|
+
|
|
102
|
+
## Heavy-advisory census pins
|
|
103
|
+
|
|
104
|
+
For `tests/config/heavy-advisory-gate-workflow.test.ts`, set
|
|
105
|
+
`PI_LENS_PRINT_PINS=1` to print the current parsed census pins as pasteable
|
|
106
|
+
assertion lines after workflow edits; the assertions remain shrink-only pins.
|
|
107
|
+
|
|
108
|
+
## Pre-push and the stale-build guard
|
|
109
|
+
|
|
110
|
+
The stale-build guard rejects a missing or older compiled twin. Pre-push and
|
|
111
|
+
`lane:check` also rebuild the bounded `dist/` dependency population before
|
|
112
|
+
governance suites when a bundled file is missing or older than its source.
|
|
113
|
+
Pre-push diffs each pushed ref against `origin/master`, or `upstream/master`
|
|
114
|
+
when that has commits `origin/master` lacks, and
|
|
115
|
+
skips a head whose tree-bound record already passed the same selection. When
|
|
116
|
+
that base range cannot be resolved it falls back to the remote-tip
|
|
117
|
+
range, and to the loud build-only pass only when that cannot resolve either.
|
|
118
|
+
Pre-push fails
|
|
119
|
+
when its bounded test-lock wait times out (#3717); `PI_LENS_PREPUSH_LOCK_SKIP=1`
|
|
120
|
+
is the only lock opt-out and is logged to `pre-push.log`. CI stays the gate.
|
|
@@ -149,6 +149,17 @@ whole, so setting one key never silently drops the rest of a section.
|
|
|
149
149
|
3. **nested-project** — every `.pi-lens.json` between that root and your working
|
|
150
150
|
directory, outermost first. The nearest file wins, per field.
|
|
151
151
|
|
|
152
|
+
For the project settings read through the project config loader (`autofix`,
|
|
153
|
+
`maxProjectFiles`, `tools.*`, `trivy`, `helm`, `ignore` and the rest), that walk
|
|
154
|
+
stops at the git root: a `.pi-lens.json` in a folder above your repository is never merged into
|
|
155
|
+
it, so permission keys such as `trivy.enabled` and
|
|
156
|
+
`helm.renderValidation.enabled` come from the repository alone (#5291). A
|
|
157
|
+
checkout with no `.git` entry anywhere above the working directory keeps the
|
|
158
|
+
`$HOME` ceiling instead. A repository with no `.pi-lens.json` of its own still
|
|
159
|
+
inherits the nearest one above it, whole, as before. The language-server
|
|
160
|
+
section and the dispatch policy's turn-off lists are read by their own loaders,
|
|
161
|
+
which still walk to the `$HOME` ceiling.
|
|
162
|
+
|
|
152
163
|
Those three are the tiers the config **files** resolve through, and they are the
|
|
153
164
|
only ones this resolution populates. Four more tiers are reserved in the
|
|
154
165
|
precedence table — `builtin` below them, and `env`, `cli`, `host` above — and
|
|
@@ -241,7 +252,7 @@ denied server, the tier that contributed it.
|
|
|
241
252
|
|
|
242
253
|
```console
|
|
243
254
|
$ # which servers run for this file, and why
|
|
244
|
-
$ pilens_effective_config
|
|
255
|
+
$ pilens_effective_config path=src/main.rs
|
|
245
256
|
✗ typos — disabled-by-config (global ~/.pi-lens/config.json → /lsp/disabledServers/0)
|
|
246
257
|
```
|
|
247
258
|
|
|
@@ -318,11 +329,11 @@ Two rules make the rest of the table unambiguous:
|
|
|
318
329
|
timed out, or failed as well, the notice says so and names the denial beside
|
|
319
330
|
it.
|
|
320
331
|
|
|
321
|
-
`pilens_effective_config
|
|
332
|
+
`pilens_effective_config path=Program.cs` reports the runner as denied, with the
|
|
322
333
|
tier and file that denied it, while the language server stays selected:
|
|
323
334
|
|
|
324
335
|
```console
|
|
325
|
-
$ pilens_effective_config
|
|
336
|
+
$ pilens_effective_config path=src/Program.cs
|
|
326
337
|
tools:
|
|
327
338
|
lsp selected
|
|
328
339
|
dotnet-build ✗ disabled-by-config (global ~/.pi-lens/config.json → /dispatch/disabledRunners/0)
|
|
@@ -423,6 +434,13 @@ these dates instantiate.
|
|
|
423
434
|
A `.pi-lens.json` that mixes both spellings is fine while you migrate: the
|
|
424
435
|
canonical key wins, and the keys you have not moved yet keep working.
|
|
425
436
|
|
|
437
|
+
For project settings the same rule reaches across directories (#5291): a legacy
|
|
438
|
+
`pi-lens.json` still supplies its values whole while it is the only config
|
|
439
|
+
file in the chain from your working directory upward, and once a canonical
|
|
440
|
+
`.pi-lens.json` sits anywhere in that chain the legacy file only produces its
|
|
441
|
+
migration notices — its fields are not merged in, and the canonical files
|
|
442
|
+
layer per field as above. Move the settings; the notices name the file.
|
|
443
|
+
|
|
426
444
|
Only keys pi-lens actually recognizes get "move it to …" advice. A key in a
|
|
427
445
|
legacy file that is not a pi-lens setting at all — a typo, or a leftover from
|
|
428
446
|
another tool — cannot be migrated anywhere, so it gets the ordinary
|
|
@@ -164,6 +164,7 @@ See [`rules/ast-grep-rules/rule-schema.json`](../rules/ast-grep-rules/rule-schem
|
|
|
164
164
|
| `fix` | — | string | Suggested replacement |
|
|
165
165
|
| `metadata.weight` | — | number | Priority weight |
|
|
166
166
|
| `metadata.category` | — | string | |
|
|
167
|
+
| `metadata.*` | — | any | Free-form author data (`tags`, `examples`, `has_fix`, `sonar`). ast-grep 0.51.1 and later refuse a top-level key outside the rule schema, so extra keys go under `metadata`. |
|
|
167
168
|
| `constraints` | — | Record\<string, {regex}\> | Metavariable regex — `KEY: { regex: "..." }` narrows what `$KEY` will match. Supported by the napi engine + the ast-grep CLI/LSP. |
|
|
168
169
|
|
|
169
170
|
Valid `language` values: `TypeScript` `JavaScript` `Python` `Go` `Rust` `Java` `C` `Cpp` `CSharp` `Kotlin` `Ruby` `Php`
|