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