skillfit 0.9.0 → 0.10.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 (305) hide show
  1. package/README.md +41 -15
  2. package/README.zh-CN.md +41 -15
  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 +166 -53
  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 +68 -38
  233. package/dist/commands/bench.test.js +101 -0
  234. package/dist/commands/eval-component.js +17 -0
  235. package/dist/commands/eval-export.js +152 -0
  236. package/dist/commands/eval-export.test.js +122 -0
  237. package/dist/commands/eval.js +14 -3
  238. package/dist/commands/eval.test.js +58 -1
  239. package/dist/harness/bench.js +21 -2
  240. package/dist/harness/eval-audit.js +42 -4
  241. package/dist/harness/eval-budget.js +51 -0
  242. package/dist/harness/eval-budget.test.js +210 -0
  243. package/dist/harness/eval-component.test.js +36 -0
  244. package/dist/harness/eval-contract.js +5 -1
  245. package/dist/harness/replay-package.js +85 -0
  246. package/dist/harness/runner.js +22 -1
  247. package/docs/bench-authoring.md +40 -0
  248. package/docs/bench-check-json.md +115 -0
  249. package/docs/case-management.md +65 -0
  250. package/docs/eval-component.md +60 -49
  251. package/docs/examples/check-receiver-mechanism-proposal.mjs +124 -0
  252. package/docs/examples/prepare-native-diff-probe.mjs +75 -0
  253. package/docs/examples/reproduce-independent-comparison-budget.mjs +73 -0
  254. package/docs/first-real-eval.md +6 -0
  255. package/docs/growth-roadmap-2026-10.md +57 -93
  256. package/docs/metrics.md +21 -0
  257. package/docs/plans/2026-10-14-evidence-and-release-sequence.md +30 -13
  258. package/docs/plans/2026-10-15-independent-comparison-budget.json +1769 -0
  259. package/docs/plans/2026-10-15-independent-comparison-inputs.json +373 -0
  260. package/docs/plans/2026-10-15-independent-comparison-proposal.md +177 -0
  261. package/docs/plans/2026-10-15-native-diff-mechanism.md +105 -0
  262. package/docs/plans/2026-10-15-receiver-mechanism-proposal.json +342 -0
  263. package/docs/plans/2026-10-15-receiver-mechanism-proposal.md +146 -0
  264. package/docs/plans/2026-10-15-receiver-mechanism-verification.json +105 -0
  265. package/docs/plans/2026-10-16-case-workflow-and-release.md +30 -0
  266. package/docs/releases/0.10.0.md +45 -0
  267. package/docs/releases/0.9.0-verification.json +38 -0
  268. package/docs/releases/0.9.0.md +20 -3
  269. package/docs/releases/0.9.1-first-publication.json +249 -0
  270. package/docs/releases/0.9.1-verification.json +122 -0
  271. package/docs/releases/0.9.1.md +65 -0
  272. package/docs/releases/trusted-publishing.md +114 -0
  273. package/docs/replay-packages.md +88 -0
  274. package/docs/schemas/bench-check.schema.json +109 -0
  275. package/docs/schemas/eval-request.schema.json +12 -0
  276. package/docs/sharing-results.md +6 -0
  277. package/docs/skill-evaluation-evidence.md +52 -0
  278. package/evidence/2026-10-15-diagnosing-receiver-correction.md +140 -0
  279. package/evidence/2026-10-15-independent-comparison-regression-stop.md +162 -0
  280. package/evidence/2026-10-15-independent-offline-readiness.md +144 -0
  281. package/evidence/2026-10-15-native-diff-mechanism.md +196 -0
  282. package/evidence/2026-10-15-receiver-mechanism-stop.md +154 -0
  283. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/README.md +35 -0
  284. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/expected.json +577 -0
  285. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/receiver-contract.test.mjs +138 -0
  286. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/replay.mjs +127 -0
  287. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/verification.json +105 -0
  288. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/README.md +32 -0
  289. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/checks.json +32 -0
  290. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/package.tar.gz +0 -0
  291. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/verification.json +25 -0
  292. package/evidence/artifacts/2026-10-15-independent-offline-readiness/README.md +17 -0
  293. package/evidence/artifacts/2026-10-15-independent-offline-readiness/verification.json +1548 -0
  294. package/evidence/artifacts/2026-10-15-native-diff-mechanism/README.md +48 -0
  295. package/evidence/artifacts/2026-10-15-native-diff-mechanism/package.tar.gz +0 -0
  296. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/README.md +38 -0
  297. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/checks.json +118 -0
  298. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/package.tar.gz +0 -0
  299. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/verification.json +36 -0
  300. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/LICENSE +21 -0
  301. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/SKILL.md +51 -0
  302. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/agents/openai.yaml +3 -0
  303. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/scripts/hitl-loop.template.sh +44 -0
  304. package/package.json +3 -3
  305. package/skills/skillfit/SKILL.md +17 -5
