skillfit 0.0.0-stage → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2330) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +279 -2
  3. package/README.zh-CN.md +277 -0
  4. package/benches/README.md +172 -0
  5. package/benches/code-review/bench.json +57 -0
  6. package/benches/code-review/fixtures/explain-x1/.skillfit-mock.json +10 -0
  7. package/benches/code-review/fixtures/explain-x1/SPEC.md +16 -0
  8. package/benches/code-review/fixtures/explain-x1/src/compact.js +18 -0
  9. package/benches/code-review/fixtures/explain-x1/tests/compact.test.js +18 -0
  10. package/benches/code-review/fixtures/review-r1/.skillfit-mock.json +10 -0
  11. package/benches/code-review/fixtures/review-r1/CHANGES.diff +42 -0
  12. package/benches/code-review/fixtures/review-r1/SPEC.md +16 -0
  13. package/benches/code-review/fixtures/review-r1/src/errors.js +7 -0
  14. package/benches/code-review/fixtures/review-r1/src/money.js +3 -0
  15. package/benches/code-review/fixtures/review-r1/src/order.js +13 -0
  16. package/benches/code-review/fixtures/review-r1/tests/order.test.js +17 -0
  17. package/benches/code-review/fixtures/review-r2/.skillfit-mock.json +10 -0
  18. package/benches/code-review/fixtures/review-r2/CHANGES.diff +81 -0
  19. package/benches/code-review/fixtures/review-r2/SPEC.md +25 -0
  20. package/benches/code-review/fixtures/review-r2/src/errors.js +7 -0
  21. package/benches/code-review/fixtures/review-r2/src/invoice.js +9 -0
  22. package/benches/code-review/fixtures/review-r2/src/money.js +3 -0
  23. package/benches/code-review/fixtures/review-r2/tests/invoice.test.js +13 -0
  24. package/benches/code-review/fixtures/review-r3/.skillfit-mock.json +10 -0
  25. package/benches/code-review/fixtures/review-r3/CHANGES.diff +76 -0
  26. package/benches/code-review/fixtures/review-r3/SPEC.md +24 -0
  27. package/benches/code-review/fixtures/review-r3/src/errors.js +7 -0
  28. package/benches/code-review/fixtures/review-r3/src/money.js +3 -0
  29. package/benches/code-review/fixtures/review-r3/src/pricing.js +20 -0
  30. package/benches/code-review/fixtures/review-r3/tests/pricing.test.js +15 -0
  31. package/benches/code-review/fixtures/summarize-s1/.skillfit-mock.json +16 -0
  32. package/benches/code-review/fixtures/summarize-s1/CHANGES.diff +27 -0
  33. package/benches/code-review/fixtures/summarize-s1/SPEC.md +15 -0
  34. package/benches/code-review/fixtures/summarize-s1/src/discount.js +20 -0
  35. package/benches/code-review/fixtures/summarize-s1/src/errors.js +7 -0
  36. package/benches/code-review/fixtures/summarize-s1/src/money.js +7 -0
  37. package/benches/code-review/ground-truth/oracle-r1.mjs +21 -0
  38. package/benches/code-review/ground-truth/oracle-r2.mjs +21 -0
  39. package/benches/code-review/ground-truth/oracle-r3.mjs +20 -0
  40. package/benches/code-review/ground-truth/oracle-summarize-s1.mjs +21 -0
  41. package/benches/code-review/ground-truth/oracle-x1.mjs +18 -0
  42. package/benches/code-review/ground-truth/r1.md +22 -0
  43. package/benches/code-review/ground-truth/r2.md +21 -0
  44. package/benches/code-review/ground-truth/r3.md +18 -0
  45. package/benches/code-review/ground-truth/summarize-s1.md +26 -0
  46. package/benches/code-review/ground-truth/x1.md +7 -0
  47. package/benches/code-review/prompts/explain-x1.md +5 -0
  48. package/benches/code-review/prompts/explain-x1.trigger.md +5 -0
  49. package/benches/code-review/prompts/review-r1.md +7 -0
  50. package/benches/code-review/prompts/review-r1.trigger.md +7 -0
  51. package/benches/code-review/prompts/review-r2.md +7 -0
  52. package/benches/code-review/prompts/review-r2.trigger.md +7 -0
  53. package/benches/code-review/prompts/review-r3.md +7 -0
  54. package/benches/code-review/prompts/review-r3.trigger.md +7 -0
  55. package/benches/code-review/prompts/summarize-s1.md +9 -0
  56. package/benches/code-review/prompts/summarize-s1.trigger.md +9 -0
  57. package/benches/code-review/verifiers/explain-x1.mjs +30 -0
  58. package/benches/code-review/verifiers/review-r2.mjs +66 -0
  59. package/benches/code-review/verifiers/review-r3.mjs +60 -0
  60. package/benches/code-review/verifiers/seeded-bugs.mjs +74 -0
  61. package/benches/code-review/verifiers/summarize-s1.mjs +80 -0
  62. package/benches/contrib/README.md +45 -0
  63. package/benches/contrib/oss-lru-cache/README.md +24 -0
  64. package/benches/contrib/oss-lru-cache/bench.json +37 -0
  65. package/benches/contrib/oss-lru-cache/fixtures/fetch-abort/LICENSE +15 -0
  66. package/benches/contrib/oss-lru-cache/fixtures/fetch-abort/README.md +3 -0
  67. package/benches/contrib/oss-lru-cache/fixtures/fetch-abort/index.js +1044 -0
  68. package/benches/contrib/oss-lru-cache/fixtures/fetch-abort/package.json +11 -0
  69. package/benches/contrib/oss-lru-cache/fixtures/fetch-abort/runtime.mjs +22 -0
  70. package/benches/contrib/oss-lru-cache/fixtures/fetch-abort/test.mjs +11 -0
  71. package/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/LICENSE.md +55 -0
  72. package/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/README.md +3 -0
  73. package/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/package.json +11 -0
  74. package/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/runtime.mjs +22 -0
  75. package/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/diagnostics-channel-browser.ts +11 -0
  76. package/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/diagnostics-channel-cjs.cts +11 -0
  77. package/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/diagnostics-channel-esm.mts +29 -0
  78. package/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/diagnostics-channel-node.ts +7 -0
  79. package/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/diagnostics-channel.ts +6 -0
  80. package/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/index.ts +3148 -0
  81. package/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/perf.ts +17 -0
  82. package/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/test.mjs +11 -0
  83. package/benches/contrib/oss-lru-cache/fixtures/fetch-size/LICENSE +15 -0
  84. package/benches/contrib/oss-lru-cache/fixtures/fetch-size/README.md +3 -0
  85. package/benches/contrib/oss-lru-cache/fixtures/fetch-size/index.js +1028 -0
  86. package/benches/contrib/oss-lru-cache/fixtures/fetch-size/package.json +11 -0
  87. package/benches/contrib/oss-lru-cache/fixtures/fetch-size/runtime.mjs +22 -0
  88. package/benches/contrib/oss-lru-cache/fixtures/fetch-size/test.mjs +11 -0
  89. package/benches/contrib/oss-lru-cache/ground-truth/fetch-abort/LICENSE +15 -0
  90. package/benches/contrib/oss-lru-cache/ground-truth/fetch-abort/index.js +1053 -0
  91. package/benches/contrib/oss-lru-cache/ground-truth/fetch-abort.md +11 -0
  92. package/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/LICENSE.md +55 -0
  93. package/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/diagnostics-channel-browser.ts +11 -0
  94. package/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/diagnostics-channel-cjs.cts +11 -0
  95. package/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/diagnostics-channel-esm.mts +29 -0
  96. package/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/diagnostics-channel-node.ts +7 -0
  97. package/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/diagnostics-channel.ts +6 -0
  98. package/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/index.ts +3174 -0
  99. package/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/perf.ts +17 -0
  100. package/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle.md +11 -0
  101. package/benches/contrib/oss-lru-cache/ground-truth/fetch-size/LICENSE +15 -0
  102. package/benches/contrib/oss-lru-cache/ground-truth/fetch-size/index.js +1028 -0
  103. package/benches/contrib/oss-lru-cache/ground-truth/fetch-size.md +11 -0
  104. package/benches/contrib/oss-lru-cache/ground-truth/oracle-fetch-abort.mjs +8 -0
  105. package/benches/contrib/oss-lru-cache/ground-truth/oracle-fetch-lifecycle.mjs +7 -0
  106. package/benches/contrib/oss-lru-cache/ground-truth/oracle-fetch-size.mjs +7 -0
  107. package/benches/contrib/oss-lru-cache/ground-truth/oracle.mjs +9 -0
  108. package/benches/contrib/oss-lru-cache/prompts/fetch-abort.md +5 -0
  109. package/benches/contrib/oss-lru-cache/prompts/fetch-lifecycle.md +5 -0
  110. package/benches/contrib/oss-lru-cache/prompts/fetch-size.md +5 -0
  111. package/benches/contrib/oss-lru-cache/provenance.json +62 -0
  112. package/benches/contrib/oss-lru-cache/runtime.mjs +22 -0
  113. package/benches/contrib/oss-lru-cache/verifiers/cases.mjs +74 -0
  114. package/benches/contrib/oss-lru-cache/verifiers/fetch-abort.mjs +3 -0
  115. package/benches/contrib/oss-lru-cache/verifiers/fetch-lifecycle.mjs +3 -0
  116. package/benches/contrib/oss-lru-cache/verifiers/fetch-size.mjs +3 -0
  117. package/benches/contrib/oss-lru-cache/verifiers/probe.mjs +14 -0
  118. package/benches/contrib/oss-lru-cache/verifiers/shared.mjs +130 -0
  119. package/benches/contrib/oss-lru-cache/verifiers/test-reporter.mjs +29 -0
  120. package/benches/contrib/oss-mcp-use-utf8/LICENSE.upstream +21 -0
  121. package/benches/contrib/oss-mcp-use-utf8/README.md +56 -0
  122. package/benches/contrib/oss-mcp-use-utf8/bench.json +16 -0
  123. package/benches/contrib/oss-mcp-use-utf8/fixtures/view-utf8/LICENSE +21 -0
  124. package/benches/contrib/oss-mcp-use-utf8/fixtures/view-utf8/package.json +3 -0
  125. package/benches/contrib/oss-mcp-use-utf8/fixtures/view-utf8/src/ext-apps-bridge.js +3 -0
  126. package/benches/contrib/oss-mcp-use-utf8/fixtures/view-utf8/src/resolve-view-resource.ts +96 -0
  127. package/benches/contrib/oss-mcp-use-utf8/fixtures/view-utf8/test/basic.test.mjs +13 -0
  128. package/benches/contrib/oss-mcp-use-utf8/ground-truth/README.md +5 -0
  129. package/benches/contrib/oss-mcp-use-utf8/ground-truth/oracle-view-utf8.mjs +11 -0
  130. package/benches/contrib/oss-mcp-use-utf8/ground-truth/solutions/view-utf8/src/resolve-view-resource.ts +96 -0
  131. package/benches/contrib/oss-mcp-use-utf8/ground-truth/solutions/view-utf8/test/utf8.regression.test.mjs +14 -0
  132. package/benches/contrib/oss-mcp-use-utf8/prompts/view-utf8.md +8 -0
  133. package/benches/contrib/oss-mcp-use-utf8/verifiers/view-utf8.mjs +120 -0
  134. package/benches/contrib/oss-minipass/README.md +29 -0
  135. package/benches/contrib/oss-minipass/bench.json +43 -0
  136. package/benches/contrib/oss-minipass/fixtures/async-end/LICENSE +15 -0
  137. package/benches/contrib/oss-minipass/fixtures/async-end/README.md +717 -0
  138. package/benches/contrib/oss-minipass/fixtures/async-end/UPSTREAM.package.json +39 -0
  139. package/benches/contrib/oss-minipass/fixtures/async-end/index.js +615 -0
  140. package/benches/contrib/oss-minipass/fixtures/async-end/package.json +8 -0
  141. package/benches/contrib/oss-minipass/fixtures/async-end/runtime.cjs +11 -0
  142. package/benches/contrib/oss-minipass/fixtures/async-end/test.mjs +16 -0
  143. package/benches/contrib/oss-minipass/fixtures/async-end/vendor/yallist/LICENSE +15 -0
  144. package/benches/contrib/oss-minipass/fixtures/async-end/vendor/yallist/README.md +204 -0
  145. package/benches/contrib/oss-minipass/fixtures/async-end/vendor/yallist/iterator.js +8 -0
  146. package/benches/contrib/oss-minipass/fixtures/async-end/vendor/yallist/package.json +29 -0
  147. package/benches/contrib/oss-minipass/fixtures/async-end/vendor/yallist/yallist.js +426 -0
  148. package/benches/contrib/oss-minipass/fixtures/buffered-readable/LICENSE +15 -0
  149. package/benches/contrib/oss-minipass/fixtures/buffered-readable/README.md +613 -0
  150. package/benches/contrib/oss-minipass/fixtures/buffered-readable/UPSTREAM.package.json +39 -0
  151. package/benches/contrib/oss-minipass/fixtures/buffered-readable/index.js +594 -0
  152. package/benches/contrib/oss-minipass/fixtures/buffered-readable/package.json +8 -0
  153. package/benches/contrib/oss-minipass/fixtures/buffered-readable/runtime.cjs +11 -0
  154. package/benches/contrib/oss-minipass/fixtures/buffered-readable/test.mjs +16 -0
  155. package/benches/contrib/oss-minipass/fixtures/buffered-readable/vendor/yallist/LICENSE +15 -0
  156. package/benches/contrib/oss-minipass/fixtures/buffered-readable/vendor/yallist/README.md +204 -0
  157. package/benches/contrib/oss-minipass/fixtures/buffered-readable/vendor/yallist/iterator.js +8 -0
  158. package/benches/contrib/oss-minipass/fixtures/buffered-readable/vendor/yallist/package.json +29 -0
  159. package/benches/contrib/oss-minipass/fixtures/buffered-readable/vendor/yallist/yallist.js +426 -0
  160. package/benches/contrib/oss-minipass/fixtures/end-listeners/LICENSE +15 -0
  161. package/benches/contrib/oss-minipass/fixtures/end-listeners/README.md +205 -0
  162. package/benches/contrib/oss-minipass/fixtures/end-listeners/UPSTREAM.package.json +34 -0
  163. package/benches/contrib/oss-minipass/fixtures/end-listeners/index.js +415 -0
  164. package/benches/contrib/oss-minipass/fixtures/end-listeners/package.json +8 -0
  165. package/benches/contrib/oss-minipass/fixtures/end-listeners/runtime.cjs +11 -0
  166. package/benches/contrib/oss-minipass/fixtures/end-listeners/test.mjs +16 -0
  167. package/benches/contrib/oss-minipass/fixtures/end-listeners/vendor/yallist/LICENSE +15 -0
  168. package/benches/contrib/oss-minipass/fixtures/end-listeners/vendor/yallist/README.md +204 -0
  169. package/benches/contrib/oss-minipass/fixtures/end-listeners/vendor/yallist/iterator.js +8 -0
  170. package/benches/contrib/oss-minipass/fixtures/end-listeners/vendor/yallist/package.json +29 -0
  171. package/benches/contrib/oss-minipass/fixtures/end-listeners/vendor/yallist/yallist.js +426 -0
  172. package/benches/contrib/oss-minipass/fixtures/pipeline-order/LICENSE +15 -0
  173. package/benches/contrib/oss-minipass/fixtures/pipeline-order/README.md +613 -0
  174. package/benches/contrib/oss-minipass/fixtures/pipeline-order/UPSTREAM.package.json +39 -0
  175. package/benches/contrib/oss-minipass/fixtures/pipeline-order/index.js +538 -0
  176. package/benches/contrib/oss-minipass/fixtures/pipeline-order/package.json +8 -0
  177. package/benches/contrib/oss-minipass/fixtures/pipeline-order/runtime.cjs +11 -0
  178. package/benches/contrib/oss-minipass/fixtures/pipeline-order/test.mjs +16 -0
  179. package/benches/contrib/oss-minipass/fixtures/pipeline-order/vendor/yallist/LICENSE +15 -0
  180. package/benches/contrib/oss-minipass/fixtures/pipeline-order/vendor/yallist/README.md +204 -0
  181. package/benches/contrib/oss-minipass/fixtures/pipeline-order/vendor/yallist/iterator.js +8 -0
  182. package/benches/contrib/oss-minipass/fixtures/pipeline-order/vendor/yallist/package.json +29 -0
  183. package/benches/contrib/oss-minipass/fixtures/pipeline-order/vendor/yallist/yallist.js +426 -0
  184. package/benches/contrib/oss-minipass/ground-truth/async-end/LICENSE +15 -0
  185. package/benches/contrib/oss-minipass/ground-truth/async-end/README.md +717 -0
  186. package/benches/contrib/oss-minipass/ground-truth/async-end/UPSTREAM.package.json +39 -0
  187. package/benches/contrib/oss-minipass/ground-truth/async-end/index.js +622 -0
  188. package/benches/contrib/oss-minipass/ground-truth/async-end/package.json +8 -0
  189. package/benches/contrib/oss-minipass/ground-truth/async-end/regression.test.mjs +10 -0
  190. package/benches/contrib/oss-minipass/ground-truth/async-end/runtime.cjs +11 -0
  191. package/benches/contrib/oss-minipass/ground-truth/async-end/test.mjs +16 -0
  192. package/benches/contrib/oss-minipass/ground-truth/async-end/vendor/yallist/LICENSE +15 -0
  193. package/benches/contrib/oss-minipass/ground-truth/async-end/vendor/yallist/README.md +204 -0
  194. package/benches/contrib/oss-minipass/ground-truth/async-end/vendor/yallist/iterator.js +8 -0
  195. package/benches/contrib/oss-minipass/ground-truth/async-end/vendor/yallist/package.json +29 -0
  196. package/benches/contrib/oss-minipass/ground-truth/async-end/vendor/yallist/yallist.js +426 -0
  197. package/benches/contrib/oss-minipass/ground-truth/buffered-readable/LICENSE +15 -0
  198. package/benches/contrib/oss-minipass/ground-truth/buffered-readable/README.md +613 -0
  199. package/benches/contrib/oss-minipass/ground-truth/buffered-readable/UPSTREAM.package.json +39 -0
  200. package/benches/contrib/oss-minipass/ground-truth/buffered-readable/index.js +596 -0
  201. package/benches/contrib/oss-minipass/ground-truth/buffered-readable/package.json +8 -0
  202. package/benches/contrib/oss-minipass/ground-truth/buffered-readable/regression.test.mjs +9 -0
  203. package/benches/contrib/oss-minipass/ground-truth/buffered-readable/runtime.cjs +11 -0
  204. package/benches/contrib/oss-minipass/ground-truth/buffered-readable/test.mjs +16 -0
  205. package/benches/contrib/oss-minipass/ground-truth/buffered-readable/vendor/yallist/LICENSE +15 -0
  206. package/benches/contrib/oss-minipass/ground-truth/buffered-readable/vendor/yallist/README.md +204 -0
  207. package/benches/contrib/oss-minipass/ground-truth/buffered-readable/vendor/yallist/iterator.js +8 -0
  208. package/benches/contrib/oss-minipass/ground-truth/buffered-readable/vendor/yallist/package.json +29 -0
  209. package/benches/contrib/oss-minipass/ground-truth/buffered-readable/vendor/yallist/yallist.js +426 -0
  210. package/benches/contrib/oss-minipass/ground-truth/end-listeners/LICENSE +15 -0
  211. package/benches/contrib/oss-minipass/ground-truth/end-listeners/README.md +205 -0
  212. package/benches/contrib/oss-minipass/ground-truth/end-listeners/UPSTREAM.package.json +34 -0
  213. package/benches/contrib/oss-minipass/ground-truth/end-listeners/index.js +407 -0
  214. package/benches/contrib/oss-minipass/ground-truth/end-listeners/package.json +8 -0
  215. package/benches/contrib/oss-minipass/ground-truth/end-listeners/regression.test.mjs +9 -0
  216. package/benches/contrib/oss-minipass/ground-truth/end-listeners/runtime.cjs +11 -0
  217. package/benches/contrib/oss-minipass/ground-truth/end-listeners/test.mjs +16 -0
  218. package/benches/contrib/oss-minipass/ground-truth/end-listeners/vendor/yallist/LICENSE +15 -0
  219. package/benches/contrib/oss-minipass/ground-truth/end-listeners/vendor/yallist/README.md +204 -0
  220. package/benches/contrib/oss-minipass/ground-truth/end-listeners/vendor/yallist/iterator.js +8 -0
  221. package/benches/contrib/oss-minipass/ground-truth/end-listeners/vendor/yallist/package.json +29 -0
  222. package/benches/contrib/oss-minipass/ground-truth/end-listeners/vendor/yallist/yallist.js +426 -0
  223. package/benches/contrib/oss-minipass/ground-truth/oracle-async-end.mjs +4 -0
  224. package/benches/contrib/oss-minipass/ground-truth/oracle-buffered-readable.mjs +4 -0
  225. package/benches/contrib/oss-minipass/ground-truth/oracle-end-listeners.mjs +4 -0
  226. package/benches/contrib/oss-minipass/ground-truth/oracle-pipeline-order.mjs +4 -0
  227. package/benches/contrib/oss-minipass/ground-truth/pipeline-order/LICENSE +15 -0
  228. package/benches/contrib/oss-minipass/ground-truth/pipeline-order/README.md +613 -0
  229. package/benches/contrib/oss-minipass/ground-truth/pipeline-order/UPSTREAM.package.json +39 -0
  230. package/benches/contrib/oss-minipass/ground-truth/pipeline-order/index.js +545 -0
  231. package/benches/contrib/oss-minipass/ground-truth/pipeline-order/package.json +8 -0
  232. package/benches/contrib/oss-minipass/ground-truth/pipeline-order/regression.test.mjs +19 -0
  233. package/benches/contrib/oss-minipass/ground-truth/pipeline-order/runtime.cjs +11 -0
  234. package/benches/contrib/oss-minipass/ground-truth/pipeline-order/test.mjs +16 -0
  235. package/benches/contrib/oss-minipass/ground-truth/pipeline-order/vendor/yallist/LICENSE +15 -0
  236. package/benches/contrib/oss-minipass/ground-truth/pipeline-order/vendor/yallist/README.md +204 -0
  237. package/benches/contrib/oss-minipass/ground-truth/pipeline-order/vendor/yallist/iterator.js +8 -0
  238. package/benches/contrib/oss-minipass/ground-truth/pipeline-order/vendor/yallist/package.json +29 -0
  239. package/benches/contrib/oss-minipass/ground-truth/pipeline-order/vendor/yallist/yallist.js +426 -0
  240. package/benches/contrib/oss-minipass/prompts/async-end.md +3 -0
  241. package/benches/contrib/oss-minipass/prompts/buffered-readable.md +3 -0
  242. package/benches/contrib/oss-minipass/prompts/end-listeners.md +3 -0
  243. package/benches/contrib/oss-minipass/prompts/pipeline-order.md +3 -0
  244. package/benches/contrib/oss-minipass/provenance.json +87 -0
  245. package/benches/contrib/oss-minipass/upstream/async-end.patch +83 -0
  246. package/benches/contrib/oss-minipass/upstream/buffered-readable.patch +79 -0
  247. package/benches/contrib/oss-minipass/upstream/end-listeners.patch +77 -0
  248. package/benches/contrib/oss-minipass/upstream/pipeline-order.patch +173 -0
  249. package/benches/contrib/oss-minipass/verifiers/async-end.mjs +2 -0
  250. package/benches/contrib/oss-minipass/verifiers/buffered-readable.mjs +2 -0
  251. package/benches/contrib/oss-minipass/verifiers/cases.mjs +88 -0
  252. package/benches/contrib/oss-minipass/verifiers/end-listeners.mjs +2 -0
  253. package/benches/contrib/oss-minipass/verifiers/grade.mjs +35 -0
  254. package/benches/contrib/oss-minipass/verifiers/pipeline-order.mjs +2 -0
  255. package/benches/contrib/oss-minipass/verifiers/probe.mjs +10 -0
  256. package/benches/contrib/oss-minipass/verifiers/regression-evidence.mjs +98 -0
  257. package/benches/contrib/oss-minipass/verifiers/test-reporter.mjs +29 -0
  258. package/benches/contrib/oss-normalize-url/README.md +28 -0
  259. package/benches/contrib/oss-normalize-url/bench.json +14 -0
  260. package/benches/contrib/oss-normalize-url/fixtures/query-shape/index.d.ts +303 -0
  261. package/benches/contrib/oss-normalize-url/fixtures/query-shape/index.js +285 -0
  262. package/benches/contrib/oss-normalize-url/fixtures/query-shape/license +9 -0
  263. package/benches/contrib/oss-normalize-url/fixtures/query-shape/package.json +57 -0
  264. package/benches/contrib/oss-normalize-url/fixtures/query-shape/readme.md +312 -0
  265. package/benches/contrib/oss-normalize-url/fixtures/query-shape/test.js +427 -0
  266. package/benches/contrib/oss-normalize-url/fixtures/query-shape/test.mjs +4 -0
  267. package/benches/contrib/oss-normalize-url/ground-truth/oracle-query-shape.mjs +7 -0
  268. package/benches/contrib/oss-normalize-url/ground-truth/query-shape/index.js +294 -0
  269. package/benches/contrib/oss-normalize-url/ground-truth/query-shape/license +9 -0
  270. package/benches/contrib/oss-normalize-url/ground-truth/query-shape.md +12 -0
  271. package/benches/contrib/oss-normalize-url/ground-truth/query-shape.regression.test.mjs +6 -0
  272. package/benches/contrib/oss-normalize-url/prompts/query-shape.md +7 -0
  273. package/benches/contrib/oss-normalize-url/provenance.json +41 -0
  274. package/benches/contrib/oss-normalize-url/verifiers/cases.mjs +26 -0
  275. package/benches/contrib/oss-normalize-url/verifiers/probe.mjs +10 -0
  276. package/benches/contrib/oss-normalize-url/verifiers/query-shape.mjs +40 -0
  277. package/benches/contrib/oss-normalize-url/verifiers/regression-evidence.mjs +98 -0
  278. package/benches/contrib/oss-normalize-url/verifiers/test-reporter.mjs +29 -0
  279. package/benches/contrib/oss-skill-followup/README.md +61 -0
  280. package/benches/contrib/oss-skill-followup/bench.json +79 -0
  281. package/benches/contrib/oss-skill-followup/fixtures/debounce-context-classes/LICENSE +11 -0
  282. package/benches/contrib/oss-skill-followup/fixtures/debounce-context-classes/README.md +61 -0
  283. package/benches/contrib/oss-skill-followup/fixtures/debounce-context-classes/index.js +93 -0
  284. package/benches/contrib/oss-skill-followup/fixtures/debounce-context-classes/package.json +9 -0
  285. package/benches/contrib/oss-skill-followup/fixtures/debounce-context-classes/test-clock.mjs +64 -0
  286. package/benches/contrib/oss-skill-followup/fixtures/debounce-context-classes/test.mjs +22 -0
  287. package/benches/contrib/oss-skill-followup/fixtures/debounce-context-classes/upstream-package.json +47 -0
  288. package/benches/contrib/oss-skill-followup/fixtures/debounce-recursive-args/LICENSE +21 -0
  289. package/benches/contrib/oss-skill-followup/fixtures/debounce-recursive-args/README.md +69 -0
  290. package/benches/contrib/oss-skill-followup/fixtures/debounce-recursive-args/index.js +70 -0
  291. package/benches/contrib/oss-skill-followup/fixtures/debounce-recursive-args/package.json +9 -0
  292. package/benches/contrib/oss-skill-followup/fixtures/debounce-recursive-args/test-clock.mjs +64 -0
  293. package/benches/contrib/oss-skill-followup/fixtures/debounce-recursive-args/test.mjs +22 -0
  294. package/benches/contrib/oss-skill-followup/fixtures/debounce-recursive-args/upstream-package.json +27 -0
  295. package/benches/contrib/oss-skill-followup/fixtures/debounce-timer-boundary/LICENSE +23 -0
  296. package/benches/contrib/oss-skill-followup/fixtures/debounce-timer-boundary/README.md +46 -0
  297. package/benches/contrib/oss-skill-followup/fixtures/debounce-timer-boundary/index.js +56 -0
  298. package/benches/contrib/oss-skill-followup/fixtures/debounce-timer-boundary/package.json +9 -0
  299. package/benches/contrib/oss-skill-followup/fixtures/debounce-timer-boundary/test-clock.mjs +64 -0
  300. package/benches/contrib/oss-skill-followup/fixtures/debounce-timer-boundary/test.mjs +22 -0
  301. package/benches/contrib/oss-skill-followup/fixtures/debounce-timer-boundary/upstream-package.json +22 -0
  302. package/benches/contrib/oss-skill-followup/fixtures/duration-large-digits/LICENSE +24 -0
  303. package/benches/contrib/oss-skill-followup/fixtures/duration-large-digits/README.md +469 -0
  304. package/benches/contrib/oss-skill-followup/fixtures/duration-large-digits/index.js +1645 -0
  305. package/benches/contrib/oss-skill-followup/fixtures/duration-large-digits/package.json +9 -0
  306. package/benches/contrib/oss-skill-followup/fixtures/duration-large-digits/test-clock.mjs +64 -0
  307. package/benches/contrib/oss-skill-followup/fixtures/duration-large-digits/test.mjs +22 -0
  308. package/benches/contrib/oss-skill-followup/fixtures/duration-large-digits/upstream-package.json +86 -0
  309. package/benches/contrib/oss-skill-followup/fixtures/duration-plural-count/LICENSE +24 -0
  310. package/benches/contrib/oss-skill-followup/fixtures/duration-plural-count/README.md +470 -0
  311. package/benches/contrib/oss-skill-followup/fixtures/duration-plural-count/index.js +1676 -0
  312. package/benches/contrib/oss-skill-followup/fixtures/duration-plural-count/package.json +9 -0
  313. package/benches/contrib/oss-skill-followup/fixtures/duration-plural-count/test-clock.mjs +64 -0
  314. package/benches/contrib/oss-skill-followup/fixtures/duration-plural-count/test.mjs +22 -0
  315. package/benches/contrib/oss-skill-followup/fixtures/duration-plural-count/upstream-package.json +86 -0
  316. package/benches/contrib/oss-skill-followup/fixtures/promise-falsy-rejection/LICENSE +9 -0
  317. package/benches/contrib/oss-skill-followup/fixtures/promise-falsy-rejection/README.md +136 -0
  318. package/benches/contrib/oss-skill-followup/fixtures/promise-falsy-rejection/index.js +153 -0
  319. package/benches/contrib/oss-skill-followup/fixtures/promise-falsy-rejection/package.json +9 -0
  320. package/benches/contrib/oss-skill-followup/fixtures/promise-falsy-rejection/test-clock.mjs +64 -0
  321. package/benches/contrib/oss-skill-followup/fixtures/promise-falsy-rejection/test.mjs +22 -0
  322. package/benches/contrib/oss-skill-followup/fixtures/promise-falsy-rejection/upstream-package.json +53 -0
  323. package/benches/contrib/oss-skill-followup/fixtures/promise-method-context/LICENSE +9 -0
  324. package/benches/contrib/oss-skill-followup/fixtures/promise-method-context/README.md +92 -0
  325. package/benches/contrib/oss-skill-followup/fixtures/promise-method-context/index.js +57 -0
  326. package/benches/contrib/oss-skill-followup/fixtures/promise-method-context/package.json +9 -0
  327. package/benches/contrib/oss-skill-followup/fixtures/promise-method-context/test-clock.mjs +64 -0
  328. package/benches/contrib/oss-skill-followup/fixtures/promise-method-context/test.mjs +22 -0
  329. package/benches/contrib/oss-skill-followup/fixtures/promise-method-context/upstream-package.json +53 -0
  330. package/benches/contrib/oss-skill-followup/fixtures/promise-overlap-results/LICENSE +9 -0
  331. package/benches/contrib/oss-skill-followup/fixtures/promise-overlap-results/README.md +102 -0
  332. package/benches/contrib/oss-skill-followup/fixtures/promise-overlap-results/index.js +117 -0
  333. package/benches/contrib/oss-skill-followup/fixtures/promise-overlap-results/package.json +9 -0
  334. package/benches/contrib/oss-skill-followup/fixtures/promise-overlap-results/test-clock.mjs +64 -0
  335. package/benches/contrib/oss-skill-followup/fixtures/promise-overlap-results/test.mjs +22 -0
  336. package/benches/contrib/oss-skill-followup/fixtures/promise-overlap-results/upstream-package.json +53 -0
  337. package/benches/contrib/oss-skill-followup/ground-truth/debounce-context-classes/index.js +97 -0
  338. package/benches/contrib/oss-skill-followup/ground-truth/debounce-context-classes/regression.test.mjs +2 -0
  339. package/benches/contrib/oss-skill-followup/ground-truth/debounce-recursive-args/index.js +72 -0
  340. package/benches/contrib/oss-skill-followup/ground-truth/debounce-recursive-args/regression.test.mjs +2 -0
  341. package/benches/contrib/oss-skill-followup/ground-truth/debounce-timer-boundary/index.js +56 -0
  342. package/benches/contrib/oss-skill-followup/ground-truth/debounce-timer-boundary/regression.test.mjs +2 -0
  343. package/benches/contrib/oss-skill-followup/ground-truth/duration-large-digits/index.js +1643 -0
  344. package/benches/contrib/oss-skill-followup/ground-truth/duration-large-digits/regression.test.mjs +2 -0
  345. package/benches/contrib/oss-skill-followup/ground-truth/duration-plural-count/index.js +1676 -0
  346. package/benches/contrib/oss-skill-followup/ground-truth/duration-plural-count/regression.test.mjs +2 -0
  347. package/benches/contrib/oss-skill-followup/ground-truth/oracle-debounce-context-classes.mjs +1 -0
  348. package/benches/contrib/oss-skill-followup/ground-truth/oracle-debounce-recursive-args.mjs +1 -0
  349. package/benches/contrib/oss-skill-followup/ground-truth/oracle-debounce-timer-boundary.mjs +1 -0
  350. package/benches/contrib/oss-skill-followup/ground-truth/oracle-duration-large-digits.mjs +1 -0
  351. package/benches/contrib/oss-skill-followup/ground-truth/oracle-duration-plural-count.mjs +1 -0
  352. package/benches/contrib/oss-skill-followup/ground-truth/oracle-promise-falsy-rejection.mjs +1 -0
  353. package/benches/contrib/oss-skill-followup/ground-truth/oracle-promise-method-context.mjs +1 -0
  354. package/benches/contrib/oss-skill-followup/ground-truth/oracle-promise-overlap-results.mjs +1 -0
  355. package/benches/contrib/oss-skill-followup/ground-truth/promise-falsy-rejection/index.js +155 -0
  356. package/benches/contrib/oss-skill-followup/ground-truth/promise-falsy-rejection/regression.test.mjs +2 -0
  357. package/benches/contrib/oss-skill-followup/ground-truth/promise-method-context/index.js +57 -0
  358. package/benches/contrib/oss-skill-followup/ground-truth/promise-method-context/regression.test.mjs +2 -0
  359. package/benches/contrib/oss-skill-followup/ground-truth/promise-overlap-results/index.js +112 -0
  360. package/benches/contrib/oss-skill-followup/ground-truth/promise-overlap-results/regression.test.mjs +2 -0
  361. package/benches/contrib/oss-skill-followup/prompts/debounce-context-classes.md +3 -0
  362. package/benches/contrib/oss-skill-followup/prompts/debounce-recursive-args.md +3 -0
  363. package/benches/contrib/oss-skill-followup/prompts/debounce-timer-boundary.md +3 -0
  364. package/benches/contrib/oss-skill-followup/prompts/duration-large-digits.md +3 -0
  365. package/benches/contrib/oss-skill-followup/prompts/duration-plural-count.md +3 -0
  366. package/benches/contrib/oss-skill-followup/prompts/promise-falsy-rejection.md +3 -0
  367. package/benches/contrib/oss-skill-followup/prompts/promise-method-context.md +3 -0
  368. package/benches/contrib/oss-skill-followup/prompts/promise-overlap-results.md +3 -0
  369. package/benches/contrib/oss-skill-followup/provenance.json +730 -0
  370. package/benches/contrib/oss-skill-followup/test-clock.mjs +64 -0
  371. package/benches/contrib/oss-skill-followup/verifiers/cases.mjs +214 -0
  372. package/benches/contrib/oss-skill-followup/verifiers/debounce-context-classes.mjs +1 -0
  373. package/benches/contrib/oss-skill-followup/verifiers/debounce-recursive-args.mjs +1 -0
  374. package/benches/contrib/oss-skill-followup/verifiers/debounce-timer-boundary.mjs +1 -0
  375. package/benches/contrib/oss-skill-followup/verifiers/duration-large-digits.mjs +1 -0
  376. package/benches/contrib/oss-skill-followup/verifiers/duration-plural-count.mjs +1 -0
  377. package/benches/contrib/oss-skill-followup/verifiers/grade.mjs +35 -0
  378. package/benches/contrib/oss-skill-followup/verifiers/probe.mjs +10 -0
  379. package/benches/contrib/oss-skill-followup/verifiers/promise-falsy-rejection.mjs +1 -0
  380. package/benches/contrib/oss-skill-followup/verifiers/promise-method-context.mjs +1 -0
  381. package/benches/contrib/oss-skill-followup/verifiers/promise-overlap-results.mjs +1 -0
  382. package/benches/contrib/oss-skill-followup/verifiers/regression-evidence.mjs +98 -0
  383. package/benches/contrib/oss-skill-followup/verifiers/test-reporter.mjs +29 -0
  384. package/benches/contrib/oss-skill-validation/README.md +36 -0
  385. package/benches/contrib/oss-skill-validation/bench.json +79 -0
  386. package/benches/contrib/oss-skill-validation/fixtures/async-concurrency/UPSTREAM.package.json +57 -0
  387. package/benches/contrib/oss-skill-validation/fixtures/async-concurrency/index.js +281 -0
  388. package/benches/contrib/oss-skill-validation/fixtures/async-concurrency/license +9 -0
  389. package/benches/contrib/oss-skill-validation/fixtures/async-concurrency/package.json +8 -0
  390. package/benches/contrib/oss-skill-validation/fixtures/async-concurrency/readme.md +169 -0
  391. package/benches/contrib/oss-skill-validation/fixtures/async-concurrency/test.mjs +5 -0
  392. package/benches/contrib/oss-skill-validation/fixtures/cold-thenable/UPSTREAM.package.json +57 -0
  393. package/benches/contrib/oss-skill-validation/fixtures/cold-thenable/index.js +661 -0
  394. package/benches/contrib/oss-skill-validation/fixtures/cold-thenable/license +9 -0
  395. package/benches/contrib/oss-skill-validation/fixtures/cold-thenable/package.json +8 -0
  396. package/benches/contrib/oss-skill-validation/fixtures/cold-thenable/readme.md +404 -0
  397. package/benches/contrib/oss-skill-validation/fixtures/cold-thenable/test.mjs +5 -0
  398. package/benches/contrib/oss-skill-validation/fixtures/consumer-stop/UPSTREAM.package.json +57 -0
  399. package/benches/contrib/oss-skill-validation/fixtures/consumer-stop/index.js +288 -0
  400. package/benches/contrib/oss-skill-validation/fixtures/consumer-stop/license +9 -0
  401. package/benches/contrib/oss-skill-validation/fixtures/consumer-stop/package.json +8 -0
  402. package/benches/contrib/oss-skill-validation/fixtures/consumer-stop/readme.md +190 -0
  403. package/benches/contrib/oss-skill-validation/fixtures/consumer-stop/test.mjs +5 -0
  404. package/benches/contrib/oss-skill-validation/fixtures/mapper-index/UPSTREAM.package.json +57 -0
  405. package/benches/contrib/oss-skill-validation/fixtures/mapper-index/index.js +283 -0
  406. package/benches/contrib/oss-skill-validation/fixtures/mapper-index/license +9 -0
  407. package/benches/contrib/oss-skill-validation/fixtures/mapper-index/package.json +8 -0
  408. package/benches/contrib/oss-skill-validation/fixtures/mapper-index/readme.md +190 -0
  409. package/benches/contrib/oss-skill-validation/fixtures/mapper-index/test.mjs +5 -0
  410. package/benches/contrib/oss-skill-validation/fixtures/source-close/UPSTREAM.package.json +57 -0
  411. package/benches/contrib/oss-skill-validation/fixtures/source-close/index.js +300 -0
  412. package/benches/contrib/oss-skill-validation/fixtures/source-close/license +9 -0
  413. package/benches/contrib/oss-skill-validation/fixtures/source-close/package.json +8 -0
  414. package/benches/contrib/oss-skill-validation/fixtures/source-close/readme.md +190 -0
  415. package/benches/contrib/oss-skill-validation/fixtures/source-close/test.mjs +5 -0
  416. package/benches/contrib/oss-skill-validation/fixtures/source-error/UPSTREAM.package.json +57 -0
  417. package/benches/contrib/oss-skill-validation/fixtures/source-error/index.js +293 -0
  418. package/benches/contrib/oss-skill-validation/fixtures/source-error/license +9 -0
  419. package/benches/contrib/oss-skill-validation/fixtures/source-error/package.json +8 -0
  420. package/benches/contrib/oss-skill-validation/fixtures/source-error/readme.md +190 -0
  421. package/benches/contrib/oss-skill-validation/fixtures/source-error/test.mjs +5 -0
  422. package/benches/contrib/oss-skill-validation/fixtures/ttl-duration/UPSTREAM.package.json +51 -0
  423. package/benches/contrib/oss-skill-validation/fixtures/ttl-duration/index.js +261 -0
  424. package/benches/contrib/oss-skill-validation/fixtures/ttl-duration/license +9 -0
  425. package/benches/contrib/oss-skill-validation/fixtures/ttl-duration/package.json +8 -0
  426. package/benches/contrib/oss-skill-validation/fixtures/ttl-duration/readme.md +143 -0
  427. package/benches/contrib/oss-skill-validation/fixtures/ttl-duration/test.mjs +5 -0
  428. package/benches/contrib/oss-skill-validation/fixtures/ttl-refresh/UPSTREAM.package.json +51 -0
  429. package/benches/contrib/oss-skill-validation/fixtures/ttl-refresh/index.js +261 -0
  430. package/benches/contrib/oss-skill-validation/fixtures/ttl-refresh/license +9 -0
  431. package/benches/contrib/oss-skill-validation/fixtures/ttl-refresh/package.json +8 -0
  432. package/benches/contrib/oss-skill-validation/fixtures/ttl-refresh/readme.md +143 -0
  433. package/benches/contrib/oss-skill-validation/fixtures/ttl-refresh/test.mjs +5 -0
  434. package/benches/contrib/oss-skill-validation/ground-truth/async-concurrency/UPSTREAM.package.json +57 -0
  435. package/benches/contrib/oss-skill-validation/ground-truth/async-concurrency/index.js +281 -0
  436. package/benches/contrib/oss-skill-validation/ground-truth/async-concurrency/license +9 -0
  437. package/benches/contrib/oss-skill-validation/ground-truth/async-concurrency/package.json +8 -0
  438. package/benches/contrib/oss-skill-validation/ground-truth/async-concurrency/readme.md +169 -0
  439. package/benches/contrib/oss-skill-validation/ground-truth/async-concurrency/regression.test.mjs +115 -0
  440. package/benches/contrib/oss-skill-validation/ground-truth/async-concurrency/test.mjs +5 -0
  441. package/benches/contrib/oss-skill-validation/ground-truth/cold-thenable/UPSTREAM.package.json +57 -0
  442. package/benches/contrib/oss-skill-validation/ground-truth/cold-thenable/index.js +663 -0
  443. package/benches/contrib/oss-skill-validation/ground-truth/cold-thenable/license +9 -0
  444. package/benches/contrib/oss-skill-validation/ground-truth/cold-thenable/package.json +8 -0
  445. package/benches/contrib/oss-skill-validation/ground-truth/cold-thenable/readme.md +404 -0
  446. package/benches/contrib/oss-skill-validation/ground-truth/cold-thenable/regression.test.mjs +115 -0
  447. package/benches/contrib/oss-skill-validation/ground-truth/cold-thenable/test.mjs +5 -0
  448. package/benches/contrib/oss-skill-validation/ground-truth/consumer-stop/UPSTREAM.package.json +57 -0
  449. package/benches/contrib/oss-skill-validation/ground-truth/consumer-stop/index.js +293 -0
  450. package/benches/contrib/oss-skill-validation/ground-truth/consumer-stop/license +9 -0
  451. package/benches/contrib/oss-skill-validation/ground-truth/consumer-stop/package.json +8 -0
  452. package/benches/contrib/oss-skill-validation/ground-truth/consumer-stop/readme.md +190 -0
  453. package/benches/contrib/oss-skill-validation/ground-truth/consumer-stop/regression.test.mjs +115 -0
  454. package/benches/contrib/oss-skill-validation/ground-truth/consumer-stop/test.mjs +5 -0
  455. package/benches/contrib/oss-skill-validation/ground-truth/mapper-index/UPSTREAM.package.json +57 -0
  456. package/benches/contrib/oss-skill-validation/ground-truth/mapper-index/index.js +284 -0
  457. package/benches/contrib/oss-skill-validation/ground-truth/mapper-index/license +9 -0
  458. package/benches/contrib/oss-skill-validation/ground-truth/mapper-index/package.json +8 -0
  459. package/benches/contrib/oss-skill-validation/ground-truth/mapper-index/readme.md +190 -0
  460. package/benches/contrib/oss-skill-validation/ground-truth/mapper-index/regression.test.mjs +115 -0
  461. package/benches/contrib/oss-skill-validation/ground-truth/mapper-index/test.mjs +5 -0
  462. package/benches/contrib/oss-skill-validation/ground-truth/oracle-async-concurrency.mjs +4 -0
  463. package/benches/contrib/oss-skill-validation/ground-truth/oracle-cold-thenable.mjs +4 -0
  464. package/benches/contrib/oss-skill-validation/ground-truth/oracle-consumer-stop.mjs +4 -0
  465. package/benches/contrib/oss-skill-validation/ground-truth/oracle-mapper-index.mjs +4 -0
  466. package/benches/contrib/oss-skill-validation/ground-truth/oracle-source-close.mjs +4 -0
  467. package/benches/contrib/oss-skill-validation/ground-truth/oracle-source-error.mjs +4 -0
  468. package/benches/contrib/oss-skill-validation/ground-truth/oracle-ttl-duration.mjs +4 -0
  469. package/benches/contrib/oss-skill-validation/ground-truth/oracle-ttl-refresh.mjs +4 -0
  470. package/benches/contrib/oss-skill-validation/ground-truth/source-close/UPSTREAM.package.json +57 -0
  471. package/benches/contrib/oss-skill-validation/ground-truth/source-close/index.js +310 -0
  472. package/benches/contrib/oss-skill-validation/ground-truth/source-close/license +9 -0
  473. package/benches/contrib/oss-skill-validation/ground-truth/source-close/package.json +8 -0
  474. package/benches/contrib/oss-skill-validation/ground-truth/source-close/readme.md +190 -0
  475. package/benches/contrib/oss-skill-validation/ground-truth/source-close/regression.test.mjs +115 -0
  476. package/benches/contrib/oss-skill-validation/ground-truth/source-close/test.mjs +5 -0
  477. package/benches/contrib/oss-skill-validation/ground-truth/source-error/UPSTREAM.package.json +57 -0
  478. package/benches/contrib/oss-skill-validation/ground-truth/source-error/index.js +292 -0
  479. package/benches/contrib/oss-skill-validation/ground-truth/source-error/license +9 -0
  480. package/benches/contrib/oss-skill-validation/ground-truth/source-error/package.json +8 -0
  481. package/benches/contrib/oss-skill-validation/ground-truth/source-error/readme.md +190 -0
  482. package/benches/contrib/oss-skill-validation/ground-truth/source-error/regression.test.mjs +115 -0
  483. package/benches/contrib/oss-skill-validation/ground-truth/source-error/test.mjs +5 -0
  484. package/benches/contrib/oss-skill-validation/ground-truth/ttl-duration/UPSTREAM.package.json +51 -0
  485. package/benches/contrib/oss-skill-validation/ground-truth/ttl-duration/index.js +265 -0
  486. package/benches/contrib/oss-skill-validation/ground-truth/ttl-duration/license +9 -0
  487. package/benches/contrib/oss-skill-validation/ground-truth/ttl-duration/package.json +8 -0
  488. package/benches/contrib/oss-skill-validation/ground-truth/ttl-duration/readme.md +143 -0
  489. package/benches/contrib/oss-skill-validation/ground-truth/ttl-duration/regression.test.mjs +115 -0
  490. package/benches/contrib/oss-skill-validation/ground-truth/ttl-duration/test.mjs +5 -0
  491. package/benches/contrib/oss-skill-validation/ground-truth/ttl-refresh/UPSTREAM.package.json +51 -0
  492. package/benches/contrib/oss-skill-validation/ground-truth/ttl-refresh/index.js +261 -0
  493. package/benches/contrib/oss-skill-validation/ground-truth/ttl-refresh/license +9 -0
  494. package/benches/contrib/oss-skill-validation/ground-truth/ttl-refresh/package.json +8 -0
  495. package/benches/contrib/oss-skill-validation/ground-truth/ttl-refresh/readme.md +143 -0
  496. package/benches/contrib/oss-skill-validation/ground-truth/ttl-refresh/regression.test.mjs +115 -0
  497. package/benches/contrib/oss-skill-validation/ground-truth/ttl-refresh/test.mjs +5 -0
  498. package/benches/contrib/oss-skill-validation/prompts/async-concurrency.md +3 -0
  499. package/benches/contrib/oss-skill-validation/prompts/cold-thenable.md +3 -0
  500. package/benches/contrib/oss-skill-validation/prompts/consumer-stop.md +3 -0
  501. package/benches/contrib/oss-skill-validation/prompts/mapper-index.md +3 -0
  502. package/benches/contrib/oss-skill-validation/prompts/source-close.md +3 -0
  503. package/benches/contrib/oss-skill-validation/prompts/source-error.md +3 -0
  504. package/benches/contrib/oss-skill-validation/prompts/ttl-duration.md +3 -0
  505. package/benches/contrib/oss-skill-validation/prompts/ttl-refresh.md +3 -0
  506. package/benches/contrib/oss-skill-validation/provenance.json +119 -0
  507. package/benches/contrib/oss-skill-validation/upstream/async-concurrency.patch +77 -0
  508. package/benches/contrib/oss-skill-validation/upstream/cold-thenable.patch +162 -0
  509. package/benches/contrib/oss-skill-validation/upstream/consumer-stop.patch +217 -0
  510. package/benches/contrib/oss-skill-validation/upstream/mapper-index.patch +48 -0
  511. package/benches/contrib/oss-skill-validation/upstream/source-close.patch +179 -0
  512. package/benches/contrib/oss-skill-validation/upstream/source-error.patch +132 -0
  513. package/benches/contrib/oss-skill-validation/upstream/ttl-duration.patch +73 -0
  514. package/benches/contrib/oss-skill-validation/upstream/ttl-refresh.patch +41 -0
  515. package/benches/contrib/oss-skill-validation/verifiers/async-concurrency.mjs +2 -0
  516. package/benches/contrib/oss-skill-validation/verifiers/cases.mjs +111 -0
  517. package/benches/contrib/oss-skill-validation/verifiers/cold-thenable.mjs +2 -0
  518. package/benches/contrib/oss-skill-validation/verifiers/consumer-stop.mjs +2 -0
  519. package/benches/contrib/oss-skill-validation/verifiers/grade.mjs +35 -0
  520. package/benches/contrib/oss-skill-validation/verifiers/mapper-index.mjs +2 -0
  521. package/benches/contrib/oss-skill-validation/verifiers/probe.mjs +10 -0
  522. package/benches/contrib/oss-skill-validation/verifiers/regression-evidence.mjs +98 -0
  523. package/benches/contrib/oss-skill-validation/verifiers/source-close.mjs +2 -0
  524. package/benches/contrib/oss-skill-validation/verifiers/source-error.mjs +2 -0
  525. package/benches/contrib/oss-skill-validation/verifiers/test-reporter.mjs +29 -0
  526. package/benches/contrib/oss-skill-validation/verifiers/ttl-duration.mjs +2 -0
  527. package/benches/contrib/oss-skill-validation/verifiers/ttl-refresh.mjs +2 -0
  528. package/benches/contrib/waza-behavior/LICENSE.upstream +21 -0
  529. package/benches/contrib/waza-behavior/README.md +31 -0
  530. package/benches/contrib/waza-behavior/bench.json +10 -0
  531. package/benches/contrib/waza-behavior/fixtures/explicit-hold/README.md +1 -0
  532. package/benches/contrib/waza-behavior/fixtures/explicit-hold/notes.txt +1 -0
  533. package/benches/contrib/waza-behavior/fixtures/receipt-current/README.md +1 -0
  534. package/benches/contrib/waza-behavior/fixtures/receipt-current/docs/guide.md +2 -0
  535. package/benches/contrib/waza-behavior/fixtures/receipt-current/notes.txt +1 -0
  536. package/benches/contrib/waza-behavior/fixtures/receipt-current/scripts/check-links.mjs +16 -0
  537. package/benches/contrib/waza-behavior/fixtures/receipt-current/validation-receipt.json +10 -0
  538. package/benches/contrib/waza-behavior/fixtures/receipt-stale/README.md +1 -0
  539. package/benches/contrib/waza-behavior/fixtures/receipt-stale/docs/guide.md +3 -0
  540. package/benches/contrib/waza-behavior/fixtures/receipt-stale/notes.txt +1 -0
  541. package/benches/contrib/waza-behavior/fixtures/receipt-stale/scripts/check-links.mjs +16 -0
  542. package/benches/contrib/waza-behavior/fixtures/receipt-stale/validation-receipt.json +10 -0
  543. package/benches/contrib/waza-behavior/ground-truth/oracle.mjs +24 -0
  544. package/benches/contrib/waza-behavior/prompts/explicit-hold.md +1 -0
  545. package/benches/contrib/waza-behavior/prompts/receipt-current.md +1 -0
  546. package/benches/contrib/waza-behavior/prompts/receipt-stale.md +1 -0
  547. package/benches/contrib/waza-behavior/verifiers/behavior.mjs +59 -0
  548. package/benches/debugging/bench.json +93 -0
  549. package/benches/debugging/fixtures/async-queue/src/task-queue.mjs +50 -0
  550. package/benches/debugging/fixtures/async-queue/test/basic.test.mjs +18 -0
  551. package/benches/debugging/fixtures/chunked-decoder/src/frame-decoder.mjs +39 -0
  552. package/benches/debugging/fixtures/chunked-decoder/test/basic.test.mjs +17 -0
  553. package/benches/debugging/fixtures/debug-redaction/src/debug-redaction.mjs +33 -0
  554. package/benches/debugging/fixtures/debug-redaction/test/basic.test.mjs +26 -0
  555. package/benches/debugging/fixtures/document-queue/.skillfit-mock.json +16 -0
  556. package/benches/debugging/fixtures/document-queue/src/task-queue.mjs +52 -0
  557. package/benches/debugging/fixtures/document-queue/test/basic.test.mjs +23 -0
  558. package/benches/debugging/fixtures/explain-cache/.skillfit-mock.json +16 -0
  559. package/benches/debugging/fixtures/explain-cache/src/ttl-cache.mjs +31 -0
  560. package/benches/debugging/fixtures/explain-cache/test/basic.test.mjs +28 -0
  561. package/benches/debugging/fixtures/feat-slug/test/slug.test.mjs +15 -0
  562. package/benches/debugging/fixtures/range-parser/src/range-parser.mjs +9 -0
  563. package/benches/debugging/fixtures/range-parser/test/basic.test.mjs +8 -0
  564. package/benches/debugging/fixtures/ttl-cache/src/ttl-cache.mjs +30 -0
  565. package/benches/debugging/fixtures/ttl-cache/test/basic.test.mjs +11 -0
  566. package/benches/debugging/ground-truth/async-queue.md +81 -0
  567. package/benches/debugging/ground-truth/chunked-decoder.md +91 -0
  568. package/benches/debugging/ground-truth/debug-redaction.md +113 -0
  569. package/benches/debugging/ground-truth/document-queue.md +24 -0
  570. package/benches/debugging/ground-truth/explain-cache.md +22 -0
  571. package/benches/debugging/ground-truth/feat-slug.md +45 -0
  572. package/benches/debugging/ground-truth/oracle-async-queue.mjs +14 -0
  573. package/benches/debugging/ground-truth/oracle-chunked-decoder.mjs +14 -0
  574. package/benches/debugging/ground-truth/oracle-debug-redaction.mjs +30 -0
  575. package/benches/debugging/ground-truth/oracle-document-queue.mjs +27 -0
  576. package/benches/debugging/ground-truth/oracle-explain-cache.mjs +28 -0
  577. package/benches/debugging/ground-truth/oracle-feat-slug.mjs +13 -0
  578. package/benches/debugging/ground-truth/oracle-range-parser.mjs +14 -0
  579. package/benches/debugging/ground-truth/oracle-ttl-cache.mjs +14 -0
  580. package/benches/debugging/ground-truth/range-parser.md +121 -0
  581. package/benches/debugging/ground-truth/solutions/async-queue/src/task-queue.mjs +52 -0
  582. package/benches/debugging/ground-truth/solutions/chunked-decoder/src/frame-decoder.mjs +50 -0
  583. package/benches/debugging/ground-truth/solutions/debug-redaction/src/debug-redaction.mjs +27 -0
  584. package/benches/debugging/ground-truth/solutions/debug-redaction/test/debug-leak.regression.test.mjs +27 -0
  585. package/benches/debugging/ground-truth/solutions/feat-slug/src/slug.mjs +6 -0
  586. package/benches/debugging/ground-truth/solutions/range-parser/src/range-parser.mjs +34 -0
  587. package/benches/debugging/ground-truth/solutions/range-parser/test/basic.test.mjs +26 -0
  588. package/benches/debugging/ground-truth/solutions/ttl-cache/src/ttl-cache.mjs +31 -0
  589. package/benches/debugging/ground-truth/ttl-cache.md +69 -0
  590. package/benches/debugging/prompts/async-queue.md +13 -0
  591. package/benches/debugging/prompts/async-queue.trigger.md +13 -0
  592. package/benches/debugging/prompts/chunked-decoder.md +13 -0
  593. package/benches/debugging/prompts/chunked-decoder.trigger.md +13 -0
  594. package/benches/debugging/prompts/debug-redaction.md +23 -0
  595. package/benches/debugging/prompts/debug-redaction.trigger.md +23 -0
  596. package/benches/debugging/prompts/document-queue.md +10 -0
  597. package/benches/debugging/prompts/document-queue.trigger.md +10 -0
  598. package/benches/debugging/prompts/explain-cache.md +10 -0
  599. package/benches/debugging/prompts/explain-cache.trigger.md +10 -0
  600. package/benches/debugging/prompts/feat-slug.md +3 -0
  601. package/benches/debugging/prompts/feat-slug.trigger.md +5 -0
  602. package/benches/debugging/prompts/range-parser.md +15 -0
  603. package/benches/debugging/prompts/range-parser.trigger.md +15 -0
  604. package/benches/debugging/prompts/ttl-cache.md +18 -0
  605. package/benches/debugging/prompts/ttl-cache.trigger.md +18 -0
  606. package/benches/debugging/verifiers/async-queue.mjs +221 -0
  607. package/benches/debugging/verifiers/chunked-decoder.mjs +208 -0
  608. package/benches/debugging/verifiers/debug-redaction.mjs +283 -0
  609. package/benches/debugging/verifiers/document-queue.mjs +52 -0
  610. package/benches/debugging/verifiers/explain-cache.mjs +62 -0
  611. package/benches/debugging/verifiers/feat-slug.mjs +127 -0
  612. package/benches/debugging/verifiers/range-parser.mjs +146 -0
  613. package/benches/debugging/verifiers/ttl-cache.mjs +111 -0
  614. package/dist/agents.js +26 -0
  615. package/dist/cli.js +363 -0
  616. package/dist/cli.test.js +99 -0
  617. package/dist/commands/bench.js +1035 -0
  618. package/dist/commands/bench.test.js +1061 -0
  619. package/dist/commands/bundle.js +334 -0
  620. package/dist/commands/bundle.test.js +142 -0
  621. package/dist/commands/confirm.js +39 -0
  622. package/dist/commands/doctor.js +399 -0
  623. package/dist/commands/doctor.test.js +280 -0
  624. package/dist/commands/eval-component.js +89 -0
  625. package/dist/commands/eval-report.js +608 -0
  626. package/dist/commands/eval-report.test.js +367 -0
  627. package/dist/commands/eval.js +443 -0
  628. package/dist/commands/eval.test.js +446 -0
  629. package/dist/commands/install.js +653 -0
  630. package/dist/commands/install.test.js +555 -0
  631. package/dist/commands/mcp.js +23 -0
  632. package/dist/commands/report.js +78 -0
  633. package/dist/commands/report.test.js +110 -0
  634. package/dist/commands/setup.js +95 -0
  635. package/dist/commands/setup.test.js +150 -0
  636. package/dist/commands/upstream.js +210 -0
  637. package/dist/commands/upstream.test.js +139 -0
  638. package/dist/docs.test.js +154 -0
  639. package/dist/frontmatter.js +53 -0
  640. package/dist/frontmatter.test.js +49 -0
  641. package/dist/harness/bench.js +134 -0
  642. package/dist/harness/bench.test.js +109 -0
  643. package/dist/harness/bundle.js +46 -0
  644. package/dist/harness/bundle.test.js +71 -0
  645. package/dist/harness/codex-usage.js +87 -0
  646. package/dist/harness/codex-usage.test.js +87 -0
  647. package/dist/harness/constants.js +2 -0
  648. package/dist/harness/costs.js +123 -0
  649. package/dist/harness/costs.test.js +92 -0
  650. package/dist/harness/eval-acceptance.js +134 -0
  651. package/dist/harness/eval-audit.js +275 -0
  652. package/dist/harness/eval-component.test.js +571 -0
  653. package/dist/harness/eval-contract.js +107 -0
  654. package/dist/harness/eval-efficiency.js +50 -0
  655. package/dist/harness/eval-efficiency.test.js +56 -0
  656. package/dist/harness/execution-timing.js +66 -0
  657. package/dist/harness/execution-timing.test.js +61 -0
  658. package/dist/harness/executors/api.js +68 -0
  659. package/dist/harness/executors/api.test.js +75 -0
  660. package/dist/harness/executors/cli.js +450 -0
  661. package/dist/harness/executors/cli.test.js +510 -0
  662. package/dist/harness/executors/mock.js +34 -0
  663. package/dist/harness/executors/mock.test.js +43 -0
  664. package/dist/harness/experiment-session.js +389 -0
  665. package/dist/harness/experiment-session.test.js +267 -0
  666. package/dist/harness/hash.js +29 -0
  667. package/dist/harness/installed-skill.js +89 -0
  668. package/dist/harness/installed-skill.test.js +162 -0
  669. package/dist/harness/judge.js +108 -0
  670. package/dist/harness/judge.test.js +181 -0
  671. package/dist/harness/kill-tree.js +43 -0
  672. package/dist/harness/kimi-usage.js +94 -0
  673. package/dist/harness/kimi-usage.test.js +62 -0
  674. package/dist/harness/native-diff.js +61 -0
  675. package/dist/harness/native-diff.test.js +53 -0
  676. package/dist/harness/oss-lru-cache.test.js +79 -0
  677. package/dist/harness/oss-normalize-url.test.js +64 -0
  678. package/dist/harness/oss-regression-witness.test.js +89 -0
  679. package/dist/harness/oss-skill-followup.test.js +59 -0
  680. package/dist/harness/prompt.js +57 -0
  681. package/dist/harness/prompt.test.js +48 -0
  682. package/dist/harness/receipts.js +297 -0
  683. package/dist/harness/receipts.test.js +148 -0
  684. package/dist/harness/report.js +233 -0
  685. package/dist/harness/report.test.js +297 -0
  686. package/dist/harness/runner.js +693 -0
  687. package/dist/harness/runner.test.js +612 -0
  688. package/dist/harness/skill-revision.test.js +148 -0
  689. package/dist/harness/stats.js +93 -0
  690. package/dist/harness/stats.test.js +124 -0
  691. package/dist/harness/target.js +90 -0
  692. package/dist/harness/target.test.js +60 -0
  693. package/dist/harness/trigger.js +368 -0
  694. package/dist/harness/trigger.test.js +249 -0
  695. package/dist/harness/types.js +17 -0
  696. package/dist/harness/verifier-summary.js +59 -0
  697. package/dist/harness/verifier-summary.test.js +99 -0
  698. package/dist/harness/waza-behavior.test.js +139 -0
  699. package/dist/invocation.js +21 -0
  700. package/dist/matrix/agents.json +201 -0
  701. package/dist/matrix/agents.schema.json +153 -0
  702. package/dist/mcp/probe.js +458 -0
  703. package/dist/mcp/probe.test.js +139 -0
  704. package/dist/version.js +4 -0
  705. package/docs/assets/skillfit-flow.en.svg +47 -0
  706. package/docs/assets/skillfit-flow.zh-CN.svg +47 -0
  707. package/docs/assets/skillfit-mark.svg +9 -0
  708. package/docs/audit-2026-09-24-triage.md +231 -0
  709. package/docs/audit-2026-09-24.md +876 -0
  710. package/docs/bench-authoring.md +407 -0
  711. package/docs/codex-upstream-audit.md +41 -0
  712. package/docs/config-experiments.md +119 -0
  713. package/docs/eval-component.md +324 -0
  714. package/docs/eval-costs.md +117 -0
  715. package/docs/eval-timing.md +54 -0
  716. package/docs/examples/bench-check.yml +32 -0
  717. package/docs/examples/eval-manifest.synthetic.json +61 -0
  718. package/docs/examples/eval-request.diagnosing-v2-efficiency.json +28 -0
  719. package/docs/examples/eval-request.diagnosing-v2.json +24 -0
  720. package/docs/examples/eval-request.diagnosing-v4-efficiency.json +29 -0
  721. package/docs/examples/eval-request.diagnosing-v4-followup-efficiency.json +29 -0
  722. package/docs/experiment-workflow.md +15 -0
  723. package/docs/first-real-eval.md +90 -0
  724. package/docs/growth-roadmap-2026-10.md +102 -0
  725. package/docs/installed-skill-evaluation.md +101 -0
  726. package/docs/metrics.md +426 -0
  727. package/docs/oss-task-evaluation.md +139 -0
  728. package/docs/plans/2026-10-01-oss-task-evaluation.md +73 -0
  729. package/docs/plans/2026-10-09-experiment-workflow.md +18 -0
  730. package/docs/plans/2026-10-09-grader-calibration-audit.md +13 -0
  731. package/docs/plans/2026-10-09-waza-resource-evaluation.md +46 -0
  732. package/docs/plans/2026-10-13-skill-evolution.md +128 -0
  733. package/docs/plans/2026-10-13-skill-experiment-cleanup.md +73 -0
  734. package/docs/plans/2026-10-14-evidence-and-release-sequence.md +36 -0
  735. package/docs/plans/2026-10-14-skill-followup-restart.md +29 -0
  736. package/docs/plans/2026-10-14-skill-followup.md +83 -0
  737. package/docs/portable-codex.md +31 -0
  738. package/docs/releases/0.9.0.md +59 -0
  739. package/docs/reproducible-offline-example.md +29 -0
  740. package/docs/schemas/eval-policy.schema.json +46 -0
  741. package/docs/schemas/eval-request.schema.json +23 -0
  742. package/docs/schemas/eval-result.schema.json +47 -0
  743. package/docs/selectable-codex.md +41 -0
  744. package/docs/sharing-results.md +60 -0
  745. package/docs/skill-revisions.md +88 -0
  746. package/evidence/2026-07-skill-baseline.md +34 -0
  747. package/evidence/2026-09-22-codex-trigger-capture.md +36 -0
  748. package/evidence/2026-09-bench-calibration.md +46 -0
  749. package/evidence/2026-09-debugging-bench-exploratory.md +55 -0
  750. package/evidence/2026-09-debugging-hardening.md +42 -0
  751. package/evidence/2026-09-ocr-vs-code-review.md +31 -0
  752. package/evidence/2026-09-trigger-snapshot-correction.md +48 -0
  753. package/evidence/2026-10-01-codex-diagnosing-bugs-pilot.md +58 -0
  754. package/evidence/2026-10-01-oss-case-selection.md +42 -0
  755. package/evidence/2026-10-01-oss-workspace-smoke.md +110 -0
  756. package/evidence/2026-10-12-diagnosing-revision.md +170 -0
  757. package/evidence/2026-10-12-diagnosing-v2.md +151 -0
  758. package/evidence/2026-10-12-normalize-url-v2-comparison.md +67 -0
  759. package/evidence/2026-10-12-normalize-url-v2-recovery.md +79 -0
  760. package/evidence/2026-10-13-debugging-completed-development.md +144 -0
  761. package/evidence/2026-10-13-debugging-controls-and-sleep-stop.md +122 -0
  762. package/evidence/2026-10-13-debugging-development-stops.md +108 -0
  763. package/evidence/2026-10-13-normalize-url-v2-validation.md +154 -0
  764. package/evidence/2026-10-14-debugging-followup-routing-stop.md +140 -0
  765. package/evidence/2026-10-14-debugging-independent-validation.md +166 -0
  766. package/evidence/2026-10-14-debugging-reading-pilot-and-cost-review.md +180 -0
  767. package/evidence/2026-10-14-debugging-spending-stop.md +77 -0
  768. package/evidence/README.md +52 -0
  769. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/README.md +27 -0
  770. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/artifact-index.json +118 -0
  771. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/baseline/output.md +5 -0
  772. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/baseline/prompt.txt +14 -0
  773. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/baseline/result.json +65 -0
  774. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/baseline/verifier.txt +2 -0
  775. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/baseline/workspace/LICENSE +21 -0
  776. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/baseline/workspace/package.json +3 -0
  777. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/baseline/workspace/src/ext-apps-bridge.js +3 -0
  778. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/baseline/workspace/src/resolve-view-resource.ts +100 -0
  779. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/baseline/workspace/test/basic.test.mjs +13 -0
  780. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/baseline/workspace/test/resolve-view-resource.test.mjs +102 -0
  781. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/manifest.json +206 -0
  782. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/original-console.txt +44 -0
  783. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/report.md +67 -0
  784. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/treatment/output.md +5 -0
  785. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/treatment/prompt.txt +163 -0
  786. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/treatment/result.json +65 -0
  787. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/treatment/verifier.txt +2 -0
  788. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/treatment/workspace/LICENSE +21 -0
  789. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/treatment/workspace/package.json +3 -0
  790. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/treatment/workspace/src/ext-apps-bridge.js +3 -0
  791. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/treatment/workspace/src/resolve-view-resource.ts +100 -0
  792. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/treatment/workspace/test/basic.test.mjs +13 -0
  793. package/evidence/artifacts/2026-10-01-oss-workspace-smoke/treatment/workspace/test/resolve-view-resource.test.mjs +136 -0
  794. package/evidence/artifacts/2026-10-12-diagnosing-revision/README.md +107 -0
  795. package/evidence/artifacts/2026-10-12-diagnosing-revision/analysis-summary.json +150 -0
  796. package/evidence/artifacts/2026-10-12-diagnosing-revision/archive-regrade.json +277 -0
  797. package/evidence/artifacts/2026-10-12-diagnosing-revision/artifact-index.json +682 -0
  798. package/evidence/artifacts/2026-10-12-diagnosing-revision/calibration-export-index.json +549 -0
  799. package/evidence/artifacts/2026-10-12-diagnosing-revision/calibration-records.tar.gz +0 -0
  800. package/evidence/artifacts/2026-10-12-diagnosing-revision/calibration-regrade.json +63 -0
  801. package/evidence/artifacts/2026-10-12-diagnosing-revision/cost-analysis.json +502 -0
  802. package/evidence/artifacts/2026-10-12-diagnosing-revision/environment-verification.json +49 -0
  803. package/evidence/artifacts/2026-10-12-diagnosing-revision/interrupted-export-index.json +2961 -0
  804. package/evidence/artifacts/2026-10-12-diagnosing-revision/interrupted-records.tar.gz +0 -0
  805. package/evidence/artifacts/2026-10-12-diagnosing-revision/interrupted-regrade.json +223 -0
  806. package/evidence/artifacts/2026-10-12-diagnosing-revision/manifest.json +589 -0
  807. package/evidence/artifacts/2026-10-12-diagnosing-revision/onInsert-counterexample.json +73 -0
  808. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/LICENSE +21 -0
  809. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/README.md +24 -0
  810. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/bench.json +37 -0
  811. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-abort/LICENSE +15 -0
  812. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-abort/README.md +3 -0
  813. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-abort/index.js +1044 -0
  814. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-abort/package.json +11 -0
  815. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-abort/runtime.mjs +22 -0
  816. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-abort/test.mjs +11 -0
  817. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/LICENSE.md +55 -0
  818. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/README.md +3 -0
  819. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/package.json +11 -0
  820. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/runtime.mjs +22 -0
  821. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/diagnostics-channel-browser.ts +11 -0
  822. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/diagnostics-channel-cjs.cts +11 -0
  823. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/diagnostics-channel-esm.mts +29 -0
  824. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/diagnostics-channel-node.ts +7 -0
  825. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/diagnostics-channel.ts +6 -0
  826. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/index.ts +3148 -0
  827. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/perf.ts +17 -0
  828. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/test.mjs +11 -0
  829. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-size/LICENSE +15 -0
  830. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-size/README.md +3 -0
  831. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-size/index.js +1028 -0
  832. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-size/package.json +11 -0
  833. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-size/runtime.mjs +22 -0
  834. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-size/test.mjs +11 -0
  835. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-abort/LICENSE +15 -0
  836. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-abort/index.js +1053 -0
  837. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-abort.md +11 -0
  838. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/LICENSE.md +55 -0
  839. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/diagnostics-channel-browser.ts +11 -0
  840. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/diagnostics-channel-cjs.cts +11 -0
  841. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/diagnostics-channel-esm.mts +29 -0
  842. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/diagnostics-channel-node.ts +7 -0
  843. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/diagnostics-channel.ts +6 -0
  844. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/index.ts +3174 -0
  845. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/perf.ts +17 -0
  846. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle.md +11 -0
  847. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-size/LICENSE +15 -0
  848. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-size/index.js +1028 -0
  849. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-size.md +11 -0
  850. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/oracle-fetch-abort.mjs +8 -0
  851. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/oracle-fetch-lifecycle.mjs +7 -0
  852. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/oracle-fetch-size.mjs +7 -0
  853. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/oracle.mjs +9 -0
  854. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/prompts/fetch-abort.md +5 -0
  855. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/prompts/fetch-lifecycle.md +5 -0
  856. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/prompts/fetch-size.md +5 -0
  857. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/provenance.json +62 -0
  858. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/runtime.mjs +22 -0
  859. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/verifiers/cases.mjs +74 -0
  860. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/verifiers/fetch-abort.mjs +3 -0
  861. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/verifiers/fetch-lifecycle.mjs +3 -0
  862. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/verifiers/fetch-size.mjs +3 -0
  863. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/verifiers/probe.mjs +14 -0
  864. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/verifiers/shared.mjs +130 -0
  865. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/verifiers/test-reporter.mjs +29 -0
  866. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/agents.js +26 -0
  867. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/cli.js +316 -0
  868. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/cli.test.js +99 -0
  869. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/bench.js +1035 -0
  870. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/bench.test.js +1061 -0
  871. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/bundle.js +334 -0
  872. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/bundle.test.js +142 -0
  873. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/confirm.js +39 -0
  874. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/doctor.js +399 -0
  875. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/doctor.test.js +280 -0
  876. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/eval-report.js +514 -0
  877. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/eval-report.test.js +321 -0
  878. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/eval.js +405 -0
  879. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/eval.test.js +446 -0
  880. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/install.js +653 -0
  881. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/install.test.js +555 -0
  882. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/mcp.js +23 -0
  883. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/report.js +78 -0
  884. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/report.test.js +110 -0
  885. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/setup.js +95 -0
  886. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/setup.test.js +150 -0
  887. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/upstream.js +210 -0
  888. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/upstream.test.js +139 -0
  889. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/docs.test.js +154 -0
  890. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/frontmatter.js +53 -0
  891. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/frontmatter.test.js +49 -0
  892. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/bench.js +134 -0
  893. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/bench.test.js +109 -0
  894. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/bundle.js +46 -0
  895. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/bundle.test.js +71 -0
  896. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/constants.js +2 -0
  897. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/executors/api.js +68 -0
  898. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/executors/api.test.js +75 -0
  899. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/executors/cli.js +348 -0
  900. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/executors/cli.test.js +402 -0
  901. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/executors/mock.js +34 -0
  902. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/executors/mock.test.js +43 -0
  903. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/experiment-session.js +347 -0
  904. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/experiment-session.test.js +223 -0
  905. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/hash.js +29 -0
  906. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/installed-skill.js +89 -0
  907. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/installed-skill.test.js +162 -0
  908. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/judge.js +108 -0
  909. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/judge.test.js +181 -0
  910. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/kill-tree.js +43 -0
  911. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/kimi-usage.js +94 -0
  912. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/kimi-usage.test.js +62 -0
  913. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/oss-lru-cache.test.js +79 -0
  914. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/oss-regression-witness.test.js +89 -0
  915. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/prompt.js +57 -0
  916. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/prompt.test.js +48 -0
  917. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/receipts.js +297 -0
  918. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/receipts.test.js +148 -0
  919. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/report.js +230 -0
  920. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/report.test.js +297 -0
  921. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/runner.js +649 -0
  922. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/runner.test.js +555 -0
  923. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/skill-revision.test.js +148 -0
  924. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/stats.js +93 -0
  925. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/stats.test.js +124 -0
  926. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/target.js +90 -0
  927. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/target.test.js +60 -0
  928. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/trigger.js +368 -0
  929. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/trigger.test.js +249 -0
  930. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/types.js +1 -0
  931. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/verifier-summary.js +59 -0
  932. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/verifier-summary.test.js +99 -0
  933. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/waza-behavior.test.js +139 -0
  934. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/invocation.js +21 -0
  935. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/matrix/agents.json +200 -0
  936. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/matrix/agents.schema.json +152 -0
  937. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/mcp/probe.js +458 -0
  938. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/mcp/probe.test.js +139 -0
  939. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/version.js +4 -0
  940. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs/LICENSE +21 -0
  941. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs/SKILL.md +138 -0
  942. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs/agents/openai.yaml +3 -0
  943. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  944. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs-compact-v1/LICENSE +21 -0
  945. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs-compact-v1/SKILL.md +64 -0
  946. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs-compact-v1/agents/openai.yaml +3 -0
  947. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs-compact-v1/scripts/hitl-loop.template.sh +44 -0
  948. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/plans/2026-10-12-diagnosing-revision-rtk.json +73 -0
  949. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/plans/2026-10-12-diagnosing-revision.json +69 -0
  950. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/package.json +49 -0
  951. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/scripts/analyze-diagnosing-revision-original.mjs +50 -0
  952. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/scripts/analyze-diagnosing-revision.mjs +57 -0
  953. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/scripts/regrade-diagnosing-revision.mjs +47 -0
  954. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/scripts/run-diagnosing-revision.mjs +43 -0
  955. package/evidence/artifacts/2026-10-12-diagnosing-revision/replay-index.json +590 -0
  956. package/evidence/artifacts/2026-10-12-diagnosing-revision/report.md +138 -0
  957. package/evidence/artifacts/2026-10-12-diagnosing-revision/runner-changes.patch +556 -0
  958. package/evidence/artifacts/2026-10-12-diagnosing-revision/runner-source-additions/docs/skill-revisions.md +80 -0
  959. package/evidence/artifacts/2026-10-12-diagnosing-revision/runner-source-additions/src/harness/skill-revision.test.ts +158 -0
  960. package/evidence/artifacts/2026-10-12-diagnosing-revision/study-overhead.json +121 -0
  961. package/evidence/artifacts/2026-10-12-diagnosing-revision/timeout-partial-usage.json +20 -0
  962. package/evidence/artifacts/2026-10-12-diagnosing-revision/validation-export-index.json +3279 -0
  963. package/evidence/artifacts/2026-10-12-diagnosing-revision/validation-records.tar.gz +0 -0
  964. package/evidence/artifacts/2026-10-12-diagnosing-revision/validation-regrade.json +277 -0
  965. package/evidence/artifacts/2026-10-12-diagnosing-v2/README.md +80 -0
  966. package/evidence/artifacts/2026-10-12-diagnosing-v2/analysis.json +1230 -0
  967. package/evidence/artifacts/2026-10-12-diagnosing-v2/archive-regrade.json +31 -0
  968. package/evidence/artifacts/2026-10-12-diagnosing-v2/artifact-index.json +998 -0
  969. package/evidence/artifacts/2026-10-12-diagnosing-v2/environment-verification.json +163 -0
  970. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/summary.json +98 -0
  971. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/.agents/skills/diagnosing-bugs/LICENSE +21 -0
  972. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/.agents/skills/diagnosing-bugs/SKILL.md +64 -0
  973. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/.agents/skills/diagnosing-bugs/agents/openai.yaml +3 -0
  974. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  975. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/LICENSE.md +55 -0
  976. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/README.md +3 -0
  977. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/fetch-lifecycle.test.mjs +210 -0
  978. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/package.json +11 -0
  979. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/runtime.mjs +22 -0
  980. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/src/diagnostics-channel-browser.ts +11 -0
  981. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/src/diagnostics-channel-cjs.cts +11 -0
  982. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/src/diagnostics-channel-esm.mts +29 -0
  983. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/src/diagnostics-channel-node.ts +7 -0
  984. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/src/diagnostics-channel.ts +6 -0
  985. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/src/index.ts +3156 -0
  986. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/src/perf.ts +17 -0
  987. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/test.mjs +11 -0
  988. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/.agents/skills/diagnosing-bugs/LICENSE +21 -0
  989. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/.agents/skills/diagnosing-bugs/SKILL.md +64 -0
  990. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/.agents/skills/diagnosing-bugs/agents/openai.yaml +3 -0
  991. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  992. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/LICENSE.md +55 -0
  993. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/README.md +3 -0
  994. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/fetch-lifecycle.test.mjs +307 -0
  995. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/package.json +11 -0
  996. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/runtime.mjs +22 -0
  997. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/src/diagnostics-channel-browser.ts +11 -0
  998. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/src/diagnostics-channel-cjs.cts +11 -0
  999. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/src/diagnostics-channel-esm.mts +29 -0
  1000. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/src/diagnostics-channel-node.ts +7 -0
  1001. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/src/diagnostics-channel.ts +6 -0
  1002. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/src/index.ts +3153 -0
  1003. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/src/perf.ts +17 -0
  1004. package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/test.mjs +11 -0
  1005. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/.agents/skills/diagnosing-bugs/LICENSE +21 -0
  1006. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/.agents/skills/diagnosing-bugs/SKILL.md +64 -0
  1007. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/.agents/skills/diagnosing-bugs/agents/openai.yaml +3 -0
  1008. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  1009. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/LICENSE.md +55 -0
  1010. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/README.md +3 -0
  1011. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/fetch-lifecycle.test.mjs +210 -0
  1012. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/oninsert-application-history.test.mjs +16 -0
  1013. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/package.json +11 -0
  1014. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/runtime.mjs +22 -0
  1015. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/src/diagnostics-channel-browser.ts +11 -0
  1016. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/src/diagnostics-channel-cjs.cts +11 -0
  1017. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/src/diagnostics-channel-esm.mts +29 -0
  1018. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/src/diagnostics-channel-node.ts +7 -0
  1019. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/src/diagnostics-channel.ts +6 -0
  1020. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/src/index.ts +3158 -0
  1021. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/src/perf.ts +17 -0
  1022. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/test.mjs +11 -0
  1023. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/.agents/skills/diagnosing-bugs/LICENSE +21 -0
  1024. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/.agents/skills/diagnosing-bugs/SKILL.md +64 -0
  1025. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/.agents/skills/diagnosing-bugs/agents/openai.yaml +3 -0
  1026. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  1027. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/LICENSE.md +55 -0
  1028. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/README.md +3 -0
  1029. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/fetch-lifecycle.test.mjs +210 -0
  1030. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/oninsert-application-history.test.mjs +16 -0
  1031. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/package.json +11 -0
  1032. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/runtime.mjs +22 -0
  1033. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/src/diagnostics-channel-browser.ts +11 -0
  1034. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/src/diagnostics-channel-cjs.cts +11 -0
  1035. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/src/diagnostics-channel-esm.mts +29 -0
  1036. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/src/diagnostics-channel-node.ts +7 -0
  1037. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/src/diagnostics-channel.ts +6 -0
  1038. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/src/index.ts +3156 -0
  1039. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/src/perf.ts +17 -0
  1040. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/test.mjs +11 -0
  1041. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/green-test.txt +11 -0
  1042. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/red-test.txt +51 -0
  1043. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/repair.patch +26 -0
  1044. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/source-before.ts +3156 -0
  1045. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/summary.json +99 -0
  1046. package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/v1-generated-test-original.mjs +210 -0
  1047. package/evidence/artifacts/2026-10-12-diagnosing-v2/regression-export-index.json +560 -0
  1048. package/evidence/artifacts/2026-10-12-diagnosing-v2/regression-manifest.json +676 -0
  1049. package/evidence/artifacts/2026-10-12-diagnosing-v2/regression-records.tar.gz +0 -0
  1050. package/evidence/artifacts/2026-10-12-diagnosing-v2/regression-regrade.json +48 -0
  1051. package/evidence/artifacts/2026-10-12-diagnosing-v2/regression-report.md +122 -0
  1052. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/LICENSE +21 -0
  1053. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/README.md +28 -0
  1054. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/bench.json +14 -0
  1055. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.d.ts +303 -0
  1056. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.js +285 -0
  1057. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/license +9 -0
  1058. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/package.json +57 -0
  1059. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/readme.md +312 -0
  1060. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.js +427 -0
  1061. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.mjs +4 -0
  1062. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/ground-truth/oracle-query-shape.mjs +7 -0
  1063. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/index.js +294 -0
  1064. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/license +9 -0
  1065. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.md +12 -0
  1066. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.regression.test.mjs +6 -0
  1067. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/prompts/query-shape.md +7 -0
  1068. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/provenance.json +41 -0
  1069. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/verifiers/cases.mjs +26 -0
  1070. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/verifiers/probe.mjs +10 -0
  1071. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/verifiers/query-shape.mjs +40 -0
  1072. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/verifiers/regression-evidence.mjs +98 -0
  1073. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/verifiers/test-reporter.mjs +29 -0
  1074. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/agents.js +26 -0
  1075. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/cli.js +316 -0
  1076. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/cli.test.js +99 -0
  1077. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/bench.js +1035 -0
  1078. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/bench.test.js +1061 -0
  1079. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/bundle.js +334 -0
  1080. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/bundle.test.js +142 -0
  1081. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/confirm.js +39 -0
  1082. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/doctor.js +399 -0
  1083. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/doctor.test.js +280 -0
  1084. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/eval-report.js +608 -0
  1085. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/eval-report.test.js +367 -0
  1086. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/eval.js +405 -0
  1087. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/eval.test.js +446 -0
  1088. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/install.js +653 -0
  1089. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/install.test.js +555 -0
  1090. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/mcp.js +23 -0
  1091. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/report.js +78 -0
  1092. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/report.test.js +110 -0
  1093. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/setup.js +95 -0
  1094. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/setup.test.js +150 -0
  1095. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/upstream.js +210 -0
  1096. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/upstream.test.js +139 -0
  1097. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/docs.test.js +154 -0
  1098. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/frontmatter.js +53 -0
  1099. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/frontmatter.test.js +49 -0
  1100. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/bench.js +134 -0
  1101. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/bench.test.js +109 -0
  1102. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/bundle.js +46 -0
  1103. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/bundle.test.js +71 -0
  1104. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/constants.js +2 -0
  1105. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/costs.js +123 -0
  1106. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/costs.test.js +92 -0
  1107. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/executors/api.js +68 -0
  1108. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/executors/api.test.js +75 -0
  1109. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/executors/cli.js +362 -0
  1110. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/executors/cli.test.js +430 -0
  1111. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/executors/mock.js +34 -0
  1112. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/executors/mock.test.js +43 -0
  1113. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/experiment-session.js +353 -0
  1114. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/experiment-session.test.js +223 -0
  1115. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/hash.js +29 -0
  1116. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/installed-skill.js +89 -0
  1117. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/installed-skill.test.js +162 -0
  1118. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/judge.js +108 -0
  1119. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/judge.test.js +181 -0
  1120. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/kill-tree.js +43 -0
  1121. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/kimi-usage.js +94 -0
  1122. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/kimi-usage.test.js +62 -0
  1123. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/oss-lru-cache.test.js +79 -0
  1124. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/oss-normalize-url.test.js +64 -0
  1125. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/oss-regression-witness.test.js +89 -0
  1126. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/prompt.js +57 -0
  1127. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/prompt.test.js +48 -0
  1128. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/receipts.js +297 -0
  1129. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/receipts.test.js +148 -0
  1130. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/report.js +233 -0
  1131. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/report.test.js +297 -0
  1132. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/runner.js +667 -0
  1133. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/runner.test.js +591 -0
  1134. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/skill-revision.test.js +148 -0
  1135. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/stats.js +93 -0
  1136. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/stats.test.js +124 -0
  1137. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/target.js +90 -0
  1138. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/target.test.js +60 -0
  1139. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/trigger.js +368 -0
  1140. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/trigger.test.js +249 -0
  1141. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/types.js +12 -0
  1142. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/verifier-summary.js +59 -0
  1143. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/verifier-summary.test.js +99 -0
  1144. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/waza-behavior.test.js +139 -0
  1145. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/invocation.js +21 -0
  1146. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/matrix/agents.json +200 -0
  1147. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/matrix/agents.schema.json +152 -0
  1148. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/mcp/probe.js +458 -0
  1149. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/mcp/probe.test.js +139 -0
  1150. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/version.js +4 -0
  1151. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs/LICENSE +21 -0
  1152. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs/SKILL.md +138 -0
  1153. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs/agents/openai.yaml +3 -0
  1154. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  1155. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v1/LICENSE +21 -0
  1156. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v1/SKILL.md +64 -0
  1157. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v1/agents/openai.yaml +3 -0
  1158. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v1/scripts/hitl-loop.template.sh +44 -0
  1159. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v2/LICENSE +21 -0
  1160. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v2/SKILL.md +73 -0
  1161. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v2/agents/openai.yaml +3 -0
  1162. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v2/scripts/hitl-loop.template.sh +44 -0
  1163. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/README.md +6 -0
  1164. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/bench.json +17 -0
  1165. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/LICENSE.md +55 -0
  1166. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/README.md +3 -0
  1167. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/package.json +11 -0
  1168. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/runtime.mjs +22 -0
  1169. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-browser.ts +11 -0
  1170. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-cjs.cts +11 -0
  1171. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-esm.mts +29 -0
  1172. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-node.ts +7 -0
  1173. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel.ts +6 -0
  1174. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/index.ts +3148 -0
  1175. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/perf.ts +17 -0
  1176. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/test.mjs +11 -0
  1177. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/LICENSE.md +55 -0
  1178. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-browser.ts +11 -0
  1179. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-cjs.cts +11 -0
  1180. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-esm.mts +29 -0
  1181. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-node.ts +7 -0
  1182. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel.ts +6 -0
  1183. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/index.ts +3174 -0
  1184. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/perf.ts +17 -0
  1185. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle.md +11 -0
  1186. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/oracle-fetch-lifecycle.mjs +7 -0
  1187. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/oracle.mjs +9 -0
  1188. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/prompts/fetch-lifecycle.md +5 -0
  1189. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/runtime.mjs +22 -0
  1190. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/verifiers/cases.mjs +74 -0
  1191. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/verifiers/fetch-abort.mjs +3 -0
  1192. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/verifiers/fetch-lifecycle.mjs +3 -0
  1193. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/verifiers/fetch-size.mjs +3 -0
  1194. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/verifiers/probe.mjs +14 -0
  1195. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/verifiers/shared.mjs +130 -0
  1196. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/verifiers/test-reporter.mjs +29 -0
  1197. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/plans/2026-10-12-diagnosing-v2-candidate.json +9 -0
  1198. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/plans/2026-10-12-diagnosing-v2.json +85 -0
  1199. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/package.json +49 -0
  1200. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/scripts/analyze-diagnosing-v2.mjs +61 -0
  1201. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/scripts/replay-diagnosing-v2-oninsert.mjs +27 -0
  1202. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/scripts/replay-diagnosing-v2.mjs +55 -0
  1203. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/scripts/run-diagnosing-v2.mjs +48 -0
  1204. package/evidence/artifacts/2026-10-12-diagnosing-v2/replay-index.json +610 -0
  1205. package/evidence/artifacts/2026-10-12-diagnosing-v2/runner-changes.patch +1205 -0
  1206. package/evidence/artifacts/2026-10-12-diagnosing-v2/runner-source-additions/src/harness/costs.test.ts +98 -0
  1207. package/evidence/artifacts/2026-10-12-diagnosing-v2/runner-source-additions/src/harness/costs.ts +155 -0
  1208. package/evidence/artifacts/2026-10-12-diagnosing-v2/runner-source-additions/src/harness/oss-normalize-url.test.ts +69 -0
  1209. package/evidence/artifacts/2026-10-12-diagnosing-v2/runner-source-additions/src/harness/skill-revision.test.ts +158 -0
  1210. package/evidence/artifacts/2026-10-12-diagnosing-v2/transfer-export-index.json +440 -0
  1211. package/evidence/artifacts/2026-10-12-diagnosing-v2/transfer-manifest.json +667 -0
  1212. package/evidence/artifacts/2026-10-12-diagnosing-v2/transfer-records.tar.gz +0 -0
  1213. package/evidence/artifacts/2026-10-12-diagnosing-v2/transfer-regrade.json +46 -0
  1214. package/evidence/artifacts/2026-10-12-diagnosing-v2/transfer-report.md +118 -0
  1215. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/README.md +21 -0
  1216. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/artifact-index.json +794 -0
  1217. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/export-index.json +26 -0
  1218. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/readiness-records.tar.gz +0 -0
  1219. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/receipt.json +27 -0
  1220. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/LICENSE +21 -0
  1221. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/README.md +28 -0
  1222. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/bench.json +14 -0
  1223. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.d.ts +303 -0
  1224. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.js +285 -0
  1225. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/license +9 -0
  1226. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/package.json +57 -0
  1227. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/readme.md +312 -0
  1228. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.js +427 -0
  1229. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.mjs +4 -0
  1230. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/ground-truth/oracle-query-shape.mjs +7 -0
  1231. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/index.js +294 -0
  1232. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/license +9 -0
  1233. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.md +12 -0
  1234. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.regression.test.mjs +6 -0
  1235. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/prompts/query-shape.md +7 -0
  1236. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/provenance.json +41 -0
  1237. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/verifiers/cases.mjs +26 -0
  1238. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/verifiers/probe.mjs +10 -0
  1239. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/verifiers/query-shape.mjs +40 -0
  1240. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/verifiers/regression-evidence.mjs +98 -0
  1241. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/verifiers/test-reporter.mjs +29 -0
  1242. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/agents.js +26 -0
  1243. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/cli.js +316 -0
  1244. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/cli.test.js +99 -0
  1245. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/bench.js +1035 -0
  1246. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/bench.test.js +1061 -0
  1247. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/bundle.js +334 -0
  1248. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/bundle.test.js +142 -0
  1249. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/confirm.js +39 -0
  1250. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/doctor.js +399 -0
  1251. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/doctor.test.js +280 -0
  1252. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/eval-report.js +608 -0
  1253. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/eval-report.test.js +367 -0
  1254. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/eval.js +405 -0
  1255. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/eval.test.js +446 -0
  1256. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/install.js +653 -0
  1257. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/install.test.js +555 -0
  1258. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/mcp.js +23 -0
  1259. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/report.js +78 -0
  1260. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/report.test.js +110 -0
  1261. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/setup.js +95 -0
  1262. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/setup.test.js +150 -0
  1263. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/upstream.js +210 -0
  1264. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/upstream.test.js +139 -0
  1265. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/docs.test.js +154 -0
  1266. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/frontmatter.js +53 -0
  1267. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/frontmatter.test.js +49 -0
  1268. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/bench.js +134 -0
  1269. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/bench.test.js +109 -0
  1270. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/bundle.js +46 -0
  1271. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/bundle.test.js +71 -0
  1272. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/constants.js +2 -0
  1273. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/costs.js +123 -0
  1274. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/costs.test.js +92 -0
  1275. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/execution-timing.js +66 -0
  1276. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/execution-timing.test.js +61 -0
  1277. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/executors/api.js +68 -0
  1278. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/executors/api.test.js +75 -0
  1279. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/executors/cli.js +408 -0
  1280. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/executors/cli.test.js +484 -0
  1281. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/executors/mock.js +34 -0
  1282. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/executors/mock.test.js +43 -0
  1283. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/experiment-session.js +363 -0
  1284. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/experiment-session.test.js +267 -0
  1285. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/hash.js +29 -0
  1286. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/installed-skill.js +89 -0
  1287. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/installed-skill.test.js +162 -0
  1288. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/judge.js +108 -0
  1289. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/judge.test.js +181 -0
  1290. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/kill-tree.js +43 -0
  1291. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/kimi-usage.js +94 -0
  1292. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/kimi-usage.test.js +62 -0
  1293. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/oss-lru-cache.test.js +79 -0
  1294. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/oss-normalize-url.test.js +64 -0
  1295. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/oss-regression-witness.test.js +89 -0
  1296. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/prompt.js +57 -0
  1297. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/prompt.test.js +48 -0
  1298. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/receipts.js +297 -0
  1299. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/receipts.test.js +148 -0
  1300. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/report.js +233 -0
  1301. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/report.test.js +297 -0
  1302. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/runner.js +675 -0
  1303. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/runner.test.js +612 -0
  1304. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/skill-revision.test.js +148 -0
  1305. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/stats.js +93 -0
  1306. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/stats.test.js +124 -0
  1307. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/target.js +90 -0
  1308. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/target.test.js +60 -0
  1309. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/trigger.js +368 -0
  1310. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/trigger.test.js +249 -0
  1311. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/types.js +12 -0
  1312. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/verifier-summary.js +59 -0
  1313. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/verifier-summary.test.js +99 -0
  1314. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/waza-behavior.test.js +139 -0
  1315. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/invocation.js +21 -0
  1316. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/matrix/agents.json +200 -0
  1317. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/matrix/agents.schema.json +152 -0
  1318. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/mcp/probe.js +458 -0
  1319. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/mcp/probe.test.js +139 -0
  1320. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/version.js +4 -0
  1321. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/artifacts/2026-10-12-diagnosing-v2/artifact-index.json +998 -0
  1322. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/artifact-index.json +1078 -0
  1323. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/artifact-index.json +1090 -0
  1324. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs/LICENSE +21 -0
  1325. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs/SKILL.md +138 -0
  1326. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs/agents/openai.yaml +3 -0
  1327. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  1328. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs-compact-v2/LICENSE +21 -0
  1329. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs-compact-v2/SKILL.md +73 -0
  1330. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs-compact-v2/agents/openai.yaml +3 -0
  1331. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs-compact-v2/scripts/hitl-loop.template.sh +44 -0
  1332. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/plans/2026-10-12-normalize-url-v2-available.json +125 -0
  1333. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/package.json +49 -0
  1334. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/scripts/analyze-normalize-url-v2-available.mjs +64 -0
  1335. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/scripts/replay-normalize-url-v2-available.mjs +67 -0
  1336. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/scripts/run-normalize-url-v2-available.mjs +136 -0
  1337. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/agents.ts +133 -0
  1338. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/cli.test.ts +99 -0
  1339. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/cli.ts +321 -0
  1340. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/bench.test.ts +1368 -0
  1341. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/bench.ts +1255 -0
  1342. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/bundle.test.ts +159 -0
  1343. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/bundle.ts +343 -0
  1344. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/confirm.ts +40 -0
  1345. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/doctor.test.ts +331 -0
  1346. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/doctor.ts +468 -0
  1347. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/eval-report.test.ts +381 -0
  1348. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/eval-report.ts +669 -0
  1349. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/eval.test.ts +508 -0
  1350. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/eval.ts +481 -0
  1351. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/install.test.ts +716 -0
  1352. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/install.ts +737 -0
  1353. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/mcp.ts +30 -0
  1354. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/report.test.ts +116 -0
  1355. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/report.ts +100 -0
  1356. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/setup.test.ts +160 -0
  1357. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/setup.ts +110 -0
  1358. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/upstream.test.ts +145 -0
  1359. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/upstream.ts +212 -0
  1360. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/docs.test.ts +167 -0
  1361. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/frontmatter.test.ts +66 -0
  1362. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/frontmatter.ts +54 -0
  1363. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/bench.test.ts +126 -0
  1364. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/bench.ts +151 -0
  1365. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/bundle.test.ts +78 -0
  1366. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/bundle.ts +56 -0
  1367. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/constants.ts +3 -0
  1368. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/costs.test.ts +98 -0
  1369. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/costs.ts +155 -0
  1370. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/execution-timing.test.ts +53 -0
  1371. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/execution-timing.ts +87 -0
  1372. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/executors/api.test.ts +84 -0
  1373. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/executors/api.ts +90 -0
  1374. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/executors/cli.test.ts +541 -0
  1375. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/executors/cli.ts +448 -0
  1376. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/executors/mock.test.ts +50 -0
  1377. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/executors/mock.ts +46 -0
  1378. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/experiment-session.test.ts +227 -0
  1379. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/experiment-session.ts +340 -0
  1380. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/hash.ts +32 -0
  1381. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/installed-skill.test.ts +173 -0
  1382. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/installed-skill.ts +92 -0
  1383. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/judge.test.ts +209 -0
  1384. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/judge.ts +136 -0
  1385. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/kill-tree.ts +44 -0
  1386. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/kimi-usage.test.ts +69 -0
  1387. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/kimi-usage.ts +100 -0
  1388. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/oss-lru-cache.test.ts +67 -0
  1389. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/oss-normalize-url.test.ts +69 -0
  1390. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/oss-regression-witness.test.ts +86 -0
  1391. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/prompt.test.ts +53 -0
  1392. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/prompt.ts +66 -0
  1393. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/receipts.test.ts +186 -0
  1394. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/receipts.ts +335 -0
  1395. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/report.test.ts +366 -0
  1396. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/report.ts +375 -0
  1397. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/runner.test.ts +729 -0
  1398. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/runner.ts +805 -0
  1399. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/skill-revision.test.ts +158 -0
  1400. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/stats.test.ts +148 -0
  1401. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/stats.ts +115 -0
  1402. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/target.test.ts +77 -0
  1403. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/target.ts +102 -0
  1404. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/trigger.test.ts +289 -0
  1405. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/trigger.ts +515 -0
  1406. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/types.ts +101 -0
  1407. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/verifier-summary.test.ts +117 -0
  1408. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/verifier-summary.ts +70 -0
  1409. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/waza-behavior.test.ts +148 -0
  1410. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/invocation.ts +17 -0
  1411. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/matrix/agents.json +200 -0
  1412. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/matrix/agents.schema.json +152 -0
  1413. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/mcp/probe.test.ts +174 -0
  1414. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/mcp/probe.ts +467 -0
  1415. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/version.ts +10 -0
  1416. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/README.md +42 -0
  1417. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/analysis.json +600 -0
  1418. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/archive-regrade.json +8 -0
  1419. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/artifact-index.json +1078 -0
  1420. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/contrib-gates.log +72 -0
  1421. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/dry-run.log +33 -0
  1422. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/export-index.json +404 -0
  1423. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/manifest.json +565 -0
  1424. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/offline-tests.log +484 -0
  1425. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/power.json +18 -0
  1426. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/records.tar.gz +0 -0
  1427. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/regrade.json +44 -0
  1428. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/LICENSE +21 -0
  1429. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/bench.json +57 -0
  1430. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/explain-x1/.skillfit-mock.json +10 -0
  1431. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/explain-x1/SPEC.md +16 -0
  1432. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/explain-x1/src/compact.js +18 -0
  1433. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/explain-x1/tests/compact.test.js +18 -0
  1434. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r1/.skillfit-mock.json +10 -0
  1435. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r1/CHANGES.diff +42 -0
  1436. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r1/SPEC.md +16 -0
  1437. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r1/src/errors.js +7 -0
  1438. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r1/src/money.js +3 -0
  1439. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r1/src/order.js +13 -0
  1440. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r1/tests/order.test.js +17 -0
  1441. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r2/.skillfit-mock.json +10 -0
  1442. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r2/CHANGES.diff +81 -0
  1443. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r2/SPEC.md +25 -0
  1444. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r2/src/errors.js +7 -0
  1445. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r2/src/invoice.js +9 -0
  1446. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r2/src/money.js +3 -0
  1447. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r2/tests/invoice.test.js +13 -0
  1448. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r3/.skillfit-mock.json +10 -0
  1449. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r3/CHANGES.diff +76 -0
  1450. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r3/SPEC.md +24 -0
  1451. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r3/src/errors.js +7 -0
  1452. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r3/src/money.js +3 -0
  1453. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r3/src/pricing.js +20 -0
  1454. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r3/tests/pricing.test.js +15 -0
  1455. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/summarize-s1/.skillfit-mock.json +16 -0
  1456. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/summarize-s1/CHANGES.diff +27 -0
  1457. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/summarize-s1/SPEC.md +15 -0
  1458. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/summarize-s1/src/discount.js +20 -0
  1459. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/summarize-s1/src/errors.js +7 -0
  1460. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/summarize-s1/src/money.js +7 -0
  1461. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/oracle-r1.mjs +21 -0
  1462. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/oracle-r2.mjs +21 -0
  1463. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/oracle-r3.mjs +20 -0
  1464. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/oracle-summarize-s1.mjs +21 -0
  1465. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/oracle-x1.mjs +18 -0
  1466. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/r1.md +22 -0
  1467. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/r2.md +21 -0
  1468. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/r3.md +18 -0
  1469. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/summarize-s1.md +26 -0
  1470. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/x1.md +7 -0
  1471. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/explain-x1.md +5 -0
  1472. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/explain-x1.trigger.md +5 -0
  1473. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/review-r1.md +7 -0
  1474. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/review-r1.trigger.md +7 -0
  1475. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/review-r2.md +7 -0
  1476. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/review-r2.trigger.md +7 -0
  1477. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/review-r3.md +7 -0
  1478. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/review-r3.trigger.md +7 -0
  1479. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/summarize-s1.md +9 -0
  1480. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/summarize-s1.trigger.md +9 -0
  1481. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/verifiers/explain-x1.mjs +30 -0
  1482. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/verifiers/review-r2.mjs +66 -0
  1483. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/verifiers/review-r3.mjs +60 -0
  1484. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/verifiers/seeded-bugs.mjs +74 -0
  1485. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/verifiers/summarize-s1.mjs +80 -0
  1486. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/README.md +28 -0
  1487. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/bench.json +14 -0
  1488. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.d.ts +303 -0
  1489. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.js +285 -0
  1490. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/license +9 -0
  1491. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/package.json +57 -0
  1492. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/readme.md +312 -0
  1493. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.js +427 -0
  1494. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.mjs +4 -0
  1495. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/ground-truth/oracle-query-shape.mjs +7 -0
  1496. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/index.js +294 -0
  1497. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/license +9 -0
  1498. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.md +12 -0
  1499. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.regression.test.mjs +6 -0
  1500. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/prompts/query-shape.md +7 -0
  1501. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/provenance.json +41 -0
  1502. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/verifiers/cases.mjs +26 -0
  1503. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/verifiers/probe.mjs +10 -0
  1504. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/verifiers/query-shape.mjs +40 -0
  1505. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/verifiers/regression-evidence.mjs +98 -0
  1506. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/verifiers/test-reporter.mjs +29 -0
  1507. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/agents.js +26 -0
  1508. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/cli.js +316 -0
  1509. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/cli.test.js +99 -0
  1510. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/bench.js +1035 -0
  1511. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/bench.test.js +1061 -0
  1512. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/bundle.js +334 -0
  1513. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/bundle.test.js +142 -0
  1514. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/confirm.js +39 -0
  1515. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/doctor.js +399 -0
  1516. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/doctor.test.js +280 -0
  1517. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/eval-report.js +608 -0
  1518. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/eval-report.test.js +367 -0
  1519. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/eval.js +405 -0
  1520. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/eval.test.js +446 -0
  1521. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/install.js +653 -0
  1522. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/install.test.js +555 -0
  1523. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/mcp.js +23 -0
  1524. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/report.js +78 -0
  1525. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/report.test.js +110 -0
  1526. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/setup.js +95 -0
  1527. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/setup.test.js +150 -0
  1528. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/upstream.js +210 -0
  1529. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/upstream.test.js +139 -0
  1530. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/docs.test.js +154 -0
  1531. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/frontmatter.js +53 -0
  1532. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/frontmatter.test.js +49 -0
  1533. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/bench.js +134 -0
  1534. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/bench.test.js +109 -0
  1535. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/bundle.js +46 -0
  1536. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/bundle.test.js +71 -0
  1537. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/constants.js +2 -0
  1538. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/costs.js +123 -0
  1539. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/costs.test.js +92 -0
  1540. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/execution-timing.js +66 -0
  1541. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/execution-timing.test.js +61 -0
  1542. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/executors/api.js +68 -0
  1543. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/executors/api.test.js +75 -0
  1544. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/executors/cli.js +408 -0
  1545. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/executors/cli.test.js +484 -0
  1546. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/executors/mock.js +34 -0
  1547. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/executors/mock.test.js +43 -0
  1548. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/experiment-session.js +363 -0
  1549. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/experiment-session.test.js +267 -0
  1550. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/hash.js +29 -0
  1551. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/installed-skill.js +89 -0
  1552. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/installed-skill.test.js +162 -0
  1553. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/judge.js +108 -0
  1554. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/judge.test.js +181 -0
  1555. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/kill-tree.js +43 -0
  1556. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/kimi-usage.js +94 -0
  1557. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/kimi-usage.test.js +62 -0
  1558. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/oss-lru-cache.test.js +79 -0
  1559. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/oss-normalize-url.test.js +64 -0
  1560. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/oss-regression-witness.test.js +89 -0
  1561. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/prompt.js +57 -0
  1562. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/prompt.test.js +48 -0
  1563. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/receipts.js +297 -0
  1564. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/receipts.test.js +148 -0
  1565. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/report.js +233 -0
  1566. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/report.test.js +297 -0
  1567. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/runner.js +675 -0
  1568. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/runner.test.js +612 -0
  1569. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/skill-revision.test.js +148 -0
  1570. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/stats.js +93 -0
  1571. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/stats.test.js +124 -0
  1572. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/target.js +90 -0
  1573. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/target.test.js +60 -0
  1574. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/trigger.js +368 -0
  1575. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/trigger.test.js +249 -0
  1576. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/types.js +12 -0
  1577. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/verifier-summary.js +59 -0
  1578. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/verifier-summary.test.js +99 -0
  1579. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/waza-behavior.test.js +139 -0
  1580. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/invocation.js +21 -0
  1581. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/matrix/agents.json +200 -0
  1582. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/matrix/agents.schema.json +152 -0
  1583. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/mcp/probe.js +458 -0
  1584. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/mcp/probe.test.js +139 -0
  1585. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/version.js +4 -0
  1586. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/docs/eval-costs.md +86 -0
  1587. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/docs/eval-timing.md +54 -0
  1588. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/docs/experiment-workflow.md +15 -0
  1589. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/docs/metrics.md +350 -0
  1590. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/artifacts/2026-10-12-diagnosing-v2/artifact-index.json +998 -0
  1591. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/artifact-index.json +1090 -0
  1592. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs/LICENSE +21 -0
  1593. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs/SKILL.md +138 -0
  1594. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs/agents/openai.yaml +3 -0
  1595. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  1596. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs-compact-v2/LICENSE +21 -0
  1597. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs-compact-v2/SKILL.md +73 -0
  1598. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs-compact-v2/agents/openai.yaml +3 -0
  1599. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs-compact-v2/scripts/hitl-loop.template.sh +44 -0
  1600. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/plans/2026-10-12-diagnosing-v2-candidate.json +9 -0
  1601. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/plans/2026-10-12-normalize-url-v2-comparison.json +110 -0
  1602. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/package.json +49 -0
  1603. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/scripts/analyze-normalize-url-v2-comparison.mjs +62 -0
  1604. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/scripts/replay-normalize-url-v2-comparison.mjs +67 -0
  1605. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/scripts/run-normalize-url-v2-comparison.mjs +100 -0
  1606. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/agents.ts +133 -0
  1607. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/cli.test.ts +99 -0
  1608. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/cli.ts +321 -0
  1609. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/bench.test.ts +1368 -0
  1610. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/bench.ts +1255 -0
  1611. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/bundle.test.ts +159 -0
  1612. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/bundle.ts +343 -0
  1613. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/confirm.ts +40 -0
  1614. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/doctor.test.ts +331 -0
  1615. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/doctor.ts +468 -0
  1616. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/eval-report.test.ts +381 -0
  1617. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/eval-report.ts +669 -0
  1618. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/eval.test.ts +508 -0
  1619. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/eval.ts +481 -0
  1620. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/install.test.ts +716 -0
  1621. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/install.ts +737 -0
  1622. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/mcp.ts +30 -0
  1623. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/report.test.ts +116 -0
  1624. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/report.ts +100 -0
  1625. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/setup.test.ts +160 -0
  1626. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/setup.ts +110 -0
  1627. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/upstream.test.ts +145 -0
  1628. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/upstream.ts +212 -0
  1629. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/docs.test.ts +167 -0
  1630. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/frontmatter.test.ts +66 -0
  1631. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/frontmatter.ts +54 -0
  1632. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/bench.test.ts +126 -0
  1633. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/bench.ts +151 -0
  1634. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/bundle.test.ts +78 -0
  1635. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/bundle.ts +56 -0
  1636. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/constants.ts +3 -0
  1637. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/costs.test.ts +98 -0
  1638. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/costs.ts +155 -0
  1639. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/execution-timing.test.ts +53 -0
  1640. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/execution-timing.ts +87 -0
  1641. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/executors/api.test.ts +84 -0
  1642. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/executors/api.ts +90 -0
  1643. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/executors/cli.test.ts +541 -0
  1644. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/executors/cli.ts +448 -0
  1645. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/executors/mock.test.ts +50 -0
  1646. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/executors/mock.ts +46 -0
  1647. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/experiment-session.test.ts +227 -0
  1648. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/experiment-session.ts +340 -0
  1649. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/hash.ts +32 -0
  1650. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/installed-skill.test.ts +173 -0
  1651. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/installed-skill.ts +92 -0
  1652. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/judge.test.ts +209 -0
  1653. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/judge.ts +136 -0
  1654. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/kill-tree.ts +44 -0
  1655. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/kimi-usage.test.ts +69 -0
  1656. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/kimi-usage.ts +100 -0
  1657. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/oss-lru-cache.test.ts +67 -0
  1658. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/oss-normalize-url.test.ts +69 -0
  1659. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/oss-regression-witness.test.ts +86 -0
  1660. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/prompt.test.ts +53 -0
  1661. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/prompt.ts +66 -0
  1662. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/receipts.test.ts +186 -0
  1663. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/receipts.ts +335 -0
  1664. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/report.test.ts +366 -0
  1665. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/report.ts +375 -0
  1666. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/runner.test.ts +729 -0
  1667. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/runner.ts +805 -0
  1668. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/skill-revision.test.ts +158 -0
  1669. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/stats.test.ts +148 -0
  1670. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/stats.ts +115 -0
  1671. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/target.test.ts +77 -0
  1672. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/target.ts +102 -0
  1673. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/trigger.test.ts +289 -0
  1674. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/trigger.ts +515 -0
  1675. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/types.ts +101 -0
  1676. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/verifier-summary.test.ts +117 -0
  1677. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/verifier-summary.ts +70 -0
  1678. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/waza-behavior.test.ts +148 -0
  1679. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/invocation.ts +17 -0
  1680. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/matrix/agents.json +200 -0
  1681. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/matrix/agents.schema.json +152 -0
  1682. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/mcp/probe.test.ts +174 -0
  1683. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/mcp/probe.ts +467 -0
  1684. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/version.ts +10 -0
  1685. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay-index.json +1034 -0
  1686. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/trust-alias-repair.patch +126 -0
  1687. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/README.md +45 -0
  1688. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/analysis.json +600 -0
  1689. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/archive-regrade.json +8 -0
  1690. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/artifact-index.json +1090 -0
  1691. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/contrib-gates.log +72 -0
  1692. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/dry-run.log +33 -0
  1693. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/export-index.json +416 -0
  1694. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/manifest.json +565 -0
  1695. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/offline-tests.log +482 -0
  1696. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/power.json +18 -0
  1697. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/prior-sleep-events.txt +8 -0
  1698. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/prior-timeout-provenance.json +7 -0
  1699. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/prior-timeout-receipt.json +39 -0
  1700. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/records.tar.gz +0 -0
  1701. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/regrade.json +44 -0
  1702. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/LICENSE +21 -0
  1703. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/bench.json +57 -0
  1704. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/explain-x1/.skillfit-mock.json +10 -0
  1705. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/explain-x1/SPEC.md +16 -0
  1706. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/explain-x1/src/compact.js +18 -0
  1707. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/explain-x1/tests/compact.test.js +18 -0
  1708. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r1/.skillfit-mock.json +10 -0
  1709. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r1/CHANGES.diff +42 -0
  1710. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r1/SPEC.md +16 -0
  1711. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r1/src/errors.js +7 -0
  1712. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r1/src/money.js +3 -0
  1713. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r1/src/order.js +13 -0
  1714. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r1/tests/order.test.js +17 -0
  1715. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r2/.skillfit-mock.json +10 -0
  1716. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r2/CHANGES.diff +81 -0
  1717. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r2/SPEC.md +25 -0
  1718. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r2/src/errors.js +7 -0
  1719. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r2/src/invoice.js +9 -0
  1720. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r2/src/money.js +3 -0
  1721. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r2/tests/invoice.test.js +13 -0
  1722. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r3/.skillfit-mock.json +10 -0
  1723. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r3/CHANGES.diff +76 -0
  1724. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r3/SPEC.md +24 -0
  1725. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r3/src/errors.js +7 -0
  1726. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r3/src/money.js +3 -0
  1727. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r3/src/pricing.js +20 -0
  1728. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r3/tests/pricing.test.js +15 -0
  1729. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/summarize-s1/.skillfit-mock.json +16 -0
  1730. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/summarize-s1/CHANGES.diff +27 -0
  1731. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/summarize-s1/SPEC.md +15 -0
  1732. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/summarize-s1/src/discount.js +20 -0
  1733. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/summarize-s1/src/errors.js +7 -0
  1734. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/summarize-s1/src/money.js +7 -0
  1735. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/oracle-r1.mjs +21 -0
  1736. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/oracle-r2.mjs +21 -0
  1737. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/oracle-r3.mjs +20 -0
  1738. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/oracle-summarize-s1.mjs +21 -0
  1739. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/oracle-x1.mjs +18 -0
  1740. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/r1.md +22 -0
  1741. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/r2.md +21 -0
  1742. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/r3.md +18 -0
  1743. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/summarize-s1.md +26 -0
  1744. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/x1.md +7 -0
  1745. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/explain-x1.md +5 -0
  1746. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/explain-x1.trigger.md +5 -0
  1747. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/review-r1.md +7 -0
  1748. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/review-r1.trigger.md +7 -0
  1749. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/review-r2.md +7 -0
  1750. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/review-r2.trigger.md +7 -0
  1751. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/review-r3.md +7 -0
  1752. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/review-r3.trigger.md +7 -0
  1753. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/summarize-s1.md +9 -0
  1754. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/summarize-s1.trigger.md +9 -0
  1755. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/verifiers/explain-x1.mjs +30 -0
  1756. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/verifiers/review-r2.mjs +66 -0
  1757. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/verifiers/review-r3.mjs +60 -0
  1758. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/verifiers/seeded-bugs.mjs +74 -0
  1759. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/verifiers/summarize-s1.mjs +80 -0
  1760. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/README.md +28 -0
  1761. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/bench.json +14 -0
  1762. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.d.ts +303 -0
  1763. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.js +285 -0
  1764. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/license +9 -0
  1765. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/package.json +57 -0
  1766. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/readme.md +312 -0
  1767. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.js +427 -0
  1768. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.mjs +4 -0
  1769. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/ground-truth/oracle-query-shape.mjs +7 -0
  1770. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/index.js +294 -0
  1771. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/license +9 -0
  1772. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.md +12 -0
  1773. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.regression.test.mjs +6 -0
  1774. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/prompts/query-shape.md +7 -0
  1775. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/provenance.json +41 -0
  1776. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/verifiers/cases.mjs +26 -0
  1777. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/verifiers/probe.mjs +10 -0
  1778. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/verifiers/query-shape.mjs +40 -0
  1779. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/verifiers/regression-evidence.mjs +98 -0
  1780. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/verifiers/test-reporter.mjs +29 -0
  1781. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/agents.js +26 -0
  1782. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/cli.js +316 -0
  1783. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/cli.test.js +99 -0
  1784. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/bench.js +1035 -0
  1785. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/bench.test.js +1061 -0
  1786. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/bundle.js +334 -0
  1787. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/bundle.test.js +142 -0
  1788. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/confirm.js +39 -0
  1789. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/doctor.js +399 -0
  1790. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/doctor.test.js +280 -0
  1791. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/eval-report.js +608 -0
  1792. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/eval-report.test.js +367 -0
  1793. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/eval.js +405 -0
  1794. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/eval.test.js +446 -0
  1795. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/install.js +653 -0
  1796. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/install.test.js +555 -0
  1797. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/mcp.js +23 -0
  1798. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/report.js +78 -0
  1799. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/report.test.js +110 -0
  1800. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/setup.js +95 -0
  1801. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/setup.test.js +150 -0
  1802. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/upstream.js +210 -0
  1803. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/upstream.test.js +139 -0
  1804. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/docs.test.js +154 -0
  1805. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/frontmatter.js +53 -0
  1806. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/frontmatter.test.js +49 -0
  1807. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/bench.js +134 -0
  1808. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/bench.test.js +109 -0
  1809. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/bundle.js +46 -0
  1810. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/bundle.test.js +71 -0
  1811. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/constants.js +2 -0
  1812. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/costs.js +123 -0
  1813. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/costs.test.js +92 -0
  1814. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/execution-timing.js +66 -0
  1815. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/execution-timing.test.js +61 -0
  1816. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/executors/api.js +68 -0
  1817. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/executors/api.test.js +75 -0
  1818. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/executors/cli.js +408 -0
  1819. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/executors/cli.test.js +484 -0
  1820. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/executors/mock.js +34 -0
  1821. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/executors/mock.test.js +43 -0
  1822. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/experiment-session.js +353 -0
  1823. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/experiment-session.test.js +223 -0
  1824. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/hash.js +29 -0
  1825. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/installed-skill.js +89 -0
  1826. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/installed-skill.test.js +162 -0
  1827. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/judge.js +108 -0
  1828. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/judge.test.js +181 -0
  1829. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/kill-tree.js +43 -0
  1830. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/kimi-usage.js +94 -0
  1831. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/kimi-usage.test.js +62 -0
  1832. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/oss-lru-cache.test.js +79 -0
  1833. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/oss-normalize-url.test.js +64 -0
  1834. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/oss-regression-witness.test.js +89 -0
  1835. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/prompt.js +57 -0
  1836. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/prompt.test.js +48 -0
  1837. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/receipts.js +297 -0
  1838. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/receipts.test.js +148 -0
  1839. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/report.js +233 -0
  1840. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/report.test.js +297 -0
  1841. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/runner.js +675 -0
  1842. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/runner.test.js +612 -0
  1843. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/skill-revision.test.js +148 -0
  1844. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/stats.js +93 -0
  1845. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/stats.test.js +124 -0
  1846. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/target.js +90 -0
  1847. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/target.test.js +60 -0
  1848. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/trigger.js +368 -0
  1849. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/trigger.test.js +249 -0
  1850. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/types.js +12 -0
  1851. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/verifier-summary.js +59 -0
  1852. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/verifier-summary.test.js +99 -0
  1853. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/waza-behavior.test.js +139 -0
  1854. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/invocation.js +21 -0
  1855. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/matrix/agents.json +200 -0
  1856. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/matrix/agents.schema.json +152 -0
  1857. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/mcp/probe.js +458 -0
  1858. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/mcp/probe.test.js +139 -0
  1859. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/version.js +4 -0
  1860. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/docs/eval-costs.md +86 -0
  1861. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/docs/eval-timing.md +47 -0
  1862. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/docs/metrics.md +347 -0
  1863. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/artifacts/2026-10-12-diagnosing-v2/artifact-index.json +998 -0
  1864. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs/LICENSE +21 -0
  1865. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs/SKILL.md +138 -0
  1866. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs/agents/openai.yaml +3 -0
  1867. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  1868. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs-compact-v2/LICENSE +21 -0
  1869. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs-compact-v2/SKILL.md +73 -0
  1870. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs-compact-v2/agents/openai.yaml +3 -0
  1871. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs-compact-v2/scripts/hitl-loop.template.sh +44 -0
  1872. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/plans/2026-10-12-diagnosing-v2-candidate.json +9 -0
  1873. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/plans/2026-10-12-normalize-url-v2-recovery.json +102 -0
  1874. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/package.json +49 -0
  1875. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/scripts/analyze-normalize-url-v2-recovery.mjs +62 -0
  1876. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/scripts/replay-normalize-url-v2-recovery.mjs +67 -0
  1877. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/scripts/run-normalize-url-v2-recovery.mjs +100 -0
  1878. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/agents.ts +133 -0
  1879. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/cli.test.ts +99 -0
  1880. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/cli.ts +321 -0
  1881. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/bench.test.ts +1368 -0
  1882. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/bench.ts +1255 -0
  1883. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/bundle.test.ts +159 -0
  1884. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/bundle.ts +343 -0
  1885. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/confirm.ts +40 -0
  1886. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/doctor.test.ts +331 -0
  1887. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/doctor.ts +468 -0
  1888. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/eval-report.test.ts +381 -0
  1889. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/eval-report.ts +669 -0
  1890. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/eval.test.ts +508 -0
  1891. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/eval.ts +481 -0
  1892. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/install.test.ts +716 -0
  1893. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/install.ts +737 -0
  1894. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/mcp.ts +30 -0
  1895. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/report.test.ts +116 -0
  1896. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/report.ts +100 -0
  1897. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/setup.test.ts +160 -0
  1898. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/setup.ts +110 -0
  1899. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/upstream.test.ts +145 -0
  1900. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/upstream.ts +212 -0
  1901. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/docs.test.ts +167 -0
  1902. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/frontmatter.test.ts +66 -0
  1903. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/frontmatter.ts +54 -0
  1904. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/bench.test.ts +126 -0
  1905. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/bench.ts +151 -0
  1906. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/bundle.test.ts +78 -0
  1907. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/bundle.ts +56 -0
  1908. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/constants.ts +3 -0
  1909. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/costs.test.ts +98 -0
  1910. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/costs.ts +155 -0
  1911. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/execution-timing.test.ts +53 -0
  1912. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/execution-timing.ts +87 -0
  1913. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/executors/api.test.ts +84 -0
  1914. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/executors/api.ts +90 -0
  1915. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/executors/cli.test.ts +541 -0
  1916. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/executors/cli.ts +448 -0
  1917. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/executors/mock.test.ts +50 -0
  1918. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/executors/mock.ts +46 -0
  1919. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/experiment-session.test.ts +195 -0
  1920. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/experiment-session.ts +331 -0
  1921. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/hash.ts +32 -0
  1922. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/installed-skill.test.ts +173 -0
  1923. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/installed-skill.ts +92 -0
  1924. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/judge.test.ts +209 -0
  1925. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/judge.ts +136 -0
  1926. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/kill-tree.ts +44 -0
  1927. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/kimi-usage.test.ts +69 -0
  1928. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/kimi-usage.ts +100 -0
  1929. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/oss-lru-cache.test.ts +67 -0
  1930. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/oss-normalize-url.test.ts +69 -0
  1931. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/oss-regression-witness.test.ts +86 -0
  1932. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/prompt.test.ts +53 -0
  1933. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/prompt.ts +66 -0
  1934. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/receipts.test.ts +186 -0
  1935. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/receipts.ts +335 -0
  1936. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/report.test.ts +366 -0
  1937. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/report.ts +375 -0
  1938. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/runner.test.ts +729 -0
  1939. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/runner.ts +805 -0
  1940. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/skill-revision.test.ts +158 -0
  1941. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/stats.test.ts +148 -0
  1942. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/stats.ts +115 -0
  1943. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/target.test.ts +77 -0
  1944. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/target.ts +102 -0
  1945. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/trigger.test.ts +289 -0
  1946. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/trigger.ts +515 -0
  1947. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/types.ts +101 -0
  1948. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/verifier-summary.test.ts +117 -0
  1949. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/verifier-summary.ts +70 -0
  1950. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/waza-behavior.test.ts +148 -0
  1951. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/invocation.ts +17 -0
  1952. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/matrix/agents.json +200 -0
  1953. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/matrix/agents.schema.json +152 -0
  1954. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/mcp/probe.test.ts +174 -0
  1955. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/mcp/probe.ts +467 -0
  1956. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/version.ts +10 -0
  1957. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay-index.json +1026 -0
  1958. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/timing-repair.patch +371 -0
  1959. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/trust-alias-proof.json +8 -0
  1960. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/README.md +105 -0
  1961. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/all-recovery-costs.json +188 -0
  1962. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/analysis.json +735 -0
  1963. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/archive-regrade.json +9 -0
  1964. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/artifact-index.json +1122 -0
  1965. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/contrib-gates.log +72 -0
  1966. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/dry-run.log +34 -0
  1967. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/environment-verification.json +153 -0
  1968. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/export-index.json +488 -0
  1969. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/export-review.json +7 -0
  1970. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/frozen-timing-guard-tests.log +64 -0
  1971. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/manifest.json +668 -0
  1972. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/native-report.md +119 -0
  1973. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/offline-tests.log +484 -0
  1974. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/power.json +18 -0
  1975. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/prior-packages-verification.json +27 -0
  1976. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/readiness-replay.json +12 -0
  1977. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/records.tar.gz +0 -0
  1978. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/regrade.json +48 -0
  1979. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/LICENSE +21 -0
  1980. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/bench.json +57 -0
  1981. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/explain-x1/.skillfit-mock.json +10 -0
  1982. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/explain-x1/SPEC.md +16 -0
  1983. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/explain-x1/src/compact.js +18 -0
  1984. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/explain-x1/tests/compact.test.js +18 -0
  1985. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r1/.skillfit-mock.json +10 -0
  1986. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r1/CHANGES.diff +42 -0
  1987. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r1/SPEC.md +16 -0
  1988. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r1/src/errors.js +7 -0
  1989. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r1/src/money.js +3 -0
  1990. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r1/src/order.js +13 -0
  1991. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r1/tests/order.test.js +17 -0
  1992. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r2/.skillfit-mock.json +10 -0
  1993. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r2/CHANGES.diff +81 -0
  1994. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r2/SPEC.md +25 -0
  1995. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r2/src/errors.js +7 -0
  1996. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r2/src/invoice.js +9 -0
  1997. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r2/src/money.js +3 -0
  1998. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r2/tests/invoice.test.js +13 -0
  1999. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r3/.skillfit-mock.json +10 -0
  2000. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r3/CHANGES.diff +76 -0
  2001. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r3/SPEC.md +24 -0
  2002. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r3/src/errors.js +7 -0
  2003. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r3/src/money.js +3 -0
  2004. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r3/src/pricing.js +20 -0
  2005. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r3/tests/pricing.test.js +15 -0
  2006. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/summarize-s1/.skillfit-mock.json +16 -0
  2007. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/summarize-s1/CHANGES.diff +27 -0
  2008. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/summarize-s1/SPEC.md +15 -0
  2009. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/summarize-s1/src/discount.js +20 -0
  2010. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/summarize-s1/src/errors.js +7 -0
  2011. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/summarize-s1/src/money.js +7 -0
  2012. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/oracle-r1.mjs +21 -0
  2013. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/oracle-r2.mjs +21 -0
  2014. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/oracle-r3.mjs +20 -0
  2015. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/oracle-summarize-s1.mjs +21 -0
  2016. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/oracle-x1.mjs +18 -0
  2017. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/r1.md +22 -0
  2018. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/r2.md +21 -0
  2019. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/r3.md +18 -0
  2020. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/summarize-s1.md +26 -0
  2021. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/x1.md +7 -0
  2022. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/explain-x1.md +5 -0
  2023. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/explain-x1.trigger.md +5 -0
  2024. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/review-r1.md +7 -0
  2025. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/review-r1.trigger.md +7 -0
  2026. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/review-r2.md +7 -0
  2027. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/review-r2.trigger.md +7 -0
  2028. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/review-r3.md +7 -0
  2029. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/review-r3.trigger.md +7 -0
  2030. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/summarize-s1.md +9 -0
  2031. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/summarize-s1.trigger.md +9 -0
  2032. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/verifiers/explain-x1.mjs +30 -0
  2033. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/verifiers/review-r2.mjs +66 -0
  2034. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/verifiers/review-r3.mjs +60 -0
  2035. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/verifiers/seeded-bugs.mjs +74 -0
  2036. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/verifiers/summarize-s1.mjs +80 -0
  2037. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/README.md +28 -0
  2038. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/bench.json +14 -0
  2039. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.d.ts +303 -0
  2040. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.js +285 -0
  2041. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/license +9 -0
  2042. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/package.json +57 -0
  2043. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/readme.md +312 -0
  2044. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.js +427 -0
  2045. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.mjs +4 -0
  2046. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/ground-truth/oracle-query-shape.mjs +7 -0
  2047. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/index.js +294 -0
  2048. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/license +9 -0
  2049. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.md +12 -0
  2050. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.regression.test.mjs +6 -0
  2051. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/prompts/query-shape.md +7 -0
  2052. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/provenance.json +41 -0
  2053. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/verifiers/cases.mjs +26 -0
  2054. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/verifiers/probe.mjs +10 -0
  2055. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/verifiers/query-shape.mjs +40 -0
  2056. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/verifiers/regression-evidence.mjs +98 -0
  2057. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/verifiers/test-reporter.mjs +29 -0
  2058. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/agents.js +26 -0
  2059. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/cli.js +316 -0
  2060. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/cli.test.js +99 -0
  2061. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/bench.js +1035 -0
  2062. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/bench.test.js +1061 -0
  2063. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/bundle.js +334 -0
  2064. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/bundle.test.js +142 -0
  2065. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/confirm.js +39 -0
  2066. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/doctor.js +399 -0
  2067. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/doctor.test.js +280 -0
  2068. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/eval-report.js +608 -0
  2069. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/eval-report.test.js +367 -0
  2070. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/eval.js +405 -0
  2071. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/eval.test.js +446 -0
  2072. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/install.js +653 -0
  2073. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/install.test.js +555 -0
  2074. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/mcp.js +23 -0
  2075. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/report.js +78 -0
  2076. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/report.test.js +110 -0
  2077. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/setup.js +95 -0
  2078. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/setup.test.js +150 -0
  2079. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/upstream.js +210 -0
  2080. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/upstream.test.js +139 -0
  2081. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/docs.test.js +154 -0
  2082. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/frontmatter.js +53 -0
  2083. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/frontmatter.test.js +49 -0
  2084. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/bench.js +134 -0
  2085. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/bench.test.js +109 -0
  2086. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/bundle.js +46 -0
  2087. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/bundle.test.js +71 -0
  2088. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/constants.js +2 -0
  2089. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/costs.js +123 -0
  2090. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/costs.test.js +92 -0
  2091. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/execution-timing.js +66 -0
  2092. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/execution-timing.test.js +61 -0
  2093. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/executors/api.js +68 -0
  2094. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/executors/api.test.js +75 -0
  2095. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/executors/cli.js +408 -0
  2096. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/executors/cli.test.js +484 -0
  2097. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/executors/mock.js +34 -0
  2098. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/executors/mock.test.js +43 -0
  2099. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/experiment-session.js +363 -0
  2100. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/experiment-session.test.js +267 -0
  2101. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/hash.js +29 -0
  2102. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/installed-skill.js +89 -0
  2103. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/installed-skill.test.js +162 -0
  2104. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/judge.js +108 -0
  2105. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/judge.test.js +181 -0
  2106. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/kill-tree.js +43 -0
  2107. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/kimi-usage.js +94 -0
  2108. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/kimi-usage.test.js +62 -0
  2109. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/oss-lru-cache.test.js +79 -0
  2110. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/oss-normalize-url.test.js +64 -0
  2111. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/oss-regression-witness.test.js +89 -0
  2112. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/prompt.js +57 -0
  2113. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/prompt.test.js +48 -0
  2114. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/receipts.js +297 -0
  2115. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/receipts.test.js +148 -0
  2116. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/report.js +233 -0
  2117. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/report.test.js +297 -0
  2118. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/runner.js +675 -0
  2119. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/runner.test.js +612 -0
  2120. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/skill-revision.test.js +148 -0
  2121. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/stats.js +93 -0
  2122. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/stats.test.js +124 -0
  2123. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/target.js +90 -0
  2124. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/target.test.js +60 -0
  2125. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/trigger.js +368 -0
  2126. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/trigger.test.js +249 -0
  2127. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/types.js +12 -0
  2128. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/verifier-summary.js +59 -0
  2129. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/verifier-summary.test.js +99 -0
  2130. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/waza-behavior.test.js +139 -0
  2131. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/invocation.js +21 -0
  2132. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/matrix/agents.json +200 -0
  2133. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/matrix/agents.schema.json +152 -0
  2134. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/mcp/probe.js +458 -0
  2135. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/mcp/probe.test.js +139 -0
  2136. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/version.js +4 -0
  2137. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/docs/eval-costs.md +86 -0
  2138. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/docs/eval-timing.md +54 -0
  2139. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/docs/experiment-workflow.md +15 -0
  2140. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/docs/metrics.md +350 -0
  2141. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/artifacts/2026-10-12-diagnosing-v2/artifact-index.json +998 -0
  2142. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/artifacts/2026-10-12-normalize-url-v2-available/artifact-index.json +794 -0
  2143. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/artifact-index.json +1078 -0
  2144. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/artifact-index.json +1090 -0
  2145. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs/LICENSE +21 -0
  2146. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs/SKILL.md +138 -0
  2147. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs/agents/openai.yaml +3 -0
  2148. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  2149. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs-compact-v2/LICENSE +21 -0
  2150. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs-compact-v2/SKILL.md +73 -0
  2151. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs-compact-v2/agents/openai.yaml +3 -0
  2152. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs-compact-v2/scripts/hitl-loop.template.sh +44 -0
  2153. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/plans/2026-10-12-diagnosing-v2-candidate.json +9 -0
  2154. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/plans/2026-10-12-normalize-url-v2-validated.json +132 -0
  2155. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/package.json +49 -0
  2156. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/scripts/analyze-normalize-url-recovery-spending.mjs +54 -0
  2157. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/scripts/analyze-normalize-url-v2-validated.mjs +64 -0
  2158. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/scripts/replay-normalize-url-v2-validated.mjs +67 -0
  2159. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/scripts/run-normalize-url-v2-validated.mjs +138 -0
  2160. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/agents.ts +133 -0
  2161. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/cli.test.ts +99 -0
  2162. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/cli.ts +321 -0
  2163. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/bench.test.ts +1368 -0
  2164. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/bench.ts +1255 -0
  2165. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/bundle.test.ts +159 -0
  2166. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/bundle.ts +343 -0
  2167. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/confirm.ts +40 -0
  2168. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/doctor.test.ts +331 -0
  2169. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/doctor.ts +468 -0
  2170. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/eval-report.test.ts +381 -0
  2171. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/eval-report.ts +669 -0
  2172. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/eval.test.ts +508 -0
  2173. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/eval.ts +481 -0
  2174. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/install.test.ts +716 -0
  2175. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/install.ts +737 -0
  2176. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/mcp.ts +30 -0
  2177. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/report.test.ts +116 -0
  2178. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/report.ts +100 -0
  2179. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/setup.test.ts +160 -0
  2180. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/setup.ts +110 -0
  2181. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/upstream.test.ts +145 -0
  2182. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/upstream.ts +212 -0
  2183. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/docs.test.ts +167 -0
  2184. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/frontmatter.test.ts +66 -0
  2185. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/frontmatter.ts +54 -0
  2186. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/bench.test.ts +126 -0
  2187. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/bench.ts +151 -0
  2188. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/bundle.test.ts +78 -0
  2189. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/bundle.ts +56 -0
  2190. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/constants.ts +3 -0
  2191. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/costs.test.ts +98 -0
  2192. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/costs.ts +155 -0
  2193. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/execution-timing.test.ts +53 -0
  2194. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/execution-timing.ts +87 -0
  2195. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/executors/api.test.ts +84 -0
  2196. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/executors/api.ts +90 -0
  2197. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/executors/cli.test.ts +541 -0
  2198. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/executors/cli.ts +448 -0
  2199. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/executors/mock.test.ts +50 -0
  2200. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/executors/mock.ts +46 -0
  2201. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/experiment-session.test.ts +227 -0
  2202. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/experiment-session.ts +340 -0
  2203. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/hash.ts +32 -0
  2204. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/installed-skill.test.ts +173 -0
  2205. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/installed-skill.ts +92 -0
  2206. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/judge.test.ts +209 -0
  2207. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/judge.ts +136 -0
  2208. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/kill-tree.ts +44 -0
  2209. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/kimi-usage.test.ts +69 -0
  2210. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/kimi-usage.ts +100 -0
  2211. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/oss-lru-cache.test.ts +67 -0
  2212. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/oss-normalize-url.test.ts +69 -0
  2213. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/oss-regression-witness.test.ts +86 -0
  2214. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/prompt.test.ts +53 -0
  2215. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/prompt.ts +66 -0
  2216. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/receipts.test.ts +186 -0
  2217. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/receipts.ts +335 -0
  2218. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/report.test.ts +366 -0
  2219. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/report.ts +375 -0
  2220. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/runner.test.ts +729 -0
  2221. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/runner.ts +805 -0
  2222. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/skill-revision.test.ts +158 -0
  2223. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/stats.test.ts +148 -0
  2224. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/stats.ts +115 -0
  2225. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/target.test.ts +77 -0
  2226. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/target.ts +102 -0
  2227. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/trigger.test.ts +289 -0
  2228. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/trigger.ts +515 -0
  2229. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/types.ts +101 -0
  2230. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/verifier-summary.test.ts +117 -0
  2231. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/verifier-summary.ts +70 -0
  2232. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/waza-behavior.test.ts +148 -0
  2233. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/invocation.ts +17 -0
  2234. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/matrix/agents.json +200 -0
  2235. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/matrix/agents.schema.json +152 -0
  2236. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/mcp/probe.test.ts +174 -0
  2237. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/mcp/probe.ts +467 -0
  2238. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/version.ts +10 -0
  2239. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay-index.json +1046 -0
  2240. package/evidence/artifacts/2026-10-13-debugging-completed-development/README.md +39 -0
  2241. package/evidence/artifacts/2026-10-13-debugging-completed-development/package.tar.gz +0 -0
  2242. package/evidence/artifacts/2026-10-13-debugging-controls-and-sleep-stop/README.md +42 -0
  2243. package/evidence/artifacts/2026-10-13-debugging-controls-and-sleep-stop/package.tar.gz +0 -0
  2244. package/evidence/artifacts/2026-10-13-debugging-development-stops/README.md +34 -0
  2245. package/evidence/artifacts/2026-10-13-debugging-development-stops/package.tar.gz +0 -0
  2246. package/evidence/artifacts/2026-10-14-debugging-followup-routing-stop/README.md +36 -0
  2247. package/evidence/artifacts/2026-10-14-debugging-followup-routing-stop/package.tar.gz +0 -0
  2248. package/evidence/artifacts/2026-10-14-debugging-independent-validation/README.md +38 -0
  2249. package/evidence/artifacts/2026-10-14-debugging-independent-validation/package.tar.gz +0 -0
  2250. package/evidence/artifacts/2026-10-14-debugging-reading-pilot-and-cost-review/README.md +33 -0
  2251. package/evidence/artifacts/2026-10-14-debugging-reading-pilot-and-cost-review/package.tar.gz +0 -0
  2252. package/evidence/artifacts/2026-10-14-debugging-spending-stop/README.md +38 -0
  2253. package/evidence/artifacts/2026-10-14-debugging-spending-stop/package.tar.gz +0 -0
  2254. package/evidence/inputs/README.md +15 -0
  2255. package/evidence/inputs/diagnosing-bugs/LICENSE +21 -0
  2256. package/evidence/inputs/diagnosing-bugs/SKILL.md +138 -0
  2257. package/evidence/inputs/diagnosing-bugs/agents/openai.yaml +3 -0
  2258. package/evidence/inputs/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  2259. package/evidence/inputs/diagnosing-bugs-compact-v1/LICENSE +21 -0
  2260. package/evidence/inputs/diagnosing-bugs-compact-v1/SKILL.md +64 -0
  2261. package/evidence/inputs/diagnosing-bugs-compact-v1/agents/openai.yaml +3 -0
  2262. package/evidence/inputs/diagnosing-bugs-compact-v1/scripts/hitl-loop.template.sh +44 -0
  2263. package/evidence/inputs/diagnosing-bugs-compact-v2/LICENSE +21 -0
  2264. package/evidence/inputs/diagnosing-bugs-compact-v2/SKILL.md +73 -0
  2265. package/evidence/inputs/diagnosing-bugs-compact-v2/agents/openai.yaml +3 -0
  2266. package/evidence/inputs/diagnosing-bugs-compact-v2/scripts/hitl-loop.template.sh +44 -0
  2267. package/evidence/inputs/diagnosing-bugs-compact-v3/LICENSE +21 -0
  2268. package/evidence/inputs/diagnosing-bugs-compact-v3/SKILL.md +60 -0
  2269. package/evidence/inputs/diagnosing-bugs-compact-v3/agents/openai.yaml +3 -0
  2270. package/evidence/inputs/diagnosing-bugs-compact-v3/scripts/hitl-loop.template.sh +44 -0
  2271. package/evidence/inputs/diagnosing-bugs-compact-v4/LICENSE +21 -0
  2272. package/evidence/inputs/diagnosing-bugs-compact-v4/SKILL.md +46 -0
  2273. package/evidence/inputs/diagnosing-bugs-compact-v4/agents/openai.yaml +3 -0
  2274. package/evidence/inputs/diagnosing-bugs-compact-v4/scripts/hitl-loop.template.sh +44 -0
  2275. package/evidence/inputs/diagnosing-v2-lru-regression/README.md +6 -0
  2276. package/evidence/inputs/diagnosing-v2-lru-regression/bench.json +17 -0
  2277. package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/LICENSE.md +55 -0
  2278. package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/README.md +3 -0
  2279. package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/package.json +11 -0
  2280. package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/runtime.mjs +22 -0
  2281. package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-browser.ts +11 -0
  2282. package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-cjs.cts +11 -0
  2283. package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-esm.mts +29 -0
  2284. package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-node.ts +7 -0
  2285. package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel.ts +6 -0
  2286. package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/index.ts +3148 -0
  2287. package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/perf.ts +17 -0
  2288. package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/test.mjs +11 -0
  2289. package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/LICENSE.md +55 -0
  2290. package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-browser.ts +11 -0
  2291. package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-cjs.cts +11 -0
  2292. package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-esm.mts +29 -0
  2293. package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-node.ts +7 -0
  2294. package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel.ts +6 -0
  2295. package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/index.ts +3174 -0
  2296. package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/perf.ts +17 -0
  2297. package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle.md +11 -0
  2298. package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/oracle-fetch-lifecycle.mjs +7 -0
  2299. package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/oracle.mjs +9 -0
  2300. package/evidence/inputs/diagnosing-v2-lru-regression/prompts/fetch-lifecycle.md +5 -0
  2301. package/evidence/inputs/diagnosing-v2-lru-regression/runtime.mjs +22 -0
  2302. package/evidence/inputs/diagnosing-v2-lru-regression/verifiers/cases.mjs +74 -0
  2303. package/evidence/inputs/diagnosing-v2-lru-regression/verifiers/fetch-abort.mjs +3 -0
  2304. package/evidence/inputs/diagnosing-v2-lru-regression/verifiers/fetch-lifecycle.mjs +3 -0
  2305. package/evidence/inputs/diagnosing-v2-lru-regression/verifiers/fetch-size.mjs +3 -0
  2306. package/evidence/inputs/diagnosing-v2-lru-regression/verifiers/probe.mjs +14 -0
  2307. package/evidence/inputs/diagnosing-v2-lru-regression/verifiers/shared.mjs +130 -0
  2308. package/evidence/inputs/diagnosing-v2-lru-regression/verifiers/test-reporter.mjs +29 -0
  2309. package/evidence/plans/2026-10-01-oss-workspace-smoke.json +29 -0
  2310. package/evidence/plans/2026-10-12-diagnosing-revision-rtk.json +73 -0
  2311. package/evidence/plans/2026-10-12-diagnosing-revision.json +69 -0
  2312. package/evidence/plans/2026-10-12-diagnosing-v2-candidate.json +9 -0
  2313. package/evidence/plans/2026-10-12-diagnosing-v2.json +85 -0
  2314. package/evidence/plans/2026-10-12-normalize-url-v2-available.json +125 -0
  2315. package/evidence/plans/2026-10-12-normalize-url-v2-comparison.json +110 -0
  2316. package/evidence/plans/2026-10-12-normalize-url-v2-recovery.json +102 -0
  2317. package/evidence/plans/2026-10-12-normalize-url-v2-validated.json +132 -0
  2318. package/package.json +47 -4
  2319. package/profiles/codex-curated/catalog.json +28 -0
  2320. package/profiles/codex-curated/profile.json +282 -0
  2321. package/profiles/codex-curated/rules/global.md +12 -0
  2322. package/profiles/codex-curated/skills/autonomous-iteration/SKILL.md +75 -0
  2323. package/profiles/codex-curated/skills/autonomous-iteration/agents/openai.yaml +4 -0
  2324. package/profiles/codex-curated/skills/vibe-coding/SKILL.md +45 -0
  2325. package/profiles/codex-curated/skills/vibe-coding/agents/openai.yaml +4 -0
  2326. package/profiles/codex-upstream-sources.json +2980 -0
  2327. package/profiles/recommended/profile.json +12 -0
  2328. package/profiles/recommended/rules/core-workflow.md +41 -0
  2329. package/profiles/recommended/skills/commit-message/SKILL.md +18 -0
  2330. package/skills/skillfit/SKILL.md +77 -0
