scip-query 0.19.5 → 0.19.8

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.
Files changed (421) hide show
  1. package/CHANGELOG.md +85 -1
  2. package/README.md +259 -53
  3. package/dist/augment-vue-worker.js +1 -1
  4. package/dist/chunk-2465DLHK.js +3 -0
  5. package/dist/{chunk-7GXM52MI.js → chunk-24GTWJ3N.js} +2 -2
  6. package/dist/{chunk-NH5ALKPW.js → chunk-2SNGN6U4.js} +2 -2
  7. package/dist/{chunk-3SVWW4PN.js → chunk-2U3OLUNJ.js} +2 -2
  8. package/dist/{chunk-XLTP42QA.js → chunk-33KUO7CG.js} +2 -2
  9. package/dist/{chunk-54HA4ZXH.js → chunk-33XTHFKR.js} +2 -2
  10. package/dist/{chunk-ZGZUZ7XE.js → chunk-3EDFLQ6A.js} +2 -2
  11. package/dist/chunk-3ZSJ3PWF.js +16 -0
  12. package/dist/{chunk-F6O7AAC3.js → chunk-43KC6EQZ.js} +2 -2
  13. package/dist/{chunk-I5RJM53C.js → chunk-464PLI5O.js} +2 -2
  14. package/dist/chunk-46XGSFNI.js +2 -0
  15. package/dist/{chunk-M7AIS73L.js → chunk-47BU5Z4T.js} +2 -2
  16. package/dist/chunk-4BV4QAZJ.js +5 -0
  17. package/dist/chunk-4YTUWQ6M.js +18 -0
  18. package/dist/{chunk-RV2FQIX3.js → chunk-5ML2BNRH.js} +2 -2
  19. package/dist/{chunk-6NSFJYRC.js → chunk-5YLUDDAF.js} +2 -2
  20. package/dist/chunk-67QRR5YC.js +6 -0
  21. package/dist/{chunk-GPBBJ5Y4.js → chunk-6GXYN7YA.js} +3 -3
  22. package/dist/{chunk-4333ETTV.js → chunk-6M7RONVB.js} +2 -2
  23. package/dist/chunk-6YTSKJJ3.js +2 -0
  24. package/dist/{chunk-QDV6RDCP.js → chunk-7FT5Y65S.js} +2 -2
  25. package/dist/{chunk-XTX6QHOF.js → chunk-7KYNAMMH.js} +2 -2
  26. package/dist/{chunk-DZ74OMG6.js → chunk-7LSVMFX7.js} +2 -2
  27. package/dist/{chunk-VTKGCT3V.js → chunk-7QHY3H7P.js} +2 -2
  28. package/dist/{chunk-MITTUCEH.js → chunk-7RAG65VK.js} +2 -2
  29. package/dist/{chunk-25LPM4DG.js → chunk-7SWJEWJF.js} +2 -2
  30. package/dist/{chunk-52ZYCAEO.js → chunk-7VCOXZH3.js} +2 -2
  31. package/dist/chunk-A2TNXAXO.js +8 -0
  32. package/dist/{chunk-IUFDSKGG.js → chunk-A3QXWFBK.js} +2 -2
  33. package/dist/{chunk-4T3LTWUS.js → chunk-AA4UWRNL.js} +2 -2
  34. package/dist/{chunk-4SALD7RU.js → chunk-ACAM6O5R.js} +2 -2
  35. package/dist/chunk-APMMR5Y2.js +2 -0
  36. package/dist/chunk-AQOFWNQJ.js +1 -0
  37. package/dist/chunk-AZFUMCQB.js +2 -0
  38. package/dist/{chunk-M7MTH5NR.js → chunk-BDOIKGDI.js} +2 -2
  39. package/dist/{chunk-BTEE5NZQ.js → chunk-BNXICU42.js} +2 -2
  40. package/dist/chunk-C5Q44Q5D.js +3 -0
  41. package/dist/{chunk-EOOJGLDU.js → chunk-CTF2GDEX.js} +2 -2
  42. package/dist/chunk-DHEQMPLW.js +2 -0
  43. package/dist/{chunk-IZKFSVBV.js → chunk-DQBCO2UY.js} +2 -2
  44. package/dist/{chunk-7B3UPBVA.js → chunk-DQGSM7RZ.js} +2 -2
  45. package/dist/chunk-E2LAW7SL.js +30 -0
  46. package/dist/chunk-E3HYEQO7.js +2 -0
  47. package/dist/chunk-E4NFOAD4.js +6 -0
  48. package/dist/chunk-E5HNT4X2.js +3 -0
  49. package/dist/{chunk-J77UIT3I.js → chunk-ELLMY7XJ.js} +2 -2
  50. package/dist/chunk-FD3HFKXR.js +5 -0
  51. package/dist/{chunk-SOAT6NLA.js → chunk-FIJCV235.js} +2 -2
  52. package/dist/{chunk-H7UKLTWJ.js → chunk-FJ5UDTQF.js} +2 -2
  53. package/dist/{chunk-HEXVUYFQ.js → chunk-GHKEJTCE.js} +2 -2
  54. package/dist/{chunk-LBMJEAEW.js → chunk-GLZTVKAB.js} +3 -3
  55. package/dist/{chunk-FWUUZTIO.js → chunk-GNC4JVAN.js} +2 -2
  56. package/dist/chunk-HIB452NU.js +949 -0
  57. package/dist/{chunk-NRCXJDHL.js → chunk-HZYDQPNY.js} +2 -2
  58. package/dist/chunk-IF6FP6B2.js +66 -0
  59. package/dist/{chunk-4RSI5EMG.js → chunk-JAY7YWS3.js} +2 -2
  60. package/dist/{chunk-STOL2BTL.js → chunk-JHF3E4YM.js} +2 -2
  61. package/dist/chunk-JORHF5AL.js +108 -0
  62. package/dist/{chunk-A2EZV2UM.js → chunk-K2WO7XY7.js} +2 -2
  63. package/dist/chunk-KFZNKUNT.js +2 -0
  64. package/dist/{chunk-YVVCVR2L.js → chunk-KJ2IIBZN.js} +2 -2
  65. package/dist/{chunk-QGXBRIM5.js → chunk-KKME5ZAI.js} +2 -2
  66. package/dist/chunk-KSGTULOS.js +9 -0
  67. package/dist/{chunk-UOAV44HR.js → chunk-KXDJAG4N.js} +3 -3
  68. package/dist/{chunk-UKZBVX4U.js → chunk-L4S2A7BV.js} +2 -2
  69. package/dist/chunk-LP3ARJKF.js +8 -0
  70. package/dist/chunk-LSOR3LQG.js +3 -0
  71. package/dist/{chunk-Q4IIEGXJ.js → chunk-MLFZP76A.js} +2 -2
  72. package/dist/{chunk-WQTAC523.js → chunk-MNSTUIDD.js} +2 -2
  73. package/dist/{chunk-VXQNNXJE.js → chunk-MSBDMFER.js} +2 -2
  74. package/dist/{chunk-X6D5IC6I.js → chunk-MZZBAITE.js} +5 -5
  75. package/dist/{chunk-I5AWSI2G.js → chunk-NE3TZUCI.js} +2 -2
  76. package/dist/{chunk-6E7UTQY7.js → chunk-NTUMF2X3.js} +2 -2
  77. package/dist/{chunk-S44IULR6.js → chunk-O23I56NA.js} +2 -2
  78. package/dist/{chunk-CFMXJPHH.js → chunk-O3O4XXO6.js} +2 -2
  79. package/dist/{chunk-IG7N5ZIK.js → chunk-OUBAF226.js} +2 -2
  80. package/dist/chunk-P3UO3EH3.js +2 -0
  81. package/dist/{chunk-YNRNA5LK.js → chunk-QGGLL3UH.js} +2 -2
  82. package/dist/chunk-QIQ63BHW.js +16 -0
  83. package/dist/{chunk-VGRICIQI.js → chunk-QJIVBYEK.js} +2 -2
  84. package/dist/chunk-QOXBSI6G.js +20 -0
  85. package/dist/chunk-QXK6UUSM.js +2 -0
  86. package/dist/{chunk-XYADIZHU.js → chunk-RA3AYNWP.js} +2 -2
  87. package/dist/chunk-RJMDJR3A.js +2 -0
  88. package/dist/{chunk-NSS46APD.js → chunk-RLH5VUMG.js} +2 -2
  89. package/dist/{chunk-GBQ5NYPR.js → chunk-S4S2WOIX.js} +6 -6
  90. package/dist/{chunk-YIJ7ZAA4.js → chunk-SERUIGV5.js} +2 -2
  91. package/dist/{chunk-FECYOO5O.js → chunk-SMQWE25B.js} +2 -2
  92. package/dist/{chunk-R4FQGQ4X.js → chunk-TAVELHYR.js} +2 -2
  93. package/dist/{chunk-U6WNH5GC.js → chunk-TWMJ3Y3G.js} +2 -2
  94. package/dist/chunk-VAXNI5NE.js +146 -0
  95. package/dist/chunk-VVY2G5ET.js +2 -0
  96. package/dist/{chunk-WER3B7MI.js → chunk-W3DBTGL4.js} +2 -2
  97. package/dist/{chunk-CNKAGUPL.js → chunk-WANA4KAQ.js} +2 -2
  98. package/dist/chunk-WJL2L6MV.js +60 -0
  99. package/dist/chunk-WUW7YUAH.js +11 -0
  100. package/dist/{chunk-QVWS2VWZ.js → chunk-WWKWUPSU.js} +2 -2
  101. package/dist/{chunk-ABMYA4TN.js → chunk-WY45BHKQ.js} +2 -2
  102. package/dist/chunk-X4FR5BZF.js +9 -0
  103. package/dist/chunk-X6RKPDY7.js +2 -0
  104. package/dist/{chunk-ZXJYMGD3.js → chunk-YLFORA5G.js} +2 -2
  105. package/dist/{chunk-KP6XRY5Z.js → chunk-YTVWB7YJ.js} +2 -2
  106. package/dist/{chunk-4XTA5OMB.js → chunk-ZCEJ63SP.js} +2 -2
  107. package/dist/{chunk-HKEHS2AS.js → chunk-ZJ5CBXK3.js} +2 -2
  108. package/dist/chunk-ZL2OGDCD.js +2 -0
  109. package/dist/cli.js +8 -3
  110. package/dist/command-descriptors-ZW5J4ZEM.js +631 -0
  111. package/dist/{config-types-D20KuvvZ.d.ts → config-types-B6MEoRNy.d.ts} +8 -0
  112. package/dist/{db-G_II8yXU.d.ts → db-DYLKr9Wn.d.ts} +18 -1
  113. package/dist/direct-navigation-42YHQPOI.js +3 -0
  114. package/dist/{health-oblXYgkF.d.ts → health-DgxIDXJC.d.ts} +1 -1
  115. package/dist/index.d.ts +2 -2
  116. package/dist/index.js +1 -1
  117. package/dist/postinstall.js +1 -1
  118. package/dist/queries/affected.d.ts +2 -2
  119. package/dist/queries/affected.js +1 -1
  120. package/dist/queries/architecture.d.ts +2 -2
  121. package/dist/queries/architecture.js +1 -1
  122. package/dist/queries/bottlenecks.d.ts +2 -2
  123. package/dist/queries/bottlenecks.js +1 -1
  124. package/dist/queries/by-kind.d.ts +2 -2
  125. package/dist/queries/by-kind.js +1 -1
  126. package/dist/queries/call-graph.d.ts +2 -2
  127. package/dist/queries/call-graph.js +1 -1
  128. package/dist/queries/change-surface.d.ts +2 -2
  129. package/dist/queries/change-surface.js +1 -1
  130. package/dist/queries/cleanup-plan.d.ts +2 -2
  131. package/dist/queries/cleanup-plan.js +1 -1
  132. package/dist/queries/co-change.d.ts +2 -2
  133. package/dist/queries/co-change.js +1 -1
  134. package/dist/queries/code.d.ts +2 -2
  135. package/dist/queries/code.js +1 -1
  136. package/dist/queries/complexity-hotspots.d.ts +2 -2
  137. package/dist/queries/complexity-hotspots.js +1 -1
  138. package/dist/queries/complexity.d.ts +2 -2
  139. package/dist/queries/complexity.js +1 -1
  140. package/dist/queries/convergence.d.ts +2 -2
  141. package/dist/queries/convergence.js +1 -1
  142. package/dist/queries/coupling.d.ts +2 -2
  143. package/dist/queries/coupling.js +1 -1
  144. package/dist/queries/cycles.d.ts +2 -2
  145. package/dist/queries/cycles.js +1 -1
  146. package/dist/queries/dataflow.d.ts +2 -2
  147. package/dist/queries/dataflow.js +1 -1
  148. package/dist/queries/dead.d.ts +2 -2
  149. package/dist/queries/dead.js +1 -1
  150. package/dist/queries/decorative-checkers.d.ts +3 -3
  151. package/dist/queries/decorative-checkers.js +1 -1
  152. package/dist/queries/deep-chains.d.ts +2 -2
  153. package/dist/queries/deep-chains.js +1 -1
  154. package/dist/queries/deps.d.ts +2 -2
  155. package/dist/queries/deps.js +1 -1
  156. package/dist/queries/diff-gate.d.ts +30 -2
  157. package/dist/queries/diff-gate.js +1 -1
  158. package/dist/queries/diff-impact.d.ts +2 -2
  159. package/dist/queries/diff-impact.js +1 -1
  160. package/dist/queries/doc-drift.d.ts +2 -2
  161. package/dist/queries/doc-drift.js +1 -1
  162. package/dist/queries/drift.d.ts +2 -2
  163. package/dist/queries/drift.js +1 -1
  164. package/dist/queries/duplicate-bodies.d.ts +2 -2
  165. package/dist/queries/duplicate-bodies.js +1 -1
  166. package/dist/queries/extract-candidates.d.ts +2 -2
  167. package/dist/queries/extract-candidates.js +1 -1
  168. package/dist/queries/fan.d.ts +2 -2
  169. package/dist/queries/fan.js +1 -1
  170. package/dist/queries/files.d.ts +2 -2
  171. package/dist/queries/health.d.ts +3 -3
  172. package/dist/queries/health.js +1 -1
  173. package/dist/queries/hierarchy.d.ts +2 -2
  174. package/dist/queries/hierarchy.js +1 -1
  175. package/dist/queries/hotspots.d.ts +2 -2
  176. package/dist/queries/hotspots.js +1 -1
  177. package/dist/queries/imports.d.ts +2 -2
  178. package/dist/queries/imports.js +1 -1
  179. package/dist/queries/incomplete-migration.d.ts +2 -2
  180. package/dist/queries/incomplete-migration.js +1 -1
  181. package/dist/queries/index.d.ts +17 -3
  182. package/dist/queries/index.js +1 -1
  183. package/dist/queries/isolated.d.ts +2 -2
  184. package/dist/queries/isolated.js +1 -1
  185. package/dist/queries/locality-candidates.d.ts +2 -2
  186. package/dist/queries/locality-candidates.js +1 -1
  187. package/dist/queries/members.d.ts +2 -2
  188. package/dist/queries/members.js +1 -1
  189. package/dist/queries/methods.d.ts +2 -2
  190. package/dist/queries/methods.js +1 -1
  191. package/dist/queries/not-implemented.d.ts +3 -3
  192. package/dist/queries/not-implemented.js +1 -1
  193. package/dist/queries/outline.d.ts +2 -2
  194. package/dist/queries/outline.js +1 -1
  195. package/dist/queries/passthrough-candidates.d.ts +2 -2
  196. package/dist/queries/passthrough-candidates.js +1 -1
  197. package/dist/queries/plan-context.d.ts +2 -2
  198. package/dist/queries/plan-context.js +1 -1
  199. package/dist/queries/react-component-duplicates.d.ts +2 -2
  200. package/dist/queries/react-component-duplicates.js +1 -1
  201. package/dist/queries/react-hook-candidates.d.ts +2 -2
  202. package/dist/queries/react-hook-candidates.js +1 -1
  203. package/dist/queries/react-large-component-pressure.d.ts +2 -2
  204. package/dist/queries/react-large-component-pressure.js +1 -1
  205. package/dist/queries/recent-duplicates.d.ts +2 -2
  206. package/dist/queries/recent-duplicates.js +1 -1
  207. package/dist/queries/redundant-reexports.d.ts +2 -2
  208. package/dist/queries/redundant-reexports.js +1 -1
  209. package/dist/queries/refs.d.ts +2 -2
  210. package/dist/queries/refs.js +1 -1
  211. package/dist/queries/self-audit.d.ts +2 -2
  212. package/dist/queries/self-audit.js +1 -1
  213. package/dist/queries/similar-chains.d.ts +2 -2
  214. package/dist/queries/similar-chains.js +1 -1
  215. package/dist/queries/similar-files.d.ts +2 -2
  216. package/dist/queries/similar-files.js +1 -1
  217. package/dist/queries/similar-signatures.d.ts +2 -2
  218. package/dist/queries/similar-signatures.js +1 -1
  219. package/dist/queries/similar.d.ts +2 -2
  220. package/dist/queries/similar.js +1 -1
  221. package/dist/queries/slice.d.ts +2 -2
  222. package/dist/queries/slice.js +1 -1
  223. package/dist/queries/stale-abstractions.d.ts +2 -2
  224. package/dist/queries/stale-abstractions.js +1 -1
  225. package/dist/queries/stats.d.ts +2 -2
  226. package/dist/queries/stats.js +1 -1
  227. package/dist/queries/surface.d.ts +2 -2
  228. package/dist/queries/surface.js +1 -1
  229. package/dist/queries/symbols.d.ts +2 -2
  230. package/dist/queries/symbols.js +1 -1
  231. package/dist/queries/system.d.ts +2 -2
  232. package/dist/queries/system.js +1 -1
  233. package/dist/queries/test-quality.d.ts +2 -2
  234. package/dist/queries/test-quality.js +1 -1
  235. package/dist/queries/trace.d.ts +2 -2
  236. package/dist/queries/trace.js +1 -1
  237. package/dist/queries/twin-ab.d.ts +3 -3
  238. package/dist/queries/twin-ab.js +1 -1
  239. package/dist/queries/twin-drift.d.ts +2 -2
  240. package/dist/queries/twin-drift.js +1 -1
  241. package/dist/queries/unused-imports.d.ts +2 -2
  242. package/dist/queries/unused-imports.js +1 -1
  243. package/dist/queries/unused-params.d.ts +2 -2
  244. package/dist/queries/unused-params.js +1 -1
  245. package/dist/queries/vue-component-duplicates.d.ts +2 -2
  246. package/dist/queries/vue-component-duplicates.js +1 -1
  247. package/dist/queries/vue-composable-candidates.d.ts +2 -2
  248. package/dist/queries/vue-composable-candidates.js +1 -1
  249. package/dist/queries/vue-large-view-pressure.d.ts +2 -2
  250. package/dist/queries/vue-large-view-pressure.js +1 -1
  251. package/dist/queries/wrapper-candidates.d.ts +2 -2
  252. package/dist/queries/wrapper-candidates.js +1 -1
  253. package/dist/reindex-worker.js +26 -26
  254. package/dist/reindex.d.ts +14 -4
  255. package/dist/reindex.js +34 -38
  256. package/dist/runtime.d.ts +167 -18
  257. package/dist/runtime.js +3 -2
  258. package/dist/rust-semantic-session-server.js +1 -1
  259. package/dist/rust-semantic-session-worker.js +1 -1
  260. package/dist/rust-semantic-worker.js +1 -1
  261. package/dist/{scip-cli-kRpaexVJ.d.ts → scip-cli-Cc6c00-a.d.ts} +6 -2
  262. package/dist/watch-server.js +5 -5
  263. package/docs/AGENT_GUIDE.md +20 -4
  264. package/docs/AI_FAILURE_MODES.md +17 -17
  265. package/docs/API_EVOLUTION.md +71 -0
  266. package/docs/CLI_JSON_OUTPUT.md +168 -0
  267. package/docs/COMMAND_REFERENCE.md +10 -6
  268. package/docs/COMMITTED_RECORD_COMPATIBILITY.md +117 -0
  269. package/docs/CONFIGURATION_WRITE_SAFETY.md +130 -0
  270. package/docs/DETECTOR_GUIDE.md +46 -46
  271. package/docs/DURABILITY.md +103 -0
  272. package/docs/INDEX_GENERATIONS.md +121 -0
  273. package/docs/LOCK_PROTOCOL.md +133 -0
  274. package/docs/MAILBOX_LIFECYCLE.md +197 -0
  275. package/docs/REINDEX_METADATA_COMPATIBILITY.md +84 -0
  276. package/docs/RUST_DURABLE_SESSION_PROTOCOL.md +126 -0
  277. package/docs/SECURITY_MODEL.md +129 -0
  278. package/docs/TELEMETRY_RETENTION.md +77 -0
  279. package/docs/TIME_SEMANTICS.md +77 -0
  280. package/docs/WATCH_REFRESH_REQUESTS.md +110 -0
  281. package/docs/WINDOWS_SIDECAR_RELEASE.md +298 -0
  282. package/docs/analyzer-validation-ledger.md +24 -23
  283. package/docs/schemas/cli-json-envelope.schema.json +53 -0
  284. package/docs/schemas/cli-output-page.schema.json +104 -0
  285. package/docs/schemas/npm-release-state.schema.json +146 -0
  286. package/docs/schemas/outcome-event-record.schema.json +39 -0
  287. package/docs/schemas/project-config.schema.json +247 -0
  288. package/docs/schemas/suppression-record.schema.json +31 -0
  289. package/docs/schemas/windows-sidecar-provenance.schema.json +137 -0
  290. package/package.json +21 -10
  291. package/scripts/build-scip-windows.mjs +180 -61
  292. package/scripts/scip-windows-provenance.mjs +364 -0
  293. package/scripts/verify-scip-windows.mjs +29 -0
  294. package/skills/_shared/SKILL.md +90 -229
  295. package/skills/_shared/agents/openai.yaml +1 -1
  296. package/skills/_shared/references/agent-contract-catalog.md +105 -0
  297. package/skills/_shared/references/command-catalog.md +118 -0
  298. package/skills/_shared/references/detector-precision-and-diffgate.md +59 -0
  299. package/skills/_shared/references/evidence-and-dead-code.md +25 -0
  300. package/skills/scip-audit/SKILL.md +77 -0
  301. package/skills/scip-audit/agents/openai.yaml +4 -0
  302. package/skills/scip-audit/references/claims.md +98 -0
  303. package/skills/scip-audit/references/cleanup.md +101 -0
  304. package/skills/scip-audit/references/directory.md +222 -0
  305. package/skills/scip-audit/references/frontend.md +130 -0
  306. package/skills/scip-audit/references/integrity.md +154 -0
  307. package/skills/scip-audit/references/maintainability.md +162 -0
  308. package/skills/scip-audit/references/twin-drift.md +104 -0
  309. package/skills/scip-diagnose/SKILL.md +52 -0
  310. package/skills/scip-diagnose/agents/openai.yaml +4 -0
  311. package/skills/scip-diagnose/references/debug.md +117 -0
  312. package/skills/{scip-probe-reachability/SKILL.md → scip-diagnose/references/probe-reachability.md} +11 -27
  313. package/skills/scip-diagnose/references/root-cause.md +145 -0
  314. package/skills/scip-diagnose/references/triage.md +119 -0
  315. package/skills/scip-explore/SKILL.md +54 -85
  316. package/skills/scip-explore/agents/openai.yaml +2 -2
  317. package/skills/scip-explore/references/diagrams.md +40 -0
  318. package/skills/scip-explore/references/language-playbook.md +49 -0
  319. package/skills/scip-improve/SKILL.md +56 -0
  320. package/skills/scip-improve/agents/openai.yaml +4 -0
  321. package/skills/scip-improve/references/cleanup-batches.md +53 -0
  322. package/skills/scip-improve/references/directory-moves.md +53 -0
  323. package/skills/scip-improve/references/doc-reconcile.md +30 -0
  324. package/skills/scip-improve/references/frontend-extraction.md +39 -0
  325. package/skills/scip-improve/references/maintainability-mechanism.md +43 -0
  326. package/skills/scip-improve/references/twin-drift.md +35 -0
  327. package/skills/scip-plan/SKILL.md +68 -0
  328. package/skills/scip-plan/agents/openai.yaml +4 -0
  329. package/skills/scip-plan/references/api-impact.md +19 -0
  330. package/skills/scip-plan/references/conductor.md +41 -0
  331. package/skills/scip-plan/references/high-assurance.md +43 -0
  332. package/skills/scip-plan/references/hyper-optimization.md +50 -0
  333. package/skills/scip-plan/references/tla-model.md +88 -0
  334. package/skills/scip-query/SKILL.md +53 -98
  335. package/skills/scip-query/agents/openai.yaml +2 -2
  336. package/skills/scip-setup/SKILL.md +69 -181
  337. package/skills/scip-setup/agents/openai.yaml +3 -3
  338. package/skills/scip-setup/references/bootstrap-workflow.md +120 -0
  339. package/skills/scip-setup/references/language-verification.md +61 -0
  340. package/skills/scip-setup/references/lifecycle-commands.md +119 -0
  341. package/skills/scip-setup/references/per-repo-triage.md +24 -0
  342. package/skills/scip-verify/SKILL.md +126 -84
  343. package/skills/scip-verify/agents/openai.yaml +2 -2
  344. package/skills/scip-verify/references/calibrate-detectors.md +170 -0
  345. package/dist/chunk-2CTX5CMX.js +0 -4
  346. package/dist/chunk-2Y373BDD.js +0 -2
  347. package/dist/chunk-2YU7I3QO.js +0 -2
  348. package/dist/chunk-3MJ5YA4Y.js +0 -16
  349. package/dist/chunk-64RFXJT5.js +0 -16
  350. package/dist/chunk-7UY7SD7D.js +0 -927
  351. package/dist/chunk-B5NLK2B3.js +0 -6
  352. package/dist/chunk-C2QSK7E7.js +0 -2
  353. package/dist/chunk-C7NIYIQ4.js +0 -67
  354. package/dist/chunk-D4U5Q3FT.js +0 -7
  355. package/dist/chunk-DGAGY7RJ.js +0 -60
  356. package/dist/chunk-DLWR3NUU.js +0 -5
  357. package/dist/chunk-K2ERX4UT.js +0 -3
  358. package/dist/chunk-KHE7J5ZN.js +0 -3
  359. package/dist/chunk-L7SPDE73.js +0 -84
  360. package/dist/chunk-LHMNRHGV.js +0 -3
  361. package/dist/chunk-LM72NQ7T.js +0 -3
  362. package/dist/chunk-MSWVMDAH.js +0 -122
  363. package/dist/chunk-NH7WNNQC.js +0 -20
  364. package/dist/chunk-NPKYOIFM.js +0 -18
  365. package/dist/chunk-NZL2DBT7.js +0 -2
  366. package/dist/chunk-OMPZHGHO.js +0 -2
  367. package/dist/chunk-P2PC2WGR.js +0 -2
  368. package/dist/chunk-Q3AFUTGB.js +0 -8
  369. package/dist/chunk-QRGV2F7L.js +0 -2
  370. package/dist/chunk-TW4OG5FC.js +0 -4
  371. package/dist/chunk-U7DSEKOM.js +0 -30
  372. package/dist/chunk-V27BEQJN.js +0 -7
  373. package/dist/chunk-XAGAZSFE.js +0 -6
  374. package/dist/chunk-XBN5VO53.js +0 -2
  375. package/dist/chunk-YGAGTIDK.js +0 -11
  376. package/dist/command-descriptors-N2TL4XM2.js +0 -613
  377. package/dist/direct-navigation-DUCZCTOE.js +0 -3
  378. package/skills/scip-api-impact/SKILL.md +0 -140
  379. package/skills/scip-api-impact/agents/openai.yaml +0 -4
  380. package/skills/scip-calibrate/SKILL.md +0 -131
  381. package/skills/scip-calibrate/agents/openai.yaml +0 -4
  382. package/skills/scip-claim-audit/SKILL.md +0 -107
  383. package/skills/scip-claim-audit/agents/openai.yaml +0 -4
  384. package/skills/scip-cleanup-audit/SKILL.md +0 -130
  385. package/skills/scip-cleanup-audit/agents/openai.yaml +0 -4
  386. package/skills/scip-cleanup-improve/SKILL.md +0 -85
  387. package/skills/scip-cleanup-improve/agents/openai.yaml +0 -4
  388. package/skills/scip-concrete-plan/HIGH_ASSURANCE.md +0 -317
  389. package/skills/scip-concrete-plan/SKILL.md +0 -105
  390. package/skills/scip-concrete-plan/agents/openai.yaml +0 -4
  391. package/skills/scip-conductor/SKILL.md +0 -133
  392. package/skills/scip-conductor/agents/openai.yaml +0 -4
  393. package/skills/scip-debug/SKILL.md +0 -130
  394. package/skills/scip-debug/agents/openai.yaml +0 -4
  395. package/skills/scip-diagram/SKILL.md +0 -110
  396. package/skills/scip-diagram/agents/openai.yaml +0 -4
  397. package/skills/scip-directory-architecture/SKILL.md +0 -266
  398. package/skills/scip-directory-architecture/agents/openai.yaml +0 -4
  399. package/skills/scip-doc-reconcile/SKILL.md +0 -89
  400. package/skills/scip-doc-reconcile/agents/openai.yaml +0 -4
  401. package/skills/scip-hyper-optimization/SKILL.md +0 -156
  402. package/skills/scip-hyper-optimization/agents/openai.yaml +0 -4
  403. package/skills/scip-integrity-audit/SKILL.md +0 -152
  404. package/skills/scip-integrity-audit/agents/openai.yaml +0 -4
  405. package/skills/scip-language-playbook/SKILL.md +0 -106
  406. package/skills/scip-language-playbook/agents/openai.yaml +0 -4
  407. package/skills/scip-maintainability/SKILL.md +0 -158
  408. package/skills/scip-maintainability/agents/openai.yaml +0 -4
  409. package/skills/scip-probe-reachability/agents/openai.yaml +0 -4
  410. package/skills/scip-react-maintainability/SKILL.md +0 -101
  411. package/skills/scip-react-maintainability/agents/openai.yaml +0 -4
  412. package/skills/scip-root-cause/SKILL.md +0 -151
  413. package/skills/scip-root-cause/agents/openai.yaml +0 -4
  414. package/skills/scip-tla-model-system/SKILL.md +0 -148
  415. package/skills/scip-tla-model-system/agents/openai.yaml +0 -4
  416. package/skills/scip-triage-issue/SKILL.md +0 -133
  417. package/skills/scip-triage-issue/agents/openai.yaml +0 -4
  418. package/skills/scip-twin-drift/SKILL.md +0 -109
  419. package/skills/scip-twin-drift/agents/openai.yaml +0 -4
  420. package/skills/scip-vue-maintainability/SKILL.md +0 -107
  421. package/skills/scip-vue-maintainability/agents/openai.yaml +0 -4
