skillfit 0.9.1 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -14
- package/README.zh-CN.md +48 -14
- package/benches/README.md +23 -0
- package/benches/contrib/README.md +1 -0
- package/benches/contrib/oss-skill-independent/README.md +60 -0
- package/benches/contrib/oss-skill-independent/bench.json +79 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/LICENSE +22 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/Readme.md +1015 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/esm.mjs +15 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/index.js +27 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/argument.js +147 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/command.js +1944 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/error.js +45 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/help.js +396 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/option.js +208 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/suggestSimilar.js +100 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/package-support.json +16 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/package.json +63 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/typings/index.d.ts +774 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/typings/index.test-d.ts +416 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/upstream-package.json +69 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/LICENSE +22 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/Readme.md +1149 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/esm.mjs +16 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/index.js +24 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/argument.js +149 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/command.js +2662 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/error.js +39 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/help.js +713 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/option.js +367 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/suggestSimilar.js +101 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/package-support.json +16 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/package.json +71 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/typings/esm.d.mts +3 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/typings/index.d.ts +1045 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/typings/index.test-d.ts +737 -0
- package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/upstream-package.json +82 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/index.d.ts +40 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/index.js +68 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/license +9 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/package.json +54 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/readme.md +99 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/upstream-package.json +54 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/vendor/yocto-queue/index.js +67 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/vendor/yocto-queue/license +9 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/vendor/yocto-queue/package.json +46 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/index.d.ts +136 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/index.js +132 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/license +9 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/package.json +57 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/readme.md +181 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/upstream-package.json +58 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/vendor/yocto-queue/index.js +84 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/vendor/yocto-queue/license +9 -0
- package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/vendor/yocto-queue/package.json +48 -0
- package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/index.d.ts +136 -0
- package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/index.js +116 -0
- package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/license +9 -0
- package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/package.json +60 -0
- package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/readme.md +170 -0
- package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/upstream-package.json +60 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/index.d.ts +149 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/index.js +93 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/license +9 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/package.json +52 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/readme.md +192 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/upstream-package.json +52 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/index.d.ts +151 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/index.js +114 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/license +9 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/package.json +48 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/readme.md +158 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/upstream-package.json +48 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/index.d.ts +151 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/index.js +122 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/license +9 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/package.json +50 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/readme.md +190 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/upstream-package.json +50 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/LICENSE +22 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/Readme.md +1015 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/esm.mjs +15 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/index.js +27 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/argument.js +147 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/command.js +1948 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/error.js +45 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/help.js +396 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/option.js +208 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/suggestSimilar.js +100 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/package-support.json +16 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/package.json +63 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/regression.test.mjs +5 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/typings/index.d.ts +774 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/typings/index.test-d.ts +416 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/upstream-package.json +69 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/LICENSE +22 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/Readme.md +1149 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/esm.mjs +16 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/index.js +24 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/argument.js +149 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/command.js +2666 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/error.js +39 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/help.js +713 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/option.js +367 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/suggestSimilar.js +101 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/package-support.json +16 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/package.json +71 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/regression.test.mjs +5 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/typings/esm.d.mts +3 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/typings/index.d.ts +1045 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/typings/index.test-d.ts +737 -0
- package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/upstream-package.json +82 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/async-hooks-stub.js +15 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/index.d.ts +40 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/index.js +71 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/license +9 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/package.json +61 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/readme.md +99 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/regression.test.mjs +6 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/upstream-package.json +54 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/vendor/yocto-queue/index.js +67 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/vendor/yocto-queue/license +9 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/vendor/yocto-queue/package.json +46 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/index.d.ts +136 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/index.js +148 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/license +9 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/package.json +57 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/readme.md +181 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/regression.test.mjs +5 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/upstream-package.json +58 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/vendor/yocto-queue/index.js +84 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/vendor/yocto-queue/license +9 -0
- package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/vendor/yocto-queue/package.json +48 -0
- package/benches/contrib/oss-skill-independent/ground-truth/oracle-commander-async-listener-order.mjs +1 -0
- package/benches/contrib/oss-skill-independent/ground-truth/oracle-commander-output-isolation.mjs +1 -0
- package/benches/contrib/oss-skill-independent/ground-truth/oracle-limit-async-context.mjs +1 -0
- package/benches/contrib/oss-skill-independent/ground-truth/oracle-limit-map-iteration-rejection.mjs +1 -0
- package/benches/contrib/oss-skill-independent/ground-truth/oracle-throttle-sync-throw.mjs +1 -0
- package/benches/contrib/oss-skill-independent/ground-truth/oracle-timeout-custom-timers.mjs +1 -0
- package/benches/contrib/oss-skill-independent/ground-truth/oracle-timeout-infinity-abort.mjs +1 -0
- package/benches/contrib/oss-skill-independent/ground-truth/oracle-timeout-rejection-listener.mjs +1 -0
- package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/index.d.ts +136 -0
- package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/index.js +121 -0
- package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/license +9 -0
- package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/package.json +60 -0
- package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/readme.md +170 -0
- package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/regression.test.mjs +6 -0
- package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/upstream-package.json +60 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/index.d.ts +149 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/index.js +95 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/license +9 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/package.json +52 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/readme.md +192 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/regression.test.mjs +5 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/upstream-package.json +52 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/index.d.ts +151 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/index.js +114 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/license +9 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/package.json +48 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/readme.md +158 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/regression.test.mjs +5 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/upstream-package.json +48 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/index.d.ts +151 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/index.js +122 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/license +9 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/package.json +50 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/readme.md +190 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/regression.test.mjs +5 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/test.mjs +4 -0
- package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/upstream-package.json +50 -0
- package/benches/contrib/oss-skill-independent/prompts/commander-async-listener-order.md +3 -0
- package/benches/contrib/oss-skill-independent/prompts/commander-output-isolation.md +3 -0
- package/benches/contrib/oss-skill-independent/prompts/limit-async-context.md +3 -0
- package/benches/contrib/oss-skill-independent/prompts/limit-map-iteration-rejection.md +3 -0
- package/benches/contrib/oss-skill-independent/prompts/throttle-sync-throw.md +3 -0
- package/benches/contrib/oss-skill-independent/prompts/timeout-custom-timers.md +3 -0
- package/benches/contrib/oss-skill-independent/prompts/timeout-infinity-abort.md +3 -0
- package/benches/contrib/oss-skill-independent/prompts/timeout-rejection-listener.md +3 -0
- package/benches/contrib/oss-skill-independent/provenance.json +1903 -0
- package/benches/contrib/oss-skill-independent/task-specs.json +63 -0
- package/benches/contrib/oss-skill-independent/test-clock.mjs +65 -0
- package/benches/contrib/oss-skill-independent/verifiers/cases.mjs +197 -0
- package/benches/contrib/oss-skill-independent/verifiers/commander-async-listener-order.mjs +1 -0
- package/benches/contrib/oss-skill-independent/verifiers/commander-output-isolation.mjs +1 -0
- package/benches/contrib/oss-skill-independent/verifiers/grade.mjs +48 -0
- package/benches/contrib/oss-skill-independent/verifiers/limit-async-context.mjs +1 -0
- package/benches/contrib/oss-skill-independent/verifiers/limit-map-iteration-rejection.mjs +1 -0
- package/benches/contrib/oss-skill-independent/verifiers/probe.mjs +16 -0
- package/benches/contrib/oss-skill-independent/verifiers/regression-evidence.mjs +105 -0
- package/benches/contrib/oss-skill-independent/verifiers/test-reporter.mjs +29 -0
- package/benches/contrib/oss-skill-independent/verifiers/throttle-sync-throw.mjs +1 -0
- package/benches/contrib/oss-skill-independent/verifiers/timeout-custom-timers.mjs +1 -0
- package/benches/contrib/oss-skill-independent/verifiers/timeout-infinity-abort.mjs +1 -0
- package/benches/contrib/oss-skill-independent/verifiers/timeout-rejection-listener.mjs +1 -0
- package/dist/cli.js +183 -64
- package/dist/commands/bench-check-json.test.js +221 -0
- package/dist/commands/bench-check-report.js +48 -0
- package/dist/commands/bench-command-template.js +129 -0
- package/dist/commands/bench-manage.js +91 -0
- package/dist/commands/bench-manage.test.js +87 -0
- package/dist/commands/bench.js +166 -128
- package/dist/commands/bench.test.js +101 -0
- package/dist/commands/eval-component.js +25 -1
- package/dist/commands/eval-export.js +178 -0
- package/dist/commands/eval-export.test.js +279 -0
- package/dist/commands/eval-interruption.test.js +238 -0
- package/dist/commands/eval-preflight.js +61 -0
- package/dist/commands/eval-preflight.test.js +239 -0
- package/dist/commands/eval-report.js +44 -13
- package/dist/commands/eval-report.test.js +2 -2
- package/dist/commands/eval.js +94 -61
- package/dist/commands/eval.test.js +58 -1
- package/dist/harness/bench.js +21 -2
- package/dist/harness/eval-audit.js +45 -5
- package/dist/harness/eval-budget.js +51 -0
- package/dist/harness/eval-budget.test.js +212 -0
- package/dist/harness/eval-component.test.js +36 -0
- package/dist/harness/eval-contract.js +5 -1
- package/dist/harness/executors/api.js +10 -1
- package/dist/harness/executors/api.test.js +43 -0
- package/dist/harness/executors/cli.js +24 -3
- package/dist/harness/experiment-session.js +60 -9
- package/dist/harness/experiment-session.test.js +43 -1
- package/dist/harness/input-snapshot.js +150 -0
- package/dist/harness/interruption.js +48 -0
- package/dist/harness/interruption.test.js +31 -0
- package/dist/harness/replay-package.js +85 -0
- package/dist/harness/runner.js +74 -15
- package/dist/harness/trigger.js +20 -4
- package/docs/bench-authoring.md +40 -0
- package/docs/bench-check-json.md +122 -0
- package/docs/case-management.md +65 -0
- package/docs/eval-case-preflight.md +110 -0
- package/docs/eval-component.md +88 -49
- package/docs/eval-costs.md +9 -0
- package/docs/evaluation-input-snapshots.md +124 -0
- package/docs/evaluation-interruption.md +89 -0
- package/docs/evaluation-reports.md +49 -0
- package/docs/examples/check-receiver-mechanism-proposal.mjs +124 -0
- package/docs/examples/prepare-native-diff-probe.mjs +75 -0
- package/docs/examples/reproduce-independent-comparison-budget.mjs +73 -0
- package/docs/experiment-workflow.md +9 -2
- package/docs/first-real-eval.md +10 -1
- package/docs/growth-roadmap-2026-10.md +62 -93
- package/docs/metrics.md +52 -0
- package/docs/plans/2026-10-14-evidence-and-release-sequence.md +29 -12
- package/docs/plans/2026-10-15-independent-comparison-budget.json +1769 -0
- package/docs/plans/2026-10-15-independent-comparison-inputs.json +373 -0
- package/docs/plans/2026-10-15-independent-comparison-proposal.md +177 -0
- package/docs/plans/2026-10-15-native-diff-mechanism.md +105 -0
- package/docs/plans/2026-10-15-receiver-mechanism-proposal.json +342 -0
- package/docs/plans/2026-10-15-receiver-mechanism-proposal.md +146 -0
- package/docs/plans/2026-10-15-receiver-mechanism-verification.json +105 -0
- package/docs/plans/2026-10-16-case-workflow-and-release.md +49 -0
- package/docs/releases/0.10.0-ci-registry-install.json +140 -0
- package/docs/releases/0.10.0-feature-smoke.json +22 -0
- package/docs/releases/0.10.0-feature-smoke.mjs +62 -0
- package/docs/releases/0.10.0-signatures.txt +7 -0
- package/docs/releases/0.10.0-verification.json +76 -0
- package/docs/releases/0.10.0.md +81 -0
- package/docs/releases/0.10.1-feature-smoke.mjs +95 -0
- package/docs/releases/0.10.1.md +38 -0
- package/docs/releases/0.9.1-first-publication.json +249 -0
- package/docs/releases/0.9.1-verification.json +122 -0
- package/docs/releases/0.9.1.md +33 -1
- package/docs/releases/trusted-publishing.md +61 -0
- package/docs/replay-packages.md +97 -0
- package/docs/schemas/bench-check.schema.json +109 -0
- package/docs/schemas/eval-preflight.schema.json +57 -0
- package/docs/schemas/eval-request.schema.json +12 -0
- package/docs/schemas/eval-result.schema.json +11 -0
- package/docs/sharing-results.md +11 -2
- package/docs/skill-evaluation-evidence.md +52 -0
- package/evidence/2026-10-15-diagnosing-receiver-correction.md +140 -0
- package/evidence/2026-10-15-independent-comparison-regression-stop.md +162 -0
- package/evidence/2026-10-15-independent-offline-readiness.md +144 -0
- package/evidence/2026-10-15-native-diff-mechanism.md +196 -0
- package/evidence/2026-10-15-receiver-mechanism-stop.md +154 -0
- package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/README.md +35 -0
- package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/expected.json +577 -0
- package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/receiver-contract.test.mjs +138 -0
- package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/replay.mjs +127 -0
- package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/verification.json +105 -0
- package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/README.md +32 -0
- package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/checks.json +32 -0
- package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/verification.json +25 -0
- package/evidence/artifacts/2026-10-15-independent-offline-readiness/README.md +17 -0
- package/evidence/artifacts/2026-10-15-independent-offline-readiness/verification.json +1548 -0
- package/evidence/artifacts/2026-10-15-native-diff-mechanism/README.md +48 -0
- package/evidence/artifacts/2026-10-15-native-diff-mechanism/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/README.md +38 -0
- package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/checks.json +118 -0
- package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/verification.json +36 -0
- package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/LICENSE +21 -0
- package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/SKILL.md +51 -0
- package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/agents/openai.yaml +3 -0
- package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/scripts/hitl-loop.template.sh +44 -0
- package/package.json +1 -1
- package/skills/skillfit/SKILL.md +17 -5
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"verifiedAt": "2026-10-15T17:46:25.105Z",
|
|
4
|
+
"version": "0.10.0",
|
|
5
|
+
"latest": "0.10.0",
|
|
6
|
+
"integrity": "sha512-esrFLFqZymxg0DCOWXBZB9BFXdUfbGK2GizNrng9kSBLvSzI21L7qou4kBypU2cH6f6twv8zFXR7NfftOfiHYg==",
|
|
7
|
+
"sha256": "2a4e2a95fd903078cbf1e29c28aff6e2ce1420ee996e205a24fec72eae9992c3",
|
|
8
|
+
"sourceCommit": "9027d8d80a3974c7e352af10e8ede3029c69205b",
|
|
9
|
+
"installedFilesVerified": 2609,
|
|
10
|
+
"zeroRuntimeDependencies": true,
|
|
11
|
+
"globalInstall": false,
|
|
12
|
+
"modelCalls": 0,
|
|
13
|
+
"smoke": {
|
|
14
|
+
"version": true,
|
|
15
|
+
"help": true,
|
|
16
|
+
"requestPreview": true
|
|
17
|
+
},
|
|
18
|
+
"attempts": [
|
|
19
|
+
{
|
|
20
|
+
"at": "2026-10-15T17:34:48.589Z",
|
|
21
|
+
"versionStatus": 404,
|
|
22
|
+
"latestStatus": 200
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"at": "2026-10-15T17:35:18.752Z",
|
|
26
|
+
"versionStatus": 404,
|
|
27
|
+
"latestStatus": 200
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"at": "2026-10-15T17:35:48.878Z",
|
|
31
|
+
"versionStatus": 404,
|
|
32
|
+
"latestStatus": 200
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"at": "2026-10-15T17:36:19.118Z",
|
|
36
|
+
"versionStatus": 404,
|
|
37
|
+
"latestStatus": 200
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"at": "2026-10-15T17:36:49.239Z",
|
|
41
|
+
"versionStatus": 404,
|
|
42
|
+
"latestStatus": 200
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"at": "2026-10-15T17:37:19.403Z",
|
|
46
|
+
"versionStatus": 404,
|
|
47
|
+
"latestStatus": 200
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"at": "2026-10-15T17:37:49.539Z",
|
|
51
|
+
"versionStatus": 404,
|
|
52
|
+
"latestStatus": 200
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"at": "2026-10-15T17:38:19.803Z",
|
|
56
|
+
"versionStatus": 404,
|
|
57
|
+
"latestStatus": 200
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"at": "2026-10-15T17:38:49.933Z",
|
|
61
|
+
"versionStatus": 404,
|
|
62
|
+
"latestStatus": 200
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"at": "2026-10-15T17:39:20.060Z",
|
|
66
|
+
"versionStatus": 404,
|
|
67
|
+
"latestStatus": 200
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"at": "2026-10-15T17:39:50.270Z",
|
|
71
|
+
"versionStatus": 404,
|
|
72
|
+
"latestStatus": 200
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"at": "2026-10-15T17:40:20.409Z",
|
|
76
|
+
"versionStatus": 404,
|
|
77
|
+
"latestStatus": 200
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"at": "2026-10-15T17:40:50.548Z",
|
|
81
|
+
"versionStatus": 404,
|
|
82
|
+
"latestStatus": 200
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"at": "2026-10-15T17:41:20.680Z",
|
|
86
|
+
"versionStatus": 404,
|
|
87
|
+
"latestStatus": 200
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"at": "2026-10-15T17:41:50.787Z",
|
|
91
|
+
"versionStatus": 404,
|
|
92
|
+
"latestStatus": 200
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"at": "2026-10-15T17:42:21.091Z",
|
|
96
|
+
"versionStatus": 404,
|
|
97
|
+
"latestStatus": 200
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"at": "2026-10-15T17:42:51.244Z",
|
|
101
|
+
"versionStatus": 404,
|
|
102
|
+
"latestStatus": 200
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"at": "2026-10-15T17:43:21.405Z",
|
|
106
|
+
"versionStatus": 404,
|
|
107
|
+
"latestStatus": 200
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"at": "2026-10-15T17:43:51.527Z",
|
|
111
|
+
"versionStatus": 404,
|
|
112
|
+
"latestStatus": 200
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"at": "2026-10-15T17:44:21.717Z",
|
|
116
|
+
"versionStatus": 404,
|
|
117
|
+
"latestStatus": 200
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"at": "2026-10-15T17:44:51.849Z",
|
|
121
|
+
"versionStatus": 404,
|
|
122
|
+
"latestStatus": 200
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"at": "2026-10-15T17:45:22.015Z",
|
|
126
|
+
"versionStatus": 404,
|
|
127
|
+
"latestStatus": 200
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"at": "2026-10-15T17:45:52.140Z",
|
|
131
|
+
"versionStatus": 404,
|
|
132
|
+
"latestStatus": 200
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"at": "2026-10-15T17:46:22.245Z",
|
|
136
|
+
"versionStatus": 200,
|
|
137
|
+
"latestStatus": 200
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"kind": "skillfit.release-case-workflow-smoke",
|
|
4
|
+
"version": "0.10.0",
|
|
5
|
+
"verifiedAt": "2026-10-15T17:47:46.340Z",
|
|
6
|
+
"modelCalls": 0,
|
|
7
|
+
"agentCliCalls": 0,
|
|
8
|
+
"syntheticExecutorCalls": 2,
|
|
9
|
+
"checks": {
|
|
10
|
+
"version": true,
|
|
11
|
+
"help": true,
|
|
12
|
+
"listShow": true,
|
|
13
|
+
"editPlanBackup": true,
|
|
14
|
+
"removePreservesFiles": true,
|
|
15
|
+
"benchCheckJson": true,
|
|
16
|
+
"selectedPreviewNoCalls": true,
|
|
17
|
+
"exportPlan": true,
|
|
18
|
+
"portableChecksums": true,
|
|
19
|
+
"movedPackageReplayWithoutOriginals": true,
|
|
20
|
+
"exactCosts": true
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import assert from 'node:assert/strict';
|
|
2
|
+
import {spawnSync} from 'node:child_process';
|
|
3
|
+
import {existsSync,mkdirSync,mkdtempSync,readFileSync,renameSync,rmSync,writeFileSync} from 'node:fs';
|
|
4
|
+
import {join,resolve} from 'node:path';
|
|
5
|
+
import {pathToFileURL} from 'node:url';
|
|
6
|
+
|
|
7
|
+
// Argument 1: an extracted or registry-installed skillfit package. Argument 2:
|
|
8
|
+
// a fresh parent directory for synthetic data and the resulting JSON receipt.
|
|
9
|
+
const installed=resolve(process.argv[2]), parent=resolve(process.argv[3]);
|
|
10
|
+
mkdirSync(parent,{recursive:true});
|
|
11
|
+
const root=mkdtempSync(join(parent,'case-smoke-')), bench=join(root,'bench'), skill=join(root,'skill');
|
|
12
|
+
const load=path=>import(pathToFileURL(join(installed,'dist',path)).href);
|
|
13
|
+
const {runBenchInit}=await load('commands/bench.js');
|
|
14
|
+
const {runEval}=await load('commands/eval.js');
|
|
15
|
+
const {exportEvaluation}=await load('commands/eval-export.js');
|
|
16
|
+
const {MockExecutor}=await load('harness/executors/mock.js');
|
|
17
|
+
const cli=(...args)=>{
|
|
18
|
+
const child=spawnSync(process.execPath,[join(installed,'dist/cli.js'),...args],{cwd:root,encoding:'utf8',timeout:60_000,maxBuffer:16*1024*1024});
|
|
19
|
+
assert.equal(child.status,0,child.stderr||child.stdout); return child.stdout;
|
|
20
|
+
};
|
|
21
|
+
const checks={};
|
|
22
|
+
assert.equal(cli('--version').trim(),'0.10.0'); checks.version=true;
|
|
23
|
+
const help=cli('--help'); for(const flag of ['--export','--input-root','bench list','bench remove','--task']) assert.ok(help.includes(flag)); checks.help=true;
|
|
24
|
+
await runBenchInit({dir:bench,yes:true,log:()=>{}});
|
|
25
|
+
const manifestPath=join(bench,'bench.json'), initial=JSON.parse(readFileSync(manifestPath));
|
|
26
|
+
initial.tasks.push({...initial.tasks[0],id:'second-case'}); writeFileSync(manifestPath,JSON.stringify(initial));
|
|
27
|
+
assert.equal(JSON.parse(cli('bench','list',bench,'--json')).tasks.length,2);
|
|
28
|
+
assert.equal(JSON.parse(cli('bench','show',bench,'second-case','--json')).tasks[0].id,'second-case'); checks.listShow=true;
|
|
29
|
+
const before=readFileSync(manifestPath,'utf8');
|
|
30
|
+
assert.equal(JSON.parse(cli('bench','edit',bench,'second-case','--set','shouldTrigger=false','--json')).status,'planned');
|
|
31
|
+
assert.equal(readFileSync(manifestPath,'utf8'),before);
|
|
32
|
+
assert.equal(JSON.parse(cli('bench','edit',bench,'second-case','--set','shouldTrigger=false','--yes','--json')).status,'applied');
|
|
33
|
+
assert.equal(readFileSync(manifestPath+'.skillfit-bak','utf8'),before); checks.editPlanBackup=true;
|
|
34
|
+
assert.equal(JSON.parse(cli('bench','remove',bench,'second-case','--yes','--json')).status,'applied');
|
|
35
|
+
assert.ok(existsSync(join(bench,initial.tasks[0].prompt))); checks.removePreservesFiles=true;
|
|
36
|
+
const health=JSON.parse(cli('bench','check',bench,'--json')); assert.ok(Array.isArray(health.checks)); checks.benchCheckJson=true;
|
|
37
|
+
mkdirSync(skill); writeFileSync(join(skill,'SKILL.md'),'# Synthetic publication smoke\n');
|
|
38
|
+
const mock=new MockExecutor(); let syntheticCalls=0;
|
|
39
|
+
const executor={describe:()=>mock.describe(),run:async(...args)=>{syntheticCalls++;return mock.run(...args)}};
|
|
40
|
+
const options={skillPath:skill,bench,taskIds:['example-task'],trials:1,maxCalls:2,executor,judgeExecutor:null,yes:true,runsRoot:join(root,'runs'),runGroup:'synthetic',log:()=>{}};
|
|
41
|
+
await runEval({...options,dryRun:true,onPlan:p=>{assert.equal(p.plannedCalls,2);assert.deepEqual(p.bench.taskIds,['example-task']);}});
|
|
42
|
+
assert.equal(syntheticCalls,0); checks.selectedPreviewNoCalls=true;
|
|
43
|
+
await runEval({...options,dryRun:false}); assert.equal(syntheticCalls,2);
|
|
44
|
+
const run=join(root,'runs/synthetic'), output=join(root,'export');
|
|
45
|
+
const original=JSON.parse(cli('report','eval',run,'--json'));
|
|
46
|
+
const plan=JSON.parse(cli('report','eval',run,'--export',output,'--json')); assert.equal(plan.status,'planned'); assert.ok(!existsSync(output)); checks.exportPlan=true;
|
|
47
|
+
await exportEvaluation(run,output,{yes:true,log:()=>{}});
|
|
48
|
+
const moved=join(root,'moved package'); renameSync(output,moved);
|
|
49
|
+
for(const path of [bench,skill,join(root,'runs')]) rmSync(path,{recursive:true});
|
|
50
|
+
const reproduce=verify=>{
|
|
51
|
+
const child=spawnSync(process.execPath,[join(moved,'reproduce.mjs'),...(verify?['--verify-only']:[])],{cwd:root,encoding:'utf8',timeout:60_000,maxBuffer:16*1024*1024});
|
|
52
|
+
assert.equal(child.status,0,child.stderr); return JSON.parse(child.stdout);
|
|
53
|
+
};
|
|
54
|
+
assert.equal(reproduce(true).verified,true); checks.portableChecksums=true;
|
|
55
|
+
const replay=reproduce(false); assert.equal(replay.evidence.verified,true); assert.deepEqual(replay.costs,original.costs);
|
|
56
|
+
assert.equal(replay.acceptance.eligibleForUpgrade,false); assert.equal(replay.acceptance.automaticUpgrade,false);
|
|
57
|
+
const inspected=JSON.parse(cli('report','eval',moved,'--json','--replay')); assert.equal(inspected.portablePackage.integrityVerified,true);
|
|
58
|
+
assert.equal(syntheticCalls,2); checks.movedPackageReplayWithoutOriginals=true; checks.exactCosts=true;
|
|
59
|
+
const receipt={schemaVersion:1,kind:'skillfit.release-case-workflow-smoke',version:'0.10.0',verifiedAt:new Date().toISOString(),modelCalls:0,agentCliCalls:0,syntheticExecutorCalls:syntheticCalls,checks};
|
|
60
|
+
writeFileSync(join(parent,'feature-smoke.json'),JSON.stringify(receipt,null,2)+'\n',{flag:'wx'});
|
|
61
|
+
rmSync(root,{recursive:true});
|
|
62
|
+
console.log(JSON.stringify(receipt));
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"verifiedAt": "2026-10-15T17:50:03.630Z",
|
|
4
|
+
"version": "0.10.0",
|
|
5
|
+
"latest": "0.10.0",
|
|
6
|
+
"integrity": "sha512-esrFLFqZymxg0DCOWXBZB9BFXdUfbGK2GizNrng9kSBLvSzI21L7qou4kBypU2cH6f6twv8zFXR7NfftOfiHYg==",
|
|
7
|
+
"sha256": "2a4e2a95fd903078cbf1e29c28aff6e2ce1420ee996e205a24fec72eae9992c3",
|
|
8
|
+
"sourceCommit": "9027d8d80a3974c7e352af10e8ede3029c69205b",
|
|
9
|
+
"publishedAt": "2026-10-15T17:46:05.738Z",
|
|
10
|
+
"releaseDate": "2026-10-16",
|
|
11
|
+
"releaseTimeZone": "Asia/Shanghai",
|
|
12
|
+
"registry": "https://registry.npmjs.org/",
|
|
13
|
+
"tarball": "https://registry.npmjs.org/skillfit/-/skillfit-0.10.0.tgz",
|
|
14
|
+
"packageBytes": 22274164,
|
|
15
|
+
"installedFilesVerified": 2609,
|
|
16
|
+
"zeroRuntimeDependencies": true,
|
|
17
|
+
"globalInstall": false,
|
|
18
|
+
"modelCalls": 0,
|
|
19
|
+
"agentCliCalls": 0,
|
|
20
|
+
"automaticUpgrade": false,
|
|
21
|
+
"fullOfflineTestsPassed": 600,
|
|
22
|
+
"platformCI": {
|
|
23
|
+
"runUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/38777086013",
|
|
24
|
+
"linux": true,
|
|
25
|
+
"macOS": true,
|
|
26
|
+
"windows": true
|
|
27
|
+
},
|
|
28
|
+
"publication": {
|
|
29
|
+
"authentication": "GitHub Actions OIDC trusted publishing",
|
|
30
|
+
"repository": "remote-controlled-man/skillfit",
|
|
31
|
+
"workflow": "npm-release.yml",
|
|
32
|
+
"environment": "npm-release",
|
|
33
|
+
"previewRunUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/38777935270",
|
|
34
|
+
"runUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/38778295053",
|
|
35
|
+
"uploadCount": 1,
|
|
36
|
+
"workflowConclusion": "success",
|
|
37
|
+
"previewMatchesPublishedArchive": true,
|
|
38
|
+
"registryAttempts": 24,
|
|
39
|
+
"unavailableReadsRetained": 23
|
|
40
|
+
},
|
|
41
|
+
"ciRegistryReceipt": {
|
|
42
|
+
"path": "0.10.0-ci-registry-install.json",
|
|
43
|
+
"sha256": "091d207827a3435de7f0cd453bcb29b0d3506c4dff01c5b01ec4cf5025ba2e42"
|
|
44
|
+
},
|
|
45
|
+
"featureSmoke": {
|
|
46
|
+
"path": "0.10.0-feature-smoke.json",
|
|
47
|
+
"sha256": "490a0b4f2909b39c81e448f65a274fb2b9f29d7a6252c1f3e97af02e8b4b29ff",
|
|
48
|
+
"recipe": "0.10.0-feature-smoke.mjs",
|
|
49
|
+
"recipeSha256": "869289bd92046d2e93af203c64633697089471d38df9aeb0fe57ed6caf123969",
|
|
50
|
+
"checks": {
|
|
51
|
+
"version": true,
|
|
52
|
+
"help": true,
|
|
53
|
+
"listShow": true,
|
|
54
|
+
"editPlanBackup": true,
|
|
55
|
+
"removePreservesFiles": true,
|
|
56
|
+
"benchCheckJson": true,
|
|
57
|
+
"selectedPreviewNoCalls": true,
|
|
58
|
+
"exportPlan": true,
|
|
59
|
+
"portableChecksums": true,
|
|
60
|
+
"movedPackageReplayWithoutOriginals": true,
|
|
61
|
+
"exactCosts": true
|
|
62
|
+
},
|
|
63
|
+
"syntheticExecutorCalls": 2
|
|
64
|
+
},
|
|
65
|
+
"registryAudit": {
|
|
66
|
+
"exitCode": 0,
|
|
67
|
+
"packages": 1,
|
|
68
|
+
"verifiedRegistrySignatures": 1,
|
|
69
|
+
"verifiedAttestations": 1,
|
|
70
|
+
"log": "0.10.0-signatures.txt",
|
|
71
|
+
"sha256": "7656b138c603262c0e62f7aa447f422e16e0bb20a3fb0bf0bf0b12a51375f4d8"
|
|
72
|
+
},
|
|
73
|
+
"verificationKind": "CI registry installation plus independent local file-by-file installation and offline feature replay",
|
|
74
|
+
"comparisonSource": "extracted accepted CI archive, not a local rebuild",
|
|
75
|
+
"scope": "CLI usability and reproducibility; no new real Skill efficacy observations or upgrade eligibility"
|
|
76
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# skillfit 0.10.0
|
|
2
|
+
|
|
3
|
+
Published and verified as `skillfit@0.10.0` on October 16, 2026 in Asia/Shanghai
|
|
4
|
+
(October 15 at 17:46:05 UTC). The [verification receipt](0.10.0-verification.json)
|
|
5
|
+
pins the accepted archive, source, installation and offline feature checks.
|
|
6
|
+
|
|
7
|
+
## Delivered workflow
|
|
8
|
+
|
|
9
|
+
- Create a reply or code-editing starter, freeze a real failure or mine a fix.
|
|
10
|
+
- Inspect offline gate results with `bench check --json`.
|
|
11
|
+
- List/show cases and preview manifest edits/removals; apply with backup and
|
|
12
|
+
validation. Removal keeps files and schema 1 remains nonempty.
|
|
13
|
+
- Select cases with repeatable `eval --task` or JSON request `taskIds`. Freeze IDs,
|
|
14
|
+
order and full bench hash, preview only selected calls, retain all actual costs.
|
|
15
|
+
- Export paired native runs without a judge to a fresh portable directory with
|
|
16
|
+
pinned inputs/implementation, original receipts, checksums and offline replay.
|
|
17
|
+
Missing inputs reject export; stopped/partial evidence cannot become complete.
|
|
18
|
+
- Include optional whole-batch request spending guards introduced after 0.9.1.
|
|
19
|
+
|
|
20
|
+
See [case management](../case-management.md), [portable packages](../replay-packages.md),
|
|
21
|
+
[JSON bench checks](../bench-check-json.md) and the [component contract](../eval-component.md).
|
|
22
|
+
Exported project data requires review before sharing; exports stay local. External
|
|
23
|
+
verifier toolchains are the recipient's responsibility. Checksums detect changes,
|
|
24
|
+
not publisher identity. Legacy/redacted evidence retains its own dated recipes.
|
|
25
|
+
|
|
26
|
+
## Validation and publication
|
|
27
|
+
|
|
28
|
+
Offline tests cover selected budgets/order, invalid selections before calls,
|
|
29
|
+
case plans/backups/rollback, JSON output, preserved shared files, restored pinned
|
|
30
|
+
inputs, portable replay after originals are removed and stopped-cost retention.
|
|
31
|
+
All 600 offline tests, Linux/macOS/Windows CI and bundled/contributed bench
|
|
32
|
+
integrity passed in [PR #26](https://github.com/remote-controlled-man/skillfit/pull/26).
|
|
33
|
+
Publication source: `9027d8d80a3974c7e352af10e8ede3029c69205b`. The [manual OIDC procedure](trusted-publishing.md) prepared and previewed the exact
|
|
34
|
+
archive, published once, then verified registry version/latest/integrity and every
|
|
35
|
+
installed file. Both the [preview](https://github.com/remote-controlled-man/skillfit/actions/runs/38777935270)
|
|
36
|
+
and [publication](https://github.com/remote-controlled-man/skillfit/actions/runs/38778295053)
|
|
37
|
+
workflows succeeded. All 2,609 installed files match the accepted archive in CI
|
|
38
|
+
and an independent local install; the preview and publication archive hashes match.
|
|
39
|
+
The [original CI receipt](0.10.0-ci-registry-install.json) retains 23 unavailable
|
|
40
|
+
version reads followed by availability, without another upload. The earlier 0.9.1
|
|
41
|
+
failed publication/recovery history remains unchanged.
|
|
42
|
+
|
|
43
|
+
This is CLI usability and reproducibility work. Tests inject offline executors;
|
|
44
|
+
no real model or agent evaluation is authorized or added. The study remains at
|
|
45
|
+
195 recorded calls with seven historical final usages unknown. No Skill efficacy
|
|
46
|
+
claim, statistical-policy change, runtime dependency or automatic upgrade is included.
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
npx skillfit@0.10.0 --version
|
|
50
|
+
npx skillfit@0.10.0 --help
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Registry and installed-feature verification
|
|
54
|
+
|
|
55
|
+
An isolated local install passed all eleven [feature checks](0.10.0-feature-smoke.json),
|
|
56
|
+
including moved-package replay with exact costs after original inputs disappear.
|
|
57
|
+
It made two synthetic executor calls, zero real model/agent CLI calls and no global
|
|
58
|
+
install. [npm signature/attestation verification](0.10.0-signatures.txt) also passed
|
|
59
|
+
for the single installed package. No token-cost or Skill-improvement claim follows
|
|
60
|
+
from these implementation checks.
|
|
61
|
+
|
|
62
|
+
The immutable npm archive contains the pre-publication preparation guide; this
|
|
63
|
+
repository record and its receipts were added after the verified publication.
|
|
64
|
+
|
|
65
|
+
## Reproduce the installed-feature checks
|
|
66
|
+
|
|
67
|
+
The repository retains a [feature smoke recipe](0.10.0-feature-smoke.mjs). Provide
|
|
68
|
+
an extracted or isolated registry-installed package path and a fresh output parent:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
node docs/releases/0.10.0-feature-smoke.mjs /absolute/path/to/node_modules/skillfit /tmp/skillfit-0.10.0-feature-smoke
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
It checks version/help, list/show, edit preview and first backup, removal with
|
|
75
|
+
preserved files, JSON bench checks, selected-call preview and a moved replay
|
|
76
|
+
package after deleting its original inputs/run. A synthetic executor produces two
|
|
77
|
+
receipts; zero model or agent CLI calls occur. The replay must reproduce exact
|
|
78
|
+
costs, remain synthetic/ineligible and retain `automaticUpgrade: false`. Generated
|
|
79
|
+
project/run files are cleaned; `feature-smoke.json` is retained in the output parent.
|
|
80
|
+
This recipe/receipt is a post-publication repository record, not bytes retroactively
|
|
81
|
+
added to the immutable npm archive.
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import assert from 'node:assert/strict';
|
|
2
|
+
import {spawnSync} from 'node:child_process';
|
|
3
|
+
import {existsSync,mkdirSync,mkdtempSync,readFileSync,renameSync,rmSync,writeFileSync} from 'node:fs';
|
|
4
|
+
import {join,resolve} from 'node:path';
|
|
5
|
+
import {pathToFileURL} from 'node:url';
|
|
6
|
+
|
|
7
|
+
// Argument 1: an extracted or registry-installed skillfit package. Argument 2:
|
|
8
|
+
// a fresh parent directory for synthetic data and the resulting JSON receipt.
|
|
9
|
+
const installed=resolve(process.argv[2]), parent=resolve(process.argv[3]);
|
|
10
|
+
mkdirSync(parent,{recursive:true});
|
|
11
|
+
const root=mkdtempSync(join(parent,'case-smoke-')), bench=join(root,'bench'), skill=join(root,'skill');
|
|
12
|
+
const load=path=>import(pathToFileURL(join(installed,'dist',path)).href);
|
|
13
|
+
const {runBenchInit}=await load('commands/bench.js');
|
|
14
|
+
const {runEval}=await load('commands/eval.js');
|
|
15
|
+
const {exportEvaluation}=await load('commands/eval-export.js');
|
|
16
|
+
const {MockExecutor}=await load('harness/executors/mock.js');
|
|
17
|
+
const {ApiExecutor}=await load('harness/executors/api.js');
|
|
18
|
+
const {ExecutorFailure}=await load('harness/types.js');
|
|
19
|
+
const {ExperimentSession}=await load('harness/experiment-session.js');
|
|
20
|
+
const {collectEvaluationTarget}=await load('harness/target.js');
|
|
21
|
+
const {loadBench}=await load('harness/bench.js');
|
|
22
|
+
const {runTrial}=await load('harness/runner.js');
|
|
23
|
+
const {summarizeCosts}=await load('harness/costs.js');
|
|
24
|
+
const cli=(...args)=>{
|
|
25
|
+
const child=spawnSync(process.execPath,[join(installed,'dist/cli.js'),...args],{cwd:root,encoding:'utf8',timeout:60_000,maxBuffer:16*1024*1024});
|
|
26
|
+
assert.equal(child.status,0,child.stderr||child.stdout); return child.stdout;
|
|
27
|
+
};
|
|
28
|
+
const checks={}; let fakeApiResponses=0;
|
|
29
|
+
for(const cached of [0,80,undefined]) {
|
|
30
|
+
const fetchImpl=async()=>{fakeApiResponses++;return new Response(JSON.stringify({choices:[{message:{content:'offline'}}],usage:{prompt_tokens:100,completion_tokens:10,...(cached!==undefined?{prompt_tokens_details:{cached_tokens:cached}}:{})}}),{status:200});};
|
|
31
|
+
const result=await new ApiExecutor({apiKey:'synthetic-no-network',fetchImpl}).run('offline');
|
|
32
|
+
assert.deepEqual(result.tokens,{input:100,output:10,...(cached!==undefined?{cachedInput:cached}:{})});
|
|
33
|
+
const record={executorInvoked:true,passed:true,error:null,durationSeconds:1,tokens:result.tokens,usageStatus:'final'};
|
|
34
|
+
const costs=summarizeCosts({baseline:[record],treatment:[]},{baseline:[record],treatment:[]}).attempts.baseline.metrics;
|
|
35
|
+
assert.equal(costs.cachedInput.knownTotal,cached??0);
|
|
36
|
+
assert.equal(costs.uncachedInput.coverage.unknown,cached===undefined?1:0);
|
|
37
|
+
if(cached!==undefined) assert.equal(costs.uncachedInput.knownTotal,100-cached);
|
|
38
|
+
}
|
|
39
|
+
checks.apiCacheZeroKnownAndUnknown=true;
|
|
40
|
+
assert.equal(cli('--version').trim(),'0.10.1'); checks.version=true;
|
|
41
|
+
const help=cli('--help'); for(const flag of ['--export','--input-root','bench list','bench remove','--task']) assert.ok(help.includes(flag)); checks.help=true;
|
|
42
|
+
await runBenchInit({dir:bench,yes:true,log:()=>{}});
|
|
43
|
+
const manifestPath=join(bench,'bench.json'), initial=JSON.parse(readFileSync(manifestPath));
|
|
44
|
+
initial.tasks.push({...initial.tasks[0],id:'second-case'}); writeFileSync(manifestPath,JSON.stringify(initial));
|
|
45
|
+
assert.equal(JSON.parse(cli('bench','list',bench,'--json')).tasks.length,2);
|
|
46
|
+
assert.equal(JSON.parse(cli('bench','show',bench,'second-case','--json')).tasks[0].id,'second-case'); checks.listShow=true;
|
|
47
|
+
const before=readFileSync(manifestPath,'utf8');
|
|
48
|
+
assert.equal(JSON.parse(cli('bench','edit',bench,'second-case','--set','shouldTrigger=false','--json')).status,'planned');
|
|
49
|
+
assert.equal(readFileSync(manifestPath,'utf8'),before);
|
|
50
|
+
assert.equal(JSON.parse(cli('bench','edit',bench,'second-case','--set','shouldTrigger=false','--yes','--json')).status,'applied');
|
|
51
|
+
assert.equal(readFileSync(manifestPath+'.skillfit-bak','utf8'),before); checks.editPlanBackup=true;
|
|
52
|
+
assert.equal(JSON.parse(cli('bench','remove',bench,'second-case','--yes','--json')).status,'applied');
|
|
53
|
+
assert.ok(existsSync(join(bench,initial.tasks[0].prompt))); checks.removePreservesFiles=true;
|
|
54
|
+
const health=JSON.parse(cli('bench','check',bench,'--json')); assert.ok(Array.isArray(health.checks)); checks.benchCheckJson=true;
|
|
55
|
+
mkdirSync(skill); writeFileSync(join(skill,'SKILL.md'),'# Synthetic publication smoke\n');
|
|
56
|
+
const mock=new MockExecutor(); let syntheticCalls=0;
|
|
57
|
+
const executor={describe:()=>mock.describe(),run:async(...args)=>{syntheticCalls++;return mock.run(...args)}};
|
|
58
|
+
const options={skillPath:skill,bench,taskIds:['example-task'],trials:1,maxCalls:2,executor,judgeExecutor:null,yes:true,runsRoot:join(root,'runs'),runGroup:'synthetic',log:()=>{}};
|
|
59
|
+
await runEval({...options,dryRun:true,onPlan:p=>{assert.equal(p.plannedCalls,2);assert.deepEqual(p.bench.taskIds,['example-task']);}});
|
|
60
|
+
assert.equal(syntheticCalls,0); checks.selectedPreviewNoCalls=true;
|
|
61
|
+
await runEval({...options,dryRun:false}); assert.equal(syntheticCalls,2);
|
|
62
|
+
const run=join(root,'runs/synthetic'), output=join(root,'export');
|
|
63
|
+
const original=JSON.parse(cli('report','eval',run,'--json'));
|
|
64
|
+
assert.equal(original.casePreflight.status,'ready'); checks.offlineCasePreflight=true;
|
|
65
|
+
const human=cli('report','eval',run); assert.ok(human.includes(`State: ${original.status}`));
|
|
66
|
+
assert.ok(human.includes(`Acceptance: ${original.acceptance.decision}`)); assert.ok(human.includes('Automatic upgrade: no'));
|
|
67
|
+
assert.equal(cli('report','eval',join(run,'manifest.json')),human); checks.unifiedReportInputs=true;
|
|
68
|
+
const stopped=join(root,'runs/stopped'), target=collectEvaluationTarget(skill), loaded=loadBench(bench);
|
|
69
|
+
const stoppedExecutor={describe:()=>mock.describe(),run:async()=>{syntheticCalls++;throw new ExecutorFailure('synthetic stop',{output:'partial',tokens:{input:9,cachedInput:3,output:2},usageStatus:'partial'});}};
|
|
70
|
+
const session=new ExperimentSession({bench:loaded,target,groupDir:stopped,workspaces:[join(stopped,'example-task/baseline/trial-1')],plannedCalls:2,maxCalls:2,injected:true,details:{mode:'inject'}});
|
|
71
|
+
await runTrial({bench:loaded,target,executor:session.wrap(stoppedExecutor,'agent'),trials:1,runsRoot:join(root,'runs'),runGroup:'stopped',log:()=>{}},'example-task','baseline',1);
|
|
72
|
+
session.finish(new Error('synthetic stop'));
|
|
73
|
+
const stoppedJson=JSON.parse(cli('report','eval',stopped,'--json')), stoppedHuman=cli('report','eval',stopped);
|
|
74
|
+
assert.equal(stoppedJson.status,'stopped'); assert.equal(stoppedJson.acceptance.eligibleForUpgrade,false);
|
|
75
|
+
assert.ok(stoppedHuman.includes('State: stopped')); assert.ok(stoppedHuman.includes('Retained costs')); assert.ok(stoppedHuman.includes('partial'));
|
|
76
|
+
checks.stoppedReportsRetainPartialCosts=true;
|
|
77
|
+
for(const path of [bench,skill]) rmSync(path,{recursive:true});
|
|
78
|
+
const plan=JSON.parse(cli('report','eval',run,'--export',output,'--json')); assert.equal(plan.status,'planned'); assert.equal(plan.inputSource,'sealed-snapshot'); assert.ok(!existsSync(output)); checks.sealedInputsWithoutOriginals=true; checks.exportPlan=true;
|
|
79
|
+
await exportEvaluation(run,output,{yes:true,log:()=>{}});
|
|
80
|
+
const moved=join(root,'moved package'); renameSync(output,moved);
|
|
81
|
+
rmSync(join(root,'runs'),{recursive:true});
|
|
82
|
+
const reproduce=verify=>{
|
|
83
|
+
const child=spawnSync(process.execPath,[join(moved,'reproduce.mjs'),...(verify?['--verify-only']:[])],{cwd:root,encoding:'utf8',timeout:60_000,maxBuffer:16*1024*1024});
|
|
84
|
+
assert.equal(child.status,0,child.stderr); return JSON.parse(child.stdout);
|
|
85
|
+
};
|
|
86
|
+
assert.equal(reproduce(true).verified,true); checks.portableChecksums=true;
|
|
87
|
+
const replay=reproduce(false); assert.equal(replay.evidence.verified,true); assert.deepEqual(replay.costs,original.costs);
|
|
88
|
+
assert.equal(replay.acceptance.eligibleForUpgrade,false); assert.equal(replay.acceptance.automaticUpgrade,false);
|
|
89
|
+
const inspected=JSON.parse(cli('report','eval',moved,'--json','--replay')); assert.equal(inspected.portablePackage.integrityVerified,true);
|
|
90
|
+
assert.ok(cli('report','eval',moved,'--replay').includes('Native evidence: verified'));
|
|
91
|
+
assert.equal(syntheticCalls,3); checks.movedPackageReplayWithoutOriginals=true; checks.exactCosts=true;
|
|
92
|
+
const receipt={schemaVersion:1,kind:'skillfit.release-case-workflow-smoke',version:'0.10.1',verifiedAt:new Date().toISOString(),modelCalls:0,agentCliCalls:0,syntheticExecutorCalls:syntheticCalls,fakeApiResponses,checks};
|
|
93
|
+
writeFileSync(join(parent,'feature-smoke.json'),JSON.stringify(receipt,null,2)+'\n',{flag:'wx'});
|
|
94
|
+
rmSync(root,{recursive:true});
|
|
95
|
+
console.log(JSON.stringify(receipt));
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# skillfit 0.10.1
|
|
2
|
+
|
|
3
|
+
Prepared for the existing [manual OIDC publication procedure](trusted-publishing.md).
|
|
4
|
+
Publication is pending; npm 0.10.0 remains the verified published release until
|
|
5
|
+
the registry and installed archive checks succeed. This record will retain the
|
|
6
|
+
actual source, workflow and installation receipts after publication.
|
|
7
|
+
|
|
8
|
+
## Delivered workflow
|
|
9
|
+
|
|
10
|
+
- Read explicit chat-completions cached-input counts into retained costs and
|
|
11
|
+
spending checks. Zero stays zero; absent or invalid cache evidence stays unknown.
|
|
12
|
+
- Open a manifest, native run directory or portable package in either Markdown
|
|
13
|
+
or JSON. Both audit the same saved evidence and show acceptance reasons.
|
|
14
|
+
Stopped/incomplete runs retain spending without becoming completed comparisons.
|
|
15
|
+
- Include Ctrl+C/SIGTERM cleanup and stopped-record sealing, mandatory offline
|
|
16
|
+
case checks before live eval, and input snapshots sealed before dispatch.
|
|
17
|
+
Export/replay survives original-input edits, deletion and moved run directories.
|
|
18
|
+
|
|
19
|
+
See [report inputs](../evaluation-reports.md), [cost accounting](../eval-costs.md),
|
|
20
|
+
[interruption](../evaluation-interruption.md), [case preflight](../eval-case-preflight.md)
|
|
21
|
+
and [input snapshots](../evaluation-input-snapshots.md). This release changes CLI
|
|
22
|
+
reliability and reproducibility, not the statistical or adoption policy. No real
|
|
23
|
+
model evaluations or agent CLI calls are added; historical evidence stays unchanged.
|
|
24
|
+
|
|
25
|
+
## Reproduce the installed-feature checks
|
|
26
|
+
|
|
27
|
+
The [offline recipe](0.10.1-feature-smoke.mjs) accepts an extracted or isolated
|
|
28
|
+
registry-installed package and a fresh output parent:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
node docs/releases/0.10.1-feature-smoke.mjs /absolute/path/to/node_modules/skillfit /tmp/skillfit-0.10.1-feature-smoke
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
It checks the case workflow, API cache parsing with fake fetch, shared human/JSON
|
|
35
|
+
reports, stopped costs, input sealing and moved-package replay after originals
|
|
36
|
+
are removed. Only injected synthetic executors and fake API responses are used.
|
|
37
|
+
It retains `feature-smoke.json` and cleans its generated project/run data. No
|
|
38
|
+
Skill efficacy or token-cost reduction claim follows from implementation checks.
|