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
@@ -0,0 +1,88 @@
1
+ # Portable offline evaluation packages
2
+
3
+ skillfit 0.10.0 exports paired native runs without a judge to a fresh directory.
4
+ The package contains unchanged receipts, original pinned inputs, the compiled
5
+ implementation used by the experiment and a dependency-free replay entry point.
6
+ Export and replay make zero model calls. Replay executes trusted local verifiers.
7
+
8
+ ## Preview, export and move
9
+
10
+ ```bash
11
+ skillfit report eval ./runs/my-run --export ./exports/my-run --json
12
+ skillfit report eval ./runs/my-run --export ./exports/my-run --yes --json
13
+ node ./exports/my-run/reproduce.mjs --verify-only
14
+ node ./exports/my-run/reproduce.mjs
15
+ skillfit report eval ./exports/my-run --json --replay
16
+ ```
17
+
18
+ Without `--yes`, export only checks inputs and prints the plan. `--dry-run` always
19
+ prevents writing. Apply stages and checks the files, claims an unused destination
20
+ and verifies the resulting package. Existing destinations, including empty ones,
21
+ are rejected. The output must be outside the source run and pinned input roots.
22
+ If a transfer fails after claiming its destination, inspect that incomplete output
23
+ and use a fresh destination; it is never reported as a successful export.
24
+
25
+ Move the complete directory to another machine, then run its `reproduce.mjs`.
26
+ Node.js 22+ and any external toolchains required by your verifier are necessary;
27
+ the package does not install system dependencies. `--verify-only` checks inventory,
28
+ hashes and source-plan binding without executing verifiers. Default replay uses
29
+ the copied compiled CLI, grades temporary delivery copies and returns JSON. The
30
+ last command above uses the currently installed CLI and the packaged bench.
31
+
32
+ The source must have sealed native evidence. A completed manifest must pass the
33
+ native evidence audit. Missing, changed or linked artifacts and missing/changed
34
+ pinned inputs reject the export. Original bench, complete candidate/baseline Skill
35
+ resources, compiled implementation and original request (when recorded) must still
36
+ be available. The live harness does not automatically archive every source tree.
37
+
38
+ Recover original files elsewhere and provide matching paths when necessary:
39
+
40
+ ```bash
41
+ skillfit report eval ./runs/my-run --export ./exports/my-run --input-root bench=./recovered/bench --input-root target=./recovered/new-skill --input-root baseline-skill=./recovered/old-skill --input-root implementation=./recovered/dist --input-root request=./recovered/request.json --json
42
+ ```
43
+
44
+ Only labels present in that run may be supplied; fingerprints must match exactly.
45
+ `request` names a file, all other labels name directories. `--bench <path>` is a
46
+ shortcut for the export's bench root; do not combine it with `--input-root bench`.
47
+ This recovers paths, not missing evidence or permission to change a cohort.
48
+
49
+ ## Contents and machine contract
50
+
51
+ - `run/`: original native receipts, indices, plan, session and optional manifest.
52
+ - `inputs/bench`, `inputs/target`, optional `inputs/baseline-skill` and
53
+ `inputs/request.json`: matching frozen inputs.
54
+ - `runtime/dist/`: unchanged compiled implementation. Minimal ESM package metadata
55
+ is reconstructed from the native recorded version in `runtime/package.json`.
56
+ - `reproduce.mjs`, `README.md`, `replay-package.json`: replay and integrity index.
57
+
58
+ The descriptor uses `schemaVersion: 1`, `kind: "skillfit.replay-package"`,
59
+ `sourcePlanSha256`, `nativeStatus`, `hasManifest` and a relative-path-to-SHA-256
60
+ `files` map. It inventories every payload file except itself and Git internals.
61
+ Extra, changed, missing and unsafe paths fail verification. Checksums establish
62
+ consistency with this index, not publisher identity; retain a trusted external
63
+ copy of the descriptor or its hash for provenance.
64
+
65
+ Export JSON uses `kind: "skillfit.eval-export"`, status `planned` or `exported`,
66
+ source/destination, native plan/status, inputs, payload-file count, source-byte
67
+ count (excluding generated metadata), `modelCalls: 0` and
68
+ `sharingReviewRequired: true`. `--json` stdout is one document; errors use the
69
+ evaluation error envelope and exit 2. Export cannot be mixed with `--replay`,
70
+ `--records` or `--policy`.
71
+
72
+ ## Evidence and sharing boundaries
73
+
74
+ Stopped or incomplete native runs can be exported with their partial/unknown
75
+ spending and remain stopped/incomplete and ineligible. An offline replay reproduces
76
+ saved outcomes and accounting; it creates no new observations, independent holdout
77
+ or upgrade authorization. Statistical and acceptance policies are unchanged.
78
+
79
+ Trigger runs and runs with a judge are currently excluded: their separate
80
+ accounting is not covered by this paired native contract. Legacy/redacted public
81
+ archives retain their dated replay recipes and cannot be relabeled as complete
82
+ native exports.
83
+
84
+ Export only writes locally. It includes project files, prompts, outputs and paths;
85
+ review those contents before sharing. Global configuration/Skill trees are not
86
+ copied automatically, but paths and fingerprints already recorded in native plans
87
+ remain visible. Redaction changes the indexed package; keep the original evidence
88
+ and publish any reviewed redacted derivative with its own explicit recipe.
@@ -0,0 +1,109 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://github.com/remote-controlled-man/skillfit/blob/main/docs/schemas/bench-check.schema.json",
4
+ "title": "skillfit offline bench check result v1",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": ["schemaVersion", "kind", "scope", "status", "dir", "bench", "checks", "summary", "error"],
8
+ "properties": {
9
+ "schemaVersion": {"const": 1},
10
+ "kind": {"const": "skillfit.bench-check"},
11
+ "scope": {"const": "offline-integrity"},
12
+ "status": {"enum": ["passed", "failed", "error"]},
13
+ "dir": {"type": ["string", "null"]},
14
+ "bench": {
15
+ "type": ["object", "null"],
16
+ "additionalProperties": false,
17
+ "required": ["name", "sha256", "taskCount"],
18
+ "properties": {"name": {"type": "string"}, "sha256": {"type": "string", "pattern": "^[a-f0-9]{64}$"}, "taskCount": {"type": "integer", "minimum": 1}}
19
+ },
20
+ "checks": {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "required": ["code", "status", "message", "taskId", "location", "remediation", "evidence"],
26
+ "properties": {
27
+ "code": {
28
+ "enum": [
29
+ "BENCH_LOAD",
30
+ "UNTOUCHED_FIXTURE",
31
+ "MISSING_OUTPUT",
32
+ "EMPTY_OUTPUT",
33
+ "FACET_COUNT",
34
+ "ORACLE",
35
+ "MOCK_COVERAGE",
36
+ "MOCK_MARKER",
37
+ "MOCK_BASELINE",
38
+ "MOCK_TREATMENT",
39
+ "FIXTURE_SIZE",
40
+ "TRIGGER_LABEL",
41
+ "NEGATIVE_CONTROLS"
42
+ ]
43
+ },
44
+ "status": {"enum": ["PASS", "WARN", "FAIL", "INFO"]},
45
+ "message": {"type": "string"},
46
+ "taskId": {"type": ["string", "null"]},
47
+ "location": {
48
+ "type": "object",
49
+ "additionalProperties": false,
50
+ "required": ["path", "field"],
51
+ "properties": {"path": {"type": "string"}, "field": {"type": ["string", "null"]}}
52
+ },
53
+ "remediation": {"type": ["string", "null"]},
54
+ "evidence": {
55
+ "type": ["object", "null"],
56
+ "additionalProperties": false,
57
+ "required": ["command", "exitCode", "error", "output", "outputTruncated", "checks"],
58
+ "properties": {
59
+ "command": {"type": "string"},
60
+ "exitCode": {"type": ["integer", "null"]},
61
+ "error": {"type": ["string", "null"]},
62
+ "output": {"type": "string", "maxLength": 8192},
63
+ "outputTruncated": {"type": "boolean"},
64
+ "checks": {
65
+ "type": ["array", "null"],
66
+ "items": {
67
+ "type": "object",
68
+ "additionalProperties": false,
69
+ "required": ["name", "pass"],
70
+ "properties": {"name": {"type": "string", "minLength": 1}, "pass": {"type": "boolean"}}
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ },
78
+ "summary": {
79
+ "type": ["object", "null"],
80
+ "additionalProperties": false,
81
+ "required": ["total", "passed", "warnings", "failures", "info"],
82
+ "properties": {
83
+ "total": {"type": "integer", "minimum": 0},
84
+ "passed": {"type": "integer", "minimum": 0},
85
+ "warnings": {"type": "integer", "minimum": 0},
86
+ "failures": {"type": "integer", "minimum": 0},
87
+ "info": {"type": "integer", "minimum": 0}
88
+ }
89
+ },
90
+ "error": {
91
+ "type": ["object", "null"],
92
+ "additionalProperties": false,
93
+ "required": ["code", "message"],
94
+ "properties": {"code": {"const": "INVALID_OR_FAILED_CHECK"}, "message": {"type": "string"}}
95
+ }
96
+ },
97
+ "allOf": [
98
+ {
99
+ "if": {"properties": {"status": {"const": "error"}}},
100
+ "then": {"properties": {"dir": {"type": "null"}, "bench": {"type": "null"}, "checks": {"maxItems": 0}, "summary": {"type": "null"}, "error": {"type": "object"}}},
101
+ "else": {"properties": {"dir": {"type": "string"}, "summary": {"type": "object"}, "error": {"type": "null"}}}
102
+ },
103
+ {
104
+ "if": {"properties": {"status": {"const": "passed"}}},
105
+ "then": {"properties": {"bench": {"type": "object"}, "summary": {"properties": {"failures": {"const": 0}}}}}
106
+ },
107
+ {"if": {"properties": {"status": {"const": "failed"}}}, "then": {"properties": {"summary": {"properties": {"failures": {"minimum": 1}}}}}}
108
+ ]
109
+ }
@@ -13,8 +13,20 @@
13
13
  "purpose": { "enum": ["development", "validation"] },
14
14
  "pairOrder": { "enum": ["baseline-first", "balanced"], "default": "baseline-first" },
15
15
  "executorTimeoutSeconds": { "type": "integer", "minimum": 1, "maximum": 3600, "default": 600 },
16
+ "taskIds": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$" } },
16
17
  "trials": { "type": "integer", "minimum": 1, "maximum": 20 },
17
18
  "maxCalls": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 },
19
+ "spendingBudget": {
20
+ "type": "object", "additionalProperties": false,
21
+ "required": ["input", "cachedInput", "uncachedInput", "output", "durationSeconds"],
22
+ "properties": {
23
+ "input": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 },
24
+ "cachedInput": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 },
25
+ "uncachedInput": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 },
26
+ "output": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 },
27
+ "durationSeconds": { "type": "number", "exclusiveMinimum": 0, "maximum": 9007199254740991 }
28
+ }
29
+ },
18
30
  "runsRoot": { "$ref": "#/$defs/path" },
