skillfit 0.9.1 → 0.10.1

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 (332) hide show
  1. package/README.md +48 -14
  2. package/README.zh-CN.md +48 -14
  3. package/benches/README.md +23 -0
  4. package/benches/contrib/README.md +1 -0
  5. package/benches/contrib/oss-skill-independent/README.md +60 -0
  6. package/benches/contrib/oss-skill-independent/bench.json +79 -0
  7. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/LICENSE +22 -0
  8. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/Readme.md +1015 -0
  9. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/esm.mjs +15 -0
  10. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/index.js +27 -0
  11. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/argument.js +147 -0
  12. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/command.js +1944 -0
  13. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/error.js +45 -0
  14. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/help.js +396 -0
  15. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/option.js +208 -0
  16. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/suggestSimilar.js +100 -0
  17. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/package-support.json +16 -0
  18. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/package.json +63 -0
  19. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/test-clock.mjs +65 -0
  20. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/test.mjs +4 -0
  21. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/typings/index.d.ts +774 -0
  22. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/typings/index.test-d.ts +416 -0
  23. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/upstream-package.json +69 -0
  24. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/LICENSE +22 -0
  25. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/Readme.md +1149 -0
  26. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/esm.mjs +16 -0
  27. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/index.js +24 -0
  28. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/argument.js +149 -0
  29. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/command.js +2662 -0
  30. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/error.js +39 -0
  31. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/help.js +713 -0
  32. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/option.js +367 -0
  33. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/suggestSimilar.js +101 -0
  34. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/package-support.json +16 -0
  35. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/package.json +71 -0
  36. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/test-clock.mjs +65 -0
  37. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/test.mjs +4 -0
  38. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/typings/esm.d.mts +3 -0
  39. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/typings/index.d.ts +1045 -0
  40. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/typings/index.test-d.ts +737 -0
  41. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/upstream-package.json +82 -0
  42. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/index.d.ts +40 -0
  43. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/index.js +68 -0
  44. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/license +9 -0
  45. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/package.json +54 -0
  46. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/readme.md +99 -0
  47. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/test-clock.mjs +65 -0
  48. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/test.mjs +4 -0
  49. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/upstream-package.json +54 -0
  50. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/vendor/yocto-queue/index.js +67 -0
  51. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/vendor/yocto-queue/license +9 -0
  52. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/vendor/yocto-queue/package.json +46 -0
  53. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/index.d.ts +136 -0
  54. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/index.js +132 -0
  55. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/license +9 -0
  56. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/package.json +57 -0
  57. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/readme.md +181 -0
  58. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/test-clock.mjs +65 -0
  59. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/test.mjs +4 -0
  60. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/upstream-package.json +58 -0
  61. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/vendor/yocto-queue/index.js +84 -0
  62. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/vendor/yocto-queue/license +9 -0
  63. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/vendor/yocto-queue/package.json +48 -0
  64. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/index.d.ts +136 -0
  65. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/index.js +116 -0
  66. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/license +9 -0
  67. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/package.json +60 -0
  68. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/readme.md +170 -0
  69. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/test-clock.mjs +65 -0
  70. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/test.mjs +4 -0
  71. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/upstream-package.json +60 -0
  72. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/index.d.ts +149 -0
  73. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/index.js +93 -0
  74. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/license +9 -0
  75. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/package.json +52 -0
  76. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/readme.md +192 -0
  77. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/test-clock.mjs +65 -0
  78. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/test.mjs +4 -0
  79. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/upstream-package.json +52 -0
  80. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/index.d.ts +151 -0
  81. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/index.js +114 -0
  82. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/license +9 -0
  83. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/package.json +48 -0
  84. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/readme.md +158 -0
  85. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/test-clock.mjs +65 -0
  86. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/test.mjs +4 -0
  87. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/upstream-package.json +48 -0
  88. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/index.d.ts +151 -0
  89. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/index.js +122 -0
  90. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/license +9 -0
  91. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/package.json +50 -0
  92. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/readme.md +190 -0
  93. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/test-clock.mjs +65 -0
  94. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/test.mjs +4 -0
  95. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/upstream-package.json +50 -0
  96. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/LICENSE +22 -0
  97. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/Readme.md +1015 -0
  98. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/esm.mjs +15 -0
  99. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/index.js +27 -0
  100. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/argument.js +147 -0
  101. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/command.js +1948 -0
  102. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/error.js +45 -0
  103. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/help.js +396 -0
  104. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/option.js +208 -0
  105. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/suggestSimilar.js +100 -0
  106. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/package-support.json +16 -0
  107. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/package.json +63 -0
  108. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/regression.test.mjs +5 -0
  109. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/test-clock.mjs +65 -0
  110. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/test.mjs +4 -0
  111. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/typings/index.d.ts +774 -0
  112. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/typings/index.test-d.ts +416 -0
  113. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/upstream-package.json +69 -0
  114. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/LICENSE +22 -0
  115. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/Readme.md +1149 -0
  116. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/esm.mjs +16 -0
  117. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/index.js +24 -0
  118. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/argument.js +149 -0
  119. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/command.js +2666 -0
  120. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/error.js +39 -0
  121. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/help.js +713 -0
  122. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/option.js +367 -0
  123. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/suggestSimilar.js +101 -0
  124. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/package-support.json +16 -0
  125. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/package.json +71 -0
  126. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/regression.test.mjs +5 -0
  127. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/test-clock.mjs +65 -0
  128. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/test.mjs +4 -0
  129. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/typings/esm.d.mts +3 -0
  130. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/typings/index.d.ts +1045 -0
  131. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/typings/index.test-d.ts +737 -0
  132. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/upstream-package.json +82 -0
  133. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/async-hooks-stub.js +15 -0
  134. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/index.d.ts +40 -0
  135. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/index.js +71 -0
  136. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/license +9 -0
  137. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/package.json +61 -0
  138. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/readme.md +99 -0
  139. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/regression.test.mjs +6 -0
  140. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/test-clock.mjs +65 -0
  141. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/test.mjs +4 -0
  142. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/upstream-package.json +54 -0
  143. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/vendor/yocto-queue/index.js +67 -0
  144. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/vendor/yocto-queue/license +9 -0
  145. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/vendor/yocto-queue/package.json +46 -0
  146. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/index.d.ts +136 -0
  147. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/index.js +148 -0
  148. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/license +9 -0
  149. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/package.json +57 -0
  150. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/readme.md +181 -0
  151. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/regression.test.mjs +5 -0
  152. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/test-clock.mjs +65 -0
  153. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/test.mjs +4 -0
  154. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/upstream-package.json +58 -0
  155. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/vendor/yocto-queue/index.js +84 -0
  156. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/vendor/yocto-queue/license +9 -0
  157. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/vendor/yocto-queue/package.json +48 -0
  158. package/benches/contrib/oss-skill-independent/ground-truth/oracle-commander-async-listener-order.mjs +1 -0
  159. package/benches/contrib/oss-skill-independent/ground-truth/oracle-commander-output-isolation.mjs +1 -0
  160. package/benches/contrib/oss-skill-independent/ground-truth/oracle-limit-async-context.mjs +1 -0
  161. package/benches/contrib/oss-skill-independent/ground-truth/oracle-limit-map-iteration-rejection.mjs +1 -0
  162. package/benches/contrib/oss-skill-independent/ground-truth/oracle-throttle-sync-throw.mjs +1 -0
  163. package/benches/contrib/oss-skill-independent/ground-truth/oracle-timeout-custom-timers.mjs +1 -0
  164. package/benches/contrib/oss-skill-independent/ground-truth/oracle-timeout-infinity-abort.mjs +1 -0
  165. package/benches/contrib/oss-skill-independent/ground-truth/oracle-timeout-rejection-listener.mjs +1 -0
  166. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/index.d.ts +136 -0
  167. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/index.js +121 -0
  168. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/license +9 -0
  169. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/package.json +60 -0
  170. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/readme.md +170 -0
  171. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/regression.test.mjs +6 -0
  172. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/test-clock.mjs +65 -0
  173. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/test.mjs +4 -0
  174. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/upstream-package.json +60 -0
  175. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/index.d.ts +149 -0
  176. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/index.js +95 -0
  177. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/license +9 -0
  178. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/package.json +52 -0
  179. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/readme.md +192 -0
  180. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/regression.test.mjs +5 -0
  181. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/test-clock.mjs +65 -0
  182. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/test.mjs +4 -0
  183. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/upstream-package.json +52 -0
  184. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/index.d.ts +151 -0
  185. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/index.js +114 -0
  186. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/license +9 -0
  187. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/package.json +48 -0
  188. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/readme.md +158 -0
  189. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/regression.test.mjs +5 -0
  190. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/test-clock.mjs +65 -0
  191. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/test.mjs +4 -0
  192. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/upstream-package.json +48 -0
  193. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/index.d.ts +151 -0
  194. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/index.js +122 -0
  195. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/license +9 -0
  196. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/package.json +50 -0
  197. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/readme.md +190 -0
  198. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/regression.test.mjs +5 -0
  199. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/test-clock.mjs +65 -0
  200. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/test.mjs +4 -0
  201. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/upstream-package.json +50 -0
  202. package/benches/contrib/oss-skill-independent/prompts/commander-async-listener-order.md +3 -0
  203. package/benches/contrib/oss-skill-independent/prompts/commander-output-isolation.md +3 -0
  204. package/benches/contrib/oss-skill-independent/prompts/limit-async-context.md +3 -0
  205. package/benches/contrib/oss-skill-independent/prompts/limit-map-iteration-rejection.md +3 -0
  206. package/benches/contrib/oss-skill-independent/prompts/throttle-sync-throw.md +3 -0
  207. package/benches/contrib/oss-skill-independent/prompts/timeout-custom-timers.md +3 -0
  208. package/benches/contrib/oss-skill-independent/prompts/timeout-infinity-abort.md +3 -0
  209. package/benches/contrib/oss-skill-independent/prompts/timeout-rejection-listener.md +3 -0
  210. package/benches/contrib/oss-skill-independent/provenance.json +1903 -0
  211. package/benches/contrib/oss-skill-independent/task-specs.json +63 -0
  212. package/benches/contrib/oss-skill-independent/test-clock.mjs +65 -0
  213. package/benches/contrib/oss-skill-independent/verifiers/cases.mjs +197 -0
  214. package/benches/contrib/oss-skill-independent/verifiers/commander-async-listener-order.mjs +1 -0
  215. package/benches/contrib/oss-skill-independent/verifiers/commander-output-isolation.mjs +1 -0
  216. package/benches/contrib/oss-skill-independent/verifiers/grade.mjs +48 -0
  217. package/benches/contrib/oss-skill-independent/verifiers/limit-async-context.mjs +1 -0
  218. package/benches/contrib/oss-skill-independent/verifiers/limit-map-iteration-rejection.mjs +1 -0
  219. package/benches/contrib/oss-skill-independent/verifiers/probe.mjs +16 -0
  220. package/benches/contrib/oss-skill-independent/verifiers/regression-evidence.mjs +105 -0
  221. package/benches/contrib/oss-skill-independent/verifiers/test-reporter.mjs +29 -0
  222. package/benches/contrib/oss-skill-independent/verifiers/throttle-sync-throw.mjs +1 -0
  223. package/benches/contrib/oss-skill-independent/verifiers/timeout-custom-timers.mjs +1 -0
  224. package/benches/contrib/oss-skill-independent/verifiers/timeout-infinity-abort.mjs +1 -0
  225. package/benches/contrib/oss-skill-independent/verifiers/timeout-rejection-listener.mjs +1 -0
  226. package/dist/cli.js +183 -64
  227. package/dist/commands/bench-check-json.test.js +221 -0
  228. package/dist/commands/bench-check-report.js +48 -0
  229. package/dist/commands/bench-command-template.js +129 -0
  230. package/dist/commands/bench-manage.js +91 -0
  231. package/dist/commands/bench-manage.test.js +87 -0
  232. package/dist/commands/bench.js +166 -128
  233. package/dist/commands/bench.test.js +101 -0
  234. package/dist/commands/eval-component.js +25 -1
  235. package/dist/commands/eval-export.js +178 -0
  236. package/dist/commands/eval-export.test.js +279 -0
  237. package/dist/commands/eval-interruption.test.js +238 -0
  238. package/dist/commands/eval-preflight.js +61 -0
  239. package/dist/commands/eval-preflight.test.js +239 -0
  240. package/dist/commands/eval-report.js +44 -13
  241. package/dist/commands/eval-report.test.js +2 -2
  242. package/dist/commands/eval.js +94 -61
  243. package/dist/commands/eval.test.js +58 -1
  244. package/dist/harness/bench.js +21 -2
  245. package/dist/harness/eval-audit.js +45 -5
  246. package/dist/harness/eval-budget.js +51 -0
  247. package/dist/harness/eval-budget.test.js +212 -0
  248. package/dist/harness/eval-component.test.js +36 -0
  249. package/dist/harness/eval-contract.js +5 -1
  250. package/dist/harness/executors/api.js +10 -1
  251. package/dist/harness/executors/api.test.js +43 -0
  252. package/dist/harness/executors/cli.js +24 -3
  253. package/dist/harness/experiment-session.js +60 -9
  254. package/dist/harness/experiment-session.test.js +43 -1
  255. package/dist/harness/input-snapshot.js +150 -0
  256. package/dist/harness/interruption.js +48 -0
  257. package/dist/harness/interruption.test.js +31 -0
  258. package/dist/harness/replay-package.js +85 -0
  259. package/dist/harness/runner.js +74 -15
  260. package/dist/harness/trigger.js +20 -4
  261. package/docs/bench-authoring.md +40 -0
  262. package/docs/bench-check-json.md +122 -0
  263. package/docs/case-management.md +65 -0
  264. package/docs/eval-case-preflight.md +110 -0
  265. package/docs/eval-component.md +88 -49
  266. package/docs/eval-costs.md +9 -0
  267. package/docs/evaluation-input-snapshots.md +124 -0
  268. package/docs/evaluation-interruption.md +89 -0
  269. package/docs/evaluation-reports.md +49 -0
  270. package/docs/examples/check-receiver-mechanism-proposal.mjs +124 -0
  271. package/docs/examples/prepare-native-diff-probe.mjs +75 -0
  272. package/docs/examples/reproduce-independent-comparison-budget.mjs +73 -0
  273. package/docs/experiment-workflow.md +9 -2
  274. package/docs/first-real-eval.md +10 -1
  275. package/docs/growth-roadmap-2026-10.md +62 -93
  276. package/docs/metrics.md +52 -0
  277. package/docs/plans/2026-10-14-evidence-and-release-sequence.md +29 -12
  278. package/docs/plans/2026-10-15-independent-comparison-budget.json +1769 -0
  279. package/docs/plans/2026-10-15-independent-comparison-inputs.json +373 -0
  280. package/docs/plans/2026-10-15-independent-comparison-proposal.md +177 -0
  281. package/docs/plans/2026-10-15-native-diff-mechanism.md +105 -0
  282. package/docs/plans/2026-10-15-receiver-mechanism-proposal.json +342 -0
  283. package/docs/plans/2026-10-15-receiver-mechanism-proposal.md +146 -0
  284. package/docs/plans/2026-10-15-receiver-mechanism-verification.json +105 -0
  285. package/docs/plans/2026-10-16-case-workflow-and-release.md +49 -0
  286. package/docs/releases/0.10.0-ci-registry-install.json +140 -0
  287. package/docs/releases/0.10.0-feature-smoke.json +22 -0
  288. package/docs/releases/0.10.0-feature-smoke.mjs +62 -0
  289. package/docs/releases/0.10.0-signatures.txt +7 -0
  290. package/docs/releases/0.10.0-verification.json +76 -0
  291. package/docs/releases/0.10.0.md +81 -0
  292. package/docs/releases/0.10.1-feature-smoke.mjs +95 -0
  293. package/docs/releases/0.10.1.md +38 -0
  294. package/docs/releases/0.9.1-first-publication.json +249 -0
  295. package/docs/releases/0.9.1-verification.json +122 -0
  296. package/docs/releases/0.9.1.md +33 -1
  297. package/docs/releases/trusted-publishing.md +61 -0
  298. package/docs/replay-packages.md +97 -0
  299. package/docs/schemas/bench-check.schema.json +109 -0
  300. package/docs/schemas/eval-preflight.schema.json +57 -0
  301. package/docs/schemas/eval-request.schema.json +12 -0
  302. package/docs/schemas/eval-result.schema.json +11 -0
  303. package/docs/sharing-results.md +11 -2
  304. package/docs/skill-evaluation-evidence.md +52 -0
  305. package/evidence/2026-10-15-diagnosing-receiver-correction.md +140 -0
  306. package/evidence/2026-10-15-independent-comparison-regression-stop.md +162 -0
  307. package/evidence/2026-10-15-independent-offline-readiness.md +144 -0
  308. package/evidence/2026-10-15-native-diff-mechanism.md +196 -0
  309. package/evidence/2026-10-15-receiver-mechanism-stop.md +154 -0
  310. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/README.md +35 -0
  311. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/expected.json +577 -0
  312. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/receiver-contract.test.mjs +138 -0
  313. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/replay.mjs +127 -0
  314. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/verification.json +105 -0
  315. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/README.md +32 -0
  316. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/checks.json +32 -0
  317. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/package.tar.gz +0 -0
  318. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/verification.json +25 -0
  319. package/evidence/artifacts/2026-10-15-independent-offline-readiness/README.md +17 -0
  320. package/evidence/artifacts/2026-10-15-independent-offline-readiness/verification.json +1548 -0
  321. package/evidence/artifacts/2026-10-15-native-diff-mechanism/README.md +48 -0
  322. package/evidence/artifacts/2026-10-15-native-diff-mechanism/package.tar.gz +0 -0
  323. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/README.md +38 -0
  324. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/checks.json +118 -0
  325. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/package.tar.gz +0 -0
  326. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/verification.json +36 -0
  327. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/LICENSE +21 -0
  328. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/SKILL.md +51 -0
  329. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/agents/openai.yaml +3 -0
  330. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/scripts/hitl-loop.template.sh +44 -0
  331. package/package.json +1 -1
  332. package/skills/skillfit/SKILL.md +17 -5
