@vibe-agent-toolkit/cli 0.2.0-rc.6 → 0.2.0-rc.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 (422) hide show
  1. package/README.md +4 -5
  2. package/dist/bin/vat +34 -19
  3. package/dist/bin/vat.js +34 -19
  4. package/dist/bin/vat.js.map +1 -1
  5. package/dist/bin.js +44 -158
  6. package/dist/bin.js.map +1 -1
  7. package/dist/command-loaders.d.ts +2 -2
  8. package/dist/command-loaders.d.ts.map +1 -1
  9. package/dist/command-loaders.js +4 -2
  10. package/dist/command-loaders.js.map +1 -1
  11. package/dist/commands/agent/build.d.ts.map +1 -1
  12. package/dist/commands/agent/build.js +2 -1
  13. package/dist/commands/agent/build.js.map +1 -1
  14. package/dist/commands/agent/import.d.ts.map +1 -1
  15. package/dist/commands/agent/import.js +3 -2
  16. package/dist/commands/agent/import.js.map +1 -1
  17. package/dist/commands/agent/install-path.d.ts +36 -0
  18. package/dist/commands/agent/install-path.d.ts.map +1 -0
  19. package/dist/commands/agent/install-path.js +44 -0
  20. package/dist/commands/agent/install-path.js.map +1 -0
  21. package/dist/commands/agent/install.d.ts.map +1 -1
  22. package/dist/commands/agent/install.js +22 -10
  23. package/dist/commands/agent/install.js.map +1 -1
  24. package/dist/commands/agent/installed.d.ts.map +1 -1
  25. package/dist/commands/agent/installed.js +22 -12
  26. package/dist/commands/agent/installed.js.map +1 -1
  27. package/dist/commands/agent/list.d.ts.map +1 -1
  28. package/dist/commands/agent/list.js +2 -1
  29. package/dist/commands/agent/list.js.map +1 -1
  30. package/dist/commands/agent/run.d.ts.map +1 -1
  31. package/dist/commands/agent/run.js +2 -1
  32. package/dist/commands/agent/run.js.map +1 -1
  33. package/dist/commands/agent/uninstall.d.ts.map +1 -1
  34. package/dist/commands/agent/uninstall.js +13 -6
  35. package/dist/commands/agent/uninstall.js.map +1 -1
  36. package/dist/commands/agent/validate.d.ts.map +1 -1
  37. package/dist/commands/agent/validate.js +3 -2
  38. package/dist/commands/agent/validate.js.map +1 -1
  39. package/dist/commands/ard/emit.d.ts +153 -0
  40. package/dist/commands/ard/emit.d.ts.map +1 -0
  41. package/dist/commands/ard/emit.js +276 -0
  42. package/dist/commands/ard/emit.js.map +1 -0
  43. package/dist/commands/ard/index.d.ts +12 -0
  44. package/dist/commands/ard/index.d.ts.map +1 -0
  45. package/dist/commands/ard/index.js +80 -0
  46. package/dist/commands/ard/index.js.map +1 -0
  47. package/dist/commands/ard/surfaces.d.ts +56 -0
  48. package/dist/commands/ard/surfaces.d.ts.map +1 -0
  49. package/dist/commands/ard/surfaces.js +150 -0
  50. package/dist/commands/ard/surfaces.js.map +1 -0
  51. package/dist/commands/audit/distributed-tree.d.ts.map +1 -1
  52. package/dist/commands/audit/distributed-tree.js +9 -6
  53. package/dist/commands/audit/distributed-tree.js.map +1 -1
  54. package/dist/commands/audit/scan-population.d.ts +158 -0
  55. package/dist/commands/audit/scan-population.d.ts.map +1 -0
  56. package/dist/commands/audit/scan-population.js +292 -0
  57. package/dist/commands/audit/scan-population.js.map +1 -0
  58. package/dist/commands/audit-settings.d.ts.map +1 -1
  59. package/dist/commands/audit-settings.js +6 -5
  60. package/dist/commands/audit-settings.js.map +1 -1
  61. package/dist/commands/audit.d.ts +78 -9
  62. package/dist/commands/audit.d.ts.map +1 -1
  63. package/dist/commands/audit.js +853 -473
  64. package/dist/commands/audit.js.map +1 -1
  65. package/dist/commands/build.d.ts.map +1 -1
  66. package/dist/commands/build.js +24 -24
  67. package/dist/commands/build.js.map +1 -1
  68. package/dist/commands/cache/clear.d.ts.map +1 -1
  69. package/dist/commands/cache/clear.js +17 -10
  70. package/dist/commands/cache/clear.js.map +1 -1
  71. package/dist/commands/claude/budget.d.ts +136 -24
  72. package/dist/commands/claude/budget.d.ts.map +1 -1
  73. package/dist/commands/claude/budget.js +152 -57
  74. package/dist/commands/claude/budget.js.map +1 -1
  75. package/dist/commands/claude/context.d.ts.map +1 -1
  76. package/dist/commands/claude/context.js +4 -3
  77. package/dist/commands/claude/context.js.map +1 -1
  78. package/dist/commands/claude/marketplace/changelog-utils.d.ts +1 -1
  79. package/dist/commands/claude/marketplace/changelog-utils.d.ts.map +1 -1
  80. package/dist/commands/claude/marketplace/changelog-utils.js +1 -2
  81. package/dist/commands/claude/marketplace/changelog-utils.js.map +1 -1
  82. package/dist/commands/claude/marketplace/git-publish.d.ts.map +1 -1
  83. package/dist/commands/claude/marketplace/git-publish.js +3 -2
  84. package/dist/commands/claude/marketplace/git-publish.js.map +1 -1
  85. package/dist/commands/claude/marketplace/license-utils.d.ts.map +1 -1
  86. package/dist/commands/claude/marketplace/license-utils.js +0 -1
  87. package/dist/commands/claude/marketplace/license-utils.js.map +1 -1
  88. package/dist/commands/claude/marketplace/publish-tree.d.ts.map +1 -1
  89. package/dist/commands/claude/marketplace/publish-tree.js +0 -6
  90. package/dist/commands/claude/marketplace/publish-tree.js.map +1 -1
  91. package/dist/commands/claude/marketplace/publish.d.ts.map +1 -1
  92. package/dist/commands/claude/marketplace/publish.js +2 -1
  93. package/dist/commands/claude/marketplace/publish.js.map +1 -1
  94. package/dist/commands/claude/marketplace/validate.d.ts +55 -22
  95. package/dist/commands/claude/marketplace/validate.d.ts.map +1 -1
  96. package/dist/commands/claude/marketplace/validate.js +392 -77
  97. package/dist/commands/claude/marketplace/validate.js.map +1 -1
  98. package/dist/commands/claude/org/api-keys.d.ts +0 -3
  99. package/dist/commands/claude/org/api-keys.d.ts.map +1 -1
  100. package/dist/commands/claude/org/api-keys.js +2 -1
  101. package/dist/commands/claude/org/api-keys.js.map +1 -1
  102. package/dist/commands/claude/org/helpers.d.ts +17 -22
  103. package/dist/commands/claude/org/helpers.d.ts.map +1 -1
  104. package/dist/commands/claude/org/helpers.js +6 -22
  105. package/dist/commands/claude/org/helpers.js.map +1 -1
  106. package/dist/commands/claude/org/invites.d.ts +0 -3
  107. package/dist/commands/claude/org/invites.d.ts.map +1 -1
  108. package/dist/commands/claude/org/invites.js +3 -2
  109. package/dist/commands/claude/org/invites.js.map +1 -1
  110. package/dist/commands/claude/org/skills.d.ts +103 -4
  111. package/dist/commands/claude/org/skills.d.ts.map +1 -1
  112. package/dist/commands/claude/org/skills.js +331 -123
  113. package/dist/commands/claude/org/skills.js.map +1 -1
  114. package/dist/commands/claude/org/users.d.ts +0 -3
  115. package/dist/commands/claude/org/users.d.ts.map +1 -1
  116. package/dist/commands/claude/org/users.js +3 -2
  117. package/dist/commands/claude/org/users.js.map +1 -1
  118. package/dist/commands/claude/org/workspaces.d.ts +0 -3
  119. package/dist/commands/claude/org/workspaces.d.ts.map +1 -1
  120. package/dist/commands/claude/org/workspaces.js +6 -5
  121. package/dist/commands/claude/org/workspaces.js.map +1 -1
  122. package/dist/commands/claude/plugin/build.d.ts +8 -0
  123. package/dist/commands/claude/plugin/build.d.ts.map +1 -1
  124. package/dist/commands/claude/plugin/build.js +28 -33
  125. package/dist/commands/claude/plugin/build.js.map +1 -1
  126. package/dist/commands/claude/plugin/helpers.d.ts.map +1 -1
  127. package/dist/commands/claude/plugin/helpers.js +0 -6
  128. package/dist/commands/claude/plugin/helpers.js.map +1 -1
  129. package/dist/commands/claude/plugin/install.d.ts +12 -0
  130. package/dist/commands/claude/plugin/install.d.ts.map +1 -1
  131. package/dist/commands/claude/plugin/install.js +71 -60
  132. package/dist/commands/claude/plugin/install.js.map +1 -1
  133. package/dist/commands/claude/plugin/list.d.ts.map +1 -1
  134. package/dist/commands/claude/plugin/list.js +3 -2
  135. package/dist/commands/claude/plugin/list.js.map +1 -1
  136. package/dist/commands/claude/plugin/plugin-changelog.d.ts.map +1 -1
  137. package/dist/commands/claude/plugin/plugin-changelog.js +0 -2
  138. package/dist/commands/claude/plugin/plugin-changelog.js.map +1 -1
  139. package/dist/commands/claude/plugin/plugin-files.d.ts.map +1 -1
  140. package/dist/commands/claude/plugin/plugin-files.js +0 -3
  141. package/dist/commands/claude/plugin/plugin-files.js.map +1 -1
  142. package/dist/commands/claude/plugin/plugin-validators.d.ts.map +1 -1
  143. package/dist/commands/claude/plugin/plugin-validators.js +3 -6
  144. package/dist/commands/claude/plugin/plugin-validators.js.map +1 -1
  145. package/dist/commands/claude/plugin/tree-copy.d.ts +73 -0
  146. package/dist/commands/claude/plugin/tree-copy.d.ts.map +1 -1
  147. package/dist/commands/claude/plugin/tree-copy.js +221 -15
  148. package/dist/commands/claude/plugin/tree-copy.js.map +1 -1
  149. package/dist/commands/claude/plugin/uninstall.d.ts.map +1 -1
  150. package/dist/commands/claude/plugin/uninstall.js +4 -4
  151. package/dist/commands/claude/plugin/uninstall.js.map +1 -1
  152. package/dist/commands/consistency-check.d.ts +9 -13
  153. package/dist/commands/consistency-check.d.ts.map +1 -1
  154. package/dist/commands/consistency-check.js +91 -81
  155. package/dist/commands/consistency-check.js.map +1 -1
  156. package/dist/commands/corpus/index.d.ts.map +1 -1
  157. package/dist/commands/corpus/index.js +3 -0
  158. package/dist/commands/corpus/index.js.map +1 -1
  159. package/dist/commands/corpus/report.d.ts +0 -1
  160. package/dist/commands/corpus/report.d.ts.map +1 -1
  161. package/dist/commands/corpus/report.js +1 -3
  162. package/dist/commands/corpus/report.js.map +1 -1
  163. package/dist/commands/corpus/runner.d.ts +58 -1
  164. package/dist/commands/corpus/runner.d.ts.map +1 -1
  165. package/dist/commands/corpus/runner.js +92 -21
  166. package/dist/commands/corpus/runner.js.map +1 -1
  167. package/dist/commands/corpus/scan.d.ts.map +1 -1
  168. package/dist/commands/corpus/scan.js +2 -4
  169. package/dist/commands/corpus/scan.js.map +1 -1
  170. package/dist/commands/corpus/seed.d.ts +4 -4
  171. package/dist/commands/corpus/seed.d.ts.map +1 -1
  172. package/dist/commands/corpus/seed.js +1 -3
  173. package/dist/commands/corpus/seed.js.map +1 -1
  174. package/dist/commands/doctor.d.ts +14 -0
  175. package/dist/commands/doctor.d.ts.map +1 -1
  176. package/dist/commands/doctor.js +147 -51
  177. package/dist/commands/doctor.js.map +1 -1
  178. package/dist/commands/inventory.d.ts.map +1 -1
  179. package/dist/commands/inventory.js +6 -7
  180. package/dist/commands/inventory.js.map +1 -1
  181. package/dist/commands/mcp/list-collections.d.ts.map +1 -1
  182. package/dist/commands/mcp/list-collections.js +2 -1
  183. package/dist/commands/mcp/list-collections.js.map +1 -1
  184. package/dist/commands/mcp/serve.d.ts.map +1 -1
  185. package/dist/commands/mcp/serve.js +3 -2
  186. package/dist/commands/mcp/serve.js.map +1 -1
  187. package/dist/commands/okf/index.d.ts +11 -0
  188. package/dist/commands/okf/index.d.ts.map +1 -0
  189. package/dist/commands/okf/index.js +114 -0
  190. package/dist/commands/okf/index.js.map +1 -0
  191. package/dist/commands/okf/validate.d.ts +191 -0
  192. package/dist/commands/okf/validate.d.ts.map +1 -0
  193. package/dist/commands/okf/validate.js +190 -0
  194. package/dist/commands/okf/validate.js.map +1 -0
  195. package/dist/commands/phase-utils.d.ts +30 -13
  196. package/dist/commands/phase-utils.d.ts.map +1 -1
  197. package/dist/commands/phase-utils.js +56 -19
  198. package/dist/commands/phase-utils.js.map +1 -1
  199. package/dist/commands/positional-args.d.ts.map +1 -1
  200. package/dist/commands/positional-args.js +2 -1
  201. package/dist/commands/positional-args.js.map +1 -1
  202. package/dist/commands/rag/clear-command.d.ts.map +1 -1
  203. package/dist/commands/rag/clear-command.js +2 -1
  204. package/dist/commands/rag/clear-command.js.map +1 -1
  205. package/dist/commands/rag/index-command.d.ts +27 -2
  206. package/dist/commands/rag/index-command.d.ts.map +1 -1
  207. package/dist/commands/rag/index-command.js +48 -8
  208. package/dist/commands/rag/index-command.js.map +1 -1
  209. package/dist/commands/rag/index.d.ts.map +1 -1
  210. package/dist/commands/rag/index.js +2 -0
  211. package/dist/commands/rag/index.js.map +1 -1
  212. package/dist/commands/rag/query-command.d.ts.map +1 -1
  213. package/dist/commands/rag/query-command.js +2 -1
  214. package/dist/commands/rag/query-command.js.map +1 -1
  215. package/dist/commands/rag/stats-command.d.ts.map +1 -1
  216. package/dist/commands/rag/stats-command.js +2 -1
  217. package/dist/commands/rag/stats-command.js.map +1 -1
  218. package/dist/commands/resources/check-progress.d.ts +3 -0
  219. package/dist/commands/resources/check-progress.d.ts.map +1 -1
  220. package/dist/commands/resources/check-progress.js +11 -2
  221. package/dist/commands/resources/check-progress.js.map +1 -1
  222. package/dist/commands/resources/check-supervisor.d.ts.map +1 -1
  223. package/dist/commands/resources/check-supervisor.js +14 -7
  224. package/dist/commands/resources/check-supervisor.js.map +1 -1
  225. package/dist/commands/resources/check.d.ts +168 -8
  226. package/dist/commands/resources/check.d.ts.map +1 -1
  227. package/dist/commands/resources/check.js +222 -118
  228. package/dist/commands/resources/check.js.map +1 -1
  229. package/dist/commands/resources/index.d.ts.map +1 -1
  230. package/dist/commands/resources/index.js +64 -29
  231. package/dist/commands/resources/index.js.map +1 -1
  232. package/dist/commands/resources/query.d.ts +18 -1
  233. package/dist/commands/resources/query.d.ts.map +1 -1
  234. package/dist/commands/resources/query.js +33 -12
  235. package/dist/commands/resources/query.js.map +1 -1
  236. package/dist/commands/resources/scan.d.ts.map +1 -1
  237. package/dist/commands/resources/scan.js +4 -8
  238. package/dist/commands/resources/scan.js.map +1 -1
  239. package/dist/commands/resources/validate.d.ts +30 -1
  240. package/dist/commands/resources/validate.d.ts.map +1 -1
  241. package/dist/commands/resources/validate.js +116 -14
  242. package/dist/commands/resources/validate.js.map +1 -1
  243. package/dist/commands/skill/review-checklist.d.ts +3 -2
  244. package/dist/commands/skill/review-checklist.d.ts.map +1 -1
  245. package/dist/commands/skill/review-checklist.js +4 -2
  246. package/dist/commands/skill/review-checklist.js.map +1 -1
  247. package/dist/commands/skill/review.d.ts +247 -0
  248. package/dist/commands/skill/review.d.ts.map +1 -1
  249. package/dist/commands/skill/review.js +98 -61
  250. package/dist/commands/skill/review.js.map +1 -1
  251. package/dist/commands/skill/test/configure.d.ts.map +1 -1
  252. package/dist/commands/skill/test/configure.js +0 -1
  253. package/dist/commands/skill/test/configure.js.map +1 -1
  254. package/dist/commands/skill/test/run.d.ts +12 -6
  255. package/dist/commands/skill/test/run.d.ts.map +1 -1
  256. package/dist/commands/skill/test/run.js +137 -67
  257. package/dist/commands/skill/test/run.js.map +1 -1
  258. package/dist/commands/skills/build.d.ts +69 -2
  259. package/dist/commands/skills/build.d.ts.map +1 -1
  260. package/dist/commands/skills/build.js +128 -42
  261. package/dist/commands/skills/build.js.map +1 -1
  262. package/dist/commands/skills/install.d.ts +2 -1
  263. package/dist/commands/skills/install.d.ts.map +1 -1
  264. package/dist/commands/skills/install.js +20 -30
  265. package/dist/commands/skills/install.js.map +1 -1
  266. package/dist/commands/skills/list.d.ts +2 -1
  267. package/dist/commands/skills/list.d.ts.map +1 -1
  268. package/dist/commands/skills/list.js +44 -26
  269. package/dist/commands/skills/list.js.map +1 -1
  270. package/dist/commands/skills/package.d.ts +1 -1
  271. package/dist/commands/skills/package.d.ts.map +1 -1
  272. package/dist/commands/skills/package.js +6 -8
  273. package/dist/commands/skills/package.js.map +1 -1
  274. package/dist/commands/skills/scope-guard.d.ts.map +1 -1
  275. package/dist/commands/skills/scope-guard.js +2 -4
  276. package/dist/commands/skills/scope-guard.js.map +1 -1
  277. package/dist/commands/skills/shared.d.ts.map +1 -1
  278. package/dist/commands/skills/shared.js +2 -4
  279. package/dist/commands/skills/shared.js.map +1 -1
  280. package/dist/commands/skills/skill-discovery.d.ts +40 -1
  281. package/dist/commands/skills/skill-discovery.d.ts.map +1 -1
  282. package/dist/commands/skills/skill-discovery.js +32 -4
  283. package/dist/commands/skills/skill-discovery.js.map +1 -1
  284. package/dist/commands/skills/source-resolvers.d.ts +15 -0
  285. package/dist/commands/skills/source-resolvers.d.ts.map +1 -1
  286. package/dist/commands/skills/source-resolvers.js +25 -4
  287. package/dist/commands/skills/source-resolvers.js.map +1 -1
  288. package/dist/commands/skills/validate-command.d.ts.map +1 -1
  289. package/dist/commands/skills/validate-command.js +11 -3
  290. package/dist/commands/skills/validate-command.js.map +1 -1
  291. package/dist/commands/skills/validate.d.ts +66 -7
  292. package/dist/commands/skills/validate.d.ts.map +1 -1
  293. package/dist/commands/skills/validate.js +133 -29
  294. package/dist/commands/skills/validate.js.map +1 -1
  295. package/dist/commands/validate.d.ts +1 -1
  296. package/dist/commands/validate.js +8 -6
  297. package/dist/commands/validate.js.map +1 -1
  298. package/dist/commands/verify.d.ts +102 -5
  299. package/dist/commands/verify.d.ts.map +1 -1
  300. package/dist/commands/verify.js +246 -69
  301. package/dist/commands/verify.js.map +1 -1
  302. package/dist/index.d.ts +0 -1
  303. package/dist/index.d.ts.map +1 -1
  304. package/dist/index.js +5 -1
  305. package/dist/index.js.map +1 -1
  306. package/dist/report-schemas.d.ts +45 -0
  307. package/dist/report-schemas.d.ts.map +1 -0
  308. package/dist/report-schemas.js +102 -0
  309. package/dist/report-schemas.js.map +1 -0
  310. package/dist/skill-resolution/packaging-config.d.ts +49 -5
  311. package/dist/skill-resolution/packaging-config.d.ts.map +1 -1
  312. package/dist/skill-resolution/packaging-config.js +59 -19
  313. package/dist/skill-resolution/packaging-config.js.map +1 -1
  314. package/dist/skill-resolution/resolve-skill-reference.d.ts.map +1 -1
  315. package/dist/skill-resolution/resolve-skill-reference.js +8 -6
  316. package/dist/skill-resolution/resolve-skill-reference.js.map +1 -1
  317. package/dist/utils/agent-discovery.d.ts.map +1 -1
  318. package/dist/utils/agent-discovery.js +22 -11
  319. package/dist/utils/agent-discovery.js.map +1 -1
  320. package/dist/utils/agent-runner.d.ts.map +1 -1
  321. package/dist/utils/agent-runner.js +0 -1
  322. package/dist/utils/agent-runner.js.map +1 -1
  323. package/dist/utils/command-error.d.ts +87 -55
  324. package/dist/utils/command-error.d.ts.map +1 -1
  325. package/dist/utils/command-error.js +113 -64
  326. package/dist/utils/command-error.js.map +1 -1
  327. package/dist/utils/config-loader.d.ts +2 -1
  328. package/dist/utils/config-loader.d.ts.map +1 -1
  329. package/dist/utils/config-loader.js +3 -6
  330. package/dist/utils/config-loader.js.map +1 -1
  331. package/dist/utils/context-budget-issues.d.ts +1 -1
  332. package/dist/utils/context-budget-issues.js +1 -1
  333. package/dist/utils/corpus-target.d.ts +5 -27
  334. package/dist/utils/corpus-target.d.ts.map +1 -1
  335. package/dist/utils/corpus-target.js +7 -33
  336. package/dist/utils/corpus-target.js.map +1 -1
  337. package/dist/utils/edge-lens-evaluation.d.ts +83 -0
  338. package/dist/utils/edge-lens-evaluation.d.ts.map +1 -0
  339. package/dist/utils/edge-lens-evaluation.js +110 -0
  340. package/dist/utils/edge-lens-evaluation.js.map +1 -0
  341. package/dist/utils/help-loader.d.ts.map +1 -1
  342. package/dist/utils/help-loader.js +0 -1
  343. package/dist/utils/help-loader.js.map +1 -1
  344. package/dist/utils/issue-rendering.d.ts +2 -2
  345. package/dist/utils/issue-rendering.js +2 -2
  346. package/dist/utils/optional-backend.d.ts +5 -4
  347. package/dist/utils/optional-backend.d.ts.map +1 -1
  348. package/dist/utils/optional-backend.js +7 -5
  349. package/dist/utils/optional-backend.js.map +1 -1
  350. package/dist/utils/output.d.ts +9 -0
  351. package/dist/utils/output.d.ts.map +1 -1
  352. package/dist/utils/output.js +16 -0
  353. package/dist/utils/output.js.map +1 -1
  354. package/dist/utils/package-json.d.ts +24 -0
  355. package/dist/utils/package-json.d.ts.map +1 -0
  356. package/dist/utils/package-json.js +49 -0
  357. package/dist/utils/package-json.js.map +1 -0
  358. package/dist/utils/project-root-policy.d.ts +20 -0
  359. package/dist/utils/project-root-policy.d.ts.map +1 -1
  360. package/dist/utils/project-root-policy.js +30 -0
  361. package/dist/utils/project-root-policy.js.map +1 -1
  362. package/dist/utils/projection-query.d.ts +41 -4
  363. package/dist/utils/projection-query.d.ts.map +1 -1
  364. package/dist/utils/projection-query.js +44 -10
  365. package/dist/utils/projection-query.js.map +1 -1
  366. package/dist/utils/projection-store.d.ts +41 -15
  367. package/dist/utils/projection-store.d.ts.map +1 -1
  368. package/dist/utils/projection-store.js +65 -18
  369. package/dist/utils/projection-store.js.map +1 -1
  370. package/dist/utils/repeatable-option.d.ts +37 -0
  371. package/dist/utils/repeatable-option.d.ts.map +1 -0
  372. package/dist/utils/repeatable-option.js +39 -0
  373. package/dist/utils/repeatable-option.js.map +1 -0
  374. package/dist/utils/resource-loader.d.ts +4 -3
  375. package/dist/utils/resource-loader.d.ts.map +1 -1
  376. package/dist/utils/resource-loader.js +63 -32
  377. package/dist/utils/resource-loader.js.map +1 -1
  378. package/dist/utils/root-argv.d.ts +53 -0
  379. package/dist/utils/root-argv.d.ts.map +1 -0
  380. package/dist/utils/root-argv.js +215 -0
  381. package/dist/utils/root-argv.js.map +1 -0
  382. package/dist/utils/run-integrity.d.ts +95 -0
  383. package/dist/utils/run-integrity.d.ts.map +1 -0
  384. package/dist/utils/run-integrity.js +102 -0
  385. package/dist/utils/run-integrity.js.map +1 -0
  386. package/dist/utils/skill-packaging-config.d.ts +27 -0
  387. package/dist/utils/skill-packaging-config.d.ts.map +1 -1
  388. package/dist/utils/skill-packaging-config.js +30 -0
  389. package/dist/utils/skill-packaging-config.js.map +1 -1
  390. package/dist/utils/sqlite-experimental-warning.d.ts +69 -0
  391. package/dist/utils/sqlite-experimental-warning.d.ts.map +1 -0
  392. package/dist/utils/sqlite-experimental-warning.js +144 -0
  393. package/dist/utils/sqlite-experimental-warning.js.map +1 -0
  394. package/dist/utils/url-redact.d.ts.map +1 -1
  395. package/dist/utils/url-redact.js +4 -6
  396. package/dist/utils/url-redact.js.map +1 -1
  397. package/dist/utils/user-context-scanner.d.ts +8 -0
  398. package/dist/utils/user-context-scanner.d.ts.map +1 -1
  399. package/dist/utils/user-context-scanner.js +4 -2
  400. package/dist/utils/user-context-scanner.js.map +1 -1
  401. package/dist/utils/validate-help-files.d.ts.map +1 -1
  402. package/dist/utils/validate-help-files.js +12 -6
  403. package/dist/utils/validate-help-files.js.map +1 -1
  404. package/dist/utils/vat-bin-path.d.ts.map +1 -1
  405. package/dist/utils/vat-bin-path.js +0 -1
  406. package/dist/utils/vat-bin-path.js.map +1 -1
  407. package/dist/version.d.ts.map +1 -1
  408. package/dist/version.js +1 -3
  409. package/dist/version.js.map +1 -1
  410. package/docs/audit.md +141 -37
  411. package/docs/doctor.md +7 -6
  412. package/docs/index.md +19 -11
  413. package/docs/rag.md +3 -2
  414. package/docs/resources.md +5 -2
  415. package/docs/skill-test.md +10 -9
  416. package/docs/skills.md +53 -69
  417. package/package.json +24 -29
  418. package/schemas/ard-emit.json +149 -0
  419. package/schemas/claude-budget.json +197 -0
  420. package/schemas/okf-validate.json +170 -0
  421. package/schemas/resources-check.json +186 -0
  422. package/schemas/skill-review.json +230 -0
