skillfit 0.9.1 → 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 (303) 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 +29 -12
  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.1-first-publication.json +249 -0
  268. package/docs/releases/0.9.1-verification.json +122 -0
  269. package/docs/releases/0.9.1.md +33 -1
  270. package/docs/releases/trusted-publishing.md +61 -0
  271. package/docs/replay-packages.md +88 -0
  272. package/docs/schemas/bench-check.schema.json +109 -0
  273. package/docs/schemas/eval-request.schema.json +12 -0
  274. package/docs/sharing-results.md +6 -0
  275. package/docs/skill-evaluation-evidence.md +52 -0
  276. package/evidence/2026-10-15-diagnosing-receiver-correction.md +140 -0
  277. package/evidence/2026-10-15-independent-comparison-regression-stop.md +162 -0
  278. package/evidence/2026-10-15-independent-offline-readiness.md +144 -0
  279. package/evidence/2026-10-15-native-diff-mechanism.md +196 -0
  280. package/evidence/2026-10-15-receiver-mechanism-stop.md +154 -0
  281. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/README.md +35 -0
  282. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/expected.json +577 -0
  283. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/receiver-contract.test.mjs +138 -0
  284. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/replay.mjs +127 -0
  285. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/verification.json +105 -0
  286. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/README.md +32 -0
  287. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/checks.json +32 -0
  288. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/package.tar.gz +0 -0
  289. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/verification.json +25 -0
  290. package/evidence/artifacts/2026-10-15-independent-offline-readiness/README.md +17 -0
  291. package/evidence/artifacts/2026-10-15-independent-offline-readiness/verification.json +1548 -0
  292. package/evidence/artifacts/2026-10-15-native-diff-mechanism/README.md +48 -0
  293. package/evidence/artifacts/2026-10-15-native-diff-mechanism/package.tar.gz +0 -0
  294. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/README.md +38 -0
  295. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/checks.json +118 -0
  296. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/package.tar.gz +0 -0
  297. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/verification.json +36 -0
  298. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/LICENSE +21 -0
  299. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/SKILL.md +51 -0
  300. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/agents/openai.yaml +3 -0
  301. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/scripts/hitl-loop.template.sh +44 -0
  302. package/package.json +1 -1
  303. package/skills/skillfit/SKILL.md +17 -5