@@ -0,0 +1,1368 @@
1
+ import assert from 'node:assert/strict';
2
+ import { execFileSync, spawnSync } from 'node:child_process';
3
+ import { cpSync, existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
4
+ import { tmpdir } from 'node:os';
5
+ import { join } from 'node:path';
6
+ import { fileURLToPath } from 'node:url';
7
+ import { test } from 'node:test';
8
+ import { loadBench } from '../harness/bench.js';
9
+ import { runVerifier } from '../harness/runner.js';
10
+ import type { Executor } from '../harness/types.js';
11
+ import { runBenchAdd, runBenchCheck, runBenchInit } from './bench.js';
12
+
13
+ const PACKAGE_ROOT = fileURLToPath(new URL('../..', import.meta.url));
14
+ const BUNDLED_CODE_REVIEW = join(PACKAGE_ROOT, 'benches', 'code-review');
15
+ const BUNDLED_DEBUGGING = join(PACKAGE_ROOT, 'benches', 'debugging');
16
+
17
+ test('contributed-bench CI gate checks every directory and fails if one check fails', (t) => {
18
+ const cwd = tmp(t, 'skillfit-contrib-gate-');
19
+ mkdirSync(join(cwd, 'benches', 'contrib', 'good'), { recursive: true });
20
+ mkdirSync(join(cwd, 'benches', 'contrib', 'broken'), { recursive: true });
21
+ mkdirSync(join(cwd, 'dist'), { recursive: true });
22
+ writeFileSync(join(cwd, 'dist', 'cli.js'),
23
+ 'process.stdout.write(process.argv.at(-1)+"\\n");process.exit(process.argv.at(-1).endsWith("broken")?1:0)');
24
+ const result = spawnSync(process.execPath, [join(PACKAGE_ROOT, 'scripts', 'check-contrib-benches.mjs')],
25
+ { cwd, encoding: 'utf8' });
26
+ assert.equal(result.status, 1);
27
+ assert.match(result.stdout, /Checking contributed bench: /);
28
+ assert.match(result.stdout, /broken/);
29
+ assert.match(result.stdout, /good/);
30
+ });
31
+
32
+ function tmp(t: import('node:test').TestContext, prefix: string): string {
33
+ const dir = mkdtempSync(join(tmpdir(), prefix));
34
+ t.after(() => rmSync(dir, { recursive: true, force: true }));
35
+ return dir;
36
+ }
37
+
38
+ function collector(): { lines: string[]; log: (msg: string) => void } {
39
+ const lines: string[] = [];
40
+ return { lines, log: (msg: string) => lines.push(msg) };
41
+ }
42
+
43
+ test('runBenchInit dry-run prints the plan and writes nothing', async (t) => {
44
+ const cwd = tmp(t, 'skillfit-bench-init-');
45
+ const { lines, log } = collector();
46
+ const result = await runBenchInit({ cwd, dryRun: true, log });
47
+ assert.equal(result, null);
48
+ assert.ok(!existsSync(join(cwd, 'skillfit-bench')));
49
+ const output = lines.join('\n');
50
+ assert.match(output, /Bench scaffold plan \(dry run\)/);
51
+ assert.match(output, /\+ bench\.json/);
52
+ assert.match(output, /\+ verifiers\/example-task\.mjs/);
53
+ });
54
+
55
+ test('runBenchInit scaffolds a bench that loads and passes bench check', async (t) => {
56
+ const cwd = tmp(t, 'skillfit-bench-init-');
57
+ const { log } = collector();
58
+ const result = await runBenchInit({ cwd, yes: true, log });
59
+ assert.ok(result);
60
+ assert.equal(result.dir, join(cwd, 'skillfit-bench'));
61
+ const bench = loadBench(result.dir);
62
+ assert.equal(bench.name, 'skillfit-bench');
63
+ assert.equal(bench.tasks.length, 1);
64
+ const report = await runBenchCheck({ dir: result.dir, log: () => {} });
65
+ assert.equal(report.failures, 0);
66
+ assert.ok(
67
+ report.checks.some(
68
+ (c) => c.status === 'INFO' && c.message.includes('no shouldTrigger label'),
69
+ ),
70
+ );
71
+ });
72
+
73
+ test('runBenchInit refuses a non-empty target directory', async (t) => {
74
+ const cwd = tmp(t, 'skillfit-bench-init-');
75
+ const dir = join(cwd, 'skillfit-bench');
76
+ mkdirSync(dir, { recursive: true });
77
+ writeFileSync(join(dir, 'occupied.txt'), 'x');
78
+ await assert.rejects(() => runBenchInit({ cwd, yes: true, log: () => {} }), /not empty/);
79
+ });
80
+
81
+ test('runBenchInit aborts when the user declines', async (t) => {
82
+ const cwd = tmp(t, 'skillfit-bench-init-');
83
+ const result = await runBenchInit({ cwd, confirm: () => Promise.resolve(false), log: () => {} });
84
+ assert.equal(result, null);
85
+ assert.ok(!existsSync(join(cwd, 'skillfit-bench')));
86
+ });
87
+
88
+ // Exercises the real readline path in a child process, because the defect is about stdin closing
89
+ // without ever delivering a line — something an injected `confirm` stub cannot reproduce.
90
+ test('bench init fails fast when stdin closes without an answer', (t) => {
91
+ const cwd = tmp(t, 'skillfit-bench-stdin-');
92
+ const result = spawnSync(
93
+ process.execPath,
94
+ [join(PACKAGE_ROOT, 'dist', 'cli.js'), 'bench', 'init', join(cwd, 'stdin-probe')],
95
+ { cwd, encoding: 'utf8', input: '', timeout: 30_000 },
96
+ );
97
+ assert.equal(result.signal, null, 'must not hang until the timeout');
98
+ assert.notEqual(
99
+ result.status,
100
+ 0,
101
+ 'closed non-TTY stdin must fail, not exit 0 having written nothing',
102
+ );
103
+ assert.match(result.stderr, /--yes/);
104
+ assert.ok(!existsSync(join(cwd, 'stdin-probe')), 'nothing was written');
105
+ });
106
+
107
+ test('runBenchCheck passes on the bundled code-review bench', async () => {
108
+ const { log } = collector();
109
+ const report = await runBenchCheck({ dir: BUNDLED_CODE_REVIEW, log });
110
+ assert.equal(report.failures, 0);
111
+ assert.ok(!report.checks.some((c) => c.message.includes('negative-control')));
112
+ // The teaching material must not trip the gates it is teaching. Warnings are asserted, not just
113
+ // failures, because a bundled bench that warns is a bundled bench modelling the wrong habit.
114
+ assert.equal(report.warnings, 0, report.checks.filter((c) => c.status === 'WARN').map((c) => c.message).join('; '));
115
+ assert.ok(
116
+ report.checks.some(
117
+ (c) => c.status === 'PASS' && c.message.includes('negative controls (40%)'),
118
+ ),
119
+ );
120
+ });
121
+
122
+ test('runBenchCheck gates every bundled debugging task with its oracle', async () => {
123
+ const { log } = collector();
124
+ const report = await runBenchCheck({ dir: BUNDLED_DEBUGGING, log });
125
+ assert.equal(report.failures, 0);
126
+ const oraclePasses = report.checks.filter(
127
+ (c) => c.status === 'PASS' && c.message.includes('oracle solution passes the verifier'),
128
+ );
129
+ assert.equal(oraclePasses.length, 8, 'every task registers an oracle and that oracle solves it');
130
+ assert.ok(
131
+ !report.checks.some((c) => c.message.includes('no oracle')),
132
+ 'the bundled bench must not trip its own missing-oracle warning',
133
+ );
134
+ assert.equal(report.warnings, 0, report.checks.filter((c) => c.status === 'WARN').map((c) => c.message).join('; '));
135
+ assert.ok(
136
+ report.checks.some(
137
+ (c) => c.status === 'PASS' && c.message.includes('negative controls (38%)'),
138
+ ),
139
+ );
140
+ });
141
+
142
+ function commandKindBench(t: import('node:test').TestContext, withOracle: boolean): string {
143
+ const dir = tmp(t, 'skillfit-bench-cmdkind-');
144
+ mkdirSync(join(dir, 'fixtures', 't1'), { recursive: true });
145
+ mkdirSync(join(dir, 'prompts'), { recursive: true });
146
+ mkdirSync(join(dir, 'verifiers'), { recursive: true });
147
+ mkdirSync(join(dir, 'ground-truth'), { recursive: true });
148
+ writeFileSync(join(dir, 'fixtures', 't1', 'index.txt'), 'x\n');
149
+ writeFileSync(join(dir, 'prompts', 't1.md'), 'Do something.\n');
150
+ writeFileSync(join(dir, 'verifiers', 'v.mjs'), EXACT_VERIFIER);
151
+ writeFileSync(
152
+ join(dir, 'ground-truth', 'o.mjs'),
153
+ `import fs from 'node:fs';
154
+ import path from 'node:path';
155
+ fs.writeFileSync(path.join(process.argv[2], '_output.md'), 'right\\n');
156
+ `,
157
+ );
158
+ const task: Record<string, unknown> = {
159
+ id: 't1',
160
+ fixture: 'fixtures/t1',
161
+ prompt: 'prompts/t1.md',
162
+ verifier: 'node verifiers/v.mjs',
163
+ verifierKind: 'command',
164
+ };
165
+ if (withOracle) task['oracle'] = 'node ground-truth/o.mjs';
166
+ writeFileSync(join(dir, 'bench.json'), JSON.stringify({ schemaVersion: 1, tasks: [task] }));
167
+ return dir;
168
+ }
169
+
170
+ test('runBenchCheck names the offline coverage a command-kind task actually has', async (t) => {
171
+ const gated = await runBenchCheck({ dir: commandKindBench(t, true), log: () => {} });
172
+ assert.equal(gated.failures, 0);
173
+ const gatedInfo = gated.checks.find((c) => c.message.includes('mock-arm probes not applicable'));
174
+ assert.ok(gatedInfo, 'command-kind tasks always report why mock probes were skipped');
175
+ assert.match(gatedInfo.message, /offline coverage comes from the oracle and NOP gates/);
176
+
177
+ const ungated = await runBenchCheck({ dir: commandKindBench(t, false), log: () => {} });
178
+ const ungatedInfo = ungated.checks.find((c) => c.message.includes('mock-arm probes not applicable'));
179
+ assert.ok(ungatedInfo);
180
+ assert.match(ungatedInfo.message, /nothing offline shows this task is solvable/);
181
+ });
182
+
183
+ test('runBenchCheck fails a command-kind task whose verifier cannot be spawned', async (t) => {
184
+ const dir = commandKindBench(t, true);
185
+ const manifest = JSON.parse(readFileSync(join(dir, 'bench.json'), 'utf8')) as {
186
+ tasks: Array<{ verifier: string }>;
187
+ };
188
+ const task = manifest.tasks[0];
189
+ assert.ok(task);
190
+ task.verifier = 'no-such-verifier-binary verifiers/v.mjs';
191
+ writeFileSync(join(dir, 'bench.json'), JSON.stringify(manifest));
192
+
193
+ const report = await runBenchCheck({ dir, log: () => {} });
194
+ assert.ok(
195
+ report.checks.some(
196
+ (c) => c.status === 'FAIL' && c.message.includes('t1: verifier could not be started'),
197
+ ),
198
+ 'a verifier that never ran is a bench defect and must say so',
199
+ );
200
+ assert.ok(
201
+ !report.checks.some(
202
+ (c) => c.status === 'PASS' && c.message.includes('fails on the untouched fixture'),
203
+ ),
204
+ 'the NOP gate must not read "could not spawn" as the failure it exists to require',
205
+ );
206
+ });
207
+
208
+ // The visible suite IS this task's specification, so it is also the thing an agent can edit to win.
209
+ // `bench check` covers the NOP and oracle directions but not tampering, so the cheat gets its own test.
210
+ test('the bundled feat-slug verifier rejects a rewritten test suite', async (t) => {
211
+ const runDir = tmp(t, 'skillfit-featslug-tamper-');
212
+ cpSync(join(BUNDLED_DEBUGGING, 'fixtures', 'feat-slug'), runDir, { recursive: true });
213
+
214
+ const solve = await runVerifier(BUNDLED_DEBUGGING, 'node ground-truth/oracle-feat-slug.mjs', runDir);
215
+ assert.equal(solve.exitCode, 0, 'the oracle must solve the pristine fixture');
216
+ const solved = await runVerifier(BUNDLED_DEBUGGING, 'node verifiers/feat-slug.mjs', runDir);
217
+ assert.equal(solved.exitCode, 0, 'the reference solution must pass');
218
+
219
+ // A suite that the correct implementation still satisfies, so only the tamper check can catch it.
220
+ writeFileSync(
221
+ join(runDir, 'test', 'slug.test.mjs'),
222
+ `import test from 'node:test';
223
+ import assert from 'node:assert/strict';
224
+ import { slugify } from '../src/slug.mjs';
225
+
226
+ test('trivial', () => {
227
+ assert.equal(typeof slugify('anything'), 'string');
228
+ });
229
+ `,
230
+ 'utf8',
231
+ );
232
+ const tampered = await runVerifier(BUNDLED_DEBUGGING, 'node verifiers/feat-slug.mjs', runDir);
233
+ assert.notEqual(tampered.exitCode, 0, 'editing the specification is not satisfying it');
234
+ assert.match(tampered.output, /visible suite unmodified/);
235
+ assert.match(tampered.output, /differs from the fixture copy/);
236
+ });
237
+
238
+ // The two checks this replaced scanned test source text — four `test(` occurrences and a match on
239
+ // /negative|maxItems|invalid|reject/i — so empty tests containing the right words scored full marks.
240
+ test('the bundled range-parser verifier rejects a keyword-stuffed empty test suite', async (t) => {
241
+ const runDir = tmp(t, 'skillfit-rangeparser-game-');
242
+ cpSync(join(BUNDLED_DEBUGGING, 'fixtures', 'range-parser'), runDir, { recursive: true });
243
+
244
+ const solve = await runVerifier(BUNDLED_DEBUGGING, 'node ground-truth/oracle-range-parser.mjs', runDir);
245
+ assert.equal(solve.exitCode, 0, 'the oracle must solve the pristine fixture');
246
+ const solved = await runVerifier(BUNDLED_DEBUGGING, 'node verifiers/range-parser.mjs', runDir);
247
+ assert.equal(solved.exitCode, 0, 'the reference solution must pass');
248
+
249
+ mkdirSync(join(runDir, 'test'), { recursive: true });
250
+ writeFileSync(
251
+ join(runDir, 'test', 'basic.test.mjs'),
252
+ `import test from 'node:test';
253
+ import assert from 'node:assert/strict';
254
+
255
+ test('invalid input handling', () => { assert.ok(true); });
256
+ test('negative value handling', () => { assert.ok(true); });
257
+ test('maxItems limit', () => { assert.ok(true); });
258
+ test('rejects bad segments', () => { assert.ok(true); });
259
+ `,
260
+ 'utf8',
261
+ );
262
+ const gamed = await runVerifier(BUNDLED_DEBUGGING, 'node verifiers/range-parser.mjs', runDir);
263
+ assert.notEqual(gamed.exitCode, 0, 'a suite that asserts nothing is not a regression test');
264
+ assert.match(gamed.output, /red-to-green regression test/);
265
+ assert.match(gamed.output, /detects none of the seeded bugs/);
266
+ });
267
+
268
+ test('runBenchCheck fails a bench whose verifier accepts empty output', async (t) => {
269
+ const dir = tmp(t, 'skillfit-bench-broken-');
270
+ mkdirSync(join(dir, 'fixtures', 't1'), { recursive: true });
271
+ mkdirSync(join(dir, 'prompts'), { recursive: true });
272
+ mkdirSync(join(dir, 'verifiers'), { recursive: true });
273
+ writeFileSync(join(dir, 'fixtures', 't1', 'index.txt'), 'x\n');
274
+ writeFileSync(join(dir, 'prompts', 't1.md'), 'Do something.\n');
275
+ writeFileSync(join(dir, 'verifiers', 'always.mjs'), 'process.exit(0);\n');
276
+ writeFileSync(
277
+ join(dir, 'bench.json'),
278
+ JSON.stringify({
279
+ schemaVersion: 1,
280
+ name: 'broken',
281
+ tasks: [{ id: 't1', fixture: 'fixtures/t1', prompt: 'prompts/t1.md', verifier: 'node verifiers/always.mjs' }],
282
+ }),
283
+ );
284
+ const report = await runBenchCheck({ dir, log: () => {} });
285
+ assert.ok(report.failures >= 2);
286
+ assert.ok(
287
+ report.checks.some((c) => c.status === 'FAIL' && c.message.includes('empty output')),
288
+ );
289
+ });
290
+
291
+ test('runBenchCheck fails cleanly on a non-bench directory', async (t) => {
292
+ const dir = tmp(t, 'skillfit-bench-none-');
293
+ const report = await runBenchCheck({ dir, log: () => {} });
294
+ assert.equal(report.failures, 1);
295
+ assert.match(report.checks[0]?.message ?? '', /does not load/);
296
+ });
297
+
298
+ function oracleBench(
299
+ t: import('node:test').TestContext,
300
+ verifierSrc: string,
301
+ oracleSrc: string,
302
+ ): string {
303
+ const dir = tmp(t, 'skillfit-bench-oracle-');
304
+ mkdirSync(join(dir, 'fixtures', 't1'), { recursive: true });
305
+ mkdirSync(join(dir, 'prompts'), { recursive: true });
306
+ mkdirSync(join(dir, 'verifiers'), { recursive: true });
307
+ mkdirSync(join(dir, 'ground-truth'), { recursive: true });
308
+ writeFileSync(join(dir, 'fixtures', 't1', 'index.txt'), 'x\n');
309
+ writeFileSync(join(dir, 'prompts', 't1.md'), 'Do something.\n');
310
+ writeFileSync(join(dir, 'verifiers', 'v.mjs'), verifierSrc);
311
+ writeFileSync(join(dir, 'ground-truth', 'o.mjs'), oracleSrc);
312
+ writeFileSync(
313
+ join(dir, 'bench.json'),
314
+ JSON.stringify({
315
+ schemaVersion: 1,
316
+ tasks: [
317
+ {
318
+ id: 't1',
319
+ fixture: 'fixtures/t1',
320
+ prompt: 'prompts/t1.md',
321
+ verifier: 'node verifiers/v.mjs',
322
+ oracle: 'node ground-truth/o.mjs',
323
+ },
324
+ ],
325
+ }),
326
+ );
327
+ return dir;
328
+ }
329
+
330
+ const EXACT_VERIFIER = `import fs from 'node:fs';
331
+ import path from 'node:path';
332
+ let out = '';
333
+ try {
334
+ out = fs.readFileSync(path.join(process.argv[2], '_output.md'), 'utf8').trim();
335
+ } catch {
336
+ console.log(JSON.stringify({ passed: false, checks: [{ name: 'answer', pass: false }] }));
337
+ process.exit(1);
338
+ }
339
+ const passed = out === 'right';
340
+ console.log(JSON.stringify({ passed, checks: [{ name: 'answer', pass: passed }] }));
341
+ process.exit(passed ? 0 : 1);
342
+ `;
343
+
344
+ test('runBenchCheck passes when the oracle aces the verifier', async (t) => {
345
+ const oracle = `import fs from 'node:fs';
346
+ import path from 'node:path';
347
+ fs.writeFileSync(path.join(process.argv[2], '_output.md'), 'right\\n');
348
+ `;
349
+ const dir = oracleBench(t, EXACT_VERIFIER, oracle);
350
+ const report = await runBenchCheck({ dir, log: () => {} });
351
+ assert.equal(report.failures, 0);
352
+ assert.ok(
353
+ report.checks.some(
354
+ (c) => c.status === 'PASS' && c.message.includes('oracle solution passes the verifier with full checks'),
355
+ ),
356
+ );
357
+ });
358
+
359
+ test('runBenchCheck fails when the oracle does not solve the task', async (t) => {
360
+ const oracle = `import fs from 'node:fs';
361
+ import path from 'node:path';
362
+ fs.writeFileSync(path.join(process.argv[2], '_output.md'), 'wrong\\n');
363
+ `;
364
+ const dir = oracleBench(t, EXACT_VERIFIER, oracle);
365
+ const report = await runBenchCheck({ dir, log: () => {} });
366
+ assert.ok(
367
+ report.checks.some(
368
+ (c) => c.status === 'FAIL' && c.message.includes('oracle solution does not pass the verifier'),
369
+ ),
370
+ );
371
+ });
372
+
373
+ test('runBenchCheck fails when the oracle passes the exit code but not every check', async (t) => {
374
+ const partialVerifier = `import fs from 'node:fs';
375
+ import path from 'node:path';
376
+ let out = '';
377
+ try {
378
+ out = fs.readFileSync(path.join(process.argv[2], '_output.md'), 'utf8');
379
+ } catch {
380
+ console.log(JSON.stringify({ passed: false }));
381
+ process.exit(1);
382
+ }
383
+ if (out.trim() === '') {
384
+ console.log(JSON.stringify({ passed: false }));
385
+ process.exit(1);
386
+ }
387
+ console.log(JSON.stringify({ passed: true, checks: [{ name: 'a', pass: true }, { name: 'b', pass: false }] }));
388
+ process.exit(0);
389
+ `;
390
+ const oracle = `import fs from 'node:fs';
391
+ import path from 'node:path';
392
+ fs.writeFileSync(path.join(process.argv[2], '_output.md'), 'something\\n');
393
+ `;
394
+ const dir = oracleBench(t, partialVerifier, oracle);
395
+ const report = await runBenchCheck({ dir, log: () => {} });
396
+ assert.ok(
397
+ report.checks.some(
398
+ (c) => c.status === 'FAIL' && c.message.includes('scores 0.50 on its checks'),
399
+ ),
400
+ );
401
+ });
402
+
403
+ test('runBenchCheck fails when the oracle command itself errors', async (t) => {
404
+ const dir = oracleBench(t, EXACT_VERIFIER, 'process.exit(1);\n');
405
+ const report = await runBenchCheck({ dir, log: () => {} });
406
+ assert.ok(
407
+ report.checks.some(
408
+ (c) => c.status === 'FAIL' && c.message.includes('oracle command itself failed'),
409
+ ),
410
+ );
411
+ });
412
+
413
+ test('runBenchCheck warns when a task registers no oracle', async (t) => {
414
+ const dir = tmp(t, 'skillfit-bench-nooracle-');
415
+ mkdirSync(join(dir, 'fixtures', 't1'), { recursive: true });
416
+ mkdirSync(join(dir, 'prompts'), { recursive: true });
417
+ mkdirSync(join(dir, 'verifiers'), { recursive: true });
418
+ writeFileSync(join(dir, 'fixtures', 't1', 'index.txt'), 'x\n');
419
+ writeFileSync(join(dir, 'prompts', 't1.md'), 'Do something.\n');
420
+ writeFileSync(join(dir, 'verifiers', 'v.mjs'), EXACT_VERIFIER);
421
+ writeFileSync(
422
+ join(dir, 'bench.json'),
423
+ JSON.stringify({
424
+ schemaVersion: 1,
425
+ tasks: [
426
+ {
427
+ id: 't1',
428
+ fixture: 'fixtures/t1',
429
+ prompt: 'prompts/t1.md',
430
+ verifier: 'node verifiers/v.mjs',
431
+ },
432
+ ],
433
+ }),
434
+ );
435
+ const report = await runBenchCheck({ dir, log: () => {} });
436
+ const warning = report.checks.find(
437
+ (c) => c.status === 'WARN' && c.message.startsWith('t1: no oracle'),
438
+ );
439
+ assert.ok(warning, 'expected a WARN for the missing oracle');
440
+ assert.match(warning.message, /task winnability is unverified/);
441
+ // A missing oracle warns rather than fails: `bench add --freeze` legitimately
442
+ // produces oracle-less tasks mid-authoring, and a hard fail would block that flow.
443
+ assert.equal(report.failures, 0);
444
+ });
445
+
446
+ test('runBenchCheck does not warn about oracles when every task registers one', async (t) => {
447
+ const oracle = `import fs from 'node:fs';
448
+ import path from 'node:path';
449
+ fs.writeFileSync(path.join(process.argv[2], '_output.md'), 'right\\n');
450
+ `;
451
+ const dir = oracleBench(t, EXACT_VERIFIER, oracle);
452
+ const report = await runBenchCheck({ dir, log: () => {} });
453
+ assert.equal(report.failures, 0);
454
+ assert.ok(
455
+ !report.checks.some((c) => c.message.includes('no oracle')),
456
+ 'a bench with oracles registered must not warn about missing ones',
457
+ );
458
+ });
459
+
460
+ function facetCountBench(t: import('node:test').TestContext, count: number): string {
461
+ const dir = tmp(t, 'skillfit-bench-facets-');
462
+ mkdirSync(join(dir, 'fixtures', 't1'), { recursive: true });
463
+ mkdirSync(join(dir, 'prompts'), { recursive: true });
464
+ mkdirSync(join(dir, 'verifiers'), { recursive: true });
465
+ writeFileSync(join(dir, 'fixtures', 't1', 'index.txt'), 'x\n');
466
+ writeFileSync(join(dir, 'prompts', 't1.md'), 'Do something.\n');
467
+ const names = Array.from({ length: count }, (_, i) => `check-${i + 1}`);
468
+ writeFileSync(
469
+ join(dir, 'verifiers', 'v.mjs'),
470
+ `import fs from 'node:fs';
471
+ import path from 'node:path';
472
+ let out = '';
473
+ try {
474
+ out = fs.readFileSync(path.join(process.argv[2], '_output.md'), 'utf8');
475
+ } catch {
476
+ out = '';
477
+ }
478
+ const passed = out.trim() === 'right';
479
+ const checks = ${JSON.stringify(names)}.map((name) => ({ name, pass: passed }));
480
+ console.log(JSON.stringify({ passed, checks }));
481
+ process.exit(passed ? 0 : 1);
482
+ `,
483
+ );
484
+ writeFileSync(
485
+ join(dir, 'bench.json'),
486
+ JSON.stringify({
487
+ schemaVersion: 1,
488
+ tasks: [
489
+ {
490
+ id: 't1',
491
+ fixture: 'fixtures/t1',
492
+ prompt: 'prompts/t1.md',
493
+ verifier: 'node verifiers/v.mjs',
494
+ },
495
+ ],
496
+ }),
497
+ );
498
+ return dir;
499
+ }
500
+
501
+ function facetGate(report: { checks: { status: string; message: string }[] }): {
502
+ status: string;
503
+ message: string;
504
+ } | undefined {
505
+ return report.checks.find((c) => c.message.includes('facet check(s)'));
506
+ }
507
+
508
+ test('runBenchCheck warns when the facet-check count falls outside 2–8', async (t) => {
509
+ for (const count of [1, 12]) {
510
+ const report = await runBenchCheck({ dir: facetCountBench(t, count), log: () => {} });
511
+ const gate = facetGate(report);
512
+ assert.ok(gate, `expected a facet-count line for ${count} checks`);
513
+ assert.equal(gate.status, 'WARN', `${count} checks must warn`);
514
+ assert.ok(
515
+ gate.message.startsWith(`t1: ${count} facet check(s)`),
516
+ `message should name the count, got: ${gate.message}`,
517
+ );
518
+ }
519
+ });
520
+
521
+ test('runBenchCheck passes facet counts at both ends of the 2–8 contract', async (t) => {
522
+ for (const count of [2, 8]) {
523
+ const report = await runBenchCheck({ dir: facetCountBench(t, count), log: () => {} });
524
+ const gate = facetGate(report);
525
+ assert.ok(gate, `expected a facet-count line for ${count} checks`);
526
+ assert.equal(gate.status, 'PASS', `${count} checks must pass`);
527
+ assert.equal(report.failures, 0);
528
+ }
529
+ });
530
+
531
+ function triggerLabelBench(
532
+ t: import('node:test').TestContext,
533
+ labeled: number,
534
+ negatives: number,
535
+ ): string {
536
+ const dir = tmp(t, 'skillfit-bench-negatives-');
537
+ mkdirSync(join(dir, 'prompts'), { recursive: true });
538
+ mkdirSync(join(dir, 'verifiers'), { recursive: true });
539
+ writeFileSync(join(dir, 'verifiers', 'v.mjs'), EXACT_VERIFIER);
540
+ const tasks: Record<string, unknown>[] = [];
541
+ for (let i = 0; i < labeled; i++) {
542
+ const id = `task-${i + 1}`;
543
+ mkdirSync(join(dir, 'fixtures', id), { recursive: true });
544
+ writeFileSync(join(dir, 'fixtures', id, 'index.txt'), 'x\n');
545
+ writeFileSync(join(dir, 'prompts', `${id}.md`), `${id} prompt.\n`);
546
+ tasks.push({
547
+ id,
548
+ fixture: `fixtures/${id}`,
549
+ prompt: `prompts/${id}.md`,
550
+ verifier: 'node verifiers/v.mjs',
551
+ shouldTrigger: i >= negatives,
552
+ });
553
+ }
554
+ writeFileSync(join(dir, 'bench.json'), JSON.stringify({ schemaVersion: 1, tasks }));
555
+ return dir;
556
+ }
557
+
558
+ function negativeControlLine(report: { checks: { status: string; message: string }[] }): {
559
+ status: string;
560
+ message: string;
561
+ } | undefined {
562
+ return report.checks.find((c) => c.message.includes('negative controls'));
563
+ }
564
+
565
+ test('runBenchCheck warns when negative controls fall below the 30% target', async (t) => {
566
+ const report = await runBenchCheck({ dir: triggerLabelBench(t, 5, 1), log: () => {} });
567
+ const line = negativeControlLine(report);
568
+ assert.ok(line, 'expected a negative-control line');
569
+ assert.equal(line.status, 'WARN', '1/5 = 20% must warn');
570
+ assert.match(line.message, /^1\/5 labeled task\(s\) are negative controls \(20%\)/);
571
+ assert.match(line.message, /below the 30% target/);
572
+ });
573
+
574
+ test('runBenchCheck passes negative controls at exactly the 30% target', async (t) => {
575
+ const report = await runBenchCheck({ dir: triggerLabelBench(t, 10, 3), log: () => {} });
576
+ const line = negativeControlLine(report);
577
+ assert.ok(line, 'expected a negative-control line');
578
+ assert.equal(line.status, 'PASS', '3/10 = 30% is at the target and must not warn');
579
+ assert.match(line.message, /^3\/10 labeled task\(s\) are negative controls \(30%\)/);
580
+ });
581
+
582
+ test('runBenchCheck still warns hardest when a labelled bench has no negative controls', async (t) => {
583
+ const report = await runBenchCheck({ dir: triggerLabelBench(t, 3, 0), log: () => {} });
584
+ assert.ok(
585
+ report.checks.some(
586
+ (c) => c.status === 'WARN' && c.message.includes('cannot measure false-trigger rate'),
587
+ ),
588
+ );
589
+ });
590
+
591
+ function gitRepoWithBug(t: import('node:test').TestContext): string {
592
+ const dir = tmp(t, 'skillfit-freeze-src-');
593
+ writeFileSync(join(dir, 'add.js'), 'export function add(a, b) {\n return a - b;\n}\n');
594
+ writeFileSync(
595
+ join(dir, 'add.test.js'),
596
+ `import { test } from 'node:test';\nimport assert from 'node:assert/strict';\nimport { add } from './add.js';\ntest('add works', () => { assert.equal(add(1, 2), 3); });\n`,
597
+ );
598
+ writeFileSync(join(dir, 'package.json'), '{ "type": "module" }\n');
599
+ execFileSync('git', ['init', '-q'], { cwd: dir });
600
+ execFileSync('git', ['config', 'user.email', 't@t'], { cwd: dir });
601
+ execFileSync('git', ['config', 'user.name', 't'], { cwd: dir });
602
+ execFileSync('git', ['add', '-A'], { cwd: dir });
603
+ execFileSync('git', ['commit', '-qm', 'init'], { cwd: dir });
604
+ mkdirSync(join(dir, 'node_modules', 'junk'), { recursive: true });
605
+ writeFileSync(join(dir, 'node_modules', 'junk', 'big.js'), 'x'.repeat(4096));
606
+ writeFileSync(join(dir, 'untracked.txt'), 'not tracked\n');
607
+ return dir;
608
+ }
609
+
610
+ function freezeBench(t: import('node:test').TestContext): Promise<string> {
611
+ const cwd = tmp(t, 'skillfit-freeze-bench-');
612
+ const dir = join(cwd, 'my-bench');
613
+ return runBenchInit({ cwd, dir, yes: true, log: () => {} }).then(() => dir);
614
+ }
615
+
616
+ test('runBenchAdd --freeze captures only git-tracked files and registers the task', async (t) => {
617
+ const source = gitRepoWithBug(t);
618
+ const benchDir = await freezeBench(t);
619
+ const result = await runBenchAdd({
620
+ benchDir,
621
+ task: 'add-bug',
622
+ prompt: 'The add function is broken. Fix it so the tests pass.',
623
+ freeze: true,
624
+ sourceDir: source,
625
+ verifierCmd: 'node --test',
626
+ shouldTrigger: true,
627
+ yes: true,
628
+ log: () => {},
629
+ });
630
+ assert.ok(result);
631
+ const fixture = join(benchDir, 'fixtures', 'add-bug');
632
+ assert.ok(existsSync(join(fixture, 'add.js')), 'tracked file captured');
633
+ assert.ok(!existsSync(join(fixture, 'untracked.txt')), 'untracked file excluded');
634
+ assert.ok(!existsSync(join(fixture, 'node_modules')), 'node_modules excluded');
635
+ const bench = loadBench(benchDir);
636
+ const task = bench.tasks.find((entry) => entry.id === 'add-bug');
637
+ assert.equal(task?.verifierKind, 'command');
638
+ assert.equal(task?.shouldTrigger, true);
639
+ assert.equal(task?.promptTrigger, 'prompts/add-bug.trigger.md');
640
+ assert.ok(existsSync(join(benchDir, 'prompts', 'add-bug.trigger.md')));
641
+ assert.ok(existsSync(join(benchDir, 'ground-truth', 'add-bug.md')));
642
+
643
+ const runDir = mkdtempSync(join(tmpdir(), 'skillfit-freeze-run-'));
644
+ t.after(() => rmSync(runDir, { recursive: true, force: true }));
645
+ for (const file of ['add.js', 'add.test.js', 'package.json']) {
646
+ writeFileSync(join(runDir, file), readFileSync(join(fixture, file)));
647
+ }
648
+ const failing = spawnSync('node', [join(benchDir, 'verifiers', 'add-bug.mjs'), runDir], {
649
+ cwd: benchDir,
650
+ encoding: 'utf8',
651
+ });
652
+ assert.notEqual(failing.status, 0, 'verifier fails while the bug is present');
653
+ writeFileSync(join(runDir, 'add.js'), 'export function add(a, b) {\n return a + b;\n}\n');
654
+ const passing = spawnSync('node', [join(benchDir, 'verifiers', 'add-bug.mjs'), runDir], {
655
+ cwd: benchDir,
656
+ encoding: 'utf8',
657
+ });
658
+ assert.equal(passing.status, 0, 'verifier passes once the fix is in place');
659
+
660
+ const report = await runBenchCheck({ dir: benchDir, log: () => {} });
661
+ assert.equal(report.failures, 0);
662
+ });
663
+
664
+ test('runBenchAdd --freeze supports --expect output verifiers', async (t) => {
665
+ const source = gitRepoWithBug(t);
666
+ const benchDir = await freezeBench(t);
667
+ await runBenchAdd({
668
+ benchDir,
669
+ task: 'explain-bug',
670
+ prompt: 'Explain why add.test.js fails.',
671
+ freeze: true,
672
+ sourceDir: source,
673
+ expect: 'subtracts instead of adds',
674
+ yes: true,
675
+ log: () => {},
676
+ });
677
+ const bench = loadBench(benchDir);
678
+ const task = bench.tasks.find((entry) => entry.id === 'explain-bug');
679
+ assert.equal(task?.verifierKind, 'output');
680
+ const runDir = mkdtempSync(join(tmpdir(), 'skillfit-freeze-run-'));
681
+ t.after(() => rmSync(runDir, { recursive: true, force: true }));
682
+ writeFileSync(join(runDir, '_output.md'), 'The implementation subtracts instead of adds.');
683
+ const ok = spawnSync('node', [join(benchDir, 'verifiers', 'explain-bug.mjs'), runDir], {
684
+ cwd: benchDir,
685
+ encoding: 'utf8',
686
+ });
687
+ assert.equal(ok.status, 0);
688
+ writeFileSync(join(runDir, '_output.md'), 'no idea');
689
+ const bad = spawnSync('node', [join(benchDir, 'verifiers', 'explain-bug.mjs'), runDir], {
690
+ cwd: benchDir,
691
+ encoding: 'utf8',
692
+ });
693
+ assert.equal(bad.status, 1);
694
+ });
695
+
696
+ function stubDrafter(verifierSrc: string, oracleSrc: string): Executor {
697
+ return {
698
+ describe: () => ({ kind: 'mock', model: 'stub-drafter' }),
699
+ run: (_prompt: string, workdir: string) => {
700
+ writeFileSync(join(workdir, 'verifier.mjs'), verifierSrc);
701
+ writeFileSync(join(workdir, 'oracle.mjs'), oracleSrc);
702
+ return Promise.resolve({ output: '' });
703
+ },
704
+ };
705
+ }
706
+
707
+ const DRAFTED_COMMAND_VERIFIER = `import { spawnSync } from 'node:child_process';
708
+ const result = spawnSync('node --test', { cwd: process.argv[2], shell: true, encoding: 'utf8' });
709
+ const passed = result.status === 0;
710
+ console.log(JSON.stringify({ passed, checks: [{ name: 'tests-pass', pass: passed }] }));
711
+ process.exit(passed ? 0 : 1);
712
+ `;
713
+
714
+ const DRAFTED_ORACLE = `import fs from 'node:fs';
715
+ import path from 'node:path';
716
+ fs.writeFileSync(path.join(process.argv[2], 'add.js'), 'export function add(a, b) {\\n return a + b;\\n}\\n');
717
+ `;
718
+
719
+ test('runBenchAdd --freeze --decompose installs a gated draft with its oracle', async (t) => {
720
+ const source = gitRepoWithBug(t);
721
+ const benchDir = await freezeBench(t);
722
+ const result = await runBenchAdd({
723
+ benchDir,
724
+ task: 'add-bug-drafted',
725
+ prompt: 'The add function is broken. Fix it so the tests pass.',
726
+ freeze: true,
727
+ sourceDir: source,
728
+ decompose: true,
729
+ verifierKind: 'command',
730
+ executor: stubDrafter(DRAFTED_COMMAND_VERIFIER, DRAFTED_ORACLE),
731
+ yes: true,
732
+ log: () => {},
733
+ });
734
+ assert.ok(result);
735
+ const bench = loadBench(benchDir);
736
+ const task = bench.tasks.find((entry) => entry.id === 'add-bug-drafted');
737
+ assert.equal(task?.verifierKind, 'command');
738
+ assert.equal(task?.oracle, 'node ground-truth/oracle-add-bug-drafted.mjs');
739
+ assert.ok(existsSync(join(benchDir, 'ground-truth', 'oracle-add-bug-drafted.mjs')));
740
+ assert.match(
741
+ readFileSync(join(benchDir, 'verifiers', 'add-bug-drafted.mjs'), 'utf8'),
742
+ /tests-pass/,
743
+ );
744
+ const report = await runBenchCheck({ dir: benchDir, log: () => {} });
745
+ assert.equal(report.failures, 0);
746
+ });
747
+
748
+ test('runBenchAdd --decompose needs an agent or injected executor', async (t) => {
749
+ const source = gitRepoWithBug(t);
750
+ const benchDir = await freezeBench(t);
751
+ await assert.rejects(
752
+ () =>
753
+ runBenchAdd({
754
+ benchDir,
755
+ task: 'x1',
756
+ prompt: 'p',
757
+ freeze: true,
758
+ sourceDir: source,
759
+ decompose: true,
760
+ yes: true,
761
+ log: () => {},
762
+ }),
763
+ /needs an agent/,
764
+ );
765
+ });
766
+
767
+ test('runBenchAdd --decompose rejects a draft that passes the untouched fixture', async (t) => {
768
+ const source = gitRepoWithBug(t);
769
+ const benchDir = await freezeBench(t);
770
+ const laxVerifier = 'console.log(JSON.stringify({ passed: true }));\nprocess.exit(0);\n';
771
+ await assert.rejects(
772
+ () =>
773
+ runBenchAdd({
774
+ benchDir,
775
+ task: 'x1',
776
+ prompt: 'p',
777
+ freeze: true,
778
+ sourceDir: source,
779
+ decompose: true,
780
+ executor: stubDrafter(laxVerifier, DRAFTED_ORACLE),
781
+ yes: true,
782
+ log: () => {},
783
+ }),
784
+ /NOP gate/,
785
+ );
786
+ const bench = loadBench(benchDir);
787
+ assert.ok(!bench.tasks.some((entry) => entry.id === 'x1'), 'nothing was registered');
788
+ });
789
+
790
+ test('runBenchAdd --decompose rejects a draft whose oracle does not solve the task', async (t) => {
791
+ const source = gitRepoWithBug(t);
792
+ const benchDir = await freezeBench(t);
793
+ const idleOracle = '// does nothing\n';
794
+ await assert.rejects(
795
+ () =>
796
+ runBenchAdd({
797
+ benchDir,
798
+ task: 'x1',
799
+ prompt: 'p',
800
+ freeze: true,
801
+ sourceDir: source,
802
+ decompose: true,
803
+ verifierKind: 'command',
804
+ executor: stubDrafter(DRAFTED_COMMAND_VERIFIER, idleOracle),
805
+ yes: true,
806
+ log: () => {},
807
+ }),
808
+ /oracle gate/,
809
+ );
810
+ });
811
+
812
+ test('runBenchAdd --decompose validates flag combinations', async (t) => {
813
+ const source = gitRepoWithBug(t);
814
+ const benchDir = await freezeBench(t);
815
+ const base = {
816
+ benchDir,
817
+ task: 'x1',
818
+ prompt: 'p',
819
+ freeze: true,
820
+ sourceDir: source,
821
+ yes: true,
822
+ log: () => {},
823
+ };
824
+ await assert.rejects(
825
+ () => runBenchAdd({ ...base, decompose: true, verifierCmd: 'node --test' }),
826
+ /drafts the verifier/,
827
+ );
828
+ await assert.rejects(
829
+ () => runBenchAdd({ ...base, decompose: true, oracle: 'node ground-truth/o.mjs' }),
830
+ /own oracle/,
831
+ );
832
+ await assert.rejects(
833
+ () => runBenchAdd({ ...base, freeze: false, fromCommit: 'HEAD', decompose: true }),
834
+ /only with --freeze/,
835
+ );
836
+ });
837
+
838
+ test('runBenchAdd --decompose dry-run skips the agent and writes nothing', async (t) => {
839
+ const source = gitRepoWithBug(t);
840
+ const benchDir = await freezeBench(t);
841
+ let invoked = false;
842
+ const spy: Executor = {
843
+ describe: () => ({ kind: 'mock', model: 'spy' }),
844
+ run: () => {
845
+ invoked = true;
846
+ return Promise.resolve({ output: '' });
847
+ },
848
+ };
849
+ const result = await runBenchAdd({
850
+ benchDir,
851
+ task: 'x1',
852
+ prompt: 'p',
853
+ freeze: true,
854
+ sourceDir: source,
855
+ decompose: true,
856
+ executor: spy,
857
+ dryRun: true,
858
+ log: () => {},
859
+ });
860
+ assert.equal(result, null);
861
+ assert.equal(invoked, false);
862
+ assert.ok(!existsSync(join(benchDir, 'verifiers', 'x1.mjs')));
863
+ });
864
+
865
+ test('runBenchAdd validates flags and rejects duplicates', async (t) => {
866
+ const source = gitRepoWithBug(t);
867
+ const benchDir = await freezeBench(t);
868
+ const base = {
869
+ benchDir,
870
+ task: 'x1',
871
+ prompt: 'p',
872
+ freeze: true,
873
+ sourceDir: source,
874
+ yes: true,
875
+ log: () => {},
876
+ };
877
+ await assert.rejects(() => runBenchAdd({ ...base, verifierCmd: 'a', expect: 'b' }), /not both/);
878
+ await assert.rejects(() => runBenchAdd({ ...base }), /needs a verifier/);
879
+ await assert.rejects(
880
+ () => runBenchAdd({ ...base, verifierCmd: 'true', task: 'example-task' }),
881
+ /already exists/,
882
+ );
883
+ await assert.rejects(
884
+ () => runBenchAdd({ ...base, verifierCmd: 'true', task: 'bad id!' }),
885
+ /Invalid --task id/,
886
+ );
887
+ await assert.rejects(
888
+ () => runBenchAdd({ ...base, verifierCmd: 'true', prompt: '' }),
889
+ /needs a task prompt/,
890
+ );
891
+ await assert.rejects(
892
+ () => runBenchAdd({ ...base, verifierCmd: 'true', freeze: false }),
893
+ /needs an importer/,
894
+ );
895
+ });
896
+
897
+ test('runBenchAdd --freeze dry-run writes nothing', async (t) => {
898
+ const source = gitRepoWithBug(t);
899
+ const benchDir = await freezeBench(t);
900
+ const { lines, log } = collector();
901
+ const result = await runBenchAdd({
902
+ benchDir,
903
+ task: 'add-bug',
904
+ prompt: 'Fix add.',
905
+ freeze: true,
906
+ sourceDir: source,
907
+ verifierCmd: 'node --test',
908
+ dryRun: true,
909
+ log,
910
+ });
911
+ assert.equal(result, null);
912
+ assert.ok(!existsSync(join(benchDir, 'fixtures', 'add-bug')));
913
+ assert.match(lines.join('\n'), /dry run/);
914
+ // The command string is persisted into a generated verifier and re-run under a shell on every
915
+ // later check and eval, so it is disclosed before anything is written.
916
+ assert.match(lines.join('\n'), /--verifier-cmd "node --test" is written into verifiers\/add-bug\.mjs/);
917
+ assert.match(lines.join('\n'), /re-executed with a shell/);
918
+ });
919
+
920
+ test('runBenchAdd backs up an existing file and rolls back a failed write', async (t) => {
921
+ const source = gitRepoWithBug(t);
922
+ const benchDir = await freezeBench(t);
923
+ const leftover = join(benchDir, 'verifiers', 'add-bug.mjs');
924
+ writeFileSync(leftover, 'original verifier\n');
925
+ const before = readFileSync(join(benchDir, 'bench.json'), 'utf8');
926
+ mkdirSync(join(benchDir, 'prompts', 'blocked.md'));
927
+ await assert.rejects(
928
+ runBenchAdd({
929
+ benchDir, task: 'blocked', prompt: 'Fix add.', freeze: true, sourceDir: source,
930
+ verifierCmd: 'node --test', yes: true, log: () => {},
931
+ }),
932
+ /non-file/,
933
+ );
934
+ assert.equal(readFileSync(join(benchDir, 'bench.json'), 'utf8'), before);
935
+ assert.equal(existsSync(join(benchDir, 'fixtures', 'blocked', 'add.js')), false);
936
+ rmSync(join(benchDir, 'prompts', 'blocked.md'), { recursive: true, force: true });
937
+
938
+ await runBenchAdd({
939
+ benchDir, task: 'add-bug', prompt: 'Fix add.', freeze: true, sourceDir: source,
940
+ verifierCmd: 'node --test', yes: true, log: () => {},
941
+ });
942
+ assert.equal(readFileSync(leftover + '.skillfit-bak', 'utf8'), 'original verifier\n');
943
+ assert.notEqual(readFileSync(leftover, 'utf8'), 'original verifier\n');
944
+ });
945
+
946
+ test('runBenchAdd works in a non-git source directory (filtered copy)', async (t) => {
947
+ const source = tmp(t, 'skillfit-freeze-plain-');
948
+ writeFileSync(join(source, 'main.js'), 'console.log(1);\n');
949
+ mkdirSync(join(source, 'node_modules', 'junk'), { recursive: true });
950
+ writeFileSync(join(source, 'node_modules', 'junk', 'x.js'), 'x');
951
+ mkdirSync(join(source, '.git'));
952
+ writeFileSync(join(source, '.git', 'config'), 'x');
953
+ const benchDir = await freezeBench(t);
954
+ await runBenchAdd({
955
+ benchDir,
956
+ task: 'plain',
957
+ prompt: 'p',
958
+ freeze: true,
959
+ sourceDir: source,
960
+ verifierCmd: 'node main.js',
961
+ yes: true,
962
+ log: () => {},
963
+ });
964
+ const fixture = join(benchDir, 'fixtures', 'plain');
965
+ assert.ok(existsSync(join(fixture, 'main.js')));
966
+ assert.ok(!existsSync(join(fixture, 'node_modules')));
967
+ assert.ok(!existsSync(join(fixture, '.git')));
968
+ });
969
+
970
+ function gitRepoWithFixHistory(t: import('node:test').TestContext): {
971
+ repo: string;
972
+ buggyCommit: string;
973
+ testOnlyCommit: string;
974
+ fixCommit: string;
975
+ } {
976
+ const repo = tmp(t, 'skillfit-mine-repo-');
977
+ mkdirSync(join(repo, 'src'), { recursive: true });
978
+ writeFileSync(join(repo, 'src', 'add.js'), 'export function add(a, b) {\n return a - b;\n}\n');
979
+ writeFileSync(join(repo, 'package.json'), '{ "type": "module" }\n');
980
+ const git = (args: string[]) => execFileSync('git', args, { cwd: repo, encoding: 'utf8' }).trim();
981
+ git(['init', '-q']);
982
+ git(['config', 'user.email', 't@t']);
983
+ git(['config', 'user.name', 't']);
984
+ git(['add', '-A']);
985
+ git(['commit', '-qm', 'initial: buggy add']);
986
+ const buggyCommit = git(['rev-parse', 'HEAD']);
987
+
988
+ mkdirSync(join(repo, 'test'), { recursive: true });
989
+ writeFileSync(
990
+ join(repo, 'test', 'sanity.test.js'),
991
+ `import { test } from 'node:test';\nimport assert from 'node:assert/strict';\nimport { add } from '../src/add.js';\ntest('add returns a number', () => { assert.equal(typeof add(1, 2), 'number'); });\n`,
992
+ );
993
+ git(['add', '-A']);
994
+ git(['commit', '-qm', 'test: add sanity check']);
995
+ const testOnlyCommit = git(['rev-parse', 'HEAD']);
996
+
997
+ writeFileSync(join(repo, 'src', 'add.js'), 'export function add(a, b) {\n return a + b;\n}\n');
998
+ writeFileSync(
999
+ join(repo, 'test', 'add-fix.test.js'),
1000
+ `import { test } from 'node:test';\nimport assert from 'node:assert/strict';\nimport { add } from '../src/add.js';\ntest('add sums two numbers', () => { assert.equal(add(1, 2), 3); });\ntest('add handles zero', () => { assert.equal(add(0, 0), 0); });\n`,
1001
+ );
1002
+ git(['add', '-A']);
1003
+ git(['commit', '-qm', 'fix: add was subtracting instead of adding']);
1004
+ const fixCommit = git(['rev-parse', 'HEAD']);
1005
+ return { repo, buggyCommit, testOnlyCommit, fixCommit };
1006
+ }
1007
+
1008
+ test('runBenchAdd --from-commit mines parent fixture + embedded FAIL_TO_PASS verifier', async (t) => {
1009
+ const { repo, fixCommit } = gitRepoWithFixHistory(t);
1010
+ const benchDir = await freezeBench(t);
1011
+ const result = await runBenchAdd({
1012
+ benchDir,
1013
+ fromCommit: fixCommit,
1014
+ sourceDir: repo,
1015
+ shouldTrigger: true,
1016
+ yes: true,
1017
+ log: () => {},
1018
+ });
1019
+ assert.ok(result);
1020
+ assert.match(result.taskId, /^fix-[0-9a-f]{7}$/);
1021
+ const fixture = join(benchDir, 'fixtures', result.taskId);
1022
+ assert.match(readFileSync(join(fixture, 'src', 'add.js'), 'utf8'), /return a - b/, 'fixture is the parent (buggy) state');
1023
+ assert.ok(existsSync(join(fixture, 'package.json')));
1024
+ assert.ok(existsSync(join(fixture, 'test', 'sanity.test.js')), 'parent tests come along');
1025
+ assert.ok(!existsSync(join(fixture, 'test', 'add-fix.test.js')), 'the fix tests stay hidden in the verifier');
1026
+ const bench = loadBench(benchDir);
1027
+ const task = bench.tasks.find((entry) => entry.id === result.taskId);
1028
+ assert.equal(task?.verifierKind, 'command');
1029
+ assert.equal(task?.shouldTrigger, true);
1030
+
1031
+ const runDir = mkdtempSync(join(tmpdir(), 'skillfit-mine-run-'));
1032
+ t.after(() => rmSync(runDir, { recursive: true, force: true }));
1033
+ writeFileSync(join(runDir, 'package.json'), readFileSync(join(fixture, 'package.json')));
1034
+ mkdirSync(join(runDir, 'src'), { recursive: true });
1035
+ writeFileSync(join(runDir, 'src', 'add.js'), readFileSync(join(fixture, 'src', 'add.js')));
1036
+ const pristine = spawnSync('node', [join(benchDir, 'verifiers', `${result.taskId}.mjs`), runDir], {
1037
+ cwd: benchDir,
1038
+ encoding: 'utf8',
1039
+ });
1040
+ assert.notEqual(pristine.status, 0, 'embedded fix tests fail on the parent state');
1041
+ writeFileSync(join(runDir, 'src', 'add.js'), 'export function add(a, b) {\n return a + b;\n}\n');
1042
+ const fixed = spawnSync('node', [join(benchDir, 'verifiers', `${result.taskId}.mjs`), runDir], {
1043
+ cwd: benchDir,
1044
+ encoding: 'utf8',
1045
+ });
1046
+ assert.equal(fixed.status, 0, 'embedded fix tests pass once the fix is implemented');
1047
+
1048
+ const report = await runBenchCheck({ dir: benchDir, log: () => {} });
1049
+ assert.equal(report.failures, 0);
1050
+ });
1051
+
1052
+ test('commit import honors an issue prompt without revealing the fix message', async (t) => {
1053
+ const { repo, fixCommit } = gitRepoWithFixHistory(t);
1054
+ const issue = 'Addition returns the wrong result. Reproduce and repair it.\n';
1055
+ const promptFile = join(tmp(t, 'skillfit-issue-prompt-'), 'issue.md');
1056
+ writeFileSync(promptFile, issue);
1057
+ for (const promptOptions of [{ prompt: issue }, { promptFile }]) {
1058
+ const benchDir = await freezeBench(t);
1059
+ const result = await runBenchAdd({ benchDir, sourceDir: repo, fromCommit: fixCommit,
1060
+ ...promptOptions, yes: true, log: () => {} });
1061
+ assert.ok(result);
1062
+ assert.equal(readFileSync(join(benchDir, 'prompts', `${result.taskId}.md`), 'utf8'), issue);
1063
+ assert.match(readFileSync(join(benchDir, 'fixtures', result.taskId, 'src/add.js'), 'utf8'), /return a - b/);
1064
+ assert.ok(!existsSync(join(benchDir, 'fixtures', result.taskId, 'test/add-fix.test.js')));
1065
+ }
1066
+ const benchDir = await freezeBench(t);
1067
+ for (const invalid of [{ prompt: '' }, { prompt: 'x', promptFile }]) {
1068
+ await assert.rejects(() => runBenchAdd({ benchDir, sourceDir: repo, fromCommit: fixCommit,
1069
+ ...invalid, yes: true, log: () => {} }), /prompt.*empty|exactly one prompt/);
1070
+ }
1071
+ });
1072
+
1073
+ test('calibration supports workspace receipts and a dry-run that starts no executor', async (t) => {
1074
+ const dir = makeCalibBench(t);
1075
+ const runsRoot = join(tmp(t, 'skillfit-calib-workspace-'), 'runs');
1076
+ const prompts: string[] = [];
1077
+ const executor: Executor = {
1078
+ describe: () => ({ kind: 'cli', model: 'offline-calibration' }),
1079
+ run: (prompt) => { prompts.push(prompt); return Promise.resolve({ output: 'ok done' }); },
1080
+ };
1081
+ await runBenchCheck({ dir, calibrate: { executor, inputMode: 'workspace', dryRun: true, runsRoot }, log: () => {} });
1082
+ assert.equal(prompts.length, 0);
1083
+ assert.ok(!existsSync(runsRoot));
1084
+ await runBenchCheck({ dir, calibrate: { executor, inputMode: 'workspace', trials: 1,
1085
+ runsRoot, runGroup: 'workspace-calibration' }, log: () => {} });
1086
+ assert.equal(prompts.length, 2);
1087
+ assert.ok(prompts.every(p => !p.includes('Repository snapshot:')));
1088
+ const receipt = JSON.parse(readFileSync(join(runsRoot, 'workspace-calibration/easy-task/baseline/trial-1/_result.json'), 'utf8'));
1089
+ assert.equal(receipt.inputMode, 'workspace');
1090
+ });
1091
+
1092
+ test('runBenchAdd --from-commit rejects test-only and test-less commits', async (t) => {
1093
+ const { repo, buggyCommit, testOnlyCommit, fixCommit } = gitRepoWithFixHistory(t);
1094
+ const benchDir = await freezeBench(t);
1095
+ const base = { benchDir, sourceDir: repo, yes: true, log: () => {} };
1096
+ await assert.rejects(
1097
+ () => runBenchAdd({ ...base, fromCommit: testOnlyCommit }),
1098
+ /only test files/,
1099
+ );
1100
+ await assert.rejects(
1101
+ () => runBenchAdd({ ...base, fromCommit: buggyCommit }),
1102
+ /no test files/,
1103
+ );
1104
+ await assert.rejects(
1105
+ () => runBenchAdd({ ...base, fromCommit: fixCommit, freeze: true, prompt: 'x', verifierCmd: 'y' }),
1106
+ /not both/,
1107
+ );
1108
+ });
1109
+
1110
+ test('runBenchAdd --from-commit mines a repository with non-ASCII paths', async (t) => {
1111
+ const repo = tmp(t, 'skillfit-mine-unicode-');
1112
+ mkdirSync(join(repo, 'src'), { recursive: true });
1113
+ writeFileSync(join(repo, 'src', 'add.js'), 'export function add(a, b) {\n return a - b;\n}\n');
1114
+ // git quotes and octal-escapes this in default ls-tree output, which used to reach `git show`
1115
+ // verbatim and fail: no repository containing an accented filename could be mined at all.
1116
+ writeFileSync(join(repo, 'src', 'café-notes.txt'), 'pricing edge cases\n');
1117
+ writeFileSync(join(repo, 'package.json'), '{ "type": "module" }\n');
1118
+ const git = (args: string[]): string =>
1119
+ execFileSync('git', args, { cwd: repo, encoding: 'utf8' }).trim();
1120
+ git(['init', '-q']);
1121
+ git(['config', 'user.email', 't@t']);
1122
+ git(['config', 'user.name', 't']);
1123
+ git(['add', '-A']);
1124
+ git(['commit', '-qm', 'initial: buggy add']);
1125
+
1126
+ mkdirSync(join(repo, 'test'), { recursive: true });
1127
+ writeFileSync(join(repo, 'src', 'add.js'), 'export function add(a, b) {\n return a + b;\n}\n');
1128
+ writeFileSync(
1129
+ join(repo, 'test', 'add-fix.test.js'),
1130
+ `import { test } from 'node:test';\nimport assert from 'node:assert/strict';\nimport { add } from '../src/add.js';\ntest('add sums', () => { assert.equal(add(1, 2), 3); });\n`,
1131
+ );
1132
+ git(['add', '-A']);
1133
+ git(['commit', '-qm', 'fix: add was subtracting']);
1134
+ const fixCommit = git(['rev-parse', 'HEAD']);
1135
+
1136
+ const benchDir = await freezeBench(t);
1137
+ const result = await runBenchAdd({
1138
+ benchDir,
1139
+ fromCommit: fixCommit,
1140
+ sourceDir: repo,
1141
+ yes: true,
1142
+ log: () => {},
1143
+ });
1144
+ assert.ok(result);
1145
+ const mined = join(benchDir, 'fixtures', result.taskId, 'src', 'café-notes.txt');
1146
+ assert.ok(existsSync(mined), 'the accented file is part of the parent state and must be mined');
1147
+ assert.equal(readFileSync(mined, 'utf8'), 'pricing edge cases\n');
1148
+ });
1149
+
1150
+ test('runBenchAdd --from-commit refuses a parent state containing a submodule', async (t) => {
1151
+ const repo = tmp(t, 'skillfit-mine-gitlink-');
1152
+ mkdirSync(join(repo, 'src'), { recursive: true });
1153
+ writeFileSync(join(repo, 'src', 'add.js'), 'export function add(a, b) {\n return a - b;\n}\n');
1154
+ writeFileSync(join(repo, 'package.json'), '{ "type": "module" }\n');
1155
+ const git = (args: string[]): string =>
1156
+ execFileSync('git', args, { cwd: repo, encoding: 'utf8' }).trim();
1157
+ git(['init', '-q']);
1158
+ git(['config', 'user.email', 't@t']);
1159
+ git(['config', 'user.name', 't']);
1160
+ git(['add', '-A']);
1161
+ // A gitlink with no checkout behind it: ls-tree reports its size as `-`, which used to make the
1162
+ // fixture total NaN and quietly disable the size guard.
1163
+ git(['update-index', '--add', '--cacheinfo', '160000,0123456789abcdef0123456789abcdef01234567,vendor/lib']);
1164
+ git(['commit', '-qm', 'initial: buggy add']);
1165
+
1166
+ mkdirSync(join(repo, 'test'), { recursive: true });
1167
+ writeFileSync(join(repo, 'src', 'add.js'), 'export function add(a, b) {\n return a + b;\n}\n');
1168
+ writeFileSync(
1169
+ join(repo, 'test', 'add-fix.test.js'),
1170
+ `import { test } from 'node:test';\nimport assert from 'node:assert/strict';\nimport { add } from '../src/add.js';\ntest('add sums', () => { assert.equal(add(1, 2), 3); });\n`,
1171
+ );
1172
+ git(['add', '-A']);
1173
+ git(['commit', '-qm', 'fix: add was subtracting']);
1174
+ const fixCommit = git(['rev-parse', 'HEAD']);
1175
+
1176
+ const benchDir = await freezeBench(t);
1177
+ await assert.rejects(
1178
+ runBenchAdd({ benchDir, fromCommit: fixCommit, sourceDir: repo, yes: true, log: () => {} }),
1179
+ /gitlink \(submodule\) at "vendor\/lib"/,
1180
+ );
1181
+ });
1182
+
1183
+ test('runBenchAdd --from-commit honors --include and dry-run', async (t) => {
1184
+ const { repo, fixCommit } = gitRepoWithFixHistory(t);
1185
+ const benchDir = await freezeBench(t);
1186
+ const { lines, log } = collector();
1187
+ const dry = await runBenchAdd({
1188
+ benchDir,
1189
+ fromCommit: fixCommit,
1190
+ sourceDir: repo,
1191
+ include: ['src'],
1192
+ dryRun: true,
1193
+ log,
1194
+ });
1195
+ assert.equal(dry, null);
1196
+ assert.ok(!existsSync(join(benchDir, 'fixtures', `fix-${fixCommit.slice(0, 7)}`)));
1197
+ const result = await runBenchAdd({
1198
+ benchDir,
1199
+ fromCommit: fixCommit,
1200
+ sourceDir: repo,
1201
+ include: ['src'],
1202
+ yes: true,
1203
+ log: () => {},
1204
+ });
1205
+ assert.ok(result);
1206
+ assert.ok(existsSync(join(benchDir, 'fixtures', result.taskId, 'src', 'add.js')));
1207
+ assert.ok(!existsSync(join(benchDir, 'fixtures', result.taskId, 'package.json')), 'include filters the fixture');
1208
+ });
1209
+
1210
+ function makeCalibBench(t: import('node:test').TestContext): string {
1211
+ const dir = tmp(t, 'skillfit-calib-bench-');
1212
+ mkdirSync(join(dir, 'prompts'), { recursive: true });
1213
+ mkdirSync(join(dir, 'verifiers'), { recursive: true });
1214
+ writeFileSync(
1215
+ join(dir, 'verifiers', 'ok.mjs'),
1216
+ `import fs from 'node:fs';\nconst out = fs.readFileSync(process.argv[2] + '/_output.md', 'utf8');\nprocess.exit(out.includes('ok') ? 0 : 1);\n`,
1217
+ );
1218
+ for (const id of ['easy-task', 'hard-task']) {
1219
+ mkdirSync(join(dir, 'fixtures', id), { recursive: true });
1220
+ writeFileSync(join(dir, 'fixtures', id, 'index.txt'), 'x\n');
1221
+ writeFileSync(join(dir, 'prompts', `${id}.md`), `${id} prompt: reply.\n`);
1222
+ }
1223
+ writeFileSync(
1224
+ join(dir, 'bench.json'),
1225
+ JSON.stringify({
1226
+ schemaVersion: 1,
1227
+ name: 'calib',
1228
+ tasks: [
1229
+ { id: 'easy-task', fixture: 'fixtures/easy-task', prompt: 'prompts/easy-task.md', verifier: 'node verifiers/ok.mjs', shouldTrigger: true },
1230
+ { id: 'hard-task', fixture: 'fixtures/hard-task', prompt: 'prompts/hard-task.md', verifier: 'node verifiers/ok.mjs', shouldTrigger: true },
1231
+ ],
1232
+ }),
1233
+ );
1234
+ return dir;
1235
+ }
1236
+
1237
+ test('runBenchCheck --calibrate bands tasks by real baseline pass rate', async (t) => {
1238
+ const dir = makeCalibBench(t);
1239
+ const executor = {
1240
+ describe: () => ({ kind: 'stub', model: 'stub' }),
1241
+ run: (prompt: string) => Promise.resolve({ output: prompt.includes('easy') ? 'ok done' : 'nope' }),
1242
+ };
1243
+ const report = await runBenchCheck({
1244
+ dir,
1245
+ calibrate: {
1246
+ executor,
1247
+ trials: 2,
1248
+ runsRoot: join(tmp(t, 'skillfit-calib-runs-'), 'runs'),
1249
+ runGroup: 'calib-group',
1250
+ },
1251
+ log: () => {},
1252
+ });
1253
+ assert.equal(report.failures, 0);
1254
+ assert.ok(
1255
+ report.checks.some(
1256
+ (c) => c.message.includes('easy-task: baseline 2/2') && c.message.includes('too easy'),
1257
+ ),
1258
+ );
1259
+ assert.ok(
1260
+ report.checks.some(
1261
+ (c) => c.message.includes('hard-task: baseline 0/2') && c.message.includes('too hard or broken'),
1262
+ ),
1263
+ );
1264
+ assert.ok(report.checks.some((c) => c.message.includes('0/2 task(s) in the discriminative band')));
1265
+ });
1266
+
1267
+ test('runBenchCheck --calibrate requires an agent or executor', async (t) => {
1268
+ const dir = makeCalibBench(t);
1269
+ const report = await runBenchCheck({ dir, calibrate: {}, log: () => {} });
1270
+ assert.ok(report.checks.some((c) => c.status === 'FAIL' && c.message.includes('needs --agent')));
1271
+ });
1272
+
1273
+ // Same shape as makeCalibBench but with no shouldTrigger labels. Calibration used to route
1274
+ // through trigger mode, whose label filter dropped every task here and then reported PASS 0/0.
1275
+ function makeUnlabelledCalibBench(t: import('node:test').TestContext): string {
1276
+ const dir = tmp(t, 'skillfit-calib-unlabelled-');
1277
+ mkdirSync(join(dir, 'prompts'), { recursive: true });
1278
+ mkdirSync(join(dir, 'verifiers'), { recursive: true });
1279
+ writeFileSync(
1280
+ join(dir, 'verifiers', 'ok.mjs'),
1281
+ `import fs from 'node:fs';\nconst out = fs.readFileSync(process.argv[2] + '/_output.md', 'utf8');\nprocess.exit(out.includes('ok') ? 0 : 1);\n`,
1282
+ );
1283
+ for (const id of ['easy-task', 'hard-task']) {
1284
+ mkdirSync(join(dir, 'fixtures', id), { recursive: true });
1285
+ writeFileSync(join(dir, 'fixtures', id, 'index.txt'), 'x\n');
1286
+ writeFileSync(join(dir, 'prompts', `${id}.md`), `${id} prompt: reply.\n`);
1287
+ }
1288
+ writeFileSync(
1289
+ join(dir, 'bench.json'),
1290
+ JSON.stringify({
1291
+ schemaVersion: 1,
1292
+ name: 'calib-unlabelled',
1293
+ tasks: [
1294
+ { id: 'easy-task', fixture: 'fixtures/easy-task', prompt: 'prompts/easy-task.md', verifier: 'node verifiers/ok.mjs' },
1295
+ { id: 'hard-task', fixture: 'fixtures/hard-task', prompt: 'prompts/hard-task.md', verifier: 'node verifiers/ok.mjs' },
1296
+ ],
1297
+ }),
1298
+ );
1299
+ return dir;
1300
+ }
1301
+
1302
+ test('runBenchCheck --calibrate measures a bench with no shouldTrigger labels', async (t) => {
1303
+ const dir = makeUnlabelledCalibBench(t);
1304
+ const executor = {
1305
+ describe: () => ({ kind: 'stub', model: 'stub' }),
1306
+ run: (prompt: string) => Promise.resolve({ output: prompt.includes('easy') ? 'ok done' : 'nope' }),
1307
+ };
1308
+ const report = await runBenchCheck({
1309
+ dir,
1310
+ calibrate: {
1311
+ executor,
1312
+ trials: 2,
1313
+ runsRoot: join(tmp(t, 'skillfit-calib-runs-unlabelled-'), 'runs'),
1314
+ runGroup: 'calib-unlabelled-group',
1315
+ },
1316
+ log: () => {},
1317
+ });
1318
+ assert.equal(report.failures, 0);
1319
+ assert.ok(
1320
+ !report.checks.some((c) => c.message.includes('0/0 task(s) in the discriminative band')),
1321
+ 'calibration must never report a 0/0 band summary',
1322
+ );
1323
+ assert.ok(
1324
+ report.checks.some(
1325
+ (c) => c.message.includes('easy-task: baseline 2/2') && c.message.includes('too easy'),
1326
+ ),
1327
+ );
1328
+ assert.ok(
1329
+ report.checks.some(
1330
+ (c) => c.message.includes('hard-task: baseline 0/2') && c.message.includes('too hard or broken'),
1331
+ ),
1332
+ );
1333
+ assert.ok(report.checks.some((c) => c.message.includes('0/2 task(s) in the discriminative band')));
1334
+ });
1335
+
1336
+ test('runBenchCheck --calibrate fails loudly when no task produced a completed run', async (t) => {
1337
+ const dir = makeUnlabelledCalibBench(t);
1338
+ const executor = {
1339
+ describe: () => ({ kind: 'stub', model: 'stub' }),
1340
+ run: (): Promise<{ output: string }> =>
1341
+ Promise.reject(new Error('simulated executor failure')),
1342
+ };
1343
+ const report = await runBenchCheck({
1344
+ dir,
1345
+ calibrate: {
1346
+ executor,
1347
+ trials: 2,
1348
+ runsRoot: join(tmp(t, 'skillfit-calib-runs-allerr-'), 'runs'),
1349
+ runGroup: 'calib-allerr-group',
1350
+ },
1351
+ log: () => {},
1352
+ });
1353
+ // Errored runs are excluded from the rate, not counted as failures — and when that leaves
1354
+ // nothing measured, the summary must fail rather than claim a band it never observed.
1355
+ assert.ok(
1356
+ report.checks.some(
1357
+ (c) => c.status === 'WARN' && c.message.includes('no completed runs') && c.message.includes('2 ungraded run(s)'),
1358
+ ),
1359
+ );
1360
+ assert.ok(
1361
+ report.checks.some(
1362
+ (c) => c.status === 'FAIL' && c.message.includes('calibration ran 0 task(s)'),
1363
+ ),
1364
+ );
1365
+ assert.ok(
1366
+ !report.checks.some((c) => c.status === 'PASS' && c.message.includes('discriminative band')),
1367
+ );
1368
+ });