@@ -47,6 +47,19 @@
47
47
  * and exited 0. `requireDeclaredCheck` refuses it before the crawl, naming the
48
48
  * declared set. A gate that cannot fail is worse than no gate.
49
49
  *
50
+ * ## 🔑 NO checks at all is the same refusal, and the one that shipped longest
51
+ *
52
+ * A project with a valid config and no `checks:` block reported `status:
53
+ * success`, `checksRun: 0`, exit 0 — so DELETING the `checks:` block silently
54
+ * deleted the gate and nothing anywhere said so. A gate that checked nothing is
55
+ * indistinguishable from a gate that was removed, and the entire argument for
56
+ * having these gates is that you never let those two look alike. It is now a
57
+ * `RESOURCE_CHECK_BROKEN` error like the other three — see
58
+ * {@link noCheckRanFinding}, and `RUN_INTEGRITY_CODE` for why one code
59
+ * covers all four. Declaring no checks is a legitimate CHOICE; running a gate
60
+ * that can only pass is not, so the remedy is to take the command out of the
61
+ * pipeline.
62
+ *
50
63
  * ## 🔑 SQL is the surface a user OPTED IN to, so no BUILT-IN check may be SQL
51
64
  *
52
65
  * Every check this verb runs is adopter-declared: {@link checkCommand} reads