@@ -0,0 +1,373 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "skillfit.independent-comparison-proposal",
4
+ "status": "offline-verified-awaiting-user-decision",
5
+ "sourceCommit": "98227b48703d753aa0f7918a8a04fe490b9dce27",
6
+ "authorizedModelCalls": 0,
7
+ "readyForModelCalls": false,
8
+ "plannedCalls": 80,
9
+ "trialsPerArm": 5,
10
+ "proposedPurpose": "validation",
11
+ "pairOrder": "balanced",
12
+ "executorTimeoutSeconds": 1200,
13
+ "extras": {
14
+ "readinessCalls": 0,
15
+ "retries": 0,
16
+ "replacements": 0,
17
+ "generatorCalls": 0,
18
+ "judgeCalls": 0,
19
+ "automaticExpansion": false
20
+ },
21
+ "baseline": {
22
+ "path": "evidence/inputs/diagnosing-bugs",
23
+ "sha256": "3cf6b2fea38acbdebfbaca564f7a2f10cd7d12dfcad0442756a6842db96eccc1"
24
+ },
25
+ "candidate": {
26
+ "path": "evidence/inputs/diagnosing-bugs-compact-v4",
27
+ "sha256": "db5e96d06d52f3c1fbfe4a10b12c999c6191dc6a42f889e074931730ff6eafa9"
28
+ },
29
+ "nativeDiffToolSha256": "231e245a827bfa0bbf6b0e486d8697fb7becd7b42f24a3d585321055eb7eccb7",
30
+ "proposedConfiguration": {
31
+ "model": "gpt-6.1-sol",
32
+ "reasoningEffort": "xhigh",
33
+ "serviceTier": "default",
34
+ "servedModel": "must record attestation status; not inferred from configuration",
35
+ "isolation": "Same pinned inherited configuration in both arms; retain common startup warnings"
36
+ },
37
+ "policy": {
38
+ "schemaVersion": 2,
39
+ "objective": "efficiency",
40
+ "minTasks": 8,
41
+ "minTrialsPerTask": 5,
42
+ "minUncachedInputReductionFraction": 0.1,
43
+ "minImprovedTaskFraction": 0.75,
44
+ "maxCostIncreaseFraction": {
45
+ "input": 0,
46
+ "cachedInput": 0,
47
+ "uncachedInput": 0,
48
+ "output": 0,
49
+ "durationSeconds": 0.25
50
+ }
51
+ },
52
+ "policySha256": "e6c0610daccd82f4fa326fb2660ae9f6dc722e1544f1caa006b4143de3da4a5e",
53
+ "tasks": [
54
+ {
55
+ "position": 1,
56
+ "id": "limit-async-context",
57
+ "repository": "sindresorhus/p-limit",
58
+ "upstreamFix": "ad8afe6f46429e726b32fdedf063c553ebcb0196",
59
+ "before": "38a6773e552d24f4c9eb2d79d57b6cff017c587d",
60
+ "url": "https://github.com/sindresorhus/p-limit/commit/ad8afe6f46429e726b32fdedf063c553ebcb0196",
61
+ "upstreamTitle": "Fix AsyncResource propagation issue (#71)",
62
+ "upstreamDate": "2023-11-01T06:13:46Z",
63
+ "behavior": "Queued calls retain their own AsyncLocalStorage context",
64
+ "functionalFiles": [
65
+ {
66
+ "path": "async-hooks-stub.js",
67
+ "status": "added",
68
+ "fixedGitBlobSha": "913c7c6171a31464510d7ea6744d319aeb34682a"
69
+ },
70
+ {
71
+ "path": "index.js",
72
+ "status": "modified",
73
+ "fixedGitBlobSha": "c5ebcc9c8c7ce10f9f8b1844cd899adaf5edb192"
74
+ },
75
+ {
76
+ "path": "package.json",
77
+ "status": "modified",
78
+ "fixedGitBlobSha": "22aba982ede36f408ae3ca70ca686514562f1a9d"
79
+ }
80
+ ],
81
+ "outcomeGroups": [
82
+ "Protected supplied assets and ordinary smoke behavior",
83
+ "Distinct callers retain their own store",
84
+ "Queued-to-active transitions retain context",
85
+ "Concurrency one and multiple preserve isolation",
86
+ "Ordinary fulfillment and rejection remain intact",
87
+ "Submitted regression passes the repair and complete functional upstream fix, and fails the original"
88
+ ],
89
+ "sourceReview": "Commit, parent, functional diff and available upstream tests reviewed; no agent outcome used",
90
+ "offlineOriginalOracleGate": "passed: identical registered regression and actual behavior fail original; full functional maintainer repair passes 6/6"
91
+ },
92
+ {
93
+ "position": 2,
94
+ "id": "timeout-custom-timers",
95
+ "repository": "sindresorhus/p-timeout",
96
+ "upstreamFix": "ed58372c62d3dddfe6f58de37558fb132e1a4e9b",
97
+ "before": "f9ced5e18ad81eab24a9a8d0f07bf3002f7bea64",
98
+ "url": "https://github.com/sindresorhus/p-timeout/commit/ed58372c62d3dddfe6f58de37558fb132e1a4e9b",
99
+ "upstreamTitle": "Fix \"Illegal invocation\" error with custom timers",
100
+ "upstreamDate": "2025-10-07T01:44:36Z",
101
+ "behavior": "Custom timers receive a compatible call receiver",
102
+ "functionalFiles": [
103
+ {
104
+ "path": "index.js",
105
+ "status": "modified",
106
+ "fixedGitBlobSha": "76e98d2842cb18c36640a48bcd251fe21fc50114"
107
+ }
108
+ ],
109
+ "outcomeGroups": [
110
+ "Protected supplied assets and ordinary smoke behavior",
111
+ "Scheduling does not bind this to the customTimers container",
112
+ "Clearing does not bind this to that container",
113
+ "Timeout and fallback paths keep their results",
114
+ "Ordinary fulfillment and rejection keep identity",
115
+ "Submitted regression passes the repair and complete functional upstream fix, and fails the original"
116
+ ],
117
+ "sourceReview": "Commit, parent, functional diff and available upstream tests reviewed; no agent outcome used",
118
+ "offlineOriginalOracleGate": "passed: identical registered regression and actual behavior fail original; full functional maintainer repair passes 6/6"
119
+ },
120
+ {
121
+ "position": 3,
122
+ "id": "throttle-sync-throw",
123
+ "repository": "sindresorhus/p-throttle",
124
+ "upstreamFix": "bee3f7d0b048f251de2f910ddd122c6babf49380",
125
+ "before": "5b566f4eecab5b054840896287e46806585747db",
126
+ "url": "https://github.com/sindresorhus/p-throttle/commit/bee3f7d0b048f251de2f910ddd122c6babf49380",
127
+ "upstreamTitle": "Fix handling of synchronously thrown errors (#64)",
128
+ "upstreamDate": "2025-08-20T07:18:53Z",
129
+ "behavior": "Delayed synchronous exceptions reject the returned promise",
130
+ "functionalFiles": [
131
+ {
132
+ "path": "index.js",
133
+ "status": "modified",
134
+ "fixedGitBlobSha": "ec506894eb442dcee67d2ff9e8ab0df9cc3887f5"
135
+ }
136
+ ],
137
+ "outcomeGroups": [
138
+ "Protected supplied assets and ordinary smoke behavior",
139
+ "Delayed sync throw rejects with the original error",
140
+ "Queue state is cleaned after failure",
141
+ "Async rejections still propagate",
142
+ "Successful calls preserve receiver and arguments",
143
+ "Submitted regression passes the repair and complete functional upstream fix, and fails the original"
144
+ ],
145
+ "sourceReview": "Commit, parent, functional diff and available upstream tests reviewed; no agent outcome used",
146
+ "offlineOriginalOracleGate": "passed: identical registered regression and actual behavior fail original; full functional maintainer repair passes 6/6"
147
+ },
148
+ {
149
+ "position": 4,
150
+ "id": "commander-output-isolation",
151
+ "repository": "tj/commander.js",
152
+ "upstreamFix": "68199e64b31851839c03dff1567a81d7714baa08",
153
+ "before": "672e3806c68421f91b3a1f628f6207b8b26d1a2c",
154
+ "url": "https://github.com/tj/commander.js/commit/68199e64b31851839c03dff1567a81d7714baa08",
155
+ "upstreamTitle": "Make .configureOutput() create copy of settings instead of in-place change (#2350)",
156
+ "upstreamDate": "2025-03-26T23:55:12Z",
157
+ "behavior": "A child output configuration change leaves its parent unchanged",
158
+ "functionalFiles": [
159
+ {
160
+ "path": "lib/command.js",
161
+ "status": "modified",
162
+ "fixedGitBlobSha": "0d14ee4131e5c562814e9061dbdedf5881499a0d"
163
+ }
164
+ ],
165
+ "outcomeGroups": [
166
+ "Protected supplied assets and ordinary smoke behavior",
167
+ "Child configuration applies locally",
168
+ "Parent output configuration remains intact",
169
+ "Sibling configuration remains intact",
170
+ "Unmodified output callbacks remain available",
171
+ "Submitted regression passes the repair and complete functional upstream fix, and fails the original"
172
+ ],
173
+ "sourceReview": "Commit, parent, functional diff and available upstream tests reviewed; no agent outcome used",
174
+ "offlineOriginalOracleGate": "passed: identical registered regression and actual behavior fail original; full functional maintainer repair passes 6/6"
175
+ },
176
+ {
177
+ "position": 5,
178
+ "id": "limit-map-iteration-rejection",
179
+ "repository": "sindresorhus/p-limit",
180
+ "upstreamFix": "9df0d27f82ab3cb6d7e1087f5bda94ce911d33ca",
181
+ "before": "783068bb9e967fd7bea8642e1bf5a3627fe38bdf",
182
+ "url": "https://github.com/sindresorhus/p-limit/commit/9df0d27f82ab3cb6d7e1087f5bda94ce911d33ca",
183
+ "upstreamTitle": "Fix unhandled rejections in `limit.map()` when the iterable throws",
184
+ "upstreamDate": "2026-09-18T18:17:12Z",
185
+ "behavior": "Iterator failure does not leave scheduled mapper rejections unhandled",
186
+ "functionalFiles": [
187
+ {
188
+ "path": "index.js",
189
+ "status": "modified",
190
+ "fixedGitBlobSha": "c24de5782032605aa83636bcf455f700e3b2ada7"
191
+ }
192
+ ],
193
+ "outcomeGroups": [
194
+ "Protected supplied assets and ordinary smoke behavior",
195
+ "Iterator error identity reaches the caller",
196
+ "Scheduled mapper failures create no unhandled rejection",
197
+ "Already queued work still finishes with correct queue counts",
198
+ "Ordinary arrays and array-like inputs keep map behavior",
199
+ "Submitted regression passes the repair and complete functional upstream fix, and fails the original"
200
+ ],
201
+ "sourceReview": "Commit, parent, functional diff and available upstream tests reviewed; no agent outcome used",
202
+ "offlineOriginalOracleGate": "passed: identical registered regression and actual behavior fail original; full functional maintainer repair passes 6/6"
203
+ },
204
+ {
205
+ "position": 6,
206
+ "id": "timeout-rejection-listener",
207
+ "repository": "sindresorhus/p-timeout",
208
+ "upstreamFix": "fd93994892d0b3cba6da61787ac6b5da3ad3f2d5",
209
+ "before": "3cabb7a7e576b5acc344db7f55acf4d56e47400a",
210
+ "url": "https://github.com/sindresorhus/p-timeout/commit/fd93994892d0b3cba6da61787ac6b5da3ad3f2d5",
211
+ "upstreamTitle": "Fix removing abort listener after promise rejects (#44)",
212
+ "upstreamDate": "2025-01-01T13:03:23Z",
213
+ "behavior": "Rejected input releases its abort listener without an unhandled derived rejection",
214
+ "functionalFiles": [
215
+ {
216
+ "path": "index.js",
217
+ "status": "modified",
218
+ "fixedGitBlobSha": "f88dd071a2ec3b3a509acb10ffc39863788fa766"
219
+ }
220
+ ],
221
+ "outcomeGroups": [
222
+ "Protected supplied assets and ordinary smoke behavior",
223
+ "Original rejection identity is retained",
224
+ "No derived promise creates an unhandled rejection",
225
+ "Abort listeners are removed on settlement",
226
+ "Fulfillment, explicit abort and timeout paths remain intact",
227
+ "Submitted regression passes the repair and complete functional upstream fix, and fails the original"
228
+ ],
229
+ "sourceReview": "Commit, parent, functional diff and available upstream tests reviewed; no agent outcome used",
230
+ "offlineOriginalOracleGate": "passed: identical registered regression and actual behavior fail original; full functional maintainer repair passes 6/6"
231
+ },
232
+ {
233
+ "position": 7,
234
+ "id": "timeout-infinity-abort",
235
+ "repository": "sindresorhus/p-timeout",
236
+ "upstreamFix": "9260b098885d11d53d0cc39884e5cadc8b85f229",
237
+ "before": "e8c2c9e16d2653bacbc404033af1166b5f07b91e",
238
+ "url": "https://github.com/sindresorhus/p-timeout/commit/9260b098885d11d53d0cc39884e5cadc8b85f229",
239
+ "upstreamTitle": "Fix infinite milliseconds (#38)",
240
+ "upstreamDate": "2023-06-12T14:16:18Z",
241
+ "behavior": "Infinity disables the timer while retaining AbortSignal handling",
242
+ "functionalFiles": [
243
+ {
244
+ "path": "index.js",
245
+ "status": "modified",
246
+ "fixedGitBlobSha": "29f44e345389cee6d68b1ff6af5ad13989f51461"
247
+ }
248
+ ],
249
+ "outcomeGroups": [
250
+ "Protected supplied assets and ordinary smoke behavior",
251
+ "An already aborted signal rejects",
252
+ "An abort after wrapping also rejects",
253
+ "Unaborted input fulfillment and rejection pass through",
254
+ "Infinity schedules no finite timeout",
255
+ "Submitted regression passes the repair and complete functional upstream fix, and fails the original"
256
+ ],
257
+ "sourceReview": "Commit, parent, functional diff and available upstream tests reviewed; no agent outcome used",
258
+ "offlineOriginalOracleGate": "passed: identical registered regression and actual behavior fail original; full functional maintainer repair passes 6/6"
259
+ },
260
+ {
261
+ "position": 8,
262
+ "id": "commander-async-listener-order",
263
+ "repository": "tj/commander.js",
264
+ "upstreamFix": "35a028b6253a38d00c16dca2a36b69c5888c022a",
265
+ "before": "e649291869553e68b583b70ee910abb5ec6bcce4",
266
+ "url": "https://github.com/tj/commander.js/commit/35a028b6253a38d00c16dca2a36b69c5888c022a",
267
+ "upstreamTitle": "Wrap emit to preserve callback order when async (#1638)",
268
+ "upstreamDate": "2021-11-09T05:37:07Z",
269
+ "behavior": "Legacy command events follow async hooks and the action",
270
+ "functionalFiles": [
271
+ {
272
+ "path": "lib/command.js",
273
+ "status": "modified",
274
+ "fixedGitBlobSha": "695c840ec8040407fb4444f4cd0a7f3657ea7eb5"
275
+ }
276
+ ],
277
+ "outcomeGroups": [
278
+ "Protected supplied assets and ordinary smoke behavior",
279
+ "Async preAction then action precede the legacy event",
280
+ "postAction follows that event",
281
+ "parseAsync waits for the action chain",
282
+ "Synchronous and no-subcommand cases keep their order",
283
+ "Submitted regression passes the repair and complete functional upstream fix, and fails the original"
284
+ ],
285
+ "sourceReview": "Commit, parent, functional diff and available upstream tests reviewed; no agent outcome used",
286
+ "offlineOriginalOracleGate": "passed: identical registered regression and actual behavior fail original; full functional maintainer repair passes 6/6"
287
+ }
288
+ ],
289
+ "independence": {
290
+ "scannedLocalManifestFiles": 162,
291
+ "previouslyScheduledTaskIds": [
292
+ "async-concurrency",
293
+ "async-end",
294
+ "buffered-readable",
295
+ "cold-thenable",
296
+ "consumer-stop",
297
+ "debounce-context-classes",
298
+ "debounce-recursive-args",
299
+ "debounce-timer-boundary",
300
+ "duration-large-digits",
301
+ "duration-plural-count",
302
+ "end-listeners",
303
+ "explicit-hold",
304
+ "feat-slug",
305
+ "fetch-abort",
306
+ "fetch-lifecycle",
307
+ "fetch-size",
308
+ "mapper-index",
309
+ "pipeline-order",
310
+ "promise-falsy-rejection",
311
+ "promise-method-context",
312
+ "promise-overlap-results",
313
+ "query-shape",
314
+ "range-parser",
315
+ "receipt-current",
316
+ "receipt-stale",
317
+ "scheduled-nav",
318
+ "source-close",
319
+ "source-error",
320
+ "temporal-filter",
321
+ "ttl-cache",
322
+ "ttl-duration",
323
+ "ttl-refresh",
324
+ "view-utf8"
325
+ ],
326
+ "sourceDefectsPreviouslyScheduled": false,
327
+ "candidateChangedForThisSet": false,
328
+ "newTaskModelCalls": 0,
329
+ "repositoryReferencesAlreadyPresent": [
330
+ "p-limit and p-throttle names occur in old fixtures as Related links/composition documentation; that is not evidence that these source defects were tuned"
331
+ ],
332
+ "excludedSourceFamilies": [
333
+ "minipass",
334
+ "normalize-url",
335
+ "lru-cache",
336
+ "p-map",
337
+ "quick-lru",
338
+ "p-debounce",
339
+ "debounce",
340
+ "HumanizeDuration",
341
+ "mcp-use",
342
+ "mcp-agent",
343
+ "Chrome DevTools",
344
+ "waza",
345
+ "earlier range/TTL/slug probes"
346
+ ],
347
+ "scope": "Unused as source defects in available project tuning/evaluation records; no claim of absence from model pretraining or uninspected external work",
348
+ "repositories": 4,
349
+ "repositoryTaskCounts": {
350
+ "sindresorhus/p-limit": 2,
351
+ "sindresorhus/p-timeout": 3,
352
+ "sindresorhus/p-throttle": 1,
353
+ "tj/commander.js": 2
354
+ },
355
+ "limitation": "Related promise packages and repeated repositories are correlated; task-block intervals are not repository-level generalization guarantees"
356
+ },
357
+ "prerequisites": {
358
+ "userBudgetDecision": "pending",
359
+ "sourceFixturePackaging": "passed: pinned full runtime, original documentation/types and MIT licenses; local pinned queue import adaptation disclosed",
360
+ "completeNodeOnlyOutcomeVerifiers": "passed: all eight tasks, six outcome groups each",
361
+ "originalFailMaintainerPassAndRegressionWitness": "passed for all 8; see evidence/2026-10-15-independent-offline-readiness.md",
362
+ "offlineBudgetGuardChecks": "passed: 20 injected-executor checks; five stop lines, usage completeness, failure retention, preview binding and native replay",
363
+ "executionInputRuntimeConfigurationHashesAndPreview": "pending live decision and current environment checks; offline bench/runtime/source hashes retained; no live request created"
364
+ },
365
+ "currentStudyLedgerCalls": 182,
366
+ "projectedStudyCeilingIfSeparatelyAuthorizedAndCompleted": 262,
367
+ "historicalMissingPublicFinalUsages": 7,
368
+ "automaticUpgrade": false,
369
+ "bench": {
370
+ "path": "benches/contrib/oss-skill-independent",
371
+ "sha256": "1a6b890d2d36ee1419eeff44b95e5fc3be92b2662984f484a4190a24e0b6d0ac"
372
+ }
373
+ }
@@ -0,0 +1,177 @@
1
+ # 原版与 compact v4:新任务独立对比方案
2
+
3
+ 状态:**供审阅,未授权执行,新增模型调用为 0。** 当前研究线已发生的调用仍为
4
+ 182 次,历史七份缺失的公开最终用量继续标为未知。本方案不是一次新的实验结果。
5
+
6
+ 10 月 15 日离线准备已完成:[八项任务的验真记录](../../evidence/2026-10-15-independent-offline-readiness.md)
7
+ 确认每项原版确实失败、维护者完整功能修复均通过 6/6 检查;预算中止机制的 20 项
8
+ 模拟执行器检查也已通过。题目难度尚未用模型校准,真实调用授权仍为 0。
9
+
10
+ 建议只考虑一批预先固定的正式验证:**8 个新缺陷 × 每项 5 对 × 两个版本 = 最多
11
+ 80 次调用**。沿用已有验收门槛,这已经是最小规模;不保证 80 次一定得到明确结论。
12
+ 暂不做额外试跑,不在结果不显著时追加调用,也不把旧结果并进新样本。
13
+
14
+ ## 比较什么
15
+
16
+ - 原版:完整 `diagnosing-bugs`,指纹
17
+ `3cf6b2fea38acbdebfbaca564f7a2f10cd7d12dfcad0442756a6842db96eccc1`。
18
+ - 候选:完整、未改动的 compact v4,指纹
19
+ `db5e96d06d52f3c1fbfe4a10b12c999c6191dc6a42f889e074931730ff6eafa9`。
20
+ - 不测试已被拒绝的读取草案,也不拿这些新任务继续修改 v4。若用新任务结果调优,
21
+ 它们就成为开发集;下一候选必须换新的验证声明。
22
+ - 两组使用相同的修好后的 diff 工具、提示、夹具、模型配置、时限和结果检查。
23
+ 这里比较 Skill 版本;不估计工具开关的因果收益。
24
+
25
+ 完整提交、父提交、功能文件和每项六组结果检查列在
26
+ [输入清单](2026-10-15-independent-comparison-inputs.json)。选择基于真实维护者修复,
27
+ 没有调用模型校准难度,也没有根据新任务的 Agent 表现选题。
28
+
29
+ ## 八项真实任务
30
+
31
+ 顺序交错仓库,避免同一仓库的全部任务集中在运行开头。下列短指纹只用于阅读,
32
+ 输入清单保存完整的修复前和修复后提交。
33
+
34
+ | 顺序 | 仓库与维护者修复 | 要检查的结果 | 修复前 → 修复后 |
35
+ | --- | --- | --- | --- |
36
+ | 1 | [p-limit:异步上下文](https://github.com/sindresorhus/p-limit/commit/ad8afe6f46429e726b32fdedf063c553ebcb0196) | 排队的不同调用保留自己的 AsyncLocalStorage 上下文,不能串到其他调用 | `38a6773` → `ad8afe6` |
37
+ | 2 | [p-timeout:自定义定时器](https://github.com/sindresorhus/p-timeout/commit/ed58372c62d3dddfe6f58de37558fb132e1a4e9b) | 调用和清除自定义定时器时不因错误的接收对象而报错 | `f9ced5e` → `ed58372` |
38
+ | 3 | [p-throttle:延迟执行时抛错](https://github.com/sindresorhus/p-throttle/commit/bee3f7d0b048f251de2f910ddd122c6babf49380) | 延迟回调同步抛错,应拒绝返回的 Promise,并正确清理队列 | `5b566f4` → `bee3f7d` |
39
+ | 4 | [Commander:输出配置隔离](https://github.com/tj/commander.js/commit/68199e64b31851839c03dff1567a81d7714baa08) | 子命令修改自己的输出配置,不能影响父命令和兄弟命令 | `672e380` → `68199e6` |
40
+ | 5 | [p-limit:迭代器失败](https://github.com/sindresorhus/p-limit/commit/9df0d27f82ab3cb6d7e1087f5bda94ce911d33ca) | 迭代器抛错后,已排队映射任务的失败不能变成未处理拒绝;原始错误保持不变 | `783068b` → `9df0d27` |
41
+ | 6 | [p-timeout:拒绝后的清理](https://github.com/sindresorhus/p-timeout/commit/fd93994892d0b3cba6da61787ac6b5da3ad3f2d5) | 输入失败后释放取消监听,同时不制造额外的未处理拒绝 | `3cabb7a` → `fd93994` |
42
+ | 7 | [p-timeout:无限等待仍能取消](https://github.com/sindresorhus/p-timeout/commit/9260b098885d11d53d0cc39884e5cadc8b85f229) | `Infinity` 只关闭计时器,不应忽略 AbortSignal | `e8c2c9e` → `9260b09` |
43
+ | 8 | [Commander:异步执行顺序](https://github.com/tj/commander.js/commit/35a028b6253a38d00c16dca2a36b69c5888c022a) | 旧式 command 事件应在异步前置钩子和 action 完成后、postAction 之前触发 | `e649291` → `35a028b` |
44
+
45
+ 这里的“独立”指没有用这些源代码缺陷的实验结果调优或选择候选。本轮核对了
46
+ 162 份可用本地 manifest,其中有归档副本,覆盖 33 个不同的旧任务标识;新任务
47
+ 与这些任务不重合,也不复用旧缺陷的修复提交。排除了 minipass、normalize-url、
48
+ LRU、p-map、quick-lru、p-debounce、debounce、HumanizeDuration 以及更早的项目任务。
49
+
50
+ p-limit、p-throttle 的名字以前出现在旧夹具的 Related 链接或组合使用说明中;这不等于
51
+ 它们的新源码缺陷参与过调优,但不能说模型从没见过仓库名字。也不保证公开提交没有
52
+ 进入模型训练,或没有出现在本项目无法核查的外部工作里。
53
+
54
+ 四个仓库的分配是 2 / 3 / 1 / 2。相关 Promise 库与同仓库任务存在相关性,不能把这
55
+ 八项当成八个互不相关的仓库。结论只覆盖声明的 JavaScript 任务组合和运行环境。
56
+
57
+ ## 调用安排与环境
58
+
59
+ | 项目 | 固定安排 |
60
+ | --- | --- |
61
+ | 正式调用 | 8 项任务,各 5 对;原版 40 次、v4 40 次,共最多 80 次 |
62
+ | 顺序 | `balanced`,每对相邻,首个版本交替;总共各有 20 对由一个版本先运行 |
63
+ | 额外调用 | 预热、连通性模型调用、候选生成、模型裁判、重试、补样均为 0 |
64
+ | 单次时限 | 两组均为 1,200 秒;按调用计的理论上限为 26 小时 40 分钟,预算停止线另算 |
65
+ | 计划配置 | 与机制验证相同的 `gpt-6.1-sol` / `xhigh` / `default`;实际执行前冻结 CLI、Node、运行代码和完整配置指纹 |
66
+ | 原始配置警告 | 共同的实验特性警告如实保留;不悄悄改全局配置或屏蔽警告 |
67
+ | 供电与计时 | 开盖、接电;核验临时防睡眠保护,逐次检查路由、用量和计时,结束时释放保护 |
68
+ | 研究线累计数 | 仍为 182;只有另行授权且完整执行后才会变为最多 262,不沿用旧批次的剩余额度 |
69
+
70
+ 服务端实际模型若无法取证,继续标为未证实,不能把配置名当成服务端证明。
71
+ 不并行跑模型,以免并发、缓存竞争和限流增加不确定性。没有定时任务或后台续跑。
72
+
73
+ ## 预计用量与停止线
74
+
75
+ 估算数据是三个不可变公开归档中的 **130 次完整原版/v4 调用**:已完成验证 80 次、
76
+ 中止后续批次中已完成的 46 次、机制验证 4 次;两组各 65 条。另一次失败调用没有
77
+ 完整计数,不参与数值预测,但仍保留在历史账本;33 份未调用条目不是调用。
78
+ 不混入已拒绝读取草案的用量,也不把这些历史质量结果混成新验证证据。
79
+
80
+ 参考情景按各组历史均值乘未来各 40 次。保守情景按各组单次用量第 90 百分位乘
81
+ 40 次,再加 25% 余量;总输入用缓存与未缓存两项相加,保持分区一致。这些是预算
82
+ 情景,不是置信区间、费用承诺或一定够用的上限。新仓库,尤其较大的 Commander
83
+ 源码,可能超过历史水平。没有假设四次机制验证的 27.76% 节省会继续出现。
84
+
85
+ | 指标 | 历史均值参考 | 保守预算情景 | 建议后续调用停止线 |
86
+ | --- | ---: | ---: | ---: |
87
+ | 总输入 token | 约 2,076.00 万 | 约 3,888.19 万 | 4,000 万 |
88
+ | 其中缓存输入 | 约 1,803.81 万 | 约 3,418.88 万 | 3,600 万 |
89
+ | 其中未缓存输入 | **约 272.19 万** | **约 469.31 万** | **500 万** |
90
+ | 输出 token | **约 62.41 万** | **约 116.29 万** | **125 万** |
91
+ | 调用耗时 | 约 5.50 小时 | 约 10.50 小时 | 12 小时累计调用耗时 |
92
+
93
+ 缓存输入是总输入的一部分,不能再加一遍。耗时不与控制器的整体墙钟时间相加。
94
+ 上述时间不包括离线准备和归档,不能据此承诺完成时刻。供应商账单、内部重试、当前
95
+ 账户的金额定价,以及完整编写/编排用量无法从这些记录得出,不编造美元费用。
96
+
97
+ 停止线已在当前分支实现并通过离线验证,属于**两次调用之间的检查**,不是 API token 硬上限。达到任意一条就
98
+ 不再启动后续调用;正在执行的一次可能使最终用量越线。不能为了凑满 80 次越过停止
99
+ 线继续跑。五项用量、失败和被排除配对的花费全部保留;缺最终用量即停,不补零。
100
+ 这些功能尚未发布到 npm,也不构成真实调用的授权。
101
+
102
+ ## 验收标准不降低
103
+
104
+ 继续使用既有 schema 2 的 `efficiency` 策略,指纹
105
+ `e6c0610daccd82f4fa326fb2660ae9f6dc722e1544f1caa006b4143de3da4a5e`。
106
+ 规则来自 [冻结的统计协议](../metrics.md#explicit-efficiency-acceptance-policy-version-2-unreleased),
107
+ 不是看到结果后再选门槛。
108
+
109
+ 1. **正确性没有可见退步。** 任一配对、任务、分数或具名检查出现退步,即不能接受;
110
+ 不能用其他任务的收益抵消。全部通过而质量持平时,质量判定仍为 `inconclusive`,
111
+ 不说成正确性提升或等效性证明。
112
+ 2. **节省至少 10%,并有保守边界支持。** 主指标是“所有实际调用的未缓存输入 / 成功
113
+ 执行数”,失败调用也算成本。按完整任务块做 10,000 次固定种子 `20261013` 的
114
+ bootstrap;95% 区间上界必须不高于 −10%。只看平均下降 10% 不够。
115
+ 3. **改善要有覆盖面。** 至少 6/8 个任务各自降低该主指标;逐项列出全部成本增加。
116
+ 4. **不把成本转移到其他分区。** 汇总的每成功执行总输入、缓存输入、未缓存输入和
117
+ 输出均不得增加;调用耗时每成功执行最多增加 25%。单项任务增加仍须披露。
118
+ 5. **证据必须完整。** 8 项各 5 对完成,80 次均有完整最终五项成本、原生回执和
119
+ 可离线重放的交付;提前停、失败、缺用量、缺任务或验真不足均不能授权升级。
120
+
121
+ 不增加试次直到显著,不降到 7% 或去掉难题,不只汇报完成的前缀。不承诺本批一定
122
+ 通过。即便达到条件,也只是这个任务组合的建议采用资格,**不自动升级 Skill**,
123
+ 也不抹掉以前 normalize-url 等已知成本退步。
124
+
125
+ ## 中止与失败记录
126
+
127
+ - 执行器、路由、配置指纹、证据完整性、供电或计时出现异常,立即停止后续调用。
128
+ - 一旦最终用量缺失,停止;保留部分用量/未知状态,不把未知记作零。
129
+ - 触及任一预算停止线,停止;已花费的失败、排除和未完成工作全部保留。
130
+ - 已确认的配对正确性退步可以提前终止后续消耗,保留拒绝结果。普通功能失败作为
131
+ 观察保留,不重抽、不替换;任何提前结束的前缀都不能产生正面验收。
132
+ - 没有自动重试、补齐、替代任务或另开批次。后续预算需要新的决定。
133
+
134
+ ## 已完成的离线准备与剩余条件
135
+
136
+ 八项任务已打包为 [oss-skill-independent](../../benches/contrib/oss-skill-independent/README.md),
137
+ 源码、依赖、许可证、检查器和完整维护者功能修复均固定。`bench check` 为 31 项通过、
138
+ 3 项提示、0 失败;两项提示来自保留大源码的 Commander,另一项提示说明未测触发误报。
139
+ 没有删减源码来减少 token,也没有替换任务。
140
+
141
+ 每项均用 Node 命令验证:原始代码确实失败,维护者的完整功能修复确实通过,
142
+ 普通行为仍正常;把同一份已注册回归交给两者后,原版失败、完整修复通过。定时器使用
143
+ 受控时钟;未处理拒绝在隔离子进程观测,避免靠真实等待或检查实现文本来判分。
144
+ 检查器和参考修复在 Agent 工作区之外;不使用模型裁判或 Skill 过程打分。
145
+
146
+ p-limit 的队列依赖已在夹具内固定源码、提交与许可证,没有往项目或全局环境安装依赖;
147
+ 只机械重定向一处 import 路径。异步上下文任务包含维护者的 package imports/files/stub
148
+ 改动,允许修改相关元数据,其余资产受保护。13 项完整性检查还拒绝常量通过测试、
149
+ 未注册测试就退出、改动受保护依赖、缺少 imports 的不完整参考补丁。
150
+
151
+ 当前没有真实执行请求或可用于开跑的计划指纹。下一步只等用户决定是否给予新预算;
152
+ 若决定执行,再核验当时的供电/环境,冻结完整 bench、检查器、两份 Skill、运行代码、
153
+ CLI/配置、预算停止线和原生预览指纹。任何准备变更都需重新预览;不自动扩跑或升级。
154
+
155
+ ## 不调用模型的复算
156
+
157
+ [预算数据](2026-10-15-independent-comparison-budget.json)保存全部 130 条计数、公开
158
+ 归档及文件指纹;下列脚本只读数据。第二条会先校验三个归档的 SHA-256,在新建的
159
+ 临时目录解压,逐条检查原始计数后清理自己的临时副本。不需要安装依赖、网络或 Agent。
160
+
161
+ ```bash
162
+ node docs/examples/reproduce-independent-comparison-budget.mjs
163
+ node docs/examples/reproduce-independent-comparison-budget.mjs --verify-archives
164
+ ```
165
+
166
+ 预期输出包含 `modelCalls: 0`、`authorizedModelCalls: 0`、`proposedCalls: 80`、
167
+ `forecastSamples: 130`;归档核对模式还应有 `sourceRecordsVerified: 130`。
168
+ 这证明预算数值可复算,不能证明新任务的难度、完整性或 Skill 收益。
169
+
170
+ 当前源码的离线验真可在构建后重放,无需依赖安装、网络或真实 Agent:
171
+
172
+ ```bash
173
+ node scripts/check-independent-readiness.mjs
174
+ ```
175
+
176
+ 预期八项均为原版行为失败、维护者修复 6/6;预算检查 20 项通过、完整性检查 13 项
177
+ 通过,且 `realModelCalls: 0`。机器可读证据保留每项失败详情、同名回归见证和源码指纹。
@@ -0,0 +1,105 @@
1
+ # Native diff mechanism: offline preparation and bounded development proposal
2
+
3
+ Status: prepared without a live call. The authorized live-call budget remains
4
+ zero; the earlier four-call allowance is exhausted. This proposal does not
5
+ authorize execution, an automatic retry or a later validation cohort.
6
+
7
+ ## Decision before spending
8
+
9
+ Keep the common helper as a correctness repair. Do not fund an 80-call study
10
+ on an assumed 10% saving from this repair. The published
11
+ [cost review](../../evidence/2026-10-14-debugging-reading-pilot-and-cost-review.md)
12
+ locates 16,759 uncached tokens in 12 dedicated recovery responses, 0.843% of
13
+ the reviewed v4 population. All 19 recovery responses account for 41,675 of
14
+ 1,987,001 uncached tokens (2.097%). These are observed response costs, not
15
+ avoidable net savings or causal upper bounds. Changed context, cache reuse,
16
+ common guidance and later behavior can outweigh any removed response.
17
+
18
+ The remaining question is whether real agents use the supplied helper and
19
+ whether the current old/new Skill comparison warrants further study. A small
20
+ development probe can diagnose that mechanism; it cannot prove stable savings
21
+ or isolate the helper's causal contribution. A proper helper-on/helper-off
22
+ experiment would change the common environment and requires its own design.
23
+ Do not compare a new helper run with historical broken-environment costs as
24
+ if they were a randomized pair.
25
+
26
+ ## Fixed proposal
27
+
28
+ | Item | Frozen choice |
29
+ | --- | --- |
30
+ | Task | `duration-large-digits`, the existing HumanizeDuration scientific-notation defect |
31
+ | Task status | Reused development task; never a fresh holdout |
32
+ | Baseline / candidate | Complete published original `diagnosing-bugs` / compact v4 resources; no new Skill text |
33
+ | Common environment | Same native diff helper and guidance, fixtures, deadline, executor settings and outcome grader in both arms |
34
+ | Calls | One task, two adjacent pairs: original → v4, then v4 → original; at most four invocations |
35
+ | Purpose | `development`; no judge, candidate generator, readiness call, replacement or automatic expansion |
36
+ | Deadline | 1,200 seconds per invocation in both arms; at most 80 summed executor minutes, excluding offline checks |
37
+ | Adoption | Existing eight-task/five-trial floor and conservative 10% efficiency policy unchanged; this probe cannot qualify |
38
+
39
+ The six historical original/v4 deliveries on this task have uncached input
40
+ 32,186–57,025 per call. Taking two observations from each arm's historical
41
+ minimum/maximum gives a rough four-call envelope of 133,016–203,884 uncached
42
+ input, 924,182–1,394,284 total input and 18,916–25,530 output tokens. This is
43
+ a budgeting reference, not a cap or forecast guarantee; settings and provider
44
+ behavior can change. Cached tokens are part of input, not an extra amount.
45
+ Provider billing and complete authoring/orchestration costs remain unknown.
46
+
47
+ ## Reproduce the preparation without a model
48
+
49
+ Build this checkout, then inspect the read-only preparation plan:
50
+
51
+ ```bash
52
+ npm run build
53
+ node docs/examples/prepare-native-diff-probe.mjs
54
+ ```
55
+
56
+ To prepare inputs, select a fresh directory under `runs`. Preparation prints
57
+ the plan, copies and verifies the complete Skills and bench assets, backs up
58
+ the copied bench definition, and schedules only the selected task. Existing
59
+ directories are refused. No global environment or original evidence changes.
60
+
61
+ ```bash
62
+ node docs/examples/prepare-native-diff-probe.mjs --write runs/native-diff-probe-inputs
63
+ node dist/cli.js bench check runs/native-diff-probe-inputs/bench
64
+ node dist/cli.js eval --request runs/native-diff-probe-inputs/request.json --dry-run
65
+ ```
66
+
67
+ The CLI preview freezes the request, complete input hashes, helper descriptor,
68
+ compiled runtime and policy. It must report four planned calls, balanced order,
69
+ `purpose: development` and ineligible acceptance. Save the preview outside the
70
+ eventual sealed result directory. Source or compiled-runtime changes require a
71
+ new preview. Do not run the execution command without fresh user authorization
72
+ for the concrete plan and spending envelope. Possessing its hash is not consent.
73
+
74
+ ## Evidence and stop rules
75
+
76
+ For every invocation, retain the command trace and native ledger, final or
77
+ partial token usage, elapsed time, outcome checks and helper hash. Record helper
78
+ use separately as `observed`, `not-observed` or `unknown`. An installed file,
79
+ guidance text, an echo of a command or a search hit does not establish use.
80
+ `observed` requires an actual execution of the unchanged helper on an untracked
81
+ file and its recorded result; distinguish a displayed patch with exit 1 from
82
+ an error, a legitimate empty file and a check-only command. Ambiguous shell
83
+ wrappers or missing traces remain `unknown`.
84
+
85
+ Report patch displays and later recovery responses without treating every empty
86
+ diff as a failure. Count prompt guidance and tool output bytes as bytes; do not
87
+ call them tokens or subtract an observed recovery response as a proven saving.
88
+ Whole-invocation spending includes the common prompt, all commands and later
89
+ context. Report every call, failed or excluded work, each cost dimension and
90
+ each pair's increase alongside totals. Keep the 178-call historical ledger
91
+ separate; a fully executed proposal would bring actual spending to 182 calls.
92
+
93
+ Before any authorized execution, verify power, the owned sleep assertions,
94
+ deadline, frozen inputs and routing without a separate model readiness call.
95
+ Stop on an executor, routing, integrity, missing-usage or timing failure; retain
96
+ the partial costs and do not replace the sample. Retain an ordinary functional
97
+ task failure as an outcome rather than erasing it. Release owned power
98
+ assertions in `finally`.
99
+
100
+ At four calls, stop regardless of result. Visible correctness regressions or
101
+ cost increases block a follow-up recommendation. No helper adoption leaves the
102
+ mechanism unsupported. Adoption with favorable point costs may justify a new
103
+ discussion, but cannot establish stable improvement, net helper savings or
104
+ independent validation. A later Skill change needs a new candidate declaration;
105
+ any independent validation needs unused tasks and a fresh approved budget.