19
31
  "runGroup": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$" },
20
32
  "policy": { "$ref": "eval-policy.schema.json" }
@@ -1,5 +1,11 @@
1
1
  # Share an evaluation result
2
2
 
3
+ For a complete portable directory of a paired native run without a judge, use
4
+ `report eval <run-dir> --export <new-dir> --json` to preview, then add `--yes`.
5
+ The [portable package guide](replay-packages.md) covers checksums, matching source
6
+ recovery, offline replay, stopped costs and review of private project contents.
7
+ The Markdown report below is a shorter summary, without the full replay inputs.
8
+
3
9
  Try a clearly synthetic schema-v4 example first:
4
10
 
5
11
  ```bash
@@ -0,0 +1,52 @@
1
+ # Skill evaluation evidence index
2
+
3
+ This maintained index describes the debugging Skill study; the linked dated reports
4
+ and archives remain append-only. These cases exercise the CLI's evidence gates.
5
+ Users should build cases from their own tasks rather than treating this study as
6
+ a universal benchmark or an installation recommendation.
7
+
8
+ ## Current status — October 15, 2026
9
+
10
+ The study has **195 actual executor calls**. Seven historical public final usage
11
+ records are still unknown; spending totals are lower bounds. No tested revision
12
+ has qualified for adoption. All cohorts are closed, and the remaining live-call
13
+ budget is zero. Unused slots in a stopped cohort are not permission to resume.
14
+
15
+ The latest [receiver mechanism stop](../evidence/2026-10-15-receiver-mechanism-stop.md)
16
+ uses one of at most two authorized calls. The v4.1 candidate reads the revised
17
+ Skill but reproduces the known wrong production repair: 4/6 functional groups
18
+ and 8/18 receiver probes pass. The controller stops before the v4 control.
19
+ The report and dependency-free archive reproduce the failure, usage, timing,
20
+ controller checks and cumulative ledger without an agent call. This is one
21
+ reused development task, not a new independent comparison.
22
+
23
+ Known measured cumulative costs are 50,459,837 input tokens, including 44,128,896
24
+ cached and 6,330,941 uncached; 1,491,244 output tokens; and 52,132.96 executor
25
+ seconds. Seven unknown final usages, provider billing and complete authoring /
26
+ orchestration costs are unavailable. The separately qualified unattested usage
27
+ supplement is not silently added to these totals. See the latest report for the
28
+ ledger, coverage and exact replay instructions.
29
+
30
+ ## Earlier cohorts, in order
31
+
32
+ The paragraphs below retain each cohort's original scope and cumulative count.
33
+ Statements about what had not yet run describe that publication's cutoff; the
34
+ current status above includes the subsequent stops.
35
+
36
+ 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.
37
+
38
+ [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.
39
+
40
+ 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.
41
+
42
+ 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](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.
43
+
44
+ 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.
45
+
46
+ 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.
47
+
48
+ 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](plans/2026-10-14-evidence-and-release-sequence.md) puts evidence and release preparation before any newly authorized experiment.
49
+
50
+ The [completed four-call mechanism probe](../evidence/2026-10-15-native-diff-mechanism.md) brings cumulative spending to 182 calls. Both versions pass 2/2; v4 reduces uncached input 27.76%, output 17.56% and time 15.92%, with all five cost measures lower in each pair. Agents use the common helper in 4/4 runs, displaying five nonempty patches. This is one reused development task: it establishes observed use and favorable paired costs, while stable improvement and the helper's causal net savings remain unproven. The offline archive retains every call and seven earlier unknown usages; adoption remains `inconclusive`, and that probe starts no independent comparison or extra calls.
51
+
52
+ The [independent comparison regression stop](../evidence/2026-10-15-independent-comparison-regression-stop.md) brings cumulative spending to 194 calls. Within the original 80-call cap, one retained invocation and eleven continued invocations yield six pairs; the second task passes 6/6 with original and 3/6 with v4, so the no-regression gate rejects adoption and stops the remaining 68 calls. V4's all-spending uncached input per success rises 13.10%. The archive replays all twelve deliveries and costs, preserves the initial power stop/user pause and separate native sessions, and grants no automatic upgrade or complete native-component audit.
@@ -0,0 +1,140 @@
1
+ # Receiver correction: offline development after the v4 rejection
2
+
3
+ The rejected v4 delivery correctly identified an unwanted receiver, but replaced
4
+ it with another unverified receiver. Its own regression required the caller's
5
+ `globalThis`, so red-to-green confirmed that assumption rather than compatibility.
6
+ This entry adds a small **development-only** Skill candidate and deterministic
7
+ replay. It does not establish improved model behavior or authorize adoption.
8
+
9
+ The [published failure report](2026-10-15-independent-comparison-regression-stop.md),
10
+ v4 input, original deliveries, cost receipts and archive remain unchanged.
11
+ No new model or agent CLI invocation was made. The historical study ledger stays
12
+ at **194 actual executor calls**, including seven earlier unknown public final
13
+ usage records; those missing records remain unknown.
14
+
15
+ ## What the saved execution establishes
16
+
17
+ The retained `timeout-custom-timers/treatment/trial-1` delivery is available under
18
+ `records/continuation/` in the [unchanged archive](artifacts/2026-10-15-independent-comparison-regression-stop/README.md).
19
+ Only recorded commands, delivered files and public-facing output were used for
20
+ the diagnosis.
21
+
22
+ 1. The agent inspected the implementation and the documented `customTimers`
23
+ example, which supplies saved timer functions. Property calls such as
24
+ `customTimers.setTimeout(...)` introduce the container as the receiver.
25
+ 2. It created `custom-timers.test.mjs`. Before the production edit, both fake
26
+ timer methods already asserted `this === globalThis` (lines 12 and 19).
27
+ 3. Those five tests failed against the original, then passed after both calls
28
+ were changed to `.call(globalThis, ...)`. The saved command results confirm
29
+ this sequence; the production diff has the two receiver substitutions.
30
+ 4. The original supplied smoke test passed both before and after. It did not
31
+ distinguish the possible receivers. The agent reported compatible timers
32
+ without a probe that could disprove its selected receiver.
33
+
34
+ “Do not bind to this container” does not establish “bind to this caller's global
35
+ object.” The retained fake encoded that second assertion without independent
36
+ support. In the offline probes, a strict function expects an unbound receiver;
37
+ an ordinary function created in another Node VM context obtains its own default
38
+ global receiver when called unbound. Forcing the caller's global object breaks
39
+ both. These executable probes explain a compatibility difference; they are not
40
+ a claim to have reproduced a particular browser implementation.
41
+
42
+ The maintainer's saved repair and the original Skill's actual delivery use
43
+ `.call(undefined, ...)`. The manual demonstration here instead extracts the two
44
+ functions and invokes them unbound. An already bound function retains its
45
+ explicit owner in these probes. This supports preserving the supplied function's
46
+ call convention, rather than imposing one universal receiver value.
47
+
48
+ v4 already asked for falsifiable probes, a faithful caller seam and red-to-green
49
+ testing. The observed gap was validating the **test double's expected behavior**.
50
+ One trace cannot establish that compressing the Skill caused the mistake, or
51
+ that adding a sentence will prevent it on future model runs.
52
+
53
+ ## Small Skill change
54
+
55
+ The new [v4.1 receiver candidate](inputs/diagnosing-bugs-compact-v4.1-receiver/SKILL.md)
56
+ copies all four v4 resources and inserts one conditional paragraph after the
57
+ hypothesis/probe paragraph:
58
+
59
+ > For receiver (`this`) failures in callbacks or injected functions, establish the
60
+ > call convention from the API and supplied function before encoding it in a test
61
+ > double. Check a plausible alternative receiver and preserve explicit bindings;
62
+ > a test double that assumes the proposed receiver is not independent evidence.
63
+
64
+ This adds **47 whitespace-delimited words / 319 UTF-8 bytes**, increasing
65
+ `SKILL.md` from 2,755 to 3,074 bytes. Frontmatter, interface metadata, license,
66
+ human-interaction template and every existing instruction remain unchanged.
67
+ It adds no fixed testing phase, task identifier, timer-specific repair, or rule
68
+ that every callback must receive `undefined`.
69
+
70
+ - Parent complete input SHA-256:
71
+ `db5e96d06d52f3c1fbfe4a10b12c999c6191dc6a42f889e074931730ff6eafa9`
72
+ - Candidate complete input SHA-256:
73
+ `c369765671e8cd0ae88af9d34f160c0b5cb48bfb49eef933f6f52812673d8952`
74
+
75
+ The candidate is stored as an evaluation input. It has not been installed,
76
+ promoted, substituted for v4 in the finished experiment or independently tested.
77
+ This timer case is now development material for v4.1 and cannot count as fresh
78
+ independent evidence for that candidate.
79
+
80
+ ## Offline results
81
+
82
+ The [replay](artifacts/2026-10-15-diagnosing-receiver-correction/replay.mjs)
83
+ checks the unchanged archive hash and exported file fingerprints, replays all
84
+ twelve original delivery grades and costs, then operates on disposable copies.
85
+ The saved wrong regression remains intact. Its assertions are not weakened in
86
+ the old experiment or original record.
87
+
88
+ The new [receiver probes](artifacts/2026-10-15-diagnosing-receiver-correction/receiver-contract.test.mjs)
89
+ retain the five observed paths: input fulfillment, input rejection, timeout and
90
+ input cancellation, explicit clear, and abort. Each is checked with strict
91
+ unbound, foreign-context and prebound functions. Three additional controls call
92
+ the supplied functions directly, independently of `pTimeout`: 15 integration
93
+ checks plus 3 controls = 18 registered tests per source variant.
94
+
95
+ | Source variant | v4's original generated tests | Receiver probes | Unchanged verifier with corrected regression on a copy |
96
+ | --- | ---: | ---: | ---: |
97
+ | Original buggy source | 0/5 | 8/18 | 3/6 |
98
+ | Retained v4 delivery | 5/5 | 8/18 | 3/6 |
99
+ | Retained original-Skill delivery | 0/5 | 18/18 | 6/6 |
100
+ | Maintainer repair | 0/5 | 18/18 | 6/6 |
101
+ | Human-written unbound-call demonstration | 0/5 | 18/18 | 6/6 |
102
+
103
+ The original generated tests passing only the wrong delivery and rejecting the
104
+ maintainer repair expose their invalid compatibility expectation. In the new
105
+ tests, the original and v4 each fail all ten strict/foreign-context integration
106
+ checks; the three direct-call controls and five prebound integration checks pass.
107
+ Each valid repair has ten matching regression witnesses that fail the original
108
+ and pass both the submitted repair and maintainer source. No timeout, skipped
109
+ test, cancellation or lack of registration is accepted as a witness.
110
+
111
+ The original twelve-delivery replay still returns `reject`, six completed pairs,
112
+ 194 historical calls and `automaticUpgrade: false`. The original scoring,
113
+ adoption policy and cost totals are unchanged. The new source comparisons above
114
+ are post-result diagnostics, not additional scored tasks or model samples.
115
+
116
+ The Skill Creator structural validator passed using the existing isolated
117
+ PyYAML 6.0.3 environment. No package or global environment change was needed.
118
+ That check validates Skill packaging, not efficacy. The project check also
119
+ passed: `npm test`, 556 tests, zero failures or skips. Preservation and validation
120
+ details are in [verification.json](artifacts/2026-10-15-diagnosing-receiver-correction/verification.json).
121
+
122
+ ## Cost and evidence limits
123
+
124
+ These diagnostic runs made **zero model calls**, so they add no measured model
125
+ input, cached input or output to the experiment ledger. The added prompt text
126
+ is measured in bytes and whitespace-delimited words; its model-token and runtime
127
+ effects are unmeasured. Local replay duration is not a model latency estimate.
128
+ Conversational authoring usage and a provider invoice are not measured by this
129
+ offline harness and are not claimed to cost zero.
130
+
131
+ The previous paired result and all five recorded cost dimensions remain
132
+ reproducible through the original archive. Its seven unknown historical usage
133
+ records are not filled with zero. No saving, stable improvement, regression
134
+ rate, or future total cost can be inferred from a manually written repair.
135
+
136
+ The demonstrated result is narrower: the receiver error and misleading test
137
+ expectation are reproducible, a small candidate instruction addresses that
138
+ decision point, and a compatible repair passes the retained behavior checks.
139
+ Whether the candidate improves model decisions remains untested. Further model
140
+ calls or automatic expansion are not authorized by this work.
@@ -0,0 +1,162 @@
1
+ # Independent original/v4 comparison: stopped on a correctness regression
2
+
3
+ The fixed comparison stopped after **12 of at most 80 executor invocations**.
4
+ On `timeout-custom-timers`, original passed **6/6** checks while compact v4
5
+ passed **3/6**. This violates the predeclared no-observed-regression gate, so
6
+ adoption is **rejected**. No retry, replacement, extra trial, task substitution
7
+ or automatic expansion occurred. The remaining 68 calls were not executed.
8
+ Neither Skill was changed or installed globally.
9
+
10
+ All twelve deliveries and their final usage counters reproduce offline from the
11
+ [archive and verification receipt](artifacts/2026-10-15-independent-comparison-regression-stop/README.md).
12
+ This is an early-stopped, interrupted comparison, not a completed independent
13
+ validation or proof of a general statistically significant quality decline.
14
+ The original eight-task selection and [acceptance proposal](../docs/plans/2026-10-15-independent-comparison-proposal.md)
15
+ remain unchanged; the [offline original/maintainer gates](2026-10-15-independent-offline-readiness.md)
16
+ preceded these model outcomes.
17
+
18
+ ## Observed quality and stopping
19
+
20
+ | Declared task | Completed pairs | Original successful calls | v4 successful calls | Outcome |
21
+ | --- | ---: | ---: | ---: | --- |
22
+ | limit-async-context | 5 | 5/5 | 5/5 | Every delivery passes 6/6; observed quality tie |
23
+ | timeout-custom-timers | 1 | 1/1 | 0/1 | Original 6/6, v4 3/6; stop before call 13 |
24
+ | throttle-sync-throw | 0 | Not run | Not run | No outcome or cost observation |
25
+ | commander-output-isolation | 0 | Not run | Not run | No outcome or cost observation |
26
+ | limit-map-iteration-rejection | 0 | Not run | Not run | No outcome or cost observation |
27
+ | timeout-rejection-listener | 0 | Not run | Not run | No outcome or cost observation |
28
+ | timeout-infinity-abort | 0 | Not run | Not run | No outcome or cost observation |
29
+ | commander-async-listener-order | 0 | Not run | Not run | No outcome or cost observation |
30
+
31
+ The failed v4 delivery retains ordinary smoke behavior, timeout/fallback behavior
32
+ and ordinary settlement identity. It fails scheduling and clearing with unbound
33
+ custom timer functions, and its submitted regression does not distinguish the
34
+ original and complete maintainer repair as required. The corresponding original
35
+ Skill delivery passes all three of those checks. The failed v4 invocation has
36
+ complete final usage and no executor error; it remains a graded failure and its
37
+ spending is included.
38
+
39
+ The code difference explains the failure: v4 uses
40
+ `customTimers.setTimeout.call(globalThis, ...)` and the same binding for
41
+ `clearTimeout`. The original Skill delivery uses `.call(undefined, ...)`, which
42
+ preserves the unbound-call behavior of the full maintainer repair. The fixed
43
+ verifiers were not changed or weakened after observing either delivery.
44
+
45
+ An additional **offline explanation**, outside the scored task set, exercises
46
+ ordinary timer functions defined in another JavaScript global environment using
47
+ Node's built-in `vm`. The original source and v4 delivery reject; the maintainer
48
+ repair and original Skill delivery fulfill and clear their handles. This shows
49
+ an observable compatibility difference beyond matching a source-code spelling.
50
+ Its script and exact outcomes are included in the archive and its replay.
51
+ It adds zero model calls, zero scored tasks and no extra statistical sample.
52
+
53
+ ## All invocation spending
54
+
55
+ There are six actual calls per arm. Original succeeds six times, v4 five times.
56
+ All twelve have final total input, cache partition, output and monotonic elapsed
57
+ coverage; no current-batch usage is missing, partial or replaced with zero.
58
+
59
+ | Cost | Original total | v4 total | v4 total change | Change per successful execution |
60
+ | --- | ---: | ---: | ---: | ---: |
61
+ | Input tokens | 1,507,061 | 1,106,379 | −26.59% | −11.90% |
62
+ | Cached input tokens | 1,337,216 | 946,304 | −29.23% | −15.08% |
63
+ | Uncached input tokens | 169,845 | 160,075 | −5.75% | **+13.10%** |
64
+ | Output tokens | 47,904 | 37,206 | −22.33% | −6.80% |
65
+ | Agent duration, seconds | 1,379.036 | 1,046.047 | −24.15% | −8.98% |
66
+
67
+ The primary metric includes the failed call's spending. Original uncached input
68
+ per success is 28,307.5 tokens; v4 is 32,015 tokens. Lower raw token totals do
69
+ not establish a lower cost of successfully completing work.
70
+
71
+ On `limit-async-context` alone, v4 input falls 29.90%, output 23.80% and duration
72
+ 26.65%, while **uncached input rises 8.01%** (125,775 → 135,854 tokens). It is
73
+ not a demonstrated primary-cost improvement. The single failed v4 call on
74
+ `timeout-custom-timers` costs 197,021 input tokens, including 172,800 cached and
75
+ 24,221 uncached, 5,912 output tokens and 184.285 seconds. That task has no v4
76
+ success, so its v4 cost-per-success comparison is undefined, not a saving.
77
+
78
+ The eight-task task-block efficiency interval is unavailable: six tasks never
79
+ started, one has only one pair and no v4 success. No old quality observations
80
+ are pooled into this prefix, and no confidence claim is manufactured from it.
81
+ The archive lists every call, task, check, cost population and paired gap.
82
+
83
+ ## Pause, continuation and accounting boundaries
84
+
85
+ The first segment started on AC with the lid open. The operating system later
86
+ reported battery power; the owned guard latched that condition and blocked a
87
+ second dispatch after the first original delivery finished. The user then asked
88
+ to pause. The initial session, source bytes, power records and its one complete
89
+ receipt remain unchanged.
90
+
91
+ After the user returned on AC with the lid open and explicitly asked to continue
92
+ within the original 80-call cap, the continuation executed only original queue
93
+ positions 2 onward. It did **not** replay position 1 or reset its spending. Its
94
+ 11 offline queue checks covered exact suffix order, all five carried budget
95
+ lines, no duplicated prefix, partial usage, paired regression and pre-call errors.
96
+ The continuation reuses the **unchanged frozen `runTrial`, built-in CLI executor
97
+ and native `ExperimentSession`**, with an explicit 79-new-call maximum.
98
+
99
+ The existing request component cannot overwrite a stopped group or skip a saved
100
+ call. Consequently these remain **two separately sealed native sessions** with
101
+ an explicit private continuation schedule; no completed native component
102
+ manifest is fabricated. Both segment seals, recorded configuration/global-Skill
103
+ fingerprints, all delivery outcomes, order and cumulative budgets were audited.
104
+ The first pair crosses an 86-minute user pause (5,183.925 seconds between its
105
+ calls), so cache/time differences in that pair are particularly confounded.
106
+ The composite does not pass a complete native component audit and cannot
107
+ authorize adoption; the observed paired regression independently rejects it.
108
+
109
+ Configuration remains `gpt-6.1-sol` / `xhigh` / `default`, CLI
110
+ `0.162.0-alpha.17.2`, Node `v24.21.0`. The configured model name is not served-model
111
+ attestation. Unlisted inherited plugins, provider state and sampling remain
112
+ unisolated under the original limitations. Complete Skill, bench and runtime
113
+ hashes remain the ones pinned before the first call.
114
+
115
+ The five original stop lines were never reached. Final combined spending is
116
+ 2,613,440 input tokens (2,283,520 cached + 329,920 uncached), 85,110 output
117
+ tokens and 2,425.083 seconds of agent time. The stop reason is paired correctness
118
+ regression, not a token line, timeout or execution failure. No continuation power
119
+ anomaly was observed. Both segments released their owned sleep assertions.
120
+
121
+ Agent duration totals about 40.42 minutes. Segment wall times are 258.834 and
122
+ 2,175.409 seconds; wall time from initial launch to final stop is 7,616.902
123
+ seconds and includes the user pause. Those clocks include agent time and must
124
+ not be added to it as extra latency.
125
+
126
+ The study ledger rises from 182 to **194 actual executor invocations**. The
127
+ seven earlier missing public final usages remain unknown; no new missing final
128
+ usage is added. The native historical lower bound is now 50,254,565 input,
129
+ 43,946,752 cached, 6,307,813 uncached, 1,485,062 output tokens and 51,944.802
130
+ seconds. The earlier qualified, unattested readiness supplement remains separate.
131
+ Provider billing, hidden retries and complete authoring/orchestration costs are
132
+ unknown; this report does not invent a dollar bill.
133
+
134
+ ## Offline reproduction
135
+
136
+ The archive is a privacy-normalized derivative, with an exported file index and
137
+ source/export SHA-256 provenance. It retains both native ledgers, original seal
138
+ metadata, all twelve deliveries/tests and final usage traces, the complete bench,
139
+ both Skills, frozen implementation, source, plans, guards and power evidence.
140
+ Private path prefixes are replaced by equal-byte placeholders, private global
141
+ inventory names are omitted, and reasoning items are filtered when present.
142
+ The exported index verifies derivative bytes; it does not claim that normalization
143
+ preserves the unchanged original native seal or proves provider billing.
144
+
145
+ Extract the [archive](artifacts/2026-10-15-independent-comparison-regression-stop/package.tar.gz)
146
+ into a new directory and run `node replay.mjs`. No dependency installation,
147
+ network, model or agent CLI is needed. Replay verifies all 12 final usage traces,
148
+ regrades all 12 deliveries, reconstructs six pairs and all cost changes, carries
149
+ the initial call into every budget snapshot, checks the 80-call order/cap and
150
+ cumulative ledger, and repeats the receiver diagnostic. Expected result includes
151
+ `totalCalls: 12`, `newCalls: 11`, `regraded: 12`, `decision: "reject"`,
152
+ `automaticUpgrade: false`, `modelCalls: 0`.
153
+
154
+ The project-required offline test run passes **556 tests, zero failures or
155
+ skips**; the continuation's eleven offline queue guards also pass. No product
156
+ runtime change or dependency was introduced for this execution. All 1,582
157
+ previously published evidence files match their prelaunch fingerprints.
158
+
159
+ Eight offline original/maintainer gates, source hashes and the acceptance policy
160
+ are unchanged. This stop is evidence that the evaluator rejects a real candidate
161
+ regression while retaining its spending, not evidence that skill evolution always
162
+ improves results. No new experiment or automatic upgrade follows this record.