@@ -150,18 +163,102 @@
150
163
  */
151
164
  import { performance } from 'node:perf_hooks';
152
165
  import { issuesFromCheckRows } from '@vibe-agent-toolkit/resources';
153
- import { calculateValidationStatus, countBySeverity, CUSTOM_CHECK_CODE_PREFIX, isCustomCheckCode, } from '@vibe-agent-toolkit/schema';
166
+ import { buildReport, CUSTOM_CHECK_CODE_PREFIX, ExitCode, isCustomCheckCode, reportSchema, toFindings, } from '@vibe-agent-toolkit/schema';
154
167
  import { safePath } from '@vibe-agent-toolkit/utils';
155
- import { handleCommandError } from '../../utils/command-error.js';
168
+ import { z } from 'zod';
169
+ import { handleReportCommandError } from '../../utils/command-error.js';
156
170
  import { loadConfigCached } from '../../utils/config-loader.js';
157
171
  import { formatDurationSecs } from '../../utils/duration.js';
158
172
  import { resolveIssueSeverity } from '../../utils/issue-severity.js';
159
173
  import { createLogger } from '../../utils/logger.js';
160
- import { writeJsonOutput, writeStdoutSync, writeYamlOutput } from '../../utils/output.js';
161
- import { projectRootOrLoudCwd, projectRootOrNull } from '../../utils/project-root-policy.js';
174
+ import { writeStdoutSync, writeStructuredOutput } from '../../utils/output.js';
175
+ import { assertDirectoryArgument, projectRootOrLoudCwd, projectRootOrNull } from '../../utils/project-root-policy.js';
162
176
  import { withQueriedProjection, } from '../../utils/projection-query.js';