@@ -0,0 +1,48 @@
1
+ # Four-call native diff mechanism replay
2
+
3
+ See the [result and limitations](../../2026-10-15-native-diff-mechanism.md).
4
+ Exactly four real development calls completed. Both versions pass 2/2, helper
5
+ use is observed in 4/4, and acceptance remains inconclusive. No additional
6
+ experiment call or independent comparison has started.
7
+
8
+ Archive: [package.tar.gz](package.tar.gz), 830,563 bytes.
9
+ SHA-256: `0662db8ba95ab7a440098a10a48d6ba95a7cf900ee98cc7733aab2d3192c201f`.
10
+
11
+ From the repository root, use a fresh directory and Node 24.21.0:
12
+
13
+ ```bash
14
+ shasum -a 256 evidence/artifacts/2026-10-15-native-diff-mechanism/package.tar.gz
15
+ mkdir /tmp/skillfit-native-diff-replay
16
+ tar -xzf evidence/artifacts/2026-10-15-native-diff-mechanism/package.tar.gz -C /tmp/skillfit-native-diff-replay
17
+ node /tmp/skillfit-native-diff-replay/replay.mjs
18
+ ```
19
+
20
+ No dependency installation, network, agent CLI or model call is used. The
21
+ replay checks 394 indexed files, frozen inputs/runtime, all four outcome grades,
22
+ final usage counters and paired costs, observed helper executions and patch
23
+ displays, four common startup warnings, the 182-call cumulative ledger with
24
+ seven earlier unknown usages, and the unchanged inconclusive adoption decision.
25
+ Expected final JSON includes `modelCalls: 0`, `regraded: 4`,
26
+ `qualityCostsAcceptanceMatch: true`, `observedHelperUseRuns: 4`,
27
+ `helperExecutions: 5`, `suspiciousEmptyPatches: 0`, `cumulativeCalls: 182`,
28
+ `missingPublicFinalUsage: 7`, `decision: "inconclusive"`, and
29
+ `automaticUpgrade: false`.
30
+
31
+ Contents include `runner/` source and compiled files, complete `skills/`, full
32
+ `bench/` assets with one task scheduled, four delivered workspaces under
33
+ `records/`, command/final-usage transcripts, the frozen protocol and request,
34
+ execution guard and assessment under `execution/`, and the prior ledger under
35
+ `review/`. No other bench task was called by this probe.
36
+
37
+ This is a normalized public derivative of an audited native run. Private path
38
+ prefixes use padded placeholders that preserve command-output byte lengths;
39
+ private global configuration inventory names are omitted. Hidden reasoning and
40
+ credentials are not exported. `export-provenance.json` distinguishes original
41
+ and exported hashes and final annotations; `package-index.json` verifies public
42
+ bytes. Native audit and regrade attestations describe the retained original,
43
+ not a byte-identical public native seal or provider billing verification.
44
+
45
+ Offline replay reproduces recorded evidence, not future model responses.
46
+ Provider billing, hidden retries and full authoring/orchestration costs remain
47
+ unknown. Any new model experiment requires a fresh decision and budget; this
48
+ archive does not grant authorization.
@@ -0,0 +1,38 @@
1
+ # Receiver mechanism probe: reproducible one-call stop
2
+
3
+ The [dated report](../../2026-10-15-receiver-mechanism-stop.md) records the failed
4
+ v4.1 candidate. The conditional control call was never started.
5
+
6
+ - Archive: [package.tar.gz](package.tar.gz)
7
+ - SHA-256: `b520022e2c6250bfa2b20c864e2f63d9436647a05d69b16b312ec636d36a0a43`
8
+ - Bytes: 630,986
9
+ - Indexed payload files: 284, plus `package-index.json`
10
+ - [verification.json](verification.json): successful fresh-extraction replay.
11
+ - [checks.json](checks.json): controller/project checks and preservation audit.
12
+
13
+ From the repository root, use a fresh extraction directory:
14
+
15
+ ```bash
16
+ replay_dir=$(mktemp -d)
17
+ tar -xzf evidence/artifacts/2026-10-15-receiver-mechanism-stop/package.tar.gz -C "$replay_dir"
18
+ node "$replay_dir/replay.mjs"
19
+ ```
20
+
21
+ Verified with Node v24.21.0. Replay uses Node built-ins and frozen verifier code;
22
+ it needs no network, dependency installation, model, judge or agent CLI.
23
+ It regrades the original six checks, all eighteen receiver checks, four source
24
+ variants under the new regression, twenty-four injected controller tests, the
25
+ one-call native ledger, final counters and before/after budget states.
26
+ Owned temporary grading copies are removed.
27
+
28
+ The model read the complete new Skill, but its production source is identical
29
+ to the retained wrong v4 source. The candidate passed 4/6 and 8/18; total input
30
+ was 205,272, cached input 182,144, uncached input 23,128, output 6,182 and executor
31
+ time 188.158 seconds. No per-success saving or paired change is inferred.
32
+
33
+ `export-provenance.json` records raw source/export hashes and privacy adaptations.
34
+ The source native seal is retained privately; exported hashes attest this
35
+ derivative. No complete native component acceptance audit or independent model
36
+ efficacy claim is made. Historical launch declarations and controller source
37
+ explain what happened; they do not authorize replaying a live call. Run only
38
+ `replay.mjs` for offline reproduction.
@@ -0,0 +1,118 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "skillfit.receiver-mechanism-stop-checks",
4
+ "verifiedAt": "2026-10-15T14:32:24.516Z",
5
+ "sourceCommit": "63a1729ba2c9067e119f60bbd0b7633573045c13",
6
+ "callAccounting": {
7
+ "maximum": 2,
8
+ "actual": 1,
9
+ "candidate": 1,
10
+ "control": 0,
11
+ "retries": 0,
12
+ "replacements": 0,
13
+ "readiness": 0,
14
+ "warmup": 0,
15
+ "judge": 0,
16
+ "generator": 0,
17
+ "expansion": 0,
18
+ "cumulativeStudyCalls": 195,
19
+ "historicalUnknownPublicFinalUsages": 7,
20
+ "newIncompleteFinalUsage": 0
21
+ },
22
+ "result": {
23
+ "stopReason": "CANDIDATE_FUNCTIONAL_FAILURE",
24
+ "originalPassingChecks": 4,
25
+ "originalChecks": 6,
26
+ "receiverPassing": 8,
27
+ "receiverChecks": 18,
28
+ "actualCompleteSkillRead": true,
29
+ "sameWrongProductionSource": true,
30
+ "automaticUpgrade": false,
31
+ "independentValidation": false
32
+ },
33
+ "costs": {
34
+ "allActualInvocations": {
35
+ "input": 205272,
36
+ "cachedInput": 182144,
37
+ "uncachedInput": 23128,
38
+ "output": 6182,
39
+ "durationSeconds": 188.158
40
+ },
41
+ "pairedChange": null,
42
+ "perSuccess": null,
43
+ "sourceHistoricalArchive": "evidence/artifacts/2026-10-15-independent-comparison-regression-stop/package.tar.gz",
44
+ "sourceHistoricalArchiveSha256": "6a4d29e55a1b48b7e8cd4e790eb057341b08e92ede7e6fe903a015a6edfe3ed6",
45
+ "priorNativeKnownLowerBound": {
46
+ "input": 50254565,
47
+ "cachedInput": 43946752,
48
+ "uncachedInput": 6307813,
49
+ "output": 1485062,
50
+ "durationSeconds": 51944.802
51
+ },
52
+ "cumulativeNativeKnownLowerBound": {
53
+ "input": 50459837,
54
+ "cachedInput": 44128896,
55
+ "uncachedInput": 6330941,
56
+ "output": 1491244,
57
+ "durationSeconds": 52132.96
58
+ },
59
+ "qualifiedUnattestedSupplementUnchanged": {
60
+ "input": 16477,
61
+ "cachedInput": 13184,
62
+ "uncachedInput": 3293,
63
+ "output": 5,
64
+ "durationSeconds": 0
65
+ },
66
+ "notACompleteBill": true
67
+ },
68
+ "guards": {
69
+ "controllerOfflineTests": 24,
70
+ "allPassed": true,
71
+ "originalNativeSealVerified": true,
72
+ "originalNativeSealSha256": "daf48aa1c1e5c9aacf24e9239139c04440ea4faf73d7bcd3a98cdefc77b9375a",
73
+ "declarationPinsVerified": 23,
74
+ "powerAssertionsReleased": true,
75
+ "powerAnomalies": 0,
76
+ "timingAnomaly": null,
77
+ "tokenOvershoot": false,
78
+ "sourceAndInputsNotMutated": true,
79
+ "completeNativeComponentAudit": false
80
+ },
81
+ "verification": {
82
+ "projectTests": 556,
83
+ "projectFailures": 0,
84
+ "projectSkips": 0,
85
+ "projectLogSha256": "c682332cf834f3074f5e28023d57533094f08ed740bea0ac5c6cd2ad0da8667b",
86
+ "controllerTestLogSha256": "756114d143eb154ab1ab8787f993f3841ca803a0c75507ffd02512d4e437dcec",
87
+ "previousFilesUnchanged": 2580,
88
+ "checkpointSha256": "8bef4314af8d6bbbbeea52c26f8cac0f50ad932777f1d3fe366d8ac928963bd6",
89
+ "freshArchiveReplay": true,
90
+ "archiveSha256": "b520022e2c6250bfa2b20c864e2f63d9436647a05d69b16b312ec636d36a0a43"
91
+ },
92
+ "cleanup": {
93
+ "disposableCopiesRemoved": 4,
94
+ "filesRemoved": 1297,
95
+ "reclaimedBytes": 10362255,
96
+ "onlyIndexedBackedReplicas": true,
97
+ "originalNativeFailuresRetained": true,
98
+ "backingArchivesVerified": true
99
+ },
100
+ "files": [
101
+ {
102
+ "path": "evidence/2026-10-15-receiver-mechanism-stop.md",
103
+ "sha256": "8bd46daa2dd23fd9aeb183b91edc3b4ff1bc839a2e58d0a70ffe296fd52c2ba8"
104
+ },
105
+ {
106
+ "path": "evidence/artifacts/2026-10-15-receiver-mechanism-stop/README.md",
107
+ "sha256": "82a02b5816c44dba17b81f137e1438ce9f2596a49a60c9b812106a2733d35578"
108
+ },
109
+ {
110
+ "path": "evidence/artifacts/2026-10-15-receiver-mechanism-stop/package.tar.gz",
111
+ "sha256": "b520022e2c6250bfa2b20c864e2f63d9436647a05d69b16b312ec636d36a0a43"
112
+ },
113
+ {
114
+ "path": "evidence/artifacts/2026-10-15-receiver-mechanism-stop/verification.json",
115
+ "sha256": "72ceda4787782b0839e7b422cdd3825b54dc43b5bd7258dc1aa2168904425e6a"
116
+ }
117
+ ]
118
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "at": "2026-10-15T14:27:38.462Z",
3
+ "archiveSha256": "b520022e2c6250bfa2b20c864e2f63d9436647a05d69b16b312ec636d36a0a43",
4
+ "archiveBytes": 630986,
5
+ "files": 284,
6
+ "removedReasoning": 0,
7
+ "omittedPrivateInputs": 1,
8
+ "modelCalls": 0,
9
+ "replay": {
10
+ "modelCalls": 0,
11
+ "savedActualCalls": 1,
12
+ "controlExecuted": false,
13
+ "originalPassingChecks": 4,
14
+ "originalChecks": 6,
15
+ "receiverPassing": 8,
16
+ "receiverChecks": 18,
17
+ "controllerTests": 24,
18
+ "actualSkillRead": true,
19
+ "sameWrongProductionCode": true,
20
+ "regressionDiagnostic": true,
21
+ "costsAndBudgetReplayed": true,
22
+ "knownTotals": {
23
+ "input": 205272,
24
+ "cachedInput": 182144,
25
+ "uncachedInput": 23128,
26
+ "output": 6182,
27
+ "durationSeconds": 188.158
28
+ },
29
+ "cumulativeStudyCalls": 195,
30
+ "historicalUnknownPublicFinalUsages": 7,
31
+ "automaticUpgrade": false,
32
+ "decision": "candidate-failed",
33
+ "completeNativeComponentAudit": false,
34
+ "derivedExport": true
35
+ }
36
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Matt Pocock
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,51 @@
1
+ ---
2
+ name: diagnosing-bugs
3
+ description: Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.
4
+ ---
5
+
6
+ # Diagnosing Bugs
7
+
8
+ Turn the reported failure into a minimal repair and a retained regression at the
9
+ real caller seam. Choose diagnostic work from remaining uncertainty.
10
+
11
+ Inspect the relevant caller, implementation, test command and required repository
12
+ guidance together where practical. Run a small red-capable test or replay before
13
+ changing production code. Preserve the original interaction: a single caller or
14
+ direct connection can hide a failure that needs multiple callers or reentrancy.
15
+
16
+ Test the strongest evidence-backed explanation. Rank competing explanations only
17
+ while they remain plausible, with falsifiable predictions and one-variable
18
+ probes. Expand when observations contradict it, rather than filling fixed phases.
19
+
20
+ For receiver (`this`) failures in callbacks or injected functions, establish the
21
+ call convention from the API and supplied function before encoding it in a test
22
+ double. Check a plausible alternative receiver and preserve explicit bindings;
23
+ a test double that assumes the proposed receiver is not independent evidence.
24
+
25
+ At a mutable or callback boundary, verify the **whole public contract**: returned
26
+ value/status, callback values and event reasons, as well as the resulting data.
27
+ A callback can change state before the enclosing operation returns. Derive the
28
+ expected behavior from the documented API and caller, not an internal snapshot.
29
+ Distinguish application values from transient wrappers; cover relevant histories
30
+ with no prior value, the same value and a different value. Removing a duplicate
31
+ event or producing the correct final data can still leave a wrong return or reason.
32
+ Include repeated calls or cancellation when the changed boundary reaches them.
33
+
34
+ Bound asynchronous probes so missing completion fails instead of waiting forever.
35
+ Prefer controlled scheduling and observable events to arbitrary sleeps. For flaky
36
+ failures, pin state and measure reproduction rate. For performance defects,
37
+ measure the reported workload before changing code.
38
+
39
+ Make the smallest repair justified by the signal. After the final change, use one
40
+ covering command for the regression and relevant existing checks when possible.
41
+ Separately replay the original scenario if the retained case no longer represents
42
+ it. Repeat or broaden for new edits, affected boundaries, contradictory evidence
43
+ or measured flakiness; preserve supplied tests and accepted alternative behavior.
44
+
45
+ If no meaningful signal or faithful seam is available, state what was tried and
46
+ what access or artifact is missing. Use `scripts/hitl-loop.template.sh` only when
47
+ a human action is required. An untested hypothesis is not a diagnosis.
48
+
49
+ Remove temporary probes, inspect the final diff and report executed evidence and
50
+ material limitations. Redact credentials in captured artifacts. Keep external
51
+ changes within the user's authorization; never change a grader to obtain a pass.
@@ -0,0 +1,3 @@
1
+ interface:
2
+ display_name: "Diagnosing Bugs"
3
+ short_description: "Diagnose hard bugs and regressions"
@@ -0,0 +1,44 @@
1
+ #!/usr/bin/env bash
2
+ # Human-in-the-loop reproduction loop.
3
+ # Copy this file, edit the steps below, and run it.
4
+ # The agent runs the script; the user follows prompts in their terminal.
5
+ #
6
+ # Usage:
7
+ # bash hitl-loop.template.sh
8
+ #
9
+ # Two helpers:
10
+ # step "<instruction>" → show instruction, wait for Enter
11
+ # capture VAR "<question>" → show question, read response into VAR
12
+ #
13
+ # At the end, captured values are printed as KEY=VALUE for the agent to parse.
14
+ #
15
+ # `capture` prints its value back to the terminal, where the agent reads it,
16
+ # so capture observations, and leave signing in to the user as a `step`.
17
+
18
+ set -euo pipefail
19
+
20
+ step() {
21
+ printf '\n>>> %s\n' "$1"
22
+ read -r -p " [Enter when done] " _
23
+ }
24
+
25
+ capture() {
26
+ local var="$1" question="$2" answer
27
+ printf '\n>>> %s\n' "$question"
28
+ read -r -p " > " answer
29
+ printf -v "$var" '%s' "$answer"
30
+ }
31
+
32
+ # --- edit below ---------------------------------------------------------
33
+
34
+ step "Open the app at http://localhost:3000 and sign in."
35
+
36
+ capture ERRORED "Click the 'Export' button. Did it throw an error? (y/n)"
37
+
38
+ capture ERROR_MSG "Paste the error message (or 'none'):"
39
+
40
+ # --- edit above ---------------------------------------------------------
41
+
42
+ printf '\n--- Captured ---\n'
43
+ printf 'ERRORED=%s\n' "$ERRORED"
44
+ printf 'ERROR_MSG=%s\n' "$ERROR_MSG"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillfit",
3
- "version": "0.9.1",
3
+ "version": "0.10.1",
4
4
  "description": "Evidence-driven configuration for AI coding agents: measure which skills, rules and MCP servers actually help — then install only those.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -10,7 +10,7 @@ truth for all numbers; your job is to pick the right command, run it, and interp