package/README.md CHANGED
@@ -37,6 +37,8 @@ The agent-config ecosystem has solved **distribution** (`npx skills add`, plugin
37
37
 
38
38
  skillfit is the missing measurement layer: paired A/B experiments with deterministic verifiers, statistical verdicts, and trigger-rate measurement — packaged as a CLI anyone can run.
39
39
 
40
+ Build cases around your own tasks: pin the starting files, write the request, and define what a correct result must do. The bundled benches teach the format; the CLI runs your cases, compares outcomes and costs, and preserves evidence. See the [case authoring guide](docs/bench-authoring.md).
41
+
40
42
  ## What you get
41
43
 
42
44
  A real run, measuring whether an agent even *bothers to load* a skill when it is installed but not mentioned:
@@ -63,8 +65,8 @@ The skill fired once in nine in-domain tasks — and the tasks pass 3/3 without
63
65
  ## Install
64
66
 
65
67
  ```bash
66
- npx skillfit@0.9.0 --help
67
- npx skillfit@0.9.0 doctor
68
+ npx skillfit@0.10.0 --help
69
+ npx skillfit@0.10.0 doctor
68
70
  ```
69
71
 
70
72
  `npx skillfit` installs the published release and needs Node.js 22 or newer. The quick start below uses a source checkout so you can run the benches that ship in this repository. After `npm run build`, `node dist/cli.js` is that checkout's CLI. `skillfit` is the command installed from npm.
@@ -94,6 +96,31 @@ Use `--max-calls <n>` for eval or baseline calibration to reject plans above a c
94
96
 
95
97
  Supported agents: **Claude Code**, **OpenAI Codex CLI**, **Kimi Code** ([capability matrix](src/matrix/agents.json) — machine-readable, dated, doc-linked). Trigger-mode capture is currently verified for Kimi Code and Codex CLI.
96
98
 
99
+ ## Build your own cases
100
+
101
+ Available in 0.10.0: start a code-editing case with a broken fixture, protected tests, independent behavioral checks and a reference repair. The first command previews the files; the second creates a fresh directory; checking and eval preview make no model calls.
102
+
103
+ ```bash
104
+ node dist/cli.js bench init my-bench --kind command --dry-run
105
+ node dist/cli.js bench init my-bench --kind command --yes
106
+ node dist/cli.js bench check my-bench
107
+ node dist/cli.js bench check my-bench --json
108
+ node dist/cli.js eval skills/skillfit --bench my-bench --agent codex --input workspace --trials 1 --max-calls 2 --dry-run
109
+ ```
110
+
111
+ This is a synthetic teaching case, not a Skill benchmark. Replace the fixture, prompt, verifier and oracle with your actual task before measuring benefit. The preview shows two planned calls and starts none. Omit `--kind` (or use `--kind output`) for the existing reply-grading starter. Capture an observed failure with `bench add --freeze`, or import a maintainer fix with `--from-commit`; follow the [authoring guide](docs/bench-authoring.md).
112
+
113
+ Agent callers can use `bench check --json` for versioned gate identifiers, task IDs, locations, failure reasons, remediation suggestions and bounded verifier evidence. stdout is JSON only; exit codes distinguish passed checks, failed checks and errors. This interface is offline only and rejects `--calibrate`; warnings still need review. See the [JSON contract](docs/bench-check-json.md).
114
+
115
+ List and inspect cases, then preview an edit or removal. `--yes` applies a validated manifest change with a backup; removal preserves the case files. Select a smaller eval using repeated `--task`, or `taskIds` in a JSON request. IDs and order are frozen, budgets count only selected cases, and small samples remain indicative. See [case management](docs/case-management.md).
116
+
117
+ ```bash
118
+ node dist/cli.js bench list my-bench --json
119
+ node dist/cli.js bench show my-bench example-task --json
120
+ node dist/cli.js bench edit my-bench example-task --set shouldTrigger=true --json
121
+ node dist/cli.js eval skills/skillfit --bench my-bench --agent codex --task example-task --input workspace --trials 1 --max-calls 2 --dry-run
122
+ ```
123
+
97
124
  ## Evaluate a real OSS task
98
125
 
99
126
  Use `--input workspace` for paired CLI runs that inspect and edit files on disk,
@@ -132,6 +159,8 @@ The default policy requires a demonstrated quality gain. An explicit version-2 `
132
159
 
133
160
  Requests can also pin `executorTimeoutSeconds` (default 600) for both versions. A changed deadline requires a new plan and batch; previous timeouts and their available spending remain in the evidence.
134
161
 
162
+ Available in 0.10.0: optional `spendingBudget` sets five absolute batch stop lines. Reaching a line or losing complete final usage stops subsequent calls and retains spending; an in-flight call may overshoot. See the [guard contract](docs/eval-component.md#input-and-execution).
163
+
135
164
  Failed Codex JSON calls can retain identity-bound partial usage from local numeric counters. Private transcript bodies stay out of exports, and partial usage never satisfies the final-cost or adoption gates.
136
165
 
137
166
  ```bash
@@ -170,19 +199,16 @@ node dist/cli.js report eval docs/examples/eval-manifest.synthetic.json
170
199
 
171
200
  New reports separate cached and uncached input, output, and elapsed time, with spending per successful task that includes failed runs. They show surviving pairs alongside all agent invocations, and mark partial or missing timeout usage instead of treating it as zero. Older manifests identify these fields as unrecorded. See [cost accounting](docs/eval-costs.md).
172
201
 
173
- The latest [debugging development record](evidence/2026-10-13-debugging-completed-development.md) retains a rejected candidate, one concrete repair and increased total costs; [stopped cohorts](evidence/2026-10-13-debugging-development-stops.md) preserve errors and partial spending. Neither establishes stable improvement or authorizes an upgrade.
174
-
175
- [Known regression controls and the first validation interruption](evidence/2026-10-13-debugging-controls-and-sleep-stop.md) retain LRU point savings, a normalize-url cost regression and a diagnosed sleep gap. All 16 completed deliveries replay offline; the interrupted invocation keeps its partial cost and receives no grade. A fresh fixed validation batch remains separate.
176
-
177
- The [completed independent validation](evidence/2026-10-14-debugging-independent-validation.md) retains 80 real executions: both versions pass 40/40, while compact v4 reduces aggregate uncached input 16.82%, output 16.64% and time 17.48%. Its 95% uncached-input interval supports 7.69%–26.26% savings, below the declared minimum of 10% at the conservative bound. Adoption remains `inconclusive` and ineligible. Individual cost increases, all 125 study calls and a zero-model offline replay remain visible.
202
+ Export a native paired run without a judge as a portable directory with original receipts, matching inputs, pinned compiled CLI, checksums and a replay entry point. Export previews by default; missing inputs or an existing destination stop it. The whole package can move to another machine. Replay calls no model, preserves stopped/unknown costs and authorizes no upgrade. Review project data before sharing; see [portable replay packages](docs/replay-packages.md).
178
203
 
179
- The [prospective followup tasks](benches/contrib/oss-skill-followup/README.md) pin eight different defects in three new repositories, with original failures, complete maintainer passes and protected regression witnesses. The [separate bounded protocol](docs/plans/2026-10-14-skill-followup.md) keeps v4 and the 10% requirement unchanged, caps this followup at 80 calls and cumulative spending at 205, and never pools earlier quality results. Offline integrity checks establish task validity, not Skill improvement.
180
-
181
- The [stopped followup record](evidence/2026-10-14-debugging-followup-routing-stop.md) retains 46 exact offline regrades, a 47th-call CLI routing failure and 33 uninvoked entries. Timing and power are normal, but the failed token cost remains unknown; no completed prefix authorizes adoption. Individual cost increases and all 172 cumulative executor calls remain visible.
182
-
183
- The [subsequent spending stop](evidence/2026-10-14-debugging-spending-stop.md) retains a separate readiness check and one user-interrupted recovery invocation, bringing actual cumulative spending to 174 calls. The remaining 79 entries are uninvoked. Its offline archive reproduces partial-cost lower bounds and keeps the unattested local readiness counter separate; no new quality gain, eligibility or automatic upgrade is claimed.
204
+ ```bash
205
+ node dist/cli.js report eval ./runs/my-run --export ./exports/my-run --json
206
+ node dist/cli.js report eval ./runs/my-run --export ./exports/my-run --yes --json
207
+ node ./exports/my-run/reproduce.mjs --verify-only
208
+ node ./exports/my-run/reproduce.mjs
209
+ ```
184
210
 
185
- The [four-call reading pilot and cost review](evidence/2026-10-14-debugging-reading-pilot-and-cost-review.md) brings cumulative spending to 178 calls. All four deliveries pass, but the reading draft increases uncached input 34.35%, output 10.16% and time 13.60%, so it is rejected. A post-hoc review corrects 50 literal-empty diffs to 19 missing patches and 31 valid check-only results; the merged common diff helper has offline verification, while actual Agent use and net savings remain untested. A narrowed draft remains unvalidated. The [ordered delivery plan](docs/plans/2026-10-14-evidence-and-release-sequence.md) puts evidence and release preparation before any newly authorized experiment.
211
+ The [Skill evidence index](docs/skill-evaluation-evidence.md) retains every cohort, failure and cost limit. The study now totals 195 executor calls with seven historical final usages still unknown; no tested revision qualifies for adoption. The latest [receiver mechanism probe](evidence/2026-10-15-receiver-mechanism-stop.md) stops after one failed candidate call, without running its control. Every published failure remains available for offline replay. These task-specific results do not establish general Skill benefit.
186
212
 
187
213
  ## Selectable Codex setup
188
214
 
@@ -244,7 +270,7 @@ Read the dated reports in [evidence/](evidence/). Some historical raw manifests
244
270
 
245
271
  - **Standards, not formats.** AGENTS.md (AAIF), SKILL.md, `.agents/skills/`, `.mcpb` — we write what agents already read.
246
272
  - **Deny by default.** We install only what a profile explicitly declares, pinned by content hash.
247
- - **Dry-run first.** Every write command prints its plan before touching a file. Backups always.
273
+ - **Dry-run first.** Preview configuration changes before applying them; replacements keep backups and are verified. New bench/run/bundle artifacts preserve existing outputs through collision checks.
248
274
  - **Honest numbers.** New efficacy submissions need a pinned, shareable manifest; some older reports lack downloadable raw manifests. Verdict semantics are frozen in [docs/metrics.md](docs/metrics.md): significance comes from an exact McNemar test over discordant pairs, deltas carry paired-bootstrap CIs, and runs below 8 tasks × 5 trials are labeled *indicative* even if their within-bench verdict is statistically significant.
249
275
 
250
276
  ## Disclaimer
@@ -266,7 +292,7 @@ Not affiliated with Anthropic, OpenAI, Moonshot AI, or any agent vendor. Evaluat
266
292
  - [x] Optional `triggerClass` (`explicit`, `implicit`, `contextual`) on positive tasks. Unlabeled tasks stay in the pooled recall.
267
293
  - [x] `--compete-installed` copies other user-level Skills into a trigger trial. System Skills and plugins outside the matrix directories are not copied. `installed` reports a long-body read separately from the task result; that read is not trigger recall.
268
294
  - [ ] An installation recommendation. The July 2026 eight-skill study found no robust task-quality gain. The 67-Skill catalog and the 13-Skill starter set are not evaluated as sets.
269
- - [x] npm publication (`skillfit@0.9.0`). `npx skillfit` installs that release. Clone, `npm ci`, and `npm run build` remain valid.
295
+ - [x] npm publication (`skillfit@0.9.1`), with [verified CLI/OIDC publication and registry installation](docs/releases/0.9.1-verification.json). `npx skillfit` installs that release. Clone, `npm ci`, and `npm run build` remain valid.
270
296
  - [x] Community bench and evidence submissions. Benches go in `benches/contrib`; evidence uses the Evidence submission issue template. CI runs the offline gates and does not call an agent.
271
297
  - [ ] Cursor / Gemini CLI / OpenCode adapters
272
298
  - [x] Streamable HTTP MCP preflight (`mcp check` transport `http`). It does not call a tool.
package/README.zh-CN.md CHANGED
@@ -37,6 +37,8 @@ Agent 配置生态已经解决了**分发**(`npx skills add`、插件市场、
37
37
 
38
38
  skillfit 补上缺失的测量层:配对 A/B 实验 + 确定性 verifier + 统计判定 + 触发率测量,打包成任何人都能跑的 CLI。
39
39
 
40
+ 围绕你自己的任务编写 case:固定初始文件、写下任务请求、定义正确结果必须满足的条件。内置 bench 用来教格式;CLI 负责运行你的 case、对比结果和成本、保存证据。参见[case 编写指南](docs/bench-authoring.md)。
41
+
40
42
  ## 你能得到什么
41
43
 
42
44
  一次真实运行:skill 已安装但没人提醒时,agent 到底**想不想得起来用它**——
@@ -63,8 +65,8 @@ F1 : 0.20 (no CI: a harmonic mean of two proportions has no clo
63
65
  ## 安装
64
66
 
65
67
  ```bash
66
- npx skillfit@0.9.0 --help
67
- npx skillfit@0.9.0 doctor
68
+ npx skillfit@0.10.0 --help
69
+ npx skillfit@0.10.0 doctor
68
70
  ```
69
71
 
70
72
  `npx skillfit` 安装的是已发布的版本,需要 Node.js 22 或更新。下面的快速开始用的是源码检出,这样才能跑本仓库自带的 bench。`npm run build` 之后,`node dist/cli.js` 是这份检出的 CLI。`skillfit` 是从 npm 装上的命令。
@@ -94,6 +96,31 @@ eval 和基线校准可用 `--max-calls <n>` 拒绝超出调用上限的计划
94
96
 
95
97
  支持的 agent:**Claude Code**、**OpenAI Codex CLI**、**Kimi Code**([能力矩阵](src/matrix/agents.json)——机器可读、带验证日期、附官方文档链接)。trigger 模式的捕获目前已在 Kimi Code 和 Codex CLI 上验证过。
96
98
 
99
+ ## 创建自己的 case
100
+
101
+ 0.10.0 已包含:生成代码修复 case,带有错误的初始文件、受保护的测试、独立行为检查和参考修复。第一条命令预览文件,第二条创建新目录;校验和 eval 预览都不会调用模型。
102
+
103
+ ```bash
104
+ node dist/cli.js bench init my-bench --kind command --dry-run
105
+ node dist/cli.js bench init my-bench --kind command --yes
106
+ node dist/cli.js bench check my-bench
107
+ node dist/cli.js bench check my-bench --json
108
+ node dist/cli.js eval skills/skillfit --bench my-bench --agent codex --input workspace --trials 1 --max-calls 2 --dry-run
109
+ ```
110
+
111
+ 这是用于教格式的合成案例,不是 Skill 基准。在衡量收益前,把初始文件、任务请求、评分器和参考修复一起替换为你的真实任务。预览会显示计划调用两次,实际一次也不会启动。不传 `--kind`(或用 `--kind output`)仍生成原来的回复评分模板。已有失败可用 `bench add --freeze` 固定,维护者修复可用 `--from-commit` 导入;参见[编写指南](docs/bench-authoring.md)。
112
+
113
+ Agent 可以用 `bench check --json` 读取带版本的校验标识、任务 ID、位置、失败原因、处理建议和限长的评分器证据。标准输出只有 JSON,退出码区分通过、校验失败和执行错误。这项接口仅做离线校验,拒绝与 `--calibrate` 混用;警告仍需检查。参见 [JSON 契约](docs/bench-check-json.md)。
114
+
115
+ 可以列出和查看 case,再预览编辑或移除操作。加 `--yes` 才会备份并应用通过校验的清单变更;移除会保留 case 文件。重复 `--task` 或在 JSON 请求中设置 `taskIds` 可以只评估部分 case。所选 ID 和顺序会固定到计划中,预算只计算所选 case,小样本仍只作参考。参见 [case 管理](docs/case-management.md)。
116
+
117
+ ```bash
118
+ node dist/cli.js bench list my-bench --json
119
+ node dist/cli.js bench show my-bench example-task --json
120
+ node dist/cli.js bench edit my-bench example-task --set shouldTrigger=true --json
121
+ node dist/cli.js eval skills/skillfit --bench my-bench --agent codex --task example-task --input workspace --trials 1 --max-calls 2 --dry-run
122
+ ```
123
+
97
124
  ## 评估真实开源任务
98
125
 
99
126
  配对 CLI 实验可用 `--input workspace` 直接查看和修改磁盘上的文件,不把整个仓库内联到提示中。
@@ -129,6 +156,8 @@ node dist/cli.js eval ./skill-new --baseline-skill ./skill-old --mode installed
129
156
 
130
157
  请求还可通过 `executorTimeoutSeconds` 固定两版的单次时限(默认 600 秒)。改变时限必须声明新计划和新批次;之前的超时及已知花费仍保留在证据中。
131
158
 
159
+ 0.10.0 已包含可选 `spendingBudget`,设置五项整批预算停止线。触线或缺失完整最终用量时停止后续调用并保留花费;正在运行的一次仍可能越线。详见[预算检查契约](docs/eval-component.md#input-and-execution)。
160
+
132
161
  失败的 Codex JSON 调用可从本地数值计数器保留身份匹配的部分用量。导出不包含私有会话正文;部分用量仍不能满足最终成本覆盖或采用门槛。
133
162
 
134
163
  ```bash
@@ -167,19 +196,16 @@ node dist/cli.js report eval docs/examples/eval-manifest.synthetic.json
167
196
 
168
197
  新报告分别列出缓存输入、未缓存输入、输出和耗时,并把失败运行的消耗计入每次成功任务的成本。报告同时展示存活配对和全部 agent 调用;超时导致的用量不完整或缺失会单独标记,不会当作零。旧 manifest 会显示这些字段未记录。详见[成本统计](docs/eval-costs.md)。
169
198
 
170
- 最新的[调试开发记录](evidence/2026-10-13-debugging-completed-development.md)保留了被拒绝的候选、一个具体修复和增加的总成本;[中止批次](evidence/2026-10-13-debugging-development-stops.md)保留了错误和部分消耗。两者都没有证明稳定提升,也不能授权升级。
171
-
172
- [已知退步对照与首次验证中止记录](evidence/2026-10-13-debugging-controls-and-sleep-stop.md)保留了 LRU 的成本下降点估计、normalize-url 的成本退步和已查明的睡眠间隔。16 次完整交付均可离线重放;中止调用保留部分成本、不予评分。新的固定验证批次独立保留。
173
-
174
- [已完成的独立验证](evidence/2026-10-14-debugging-independent-validation.md)保留了 80 次真实执行:两个版本均通过 40/40 次,compact v4 的未缓存输入总量下降 16.82%、输出下降 16.64%、耗时下降 17.48%。未缓存输入的 95% 区间支持下降 7.69%–26.26%,保守边界仍未达到声明的至少 10%。验收保持 `inconclusive`,不具备升级资格。各任务的成本增加、全部 125 次研究调用以及零模型调用的离线复算均保留。
199
+ 没有 judge 的原生配对实验可导出为独立目录,包含原始记录、匹配的输入、当时的编译版 CLI、校验清单和重放入口。默认只预览;缺输入或目标目录已存在就停止。整个目录可搬到另一台机器,重放不调用模型,保留中止状态和未知成本,也不能授权升级。分享前检查项目数据,参见[可搬走的复现包](docs/replay-packages.md)。
175
200
 
176
- [前瞻性后续任务](benches/contrib/oss-skill-followup/README.md)固定了三个新仓库的八个不同缺陷,具备原始失败、完整维护者修复通过和受保护的回归证据。[单独声明的有界方案](docs/plans/2026-10-14-skill-followup.md)保持 v4 和至少 10% 的要求不变,将本轮上限设为 80 次调用、累计消耗上限设为 205 次,并且不合并以前的正确性结果。离线完整性检查证明任务有效,不能证明 Skill 提升。
177
-
178
- [后续批次中止记录](evidence/2026-10-14-debugging-followup-routing-stop.md)保留了 46 份精确离线复算、第 47 次调用的 CLI 路由失败及 33 份未调用记录。计时和供电正常,但失败调用的 token 成本仍然未知;已完成的前缀不能授权升级。各任务的成本增加和累计 172 次执行调用均保留。
179
-
180
- [之后的消耗控制中止记录](evidence/2026-10-14-debugging-spending-stop.md)保留了单独的恢复检查及一次按用户要求中止的恢复批次调用,实际累计消耗为 174 次,其余 79 份记录未调用。离线归档复算部分成本下限,并将未独立核实的本地恢复检查计数单独保留;不声称新增正确性提升、升级资格或自动升级。
201
+ ```bash
202
+ node dist/cli.js report eval ./runs/my-run --export ./exports/my-run --json
203
+ node dist/cli.js report eval ./runs/my-run --export ./exports/my-run --yes --json
204
+ node ./exports/my-run/reproduce.mjs --verify-only
205
+ node ./exports/my-run/reproduce.mjs
206
+ ```
181
207
 
182
- [四次调用的读取实验及成本复查](evidence/2026-10-14-debugging-reading-pilot-and-cost-review.md)将累计消耗计为 178 次。四份交付均通过,但读取草案的未缓存输入增加 34.35%、输出增加 10.16%、耗时增加 13.60%,因此被拒绝。事后复查将 50 条字面空 diff 更正为 19 条缺失补丁和 31 条正常的仅检查结果;已合并的共同 diff 工具通过了离线验证,真实 Agent 使用情况和净节省尚未实测。收窄的草案仍未验证。[顺序交付计划](docs/plans/2026-10-14-evidence-and-release-sequence.md)将证据整理和发布准备排在另行授权的新实验之前。
208
+ [Skill 实验证据索引](docs/skill-evaluation-evidence.md)保留各批次、失败和成本限制。当前累计 195 次执行器调用,七份历史最终用量仍未知;没有候选版本满足采用条件。最新的[接收者机制验证](evidence/2026-10-15-receiver-mechanism-stop.md)在一次候选失败后停止,没有运行对照。已发布的失败均保留离线重放入口。这些针对具体任务的结果不能证明 Skill 普遍有效。
183
209
 
184
210
  ## 可选择的 Codex 配置
185
211
 
@@ -241,7 +267,7 @@ node ./personal-codex/setup.mjs --yes
241
267
 
242
268
  - **站上标准,不造格式。** AGENTS.md(AAIF)、SKILL.md、`.agents/skills/`、`.mcpb`——只写 agent 本来就读的东西。
243
269
  - **deny by default。** 只装 profile 显式声明的内容,按内容哈希锁定。
244
- - **dry-run 优先。** 任何写命令先打印计划再动文件,永远有备份。
270
+ - **dry-run 优先。** 配置变更先预览再应用,替换已有配置时保留备份并验证。新建 bench、run、bundle 通过冲突检查保护已有输出。
245
271
  - **诚实的数字。** 新的效果投稿需要固定版本且可分享的 manifest;部分旧报告没有可下载的原始 manifest。判定语义冻结在 [docs/metrics.md](docs/metrics.md):显著性来自不一致对的 McNemar 精确检验,差值带配对 bootstrap 置信区间;低于 8 个任务 × 每组 5 次的运行标为 *indicative*,即使它在该 bench 内达到统计显著。
246
272
 
247
273
  ## 免责声明
@@ -263,7 +289,7 @@ node ./personal-codex/setup.mjs --yes
263
289
  - [x] 正例任务可选 `triggerClass`(`explicit`、`implicit`、`contextual`)。没标类别的任务仍只进汇总召回率。
264
290
  - [x] `--compete-installed` 把其他用户级 Skill 复制进 trigger 试验。矩阵目录之外的系统 Skill 和插件不会被复制。`installed` 把「读了长正文」和任务结果分开报告;这次读取不是 trigger 召回率。
265
291
  - [ ] 安装建议。2026 年 7 月的 8 个 Skill 实验没有可靠的任务质量增益。67 个 Skill 目录和 13 个入门套装都没有作为一组被评过。
266
- - [x] 已发布到 npm(`skillfit@0.9.0`)。`npx skillfit` 安装的是这个版本。克隆后 `npm ci` 再 `npm run build` 仍然可用。
292
+ - [x] 已发布到 npm(`skillfit@0.9.1`),并通过 [CLI/OIDC 发布与注册表安装验收](docs/releases/0.9.1-verification.json)。`npx skillfit` 安装的是这个版本。克隆后 `npm ci` 再 `npm run build` 仍然可用。
267
293
  - [x] 社区 bench 与 evidence 提交。bench 放在 `benches/contrib`;证据用 Evidence submission issue 模板。CI 只跑离线检查,不调用 agent。
268
294
  - [ ] Cursor / Gemini CLI / OpenCode 适配器
269
295
  - [x] Streamable HTTP MCP 预检(`mcp check` 的 `http` 传输)。不会调用工具。
package/benches/README.md CHANGED
@@ -8,6 +8,29 @@ A **bench** is a portable, deterministic test suite for measuring whether a skil
8
8
 
9
9
  `skillfit eval <skill-path> --bench <bench-dir>` pairs every task twice — once **baseline** (no skill injected) and once **treatment** (skill injected into the prompt) — for `N` trials each, then compares pass rates. `skillfit bench init` scaffolds a new bench (with a working example task) and `skillfit bench check` validates one offline — verifier self-tests, oracle/NOP gates, facet-count bounds, mock-arm probes, fixture hygiene — before you spend a single token on runs. Add `--calibrate --agent <id>` to also run real baseline-difficulty probes: one inject-mode arm per task with an empty skill payload, so `shouldTrigger` labels are **not** required and you pay for one arm, not two. Each task is banded against the L0 floor/ceiling as too hard or broken (≤10% baseline pass rate), discriminative (in between), or too easy/saturated (≥90%); aim for 30–70%. A calibration that completes no runs fails loudly instead of reporting a band it never measured.
10
10
 
11
+ Available in 0.10.0: `skillfit bench init my-bench --kind command`
12
+ creates a code-editing teaching case, with protected tests, separate behavioral
13
+ probes and a reference repair. The original must fail and the oracle must pass
14
+ `bench check`; equivalent repairs are accepted. Use `--dry-run` before creating
15
+ files, and `--input workspace` when previewing/running it with a CLI executor.
16
+ Without `--kind`, the text-output starter remains the default. Replace either
17
+ starter with a real task before making an efficacy claim; see the
18
+ [starter walkthrough](../docs/bench-authoring.md#choose-a-starter).
19
+
20
+ For Agent integration, use `skillfit bench check my-bench --json` (0.10.0+).
21
+ The [version 1 JSON contract](../docs/bench-check-json.md) includes each gate's
22
+ identifier, status, task, location, remediation and bounded process evidence.
23
+ It uses the same offline checks; JSON mode rejects `--calibrate`. Exit 0 permits
24
+ warnings, exit 1 identifies failed gates, and exit 2 identifies incomplete checks
25
+ or option errors.
26
+
27
+ Use `bench list/show` for inspection and `bench edit/remove` for previewed manifest
28
+ changes (`--yes` applies with backup/verification). Removal preserves files. Select
29
+ eval cases with repeated `--task <id>` or request `taskIds`; native plans freeze
30
+ the selected IDs in manifest order and retain the full bench hash. Small subsets
31
+ remain indicative. See [case management](../docs/case-management.md) and
32
+ [portable offline exports](../docs/replay-packages.md).
33
+
11
34
  ## Bench directory layout
12
35
 
13
36
  ```
@@ -43,3 +43,4 @@ missing the point entirely.
43
43
  | [oss-normalize-url](oss-normalize-url/README.md) | URL query normalization | skillfit replay of MIT-licensed normalize-url source | Pinned issue #193 and maintainer fix; Node-only evidence gates; difficulty uncalibrated before the v2 transfer pilot |
44
44
  | [oss-minipass](oss-minipass/README.md) | Stream completion and backpressure | skillfit replay of ISC-licensed minipass source | Four pinned historical defects; development/calibration set with public behavior and regression replay gates |
45
45
  | [oss-skill-validation](oss-skill-validation/README.md) | Asynchronous mapping and cache lifetime | skillfit replay of MIT-licensed p-map and quick-lru source | Eight independently sourced defects in two repositories; separate from minipass development; no efficacy result implied by offline gates |
46
+ | [oss-skill-independent](oss-skill-independent/README.md) | Async context, timers, errors and command lifecycle | skillfit replay of MIT-licensed p-limit, p-timeout, p-throttle and Commander source | Eight fixed, previously untuned defects; identical-regression original/fix gates and protected assets; difficulty uncalibrated, zero new model calls |
@@ -0,0 +1,60 @@
1
+ # Independent original/v4 debugging tasks
2
+
3
+ Eight real historical defects are pinned before any new agent outcome is observed.
4
+ The selection is the [reviewed proposal](../../../docs/plans/2026-10-15-independent-comparison-proposal.md),
5
+ not a result of difficulty calibration or candidate tuning on this set. The
6
+ original/v4 Skill resources and adoption policy remain unchanged. Difficulty is
7
+ uncalibrated; no real model call is authorized by preparing this bench.
8
+
9
+ | Task | Source fix | Behavior |
10
+ | --- | --- | --- |
11
+ | limit-async-context | [p-limit ad8afe6](https://github.com/sindresorhus/p-limit/commit/ad8afe6f46429e726b32fdedf063c553ebcb0196) | Queued callers retain their own async context |
12
+ | timeout-custom-timers | [p-timeout ed58372](https://github.com/sindresorhus/p-timeout/commit/ed58372c62d3dddfe6f58de37558fb132e1a4e9b) | Compatible timer receivers for scheduling and clearing |
13
+ | throttle-sync-throw | [p-throttle bee3f7d](https://github.com/sindresorhus/p-throttle/commit/bee3f7d0b048f251de2f910ddd122c6babf49380) | Delayed synchronous exceptions reject the returned promise |
14
+ | commander-output-isolation | [Commander 68199e6](https://github.com/tj/commander.js/commit/68199e64b31851839c03dff1567a81d7714baa08) | Child output settings leave parent and siblings unchanged |
15
+ | limit-map-iteration-rejection | [p-limit 9df0d27](https://github.com/sindresorhus/p-limit/commit/9df0d27f82ab3cb6d7e1087f5bda94ce911d33ca) | Iterator failure leaves no unhandled mapper rejection |
16
+ | timeout-rejection-listener | [p-timeout fd93994](https://github.com/sindresorhus/p-timeout/commit/fd93994892d0b3cba6da61787ac6b5da3ad3f2d5) | Rejection cleanup releases listeners without an unhandled promise |
17
+ | timeout-infinity-abort | [p-timeout 9260b09](https://github.com/sindresorhus/p-timeout/commit/9260b098885d11d53d0cc39884e5cadc8b85f229) | Infinity retains cancellation handling |
18
+ | commander-async-listener-order | [Commander 35a028b](https://github.com/tj/commander.js/commit/35a028b6253a38d00c16dca2a36b69c5888c022a) | Legacy events follow async hooks/action and precede postAction |
19
+
20
+ `provenance.json` pins the before/fix commits, raw Git blobs and SHA-256 hashes,
21
+ all fixture/reference files and vendored dependency commits/licenses. Runtime
22
+ source is complete: Commander keeps its runtime modules and types. Upstream test
23
+ and development tooling remain outside workspaces. Original documentation/types
24
+ are retained across arms; full functional maintainer changes are applied to the
25
+ reference, including the context task's package imports/files and browser stub.
26
+ Effective package scripts use Node's protected smoke test; original package
27
+ metadata is retained separately.
28
+
29
+ For p-limit only, the unchanged `yocto-queue` implementation is vendored under
30
+ `vendor/`. One import specifier is mechanically redirected to that local module
31
+ in both original and fixed source. Raw/adapted hashes are recorded. No package
32
+ installation, build step or network is needed to run a fixture or verifier. This
33
+ adds no dependency to skillfit itself. Original upstream MIT notices are retained.
34
+
35
+ Each task has six outcome checks: protected assets and ordinary smoke behavior,
36
+ four public behavior groups, and a retained registered regression that passes on
37
+ the submission and complete functional maintainer fix but fails on the original.
38
+ The multi-file context fix is restored as a unit for that comparison. Real timing
39
+ waits are replaced by a controlled clock. Unhandled rejections are observed in
40
+ isolated processes; they cannot silently poison another task. No check scores
41
+ Skill narration, an implementation keyword or a preferred repair strategy.
42
+
43
+ ```bash
44
+ node dist/cli.js bench check benches/contrib/oss-skill-independent
45
+ node --test scripts/independent-offline.test.mjs
46
+ node scripts/check-independent-readiness.mjs
47
+ ```
48
+
49
+ Offline checks also give the original the identical reference regression, so a
50
+ failure cannot be explained merely by a missing test. Constant passing tests,
51
+ files exiting zero without registered tests, protected vendor tampering and an
52
+ incomplete maintainer context patch are rejected. Offline integrity does not
53
+ prove model difficulty, Skill benefit or general correctness.
54
+
55
+ The two Commander fixtures exceed the snapshot-mode size warning because their
56
+ runtime context is retained. Use installed workspace comparison; no source is
57
+ trimmed to improve token numbers. All eight tasks are positive debugging tasks:
58
+ this bench does not measure trigger precision. Related promise libraries and
59
+ repeated repositories limit generalization. No prior cohort's quality outcomes
60
+ are pooled, no new task has been used to edit v4, and no automatic upgrade occurs.
@@ -0,0 +1,79 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "name": "oss-skill-independent",
4
+ "description": "Eight source-pinned, previously untuned defects in four repositories; fixed original/v4 validation proposal, offline checks only; difficulty uncalibrated.",
5
+ "tasks": [
6
+ {
7
+ "id": "limit-async-context",
8
+ "fixture": "fixtures/limit-async-context",
9
+ "prompt": "prompts/limit-async-context.md",
10
+ "verifier": "node verifiers/limit-async-context.mjs",
11
+ "verifierKind": "command",
12
+ "oracle": "node ground-truth/oracle-limit-async-context.mjs",
13
+ "shouldTrigger": true
14
+ },
15
+ {
16
+ "id": "timeout-custom-timers",
17
+ "fixture": "fixtures/timeout-custom-timers",
18
+ "prompt": "prompts/timeout-custom-timers.md",
19
+ "verifier": "node verifiers/timeout-custom-timers.mjs",
20
+ "verifierKind": "command",
21
+ "oracle": "node ground-truth/oracle-timeout-custom-timers.mjs",
22
+ "shouldTrigger": true
23
+ },
24
+ {
25
+ "id": "throttle-sync-throw",
26
+ "fixture": "fixtures/throttle-sync-throw",
27
+ "prompt": "prompts/throttle-sync-throw.md",
28
+ "verifier": "node verifiers/throttle-sync-throw.mjs",
29
+ "verifierKind": "command",
30
+ "oracle": "node ground-truth/oracle-throttle-sync-throw.mjs",
31
+ "shouldTrigger": true
32
+ },
33
+ {
34
+ "id": "commander-output-isolation",
35
+ "fixture": "fixtures/commander-output-isolation",
36
+ "prompt": "prompts/commander-output-isolation.md",
37
+ "verifier": "node verifiers/commander-output-isolation.mjs",
38
+ "verifierKind": "command",
39
+ "oracle": "node ground-truth/oracle-commander-output-isolation.mjs",
40
+ "shouldTrigger": true
41
+ },
42
+ {
43
+ "id": "limit-map-iteration-rejection",
44
+ "fixture": "fixtures/limit-map-iteration-rejection",
45
+ "prompt": "prompts/limit-map-iteration-rejection.md",
46
+ "verifier": "node verifiers/limit-map-iteration-rejection.mjs",
47
+ "verifierKind": "command",
48
+ "oracle": "node ground-truth/oracle-limit-map-iteration-rejection.mjs",
49
+ "shouldTrigger": true
50
+ },
51
+ {
52
+ "id": "timeout-rejection-listener",
53
+ "fixture": "fixtures/timeout-rejection-listener",
54
+ "prompt": "prompts/timeout-rejection-listener.md",
55
+ "verifier": "node verifiers/timeout-rejection-listener.mjs",
56
+ "verifierKind": "command",
57
+ "oracle": "node ground-truth/oracle-timeout-rejection-listener.mjs",
58
+ "shouldTrigger": true
59
+ },
60
+ {
61
+ "id": "timeout-infinity-abort",
62
+ "fixture": "fixtures/timeout-infinity-abort",
63
+ "prompt": "prompts/timeout-infinity-abort.md",
64
+ "verifier": "node verifiers/timeout-infinity-abort.mjs",
65
+ "verifierKind": "command",
66
+ "oracle": "node ground-truth/oracle-timeout-infinity-abort.mjs",
67
+ "shouldTrigger": true
68
+ },
69
+ {
70
+ "id": "commander-async-listener-order",
71
+ "fixture": "fixtures/commander-async-listener-order",
72
+ "prompt": "prompts/commander-async-listener-order.md",
73
+ "verifier": "node verifiers/commander-async-listener-order.mjs",
74
+ "verifierKind": "command",
75
+ "oracle": "node ground-truth/oracle-commander-async-listener-order.mjs",
76
+ "shouldTrigger": true
77
+ }
78
+ ]
79
+ }
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.