177
+ import { nothingCheckedFinding, runIntegrityFinding } from '../../utils/run-integrity.js';
163
178
  import { createProgressWriter, parseProgressLog, unitInFlight, } from './check-progress.js';
164
179
  import { parseBudgetSeconds, requireSupervisableFlags, runsInThisProcess, superviseCheck, withProgressLog, } from './check-supervisor.js';
180
+ /** What one rule cost, as the document publishes it. */
181
+ const PublishedCheckCostSchema = z.object({
182
+ name: z.string(),
183
+ /** Three significant figures, so a 0.4 ms rule serializes as 0.0004 rather than a zero that reads as "not measured". */
184
+ durationSecs: z.number().nonnegative(),
185
+ /** Rows the statement returned. ABSENT, never 0, when the statement did not complete. */
186
+ rows: z.number().int().nonnegative().optional(),
187
+ broken: z.literal(true).optional(),
188
+ }).strict();
189
+ /**
190
+ * What the check run reports beyond its findings.
191
+ *
192
+ * The envelope's `examined` is `membersEnumerated` — what the rules ran
193
+ * AGAINST. `checksRun` is the other denominator, the number of RULES, and both
194
+ * are needed: zero findings is the pass condition and either number at zero
195
+ * makes that pass vacuous.
196
+ */
197
+ export const CheckDataSchema = z.object({
198
+ root: z.string(),
199
+ /** Whether the projection was derived this run or read from the store. */
200
+ population: z.enum(['derived', 'store']),
201
+ /** What the population cost — charged to no check, see `CheckCost`. */
202
+ populationSecs: z.number().nonnegative(),
203
+ /** What evaluating the lens cost, paid before the first statement ran. */
204
+ lensSecs: z.number().nonnegative(),
205
+ /** The number of rules that EXECUTED. Derived from `checks`, never carried beside it. */
206
+ checksRun: z.number().int().nonnegative(),
207
+ /** What each rule cost, directly under the denominator it is the breakdown of. */
208
+ checks: z.array(PublishedCheckCostSchema),
209
+ }).strict();
210
+ /** The document this command publishes. */
211
+ export const CHECK_REPORT_SCHEMA = reportSchema(CheckDataSchema);
212
+ /**
213
+ * The refusal for a run in which NO check executed.
214
+ *
215
+ * 🚨 **The defect this closes shipped, and it is the shape by which a gate gets
216
+ * silently deleted.** A project with a valid `vibe-agent-toolkit.config.yaml`
217
+ * and no `checks:` block produced `status: success`, `checksRun: 0`, exit 0 — a
218
+ * passing gate document. Delete the `checks:` block and the CI step keeps going
219
+ * green forever; the only thing that said otherwise was a stderr warning nothing
220
+ * parses. **A gate that checked nothing is indistinguishable from a gate that
221
+ * was removed, and the whole argument for having these gates is that you never
222
+ * let those two look alike.**
223
+ *
224
+ * It is the third instance of the shape in this release — `vat claude budget`
225
+ * answered `success` on a path that matched no working location, and the repo's
226
+ * audit quality gate had a green path over zero parsed findings — so it is
227
+ * closed the way those were rather than a third way: a non-overridable
228
+ * `RUN_INTEGRITY_CODE` at `error`, derived in the report builder.
229
+ *
230
+ * 🔑 **Derived in {@link buildCheckOutputData}, not asserted by the handler.**
231
+ * That placement is the guarantee. The builder is where `checksRun` is computed
232
+ * and every lane's document goes through it — the completed run, the recovered
233
+ * document of an interrupted one, the child a supervisor forwards — so "the
234
+ * denominator is zero and the status is clean" is unrepresentable by
235
+ * construction, and a fourth lane added later inherits the refusal instead of
236
+ * having to remember it. It also lands after `resolveIssueSeverity`, which is
237
+ * belt and braces: the code is already unreachable from a `severity` key.
238
+ *
239
+ * The mechanism — ask the DENOMINATOR never the config, one report per
240
+ * situation, stand down behind an existing run-integrity finding — is the shared
241
+ * {@link nothingCheckedFinding}; this wrapper owns only the message. The
242
+ * stand-down matters here for an interrupted run, which recovers zero costs when
243
+ * the kill landed before the first statement finished and already carries
244
+ * {@link interruptedRunFinding}, the more specific of the two claims. A `--check`
245
+ * filter that matched nothing is refused earlier by {@link requireDeclaredCheck},
246
+ * and must stay refused even if that guard is ever widened.
247
+ *
248
+ * @param costs - One record per check that EXECUTED; its length is `checksRun`
249
+ * @param issues - What the run already found, so an existing run-integrity
250
+ * report is not duplicated
251
+ * @returns The finding, or nothing when at least one check ran
252
+ */
253
+ function noCheckRanFinding(costs, issues) {
254
+ return nothingCheckedFinding(costs.length, issues, () => 'No check ran, so this document is not a verdict: a gate that checked nothing'
255
+ + ' produces the same report as a gate that was removed, and this run cannot tell'
256
+ + ' you which happened.'
257
+ + ' Declare checks under `resources.checks` in vibe-agent-toolkit.config.yaml —'
258
+ + ' each is a description plus one SQL statement selecting the rows that VIOLATE it —'
259
+ + ' and if this project deliberately has none, take `vat resources check` out of the'
260
+ + ' pipeline rather than leaving a step that can only pass.');
261
+ }
165
262
  /**
166
263
  * Build the check report.
167
264
  *
@@ -177,74 +274,71 @@ import { parseBudgetSeconds, requireSupervisableFlags, runsInThisProcess, superv
177
274
  * account for it cannot disagree.
178
275
  *
179
276
  * 🚨 `populationSecs` and the per-check `durationSecs` do not overlap and do not
180
- * sum to `durationSecs`. The population is paid once and shared by every check;
277
+ * sum to `durationMs`. The population is paid once and shared by every check;
181
278
  * see {@link CheckCost} for why it is charged to none of them.
182
279
  *
280
+ * 🔑 A denominator of zero is refused HERE rather than published — see
281
+ * {@link noCheckRanFinding}. This is the one function every lane's document
282
+ * passes through, so deriving the refusal in it is what makes "checked nothing,
283
+ * status clean" unrepresentable rather than merely unwritten.
284
+ *
285
+ * 🪤 The findings are NOT run through `relativizePathEntries`. Every other
286
+ * payload builder re-bases here because its producer keeps absolute paths
287
+ * internally; these arrive project-relative instead, and re-basing an
288
+ * already-relative path would resolve it against the wrong base and silently
289
+ * corrupt it. The guarantee is `locationOf` in `sql-checks.ts` — the one place
290
+ * a projection column becomes a finding's `location`, and which refuses an
291
+ * absolute or backslashed value there. Nothing on this path parses findings
292
+ * through the schema at runtime, and do not "fix" that by parsing at this
293
+ * boundary: it would convert a slip in `locationOf` from "this finding loses
294
+ * its anchor" into "the whole run throws", which is strictly worse for a gate.
295
+ *
183
296
  * @param input - The findings and the provenance of the run behind them
184
297
  * @returns The document to serialize
185
298
  */
