@vibe-agent-toolkit/cli 0.2.0-rc.1 → 0.2.0-rc.10

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 (504) hide show
  1. package/README.md +4 -5
  2. package/dist/bin/vat +95 -28
  3. package/dist/bin/vat.js +95 -28
  4. package/dist/bin/vat.js.map +1 -1
  5. package/dist/bin.js +115 -76
  6. package/dist/bin.js.map +1 -1
  7. package/dist/command-loaders.d.ts +44 -0
  8. package/dist/command-loaders.d.ts.map +1 -0
  9. package/dist/command-loaders.js +60 -0
  10. package/dist/command-loaders.js.map +1 -0
  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/index.js +1 -1
  18. package/dist/commands/agent/install-path.d.ts +36 -0
  19. package/dist/commands/agent/install-path.d.ts.map +1 -0
  20. package/dist/commands/agent/install-path.js +44 -0
  21. package/dist/commands/agent/install-path.js.map +1 -0
  22. package/dist/commands/agent/install.d.ts.map +1 -1
  23. package/dist/commands/agent/install.js +66 -13
  24. package/dist/commands/agent/install.js.map +1 -1
  25. package/dist/commands/agent/installed.d.ts.map +1 -1
  26. package/dist/commands/agent/installed.js +22 -12
  27. package/dist/commands/agent/installed.js.map +1 -1
  28. package/dist/commands/agent/list.d.ts.map +1 -1
  29. package/dist/commands/agent/list.js +2 -1
  30. package/dist/commands/agent/list.js.map +1 -1
  31. package/dist/commands/agent/run.d.ts.map +1 -1
  32. package/dist/commands/agent/run.js +2 -1
  33. package/dist/commands/agent/run.js.map +1 -1
  34. package/dist/commands/agent/uninstall.d.ts.map +1 -1
  35. package/dist/commands/agent/uninstall.js +13 -6
  36. package/dist/commands/agent/uninstall.js.map +1 -1
  37. package/dist/commands/agent/validate.d.ts.map +1 -1
  38. package/dist/commands/agent/validate.js +3 -2
  39. package/dist/commands/agent/validate.js.map +1 -1
  40. package/dist/commands/ard/emit.d.ts +153 -0
  41. package/dist/commands/ard/emit.d.ts.map +1 -0
  42. package/dist/commands/ard/emit.js +276 -0
  43. package/dist/commands/ard/emit.js.map +1 -0
  44. package/dist/commands/ard/index.d.ts +12 -0
  45. package/dist/commands/ard/index.d.ts.map +1 -0
  46. package/dist/commands/ard/index.js +80 -0
  47. package/dist/commands/ard/index.js.map +1 -0
  48. package/dist/commands/ard/surfaces.d.ts +56 -0
  49. package/dist/commands/ard/surfaces.d.ts.map +1 -0
  50. package/dist/commands/ard/surfaces.js +150 -0
  51. package/dist/commands/ard/surfaces.js.map +1 -0
  52. package/dist/commands/audit/distributed-tree.d.ts +2 -2
  53. package/dist/commands/audit/distributed-tree.d.ts.map +1 -1
  54. package/dist/commands/audit/distributed-tree.js +11 -7
  55. package/dist/commands/audit/distributed-tree.js.map +1 -1
  56. package/dist/commands/audit/git-url-clone.d.ts +1 -1
  57. package/dist/commands/audit/git-url-clone.d.ts.map +1 -1
  58. package/dist/commands/audit/git-url-clone.js.map +1 -1
  59. package/dist/commands/audit/hierarchical-output.d.ts +1 -1
  60. package/dist/commands/audit/hierarchical-output.d.ts.map +1 -1
  61. package/dist/commands/audit/hierarchical-output.js +1 -1
  62. package/dist/commands/audit/hierarchical-output.js.map +1 -1
  63. package/dist/commands/audit/provenance.d.ts.map +1 -1
  64. package/dist/commands/audit/provenance.js +4 -3
  65. package/dist/commands/audit/provenance.js.map +1 -1
  66. package/dist/commands/audit/scan-population.d.ts +158 -0
  67. package/dist/commands/audit/scan-population.d.ts.map +1 -0
  68. package/dist/commands/audit/scan-population.js +292 -0
  69. package/dist/commands/audit/scan-population.js.map +1 -0
  70. package/dist/commands/audit-settings.d.ts.map +1 -1
  71. package/dist/commands/audit-settings.js +6 -5
  72. package/dist/commands/audit-settings.js.map +1 -1
  73. package/dist/commands/audit.d.ts +98 -8
  74. package/dist/commands/audit.d.ts.map +1 -1
  75. package/dist/commands/audit.js +1126 -394
  76. package/dist/commands/audit.js.map +1 -1
  77. package/dist/commands/build.d.ts +1 -1
  78. package/dist/commands/build.d.ts.map +1 -1
  79. package/dist/commands/build.js +40 -36
  80. package/dist/commands/build.js.map +1 -1
  81. package/dist/commands/cache/cache-control.d.ts +82 -0
  82. package/dist/commands/cache/cache-control.d.ts.map +1 -0
  83. package/dist/commands/cache/cache-control.js +86 -0
  84. package/dist/commands/cache/cache-control.js.map +1 -0
  85. package/dist/commands/cache/clear.d.ts +34 -6
  86. package/dist/commands/cache/clear.d.ts.map +1 -1
  87. package/dist/commands/cache/clear.js +101 -15
  88. package/dist/commands/cache/clear.js.map +1 -1
  89. package/dist/commands/cache/index.d.ts +13 -63
  90. package/dist/commands/cache/index.d.ts.map +1 -1
  91. package/dist/commands/cache/index.js +47 -79
  92. package/dist/commands/cache/index.js.map +1 -1
  93. package/dist/commands/claude/claude-config.d.ts.map +1 -1
  94. package/dist/commands/claude/claude-config.js +6 -0
  95. package/dist/commands/claude/claude-config.js.map +1 -1
  96. package/dist/commands/claude/context.d.ts +340 -0
  97. package/dist/commands/claude/context.d.ts.map +1 -0
  98. package/dist/commands/claude/context.js +1080 -0
  99. package/dist/commands/claude/context.js.map +1 -0
  100. package/dist/commands/claude/index.d.ts +14 -0
  101. package/dist/commands/claude/index.d.ts.map +1 -1
  102. package/dist/commands/claude/index.js +22 -2
  103. package/dist/commands/claude/index.js.map +1 -1
  104. package/dist/commands/claude/marketplace/changelog-utils.d.ts +1 -1
  105. package/dist/commands/claude/marketplace/changelog-utils.d.ts.map +1 -1
  106. package/dist/commands/claude/marketplace/changelog-utils.js +1 -2
  107. package/dist/commands/claude/marketplace/changelog-utils.js.map +1 -1
  108. package/dist/commands/claude/marketplace/git-publish.d.ts.map +1 -1
  109. package/dist/commands/claude/marketplace/git-publish.js +40 -31
  110. package/dist/commands/claude/marketplace/git-publish.js.map +1 -1
  111. package/dist/commands/claude/marketplace/license-utils.d.ts.map +1 -1
  112. package/dist/commands/claude/marketplace/license-utils.js +0 -1
  113. package/dist/commands/claude/marketplace/license-utils.js.map +1 -1
  114. package/dist/commands/claude/marketplace/publish-tree.d.ts.map +1 -1
  115. package/dist/commands/claude/marketplace/publish-tree.js +0 -6
  116. package/dist/commands/claude/marketplace/publish-tree.js.map +1 -1
  117. package/dist/commands/claude/marketplace/publish.d.ts.map +1 -1
  118. package/dist/commands/claude/marketplace/publish.js +2 -1
  119. package/dist/commands/claude/marketplace/publish.js.map +1 -1
  120. package/dist/commands/claude/marketplace/validate.d.ts +73 -22
  121. package/dist/commands/claude/marketplace/validate.d.ts.map +1 -1
  122. package/dist/commands/claude/marketplace/validate.js +407 -72
  123. package/dist/commands/claude/marketplace/validate.js.map +1 -1
  124. package/dist/commands/claude/org/api-keys.d.ts +0 -3
  125. package/dist/commands/claude/org/api-keys.d.ts.map +1 -1
  126. package/dist/commands/claude/org/api-keys.js +2 -1
  127. package/dist/commands/claude/org/api-keys.js.map +1 -1
  128. package/dist/commands/claude/org/helpers.d.ts +54 -1
  129. package/dist/commands/claude/org/helpers.d.ts.map +1 -1
  130. package/dist/commands/claude/org/helpers.js +42 -7
  131. package/dist/commands/claude/org/helpers.js.map +1 -1
  132. package/dist/commands/claude/org/index.d.ts.map +1 -1
  133. package/dist/commands/claude/org/index.js +24 -16
  134. package/dist/commands/claude/org/index.js.map +1 -1
  135. package/dist/commands/claude/org/invites.d.ts +0 -3
  136. package/dist/commands/claude/org/invites.d.ts.map +1 -1
  137. package/dist/commands/claude/org/invites.js +3 -2
  138. package/dist/commands/claude/org/invites.js.map +1 -1
  139. package/dist/commands/claude/org/skills.d.ts +527 -0
  140. package/dist/commands/claude/org/skills.d.ts.map +1 -1
  141. package/dist/commands/claude/org/skills.js +1414 -108
  142. package/dist/commands/claude/org/skills.js.map +1 -1
  143. package/dist/commands/claude/org/users.d.ts +0 -3
  144. package/dist/commands/claude/org/users.d.ts.map +1 -1
  145. package/dist/commands/claude/org/users.js +6 -3
  146. package/dist/commands/claude/org/users.js.map +1 -1
  147. package/dist/commands/claude/org/workspaces.d.ts +0 -3
  148. package/dist/commands/claude/org/workspaces.d.ts.map +1 -1
  149. package/dist/commands/claude/org/workspaces.js +11 -7
  150. package/dist/commands/claude/org/workspaces.js.map +1 -1
  151. package/dist/commands/claude/plugin/build.d.ts +41 -3
  152. package/dist/commands/claude/plugin/build.d.ts.map +1 -1
  153. package/dist/commands/claude/plugin/build.js +147 -80
  154. package/dist/commands/claude/plugin/build.js.map +1 -1
  155. package/dist/commands/claude/plugin/helpers.d.ts.map +1 -1
  156. package/dist/commands/claude/plugin/helpers.js +2 -7
  157. package/dist/commands/claude/plugin/helpers.js.map +1 -1
  158. package/dist/commands/claude/plugin/install.d.ts +12 -0
  159. package/dist/commands/claude/plugin/install.d.ts.map +1 -1
  160. package/dist/commands/claude/plugin/install.js +93 -62
  161. package/dist/commands/claude/plugin/install.js.map +1 -1
  162. package/dist/commands/claude/plugin/list.d.ts.map +1 -1
  163. package/dist/commands/claude/plugin/list.js +3 -2
  164. package/dist/commands/claude/plugin/list.js.map +1 -1
  165. package/dist/commands/claude/plugin/marketplace-json.d.ts +24 -9
  166. package/dist/commands/claude/plugin/marketplace-json.d.ts.map +1 -1
  167. package/dist/commands/claude/plugin/marketplace-json.js +10 -9
  168. package/dist/commands/claude/plugin/marketplace-json.js.map +1 -1
  169. package/dist/commands/claude/plugin/plugin-changelog.d.ts.map +1 -1
  170. package/dist/commands/claude/plugin/plugin-changelog.js +0 -2
  171. package/dist/commands/claude/plugin/plugin-changelog.js.map +1 -1
  172. package/dist/commands/claude/plugin/plugin-files.d.ts.map +1 -1
  173. package/dist/commands/claude/plugin/plugin-files.js +3 -6
  174. package/dist/commands/claude/plugin/plugin-files.js.map +1 -1
  175. package/dist/commands/claude/plugin/plugin-validators.d.ts.map +1 -1
  176. package/dist/commands/claude/plugin/plugin-validators.js +3 -6
  177. package/dist/commands/claude/plugin/plugin-validators.js.map +1 -1
  178. package/dist/commands/claude/plugin/tree-copy.d.ts +73 -0
  179. package/dist/commands/claude/plugin/tree-copy.d.ts.map +1 -1
  180. package/dist/commands/claude/plugin/tree-copy.js +221 -14
  181. package/dist/commands/claude/plugin/tree-copy.js.map +1 -1
  182. package/dist/commands/claude/plugin/uninstall.d.ts.map +1 -1
  183. package/dist/commands/claude/plugin/uninstall.js +4 -4
  184. package/dist/commands/claude/plugin/uninstall.js.map +1 -1
  185. package/dist/commands/consistency-check.d.ts +17 -15
  186. package/dist/commands/consistency-check.d.ts.map +1 -1
  187. package/dist/commands/consistency-check.js +152 -106
  188. package/dist/commands/consistency-check.js.map +1 -1
  189. package/dist/commands/corpus/index.d.ts.map +1 -1
  190. package/dist/commands/corpus/index.js +3 -0
  191. package/dist/commands/corpus/index.js.map +1 -1
  192. package/dist/commands/corpus/report.d.ts +1 -2
  193. package/dist/commands/corpus/report.d.ts.map +1 -1
  194. package/dist/commands/corpus/report.js +1 -3
  195. package/dist/commands/corpus/report.js.map +1 -1
  196. package/dist/commands/corpus/runner.d.ts +58 -1
  197. package/dist/commands/corpus/runner.d.ts.map +1 -1
  198. package/dist/commands/corpus/runner.js +95 -41
  199. package/dist/commands/corpus/runner.js.map +1 -1
  200. package/dist/commands/corpus/scan.d.ts.map +1 -1
  201. package/dist/commands/corpus/scan.js +20 -12
  202. package/dist/commands/corpus/scan.js.map +1 -1
  203. package/dist/commands/corpus/seed.d.ts +4 -4
  204. package/dist/commands/corpus/seed.d.ts.map +1 -1
  205. package/dist/commands/corpus/seed.js +1 -3
  206. package/dist/commands/corpus/seed.js.map +1 -1
  207. package/dist/commands/doctor.d.ts +50 -0
  208. package/dist/commands/doctor.d.ts.map +1 -1
  209. package/dist/commands/doctor.js +245 -52
  210. package/dist/commands/doctor.js.map +1 -1
  211. package/dist/commands/inventory.d.ts +13 -1
  212. package/dist/commands/inventory.d.ts.map +1 -1
  213. package/dist/commands/inventory.js +121 -17
  214. package/dist/commands/inventory.js.map +1 -1
  215. package/dist/commands/mcp/collections.d.ts +1 -1
  216. package/dist/commands/mcp/collections.d.ts.map +1 -1
  217. package/dist/commands/mcp/list-collections.d.ts.map +1 -1
  218. package/dist/commands/mcp/list-collections.js +2 -1
  219. package/dist/commands/mcp/list-collections.js.map +1 -1
  220. package/dist/commands/mcp/serve.d.ts.map +1 -1
  221. package/dist/commands/mcp/serve.js +3 -2
  222. package/dist/commands/mcp/serve.js.map +1 -1
  223. package/dist/commands/okf/index.d.ts +11 -0
  224. package/dist/commands/okf/index.d.ts.map +1 -0
  225. package/dist/commands/okf/index.js +114 -0
  226. package/dist/commands/okf/index.js.map +1 -0
  227. package/dist/commands/okf/validate.d.ts +191 -0
  228. package/dist/commands/okf/validate.d.ts.map +1 -0
  229. package/dist/commands/okf/validate.js +190 -0
  230. package/dist/commands/okf/validate.js.map +1 -0
  231. package/dist/commands/phase-utils.d.ts +182 -114
  232. package/dist/commands/phase-utils.d.ts.map +1 -1
  233. package/dist/commands/phase-utils.js +154 -163
  234. package/dist/commands/phase-utils.js.map +1 -1
  235. package/dist/commands/positional-args.d.ts.map +1 -1
  236. package/dist/commands/positional-args.js +3 -2
  237. package/dist/commands/positional-args.js.map +1 -1
  238. package/dist/commands/rag/clear-command.d.ts.map +1 -1
  239. package/dist/commands/rag/clear-command.js +2 -1
  240. package/dist/commands/rag/clear-command.js.map +1 -1
  241. package/dist/commands/rag/index-command.d.ts +64 -0
  242. package/dist/commands/rag/index-command.d.ts.map +1 -1
  243. package/dist/commands/rag/index-command.js +72 -6
  244. package/dist/commands/rag/index-command.js.map +1 -1
  245. package/dist/commands/rag/index.d.ts.map +1 -1
  246. package/dist/commands/rag/index.js +23 -10
  247. package/dist/commands/rag/index.js.map +1 -1
  248. package/dist/commands/rag/query-command.d.ts.map +1 -1
  249. package/dist/commands/rag/query-command.js +2 -1
  250. package/dist/commands/rag/query-command.js.map +1 -1
  251. package/dist/commands/rag/stats-command.d.ts.map +1 -1
  252. package/dist/commands/rag/stats-command.js +2 -1
  253. package/dist/commands/rag/stats-command.js.map +1 -1
  254. package/dist/commands/resources/builtin-help.d.ts +27 -0
  255. package/dist/commands/resources/builtin-help.d.ts.map +1 -0
  256. package/dist/commands/resources/builtin-help.js +46 -0
  257. package/dist/commands/resources/builtin-help.js.map +1 -0
  258. package/dist/commands/resources/check-progress.d.ts +154 -0
  259. package/dist/commands/resources/check-progress.d.ts.map +1 -0
  260. package/dist/commands/resources/check-progress.js +222 -0
  261. package/dist/commands/resources/check-progress.js.map +1 -0
  262. package/dist/commands/resources/check-supervisor.d.ts +465 -0
  263. package/dist/commands/resources/check-supervisor.d.ts.map +1 -0
  264. package/dist/commands/resources/check-supervisor.js +573 -0
  265. package/dist/commands/resources/check-supervisor.js.map +1 -0
  266. package/dist/commands/resources/check.d.ts +593 -0
  267. package/dist/commands/resources/check.d.ts.map +1 -0
  268. package/dist/commands/resources/check.js +1365 -0
  269. package/dist/commands/resources/check.js.map +1 -0
  270. package/dist/commands/resources/index.d.ts.map +1 -1
  271. package/dist/commands/resources/index.js +418 -4
  272. package/dist/commands/resources/index.js.map +1 -1
  273. package/dist/commands/resources/query.d.ts +106 -0
  274. package/dist/commands/resources/query.d.ts.map +1 -0
  275. package/dist/commands/resources/query.js +177 -0
  276. package/dist/commands/resources/query.js.map +1 -0
  277. package/dist/commands/resources/scan.d.ts +24 -0
  278. package/dist/commands/resources/scan.d.ts.map +1 -1
  279. package/dist/commands/resources/scan.js +17 -8
  280. package/dist/commands/resources/scan.js.map +1 -1
  281. package/dist/commands/resources/validate.d.ts +42 -2
  282. package/dist/commands/resources/validate.d.ts.map +1 -1
  283. package/dist/commands/resources/validate.js +208 -55
  284. package/dist/commands/resources/validate.js.map +1 -1
  285. package/dist/commands/skill/review-checklist.d.ts +3 -2
  286. package/dist/commands/skill/review-checklist.d.ts.map +1 -1
  287. package/dist/commands/skill/review-checklist.js +40 -2
  288. package/dist/commands/skill/review-checklist.js.map +1 -1
  289. package/dist/commands/skill/review.d.ts +247 -0
  290. package/dist/commands/skill/review.d.ts.map +1 -1
  291. package/dist/commands/skill/review.js +99 -62
  292. package/dist/commands/skill/review.js.map +1 -1
  293. package/dist/commands/skill/test/configure.d.ts +56 -0
  294. package/dist/commands/skill/test/configure.d.ts.map +1 -1
  295. package/dist/commands/skill/test/configure.js +75 -16
  296. package/dist/commands/skill/test/configure.js.map +1 -1
  297. package/dist/commands/skill/test/run.d.ts +63 -10
  298. package/dist/commands/skill/test/run.d.ts.map +1 -1
  299. package/dist/commands/skill/test/run.js +258 -77
  300. package/dist/commands/skill/test/run.js.map +1 -1
  301. package/dist/commands/skills/build.d.ts +94 -4
  302. package/dist/commands/skills/build.d.ts.map +1 -1
  303. package/dist/commands/skills/build.js +325 -97
  304. package/dist/commands/skills/build.js.map +1 -1
  305. package/dist/commands/skills/install.d.ts +2 -1
  306. package/dist/commands/skills/install.d.ts.map +1 -1
  307. package/dist/commands/skills/install.js +20 -31
  308. package/dist/commands/skills/install.js.map +1 -1
  309. package/dist/commands/skills/list.d.ts +2 -1
  310. package/dist/commands/skills/list.d.ts.map +1 -1
  311. package/dist/commands/skills/list.js +44 -26
  312. package/dist/commands/skills/list.js.map +1 -1
  313. package/dist/commands/skills/package.d.ts +1 -1
  314. package/dist/commands/skills/package.d.ts.map +1 -1
  315. package/dist/commands/skills/package.js +6 -8
  316. package/dist/commands/skills/package.js.map +1 -1
  317. package/dist/commands/skills/scope-guard.d.ts.map +1 -1
  318. package/dist/commands/skills/scope-guard.js +3 -5
  319. package/dist/commands/skills/scope-guard.js.map +1 -1
  320. package/dist/commands/skills/shared.d.ts.map +1 -1
  321. package/dist/commands/skills/shared.js +2 -4
  322. package/dist/commands/skills/shared.js.map +1 -1
  323. package/dist/commands/skills/skill-discovery.d.ts +47 -6
  324. package/dist/commands/skills/skill-discovery.d.ts.map +1 -1
  325. package/dist/commands/skills/skill-discovery.js +61 -11
  326. package/dist/commands/skills/skill-discovery.js.map +1 -1
  327. package/dist/commands/skills/source-resolvers.d.ts +15 -0
  328. package/dist/commands/skills/source-resolvers.d.ts.map +1 -1
  329. package/dist/commands/skills/source-resolvers.js +25 -4
  330. package/dist/commands/skills/source-resolvers.js.map +1 -1
  331. package/dist/commands/skills/validate-command.d.ts.map +1 -1
  332. package/dist/commands/skills/validate-command.js +11 -3
  333. package/dist/commands/skills/validate-command.js.map +1 -1
  334. package/dist/commands/skills/validate.d.ts +140 -4
  335. package/dist/commands/skills/validate.d.ts.map +1 -1
  336. package/dist/commands/skills/validate.js +224 -67
  337. package/dist/commands/skills/validate.js.map +1 -1
  338. package/dist/commands/validate.d.ts +1 -1
  339. package/dist/commands/validate.d.ts.map +1 -1
  340. package/dist/commands/validate.js +63 -27
  341. package/dist/commands/validate.js.map +1 -1
  342. package/dist/commands/verify.d.ts +119 -15
  343. package/dist/commands/verify.d.ts.map +1 -1
  344. package/dist/commands/verify.js +357 -142
  345. package/dist/commands/verify.js.map +1 -1
  346. package/dist/index.d.ts +0 -1
  347. package/dist/index.d.ts.map +1 -1
  348. package/dist/index.js +5 -1
  349. package/dist/index.js.map +1 -1
  350. package/dist/report-schemas.d.ts +45 -0
  351. package/dist/report-schemas.d.ts.map +1 -0
  352. package/dist/report-schemas.js +100 -0
  353. package/dist/report-schemas.js.map +1 -0
  354. package/dist/skill-resolution/classify.js +2 -2
  355. package/dist/skill-resolution/classify.js.map +1 -1
  356. package/dist/skill-resolution/packaging-config.d.ts +49 -5
  357. package/dist/skill-resolution/packaging-config.d.ts.map +1 -1
  358. package/dist/skill-resolution/packaging-config.js +59 -19
  359. package/dist/skill-resolution/packaging-config.js.map +1 -1
  360. package/dist/skill-resolution/resolve-skill-reference.d.ts.map +1 -1
  361. package/dist/skill-resolution/resolve-skill-reference.js +55 -57
  362. package/dist/skill-resolution/resolve-skill-reference.js.map +1 -1
  363. package/dist/utils/agent-discovery.d.ts.map +1 -1
  364. package/dist/utils/agent-discovery.js +22 -11
  365. package/dist/utils/agent-discovery.js.map +1 -1
  366. package/dist/utils/agent-runner.d.ts.map +1 -1
  367. package/dist/utils/agent-runner.js +7 -4
  368. package/dist/utils/agent-runner.js.map +1 -1
  369. package/dist/utils/claude-context-lens.d.ts +34 -0
  370. package/dist/utils/claude-context-lens.d.ts.map +1 -0
  371. package/dist/utils/claude-context-lens.js +39 -0
  372. package/dist/utils/claude-context-lens.js.map +1 -0
  373. package/dist/utils/command-error.d.ts +138 -20
  374. package/dist/utils/command-error.d.ts.map +1 -1
  375. package/dist/utils/command-error.js +172 -36
  376. package/dist/utils/command-error.js.map +1 -1
  377. package/dist/utils/config-loader.d.ts +2 -1
  378. package/dist/utils/config-loader.d.ts.map +1 -1
  379. package/dist/utils/config-loader.js +40 -14
  380. package/dist/utils/config-loader.js.map +1 -1
  381. package/dist/utils/corpus-target.d.ts +26 -0
  382. package/dist/utils/corpus-target.d.ts.map +1 -0
  383. package/dist/utils/corpus-target.js +35 -0
  384. package/dist/utils/corpus-target.js.map +1 -0
  385. package/dist/utils/edge-lens-evaluation.d.ts +83 -0
  386. package/dist/utils/edge-lens-evaluation.d.ts.map +1 -0
  387. package/dist/utils/edge-lens-evaluation.js +110 -0
  388. package/dist/utils/edge-lens-evaluation.js.map +1 -0
  389. package/dist/utils/help-loader.d.ts.map +1 -1
  390. package/dist/utils/help-loader.js +0 -1
  391. package/dist/utils/help-loader.js.map +1 -1
  392. package/dist/utils/issue-anchor.d.ts +2 -2
  393. package/dist/utils/issue-anchor.d.ts.map +1 -1
  394. package/dist/utils/issue-anchor.js +1 -1
  395. package/dist/utils/issue-rendering.d.ts +3 -3
  396. package/dist/utils/issue-rendering.d.ts.map +1 -1
  397. package/dist/utils/issue-rendering.js +3 -3
  398. package/dist/utils/issue-rendering.js.map +1 -1
  399. package/dist/utils/issue-severity.d.ts +12 -5
  400. package/dist/utils/issue-severity.d.ts.map +1 -1
  401. package/dist/utils/issue-severity.js +1 -1
  402. package/dist/utils/issue-severity.js.map +1 -1
  403. package/dist/utils/optional-backend.d.ts +78 -0
  404. package/dist/utils/optional-backend.d.ts.map +1 -0
  405. package/dist/utils/optional-backend.js +117 -0
  406. package/dist/utils/optional-backend.js.map +1 -0
  407. package/dist/utils/output.d.ts +26 -0
  408. package/dist/utils/output.d.ts.map +1 -1
  409. package/dist/utils/output.js +35 -0
  410. package/dist/utils/output.js.map +1 -1
  411. package/dist/utils/package-json.d.ts +24 -0
  412. package/dist/utils/package-json.d.ts.map +1 -0
  413. package/dist/utils/package-json.js +49 -0
  414. package/dist/utils/package-json.js.map +1 -0
  415. package/dist/utils/population-wiring.d.ts +100 -0
  416. package/dist/utils/population-wiring.d.ts.map +1 -0
  417. package/dist/utils/population-wiring.js +98 -0
  418. package/dist/utils/population-wiring.js.map +1 -0
  419. package/dist/utils/project-root-policy.d.ts +20 -0
  420. package/dist/utils/project-root-policy.d.ts.map +1 -1
  421. package/dist/utils/project-root-policy.js +30 -0
  422. package/dist/utils/project-root-policy.js.map +1 -1
  423. package/dist/utils/projection-lenses.d.ts +98 -0
  424. package/dist/utils/projection-lenses.d.ts.map +1 -0
  425. package/dist/utils/projection-lenses.js +203 -0
  426. package/dist/utils/projection-lenses.js.map +1 -0
  427. package/dist/utils/projection-query.d.ts +324 -0
  428. package/dist/utils/projection-query.d.ts.map +1 -0
  429. package/dist/utils/projection-query.js +357 -0
  430. package/dist/utils/projection-query.js.map +1 -0
  431. package/dist/utils/projection-store.d.ts +335 -0
  432. package/dist/utils/projection-store.d.ts.map +1 -0
  433. package/dist/utils/projection-store.js +522 -0
  434. package/dist/utils/projection-store.js.map +1 -0
  435. package/dist/utils/relation-limits.d.ts +50 -0
  436. package/dist/utils/relation-limits.d.ts.map +1 -0
  437. package/dist/utils/relation-limits.js +50 -0
  438. package/dist/utils/relation-limits.js.map +1 -0
  439. package/dist/utils/repeatable-option.d.ts +37 -0
  440. package/dist/utils/repeatable-option.d.ts.map +1 -0
  441. package/dist/utils/repeatable-option.js +39 -0
  442. package/dist/utils/repeatable-option.js.map +1 -0
  443. package/dist/utils/resource-loader.d.ts +132 -2
  444. package/dist/utils/resource-loader.d.ts.map +1 -1
  445. package/dist/utils/resource-loader.js +288 -27
  446. package/dist/utils/resource-loader.js.map +1 -1
  447. package/dist/utils/root-argv.d.ts +53 -0
  448. package/dist/utils/root-argv.d.ts.map +1 -0
  449. package/dist/utils/root-argv.js +215 -0
  450. package/dist/utils/root-argv.js.map +1 -0
  451. package/dist/utils/run-integrity.d.ts +95 -0
  452. package/dist/utils/run-integrity.d.ts.map +1 -0
  453. package/dist/utils/run-integrity.js +102 -0
  454. package/dist/utils/run-integrity.js.map +1 -0
  455. package/dist/utils/skill-discovery.d.ts.map +1 -1
  456. package/dist/utils/skill-discovery.js +2 -1
  457. package/dist/utils/skill-discovery.js.map +1 -1
  458. package/dist/utils/skill-packaging-config.d.ts +63 -1
  459. package/dist/utils/skill-packaging-config.d.ts.map +1 -1
  460. package/dist/utils/skill-packaging-config.js +56 -1
  461. package/dist/utils/skill-packaging-config.js.map +1 -1
  462. package/dist/utils/sqlite-experimental-warning.d.ts +69 -0
  463. package/dist/utils/sqlite-experimental-warning.d.ts.map +1 -0
  464. package/dist/utils/sqlite-experimental-warning.js +144 -0
  465. package/dist/utils/sqlite-experimental-warning.js.map +1 -0
  466. package/dist/utils/url-redact.d.ts.map +1 -1
  467. package/dist/utils/url-redact.js +4 -6
  468. package/dist/utils/url-redact.js.map +1 -1
  469. package/dist/utils/user-context-scanner.d.ts +8 -0
  470. package/dist/utils/user-context-scanner.d.ts.map +1 -1
  471. package/dist/utils/user-context-scanner.js +4 -2
  472. package/dist/utils/user-context-scanner.js.map +1 -1
  473. package/dist/utils/validate-help-files.d.ts.map +1 -1
  474. package/dist/utils/validate-help-files.js +12 -6
  475. package/dist/utils/validate-help-files.js.map +1 -1
  476. package/dist/utils/vat-bin-path.d.ts +36 -0
  477. package/dist/utils/vat-bin-path.d.ts.map +1 -0
  478. package/dist/utils/vat-bin-path.js +48 -0
  479. package/dist/utils/vat-bin-path.js.map +1 -0
  480. package/dist/utils/verdict-helpers.d.ts +1 -1
  481. package/dist/utils/verdict-helpers.d.ts.map +1 -1
  482. package/dist/utils/verdict-helpers.js +1 -1
  483. package/dist/utils/verdict-helpers.js.map +1 -1
  484. package/dist/version.d.ts.map +1 -1
  485. package/dist/version.js +1 -3
  486. package/dist/version.js.map +1 -1
  487. package/docs/agent.md +2 -2
  488. package/docs/audit.md +141 -37
  489. package/docs/doctor.md +7 -6
  490. package/docs/index.md +19 -11
  491. package/docs/mcp.md +2 -2
  492. package/docs/rag.md +3 -2
  493. package/docs/resources.md +13 -3
  494. package/docs/skill-test.md +10 -9
  495. package/docs/skills.md +53 -69
  496. package/package.json +35 -26
  497. package/schemas/ard-emit.json +149 -0
  498. package/schemas/okf-validate.json +170 -0
  499. package/schemas/resources-check.json +229 -0
  500. package/schemas/skill-review.json +230 -0
  501. package/dist/commands/resources/command-helpers.d.ts +0 -5
  502. package/dist/commands/resources/command-helpers.d.ts.map +0 -1
  503. package/dist/commands/resources/command-helpers.js +0 -6
  504. package/dist/commands/resources/command-helpers.js.map +0 -1