@@ -1,317 +0,0 @@
1
- # High-Assurance Planning
2
-
3
- Load this only when the change meets a trigger in `SKILL.md` — security boundary, authorization,
4
- money, destructive operation, persistent-data migration, shared-state concurrency, broad public
5
- API change, irreversible rollout, or an explicit request for it. For ordinary work the protocol
6
- here costs more than it protects, and its weight is why planning stopped happening at all.
7
-
8
- A high-assurance plan is a **certificate**: a dated Markdown document whose conclusion — ready to
9
- implement — is derived from numbered, source-cited premises, defended against constructed
10
- counterexamples, and shaped so the intended behavior is easy to test before it is easy to ship.
11
-
12
- ## Rules
13
-
14
- 1. Define every load-bearing concept contextually and state every invariant in `iff` or
15
- `must always` form. A definition without referents (a `Source:` line) is a guess.
16
- 2. Evidence lives in numbered premises (`P1`, `P2`, ...), each naming the source appropriate to
17
- its claim. Literal source facts may cite a native file read; compiler-resolved identity and
18
- complete writer, reader, caller, dependency, consumer, or impact sets cite scip-query. Every
19
- shared-state surface the plan touches gets a state-authority premise enumerating its complete
20
- writer and reader sets.
21
- 3. Steps and defenses cite the premises they depend on. A claim no premise supports is either new
22
- evidence to gather or an explicit `ASSUMPTION` — never silent.
23
- 4. Do not propose a new helper, wrapper, type, parameter, config flag, component, hook, or module
24
- until the reuse audit proves reuse or extension is not the better move.
25
- 5. Every behavior-changing step includes a testability design: test seam, injected dependencies,
26
- pure core, side-effect boundary, and validation.
27
- 6. Attack entries must be constructed scenarios — actor, starting state, sequence — each ending in
28
- a recorded outcome: `HELD` citing the defending step and premises, or `HOLE` with its repair
29
- step or accepted reason. An assertion of absence ("no new shared mutable state") is not a
30
- defense; it cannot fail, so it cannot catch anything.
31
- 7. Installing an enforcer — trigger, constraint, guard, gate — opens an enforcement window: every
32
- existing writer in the relevant state-authority premise must be brought into compliance in the
33
- same or an earlier step, or the window recorded as an accepted hole. Every step declares
34
- `Deployable`.
35
- 8. The verdict is derived, not asserted: `PLANNED-COMPLETE` only when the coverage matrix has no
36
- blank rows and every attack ends in `HELD` with citations or an accepted hole. An attack record
37
- where nothing ever broke is a red flag — attacks run against a draft should find holes; if none
38
- did, rerun the pass as falsification, preferably in a fresh subagent context.
39
-
40
- ## Planning Terms
41
-
42
- A **reuse audit** is the part of a plan that proves a proposed new symbol, file, option, wrapper,
43
- or contract is needed; what makes it useful is that it ties the new shape to existing definitions,
44
- consumers, and rejected extension points.
45
-
46
- A **test seam** is the entry point a test can call to prove a behavior without replaying the whole
47
- product path; what makes it valuable in a plan is that it names the exact unit or boundary where
48
- correctness will be observed.
49
-
50
- A **side-effect boundary** is the edge where deterministic program decisions meet files,
51
- processes, clocks, networks, databases, or other external capabilities; what makes it important is
52
- that failures and fakes can be isolated there while core decisions stay easy to test.
53
-
54
- A **contract** is the stable promise one code unit exposes to another, including accepted inputs,
55
- returned outputs, errors, timing expectations, and side effects that callers may rely on.
56
-
57
- An **invariant** is a property of the changed system that must hold at every observable moment;
58
- what makes it load-bearing is that attacks are judged against it and the final verdict is derived
59
- from whether it survives them all.
60
-
61
- A **premise** is a numbered, source-cited statement of fact about the current code; what makes it
62
- a premise rather than a note is that steps and defenses cite it by ID, so a false premise is
63
- traceable to everything built on it.
64
-
65
- A **state-authority premise** is a premise that enumerates the complete writer and reader sets of
66
- one shared state surface; what makes it powerful is that "complete" is falsifiable with `refs` and
67
- `dataflow`, turning a forgotten write path from an unknowable into a checkable omission.
68
-
69
- A **counterexample attack** is a concrete actor, starting state, and action sequence constructed
70
- to violate an invariant; what makes it evidence is that its defense cites premises and steps, so
71
- "we considered failure" becomes "this specific failure is blocked here."
72
-
73
- An **enforcement window** is the interval between the step that installs an invariant enforcer and
74
- the step that brings the last existing writer into compliance; what makes it dangerous is that
75
- during it, every unupdated writer fails the new check in production, so the plan that adds safety
76
- is itself the outage.
77
-
78
- ## Workflow
79
-
80
- ### 1. Discover
81
-
82
- ```bash
83
- scip-query status --capabilities
84
- scip-query plan-context <target>
85
- ```
86
-
87
- Fill four gates before designing:
88
-
89
- ```markdown
90
- ## Goal
91
-
92
- What the user is trying to accomplish and what done looks like for them.
93
-
94
- ## Definitions & Invariants
95
-
96
- For each load-bearing concept: its wider class, then the one trait that causally
97
- explains its other traits in this codebase — with the referents. Then the
98
- invariants the change must preserve, in iff / must-always form.
99
-
100
- ## Current State
101
-
102
- A short narrative of the affected end-to-end flow. Every factual sentence
103
- cites a premise by ID.
104
-
105
- ## Reuse Audit
106
-
107
- For every new symbol or file being considered: reuse target, extension target,
108
- or evidence-backed reason new code is justified.
109
- ```
110
-
111
- Definition discipline: place the concept in its wider class, then name the essential trait — the
112
- one that makes the concept's other traits in this codebase possible and explains them. Do not
113
- label genus or differentia; write it as prose. Ban circular and synonym definitions ("the refresh
114
- coordinator coordinates refreshes" defines nothing). Any new term the plan introduces gets defined
115
- the same way. Good definitions condense: they imply the concept's other traits instead of listing
116
- them, and derived requirements fall out of them — if restore is defined as the inverse of cancel,
117
- then the privilege to restore must not be weaker than the privilege to cancel, and a plan that
118
- gates them asymmetrically must defend that asymmetry.
119
-
120
- Complete only when the concepts are defined with referents, the invariants are stated formally,
121
- and every proposed new unit has a reuse decision with citations.
122
-
123
- ### 2. Establish Premises
124
-
125
- ```markdown
126
- ## Premises
127
-
128
- - P1. <current behavior fact> — Source: `scip-query code <symbol>`
129
- - P2. Writers of `<state surface>`: <complete list>. Readers: <complete list>.
130
- — Source: `scip-query refs <symbol>` + `scip-query dataflow <symbol>`
131
- - P3. ASSUMPTION: <belief the evidence cannot yet confirm, and what would confirm it>
132
- ```
133
-
134
- State-authority rule: for every state surface the plan touches — database column, store field,
135
- event topic, endpoint, cache entry — write one premise enumerating its complete writer and reader
136
- sets. Completeness comes from `refs` and `dataflow`, not memory.
137
-
138
- Why this premise class exists: a sprint-restore plan hardened `restore()` and the cancellation
139
- path but never enumerated the writers of sprint status. Review found `PATCH /sprints/:id` could
140
- set `status: 'active'` around every restore invariant, and transition automations wrote `sprintId`
141
- straight past the new membership guard — two of that review's five ship-blockers, both sitting in
142
- the writer list one `refs` call would have produced. With a state-authority premise, each writer
143
- in the list must be visited by an attack; without it, the side doors are invisible until review.
144
-
145
- Complete only when every state surface named in any phase has a state-authority premise and every
146
- remaining unknown is an explicit `ASSUMPTION`.
147
-
148
- ### 3. Shape for Tests
149
-
150
- ```markdown
151
- ## Testability Design
152
-
153
- | Behavior | Test seam | Dependencies to inject | Pure core | Side-effect shell | Contract |
154
- | ---------- | ------------------ | --------------------------- | ------------------------------- | ----------------- | ------------------------------- |
155
- | <behavior> | <test entry point> | <clock/db/http/logger/etc.> | <calculation/decision function> | <I/O wrapper> | <small interface or call shape> |
156
- ```
157
-
158
- Plan the code so tests can call the pure core directly and exercise the side-effect shell with
159
- injected replacements. Prefer this shape:
160
-
161
- 1. Parse and validate at the boundary.
162
- 2. Pass domain data and injected dependencies into a small orchestrator.
163
- 3. Put calculations, filtering, selection, formatting decisions, and state transitions in pure
164
- functions.
165
- 4. Keep database, network, filesystem, clock, randomness, logging, email, and payment calls in
166
- thin side-effect shells.
167
- 5. Depend on small contracts at boundaries; avoid broad option objects, booleans that hide
168
- behavior, and wrappers that merely forward.
169
-
170
- Complete only when every changed behavior has a named test seam and the plan makes clear which
171
- logic can be tested without real external services.
172
-
173
- ### 4. Design the Checklist
174
-
175
- Write phases in execution order. Keep each phase deployable or explicitly mark why it is not.
176
-
177
- ```markdown
178
- ### N.M - Imperative title
179
-
180
- - [ ] **File**: `path/to/file.ts:LINE-LINE`
181
- - **Premises**: P<n>, P<m>
182
- - **Deployable**: yes | no — <reason> | part of single-deploy group <name>
183
- - **What**: Current behavior verified from source.
184
- - **Change**: Exact edit to make.
185
- - **Testability**:
186
- - Test seam:
187
- - Injected dependencies:
188
- - Pure core:
189
- - Side-effect shell:
190
- - Contract:
191
- - **Validation**: Targeted test, smoke command, or manual check that proves the behavior.
192
- - **Why**: Why this step is needed and why this order is safe, citing the premises it rests on.
193
- ```
194
-
195
- If a step installs an enforcer, check its enforcement window here: every existing writer in the
196
- relevant state-authority premise is brought into compliance in the same or an earlier step, or the
197
- window is carried into the attack record as a hole to accept or repair.
198
-
199
- Complete only when no checklist item says "update this file" without exact current behavior,
200
- target behavior, cited premises, a deployability declaration, and validation.
201
-
202
- ### 5. Attack the Plan
203
-
204
- Construct counterexamples against every invariant. This pass is falsification, not defense: it
205
- succeeds by finding holes, and against a draft it should find some. Prefer delegating it to a
206
- fresh subagent when the environment can spawn one — give the adversary only the Definitions &
207
- Invariants, Premises, state-authority maps, and the checklist, not your design rationale, and
208
- brief it that it wins by producing holes; fold its findings back as HOLE entries and repair steps.
209
- Solo fallback: enumerate the full attack list from the coverage-matrix rows below before writing
210
- any Outcome line, so attacks cannot be shaped around defenses you already have.
211
-
212
- Use the lenses as attack prompts — purpose, blast radius, valid intermediate state, reversibility,
213
- failure, concurrency, boundaries, data integrity, observability, human experience, efficiency,
214
- reuse, testability — and record each attack in this form:
215
-
216
- ```markdown
217
- ### A<n>. <invariant> via <lens>
218
-
219
- - Attack: <actor> + <starting state> + <action sequence>
220
- - Outcome: HELD — defended by step <N.M> (P<i>, P<j>)
221
- | HOLE — repaired by new step <N.M>
222
- | HOLE — accepted: <reason>
223
- ```
224
-
225
- A `HELD` that cannot name its defending step and premises is not `HELD`; it is a hole wearing
226
- confidence. A repaired hole keeps its `HOLE — repaired by step N.M` label permanently — do not
227
- rewrite it to `HELD` after the repair, because the repair history is the evidence that the pass
228
- falsified. The verdict's repaired count must equal the number of `HOLE — repaired` entries.
229
-
230
- Close the record with a coverage matrix — one row per writer in every state-authority premise and
231
- per applicable lens (valid intermediate state is always applicable when any step installs an
232
- enforcer or migration):
233
-
234
- ```markdown
235
- | Surface or lens | Attacks |
236
- | ------------------------- | ------- |
237
- | <writer, reader, or lens> | A2, A7 |
238
- ```
239
-
240
- A blank row is an unattacked writer. The record is incomplete until every row names an attack or
241
- carries an accepted reason. Spread attacks across rows before deepening one: depth on the axis you
242
- already anticipated does not protect the axes you did not — the leaks come from blank rows, not
243
- from the tenth variation of the race you already modeled.
244
-
245
- Invalid entry — this exact shape preceded three post-review remediation rounds on a real plan:
246
-
247
- > **Concurrency**: Validation happens before database writes; no new shared mutable state or retry
248
- > behavior is introduced.
249
-
250
- It names no actor, no interleaving, and cites nothing. It is an assertion of absence: it cannot
251
- fail, so it caught nothing — review later found exactly the race it waved away. A valid entry for
252
- the same phase:
253
-
254
- > ### A3. "Every stored value is a member of its field's option set" via concurrency
255
- >
256
- > - Attack: admin removes option O in transaction A while a user writes value O in transaction B;
257
- > interleaving B-validates → A-commits → B-commits persists an orphaned value.
258
- > - Outcome: HOLE — repaired by new step 2.2: validation reads the option definition outside B's
259
- > lock (P4), so serialize definition changes with every value writer via FOR UPDATE on the
260
- > definition row; regression proves both interleavings against PostgreSQL.
261
-
262
- Complete only when the coverage matrix has no blank rows and every attack entry ends in a cited
263
- `HELD` or a recorded `HOLE`.
264
-
265
- ### 6. Verify and Derive the Verdict
266
-
267
- Run or delegate phase-by-phase reference checks. Each verifier confirms:
268
-
269
- - every path exists;
270
- - every line range is still within about five lines;
271
- - every premise reproduces when its `Source` command is rerun — a premise that no longer
272
- reproduces is false, and everything citing it is suspect until fixed;
273
- - every behavior claim matches source;
274
- - every new unit has reuse evidence;
275
- - every behavior-changing step has cited premises, a validation command, and a testability design.
276
-
277
- Then rerun the source-producing context for the cited targets:
278
-
279
- ```bash
280
- scip-query plan-context <target>
281
- ```
282
-
283
- Use the shared reference for subagent briefing text when delegating. Close the plan by applying
284
- the definitions to the record — do not summarize feelings:
285
-
286
- ```markdown
287
- ## Verdict
288
-
289
- A plan is PLANNED-COMPLETE iff the coverage matrix has no blank rows, every
290
- attack ends in HELD with cited steps and premises or an accepted hole with a
291
- written reason, and no premise failed reverification.
292
-
293
- Result: PLANNED-COMPLETE | INCOMPLETE — <n> attacks, <x> holes repaired,
294
- <y> holes accepted; <unresolved items>
295
- ```
296
-
297
- The counts are part of the verdict. "16 attacks, 0 holes repaired" against a fresh draft is not a
298
- strong plan; it is an attack pass that defended instead of falsified — rerun it before shipping.
299
-
300
- Complete only when stale references are fixed, every premise reverified, and the verdict line is
301
- derived from the attack record.
302
-
303
- ## Output Shape
304
-
305
- 1. Title and date.
306
- 2. Goal.
307
- 3. Definitions & Invariants.
308
- 4. Premises (including state-authority premises and explicit assumptions).
309
- 5. Current State (narrative citing premise IDs).
310
- 6. Reuse Audit.
311
- 7. Testability Design.
312
- 8. Design Phases (steps citing premises, each with a deployability declaration).
313
- 9. Attack Record (attacks with outcomes, holes repaired or accepted, coverage matrix).
314
- 10. Execution Order and deployable phase notes.
315
- 11. Ship Order with one-way doors flagged.
316
- 12. Verdict with attack and hole counts.
317
- 13. Summary of files to create, edit, delete, and verify.
@@ -1,105 +0,0 @@
1
- ---
2
- name: scip-concrete-plan
3
- description: Make an implementation plan or checklist before a non-trivial code change, refactor, migration, API edit, or bug fix. Uses scip-query to establish the end-to-end flow, affected consumers, and reuse options, then orders validated slices. Escalates for security, money, data migration, concurrency, and irreversible changes.
4
- commands:
5
- - template: 'scip-query status --capabilities'
6
- when: 'Discover: confirm the index is fresh before citing graph facts.'
7
- - template: 'scip-query plan-context <target>'
8
- when: 'Discover: the one call that anchors the plan — flow, consumers, impact, reuse, history.'
9
- - template: 'scip-query refs <symbol>'
10
- when: 'Scope: enumerate consumers when plan-context bounds a section you need in full.'
11
- - template: 'scip-query affected <symbol>'
12
- when: 'Scope: transitive blast radius when the change is not consumer-local.'
13
- - template: 'scip-query code <symbol>'
14
- when: 'Flow: read source behind a behavior claim you are about to write down.'
15
- ---
16
-
17
- # Concrete Plan
18
-
19
- Write an implementation plan another agent can execute without guessing and a reviewer can check
20
- without re-deriving. Two modes: **ordinary** by default, **high-assurance** when the change earns
21
- it. Pick the mode first — running the certificate on routine work is how planning becomes a tax
22
- people route around.
23
-
24
- Load shared mechanics from [`../_shared/SKILL.md`](../_shared/SKILL.md) when you need lookup tips,
25
- command families, postchecks, or subagent rules.
26
-
27
- <!-- BEGIN GENERATED SKILL COMMANDS -->
28
- ## Commands for this skill
29
-
30
- | Command | Purpose | Returns | Coverage | When |
31
- | --- | --- | --- | --- | --- |
32
- | `scip-query status --capabilities` | Show index status for this project | freshness, generation, language shards, watcher, and optional capabilities | `complete` | Discover: confirm the index is fresh before citing graph facts. |
33
- | `scip-query plan-context <target>` | Pre-edit planning context for a symbol, file, or module | definitions and references; callers and callees; dataflow producers and consumers; backward and forward slices; affected symbols; change-surface risk; dependencies and reverse dependencies; module files and exports; external surface use; complexity; churn; co-change partners; active suppressions | `bounded` | Discover: the one call that anchors the plan — flow, consumers, impact, reuse, history. |
34
- | `scip-query refs <symbol>` | Find all files referencing a symbol | referencing file paths; reference line numbers grouped by file | `bounded` | Scope: enumerate consumers when plan-context bounds a section you need in full. |
35
- | `scip-query affected <symbol>` | Transitive closure of symbols that could break if this symbol changes | affected symbol identities, files, and traversal depths | `bounded` | Scope: transitive blast radius when the change is not consumer-local. |
36
- | `scip-query code <symbol>` | Read the source code for a symbol (bounded to its definition range) | definition identity, source, and line range | `complete` | Flow: read source behind a behavior claim you are about to write down. |
37
-
38
- Use this shortlist first. Open [`../_shared/SKILL.md`](../_shared/SKILL.md) only when it is insufficient.
39
- <!-- END GENERATED SKILL COMMANDS -->
40
-
41
- ## Pick the mode
42
-
43
- Load [`HIGH_ASSURANCE.md`](HIGH_ASSURANCE.md) — numbered premises, state-authority inventories,
44
- counterexample attacks, enforcement windows, a derived verdict — when the change touches any of:
45
-
46
- - a security boundary or authorization decision;
47
- - money, billing, or anything with an external financial effect;
48
- - a destructive or irreversible operation;
49
- - a persistent-data migration;
50
- - shared-state concurrency;
51
- - a broad public API change;
52
- - a rollout that cannot be rolled back;
53
- - or the user explicitly asks for the rigorous version.
54
-
55
- Otherwise use ordinary mode below. When genuinely unsure, ask rather than defaulting up: the
56
- certificate is expensive, and the cost lands on every future change through the same skill.
57
-
58
- ## Ordinary mode
59
-
60
- Start here:
61
-
62
- ```bash
63
- scip-query status --capabilities # reindex only if stale, missing, or unknown
64
- scip-query plan-context <target> # flow, consumers, impact, reuse signals, history
65
- ```
66
-
67
- `plan-context` already returns definitions, references, callers, callees, dataflow, forward and
68
- backward slices, affected symbols, change-surface risk, dependencies, module exports, external
69
- surface use, complexity, churn, co-change partners, and suppressions. Your job is to interpret
70
- that composite — not to rebuild a proof system on top of it. Reach for a second command only when
71
- a section you need came back bounded, or the target was not indexed.
72
-
73
- Put the plan in `docs/plans/YYYY-MM-DD-<short-name>.md` with these sections:
74
-
75
- **Goal** — what the user is trying to accomplish, and what done looks like for them.
76
-
77
- **Current flow** — the affected path from entry point to observable effect, in prose, with the
78
- evidence behind each claim. If you cannot describe the current behavior end to end, you are not
79
- ready to change it.
80
-
81
- **Affected consumers** — who calls, imports, or reads what you are about to change, and what
82
- breaks if the contract shifts. Say whether the list is complete or bounded; a capped list you
83
- present as complete is worse than one you flag.
84
-
85
- **Reuse decision** — for every new helper, wrapper, type, parameter, flag, component, hook, or
86
- module: the thing it could have extended instead, and why extension loses. New parallel code with
87
- no reuse decision is the single most common defect this skill exists to prevent.
88
-
89
- **Slices** — ordered implementation steps. Each names its files and symbols, the behavior change,
90
- and the validation that proves it: a test, a command, or a specific manual check. A slice with no
91
- validation is a wish.
92
-
93
- **Risks and unknowns** — what could go wrong, what you could not establish, and any rollout
94
- constraint. Unknowns stay explicit; do not round them to assumptions.
95
-
96
- ## Done when
97
-
98
- - the entry-to-effect path is described and evidenced;
99
- - every affected consumer is assigned to a slice or explicitly out of scope;
100
- - every new unit has a reuse decision;
101
- - every slice has validation;
102
- - unknowns are written down rather than resolved by guessing.
103
-
104
- Then implement the plan in the smallest coherent slice, and run `scip-verify` when the change
105
- lands.
@@ -1,4 +0,0 @@
1
- interface:
2
- display_name: "Concrete Plan"
3
- short_description: "SCIP-grounded implementation plans"
4
- default_prompt: "Use $scip-concrete-plan to create a SCIP-grounded implementation plan for this change."
@@ -1,133 +0,0 @@
1
- ---
2
- name: scip-conductor
3
- description: Plan and conduct multi-step engineering programs like a skeptical principal engineer. Use for writing executable multi-phase plans, delegating implementation, reviewing another agent's work, or carrying a large change end to end with verification at every handoff.
4
- commands:
5
- - template: 'scip-query plan-context <target>'
6
- when: "Anchor each phase's step before delegating it."
7
- - template: 'scip-query diff-gate --json'
8
- when: 'Verify a handoff before accepting it and before closing the program.'
9
- - template: 'scip-query health --json'
10
- when: 'Pre-register or check a program-level health benchmark.'
11
- ---
12
-
13
- # scip-conductor
14
-
15
- This skill is how to run a _program_ of work — planning, delegation, review,
16
- and closure — not how to write one change plan (use a dedicated planning
17
- skill such as `scip-concrete-plan` for individual changes when one is available).
18
-
19
- Load shared mechanics from [`../_shared/SKILL.md`](../_shared/SKILL.md).
20
-
21
- <!-- BEGIN GENERATED SKILL COMMANDS -->
22
- ## Commands for this skill
23
-
24
- | Command | Purpose | Returns | Coverage | When |
25
- | --- | --- | --- | --- | --- |
26
- | `scip-query plan-context <target>` | Pre-edit planning context for a symbol, file, or module | definitions and references; callers and callees; dataflow producers and consumers; backward and forward slices; affected symbols; change-surface risk; dependencies and reverse dependencies; module files and exports; external surface use; complexity; churn; co-change partners; active suppressions | `bounded` | Anchor each phase's step before delegating it. |
27
- | `scip-query diff-gate --json` | Gate the current diff: architecture regressions plus echo, migration, coordination, doc-drift, unused-param, and new-dead candidates; exit 1 on blocking findings | blocking findings with check id, message, and remediation; advisory findings; root-cause groups; changed file and symbol counts; process exit status (1 when blocking findings exist) | `bounded` | Verify a handoff before accepting it and before closing the program. |
28
- | `scip-query health --json` | Composite codebase health report with prioritized action list | health score, findings, priorities, baselines, and coverage notes | `bounded` | Pre-register or check a program-level health benchmark. |
29
-
30
- Use this shortlist first. Open [`../_shared/SKILL.md`](../_shared/SKILL.md) only when it is insufficient.
31
- <!-- END GENERATED SKILL COMMANDS -->
32
-
33
- ## The Three Laws
34
-
35
- 1. **A green result you have never seen fail is unverified.** Applies to
36
- tests, gates, reports from other agents, and your own checks. (Where
37
- available, `scip-integrity-audit` is the same law aimed at code.)
38
- 2. **A plan is a contract for a less-capable executor, not a note to self.**
39
- If a competent-but-uninspired agent could not execute a step without
40
- guessing, the step is not finished being written.
41
- 3. **Nothing is silent.** Every finding, deviation, and shortcut is either
42
- fixed or written down with a reason someone else would accept. 0%
43
- silent is the invariant; "fixed everything" is not.
44
-
45
- ## Writing the Plan
46
-
47
- - **Goal states what DONE MEANS falsifiably** — a command someone can run
48
- and a result they can check, not an aspiration.
49
- - **Pre-register acceptance benchmarks.** Before any work: measure the
50
- current number (test count, timing, finding count, proof line), write it
51
- in the plan, and state the target number. Work that cannot move a
52
- pre-registered number is scope to question.
53
- - **Every step carries five fields**: file anchor with verified current
54
- behavior (cite how you know); the exact change; the validation command
55
- with expected output; testability design (pure core, injected effects);
56
- why this step is safe _in this order_. "Update X" with no current/target
57
- behavior is a wish, not a step.
58
- - **Order phases by information gain and risk**: blockers and
59
- evidence-integrity first; cheap discriminating probes before expensive
60
- builds; measurement before optimization; anything not yet decided by the
61
- human is a GATED phase the executor must not start. Infrastructure the
62
- later steps inherit (a labeling choke point, a shared helper layer)
63
- lands before the features that need it.
64
- - **Flag one-way doors** with their migration path, and keep an explicit
65
- DEFER list so cut scope is visible instead of forgotten.
66
- - **Include the working agreement**: ONE COMMIT PER STEP (bisectability is
67
- non-negotiable; phase-level commits hide which step broke), the exact
68
- gate commands — the FULL gate set the repo defines per phase: tests,
69
- typecheck, lint/format, and build, not just focused tests (focused tests
70
- hide cross-phase regressions; omitting the linter is how red mains ship),
71
- regeneration duties,
72
- and the deviation protocol —
73
- "if source contradicts an anchor, BLOCKED-note it and continue; never
74
- improvise silently."
75
-
76
- ## Conducting the Work
77
-
78
- - **Delegate breadth, keep judgment.** Fan out mechanical/scoped work;
79
- personally own anything requiring taste, cross-cutting context, or the
80
- final word on "is this real."
81
- - **Concurrent agents get disjoint write scopes**, named in their briefs.
82
- If a collision happens anyway: stop racing, apply-verify-commit
83
- atomically in one action, and re-sequence to a single writer.
84
- - **Never accept a report — reproduce its evidence.** On every handoff,
85
- choose the _minimal discriminating probe_: the one command most likely to
86
- expose the report being wrong (a mutation input, a hand count, the
87
- benchmark number), and run it yourself. A report verified by reading it
88
- is not verified.
89
- - **Loop until the gate is quiet**: fix → re-run the discriminating probe →
90
- re-run the gate → only then move on. After the program: fold what was
91
- learned back into the durable layer (docs, skills, followups) — insight
92
- that lives only in the conversation is lost.
93
- - **Escalate only genuine decision points** — one-way doors, scope changes,
94
- taste, spending. Everything else: decide, act, disclose.
95
-
96
- ## Scar Rules (each bought with a real failure)
97
-
98
- - **Verify your verifier.** A gate check that cannot fail is no gate: a
99
- lint grep that only matches one linter's output, a diff-gate run on a
100
- clean tree, a test suite that skips the new path. Prove the check catches
101
- a planted failure once before trusting its green.
102
- - **Never `git checkout`/`restore`/`stash` on a tree with uncommitted
103
- work** — yours or anyone's. Revert probe edits by targeted deletion.
104
- If source is lost, check `dist/*.map` sourcesContent before panicking.
105
- - **Commit working states early and surgically** (explicit paths, never
106
- `add -A` on a shared tree); an unbisectable pile of work is a liability.
107
- - **Make the commit cadence mechanical, not aspirational.** At every step
108
- boundary run the arithmetic check: steps completed == commits made. If
109
- they differ, stop and commit before touching anything new. "I'll commit
110
- when it's all done" is the signature decay of a long or low-effort run —
111
- two real executions finished an entire plan with zero or one commit, and
112
- both times the deviation was rationalized mid-run, not decided. A
113
- self-check that is a count cannot be rationalized.
114
- - **Watch for your own gate holes**: after any "all green," ask what that
115
- check does NOT cover (eslint vs prettier; unit vs integration; clean-tree
116
- vacuity).
117
-
118
- ## Self-Report (required output)
119
-
120
- End every conducted program — and every plan written under this skill —
121
- with a checklist mapping each section above to concrete evidence:
122
- the pre-registered benchmarks and their before/after values; each handoff's
123
- discriminating probe and its OBSERVED result (a probe listed but not run
124
- counts as not run); the deviation ledger; the DEFER list;
125
- which learnings were folded back and where. A reviewer must be able to
126
- audit the _conduct_, not just the artifact.
127
-
128
- ## Completion
129
-
130
- The program is complete only when: every pre-registered benchmark met or
131
- its miss explained; every handoff probe run and recorded; the gate quiet on
132
- the final state; nothing silent — every finding fixed or ledgered; and the
133
- self-report written.
@@ -1,4 +0,0 @@
1
- interface:
2
- display_name: "SCIP Conductor"
3
- short_description: "Conduct multi-phase engineering programs"
4
- default_prompt: "Use $scip-conductor to plan and conduct this multi-phase program end to end with verified handoffs."