scip-query 0.20.0 → 0.21.1
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 +81 -0
- package/README.md +255 -884
- package/dist/augment-vue-worker.js +1 -1
- package/dist/by-kind-XXGZGNZ6.js +2 -0
- package/dist/call-graph-VGY3R4L3.js +2 -0
- package/dist/call-graph-evidence-lZa2dwQA.d.ts +11 -0
- package/dist/change-analysis-types-CCtoCHbC.d.ts +9 -0
- package/dist/chunk-26CT72HM.js +2 -0
- package/dist/chunk-27OUNZW5.js +3 -0
- package/dist/chunk-2LJLEM5B.js +2 -0
- package/dist/chunk-3KXFB2FM.js +2 -0
- package/dist/chunk-3T5U2EQ2.js +2 -0
- package/dist/chunk-3TNRNKAT.js +2 -0
- package/dist/{chunk-PXY7F6Y4.js → chunk-3XQLJG7V.js} +5 -5
- package/dist/chunk-3XZELASU.js +2 -0
- package/dist/chunk-3YETOKNO.js +4 -0
- package/dist/chunk-47WX6UC4.js +2 -0
- package/dist/{chunk-7SQQWSY3.js → chunk-4HQYNZ3P.js} +2 -2
- package/dist/chunk-4IASLUOP.js +3 -0
- package/dist/{chunk-KMKTIO2G.js → chunk-4KIPF45P.js} +2 -2
- package/dist/chunk-4SZJF4GK.js +2 -0
- package/dist/chunk-4TOU7HHQ.js +2 -0
- package/dist/chunk-4ZCLDH6T.js +11 -0
- package/dist/{chunk-DQGFVPUV.js → chunk-527HV7JY.js} +3 -3
- package/dist/{chunk-ZTETIQ35.js → chunk-5BJPJUXF.js} +2 -2
- package/dist/chunk-5J3A6RBZ.js +16 -0
- package/dist/chunk-5KIJMEPC.js +2 -0
- package/dist/{chunk-JDOEX4E6.js → chunk-5QM7QT5B.js} +2 -2
- package/dist/chunk-5Z2H76VD.js +11 -0
- package/dist/chunk-63TFRBMB.js +2 -0
- package/dist/chunk-67FK5KGV.js +3 -0
- package/dist/chunk-6DO3VBLV.js +2 -0
- package/dist/chunk-6LS3IG2I.js +13 -0
- package/dist/chunk-6QN4FYQW.js +2 -0
- package/dist/chunk-6X4KO5A7.js +11 -0
- package/dist/chunk-743MEVFJ.js +8 -0
- package/dist/chunk-7G2WIVIX.js +2 -0
- package/dist/chunk-7KCZELVM.js +2 -0
- package/dist/chunk-7MUHSZGN.js +3 -0
- package/dist/chunk-7YZGSLW6.js +3 -0
- package/dist/chunk-7Z4GMCHM.js +117 -0
- package/dist/{chunk-32LVLCLN.js → chunk-AAOEROT3.js} +3 -3
- package/dist/chunk-AFRS7WJU.js +26 -0
- package/dist/chunk-ANCHW2R4.js +57 -0
- package/dist/{chunk-SXP2MBJH.js → chunk-AQF35NGT.js} +2 -2
- package/dist/chunk-ARGPDW2Y.js +6 -0
- package/dist/chunk-B3AREUQK.js +16 -0
- package/dist/chunk-BCTCADNB.js +2 -0
- package/dist/chunk-BM4OTGSY.js +3 -0
- package/dist/chunk-BMKTDJI6.js +16 -0
- package/dist/chunk-BOJ5SVE2.js +2 -0
- package/dist/{chunk-WXZLAAWK.js → chunk-BVR44XXB.js} +2 -2
- package/dist/{chunk-RUJURYSV.js → chunk-BYXWXLKM.js} +2 -2
- package/dist/chunk-BZCRHP46.js +3 -0
- package/dist/chunk-BZYSGZRK.js +2 -0
- package/dist/chunk-C52Q3JEQ.js +2 -0
- package/dist/chunk-C7WSQA6A.js +21 -0
- package/dist/{chunk-BDCC2NPY.js → chunk-CNT4ND5O.js} +2 -2
- package/dist/chunk-CQVDALWQ.js +2 -0
- package/dist/chunk-CTO3TRX7.js +2 -0
- package/dist/chunk-CXT3GZSQ.js +2 -0
- package/dist/{chunk-JVYA47YU.js → chunk-DGM2RJ3I.js} +2 -2
- package/dist/{chunk-7PIO7NKH.js → chunk-DK6MB565.js} +2 -2
- package/dist/chunk-DNPETNXT.js +2 -0
- package/dist/chunk-DRENNWRG.js +2 -0
- package/dist/chunk-DUDUIT5P.js +2 -0
- package/dist/chunk-DXEJ4FLZ.js +21 -0
- package/dist/chunk-DXYMTQZ4.js +2 -0
- package/dist/chunk-DZA7MQMU.js +6 -0
- package/dist/{chunk-ZHXX42OH.js → chunk-DZNWXJN2.js} +4 -4
- package/dist/{chunk-CJST5ETY.js → chunk-E6N6YTVM.js} +2 -2
- package/dist/chunk-E7CJ6O72.js +2 -0
- package/dist/chunk-EJHNTAEE.js +2 -0
- package/dist/chunk-EPLE5O5O.js +2 -0
- package/dist/chunk-F4FNK44D.js +2 -0
- package/dist/chunk-FCGMQETU.js +2 -0
- package/dist/chunk-FIO44MVK.js +3 -0
- package/dist/chunk-FLSVYEPL.js +2 -0
- package/dist/chunk-FOP7HD6H.js +3 -0
- package/dist/chunk-FSPENGSU.js +4 -0
- package/dist/chunk-FUUDUAKM.js +2 -0
- package/dist/chunk-FYCH2EYQ.js +2 -0
- package/dist/{chunk-5E4WNAVD.js → chunk-G47MFF47.js} +2 -2
- package/dist/chunk-G6VV7ROY.js +2 -0
- package/dist/chunk-GBZCVYWA.js +2 -0
- package/dist/chunk-GSHTVE56.js +3 -0
- package/dist/chunk-GTZFKDP3.js +2 -0
- package/dist/{chunk-2HPVVXM5.js → chunk-H2RBDP5S.js} +2 -2
- package/dist/chunk-H5EXS3HM.js +2 -0
- package/dist/chunk-HR5JYLVV.js +4 -0
- package/dist/chunk-HW7FASEL.js +2 -0
- package/dist/chunk-HYU4W353.js +10 -0
- package/dist/{chunk-FKSELJQF.js → chunk-I2LY3KN7.js} +2 -2
- package/dist/chunk-IGBQVEHE.js +2 -0
- package/dist/{chunk-3G66UZBH.js → chunk-IH3K5J6K.js} +2 -2
- package/dist/chunk-IHGK3SZ7.js +29 -0
- package/dist/chunk-IM23CSG5.js +2 -0
- package/dist/chunk-IQMGNIGY.js +2 -0
- package/dist/chunk-ITF3CWS5.js +2 -0
- package/dist/chunk-IZKJQQCQ.js +3 -0
- package/dist/chunk-J4HUBIVF.js +5 -0
- package/dist/{chunk-AZJQQKDD.js → chunk-JGMD6JGB.js} +2 -2
- package/dist/chunk-JLZWYDCZ.js +4 -0
- package/dist/chunk-JO6FK3Q5.js +2 -0
- package/dist/chunk-JSHDCVUM.js +81 -0
- package/dist/chunk-K2DZCH2K.js +2 -0
- package/dist/chunk-K63CAPS2.js +23 -0
- package/dist/chunk-KBIC6JHJ.js +2 -0
- package/dist/chunk-KFFQURUZ.js +2 -0
- package/dist/chunk-KFOYCQAJ.js +9 -0
- package/dist/chunk-KGKCJFWZ.js +6 -0
- package/dist/chunk-KK7GPALL.js +28 -0
- package/dist/chunk-L7WRUNKJ.js +2 -0
- package/dist/{chunk-W4ETQAXM.js → chunk-LFWB7TOJ.js} +2 -2
- package/dist/chunk-LGVTIZPV.js +61 -0
- package/dist/chunk-LIWIV26I.js +29 -0
- package/dist/chunk-LJMWILX6.js +3 -0
- package/dist/{chunk-BPAPWKP6.js → chunk-LXMW6ZAX.js} +8 -8
- package/dist/chunk-MFBVUQJZ.js +2 -0
- package/dist/{chunk-O64IZ6UX.js → chunk-MLTKGHD2.js} +2 -2
- package/dist/chunk-MLTSTKXD.js +5 -0
- package/dist/chunk-MR4ZKWO6.js +57 -0
- package/dist/{chunk-EN3O7VJA.js → chunk-MRXBLYRE.js} +2 -2
- package/dist/chunk-MXNGIEPU.js +3 -0
- package/dist/chunk-N4EFQIRX.js +20 -0
- package/dist/chunk-ND3BWIVN.js +7 -0
- package/dist/chunk-NODZYYGC.js +2 -0
- package/dist/chunk-NP4JFCLE.js +133 -0
- package/dist/chunk-NQXWWE6S.js +8 -0
- package/dist/chunk-NSDPPUDY.js +7 -0
- package/dist/chunk-NT4NVEHU.js +18 -0
- package/dist/chunk-O2VY47Y5.js +325 -0
- package/dist/chunk-O3EX5STE.js +5 -0
- package/dist/chunk-O4PZFAXA.js +3 -0
- package/dist/chunk-OA2BO4DR.js +2 -0
- package/dist/chunk-OFZVFIDF.js +3 -0
- package/dist/{chunk-PQCI4SQX.js → chunk-OG5UK2K7.js} +2 -2
- package/dist/chunk-OMVNRPST.js +2 -0
- package/dist/{chunk-7BAVHKMJ.js → chunk-OU6SDWAM.js} +9 -9
- package/dist/{chunk-LY4WC4AD.js → chunk-OY7PCALC.js} +2 -2
- package/dist/{chunk-A73XVBCR.js → chunk-P3UFF22M.js} +2 -2
- package/dist/chunk-PAZSBPJR.js +3 -0
- package/dist/chunk-PJBYDCBQ.js +38 -0
- package/dist/chunk-PRLU3I7G.js +79 -0
- package/dist/chunk-PU6XDQ2X.js +16 -0
- package/dist/{chunk-3CLX5EOX.js → chunk-PWEQ6CZZ.js} +2 -2
- package/dist/{chunk-XSRF6Q77.js → chunk-PX6QNUYF.js} +2 -2
- package/dist/chunk-Q4MRRB3C.js +3 -0
- package/dist/chunk-QGVUPYBC.js +35 -0
- package/dist/chunk-QH5Q6M5C.js +2 -0
- package/dist/chunk-QLWZUFDT.js +2 -0
- package/dist/chunk-QN2AI3D2.js +3 -0
- package/dist/{chunk-JAYYFEQY.js → chunk-QZCACNV5.js} +2 -2
- package/dist/chunk-RNKRYK6B.js +4 -0
- package/dist/chunk-RSUH7G5T.js +29 -0
- package/dist/chunk-RZWBTKXO.js +5 -0
- package/dist/chunk-SBFDPHKH.js +4 -0
- package/dist/{chunk-HX4GQPZP.js → chunk-SGSPCEFC.js} +3 -3
- package/dist/chunk-SIGVQT43.js +2 -0
- package/dist/chunk-SRIZDEWX.js +4 -0
- package/dist/chunk-SV2LEFVM.js +2 -0
- package/dist/chunk-T2PBOVDI.js +3 -0
- package/dist/chunk-TP2X2C2Y.js +3 -0
- package/dist/chunk-U2MNECDU.js +2 -0
- package/dist/chunk-U7DOYZDH.js +2 -0
- package/dist/chunk-UAQQR55F.js +2 -0
- package/dist/chunk-UBETC3Q2.js +2 -0
- package/dist/chunk-UEQORB2A.js +2 -0
- package/dist/chunk-UM56ZET4.js +38 -0
- package/dist/chunk-UXNXOMXJ.js +2 -0
- package/dist/{chunk-6SHPK5ZE.js → chunk-V6XENWOF.js} +2 -2
- package/dist/chunk-VJAD5WX5.js +2 -0
- package/dist/chunk-VRJG7N3I.js +453 -0
- package/dist/chunk-W7HN6V4E.js +7 -0
- package/dist/chunk-WCIKJ2E3.js +3 -0
- package/dist/chunk-WEXQYJY3.js +5 -0
- package/dist/chunk-WOPZX5GM.js +2 -0
- package/dist/chunk-WRQXLNYE.js +9 -0
- package/dist/{chunk-XKWKXZKW.js → chunk-WV6R37XV.js} +2 -2
- package/dist/{chunk-N5W4YZMK.js → chunk-WZ7V4BQV.js} +2 -2
- package/dist/chunk-WZRNEVYC.js +2 -0
- package/dist/chunk-X5MWO4DM.js +7 -0
- package/dist/chunk-XDAUYDFT.js +2 -0
- package/dist/{chunk-L7AW2QB5.js → chunk-XDOEHEET.js} +2 -2
- package/dist/chunk-XDQX6LDT.js +4 -0
- package/dist/chunk-XFRHBAIT.js +2 -0
- package/dist/chunk-XIPGCT3D.js +5 -0
- package/dist/chunk-XKM5D2XS.js +16 -0
- package/dist/chunk-XNF5T4T2.js +4 -0
- package/dist/chunk-Y2S4YNLH.js +3 -0
- package/dist/chunk-YA72ZUKO.js +2 -0
- package/dist/chunk-YBWE6J32.js +43 -0
- package/dist/chunk-YCXQQ3YB.js +2 -0
- package/dist/chunk-YDTK77JP.js +43 -0
- package/dist/chunk-YF25RQER.js +4 -0
- package/dist/chunk-YKHL4J3G.js +2 -0
- package/dist/chunk-YLNCTPOI.js +4 -0
- package/dist/chunk-YR7VRWNX.js +2 -0
- package/dist/chunk-YT4IQBET.js +3 -0
- package/dist/chunk-YUKYB54I.js +1 -0
- package/dist/chunk-Z2KGMIL4.js +2 -0
- package/dist/chunk-Z2QB75BS.js +3 -0
- package/dist/chunk-Z67JOKRE.js +554 -0
- package/dist/chunk-ZGDHC5AT.js +2 -0
- package/dist/chunk-ZMS4YCY7.js +2 -0
- package/dist/chunk-ZNW5A5VX.js +3 -0
- package/dist/{chunk-TFRAYKN6.js → chunk-ZP2WUVZ5.js} +2 -2
- package/dist/chunk-ZQUNCTEZ.js +2 -0
- package/dist/cli-main.js +8 -0
- package/dist/cli.js +1 -3
- package/dist/code-AXLJBZ6T.js +2 -0
- package/dist/code-B17qEMbt.d.ts +121 -0
- package/dist/code-result-json-CTZHAQXJ.js +2 -0
- package/dist/command-descriptors-6INSCKLW.js +342 -0
- package/dist/{config-types-jVM3D7MA.d.ts → config-types-B9B60MiR.d.ts} +199 -23
- package/dist/dataflow-AFXY423Q.js +2 -0
- package/dist/{db-B5PM5yNk.d.ts → db-BwIVAYNB.d.ts} +1 -1
- package/dist/dependence-slice-2G4X6VSJ.js +2 -0
- package/dist/deps-LMCAV5DO.js +2 -0
- package/dist/direct-navigation-2ONV22Y2.js +3 -0
- package/dist/entry-map-ZOC3VXO5.js +2 -0
- package/dist/exploration-topology-BG4v30HZ.d.ts +256 -0
- package/dist/file-dep-graph-Bqg3t3Px.d.ts +4 -0
- package/dist/file-kind-BKCVMNUf.d.ts +10 -0
- package/dist/files-WJQJLHMH.js +2 -0
- package/dist/graph-evidence-Bjyky2V4.d.ts +126 -0
- package/dist/graph-exploration-contract-CqDsnPQL.d.ts +7 -0
- package/dist/{health-Do5TKSJI.d.ts → health-CPp2Jf1Z.d.ts} +33 -34
- package/dist/hierarchy-ASNIHAX4.js +2 -0
- package/dist/imports-JICEKDKK.js +2 -0
- package/dist/index.d.ts +4 -31
- package/dist/index.js +1 -1
- package/dist/members-C5H2K3MS.js +2 -0
- package/dist/methods-KZOZHSD4.js +2 -0
- package/dist/next-anchor-candidates-BwMczMvX.d.ts +90 -0
- package/dist/output-continuation-command-NX3RH3TP.js +3 -0
- package/dist/output-pagination-3OFL2MJV.js +19 -0
- package/dist/postinstall.js +1 -1
- package/dist/project-reindex-A2SXUH2H.js +3 -0
- package/dist/queries/affected.d.ts +22 -4
- package/dist/queries/affected.js +1 -1
- package/dist/queries/anchors.d.ts +123 -0
- package/dist/queries/anchors.js +2 -0
- package/dist/queries/architecture.d.ts +3 -2
- package/dist/queries/architecture.js +1 -1
- package/dist/queries/bottlenecks.d.ts +26 -7
- package/dist/queries/bottlenecks.js +1 -1
- package/dist/queries/by-kind.d.ts +2 -2
- package/dist/queries/by-kind.js +1 -1
- package/dist/queries/call-graph.d.ts +17 -3
- package/dist/queries/call-graph.js +1 -1
- package/dist/queries/change-surface.d.ts +2 -2
- package/dist/queries/change-surface.js +1 -1
- package/dist/queries/cleanup-plan.d.ts +2 -2
- package/dist/queries/cleanup-plan.js +1 -1
- package/dist/queries/co-change.d.ts +2 -2
- package/dist/queries/co-change.js +1 -1
- package/dist/queries/code.d.ts +5 -26
- package/dist/queries/code.js +1 -1
- package/dist/queries/complexity-hotspots.d.ts +2 -2
- package/dist/queries/complexity-hotspots.js +1 -1
- package/dist/queries/complexity.d.ts +2 -2
- package/dist/queries/complexity.js +1 -1
- package/dist/queries/context.d.ts +145 -0
- package/dist/queries/context.js +2 -0
- package/dist/queries/convergence.d.ts +2 -2
- package/dist/queries/convergence.js +1 -1
- package/dist/queries/coupling.d.ts +8 -3
- package/dist/queries/coupling.js +1 -1
- package/dist/queries/cycles.d.ts +34 -7
- package/dist/queries/cycles.js +1 -1
- package/dist/queries/dataflow.d.ts +40 -14
- package/dist/queries/dataflow.js +1 -1
- package/dist/queries/dead.d.ts +2 -2
- package/dist/queries/dead.js +1 -1
- package/dist/queries/decorative-checkers.d.ts +3 -3
- package/dist/queries/decorative-checkers.js +1 -1
- package/dist/queries/deep-chains.d.ts +4 -38
- package/dist/queries/deep-chains.js +1 -1
- package/dist/queries/dependence-slice.d.ts +47 -0
- package/dist/queries/dependence-slice.js +2 -0
- package/dist/queries/dependency-depth.d.ts +49 -0
- package/dist/queries/dependency-depth.js +2 -0
- package/dist/queries/deps.d.ts +4 -2
- package/dist/queries/deps.js +1 -1
- package/dist/queries/diff-impact.d.ts +3 -3
- package/dist/queries/diff-impact.js +1 -1
- package/dist/queries/doc-drift.d.ts +4 -4
- package/dist/queries/doc-drift.js +1 -1
- package/dist/queries/drift.d.ts +2 -2
- package/dist/queries/drift.js +1 -1
- package/dist/queries/duplicate-bodies.d.ts +2 -2
- package/dist/queries/duplicate-bodies.js +1 -1
- package/dist/queries/entry-map.d.ts +121 -0
- package/dist/queries/entry-map.js +2 -0
- package/dist/queries/evidence.d.ts +70 -0
- package/dist/queries/evidence.js +2 -0
- package/dist/queries/extract-candidates.d.ts +2 -2
- package/dist/queries/extract-candidates.js +1 -1
- package/dist/queries/fan.d.ts +18 -5
- package/dist/queries/fan.js +1 -1
- package/dist/queries/files.d.ts +2 -2
- package/dist/queries/files.js +1 -1
- package/dist/queries/health.d.ts +4 -3
- package/dist/queries/health.js +1 -1
- package/dist/queries/hierarchy.d.ts +5 -3
- package/dist/queries/hierarchy.js +1 -1
- package/dist/queries/hotspots.d.ts +11 -5
- package/dist/queries/hotspots.js +1 -1
- package/dist/queries/imports.d.ts +2 -2
- package/dist/queries/imports.js +1 -1
- package/dist/queries/incomplete-migration.d.ts +4 -4
- package/dist/queries/incomplete-migration.js +1 -1
- package/dist/queries/index.d.ts +56 -136
- package/dist/queries/index.js +1 -1
- package/dist/queries/isolated.d.ts +2 -2
- package/dist/queries/isolated.js +1 -1
- package/dist/queries/locality-candidates.d.ts +2 -2
- package/dist/queries/locality-candidates.js +1 -1
- package/dist/queries/members.d.ts +2 -2
- package/dist/queries/members.js +1 -1
- package/dist/queries/methods.d.ts +2 -2
- package/dist/queries/methods.js +1 -1
- package/dist/queries/not-implemented.d.ts +3 -3
- package/dist/queries/not-implemented.js +1 -1
- package/dist/queries/outline.d.ts +2 -2
- package/dist/queries/outline.js +1 -1
- package/dist/queries/passthrough-candidates.d.ts +5 -9
- package/dist/queries/passthrough-candidates.js +1 -1
- package/dist/queries/plan-context.d.ts +27 -64
- package/dist/queries/plan-context.js +1 -1
- package/dist/queries/react-component-duplicates.d.ts +2 -2
- package/dist/queries/react-component-duplicates.js +1 -1
- package/dist/queries/react-hook-candidates.d.ts +2 -2
- package/dist/queries/react-hook-candidates.js +1 -1
- package/dist/queries/react-large-component-pressure.d.ts +2 -2
- package/dist/queries/react-large-component-pressure.js +1 -1
- package/dist/queries/recent-duplicates.d.ts +2 -2
- package/dist/queries/recent-duplicates.js +1 -1
- package/dist/queries/redundant-reexports.d.ts +2 -2
- package/dist/queries/redundant-reexports.js +1 -1
- package/dist/queries/reference-neighborhood.d.ts +4 -0
- package/dist/queries/reference-neighborhood.js +2 -0
- package/dist/queries/reference-reachability.d.ts +48 -0
- package/dist/queries/reference-reachability.js +2 -0
- package/dist/queries/refs.d.ts +2 -2
- package/dist/queries/refs.js +1 -1
- package/dist/queries/self-audit.d.ts +2 -2
- package/dist/queries/self-audit.js +1 -1
- package/dist/queries/similar-chains.d.ts +2 -2
- package/dist/queries/similar-chains.js +1 -1
- package/dist/queries/similar-files.d.ts +2 -2
- package/dist/queries/similar-files.js +1 -1
- package/dist/queries/similar-signatures.d.ts +2 -2
- package/dist/queries/similar-signatures.js +1 -1
- package/dist/queries/similar.d.ts +2 -2
- package/dist/queries/similar.js +1 -1
- package/dist/queries/slice.d.ts +3 -36
- package/dist/queries/slice.js +1 -1
- package/dist/queries/source-inspection.d.ts +209 -0
- package/dist/queries/source-inspection.js +2 -0
- package/dist/queries/source-search.d.ts +13 -0
- package/dist/queries/source-search.js +2 -0
- package/dist/queries/stale-abstractions.d.ts +2 -2
- package/dist/queries/stale-abstractions.js +1 -1
- package/dist/queries/stats.d.ts +2 -2
- package/dist/queries/surface.d.ts +13 -4
- package/dist/queries/surface.js +1 -1
- package/dist/queries/symbols.d.ts +2 -2
- package/dist/queries/symbols.js +1 -1
- package/dist/queries/system-map.d.ts +449 -0
- package/dist/queries/system-map.js +2 -0
- package/dist/queries/system.d.ts +5 -3
- package/dist/queries/system.js +1 -1
- package/dist/queries/test-quality.d.ts +2 -2
- package/dist/queries/test-quality.js +1 -1
- package/dist/queries/trace.d.ts +47 -3
- package/dist/queries/trace.js +1 -1
- package/dist/queries/twin-ab.d.ts +3 -3
- package/dist/queries/twin-ab.js +1 -1
- package/dist/queries/twin-drift.d.ts +3 -3
- package/dist/queries/twin-drift.js +1 -1
- package/dist/queries/unused-imports.d.ts +2 -2
- package/dist/queries/unused-imports.js +1 -1
- package/dist/queries/unused-params.d.ts +2 -2
- package/dist/queries/unused-params.js +1 -1
- package/dist/queries/value-flow.d.ts +43 -0
- package/dist/queries/value-flow.js +2 -0
- package/dist/queries/vue-component-duplicates.d.ts +2 -2
- package/dist/queries/vue-component-duplicates.js +1 -1
- package/dist/queries/vue-composable-candidates.d.ts +2 -2
- package/dist/queries/vue-composable-candidates.js +1 -1
- package/dist/queries/vue-large-view-pressure.d.ts +2 -2
- package/dist/queries/vue-large-view-pressure.js +1 -1
- package/dist/queries/wrapper-candidates.d.ts +2 -2
- package/dist/queries/wrapper-candidates.js +1 -1
- package/dist/query-service-fastpath.js +6 -0
- package/dist/query-service-server.js +5 -0
- package/dist/refs-ZOORVRQC.js +2 -0
- package/dist/refs-pagination-SRCUOYRD.js +2 -0
- package/dist/reindex-worker.js +85 -86
- package/dist/reindex.d.ts +64 -42
- package/dist/reindex.js +93 -77
- package/dist/repository-text-C0Q8VYdN.d.ts +19 -0
- package/dist/runtime.d.ts +287 -8
- package/dist/runtime.js +4 -3
- package/dist/rust-semantic-session-server.js +1 -1
- package/dist/rust-semantic-session-worker.js +1 -1
- package/dist/rust-semantic-worker.js +1 -1
- package/dist/{scip-cli-BnEwZRLJ.d.ts → scip-cli-H-n59izO.d.ts} +33 -2
- package/dist/slice-NOTBWA7S.js +2 -0
- package/dist/source-search-types-Dwz8KeuW.d.ts +79 -0
- package/dist/source-snippet-_wrcgmZc.d.ts +15 -0
- package/dist/stats-OOJ74B32.js +2 -0
- package/dist/surface-BTBCLKNA.js +2 -0
- package/dist/symbol-resolution-SVSMX4RN.js +2 -0
- package/dist/system-2EIUFP6B.js +2 -0
- package/dist/trace-BB2GHQPG.js +2 -0
- package/dist/typescript-mailbox-worker.js +1 -1
- package/dist/value-flow-OA7AHSUG.js +2 -0
- package/dist/watch-server.js +3 -2
- package/docs/AGENT_GUIDE.md +133 -476
- package/docs/AI_FAILURE_MODES.md +30 -301
- package/docs/API.md +1 -1
- package/docs/API_EVOLUTION.md +6 -0
- package/docs/CLI_JSON_OUTPUT.md +207 -29
- package/docs/COMMAND_REFERENCE.md +255 -154
- package/docs/CONFIGURATION_WRITE_SAFETY.md +14 -13
- package/docs/DETECTOR_EVIDENCE_CONTRACTS.md +84 -0
- package/docs/DETECTOR_GUIDE.md +46 -138
- package/docs/DURABILITY.md +7 -1
- package/docs/INDEX_GENERATIONS.md +6 -0
- package/docs/LOCK_PROTOCOL.md +8 -0
- package/docs/REINDEX_METADATA_COMPATIBILITY.md +13 -3
- package/docs/SECURITY_MODEL.md +39 -42
- package/docs/accuracy-audit-checklist.md +4 -0
- package/docs/accuracy-hardening-goal.md +9 -2
- package/docs/analyzer-inventory.md +59 -264
- package/docs/analyzer-validation-protocol.md +62 -170
- package/docs/architecture-coherence-vision.md +18 -12
- package/docs/locality-analyzer-design.md +1 -1
- package/docs/schemas/cli-json-envelope.schema.json +212 -27
- package/docs/schemas/cli-json-export-receipt.schema.json +25 -0
- package/docs/schemas/cli-output-page.schema.json +1 -1
- package/docs/schemas/observation-receipt.schema.json +164 -0
- package/docs/schemas/project-config.schema.json +37 -45
- package/docs/schemas/suppression-record.schema.json +1 -34
- package/package.json +69 -11
- package/skills/concrete-plan/SKILL.md +8 -0
- package/skills/concrete-plan/agents/openai.yaml +4 -0
- package/skills/scip-explore/SKILL.md +49 -61
- package/skills/scip-explore/agents/openai.yaml +3 -3
- package/skills/scip-explore/references/delegated-exploration.md +51 -0
- package/skills/scip-explore/references/external-evidence.md +72 -0
- package/skills/scip-explore/references/information-model.md +51 -0
- package/skills/scip-explore/scripts/capture-evidence.mjs +666 -0
- package/skills/scip-integrity-audit/SKILL.md +185 -0
- package/skills/scip-integrity-audit/agents/openai.yaml +4 -0
- package/skills/scip-plan/SKILL.md +67 -49
- package/skills/scip-plan/agents/openai.yaml +3 -3
- package/skills/scip-query/SKILL.md +98 -77
- package/skills/scip-query/agents/openai.yaml +3 -3
- package/skills/scip-setup/SKILL.md +10 -102
- package/skills/scip-setup/agents/openai.yaml +3 -3
- package/dist/chunk-26QA6FAI.js +0 -8
- package/dist/chunk-2KAZEZ6M.js +0 -2
- package/dist/chunk-3ORVDL3H.js +0 -2
- package/dist/chunk-46XGSFNI.js +0 -2
- package/dist/chunk-4MAK2HOY.js +0 -6
- package/dist/chunk-4TURLRL5.js +0 -16
- package/dist/chunk-4UQVNCQE.js +0 -2
- package/dist/chunk-55Q3WLZX.js +0 -2
- package/dist/chunk-5I5G2QOX.js +0 -3
- package/dist/chunk-6LDJQXAH.js +0 -2
- package/dist/chunk-6O5TICIZ.js +0 -3
- package/dist/chunk-7O5IKBTZ.js +0 -16
- package/dist/chunk-7S5E7KWT.js +0 -2
- package/dist/chunk-7WPLAODU.js +0 -5
- package/dist/chunk-AFHORGLH.js +0 -42
- package/dist/chunk-AIE7TFJW.js +0 -9
- package/dist/chunk-AQOFWNQJ.js +0 -1
- package/dist/chunk-B2PX5I6M.js +0 -2
- package/dist/chunk-B75HZHUP.js +0 -2
- package/dist/chunk-B7PBSLZN.js +0 -2
- package/dist/chunk-BBW6JFHN.js +0 -2
- package/dist/chunk-BNXCIFVY.js +0 -2
- package/dist/chunk-BS2NMXQZ.js +0 -4
- package/dist/chunk-C3KV2II6.js +0 -2
- package/dist/chunk-C43RDDP4.js +0 -20
- package/dist/chunk-DAFAHMNB.js +0 -42
- package/dist/chunk-DQLPXMH6.js +0 -8
- package/dist/chunk-EKZTZXHZ.js +0 -117
- package/dist/chunk-EW2NTSFA.js +0 -18
- package/dist/chunk-F3Z4OUDS.js +0 -8
- package/dist/chunk-FJH2NW7J.js +0 -66
- package/dist/chunk-FTFP6O3L.js +0 -11
- package/dist/chunk-FYLK2DEJ.js +0 -2
- package/dist/chunk-GH74ASD6.js +0 -11
- package/dist/chunk-GMXWZP2B.js +0 -2
- package/dist/chunk-GOUBFH5O.js +0 -3
- package/dist/chunk-HLF2TX6R.js +0 -2
- package/dist/chunk-HX7M4BDI.js +0 -30
- package/dist/chunk-HZ72SESS.js +0 -128
- package/dist/chunk-IB2N4FIY.js +0 -10
- package/dist/chunk-IZYYAFN5.js +0 -2
- package/dist/chunk-JFGGXWQF.js +0 -947
- package/dist/chunk-JN4NMBEX.js +0 -8
- package/dist/chunk-JW56N3KI.js +0 -4
- package/dist/chunk-JZ2OXNWB.js +0 -2
- package/dist/chunk-KFZNKUNT.js +0 -2
- package/dist/chunk-L5GJNV2T.js +0 -8
- package/dist/chunk-L7JDSCDF.js +0 -4
- package/dist/chunk-LU47HG23.js +0 -14
- package/dist/chunk-LVY7NPF7.js +0 -2
- package/dist/chunk-MKCDWWGV.js +0 -4
- package/dist/chunk-MNE7YG56.js +0 -2
- package/dist/chunk-MRXBEXSY.js +0 -26
- package/dist/chunk-MV7OWDUX.js +0 -2
- package/dist/chunk-NGEXCJJW.js +0 -11
- package/dist/chunk-NIW6JDC5.js +0 -29
- package/dist/chunk-PBUQFCNB.js +0 -16
- package/dist/chunk-POAVPHH7.js +0 -2
- package/dist/chunk-QZ4JVECJ.js +0 -2
- package/dist/chunk-RDO52JGY.js +0 -2
- package/dist/chunk-RJT3TUUZ.js +0 -2
- package/dist/chunk-RVLDN63O.js +0 -4
- package/dist/chunk-RXOXSKY3.js +0 -2
- package/dist/chunk-S7OYBOCK.js +0 -2
- package/dist/chunk-SMNXQT5Z.js +0 -3
- package/dist/chunk-SRAFT254.js +0 -2
- package/dist/chunk-T7YQSHPQ.js +0 -3
- package/dist/chunk-UJCOIXDY.js +0 -2
- package/dist/chunk-UJPRPGCO.js +0 -13
- package/dist/chunk-WCCFZ7V7.js +0 -113
- package/dist/chunk-WUPW3UN3.js +0 -3
- package/dist/chunk-X54AGLVX.js +0 -2
- package/dist/chunk-Y2MVPNKY.js +0 -5
- package/dist/chunk-YKUU5AIC.js +0 -3
- package/dist/chunk-YLCJLTPL.js +0 -2
- package/dist/chunk-YTQVETEO.js +0 -2
- package/dist/chunk-Z4N3MZYA.js +0 -38
- package/dist/chunk-ZJOOT3BG.js +0 -2
- package/dist/chunk-ZK26BAQL.js +0 -2
- package/dist/command-descriptors-DSS46KXI.js +0 -642
- package/dist/diff-gate-types-B0QYpDv1.d.ts +0 -11
- package/dist/direct-navigation-6YHV6IB5.js +0 -3
- package/dist/queries/diff-gate.d.ts +0 -253
- package/dist/queries/diff-gate.js +0 -2
- package/docs/COMMITTED_RECORD_COMPATIBILITY.md +0 -154
- package/docs/analyzer-validation-ledger.md +0 -516
- package/docs/schemas/outcome-event-record.schema.json +0 -95
- package/skills/_shared/SKILL.md +0 -101
- package/skills/_shared/agents/openai.yaml +0 -4
- package/skills/_shared/references/agent-contract-catalog.md +0 -105
- package/skills/_shared/references/command-catalog.md +0 -118
- package/skills/_shared/references/detector-precision-and-diffgate.md +0 -59
- package/skills/_shared/references/evidence-and-dead-code.md +0 -25
- package/skills/scip-audit/SKILL.md +0 -77
- package/skills/scip-audit/agents/openai.yaml +0 -4
- package/skills/scip-audit/references/claims.md +0 -98
- package/skills/scip-audit/references/cleanup.md +0 -100
- package/skills/scip-audit/references/directory.md +0 -222
- package/skills/scip-audit/references/frontend.md +0 -130
- package/skills/scip-audit/references/integrity.md +0 -154
- package/skills/scip-audit/references/maintainability.md +0 -162
- package/skills/scip-audit/references/twin-drift.md +0 -104
- package/skills/scip-diagnose/SKILL.md +0 -52
- package/skills/scip-diagnose/agents/openai.yaml +0 -4
- package/skills/scip-diagnose/references/debug.md +0 -117
- package/skills/scip-diagnose/references/probe-reachability.md +0 -77
- package/skills/scip-diagnose/references/root-cause.md +0 -145
- package/skills/scip-diagnose/references/triage.md +0 -119
- package/skills/scip-explore/references/diagrams.md +0 -40
- package/skills/scip-explore/references/language-playbook.md +0 -49
- package/skills/scip-improve/SKILL.md +0 -56
- package/skills/scip-improve/agents/openai.yaml +0 -4
- package/skills/scip-improve/references/cleanup-batches.md +0 -53
- package/skills/scip-improve/references/directory-moves.md +0 -53
- package/skills/scip-improve/references/doc-reconcile.md +0 -30
- package/skills/scip-improve/references/frontend-extraction.md +0 -39
- package/skills/scip-improve/references/maintainability-mechanism.md +0 -43
- package/skills/scip-improve/references/twin-drift.md +0 -35
- package/skills/scip-plan/references/api-impact.md +0 -19
- package/skills/scip-plan/references/conductor.md +0 -41
- package/skills/scip-plan/references/high-assurance.md +0 -43
- package/skills/scip-plan/references/hyper-optimization.md +0 -50
- package/skills/scip-plan/references/tla-model.md +0 -88
- package/skills/scip-setup/references/bootstrap-workflow.md +0 -119
- package/skills/scip-setup/references/language-verification.md +0 -61
- package/skills/scip-setup/references/lifecycle-commands.md +0 -119
- package/skills/scip-setup/references/per-repo-triage.md +0 -24
- package/skills/scip-verify/SKILL.md +0 -229
- package/skills/scip-verify/agents/openai.yaml +0 -4
- package/skills/scip-verify/references/calibrate-detectors.md +0 -170
|
@@ -1,12 +1,19 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const LEGACY_OBSERVATION_RECEIPT_SCHEMA_VERSION: 1;
|
|
2
|
+
declare const OBSERVATION_RECEIPT_SCHEMA_VERSION: 2;
|
|
3
|
+
declare const OBSERVATION_IDENTITY_SCHEMA_VERSION: 1;
|
|
4
|
+
declare const OBSERVATION_IDENTITY_CANONICALIZATION_VERSION: 1;
|
|
5
|
+
declare const OBSERVATION_IDENTITY_HASH_ALGORITHM: "sha256";
|
|
6
|
+
declare const OBSERVATION_STATE_AUTHORITY_POLICY_VERSION: 1;
|
|
2
7
|
type ObservationAuthorityKind = 'index-worktree' | 'index-only' | 'worktree-only' | 'process-local';
|
|
3
8
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
9
|
+
* A version-1 receipt identifies the local index/worktree evidence emitted by
|
|
10
|
+
* scip-query before state identity was split into independent facts. Its
|
|
11
|
+
* project and worktree values are retained as historical facts, but their
|
|
12
|
+
* combined path/state meanings cannot prove v2 collaboration, workspace, or
|
|
13
|
+
* content relationships.
|
|
7
14
|
*/
|
|
8
|
-
interface
|
|
9
|
-
schemaVersion: typeof
|
|
15
|
+
interface ObservationReceiptV1 {
|
|
16
|
+
schemaVersion: typeof LEGACY_OBSERVATION_RECEIPT_SCHEMA_VERSION;
|
|
10
17
|
authorityKind: ObservationAuthorityKind;
|
|
11
18
|
observedAt: string;
|
|
12
19
|
projectIdentity: string;
|
|
@@ -22,17 +29,150 @@ interface ObservationReceipt {
|
|
|
22
29
|
treeOid?: string;
|
|
23
30
|
};
|
|
24
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* An observation identity is a content-derived identifier whose projection
|
|
34
|
+
* says which real inputs were selected and whose digest says what values that
|
|
35
|
+
* projection observed. Including every version in the hash preimage prevents
|
|
36
|
+
* equal-looking digests from silently crossing incompatible identity rules.
|
|
37
|
+
*/
|
|
38
|
+
interface ObservationIdentity {
|
|
39
|
+
schemaVersion: typeof OBSERVATION_IDENTITY_SCHEMA_VERSION;
|
|
40
|
+
canonicalizationVersion: typeof OBSERVATION_IDENTITY_CANONICALIZATION_VERSION;
|
|
41
|
+
hashAlgorithm: typeof OBSERVATION_IDENTITY_HASH_ALGORITHM;
|
|
42
|
+
projection: {
|
|
43
|
+
name: string;
|
|
44
|
+
version: number;
|
|
45
|
+
};
|
|
46
|
+
digest: string;
|
|
47
|
+
}
|
|
48
|
+
interface RelevantInputIdentity {
|
|
49
|
+
/** The result or claim family whose answer can be changed by this projection. */
|
|
50
|
+
subject: string;
|
|
51
|
+
identity: ObservationIdentity;
|
|
52
|
+
}
|
|
53
|
+
type ObservationSourceKind = 'index-generation' | 'repository-snapshot' | 'live-workspace' | 'process';
|
|
54
|
+
/**
|
|
55
|
+
* An observed source is one state-bearing input an operation actually read.
|
|
56
|
+
* It names the referent only; whether that referent stayed fixed is a separate
|
|
57
|
+
* stability fact.
|
|
58
|
+
*/
|
|
59
|
+
interface ObservationSourceFact {
|
|
60
|
+
kind: ObservationSourceKind;
|
|
61
|
+
identity?: ObservationIdentity;
|
|
62
|
+
}
|
|
63
|
+
type ObservationStabilityProofKind = 'immutable' | 'fixed-snapshot' | 'bracketed' | 'not-established' | 'invalidated';
|
|
64
|
+
/**
|
|
65
|
+
* A stability proof records how one observed source was prevented from
|
|
66
|
+
* changing during the observation interval. Immutable and fixed-snapshot
|
|
67
|
+
* proofs establish fixed input; bracketed equality is weaker because an
|
|
68
|
+
* intermediate change can return to the same endpoint.
|
|
69
|
+
*/
|
|
70
|
+
interface ObservationStabilityProof {
|
|
71
|
+
source: ObservationSourceKind;
|
|
72
|
+
kind: ObservationStabilityProofKind;
|
|
73
|
+
}
|
|
74
|
+
interface ObservationReceiptV2 {
|
|
75
|
+
schemaVersion: typeof OBSERVATION_RECEIPT_SCHEMA_VERSION;
|
|
76
|
+
observedAt: string;
|
|
77
|
+
facts: {
|
|
78
|
+
collaborationDomain?: ObservationIdentity;
|
|
79
|
+
repositoryLineage?: ObservationIdentity;
|
|
80
|
+
workspaceInstance?: ObservationIdentity;
|
|
81
|
+
wholeContent?: ObservationIdentity;
|
|
82
|
+
relevantInputs?: readonly RelevantInputIdentity[];
|
|
83
|
+
index?: {
|
|
84
|
+
generation: ObservationIdentity;
|
|
85
|
+
/** Inputs persisted with the immutable generation when known. */
|
|
86
|
+
inputs?: ObservationIdentity;
|
|
87
|
+
source: 'immutable' | 'legacy';
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
observedSources: readonly ObservationSourceFact[];
|
|
91
|
+
stabilityProofs: readonly ObservationStabilityProof[];
|
|
92
|
+
/** Human-useful state facts that are not compatibility identities. */
|
|
93
|
+
diagnostics?: {
|
|
94
|
+
clean?: boolean;
|
|
95
|
+
headCommit?: string;
|
|
96
|
+
treeOid?: string;
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
type ObservationReceipt = ObservationReceiptV1 | ObservationReceiptV2;
|
|
100
|
+
type DecodedObservationReceipt = {
|
|
101
|
+
kind: 'legacy';
|
|
102
|
+
schemaVersion: 1;
|
|
103
|
+
receipt: ObservationReceiptV1;
|
|
104
|
+
} | {
|
|
105
|
+
kind: 'supported';
|
|
106
|
+
schemaVersion: 2;
|
|
107
|
+
receipt: ObservationReceiptV2;
|
|
108
|
+
} | {
|
|
109
|
+
kind: 'unsupported';
|
|
110
|
+
schemaVersion: number;
|
|
111
|
+
direction: 'older' | 'future';
|
|
112
|
+
} | {
|
|
113
|
+
kind: 'malformed';
|
|
114
|
+
reason: string;
|
|
115
|
+
};
|
|
116
|
+
type ObservationRelationshipState = 'established' | 'disproven' | 'unknown';
|
|
117
|
+
type ObservationComparisonReason = 'identities-equal' | 'identities-different' | 'left-fact-missing' | 'right-fact-missing' | 'both-facts-missing' | 'identity-projections-not-comparable' | 'legacy-fact-not-comparable' | 'all-observed-sources-fixed' | 'left-observation-has-no-repository-source' | 'right-observation-has-no-repository-source' | 'left-observation-not-fixed' | 'right-observation-not-fixed' | 'left-observation-invalidated' | 'right-observation-invalidated';
|
|
118
|
+
type ObservationComparedFact = {
|
|
119
|
+
kind: 'identity';
|
|
120
|
+
identity: ObservationIdentity;
|
|
121
|
+
} | {
|
|
122
|
+
kind: 'legacy-index-generation';
|
|
123
|
+
value: string;
|
|
124
|
+
} | {
|
|
125
|
+
kind: 'stability';
|
|
126
|
+
proof: ObservationStabilityProof;
|
|
127
|
+
};
|
|
128
|
+
interface ObservationRelationshipJudgment {
|
|
129
|
+
state: ObservationRelationshipState;
|
|
130
|
+
reasons: readonly ObservationComparisonReason[];
|
|
131
|
+
facts: {
|
|
132
|
+
left: readonly ObservationComparedFact[];
|
|
133
|
+
right: readonly ObservationComparedFact[];
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
interface RelevantInputRelationshipJudgment {
|
|
137
|
+
subject: string;
|
|
138
|
+
projection: string;
|
|
139
|
+
judgment: ObservationRelationshipJudgment;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* A receipt comparison is a set of independent relationship judgments. Each
|
|
143
|
+
* field answers one real question; no field is a total "strength" score and
|
|
144
|
+
* no established relationship silently upgrades another.
|
|
145
|
+
*/
|
|
25
146
|
interface ObservationReceiptComparison {
|
|
26
|
-
|
|
27
|
-
|
|
147
|
+
collaborationDomain: ObservationRelationshipJudgment;
|
|
148
|
+
repositoryLineage: ObservationRelationshipJudgment;
|
|
149
|
+
workspaceInstance: ObservationRelationshipJudgment;
|
|
150
|
+
wholeContent: ObservationRelationshipJudgment;
|
|
151
|
+
relevantInputs: readonly RelevantInputRelationshipJudgment[];
|
|
152
|
+
indexInput: ObservationRelationshipJudgment;
|
|
153
|
+
indexGeneration: ObservationRelationshipJudgment;
|
|
154
|
+
observationStability: ObservationRelationshipJudgment;
|
|
28
155
|
}
|
|
156
|
+
type ObservationStateAuthority = 'completion' | 'advisory' | 'none';
|
|
29
157
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
158
|
+
* A derived state-authority judgment is product policy applied to receipt
|
|
159
|
+
* facts at use time. It is not serialized into the producer's receipt, so a
|
|
160
|
+
* producer cannot grant itself completion authority by asserting a label.
|
|
33
161
|
*/
|
|
34
|
-
|
|
162
|
+
interface DerivedObservationStateAuthority {
|
|
163
|
+
policyVersion: typeof OBSERVATION_STATE_AUTHORITY_POLICY_VERSION;
|
|
164
|
+
authority: ObservationStateAuthority;
|
|
165
|
+
requiredRelationships: readonly ['collaborationDomain', 'wholeContent', 'observationStability'];
|
|
166
|
+
reasons: readonly string[];
|
|
167
|
+
}
|
|
168
|
+
declare function createObservationIdentity(projectionName: string, projectionVersion: number, canonicalValue: string): ObservationIdentity;
|
|
169
|
+
declare function decodeObservationReceipt(value: unknown): DecodedObservationReceipt;
|
|
35
170
|
declare function isObservationReceipt(value: unknown): value is ObservationReceipt;
|
|
171
|
+
declare function compareObservationReceipts(left: ObservationReceipt, right: ObservationReceipt): ObservationReceiptComparison;
|
|
172
|
+
declare function deriveObservationStateAuthority(left: ObservationReceipt, right: ObservationReceipt, comparison?: ObservationReceiptComparison): DerivedObservationStateAuthority;
|
|
173
|
+
declare function observationReceiptGenerationIdentity(receipt: ObservationReceipt): string | undefined;
|
|
174
|
+
declare function observationReceiptWorkspaceIdentity(receipt: ObservationReceipt): string | undefined;
|
|
175
|
+
declare function observationReceiptStabilityLabel(receipt: ObservationReceipt): string;
|
|
36
176
|
|
|
37
177
|
interface InstallMethod {
|
|
38
178
|
/** Human-readable label (e.g., "npm", "pip", "go install") */
|
|
@@ -95,6 +235,10 @@ interface ScipQueryConfig {
|
|
|
95
235
|
indexPath: string;
|
|
96
236
|
/** Project root directory */
|
|
97
237
|
projectRoot: string;
|
|
238
|
+
/** Committed identity shared by branches, clones, and forks intended to merge into one project history. */
|
|
239
|
+
collaborationDomainId?: string;
|
|
240
|
+
/** Persistent cache path used when the indexed database is a temporary publish candidate. */
|
|
241
|
+
evidenceDbPath?: string;
|
|
98
242
|
/** Internal repository-level read-through cache for proven content-addressed evidence products. */
|
|
99
243
|
sharedEvidenceDbPath?: string;
|
|
100
244
|
/** Project-specific externally-live roots for dead-code filtering */
|
|
@@ -121,14 +265,18 @@ interface ProjectConfig {
|
|
|
121
265
|
$schema?: string;
|
|
122
266
|
/** Persisted project-config format. Omitted only by readable legacy v1 records and in-memory callers. */
|
|
123
267
|
schemaVersion?: 2;
|
|
268
|
+
/**
|
|
269
|
+
* Opaque committed identity shared by branches, clones, linked worktrees,
|
|
270
|
+
* and contributor forks whose durable decisions are intended to merge.
|
|
271
|
+
* Independent derivatives deliberately replace it.
|
|
272
|
+
*/
|
|
273
|
+
collaborationDomainId?: string;
|
|
124
274
|
/** Override which languages to index (default: auto-detect) */
|
|
125
275
|
languages?: SupportedLanguage[];
|
|
126
276
|
/** Number of indexer workers to run at once (default: adaptive, max 8) */
|
|
127
277
|
indexerConcurrency?: number;
|
|
128
278
|
/** Watch mode settings */
|
|
129
279
|
watch?: WatchConfig;
|
|
130
|
-
/** Agent hook behavior. */
|
|
131
|
-
hooks?: HookRuntimeConfig;
|
|
132
280
|
/** Per-language indexer overrides */
|
|
133
281
|
indexer?: Partial<Record<SupportedLanguage, IndexerOverrides>>;
|
|
134
282
|
/** Override the database storage path (default: ~/.cache/scip-query/<hash>/) */
|
|
@@ -220,6 +368,12 @@ interface ArchitectureConfig {
|
|
|
220
368
|
* row. This prevents an omitted row from silently weakening enforcement.
|
|
221
369
|
*/
|
|
222
370
|
requireCompletePolicy?: boolean;
|
|
371
|
+
/**
|
|
372
|
+
* Require every indexed, non-ignored file to belong to exactly one declared
|
|
373
|
+
* boundary. Unmapped and ambiguously mapped files otherwise remain visible
|
|
374
|
+
* coverage facts without being policy violations.
|
|
375
|
+
*/
|
|
376
|
+
requireCompleteCoverage?: boolean;
|
|
223
377
|
/** Treat every multi-boundary dependency cycle as a declared violation. */
|
|
224
378
|
requireAcyclic?: boolean;
|
|
225
379
|
/**
|
|
@@ -281,7 +435,7 @@ interface DocsConfig {
|
|
|
281
435
|
/**
|
|
282
436
|
* Glob patterns (see src/analysis/glob-match.ts for supported syntax) for
|
|
283
437
|
* dated snapshot docs that intentionally cite code "as of" a moment in
|
|
284
|
-
* time — excluded from
|
|
438
|
+
* time — excluded from doc-drift's
|
|
285
439
|
* default findings. A `<!-- scip-query: snapshot -->` marker inside a doc
|
|
286
440
|
* has the same effect regardless of its path.
|
|
287
441
|
*/
|
|
@@ -326,7 +480,7 @@ interface SuppressionDecision {
|
|
|
326
480
|
interface FindingSuppression {
|
|
327
481
|
/** Stable finding id, for example SQABC123DEF456. */
|
|
328
482
|
id?: string;
|
|
329
|
-
/** Detector
|
|
483
|
+
/** Detector name, for example "twin-drift". */
|
|
330
484
|
check?: string;
|
|
331
485
|
/** Optional file path to narrow check-level suppressions. */
|
|
332
486
|
file?: string;
|
|
@@ -363,22 +517,34 @@ interface EntryRootsConfig {
|
|
|
363
517
|
interface WatchConfig {
|
|
364
518
|
/** Enable file watching (default: false, must opt in) */
|
|
365
519
|
enabled?: boolean;
|
|
366
|
-
/**
|
|
520
|
+
/** Let ordinary commands start the background watch service (default: false). */
|
|
521
|
+
autoStart?: boolean;
|
|
522
|
+
/** Permit watcher-triggered whole-project indexers after an incremental miss (default: false). */
|
|
523
|
+
allowExpensiveRebuild?: boolean;
|
|
524
|
+
/** Ms to wait after the last file change before triggering reindex (default: 2000) */
|
|
367
525
|
debounceMs?: number;
|
|
368
|
-
/**
|
|
526
|
+
/** Requested ms between reindex completions; values below 5000 use the 5000ms safety floor. */
|
|
369
527
|
cooldownMs?: number;
|
|
370
528
|
/** Ms between Git HEAD/index state checks (default: 2000) */
|
|
371
529
|
gitPollMs?: number;
|
|
372
|
-
/** Ms of clean inactivity before the background watcher exits; 0 keeps it running (default:
|
|
530
|
+
/** Ms of clean inactivity before the background watcher exits; 0 keeps it running (default: 900000) */
|
|
373
531
|
idleTimeoutMs?: number;
|
|
374
532
|
/** Let project agent hooks refresh stale indexes without a live watch process (default: true) */
|
|
375
533
|
autoRefresh?: boolean;
|
|
376
534
|
/** Extra glob patterns to ignore beyond .gitignore */
|
|
377
535
|
ignore?: string[];
|
|
536
|
+
/** Rolling admission guard for automatic watcher rebuilds. */
|
|
537
|
+
resourceBudget?: WatchResourceBudgetConfig;
|
|
378
538
|
}
|
|
379
|
-
interface
|
|
380
|
-
/**
|
|
381
|
-
|
|
539
|
+
interface WatchResourceBudgetConfig {
|
|
540
|
+
/** Enable automatic rebuild admission limits (default: true). */
|
|
541
|
+
enabled?: boolean;
|
|
542
|
+
/** Rolling observation window in milliseconds (default: 900000 / 15 minutes). */
|
|
543
|
+
windowMs?: number;
|
|
544
|
+
/** Completed rebuilds allowed inside the window before automatic work pauses (default: 2). */
|
|
545
|
+
maxRebuilds?: number;
|
|
546
|
+
/** Estimated bytes written inside the window before automatic work pauses (default: 1 GiB). */
|
|
547
|
+
maxEstimatedWriteBytes?: number;
|
|
382
548
|
}
|
|
383
549
|
interface IndexerOverrides {
|
|
384
550
|
/** Enable pnpm workspace support (TypeScript) */
|
|
@@ -389,6 +555,16 @@ interface IndexerOverrides {
|
|
|
389
555
|
projects?: string[];
|
|
390
556
|
/** Indexer-specific config file path, relative to project root */
|
|
391
557
|
configPath?: string;
|
|
558
|
+
/** Maximum TypeScript compiler programs retained by the watch worker (default: 8). */
|
|
559
|
+
maxWarmSessions?: number;
|
|
560
|
+
/** Retire an idle TypeScript index worker after this many milliseconds (default: 600000; 0 keeps it warm). */
|
|
561
|
+
workerIdleMs?: number;
|
|
562
|
+
/** Retire the TypeScript index worker after a response reaches this heap usage, in MiB. */
|
|
563
|
+
workerSoftMemoryMb?: number;
|
|
564
|
+
/** Hard heap limit for the bounded TypeScript document worker, in MiB (default: 4096). */
|
|
565
|
+
workerHeapMb?: number;
|
|
566
|
+
/** Heap limit for an explicitly authorized whole-project TypeScript indexer, in MiB. */
|
|
567
|
+
maxHeapMb?: number;
|
|
392
568
|
}
|
|
393
569
|
|
|
394
|
-
export {
|
|
570
|
+
export { deriveObservationStateAuthority as A, isObservationReceipt as B, observationReceiptGenerationIdentity as C, type DerivedObservationStateAuthority as D, observationReceiptStabilityLabel as E, observationReceiptWorkspaceIdentity as F, type ArchitectureConfig as G, type IndexerConfig as I, LEGACY_OBSERVATION_RECEIPT_SCHEMA_VERSION as L, type ObservationSourceKind as O, type ProjectConfig as P, type RelevantInputIdentity as R, type ScipQueryConfig as S, type TypeScriptProjectMode as T, type WatchConfig as W, type SupportedLanguage as a, type WatchResourceBudgetConfig as b, type ObservationReceipt as c, type DecodedObservationReceipt as d, OBSERVATION_IDENTITY_CANONICALIZATION_VERSION as e, OBSERVATION_IDENTITY_HASH_ALGORITHM as f, OBSERVATION_IDENTITY_SCHEMA_VERSION as g, OBSERVATION_RECEIPT_SCHEMA_VERSION as h, OBSERVATION_STATE_AUTHORITY_POLICY_VERSION as i, type ObservationAuthorityKind as j, type ObservationComparedFact as k, type ObservationComparisonReason as l, type ObservationIdentity as m, type ObservationReceiptComparison as n, type ObservationReceiptV1 as o, type ObservationReceiptV2 as p, type ObservationRelationshipJudgment as q, type ObservationRelationshipState as r, type ObservationSourceFact as s, type ObservationStabilityProof as t, type ObservationStabilityProofKind as u, type ObservationStateAuthority as v, type RelevantInputRelationshipJudgment as w, compareObservationReceipts as x, createObservationIdentity as y, decodeObservationReceipt as z };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a,b}from"./chunk-ZGDHC5AT.js";import"./chunk-7KCZELVM.js";import"./chunk-BGBBVSH4.js";import"./chunk-PJBYDCBQ.js";import"./chunk-MTDBHTSF.js";import"./chunk-ZMS4YCY7.js";import"./chunk-IQMGNIGY.js";import"./chunk-MFBVUQJZ.js";import"./chunk-5J3A6RBZ.js";import"./chunk-WRQXLNYE.js";import"./chunk-YDTK77JP.js";import"./chunk-T2PBOVDI.js";import"./chunk-4IASLUOP.js";import"./chunk-FLSVYEPL.js";import"./chunk-CTO3TRX7.js";import"./chunk-F4FNK44D.js";import"./chunk-67FK5KGV.js";import"./chunk-PAZSBPJR.js";import"./chunk-UAQQR55F.js";import"./chunk-NP4JFCLE.js";import"./chunk-5Z2H76VD.js";import"./chunk-DRENNWRG.js";import"./chunk-UXNXOMXJ.js";import"./chunk-4SZJF4GK.js";import"./chunk-DUDUIT5P.js";import"./chunk-PRLU3I7G.js";import"./chunk-DXYMTQZ4.js";import"./chunk-FYCH2EYQ.js";import"./chunk-NQXWWE6S.js";import"./chunk-H5EXS3HM.js";import"./chunk-HGFDYOVB.js";import"./chunk-Z2KGMIL4.js";import"./chunk-XIPGCT3D.js";export{b as dataflow,a as referenceNeighborhood};
|
|
2
|
+
//# sourceMappingURL=dataflow-AFXY423Q.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a}from"./chunk-7G2WIVIX.js";import"./chunk-DXEJ4FLZ.js";import"./chunk-3TNRNKAT.js";import"./chunk-7KCZELVM.js";import"./chunk-OFZVFIDF.js";import"./chunk-YF25RQER.js";import"./chunk-SRIZDEWX.js";import"./chunk-BGBBVSH4.js";import"./chunk-PJBYDCBQ.js";import"./chunk-MTDBHTSF.js";import"./chunk-ZMS4YCY7.js";import"./chunk-IQMGNIGY.js";import"./chunk-MR4ZKWO6.js";import"./chunk-XFRHBAIT.js";import"./chunk-MFBVUQJZ.js";import"./chunk-EPLE5O5O.js";import"./chunk-5J3A6RBZ.js";import"./chunk-WRQXLNYE.js";import"./chunk-YDTK77JP.js";import"./chunk-T2PBOVDI.js";import"./chunk-YUKYB54I.js";import"./chunk-4IASLUOP.js";import"./chunk-FLSVYEPL.js";import"./chunk-CTO3TRX7.js";import"./chunk-F4FNK44D.js";import"./chunk-67FK5KGV.js";import"./chunk-PAZSBPJR.js";import"./chunk-UAQQR55F.js";import"./chunk-NP4JFCLE.js";import"./chunk-5Z2H76VD.js";import"./chunk-DRENNWRG.js";import"./chunk-UXNXOMXJ.js";import"./chunk-4SZJF4GK.js";import"./chunk-DHEQMPLW.js";import"./chunk-DUDUIT5P.js";import"./chunk-PRLU3I7G.js";import"./chunk-DXYMTQZ4.js";import"./chunk-FYCH2EYQ.js";import"./chunk-NQXWWE6S.js";import"./chunk-H5EXS3HM.js";import"./chunk-HGFDYOVB.js";import"./chunk-Z2KGMIL4.js";import"./chunk-XIPGCT3D.js";export{a as dependenceSlice};
|
|
2
|
+
//# sourceMappingURL=dependence-slice-2G4X6VSJ.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a,b}from"./chunk-6QN4FYQW.js";import"./chunk-OMVNRPST.js";import"./chunk-YDTK77JP.js";import"./chunk-T2PBOVDI.js";import"./chunk-NP4JFCLE.js";import"./chunk-5Z2H76VD.js";import"./chunk-DRENNWRG.js";import"./chunk-PRLU3I7G.js";import"./chunk-DXYMTQZ4.js";import"./chunk-FYCH2EYQ.js";import"./chunk-H5EXS3HM.js";import"./chunk-HGFDYOVB.js";import"./chunk-XIPGCT3D.js";export{a as deps,b as rdeps};
|
|
2
|
+
//# sourceMappingURL=deps-LMCAV5DO.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a,b}from"./chunk-BM4OTGSY.js";import"./chunk-3TNRNKAT.js";import"./chunk-OFZVFIDF.js";import"./chunk-SRIZDEWX.js";import"./chunk-BGBBVSH4.js";import"./chunk-PJBYDCBQ.js";import"./chunk-MTDBHTSF.js";import"./chunk-ZMS4YCY7.js";import"./chunk-IQMGNIGY.js";import"./chunk-MFBVUQJZ.js";import"./chunk-EPLE5O5O.js";import"./chunk-5J3A6RBZ.js";import"./chunk-WRQXLNYE.js";import"./chunk-YDTK77JP.js";import"./chunk-T2PBOVDI.js";import"./chunk-YUKYB54I.js";import"./chunk-4IASLUOP.js";import"./chunk-FLSVYEPL.js";import"./chunk-CTO3TRX7.js";import"./chunk-F4FNK44D.js";import"./chunk-67FK5KGV.js";import"./chunk-PAZSBPJR.js";import"./chunk-UAQQR55F.js";import"./chunk-NP4JFCLE.js";import"./chunk-5Z2H76VD.js";import"./chunk-DRENNWRG.js";import"./chunk-UXNXOMXJ.js";import"./chunk-4SZJF4GK.js";import"./chunk-DHEQMPLW.js";import"./chunk-DUDUIT5P.js";import"./chunk-PRLU3I7G.js";import"./chunk-DXYMTQZ4.js";import"./chunk-FYCH2EYQ.js";import"./chunk-NQXWWE6S.js";import"./chunk-H5EXS3HM.js";import"./chunk-HGFDYOVB.js";import"./chunk-Z2KGMIL4.js";import"./chunk-XIPGCT3D.js";export{b as entryCallMap,a as entryPoints};
|
|
2
|
+
//# sourceMappingURL=entry-map-ZOC3VXO5.js.map
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A repository location is a source-backed place that another query can
|
|
3
|
+
* retrieve exactly. A null location means the evidence identifies a
|
|
4
|
+
* repository relationship but the installed index does not retain one
|
|
5
|
+
* authoritative source line for that relationship.
|
|
6
|
+
*/
|
|
7
|
+
interface ExplorationSourceLocation {
|
|
8
|
+
file: string;
|
|
9
|
+
line: number;
|
|
10
|
+
endLine?: number;
|
|
11
|
+
}
|
|
12
|
+
type ExplorationEvidenceStrength = 'exact' | 'derived' | 'candidate' | 'mixed' | 'unknown';
|
|
13
|
+
type ExplorationDisposition = 'emitted' | 'folded' | 'excluded' | 'unsupported';
|
|
14
|
+
type ExplorationAnchorStatus = 'matched' | 'ambiguous' | 'missing';
|
|
15
|
+
/**
|
|
16
|
+
* The closed semantic families used to explain program relationships without
|
|
17
|
+
* baking language or framework vocabulary into the universal graph contract.
|
|
18
|
+
*/
|
|
19
|
+
declare const PROGRAM_EDGE_FAMILIES: readonly ["identity", "contract", "control", "data", "state", "temporal"];
|
|
20
|
+
type ProgramEdgeFamily = (typeof PROGRAM_EDGE_FAMILIES)[number];
|
|
21
|
+
/** Context that qualifies a semantic relationship without changing its family. */
|
|
22
|
+
interface ProgramEdgeSemanticContext {
|
|
23
|
+
crossesRuntimeBoundary?: true;
|
|
24
|
+
protocol?: string;
|
|
25
|
+
runtimeKey?: string;
|
|
26
|
+
process?: string;
|
|
27
|
+
transaction?: string;
|
|
28
|
+
synchronizationScope?: string;
|
|
29
|
+
}
|
|
30
|
+
type ProgramEdgeSemanticAttribute = string | number | boolean | null;
|
|
31
|
+
/** One primitive interpretation of an existing evidenced topology edge. */
|
|
32
|
+
interface ProgramEdgeSemantic {
|
|
33
|
+
family: ProgramEdgeFamily;
|
|
34
|
+
subtype: string;
|
|
35
|
+
context?: ProgramEdgeSemanticContext;
|
|
36
|
+
/** Evidence-specific values that qualify this primitive relationship. */
|
|
37
|
+
attributes?: Record<string, ProgramEdgeSemanticAttribute>;
|
|
38
|
+
}
|
|
39
|
+
interface ProgramEdgeFamilyInventory {
|
|
40
|
+
sourceEdges: number;
|
|
41
|
+
projectedEdges: number;
|
|
42
|
+
subtypes: string[];
|
|
43
|
+
}
|
|
44
|
+
/** Diagnostic accounting for semantic coverage of one topology packet. */
|
|
45
|
+
interface ProgramEdgeInventory {
|
|
46
|
+
sourceEdges: number;
|
|
47
|
+
mappedSourceEdges: number;
|
|
48
|
+
projectedEdges: number;
|
|
49
|
+
unmappedSourceEdges: number;
|
|
50
|
+
unsupportedSourceEdges: number;
|
|
51
|
+
unmappedKinds: string[];
|
|
52
|
+
families: Record<ProgramEdgeFamily, ProgramEdgeFamilyInventory>;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* A completion status names what one repository query established, never
|
|
56
|
+
* whether the agent has finished the user's task. Selection completion covers
|
|
57
|
+
* requested units, connector completion covers proved paths between anchors,
|
|
58
|
+
* frontier accounting covers reversible withheld directions, and incomplete
|
|
59
|
+
* coverage means at least one required identity or direction remains unknown.
|
|
60
|
+
*/
|
|
61
|
+
type ExplorationCompletionStatus = 'selection-complete' | 'connector-complete' | 'frontier-accounted' | 'coverage-incomplete';
|
|
62
|
+
interface ExplorationCompletion {
|
|
63
|
+
status: ExplorationCompletionStatus;
|
|
64
|
+
scope: string;
|
|
65
|
+
explanation: string;
|
|
66
|
+
}
|
|
67
|
+
/** One independently inspectable basis for a graph relationship. */
|
|
68
|
+
interface ExplorationEvidenceSource {
|
|
69
|
+
method: string;
|
|
70
|
+
strength: ExplorationEvidenceStrength;
|
|
71
|
+
identity: string | null;
|
|
72
|
+
location: ExplorationSourceLocation | null;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* An anchor records how an explicit query term was tied to repository units.
|
|
76
|
+
* Candidate identities remain separate from matched identities so ambiguity
|
|
77
|
+
* is never silently converted into a graph fact.
|
|
78
|
+
*/
|
|
79
|
+
interface ExplorationTopologyAnchor {
|
|
80
|
+
id: string;
|
|
81
|
+
kind: string;
|
|
82
|
+
query: string;
|
|
83
|
+
status: ExplorationAnchorStatus;
|
|
84
|
+
nodeIds: string[];
|
|
85
|
+
candidateNodeIds: string[];
|
|
86
|
+
omittedCandidates: number;
|
|
87
|
+
}
|
|
88
|
+
/** A node is one repository unit at the resolution chosen by the producer. */
|
|
89
|
+
interface ExplorationTopologyNode {
|
|
90
|
+
id: string;
|
|
91
|
+
kind: string;
|
|
92
|
+
label: string;
|
|
93
|
+
disposition: ExplorationDisposition;
|
|
94
|
+
location: ExplorationSourceLocation | null;
|
|
95
|
+
anchorIds: string[];
|
|
96
|
+
attributes: Record<string, string | number | boolean | null>;
|
|
97
|
+
}
|
|
98
|
+
/** An edge is one directed, evidenced relationship between two nodes. */
|
|
99
|
+
interface ExplorationTopologyEdge {
|
|
100
|
+
id: string;
|
|
101
|
+
kind: string;
|
|
102
|
+
fromNodeId: string;
|
|
103
|
+
toNodeId: string;
|
|
104
|
+
directed: true;
|
|
105
|
+
disposition: ExplorationDisposition;
|
|
106
|
+
evidence: ExplorationEvidenceSource[];
|
|
107
|
+
/** Additive semantic projection; absent means this producer has not mapped the edge yet. */
|
|
108
|
+
semantics?: ProgramEdgeSemantic[];
|
|
109
|
+
}
|
|
110
|
+
/** A path records a proved or still-partial connection between explicit anchors. */
|
|
111
|
+
interface ExplorationTopologyPath {
|
|
112
|
+
id: string;
|
|
113
|
+
fromAnchorId: string;
|
|
114
|
+
toAnchorId: string;
|
|
115
|
+
status: 'connected' | 'partial' | 'candidate';
|
|
116
|
+
nodeIds: string[];
|
|
117
|
+
edgeIds: string[];
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* A frontier group is an accounted direction that the current packet did not
|
|
121
|
+
* materialize. Its exact members make folding reversible without pretending
|
|
122
|
+
* that those members were inspected.
|
|
123
|
+
*/
|
|
124
|
+
interface ExplorationFrontierGroup {
|
|
125
|
+
id: string;
|
|
126
|
+
kind: string;
|
|
127
|
+
direction: 'incoming' | 'outgoing' | 'undirected' | 'unresolved';
|
|
128
|
+
fromNodeIds: string[];
|
|
129
|
+
edgeIds: string[];
|
|
130
|
+
memberNodeIds: string[];
|
|
131
|
+
memberCount: number;
|
|
132
|
+
disposition: 'folded' | 'excluded' | 'unsupported';
|
|
133
|
+
reason: string;
|
|
134
|
+
expansion: string | null;
|
|
135
|
+
}
|
|
136
|
+
interface ExplorationDispositionCounts {
|
|
137
|
+
total: number;
|
|
138
|
+
emitted: number;
|
|
139
|
+
folded: number;
|
|
140
|
+
excluded: number;
|
|
141
|
+
unsupported: number;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Coverage accounts for the declared query scope. It does not claim that the
|
|
145
|
+
* producer understood the user's English goal or represented dynamic runtime
|
|
146
|
+
* behavior that its installed analyzers cannot observe.
|
|
147
|
+
*/
|
|
148
|
+
interface ExplorationTopologyCoverage {
|
|
149
|
+
status: 'accounted' | 'incomplete';
|
|
150
|
+
scope: string;
|
|
151
|
+
nodes: ExplorationDispositionCounts;
|
|
152
|
+
edges: ExplorationDispositionCounts;
|
|
153
|
+
matchedAnchors: number;
|
|
154
|
+
ambiguousAnchors: number;
|
|
155
|
+
missingAnchors: number;
|
|
156
|
+
omittedCandidates: number;
|
|
157
|
+
frontierGroups: number;
|
|
158
|
+
/** Additive semantic inventory; absent on topology values produced before semantic projection. */
|
|
159
|
+
programEdges?: ProgramEdgeInventory;
|
|
160
|
+
blindSpots: string[];
|
|
161
|
+
explanation: string;
|
|
162
|
+
}
|
|
163
|
+
interface ExplorationTopology {
|
|
164
|
+
schemaVersion: 1;
|
|
165
|
+
anchors: ExplorationTopologyAnchor[];
|
|
166
|
+
nodes: ExplorationTopologyNode[];
|
|
167
|
+
edges: ExplorationTopologyEdge[];
|
|
168
|
+
paths: ExplorationTopologyPath[];
|
|
169
|
+
frontiers: ExplorationFrontierGroup[];
|
|
170
|
+
coverage: ExplorationTopologyCoverage;
|
|
171
|
+
completion?: ExplorationCompletion;
|
|
172
|
+
/** Optional proved anchor-to-outcome closure used by system-map rendering. */
|
|
173
|
+
corridor?: ExplorationCausalCorridor;
|
|
174
|
+
/** Additive catalogue of proved upstream routes available for explicit selection. */
|
|
175
|
+
routeCatalog?: ExplorationRouteCatalog;
|
|
176
|
+
}
|
|
177
|
+
interface ExplorationTopologyInput {
|
|
178
|
+
anchors: readonly ExplorationTopologyAnchor[];
|
|
179
|
+
nodes: readonly ExplorationTopologyNode[];
|
|
180
|
+
edges: readonly ExplorationTopologyEdge[];
|
|
181
|
+
paths?: readonly ExplorationTopologyPath[];
|
|
182
|
+
frontiers?: readonly ExplorationFrontierGroup[];
|
|
183
|
+
scope: string;
|
|
184
|
+
blindSpots?: readonly string[];
|
|
185
|
+
incompleteReasons?: readonly string[];
|
|
186
|
+
routeCatalog?: ExplorationRouteCatalog;
|
|
187
|
+
}
|
|
188
|
+
type CausalCorridorStatus = 'complete' | 'incomplete';
|
|
189
|
+
interface CausalCorridorCoverage {
|
|
190
|
+
protectedNodes: number;
|
|
191
|
+
protectedEdges: number;
|
|
192
|
+
baseNodes: number;
|
|
193
|
+
baseEdges: number;
|
|
194
|
+
accountedFrontiers: number;
|
|
195
|
+
unresolvedFrontiers: number;
|
|
196
|
+
unresolvedEdges: number;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* A causal corridor is the proved subgraph from explicit anchors to mechanical
|
|
200
|
+
* outcomes, closed over the facts required to interpret that path without
|
|
201
|
+
* guessing from names or repository vocabulary.
|
|
202
|
+
*/
|
|
203
|
+
interface ExplorationCausalCorridor {
|
|
204
|
+
schemaVersion: 1;
|
|
205
|
+
status: CausalCorridorStatus;
|
|
206
|
+
startNodeIds: string[];
|
|
207
|
+
outcomeNodeIds: string[];
|
|
208
|
+
baseNodeIds: string[];
|
|
209
|
+
baseEdgeIds: string[];
|
|
210
|
+
nodeIds: string[];
|
|
211
|
+
edgeIds: string[];
|
|
212
|
+
accountedFrontierIds: string[];
|
|
213
|
+
unresolvedFrontierIds: string[];
|
|
214
|
+
unresolvedEdgeIds: string[];
|
|
215
|
+
coverage: CausalCorridorCoverage;
|
|
216
|
+
explanation: string;
|
|
217
|
+
}
|
|
218
|
+
type ExplorationUpstreamEndpointKind = 'public-entry' | 'runtime-boundary' | 'traversal-root';
|
|
219
|
+
interface ExplorationRoute {
|
|
220
|
+
id: string;
|
|
221
|
+
status: 'proved';
|
|
222
|
+
anchorNodeId: string;
|
|
223
|
+
anchorLabel: string;
|
|
224
|
+
endpointNodeId: string;
|
|
225
|
+
endpointLabel: string;
|
|
226
|
+
endpointLocation: ExplorationSourceLocation;
|
|
227
|
+
endpointKind: Exclude<ExplorationUpstreamEndpointKind, 'traversal-root'>;
|
|
228
|
+
/** Ordered in runtime direction, from the upstream endpoint to the anchor. */
|
|
229
|
+
nodeIds: string[];
|
|
230
|
+
/** Ordered in runtime direction, from the upstream endpoint to the anchor. */
|
|
231
|
+
edgeIds: string[];
|
|
232
|
+
evidenceStrengths: ExplorationEvidenceStrength[];
|
|
233
|
+
spineEdgeFamilies: ProgramEdgeFamily[];
|
|
234
|
+
relatedEdgeFamilies: ProgramEdgeFamily[];
|
|
235
|
+
crossesRuntimeBoundary: boolean;
|
|
236
|
+
}
|
|
237
|
+
interface ExplorationRouteCatalogCoverage {
|
|
238
|
+
status: 'accounted' | 'incomplete';
|
|
239
|
+
scope: string;
|
|
240
|
+
enumeration: 'one-shortest-proved-path-per-endpoint';
|
|
241
|
+
maximumDepth: number;
|
|
242
|
+
anchorNodeIds: string[];
|
|
243
|
+
anchorsWithRoutes: string[];
|
|
244
|
+
anchorsWithoutRoutes: string[];
|
|
245
|
+
depthLimitedAnchorNodeIds: string[];
|
|
246
|
+
routeCount: number;
|
|
247
|
+
explanation: string;
|
|
248
|
+
}
|
|
249
|
+
interface ExplorationRouteCatalog {
|
|
250
|
+
schemaVersion: 1;
|
|
251
|
+
routes: ExplorationRoute[];
|
|
252
|
+
selectedRouteIds: string[];
|
|
253
|
+
coverage: ExplorationRouteCatalogCoverage;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export type { ExplorationSourceLocation as E, ProgramEdgeSemantic as P, ExplorationEvidenceStrength as a, ExplorationTopologyNode as b, ExplorationEvidenceSource as c, ExplorationTopology as d, ExplorationAnchorStatus as e, ExplorationCompletion as f, ExplorationCompletionStatus as g, ExplorationDisposition as h, ExplorationDispositionCounts as i, ExplorationFrontierGroup as j, ExplorationTopologyAnchor as k, ExplorationTopologyCoverage as l, ExplorationTopologyEdge as m, ExplorationTopologyInput as n, ExplorationTopologyPath as o };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A file kind is a source-path role distinguished by the convention that
|
|
3
|
+
* makes a file an executable boundary, re-export surface, worker, test, or
|
|
4
|
+
* ordinary implementation. It is intentionally derived from paths alone.
|
|
5
|
+
*/
|
|
6
|
+
type FileKind = 'entry' | 'barrel' | 'worker' | 'test' | 'source';
|
|
7
|
+
/** Classify a source path by its structural role without consulting project state. */
|
|
8
|
+
declare function classifyFile(file: string): FileKind;
|
|
9
|
+
|
|
10
|
+
export { type FileKind as F, classifyFile as c };
|