186
299
  export function buildCheckOutputData(input) {
187
- const issues = [...input.issues];
188
- return {
189
- status: calculateValidationStatus(issues),
190
- root: input.root,
191
- population: input.population,
192
- // Beside the origin, because a `population: store` a reader cannot price is
193
- // a label taken on faith. Charged to no check — see {@link CheckCost}.
194
- populationSecs: formatDurationSecs(input.populationMs),
195
- // The denominator. See above: without it an empty findings list is
196
- // ambiguous. Derived from `checks`, never carried beside it.
197
- checksRun: input.costs.length,
300
+ const issues = [...noCheckRanFinding(input.costs, input.issues), ...input.issues];
301
+ return buildReport({
198
302
  // The OTHER denominator, and the one whose absence shipped a green gate over
199
303
  // an empty repository. `checksRun` counts rules; this counts what they ran
200
- // against. Both are needed, because zero findings is the pass condition and
201
- // either number at zero makes that pass vacuous.
202
- membersEnumerated: input.membersEnumerated,
203
- issueCounts: countBySeverity(issues),
204
- durationSecs: formatDurationSecs(input.durationMs),
205
- // What each rule cost, directly under the total it is a breakdown of. A SQL
206
- // surface is an unbounded cost — a project can declare a statement that
207
- // scans every row of every table — and a single total attributes nothing:
208
- // ten seconds is one expensive rule, a slow population, or forty cheap
209
- // rules, and only this list tells them apart.
210
- //
211
- // 🪤 `rows` and `broken` are spread conditionally rather than defaulted.
212
- // `rows: 0` on a statement that never returned would read as a clean pass,
213
- // which is the exact confusion `RESOURCE_CHECK_BROKEN` exists to prevent —
214
- // so a check that threw publishes no row count at all.
215
- checks: input.costs.map((cost) => ({
216
- name: cost.name,
217
- // Three significant figures, so a 0.4 ms rule serializes as 0.0004 rather
218
- // than rounding to a zero that reads as "not measured".
219
- durationSecs: formatDurationSecs(cost.durationMs),
220
- ...(cost.rows === undefined ? {} : { rows: cost.rows }),
221
- ...(cost.broken === undefined ? {} : { broken: cost.broken }),
222
- })),
223
- // 🪤 NOT run through `relativizePathEntries`. Every other payload builder
224
- // re-bases here because its producer keeps absolute paths internally; these
225
- // arrive project-relative instead, and re-basing an already-relative path
226
- // would resolve it against the wrong base and silently corrupt it.
227
- //
228
- // 🪤 The guarantee is `locationOf` in `sql-checks.ts` — the one place a
229
- // projection column becomes a finding's `location`, and which refuses an
230
- // absolute or backslashed value there. It is NOT the type: nothing on this
231
- // path parses issues through `ValidationIssueSchema` (this module imports the
232
- // `ValidationIssue` TYPE only, and the schema's sole consumers are in
233
- // `packages/schema/test/`), so the refinement is documentation here rather
234
- // than enforcement. Do not "fix" that by parsing at this boundary: it would
235
- // convert a slip in `locationOf` from "this finding loses its anchor" into
236
- // "the whole run throws", which is strictly worse for a gate.
237
- //
238
- // A finding may also carry no path at all (an aggregate check has no file to
239
- // name), which `PathEntry` cannot represent — one more reason this list is
240
- // not that shape.
241
- issues: issues.map((issue) => ({
242
- code: issue.code,
243
- severity: issue.severity,
244
- message: issue.message,
245
- ...(issue.location === undefined ? {} : { path: issue.location }),
246
- })),
247
- };
304
+ // against.
305
+ examined: input.membersEnumerated,
306
+ findings: toFindings(issues),
307
+ durationMs: input.durationMs,
308
+ data: {
309
+ root: input.root,
310
+ population: input.population,
311
+ // Beside the origin, because a `population: store` a reader cannot price is
312
+ // a label taken on faith. Charged to no check — see {@link CheckCost}.
313
+ populationSecs: formatDurationSecs(input.populationMs),
314
+ // Published here too, and not only by `query`, because this verb pays it
315
+ // identically — the lens is evaluated before the first statement runs. A
316
+ // document that priced the population but not the lens would attribute the
317
+ // lens's cost to whichever rule the reader happened to be looking at, which
318
+ // is the same defect `populationSecs` exists to prevent.
319
+ lensSecs: formatDurationSecs(input.lensMs),
320
+ // The denominator of rules. Derived from `checks`, never carried beside it.
321
+ checksRun: input.costs.length,
322
+ // What each rule cost, directly under the denominator it is a breakdown
323
+ // of. A SQL surface is an unbounded cost — a project can declare a
324
+ // statement that scans every row of every table — and a single total
325
+ // attributes nothing: ten seconds is one expensive rule, a slow
326
+ // population, or forty cheap rules, and only this list tells them apart.
327
+ //
328
+ // 🪤 `rows` and `broken` are spread conditionally rather than defaulted.
329
+ // `rows: 0` on a statement that never returned would read as a clean pass,
330
+ // which is the exact confusion `RESOURCE_CHECK_BROKEN` exists to prevent —
331
+ // so a check that threw publishes no row count at all.
332
+ checks: input.costs.map((cost) => ({
333
+ name: cost.name,
334
+ // Three significant figures, so a 0.4 ms rule serializes as 0.0004 rather
335
+ // than rounding to a zero that reads as "not measured".
336
+ durationSecs: formatDurationSecs(cost.durationMs),
337
+ ...(cost.rows === undefined ? {} : { rows: cost.rows }),
338
+ ...(cost.broken === undefined ? {} : { broken: cost.broken }),
339
+ })),
340
+ },
341
+ });
248
342
  }