10
10
 
11
11
  ## Prerequisites
12
12
 
13
- Check availability with `npx skillfit@0.9.0 --version`, or `node dist/cli.js --version` inside a clone.
13
+ Check availability with `npx skillfit@0.10.0 --version`, or `node dist/cli.js --version` inside a clone.
14
14
  If neither works, tell the user to install from https://github.com/remote-controlled-man/skillfit and stop.
15
15
 
16
16
  ## Which command for which question
@@ -25,6 +25,11 @@ If neither works, tell the user to install from https://github.com/remote-contro
25
25
  | "这个 MCP 能不能连上 / is this MCP catalog valid" | `skillfit mcp check <probe.json>` — read-only discovery; calls no tools |
26
26
  | "这个 MCP / AGENTS.md 真的有帮助吗" | `skillfit eval <experiment-dir> --bench <bench> --agent <id> --trials 3`; follow the [configuration experiment guide](https://github.com/remote-controlled-man/skillfit/blob/main/docs/config-experiments.md) |
27
27
  | "建一个 bench" | `skillfit bench init [dir]` then `skillfit bench check [dir]` |
28
+ | "做代码修改 case" | `bench init <dir> --kind command --dry-run`, then apply within the authorized scope; replace the teaching case with the real fixture, prompt, verifier and oracle |
29
+ | "给 Agent 看 case 校验失败原因" | `bench check <dir> --json` — offline gate IDs, evidence and remediation; rejects calibration |
30
+ | "查看或管理 case" | `bench list <dir> --json`, `bench show <dir> <id> --json`; preview `bench edit <dir> <id> --set field=value --json` or `bench remove <dir> <id> --json` |
31
+ | "只测几个 case" | Repeat `eval --task <id>` or set request `taskIds`; preview the selected budget and keep validation independent |
32
+ | "把结果交给另一台机器复现" | Preview `report eval <run-dir> --export <new-dir> --json`, then apply within the authorized scope; read the [portable package contract](https://github.com/remote-controlled-man/skillfit/blob/main/docs/replay-packages.md) for matching inputs, stopped costs and sharing review |
28
33
  | "把这次翻车存成任务" | `skillfit bench add <bench> --freeze --task <id> --prompt "..." --verifier-cmd "<cmd>"` |
29
34
  | "帮我起草 verifier" | same but `--decompose --agent <id>` — an agent drafts verifier + oracle; admitted only if the NOP + oracle gates pass |
30
35
 
@@ -36,7 +41,7 @@ kimi-code and codex only.
36
41
 
37
42
  Real eval runs cost tokens and time. Before any non-dry-run eval:
38
43
 
39
- 1. Run with `--dry-run` and show the plan (task count × trials = run count).
44
+ 1. Run with `--dry-run` and show planned calls (selected tasks × trials × conditions, plus enabled judges).
40
45
  2. State the call ceiling and known cost limits. Continue within existing spending authorization; ask only when the proposed run exceeds it or spending has not been authorized.
41
46
 
42
47
  ## Interpretation discipline (do not skip)
@@ -57,6 +62,9 @@ The default policy needs a positive quality gain. Explicit policy version 2 with
57
62
  observed pass/score/check regression. Declare the objective before calls and read
58
63
  `costs.efficiency`; a tied quality result stays inconclusive and is not equivalence.
59
64
  Missing usage or an incomplete batch cannot authorize adoption under either objective.
65
+ Optional request `spendingBudget` (0.10.0+) sets five whole-batch stop lines;
66
+ reaching a line or losing complete final usage stops subsequent calls. An in-flight
67
+ call can overshoot; do not treat it as a provider hard cap or retry permission.
60
68
 
61
69
  - Read the verdict line, the discordant-pair counts, and the CI — not just the delta. `inconclusive` means
62
70
  the run cannot tell, not that the skill is useless.
@@ -70,8 +78,12 @@ Missing usage or an incomplete batch cannot authorize adoption under either obje
70
78
 
71
79
  ## Safety
72
80
 
73
- - `report` and `doctor` are always read-only.
81
+ - `report` and `doctor` are read-only except explicit `report eval --export --yes`,
82
+ which writes a fresh local replay directory. Export calls no model; running
83
+ `reproduce.mjs` executes trusted verifiers. Review project data before sharing.
74
84
  - `mcp check` starts the configured local server and performs discovery only; it never calls a tool.
75
85
  - `eval` writes under the declared runs root (`runs/` by default, gitignored).
76
- - `bench init` / `bench add` print a plan and ask before writing; pass `--yes` only when the user has
77
- explicitly confirmed.
86
+ - `bench init` / `bench add` show a plan before writing; `bench edit/remove` default
87
+ to a plan and apply with `--yes`, with backup and validation. Removal preserves
88
+ files and cannot remove the last registration. Use existing authorization for
89
+ scoped writes; ask only when that authorization is missing.