@@ -5,10 +5,11 @@
5
5
  * Orchestration only. Domain logic lives in upsertTestConfig (agent-skills).
6
6
  * Mirrors review.ts error-handling conventions (handleCommandError / projectRootOrNull).
7
7
  */
8
- import { readFileSync, writeFileSync } from 'node:fs';
8
+ import { writeFileSync } from 'node:fs';
9
9
  import { upsertTestConfig } from '@vibe-agent-toolkit/agent-skills';
10
- import { ProjectConfigSchema } from '@vibe-agent-toolkit/resources';
10
+ import { parseConfigAllowingUnknownKeys, ProjectConfigSchema } from '@vibe-agent-toolkit/resources';
11
11
  import { findProjectRoot, safePath } from '@vibe-agent-toolkit/utils';
12
+ import { readTextContent } from '@vibe-agent-toolkit/utils/fs';
12
13
  import { Command } from 'commander';
13
14
  import * as yaml from 'yaml';
14
15
  import { handleCommandError } from '../../../utils/command-error.js';
@@ -29,7 +30,16 @@ function parsePositiveFloat(value, flag) {
29
30
  }
30
31
  return n;
31
32
  }
32
- function buildKnobs(options) {
33
+ /**
34
+ * Assemble the knob patch handed to `upsertTestConfig`. Exported for testing: the
35
+ * option DECLARATIONS were pinned (Commander's `--baseline`/`--no-baseline`
36
+ * tri-state) and `upsertTestConfig` writes `false` correctly, but the assembly
37
+ * between them — the step that decides which typed flags become knobs at all — was
38
+ * not, so both `if (options.baseline === true)` (a `--no-baseline` that silently
39
+ * does nothing, i.e. the exact regression `--no-baseline` exists to prevent) and
40
+ * deleting the branch outright left the whole CLI suite green.
41
+ */
42
+ export function buildKnobs(options) {
33
43
  const knobs = {};
34
44
  if (options.auth !== undefined) {
35
45
  assertValidAuth(options.auth);
@@ -58,6 +68,59 @@ function buildKnobs(options) {
58
68
  }
59
69
  return knobs;
60
70
  }
71
+ /**
72
+ * Read the config at `configPath`, apply `knobs` to `skillName`'s test block, and
73
+ * hand back the YAML to write — refusing only what VAT would otherwise MISREAD.
74
+ *
75
+ * Exported and separated from the command because the command's own shape made
76
+ * both of this lane's defects untestable: the read and the schema check were
77
+ * inlined between a `process.cwd()` walk-up and a `writeFileSync`, so reaching
78
+ * them from a test meant `process.chdir`, which the Unix unit pool (threads)
79
+ * cannot do at all. Two defects therefore shipped with a green suite.
80
+ *
81
+ * 🔑 **The schema check goes through the SHARED reader**, not
82
+ * `ProjectConfigSchema.safeParse`. This was the THIRD config reader in the
83
+ * toolkit and the only one still carrying both defects the other two had fixed:
84
+ *
85
+ * - An unrecognized key was a hard refusal. `vat skill test configure my-skill
86
+ * --max-turns 20` exited 1 on a config carrying `resources.metadata` — a
87
+ * section this command never reads — refusing to write a change that had
88
+ * nothing to do with it. Unknown keys are a warning now; see
89
+ * {@link parseConfigAllowingUnknownKeys} for why.
90
+ * - The message was `validation.error.message`, which in Zod 3 is a **JSON dump
91
+ * of the issue array**: no file named, no key named in words, no remedy.
92
+ *
93
+ * 🔑 **The read goes through `readTextContent`**, never `readFileSync(path,
94
+ * 'utf-8')`. This is a read-modify-WRITE path, so a UTF-16LE or BOM-prefixed
95
+ * config (what PowerShell 5.1 writes by default) was decoded as mojibake and then
96
+ * serialized back over the original — destroying a config whose only fault was
97
+ * its encoding.
98
+ *
99
+ * @param configPath - Absolute path to `vibe-agent-toolkit.config.yaml`
100
+ * @param skillName - The key under `skills.config` to upsert
101
+ * @param knobs - The knobs the operator typed; only these are changed
102
+ * @param onWarn - Receives the unknown-key warning, if any
103
+ * @returns The updated YAML, comments and key ordering preserved
104
+ * @throws Error when the UPDATED config would fail validation for any reason
105
+ * other than an unknown key
106
+ */
107
+ export async function updateSkillTestConfig(configPath, skillName, knobs, onWarn) {
108
+ const { text: yamlText } = await readTextContent(configPath);
109
+ const updatedYaml = upsertTestConfig(yamlText, skillName, knobs);
110
+ // Validate the FULL updated config before it can be written.
111
+ const parsed = yaml.parse(updatedYaml);
112
+ try {
113
+ parseConfigAllowingUnknownKeys(ProjectConfigSchema, parsed, onWarn, { configPath });
114
+ }
115
+ catch (validationError) {
116
+ // The prefix is kept because it carries information the shared formatter
117
+ // cannot know: what is being judged is the config AFTER this command's
118
+ // edit, so a reader has to be told the file on disk may still be fine.
119
+ const detail = validationError instanceof Error ? validationError.message : String(validationError);
120
+ throw new Error(`Updated config would fail schema validation.\n${detail}`);
121
+ }
122
+ return updatedYaml;
123
+ }
61
124
  async function configureCommand(skillName, options) {
62
125
  const logger = createLogger(options.debug ? { debug: true } : {});
63
126
  const startTime = Date.now();
@@ -68,21 +131,11 @@ async function configureCommand(skillName, options) {
68
131
  'Run from inside a VAT project or initialize one.');
69
132
  }
70
133
  const configPath = safePath.join(projectRoot, CONFIG_FILENAME);
71
- // eslint-disable-next-line security/detect-non-literal-fs-filename -- configPath constructed from trusted projectRoot
72
- const yamlText = readFileSync(configPath, 'utf-8');
73
- const knobs = buildKnobs(options);
74
- const updatedYaml = upsertTestConfig(yamlText, skillName, knobs);
75
- // Validate the FULL updated config before writing.
76
- const parsed = yaml.parse(updatedYaml);
77
- const validation = ProjectConfigSchema.safeParse(parsed);
78
- if (!validation.success) {
79
- throw new Error(`Updated config would fail schema validation: ${validation.error.message}`);
80
- }
134
+ const updatedYaml = await updateSkillTestConfig(configPath, skillName, buildKnobs(options), (message) => { logger.warn(message); });
81
135
  if (options.print) {
82
136
  process.stdout.write(updatedYaml);
83
137
  }
84
138
  else {
85
- // eslint-disable-next-line security/detect-non-literal-fs-filename -- configPath constructed from trusted projectRoot
86
139
  writeFileSync(configPath, updatedYaml, 'utf-8');
87
140
  logger.info(`Updated ${configPath}`);
88
141
  }
@@ -98,11 +151,17 @@ export function createSkillTestConfigureCommand() {
98
151
  .argument('<skill>', 'Skill name (key under skills.config)')
99
152
  .option('--auth <mode>', 'Auth mechanism: inherit | subscription | api-key | auto')
100
153
  .option('--max-turns <n>', 'Per-spawn cap on executor/grader turns (positive integer)')
101
- .option('--max-budget-usd <n>', 'Hard USD budget cap (positive number)')
154
+ .option('--max-budget-usd <n>', 'Per-spawn USD budget cap, applied to EACH executor and grader spawn (positive number). Not a whole-run ceiling: a baseline run has twice the spawns, so twice the worst-case spend.')
102
155
  .option('--timeout <s>', 'Wall-clock timeout in seconds (positive integer)')
103
156
  .option('--stall <s>', 'Stall-watchdog seconds (positive integer)')
104
157
  .option('--model <id>', 'Pinned model ID for reproducibility')
105
- .option('--baseline', 'Enable with/without A/B baseline run')
158
+ // `--baseline` MUST stay declared BEFORE `--no-baseline`, for the same Commander
159
+ // reason it is on `run`: only a pre-existing positive option leaves the value
160
+ // undefined when neither flag is typed. A lone negated option defaults it to
161
+ // `true`, which here would write `baseline: true` into the config on every
162
+ // `configure` invocation that never mentioned baseline at all.
163
+ .option('--baseline', "Make the with/without A/B PERMANENT for this skill: every later `skill test run` then runs each eval TWICE, roughly doubling its spend (override for one run with `run --no-baseline`). It measures the skill's INSTRUCTIONS, not capability -- both arms share a filesystem, so check baselineIntegrity in baseline.json before trusting a delta.")
164
+ .option('--no-baseline', 'Persist `baseline: false` for this skill, turning a committed baseline back OFF. Without it the setting could only ever be written true by this command and had to be removed by hand. Omit both flags to leave the knob untouched.')
106
165
  .option('--evals <path>', "Path to evals.json, recorded in config as-is: relative to the skill source, absolute, or an npm bare specifier. (Note the asymmetry with `skill test run --evals`, which resolves against the current directory — config travels with the skill, a flag is typed by an operator.)")
107
166
  .option('--print', 'Print the updated YAML to stdout instead of writing the file')
108
167
  .option('--debug', 'Enable debug logging')
@@ -1 +1 @@
1
- {"version":3,"file":"configure.js","sourceRoot":"","sources":["../../../../src/commands/skill/test/configure.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAEtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,EAAE,eAAe,EAAkB,MAAM,iBAAiB,CAAC;AAElE,MAAM,eAAe,GAAG,gCAAgC,CAAC;AAezD,SAAS,gBAAgB,CAAC,KAAa,EAAE,IAAY;IACnD,MAAM,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACrC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACnC,MAAM,IAAI,KAAK,CAAC,GAAG,IAAI,qCAAqC,KAAK,EAAE,CAAC,CAAC;IACvE,CAAC;IACD,OAAO,CAAC,CAAC;AACX,CAAC;AAED,SAAS,kBAAkB,CAAC,KAAa,EAAE,IAAY;IACrD,MAAM,CAAC,GAAG,MAAM,CAAC,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AC;SAC3E,MAAM,CAAC,aAAa,EAAE,2CAA2C,CAAC;SAClE,MAAM,CAAC,cAAc,EAAE,qCAAqC,CAAC;QAC9D,iFAAiF;QACjF,8EAA8E;QAC9E,6EAA6E;QAC7E,2EAA2E;QAC3E,+DAA+D;SAC9D,MAAM,CACL,YAAY,EACZ,oVAAoV,CACrV;SACA,MAAM,CACL,eAAe,EACf,qOAAqO,CACtO;SACA,MAAM,CACL,gBAAgB,EAChB,mRAAmR,CACpR;SACA,MAAM,CAAC,SAAS,EAAE,8DAA8D,CAAC;SACjF,MAAM,CAAC,SAAS,EAAE,sBAAsB,CAAC;SACzC,MAAM,CAAC,gBAAgB,CAAC;SACxB,WAAW,CACV,OAAO,EACP;;;;;;;;;;;;CAYL,CACI,CAAC;IAEJ,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -19,6 +19,13 @@ export interface SkillTestRunOptions {
19
19
  dryRun?: boolean;
20
20
  auth?: string;
21
21
  requireAuth?: string;
22
+ /**
23
+ * Tri-state, and it must stay tri-state: `true` from `--baseline`, `false` from
24
+ * `--no-baseline`, `undefined` when neither was typed (config decides). Commander
25
+ * gives this shape because `--baseline` is declared BEFORE `--no-baseline`; a
26
+ * lone `--no-baseline` would default the value to `true` instead. See
27
+ * {@link resolveBaseline}.
28
+ */
22
29
  baseline?: boolean;
23
30
  allowUnverifiedSkillSource?: boolean;
24
31
  iUnderstandThisRunsSkillCode?: boolean;
@@ -47,21 +54,61 @@ export interface SkillTestRunOptions {
47
54
  }
48
55
  type HarnessOpts = Parameters<typeof runSkillTestHarness>[0];
49
56
  type SkillSourceSpec = NonNullable<HarnessOpts['withSources']>[string];
50
- /** The declared-executable recognition aid the harness forwards to the WITH-arm grader. */
57
+ /**
58
+ * The declared-executable record the harness carries: the recognition aid it forwards
59
+ * to the WITH-arm grader, plus the skill-relative PATH the baseline contamination
60
+ * detector needs.
61
+ *
62
+ * ⚠️ BOTH FIELDS ARE LOAD-BEARING, for different consumers, and neither can be derived
63
+ * from the other. The grader aid and `lintToolExpectationExecutables` compare an
64
+ * extension-stripped NAME (`csvsum`); `detectBaselineContamination` matches an escaping
65
+ * reach against the declared PATH, because matching the stem instead convicted a clean
66
+ * control arm of reading its own `/tmp/summary.txt`. This is an alias of the harness
67
+ * shape, not a widening of it — the harness type owns `path` so the detector's wiring
68
+ * is checked at the call site rather than resting on a local intersection here.
69
+ */
51
70
  type DeclaredExecutable = NonNullable<HarnessOpts['declaredExecutables']>[number];
52
71
  /**
53
72
  * Map a resolved skill's packaging-config `executables` (SkillExecutableEntry[]) to
54
- * the grader's recognition-aid shape (issue #145 Phase T): each entry's stable NAME
73
+ * the grader's recognition-aid shape: each entry's stable NAME
55
74
  * is its `path` basename with the extension stripped (`scripts/csvsum.py` → `csvsum`),
56
- * carried alongside its `howInvoked` + `kind`. Returns undefined for absent/empty
57
- * input so the harness omits the aid entirely (the grader still matches tools by the
58
- * commands in the transcript). Pure + unit-testable.
75
+ * carried alongside its `howInvoked`, `kind` and the declared `path` itself. Returns
76
+ * undefined for absent/empty input so the harness omits the aid entirely (the grader
77
+ * still matches tools by the commands in the transcript). Pure + unit-testable.
78
+ *
79
+ * ⛔ THE `path` USED TO BE READ AND DISCARDED. It is the ONLY thing that separates
80
+ * an ambient copy of the skill — which is a copy, so it reproduces
81
+ * `…/scripts/csvsum.py` under whatever root it sits at — from the control arm's own
82
+ * scratch file of the same name. Forward-slashed at the derivation rather than at the
83
+ * consumer, because every needle and every resolved reach inside the detector is
84
+ * `/`-normalized and a `\` would silently match nothing.
59
85
  */
60
86
  export declare function deriveDeclaredExecutableNames(executables: SkillPackagingConfig['executables']): DeclaredExecutable[] | undefined;
61
87
  /** Parse an array of `name=src` flag values into a name→spec record. */
62
88
  export declare function parseWithFlags(pairs: string[] | undefined): Record<string, SkillSourceSpec> | undefined;
63
89
  /** Map a config descriptor array (with/optional) into a name→spec record. */
64
90
  export declare function descriptorsToRecord(list: SkillSourceDescriptor[] | undefined): Record<string, SkillSourceSpec> | undefined;
91
+ /**
92
+ * Resolve `--baseline` with flag > config precedence, ANNOUNCING a config-sourced
93
+ * enable on stderr.
94
+ *
95
+ * Same threat model as {@link resolveCappedKnob} next door — a value from a
96
+ * COMMITTED config rides along in an untrusted subject repo — applied to the one
97
+ * cost knob that has no cap to clamp. `baseline` is the LARGEST cost multiplier in
98
+ * this command: it runs every eval TWICE (skill declared vs withheld), and each arm
99
+ * is an executor spawn AND a grader spawn, so `skills.config.<skill>.test.baseline:
100
+ * true` roughly doubles the spend of every `vat skill test run` an operator types.
101
+ * `--max-budget-usd` is a PER-SPAWN cap, so the worst-case ceiling doubles with it.
102
+ *
103
+ * A boolean cannot be clamped to a ceiling, so it is announced instead, and
104
+ * `--no-baseline` exists so the operator can turn it back off for THIS run without
105
+ * hand-editing someone else's YAML. Precedence runs both directions: an explicit
106
+ * flag wins whether it says true or false (hence the `undefined` check rather than
107
+ * `??`-style falsiness, which would let a config `true` override `--no-baseline`).
108
+ *
109
+ * Only an ENABLE is announced. A config `false` costs nothing and needs no note.
110
+ */
111
+ export declare function resolveBaseline(flagValue: boolean | undefined, configValue: boolean | undefined): boolean | undefined;
65
112
  /**
66
113
  * Resolve one cost/runtime knob with flag > config > default precedence AND a
67
114
  * built-in safety cap, enforcing an asymmetry between the two sources:
@@ -84,6 +131,12 @@ export interface ResolvedSubject {
84
131
  subjectScaffoldDir?: string;
85
132
  /** True only when this resolution actually built the subject (declared skill, no --no-build/--dry-run). */
86
133
  rebuilt: boolean;
134
+ /**
135
+ * True when the subject is an IN-PLACE declared skill (`publish: false`, see
136
+ * {@link isInPlaceSkill}): staged from its authored directory, never bundled.
137
+ * Forwarded to the harness, which reports the fidelity gap as friction.
138
+ */
139
+ inPlace: boolean;
87
140
  /**
88
141
  * True when the resolved reference is `buildable` — a real run would build + stage
89
142
  * it before spawning. False for plain `source` subjects (path/npm/url/vendored).
@@ -105,7 +158,7 @@ export interface ResolvedSubject {
105
158
  /**
106
159
  * Declared executables (name + kind + howInvoked) derived from the subject's
107
160
  * packaging config, forwarded to the WITH-arm grader as a tool recognition aid
108
- * (issue #145 Phase T). Populated ONLY for a `buildable` subject (which carries
161
+ * Populated ONLY for a `buildable` subject (which carries
109
162
  * `packagingConfig`); a plain path/source subject leaves it undefined.
110
163
  */
111
164
  declaredExecutables?: DeclaredExecutable[];
@@ -147,7 +200,7 @@ export interface BuildFlags {
147
200
  * Project-aware subject resolution for `vat skill test run`. Resolves the subject
148
201
  * reference; for a declared skill, builds it (real entry points) and returns the
149
202
  * dist dir to stage; everything else is staged as-is. Throws SkillBuildError
150
- * (exit 2) for name-miss / not-found / --no-build-without-dist / build failure.
203
+ * (reason `preflight`) for name-miss / not-found / --no-build-without-dist / build failure.
151
204
  *
152
205
  * `memo` is the per-run build memo (see {@link BuildMemo}) — pass the SAME map used
153
206
  * for companion resolution so a skill that is both subject and companion builds once.
@@ -200,12 +253,12 @@ export type BuildMemo = Set<string>;
200
253
  */
201
254
  export declare function buildMemoKey(ref: BuildableReference): string;
202
255
  /**
203
- * Companion analog of {@link resolveBuildableSubject} (issue #158): resolve every
256
+ * Companion analog of {@link resolveBuildableSubject}: resolve every
204
257
  * `--with`/`--with-optional` companion whose spec is a `{ path }` pointing at a
205
258
  * declared skill's SOURCE directory to that skill's BUILT dist, via the exact same
206
259
  * {@link buildDeclaredSkill} the subject uses. Anything else — workspace:/npm:/
207
- * url:/vendored specs, or a path outside this project's config — is "a different
208
- * story" (per the issue's own framing): left untouched, staged as today.
260
+ * url:/vendored specs, or a path outside this project's config — is a different
261
+ * story: left untouched, staged as today.
209
262
  *
210
263
  * The `test.build` hook used is the COMPANION's own — read from the config that
211
264
  * governs IT ({@link declaredSkillTestConfig}), not the subject's. The subject's hook
@@ -1 +1 @@
1
- {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../../src/commands/skill/test/run.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,EASL,mBAAmB,EAKnB,KAAK,oBAAoB,EAC1B,MAAM,k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