249
343
  /**
250
344
  * Run a thunk between two readings of the clock, and report both.
@@ -312,12 +406,8 @@ function timed(now, run) {
312
406
  * @returns The run-integrity finding
313
407
  */
314
408
  function brokenCheckFinding(name, error) {
315
- return {
316
- code: 'RESOURCE_CHECK_BROKEN',
317
- severity: 'error',
318
- message: `The check "${name}" could not run, so it is asserting nothing: `
319
- + (error instanceof Error ? error.message : String(error)),
320
- };
409
+ return runIntegrityFinding(`The check "${name}" could not run, so it is asserting nothing: `
410
+ + (error instanceof Error ? error.message : String(error)));
321
411
  }
322
412
  /**
323
413
  * Run every declared check, collect its findings, and price it.
@@ -460,9 +550,11 @@ export function requireDeclaredCheck(checks, only) {
460
550
  * as the "no checks are declared" warning in {@link checkCommand}.
461
551
  *
462
552
  * 📌 The registry half of the key space needs no equivalent: a misspelled
463
- * REGISTRY code is already refused by `SeverityOverrideCodeSchema`'s enum
464
- * branch. Only the open `CUSTOM:` namespace can name something that does not
465
- * exist.
553
+ * REGISTRY code is already refused by `SeverityOverrideCodeSchema`, whose
554
+ * `SEVERITY_KEY_PATTERN` alternates every registry code name with the `CUSTOM:`
555
+ * namespace — so a key has to BE one of the shipped codes to match that half.
556
+ * Only the open `CUSTOM:` half can name something that does not exist, because
557
+ * only it matches on shape rather than on identity.
466
558
  *
467
559
  * @param checks - The project's `resources.checks`
468
560
  * @param validation - The project's `resources.validation`, or undefined
@@ -506,18 +598,16 @@ export function warnUndeclaredOverrides(checks, validation, logger) {
506
598
  * otherwise populates as empty and reports success". That guard covers blob
507
599
  * refusals only; this one covers the extent.
508
600
  *
509
- * 🪤 **Only when checks actually RAN.** Declaring no checks is a legitimate
510
- * state that {@link checkCommand} answers with a loud stderr warning and a
511
- * deliberate exit 0. Firing here as well would turn that legitimate state into
512
- * an error and hand the operator two reports about one situation.
601
+ * 🪤 **Only when checks actually RAN.** A run with no rules at all is refused
602
+ * too — it is the same class one level further out — but by
603
+ * {@link noCheckRanFinding}, whose message is about the missing RULES rather
604
+ * than about the missing rows. Firing both would hand the operator two reports
605
+ * about one situation, and this is the less specific of the two: "the 0 checks
606
+ * that ran asserted nothing over 0 members" sends them to inspect a
607
+ * `.gitignore` when what they are missing is a `checks:` block.
513
608
  *
514
- * 🪤 **`RESOURCE_CHECK_BROKEN`, not a code of its own.** It is the same
515
- * run-integrity claim as a statement that would not compile — *these assertions
516
- * did not execute meaningfully, so the green means nothing* — and it needs the
517
- * identical non-overridability, which `ValidationConfigSchema` grants by refusing
518
- * that code as a `severity` key. A sibling code would buy a consumer nothing the
519
- * message does not already say, while adding a second thing an adopter's CI has
520
- * to know to look for.
609
+ * 🪤 **`RUN_INTEGRITY_CODE`, not a code of its own** — see that constant
610
+ * for why all four refusals in this verb share one.
521
611
  *
522
612
  * @param checksRun - How many checks EXECUTED. Under `--check` that is fewer
523
613
  * than the project declares, which is why the message says "ran" and not
@@ -528,17 +618,13 @@ export function warnUndeclaredOverrides(checks, validation, logger) {
528
618
  function emptyCorpusFinding(checksRun, membersEnumerated) {
529
619
  if (checksRun === 0 || membersEnumerated > 0)
530
620
  return [];
531
- return [{
532
- code: 'RESOURCE_CHECK_BROKEN',
533
- severity: 'error',
534
- message: `The projection enumerated 0 members, so the ${checksRun} check(s) that ran`
535
- + ' asserted nothing: there were no rows for any statement to select and'
536
- + ' zero findings means only that the corpus was empty.'
537
- + ' Look at `.gitignore` (one broad pattern declines every file), at whether'
538
- + ' the checkout is complete rather than shallow or sparse, and at whether'
539
- + ' `root` in this report is the directory you meant.'
540
- + ' `vat resources scan` over the same path lists what an enumeration finds.',
541
- }];
621
+ return [runIntegrityFinding(`The projection enumerated 0 members, so the ${checksRun} check(s) that ran`
622
+ + ' asserted nothing: there were no rows for any statement to select and'
623
+ + ' zero findings means only that the corpus was empty.'
624
+ + ' Look at `.gitignore` (one broad pattern declines every file), at whether'
625
+ + ' the checkout is complete rather than shallow or sparse, and at whether'
626
+ + ' `root` in this report is the directory you meant.'
627
+ + ' `vat resources scan` over the same path lists what an enumeration finds.')];
542
628
  }
543
629
  /**
544
630
  * Where the run was when it stopped, as a phrase.
@@ -793,12 +879,16 @@ const INCOMPLETE_NOTICE = ' ⚠️ The checks listed under `checks` DID complete
793
879
  /**
794
880
  * The finding for a run that was interrupted, however it was interrupted.
795
881
  *
796
- * 🪤 **`RESOURCE_CHECK_BROKEN`, and for the reason {@link emptyCorpusFinding}
797
- * gives.** It is the same run-integrity claim — *these assertions did not
798
- * execute, so the green means nothing* — and it needs the identical
799
- * non-overridability, which `ValidationConfigSchema` grants by refusing that
800
- * code as a `severity` key. An interrupted run must never be silenceable by the
801
- * config of the very project whose SQL hung.
882
+ * 🪤 **`RUN_INTEGRITY_CODE`, for the reason that constant gives.** An
883
+ * interrupted run must never be silenceable by the config of the very project
884
+ * whose SQL hung.
885
+ *
886
+ * 🔑 **This is the MORE SPECIFIC of two claims that can be true at once.** A run
887
+ * killed before its first statement completed recovers zero costs, which
888
+ * {@link noCheckRanFinding} also refuses — so that one stands down when this
889
+ * one is present. The dedupe there is order-independent (`issues.some(code ===
890
+ * RUN_INTEGRITY_CODE)`), so this finding only has to be IN the issue list of an
891
+ * interrupted document, not first in it.
802
892
  *
803
893
  * @param inFlight - What the run was doing when the log stopped growing
804
894
  * @param ending - Which way the run ended, and what the operator can do
@@ -811,7 +901,7 @@ function interruptedRunFinding(inFlight, ending) {
811
901
  : `This run DIED before it finished: ${deathPhrase(ending.death)} ${where}, so the checks`
812
902
  + ' after it never executed and this document is not a verdict.'
813
903
  + deathRemedy(ending.death);
814
- return { code: 'RESOURCE_CHECK_BROKEN', severity: 'error', message: message + INCOMPLETE_NOTICE };
904
+ return runIntegrityFinding(message + INCOMPLETE_NOTICE);
815
905
  }
816
906
  /**
817
907
  * What a WATCHDOG kill means, which depends entirely on what was in flight.
@@ -896,7 +986,7 @@ function noPopulationMessage(ending) {
896
986
  * honest value — and inventing `membersEnumerated: 0` would be worse than a
897
987
  * blank, because that value already MEANS "this gate ran over an empty corpus",
898
988
  * which is a different and wrong claim. The throw becomes an operator error
899
- * (exit 2) through the same `handleCommandError` path everything else here uses.
989
+ * (exit 2) through the same `handleReportCommandError` path everything else here uses.
900
990
  *
901
991
  * @param options - The wreckage
902
992
  * @param options.entries - What `parseProgressLog` recovered
@@ -916,6 +1006,7 @@ export function buildInterruptedCheckInput(options) {
916
1006
  durationMs,
917
1007
  population: population.population,
918
1008
  populationMs: population.populationMs,
1009
+ lensMs: population.lensMs,
919
1010
  membersEnumerated: population.membersEnumerated,
920
1011
  issues: [interruptedRunFinding(unitInFlight(entries), ending)],
921
1012
  // 🪤 Rebuilt field by field rather than passed through. The log's check
@@ -1007,12 +1098,7 @@ export function runDeclaredChecks(options) {
1007
1098
  * @param format - `json`, or anything else for YAML
1008
1099
  */
