scip-query 0.10.11 → 0.11.0
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 +45 -0
- package/{vendor/scip/LICENSE.scip → LICENSE} +1 -0
- package/README.md +168 -55
- package/dist/augment-vue-worker.js +1 -1
- package/dist/chunk-2VSDXOG5.js +2 -0
- package/dist/chunk-343O6EVV.js +2 -0
- package/dist/chunk-3KDUITBE.js +7 -0
- package/dist/chunk-3T2FNHIU.js +2 -0
- package/dist/chunk-3V6JQQM5.js +2 -0
- package/dist/chunk-5AAAEZ2Z.js +2 -0
- package/dist/chunk-6Q6OFLFQ.js +8 -0
- package/dist/chunk-6XA4LDHY.js +2 -0
- package/dist/chunk-75X52JTA.js +2 -0
- package/dist/{chunk-54KGX7EX.js → chunk-7HB3CZFD.js} +2 -2
- package/dist/chunk-7JZRFDCU.js +2 -0
- package/dist/chunk-7XL7J7PT.js +3 -0
- package/dist/chunk-ALHNAPS2.js +2 -0
- package/dist/{chunk-JATUZIEH.js → chunk-BDRBPG7Y.js} +2 -2
- package/dist/chunk-BN5SXXQS.js +40 -0
- package/dist/chunk-C4ICAIJ4.js +3 -0
- package/dist/{chunk-LSET2TXH.js → chunk-CMHYBXJB.js} +2 -2
- package/dist/{chunk-YWYFU2V3.js → chunk-DRPAQAFM.js} +6 -6
- package/dist/chunk-FERAXG6Y.js +72 -0
- package/dist/chunk-FLJJLSGB.js +2 -0
- package/dist/chunk-FXG3PHVW.js +9 -0
- package/dist/chunk-GCN2P4EJ.js +2 -0
- package/dist/chunk-GHXRVCIY.js +21 -0
- package/dist/chunk-GNG622H3.js +3 -0
- package/dist/chunk-H4LUPLEJ.js +2 -0
- package/dist/{chunk-BASVXNY3.js → chunk-H56MGERE.js} +4 -4
- package/dist/chunk-H7NSJ7L2.js +5 -0
- package/dist/chunk-HINMXZ6J.js +2 -0
- package/dist/chunk-HXXMPYEF.js +2 -0
- package/dist/{chunk-Z3YYR4OS.js → chunk-HZKMEXA3.js} +2 -2
- package/dist/chunk-IFSX6YVU.js +4 -0
- package/dist/chunk-ISLWJ4PY.js +10 -0
- package/dist/chunk-J5WVNZ6O.js +2 -0
- package/dist/chunk-K2HYR5A7.js +3 -0
- package/dist/chunk-K6UI6EBZ.js +2 -0
- package/dist/chunk-KJCDEDQW.js +2 -0
- package/dist/{chunk-Z4HICZGY.js → chunk-KKMOB3OJ.js} +2 -2
- package/dist/{chunk-YWOOQ4FF.js → chunk-KMVGRIO2.js} +2 -2
- package/dist/chunk-LWOOTRHC.js +2 -0
- package/dist/{chunk-EY43NV4M.js → chunk-LZNLRE4X.js} +17 -8
- package/dist/chunk-M2YXL62V.js +23 -0
- package/dist/chunk-MNEJYEHW.js +3 -0
- package/dist/chunk-MTDBHTSF.js +2 -0
- package/dist/{chunk-ZQDIXAF5.js → chunk-N2Z3CU7X.js} +2 -2
- package/dist/chunk-N7PNFLGY.js +2 -0
- package/dist/chunk-NAH5EAZS.js +6 -0
- package/dist/chunk-NBXK32I6.js +2 -0
- package/dist/chunk-NJJ7AS4F.js +2 -0
- package/dist/{chunk-FDEQIPPK.js → chunk-NLMRJ7SI.js} +2 -2
- package/dist/chunk-ODVITBYU.js +26 -0
- package/dist/chunk-ORBRX2QJ.js +2 -0
- package/dist/chunk-P36UR5II.js +2 -0
- package/dist/chunk-PYZZBIEU.js +3 -0
- package/dist/chunk-PZS6J5YG.js +16 -0
- package/dist/{chunk-LM5SHAN4.js → chunk-QARYU7R3.js} +2 -2
- package/dist/chunk-QJ3FK4TB.js +38 -0
- package/dist/chunk-QXGTGE2C.js +35 -0
- package/dist/chunk-QZ4JVECJ.js +2 -0
- package/dist/chunk-R3JY4EZ4.js +102 -0
- package/dist/{chunk-VOYOYC5T.js → chunk-R5336VHZ.js} +2 -2
- package/dist/chunk-RJMXSHKM.js +2 -0
- package/dist/chunk-STBXCPKY.js +5 -0
- package/dist/chunk-T2FQ4GHD.js +9 -0
- package/dist/chunk-TFWDJDGO.js +2 -0
- package/dist/chunk-TG7QSYCJ.js +2 -0
- package/dist/{chunk-FKCGBZAC.js → chunk-TTS75UF2.js} +5 -5
- package/dist/{chunk-BVRS7RKQ.js → chunk-U7I373V4.js} +2 -2
- package/dist/chunk-UIKLA3F5.js +2 -0
- package/dist/{chunk-P753MDDE.js → chunk-UMPNL7T6.js} +2 -2
- package/dist/chunk-URSSPS5H.js +2 -0
- package/dist/chunk-VGMUFW3J.js +2 -0
- package/dist/chunk-VXTNADIW.js +18 -0
- package/dist/chunk-VYF5HA76.js +2 -0
- package/dist/chunk-WFGOH2UI.js +43 -0
- package/dist/chunk-WGA5BBTA.js +4 -0
- package/dist/chunk-WIBFXSYB.js +6 -0
- package/dist/chunk-WPSS37EW.js +2 -0
- package/dist/chunk-WQHWIVA7.js +3 -0
- package/dist/chunk-WS3Z6W3M.js +65 -0
- package/dist/chunk-WXVGNFAO.js +2 -0
- package/dist/{chunk-6LJHXREW.js → chunk-WZLPXFZU.js} +2 -2
- package/dist/chunk-X4O6K47U.js +2 -0
- package/dist/chunk-X6OGDTQH.js +2 -0
- package/dist/chunk-XEMQUN3Z.js +20 -0
- package/dist/{chunk-7B6LP46R.js → chunk-XHWLNQVZ.js} +2 -2
- package/dist/chunk-XMR747CP.js +2 -0
- package/dist/chunk-Y6L4LXPG.js +2 -0
- package/dist/chunk-YCPASUCX.js +2 -0
- package/dist/chunk-YZXV3CU3.js +60 -0
- package/dist/chunk-ZEKBR4OK.js +10 -0
- package/dist/chunk-ZMGBWSFZ.js +2 -0
- package/dist/cli.js +462 -274
- package/dist/{config-types-BDIWAYzr.d.ts → config-types-BrHl3Bge.d.ts} +61 -1
- package/dist/{db-Djj3Nqrb.d.ts → db-_Bdx0E1W.d.ts} +1 -1
- package/dist/diff-gate-types-CG2YQ_ei.d.ts +4 -0
- package/dist/{frontend-behavior-evidence-BxKpKWUu.d.ts → frontend-behavior-evidence-EfM4_9bc.d.ts} +1 -1
- package/dist/{health-D5J42g4D.d.ts → health-BEZ1Rt0S.d.ts} +54 -2
- package/dist/index.d.ts +10 -70
- package/dist/index.js +2 -2
- package/dist/postinstall.js +1 -4
- package/dist/queries/affected.d.ts +2 -2
- package/dist/queries/affected.js +1 -1
- package/dist/queries/bottlenecks.d.ts +2 -2
- 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 +2 -2
- 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 +12 -2
- package/dist/queries/co-change.js +1 -1
- package/dist/queries/code.d.ts +2 -2
- package/dist/queries/code.js +1 -1
- package/dist/queries/complexity-hotspots.d.ts +7 -3
- package/dist/queries/complexity-hotspots.js +1 -1
- package/dist/queries/complexity.d.ts +42 -4
- package/dist/queries/complexity.js +1 -1
- package/dist/queries/convergence.d.ts +2 -2
- package/dist/queries/convergence.js +1 -1
- package/dist/queries/coupling.d.ts +2 -2
- package/dist/queries/coupling.js +1 -1
- package/dist/queries/cycles.d.ts +12 -3
- package/dist/queries/cycles.js +1 -1
- package/dist/queries/dataflow.d.ts +2 -2
- package/dist/queries/dataflow.js +1 -1
- package/dist/queries/dead.d.ts +3 -3
- package/dist/queries/dead.js +1 -1
- package/dist/queries/deep-chains.d.ts +2 -2
- package/dist/queries/deep-chains.js +1 -1
- package/dist/queries/deps.d.ts +2 -2
- package/dist/queries/deps.js +1 -1
- package/dist/queries/diff-gate.d.ts +65 -8
- package/dist/queries/diff-gate.js +1 -1
- package/dist/queries/diff-impact.d.ts +21 -3
- package/dist/queries/diff-impact.js +1 -1
- package/dist/queries/doc-drift.d.ts +29 -2
- package/dist/queries/doc-drift.js +1 -1
- package/dist/queries/drift.d.ts +15 -3
- package/dist/queries/drift.js +1 -1
- package/dist/queries/duplicate-bodies.d.ts +55 -0
- package/dist/queries/duplicate-bodies.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 +2 -2
- package/dist/queries/fan.js +1 -1
- package/dist/queries/files.d.ts +4 -3
- package/dist/queries/files.js +1 -1
- package/dist/queries/health.d.ts +3 -3
- package/dist/queries/health.js +1 -1
- package/dist/queries/hierarchy.d.ts +2 -2
- package/dist/queries/hierarchy.js +1 -1
- package/dist/queries/hotspots.d.ts +2 -2
- 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 +3 -2
- package/dist/queries/incomplete-migration.js +1 -1
- package/dist/queries/index.d.ts +12 -7
- 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/outline.d.ts +2 -2
- package/dist/queries/outline.js +1 -1
- package/dist/queries/passthrough-candidates.d.ts +11 -3
- package/dist/queries/passthrough-candidates.js +1 -1
- package/dist/queries/plan-context.d.ts +3 -2
- package/dist/queries/plan-context.js +1 -1
- package/dist/queries/react-component-duplicates.d.ts +7 -2
- package/dist/queries/react-component-duplicates.js +1 -1
- package/dist/queries/react-hook-candidates.d.ts +3 -3
- 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/refs.d.ts +2 -2
- package/dist/queries/refs.js +1 -1
- package/dist/queries/self-audit.d.ts +9 -4
- 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 +17 -10
- package/dist/queries/similar-signatures.js +1 -1
- package/dist/queries/similar.d.ts +85 -17
- package/dist/queries/similar.js +1 -1
- package/dist/queries/slice.d.ts +2 -2
- package/dist/queries/slice.js +1 -1
- 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 +2 -2
- 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.d.ts +2 -2
- package/dist/queries/system.js +1 -1
- package/dist/queries/trace.d.ts +2 -2
- package/dist/queries/trace.js +1 -1
- package/dist/queries/twin-ab.d.ts +55 -0
- package/dist/queries/twin-ab.js +2 -0
- package/dist/queries/twin-drift.d.ts +97 -0
- package/dist/queries/twin-drift.js +2 -0
- 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/vue-component-duplicates.d.ts +7 -2
- package/dist/queries/vue-component-duplicates.js +1 -1
- package/dist/queries/vue-composable-candidates.d.ts +3 -3
- package/dist/queries/vue-composable-candidates.js +1 -1
- package/dist/queries/vue-large-view-pressure.d.ts +6 -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/reindex-worker.js +9 -9
- package/dist/reindex.d.ts +30 -4
- package/dist/reindex.js +19 -19
- package/dist/runtime.d.ts +12 -6
- package/dist/runtime.js +2 -2
- package/dist/{scip-cli-CnK9Va4O.d.ts → scip-cli-C7cg4ZHR.d.ts} +1 -1
- package/dist/symbol-types-DaoeXKUt.d.ts +66 -0
- package/docs/AGENT_GUIDE.md +20 -18
- package/docs/AI_FAILURE_MODES.md +36 -13
- package/docs/API.md +1 -1
- package/docs/COMMAND_REFERENCE.md +57 -14
- package/docs/DETECTOR_GUIDE.md +20 -3
- package/docs/REGEX_POLICY.md +34 -0
- package/docs/analyzer-inventory.md +48 -3
- package/docs/analyzer-validation-ledger.md +41 -6
- package/package.json +23 -7
- package/scripts/build-scip-windows.mjs +10 -7
- package/scripts/evidence-product-contract.mjs +197 -0
- package/skills/_shared/SKILL.md +243 -0
- package/skills/_shared/agents/openai.yaml +4 -0
- package/skills/scip-api-impact/SKILL.md +55 -71
- package/skills/scip-claim-audit/SKILL.md +105 -0
- package/skills/scip-claim-audit/agents/openai.yaml +4 -0
- package/skills/scip-cleanup-audit/SKILL.md +122 -0
- package/skills/scip-cleanup-audit/agents/openai.yaml +4 -0
- package/skills/scip-cleanup-improve/SKILL.md +84 -0
- package/skills/scip-cleanup-improve/agents/openai.yaml +4 -0
- package/skills/scip-concrete-plan/SKILL.md +181 -0
- package/skills/scip-concrete-plan/agents/openai.yaml +4 -0
- package/skills/scip-conductor/SKILL.md +133 -0
- package/skills/scip-conductor/agents/openai.yaml +4 -0
- package/skills/scip-debug/SKILL.md +60 -58
- package/skills/scip-diagram/SKILL.md +64 -94
- package/skills/scip-directory-architecture/SKILL.md +65 -107
- package/skills/scip-doc-reconcile/SKILL.md +56 -67
- package/skills/scip-explore/SKILL.md +78 -210
- package/skills/scip-hyper-optimization/SKILL.md +124 -198
- package/skills/scip-integrity-audit/SKILL.md +103 -0
- package/skills/scip-integrity-audit/agents/openai.yaml +4 -0
- package/skills/scip-language-playbook/SKILL.md +56 -326
- package/skills/scip-maintainability/SKILL.md +80 -219
- package/skills/scip-probe-reachability/SKILL.md +92 -0
- package/skills/scip-probe-reachability/agents/openai.yaml +4 -0
- package/skills/scip-query/SKILL.md +108 -124
- package/skills/scip-react-maintainability/SKILL.md +64 -82
- package/skills/scip-setup/SKILL.md +121 -0
- package/skills/scip-setup/agents/openai.yaml +4 -0
- package/skills/scip-tla-model-system/SKILL.md +138 -0
- package/skills/scip-tla-model-system/agents/openai.yaml +4 -0
- package/skills/scip-triage-issue/SKILL.md +53 -41
- package/skills/scip-twin-drift/SKILL.md +107 -0
- package/skills/scip-twin-drift/agents/openai.yaml +4 -0
- package/skills/scip-verify/SKILL.md +70 -88
- package/skills/scip-vue-maintainability/SKILL.md +67 -94
- package/dist/chunk-2KHTSEIL.js +0 -102
- package/dist/chunk-3VD3JMK2.js +0 -2
- package/dist/chunk-4UZO3XCV.js +0 -35
- package/dist/chunk-5GOLFJEO.js +0 -8
- package/dist/chunk-5OST6GYB.js +0 -2
- package/dist/chunk-65AU3HFZ.js +0 -2
- package/dist/chunk-6GN7FXCH.js +0 -2
- package/dist/chunk-6IR2AOBM.js +0 -7
- package/dist/chunk-6JRV4MY2.js +0 -23
- package/dist/chunk-6QSOCTZT.js +0 -18
- package/dist/chunk-72KY2ZFO.js +0 -2
- package/dist/chunk-7GO4EQF5.js +0 -2
- package/dist/chunk-7IVSJJZU.js +0 -7
- package/dist/chunk-7TWLSZK5.js +0 -2
- package/dist/chunk-A536TEU4.js +0 -3
- package/dist/chunk-AVWPHM2Q.js +0 -4
- package/dist/chunk-B32FX5KB.js +0 -2
- package/dist/chunk-B6MJ5VQV.js +0 -2
- package/dist/chunk-BFXPG2VN.js +0 -2
- package/dist/chunk-BSN22NRK.js +0 -9
- package/dist/chunk-BZ53S4ZN.js +0 -2
- package/dist/chunk-C5CTSJ6X.js +0 -6
- package/dist/chunk-CO5GJRP7.js +0 -2
- package/dist/chunk-CW5YFOCP.js +0 -5
- package/dist/chunk-DS6QEB3G.js +0 -5
- package/dist/chunk-E35O7UCB.js +0 -2
- package/dist/chunk-EXDQ35NN.js +0 -2
- package/dist/chunk-FAYI6KZ5.js +0 -2
- package/dist/chunk-FFVIFETB.js +0 -2
- package/dist/chunk-FG4NT6VY.js +0 -2
- package/dist/chunk-FXNWFMKW.js +0 -25
- package/dist/chunk-G5UPYQGL.js +0 -4
- package/dist/chunk-GQBMH2TQ.js +0 -2
- package/dist/chunk-GRJY65YT.js +0 -2
- package/dist/chunk-HF25DFSC.js +0 -3
- package/dist/chunk-HHN2B5KA.js +0 -2
- package/dist/chunk-IHUETYFW.js +0 -2
- package/dist/chunk-JCLDUKT6.js +0 -38
- package/dist/chunk-JGN2ZFJR.js +0 -2
- package/dist/chunk-JM72FNGA.js +0 -2
- package/dist/chunk-JME7OWD3.js +0 -2
- package/dist/chunk-KDFONWTW.js +0 -40
- package/dist/chunk-LPL4MA6R.js +0 -2
- package/dist/chunk-LZHUWKGD.js +0 -2
- package/dist/chunk-M4COR2H6.js +0 -2
- package/dist/chunk-NOJAM5ZV.js +0 -21
- package/dist/chunk-O6ZH6C6Y.js +0 -2
- package/dist/chunk-OBGRLXWF.js +0 -3
- package/dist/chunk-OLTESY4K.js +0 -3
- package/dist/chunk-ONPCQ2PM.js +0 -6
- package/dist/chunk-P4KYUPBD.js +0 -4
- package/dist/chunk-P5RYBRIO.js +0 -4
- package/dist/chunk-P7AL7Y37.js +0 -2
- package/dist/chunk-PFOCOG57.js +0 -2
- package/dist/chunk-QLAUCRDJ.js +0 -2
- package/dist/chunk-QPU7EXAW.js +0 -2
- package/dist/chunk-QYB5P7GL.js +0 -2
- package/dist/chunk-RNM6LMCF.js +0 -2
- package/dist/chunk-RVWSAMTT.js +0 -2
- package/dist/chunk-TK7O5ER5.js +0 -3
- package/dist/chunk-TQ5W2H3S.js +0 -4
- package/dist/chunk-USPV3T5K.js +0 -2
- package/dist/chunk-UUBMFL3F.js +0 -59
- package/dist/chunk-VCQYSG2M.js +0 -10
- package/dist/chunk-VUKC6F77.js +0 -20
- package/dist/chunk-W2CBNBEL.js +0 -71
- package/dist/chunk-W6BVEKYC.js +0 -3
- package/dist/chunk-WUCEKFQC.js +0 -3
- package/dist/chunk-XUGQU7PM.js +0 -41
- package/dist/chunk-Y5NBHMQX.js +0 -2
- package/dist/chunk-YCOFCT4B.js +0 -2
- package/dist/chunk-YZA6PPZL.js +0 -3
- package/skills/concrete-plan/SKILL.md +0 -372
- package/skills/concrete-plan/agents/openai.yaml +0 -4
- package/skills/scip-adoption/SKILL.md +0 -122
- package/skills/scip-adoption/agents/openai.yaml +0 -4
- package/skills/scip-ai-cleanup/SKILL.md +0 -153
- package/skills/scip-ai-cleanup/agents/openai.yaml +0 -4
- package/skills/scip-debloat/SKILL.md +0 -439
- package/skills/scip-debloat/agents/openai.yaml +0 -4
- package/skills/scip-health-audit/SKILL.md +0 -162
- package/skills/scip-health-audit/agents/openai.yaml +0 -4
- package/skills/scip-health-improve/SKILL.md +0 -155
- package/skills/scip-health-improve/agents/openai.yaml +0 -4
- package/skills/scip-query-setup/SKILL.md +0 -170
- package/skills/scip-query-setup/agents/openai.yaml +0 -3
- package/vendor/scip/README.md +0 -6
- package/vendor/scip/win32-arm64/scip.exe +0 -0
- package/vendor/scip/win32-x64/scip.exe +0 -0
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: scip-health-improve
|
|
3
|
-
description: Autonomously raise a scip-query repository's health score with verified, bounded cleanup. Use when the user asks to improve, raise, or maximize the health score; clean up as much as reasonable; continue after setup; pursue perfect code; or keep working with minimal interaction until no safe confirmed work remains.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# SCIP Health Improve
|
|
7
|
-
|
|
8
|
-
Use this skill for an autonomous health-improvement campaign. The target is not
|
|
9
|
-
score chasing: fix confirmed issues that make the codebase harder to understand,
|
|
10
|
-
verify, or change, then stop when the remaining score movement is unsafe,
|
|
11
|
-
unproven, blocked, or not worth the risk.
|
|
12
|
-
|
|
13
|
-
A confirmed issue is a raw scip-query signal that the agent has checked against
|
|
14
|
-
current code, graph evidence, or repository checks and classified as real,
|
|
15
|
-
intentional, false positive, or blocked.
|
|
16
|
-
|
|
17
|
-
## Non-Negotiables
|
|
18
|
-
|
|
19
|
-
1. If the environment supports durable goals and the user asked for autonomous
|
|
20
|
-
health improvement, create or continue a concrete goal: raise the scip-query
|
|
21
|
-
health score as high as reasonably possible by fixing confirmed actionable
|
|
22
|
-
findings while preserving behavior.
|
|
23
|
-
2. Start from current evidence. Run setup first only if the repository has not
|
|
24
|
-
been bootstrapped; otherwise refresh the index and collect current signals.
|
|
25
|
-
3. Before editing code, tell the user the current health score and the first
|
|
26
|
-
confirmed batch you will address.
|
|
27
|
-
4. Do not treat raw health output as actionable until you inspect the relevant
|
|
28
|
-
code, graph, or verification evidence.
|
|
29
|
-
5. Prioritize worst confirmed offenders first: high risk, high confidence, low
|
|
30
|
-
blast radius, strong expected score movement, and clear verification path.
|
|
31
|
-
6. Keep working batch by batch until no safe confirmed improvement remains, the
|
|
32
|
-
score stabilizes, or a real external decision blocks progress.
|
|
33
|
-
7. Do not run `scip-query setup-ci` in this workflow. CI setup is intentionally
|
|
34
|
-
separate until that path is mature.
|
|
35
|
-
|
|
36
|
-
## Evidence Baseline
|
|
37
|
-
|
|
38
|
-
Collect the baseline before ranking:
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
scip-query doctor
|
|
42
|
-
scip-query status --capabilities
|
|
43
|
-
scip-query status --capabilities
|
|
44
|
-
# If freshness is stale, missing, or unknown:
|
|
45
|
-
# scip-query reindex
|
|
46
|
-
scip-query health --json --full
|
|
47
|
-
scip-query diff-gate --json
|
|
48
|
-
scip-query capability-matrix --json
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
Unavailable capabilities are not clean results. Record them as unproven signal
|
|
52
|
-
classes and fix missing local prerequisites when that is in scope.
|
|
53
|
-
|
|
54
|
-
## Priority Ladder
|
|
55
|
-
|
|
56
|
-
Work from the safest, highest-confidence improvements toward broader design
|
|
57
|
-
work:
|
|
58
|
-
|
|
59
|
-
1. Compiler-verified cleanup-plan deletion batches.
|
|
60
|
-
2. Incomplete migrations and recent duplicate echoes.
|
|
61
|
-
3. Unused params, unused imports, dead symbols, and isolated symbols.
|
|
62
|
-
4. Broken or stale docs, config validation issues, and missing co-change
|
|
63
|
-
partners.
|
|
64
|
-
5. Thin wrappers, passthrough layers, stale abstractions, and speculative
|
|
65
|
-
generality.
|
|
66
|
-
6. React or Vue duplicate components, hooks, composables, and large
|
|
67
|
-
component/view pressure.
|
|
68
|
-
7. Directory architecture and maintainability repairs only when the evidence is
|
|
69
|
-
strong and the blast radius is bounded.
|
|
70
|
-
|
|
71
|
-
## Confirmation Sweep
|
|
72
|
-
|
|
73
|
-
Run the relevant commands for the current repository and scope:
|
|
74
|
-
|
|
75
|
-
```bash
|
|
76
|
-
scip-query cleanup-plan --verify --json
|
|
77
|
-
scip-query recent-duplicates --json --full
|
|
78
|
-
scip-query incomplete-migration --json --full
|
|
79
|
-
scip-query unused-params --json --full
|
|
80
|
-
scip-query stale-abstractions --json --full
|
|
81
|
-
scip-query wrapper-candidates --json --full
|
|
82
|
-
scip-query passthrough-candidates --json --full
|
|
83
|
-
scip-query doc-drift --json --full
|
|
84
|
-
scip-query co-change --json --full
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
For frontend projects, add the relevant React or Vue maintainability commands.
|
|
88
|
-
|
|
89
|
-
Confirm candidates with targeted probes before editing:
|
|
90
|
-
|
|
91
|
-
```bash
|
|
92
|
-
scip-query code <symbol-or-file>
|
|
93
|
-
scip-query refs <symbol>
|
|
94
|
-
scip-query fan-in <symbol>
|
|
95
|
-
scip-query fan-out <symbol>
|
|
96
|
-
scip-query affected <symbol> --json
|
|
97
|
-
scip-query change-surface <file> --json --full
|
|
98
|
-
scip-query co-change <file> --json --full
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
## Autonomous Loop
|
|
102
|
-
|
|
103
|
-
Before the first edit, report:
|
|
104
|
-
|
|
105
|
-
```markdown
|
|
106
|
-
Health score: N/100
|
|
107
|
-
|
|
108
|
-
First confirmed batch:
|
|
109
|
-
- <finding> - <evidence> - <planned fix> - <verification>
|
|
110
|
-
|
|
111
|
-
Remaining notable signals:
|
|
112
|
-
- <signal> - <status: unconfirmed, intentional, false positive, blocked>
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
Then repeat:
|
|
116
|
-
|
|
117
|
-
1. Apply one verified deletion batch or one small targeted refactor.
|
|
118
|
-
2. Run the project check that proves the touched behavior.
|
|
119
|
-
3. Run:
|
|
120
|
-
```bash
|
|
121
|
-
scip-query status --capabilities
|
|
122
|
-
# If freshness is stale, missing, or unknown:
|
|
123
|
-
# scip-query reindex
|
|
124
|
-
scip-query diff-gate --json
|
|
125
|
-
scip-query health --json --full
|
|
126
|
-
```
|
|
127
|
-
4. Fix new diff-gate findings immediately unless they are documented,
|
|
128
|
-
intentional, or blocked.
|
|
129
|
-
5. Update `docs/scip-query/health-dossier.md` and
|
|
130
|
-
`docs/scip-query/health-dossier.json` when they exist.
|
|
131
|
-
6. Pick the next highest-priority confirmed item.
|
|
132
|
-
|
|
133
|
-
Use `scip-query cleanup-apply --verified --batch <n>` for verified deletion
|
|
134
|
-
batches. Use `--all` only with explicit human approval. Use `--force-dirty`
|
|
135
|
-
only after inspecting the touched files and confirming existing edits are
|
|
136
|
-
unrelated to the cleanup batch.
|
|
137
|
-
|
|
138
|
-
## Stop Criteria
|
|
139
|
-
|
|
140
|
-
Stop the campaign when one of these is true:
|
|
141
|
-
|
|
142
|
-
- the health score stabilizes after a verified batch;
|
|
143
|
-
- only intentional, false-positive, blocked, or unconfirmed items remain;
|
|
144
|
-
- the next improvement requires a product, API, compatibility, or ownership
|
|
145
|
-
decision from the user;
|
|
146
|
-
- a missing toolchain or unavailable capability prevents trustworthy
|
|
147
|
-
verification;
|
|
148
|
-
- further work would be broad architectural redesign rather than bounded health
|
|
149
|
-
improvement.
|
|
150
|
-
|
|
151
|
-
## Closeout
|
|
152
|
-
|
|
153
|
-
End with the starting and final health scores, batches applied, important files
|
|
154
|
-
changed, verification commands run, remaining accepted or blocked items, and the
|
|
155
|
-
next highest-value follow-up if one exists.
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: scip-query-setup
|
|
3
|
-
description: Set up or refresh scip-query in a repository so agents can use compiler-resolved code intelligence effectively. Use when adopting scip-query in a repo, running the robust `scip-query setup` bootstrap, fixing stale setup, adding AGENTS.md guidance, checking capability coverage, generating the health dossier, configuring .scipquery.json, or calibrating locality architectural boundaries.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# scip-query Setup
|
|
7
|
-
|
|
8
|
-
Use this skill when a repository needs to become a reliable scip-query workspace, not merely a repo where the binary happens to run.
|
|
9
|
-
|
|
10
|
-
A scip-query workspace is a source repository with a current SCIP index, project config, and agent guidance that make code references compiler-resolved instead of guessed from text search. Its defining trait is that agents can answer "where is this defined, who uses it, and what changes with it?" from the index before editing.
|
|
11
|
-
|
|
12
|
-
A setup pass is the bounded workflow that installs or verifies the tool, creates the project index, writes agent instructions, and records repo-specific calibration. Its defining trait is that it turns one-off local success into a repeatable operating surface for future agents.
|
|
13
|
-
|
|
14
|
-
## Setup Workflow
|
|
15
|
-
|
|
16
|
-
1. Confirm the project root.
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
pwd
|
|
20
|
-
git rev-parse --show-toplevel
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
2. Verify the command is available.
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
scip-query --version
|
|
27
|
-
scip-query doctor
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
If the command is missing, install or link it using the repo's package manager, then rerun this step.
|
|
31
|
-
|
|
32
|
-
3. Ensure bundled skills are available and project-local lifecycle hooks are configured.
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
scip-query install-skills
|
|
36
|
-
scip-query setup-hooks --json
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
The setup command also installs skills and configures project-local hooks, but running `install-skills` directly is useful when refreshing a user-level Codex, Claude Code, or shared agents skill root. Use `setup-hooks` when the user wants to repair the current repository's reviewable `.codex/hooks.json` and `.claude/settings.json` files without rerunning the full setup pass.
|
|
40
|
-
|
|
41
|
-
4. Run the robust local setup pass.
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
scip-query setup --json
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
This pass installs bundled skills, configures project-local hooks, checks indexer readiness, attempts configured indexer remediation, refreshes or reuses the index, verifies capabilities, smoke-tests representative command families, writes `docs/scip-query/health-dossier.md` and `docs/scip-query/health-dossier.json`, and seeds agent guidance.
|
|
48
|
-
|
|
49
|
-
If setup reports `blocked`, run:
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
scip-query check-deps
|
|
53
|
-
scip-query capability-matrix --json
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
Fix the reported missing indexer, toolchain, language, or config problem before continuing. Do not call a missing capability "clean"; record it as unavailable or blocked.
|
|
57
|
-
|
|
58
|
-
5. Initialize minimal config only when the project needs one.
|
|
59
|
-
|
|
60
|
-
```bash
|
|
61
|
-
scip-query init
|
|
62
|
-
scip-query config-validate
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
Keep `.scipquery.json` minimal. Add settings only when they are justified by observed repo facts, reviewed false positives, declared coupling, or explicit suppressions.
|
|
66
|
-
|
|
67
|
-
For TypeScript monorepos with multiple discovered project shards, prefer persistent `indexer.typescript.projectMode: "workspace"`. Add `indexerConcurrency` only when the repo has enough CPU/memory or measured cold-index timing justifies a project-specific worker cap.
|
|
68
|
-
|
|
69
|
-
6. Inspect freshness and refresh only when setup repairs anything or the index is not fresh.
|
|
70
|
-
|
|
71
|
-
```bash
|
|
72
|
-
scip-query status --capabilities
|
|
73
|
-
# If freshness is stale, missing, or unknown:
|
|
74
|
-
# scip-query reindex
|
|
75
|
-
scip-query capabilities --json
|
|
76
|
-
scip-query stats
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
If an upstream indexer skipped source files that should still be searchable or visible to agents, run:
|
|
80
|
-
|
|
81
|
-
```bash
|
|
82
|
-
scip-query augment-sources
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
Project hooks auto-refresh stale indexes for agent sessions unless `.scipquery.json` sets `watch.autoRefresh: false`. Use `scip-query watch` only when a human explicitly wants a long-running live watcher in a terminal.
|
|
86
|
-
|
|
87
|
-
7. Confirm health signals before cleanup.
|
|
88
|
-
|
|
89
|
-
Invoke `scip-health-audit` after setup when the user wants cleanup, a post-setup follow-through, or a perfect-code pass. The agent must tell the user the health score and list confirmed items before changing application code.
|
|
90
|
-
|
|
91
|
-
```bash
|
|
92
|
-
scip-query health --json --full
|
|
93
|
-
scip-query diff-gate --json
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
8. Calibrate project config.
|
|
97
|
-
|
|
98
|
-
Open or create `.scipquery.json`. Keep config minimal and tied to observed repo facts.
|
|
99
|
-
|
|
100
|
-
```json
|
|
101
|
-
{
|
|
102
|
-
"languages": ["typescript"],
|
|
103
|
-
"locality": {
|
|
104
|
-
"architecturalBoundarySegments": ["effect", "errors", "policies", "workflows"]
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
An architectural boundary segment is a folder name that marks a code ownership boundary, such as `effect`, `errors`, `policies`, `routes`, `schemas`, or `workflows`. Its defining trait is that broad use of code inside that folder can mean the boundary is central and intentional, so `locality-candidates` should not invent a generic `shared` destination for it.
|
|
110
|
-
|
|
111
|
-
Before writing `locality.architecturalBoundarySegments`, classify boundary maturity:
|
|
112
|
-
|
|
113
|
-
- Mature boundary: folder names recur as intentional ownership units in code, tests, docs, route/workflow conventions, or agent standards. Add only the repo-specific segment names not already built in.
|
|
114
|
-
- Emerging boundary: folder names look meaningful, but ownership is inconsistent or only visible in one area. Do not configure yet; record candidates and rerun after a few reviewed locality results prove the boundary.
|
|
115
|
-
- No reliable boundary: the repo is mostly flat, mixed, generated, or ad hoc. Leave locality config absent or empty. Do not invent architecture; use `locality-candidates` as a discovery report and ask for human ownership decisions.
|
|
116
|
-
|
|
117
|
-
Treat boundary maturity as an evidence question. A segment needs at least two independent signals before it belongs in config: directory structure plus a project standard, repeated import convention, test organization, package boundary, route family, workflow family, or reviewed locality false positive. If the same folder name means different things in different parts of the repo, do not add it globally.
|
|
118
|
-
|
|
119
|
-
For an unstructured repo, setup runs in discovery mode. Discovery mode means the tool records candidate ownership clusters and uncertain folders, but does not write `locality.architecturalBoundarySegments`. The setup note should say which paths need a human architecture decision and should keep `locality-candidates` recommendations as suggestions to inspect, not moves to trust.
|
|
120
|
-
|
|
121
|
-
Use `locality.architecturalBoundarySegments` only when validation finds a repo-specific mature boundary that is not already in the built-in list. Add folder names, not paths.
|
|
122
|
-
|
|
123
|
-
9. Validate directory-organization signals when setup touches locality.
|
|
124
|
-
|
|
125
|
-
```bash
|
|
126
|
-
scip-query locality-candidates --json --full
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
Review rows with non-null `suggestedHome`. Keep exact destinations only when the path already exists, stays inside the source root, and matches the repo's ownership model. When a generic `shared` destination is wrong because the current folder is a real boundary, add that folder name to `.scipquery.json` and rerun.
|
|
130
|
-
|
|
131
|
-
Validate both suppression and emission. Suppression means a bad generic home was withheld because the source already lives in a real boundary. Emission means a useful `suggestedHome` is still shown for code that genuinely lacks a home. A config that suppresses every row is acceptable only when manual review confirms there were no useful destinations to emit.
|
|
132
|
-
|
|
133
|
-
If the repo has no mature boundaries, the correct setup result is a note, not a config guess: "locality boundaries not configured; repo needs architecture ownership decisions first." A slop codebase is a codebase whose files are arranged by accident, convenience, or recent edits rather than by stable ownership rules. Its defining trait is that directory names do not reliably predict where code should live, so the setup skill must not make `locality-candidates` appear more certain than the repo itself.
|
|
134
|
-
|
|
135
|
-
10. Finish with the standard gate.
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
scip-query status --capabilities
|
|
139
|
-
# If freshness is stale, missing, or unknown:
|
|
140
|
-
# scip-query reindex
|
|
141
|
-
scip-query diff-gate --json
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
Fix findings or state the explicit acceptance reason.
|
|
145
|
-
|
|
146
|
-
Do not run `scip-query setup-ci` as part of this setup workflow. CI setup is intentionally deferred until that command has a mature validation path.
|
|
147
|
-
|
|
148
|
-
## Suppressions
|
|
149
|
-
|
|
150
|
-
Prefer fixing findings. Use suppressions only for intentional design, compatibility shims, framework entry points, or accepted false positives with a specific reason.
|
|
151
|
-
|
|
152
|
-
```bash
|
|
153
|
-
scip-query suppress <id> --reason "<specific reason>"
|
|
154
|
-
scip-query config-validate
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
A suppression is a durable acceptance record. It should explain why the code should remain as-is, not merely silence a noisy report.
|
|
158
|
-
|
|
159
|
-
## Handoff Notes
|
|
160
|
-
|
|
161
|
-
When setup changes are complete, record:
|
|
162
|
-
|
|
163
|
-
- repository path and revision;
|
|
164
|
-
- index command and result;
|
|
165
|
-
- capability matrix limitations;
|
|
166
|
-
- `.scipquery.json` changes and why each setting exists;
|
|
167
|
-
- validation commands and raw-output locations;
|
|
168
|
-
- final `diff-gate` result.
|
|
169
|
-
|
|
170
|
-
Do not add broad analyzer config in advance. Each setting should be justified by a reviewed false positive, false negative, capability gap, or repo convention.
|
package/vendor/scip/README.md
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# Managed scip binaries
|
|
2
|
-
|
|
3
|
-
These binaries are built from https://github.com/scip-code/scip.git at v0.8.1.
|
|
4
|
-
They are included so Windows installs can run `scip-query reindex` without requiring Go or WSL.
|
|
5
|
-
|
|
6
|
-
Run `npm run build:scip-windows` before publishing to refresh them.
|
|
Binary file
|
|
Binary file
|