1009
1100
  function emitCheckDocument(payload, format) {
1010
- if (format === 'json') {
1011
- writeJsonOutput(payload);
1012
- }
1013
- else {
1014
- writeYamlOutput(payload);
1015
- }
1101
+ writeStructuredOutput(payload, format);
1016
1102
  }
1017
1103
  /**
1018
1104
  * The child's argv — this very command, plus the hidden flag that stops it
@@ -1108,13 +1194,24 @@ async function superviseCheckRun(options) {
1108
1194
  * bound enforced from outside itself, and a hang becomes a bounded failure
1109
1195
  * instead of a job that burns its runner minutes and reports nothing.
1110
1196
  *
1111
- * @param pathArg - The corpus root, or omitted for the current directory
1197
+ * ## `[path]` locates the project; a `WHERE` clause is the only scope a check has
1198
+ *
1199
+ * Same contract as `vat resources query`, for the same reason (see
1200
+ * `queryCommand`): the projection is the whole tracked tree, so the argument is
1201
+ * where root discovery starts and nothing more. A locator that names no
1202
+ * directory is refused HERE, before the fork below — the parent would otherwise
1203
+ * resolve it silently to the cwd's project and spawn a child to run every check
1204
+ * over a tree the operator did not name, at exit 0.
1205
+ *
1206
+ * @param pathArg - Where to look for the project, or omitted for the current directory
1112
1207
  * @param options - Parsed command-line options
1113
1208
  */
1114
1209
  export async function checkCommand(pathArg, options) {
1115
1210
  const logger = createLogger({ debug: options.debug ?? false });
1116
1211
  const startTime = Date.now();
1117
1212
  try {
1213
+ if (pathArg !== undefined)
1214
+ assertDirectoryArgument(pathArg);
1118
1215
  const budgetSecs = parseBudgetSeconds(options.budget);
1119
1216
  // Before anything is spawned: a budget the fork below would silently ignore
1120
1217
  // is an operator error, not a bound.
@@ -1144,17 +1241,23 @@ export async function checkCommand(pathArg, options) {
1144
1241
  process.exit(ending.code);
1145
1242
  }
1146
1243
  emitCheckDocument(ending.payload, options.format);
1147
- // ⛔ Never 0. A run that did not finish — killed by the watchdog OR dead of
1148
- // its own memory — must not look like a pass.
1149
- process.exit(1);
1244
+ // ⛔ Never OK. A run that did not finish — killed by the watchdog OR dead of
1245
+ // its own memory — must not look like a pass. FINDINGS, because the
1246
+ // document it just published says `status: findings` with the killed
1247
+ // check named as one: the checks that completed are kept, and the exit
1248
+ // code follows the document, as everywhere else.
1249
+ process.exit(ExitCode.FINDINGS);
1150
1250
  }
1151
1251
  const projectRoot = projectRootOrLoudCwd(pathArg ?? process.cwd(), logger);
1152
1252
  const config = loadConfigCached(projectRoot);
1153
1253
  const checks = config?.resources?.checks;
1154
1254
  if (checks === undefined || Object.keys(checks).length === 0) {
1155
- // Loud, and exit 0. Declaring no checks is a legitimate state — most
1156
- // projects have none — but a run that silently printed a passing report
1157
- // would let a config typo read as a green gate forever.
1255
+ // 🪤 Stderr only, and it decides NOTHING. The refusal lives in
1256
+ // {@link noCheckRanFinding}, on the document, because the document is
1257
+ // what the exit code is computed from and what CI parses; this warning is
1258
+ // the same statement addressed to the human, and the two are one statement
1259
+ // per audience. It used to be the ONLY channel, and the document said the
1260
+ // opposite — `status: success`, exit 0 — which is the half that matters.
1158
1261
  logger.warn('No checks are declared. Add them under `resources.checks` in'
1159
1262
  + ' vibe-agent-toolkit.config.yaml; each is a description plus one SQL'
1160
1263
  + ' statement selecting the rows that VIOLATE it.');
@@ -1181,10 +1284,10 @@ export async function checkCommand(pathArg, options) {
1181
1284
  durationMs: Date.now() - startTime,
1182
1285
  });
1183
1286
  emitCheckDocument(payload, options.format);
1184
- process.exit(payload['status'] === 'error' ? 1 : 0);
1287
+ process.exit(payload.summary.errors > 0 ? ExitCode.FINDINGS : ExitCode.OK);
1185
1288
  }
1186
1289
  catch (error) {
1187
- handleCommandError(error, logger, startTime, 'Check', options.format);
1290
+ handleReportCommandError(error, logger, startTime, 'Check', options.format);
1188
1291
  }
1189
1292
  }
1190
1293
  /**
@@ -1223,6 +1326,7 @@ async function runOutcome(options) {
1223
1326
  kind: 'population',
1224
1327
  population: provenance.population,
1225
1328
  populationMs: provenance.populationMs,
1329
+ lensMs: provenance.lensMs,
1226
1330
  membersEnumerated: extent.membersEnumerated,
1227
1331
  });
1228
1332
  // 🪤 `checks-complete` is NOT emitted here. It used to be, and that put
@@ -1 +1 @@
1
- {"version":3,"file":"check.js","sourceRoot":"","sources":["../../../src/commands/resources/check.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,MAAM,EAAE,EAAE;QACzE,4EAA4E;QAC5E,2EAA2E;QAC3E,oEAAoE;QACpE,2EAA2E;QAC3E,6EAA6E;QAC7E,iCAAiC;QACjC,UAAU,EAAE,CAAC;YACX,IAAI,EAAE,YAAY;YAClB,UAAU,EAAE,UAAU,CAAC,UAAU;YACjC,YAAY,EAAE,UAAU,CAAC,YAAY;YACrC,MAAM,EAAE,UAAU,CAAC,MAAM;YACzB,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;SAC5C,CAAC,CAAC;QACH,wEAAwE;QACxE,0EAA0E;QAC1E,0EAA0E;QAC1E,6DAA6D;QAC7D,0EAA0E;QAC1E,MAAM,GAAG,GAAG,iBAAiB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;QACxF,OAAO,EAAE,GAAG,GAAG,EAAE,GAAG,UAAU,EAAE,GAAG,MAAM,EAAE,CAAC;IAC9C,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/resources/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AA8B5C,wBAAgB,sBAAsB,IAAI,OAAO,CAkgBhD;AAED,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/resources/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAgC5C,wBAAgB,sBAAsB,IAAI,OAAO,CAwiBhD;AAED,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC"}