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,48 @@
|
|
|
1
|
+
# Four-call native diff mechanism replay
|
|
2
|
+
|
|
3
|
+
See the [result and limitations](../../2026-10-15-native-diff-mechanism.md).
|
|
4
|
+
Exactly four real development calls completed. Both versions pass 2/2, helper
|
|
5
|
+
use is observed in 4/4, and acceptance remains inconclusive. No additional
|
|
6
|
+
experiment call or independent comparison has started.
|
|
7
|
+
|
|
8
|
+
Archive: [package.tar.gz](package.tar.gz), 830,563 bytes.
|
|
9
|
+
SHA-256: `0662db8ba95ab7a440098a10a48d6ba95a7cf900ee98cc7733aab2d3192c201f`.
|
|
10
|
+
|
|
11
|
+
From the repository root, use a fresh directory and Node 24.21.0:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
shasum -a 256 evidence/artifacts/2026-10-15-native-diff-mechanism/package.tar.gz
|
|
15
|
+
mkdir /tmp/skillfit-native-diff-replay
|
|
16
|
+
tar -xzf evidence/artifacts/2026-10-15-native-diff-mechanism/package.tar.gz -C /tmp/skillfit-native-diff-replay
|
|
17
|
+
node /tmp/skillfit-native-diff-replay/replay.mjs
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
No dependency installation, network, agent CLI or model call is used. The
|
|
21
|
+
replay checks 394 indexed files, frozen inputs/runtime, all four outcome grades,
|
|
22
|
+
final usage counters and paired costs, observed helper executions and patch
|
|
23
|
+
displays, four common startup warnings, the 182-call cumulative ledger with
|
|
24
|
+
seven earlier unknown usages, and the unchanged inconclusive adoption decision.
|
|
25
|
+
Expected final JSON includes `modelCalls: 0`, `regraded: 4`,
|
|
26
|
+
`qualityCostsAcceptanceMatch: true`, `observedHelperUseRuns: 4`,
|
|
27
|
+
`helperExecutions: 5`, `suspiciousEmptyPatches: 0`, `cumulativeCalls: 182`,
|
|
28
|
+
`missingPublicFinalUsage: 7`, `decision: "inconclusive"`, and
|
|
29
|
+
`automaticUpgrade: false`.
|
|
30
|
+
|
|
31
|
+
Contents include `runner/` source and compiled files, complete `skills/`, full
|
|
32
|
+
`bench/` assets with one task scheduled, four delivered workspaces under
|
|
33
|
+
`records/`, command/final-usage transcripts, the frozen protocol and request,
|
|
34
|
+
execution guard and assessment under `execution/`, and the prior ledger under
|
|
35
|
+
`review/`. No other bench task was called by this probe.
|
|
36
|
+
|
|
37
|
+
This is a normalized public derivative of an audited native run. Private path
|
|
38
|
+
prefixes use padded placeholders that preserve command-output byte lengths;
|
|
39
|
+
private global configuration inventory names are omitted. Hidden reasoning and
|
|
40
|
+
credentials are not exported. `export-provenance.json` distinguishes original
|
|
41
|
+
and exported hashes and final annotations; `package-index.json` verifies public
|
|
42
|
+
bytes. Native audit and regrade attestations describe the retained original,
|
|
43
|
+
not a byte-identical public native seal or provider billing verification.
|
|
44
|
+
|
|
45
|
+
Offline replay reproduces recorded evidence, not future model responses.
|
|
46
|
+
Provider billing, hidden retries and full authoring/orchestration costs remain
|
|
47
|
+
unknown. Any new model experiment requires a fresh decision and budget; this
|
|
48
|
+
archive does not grant authorization.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Receiver mechanism probe: reproducible one-call stop
|
|
2
|
+
|
|
3
|
+
The [dated report](../../2026-10-15-receiver-mechanism-stop.md) records the failed
|
|
4
|
+
v4.1 candidate. The conditional control call was never started.
|
|
5
|
+
|
|
6
|
+
- Archive: [package.tar.gz](package.tar.gz)
|
|
7
|
+
- SHA-256: `b520022e2c6250bfa2b20c864e2f63d9436647a05d69b16b312ec636d36a0a43`
|
|
8
|
+
- Bytes: 630,986
|
|
9
|
+
- Indexed payload files: 284, plus `package-index.json`
|
|
10
|
+
- [verification.json](verification.json): successful fresh-extraction replay.
|
|
11
|
+
- [checks.json](checks.json): controller/project checks and preservation audit.
|
|
12
|
+
|
|
13
|
+
From the repository root, use a fresh extraction directory:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
replay_dir=$(mktemp -d)
|
|
17
|
+
tar -xzf evidence/artifacts/2026-10-15-receiver-mechanism-stop/package.tar.gz -C "$replay_dir"
|
|
18
|
+
node "$replay_dir/replay.mjs"
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Verified with Node v24.21.0. Replay uses Node built-ins and frozen verifier code;
|
|
22
|
+
it needs no network, dependency installation, model, judge or agent CLI.
|
|
23
|
+
It regrades the original six checks, all eighteen receiver checks, four source
|
|
24
|
+
variants under the new regression, twenty-four injected controller tests, the
|
|
25
|
+
one-call native ledger, final counters and before/after budget states.
|
|
26
|
+
Owned temporary grading copies are removed.
|
|
27
|
+
|
|
28
|
+
The model read the complete new Skill, but its production source is identical
|
|
29
|
+
to the retained wrong v4 source. The candidate passed 4/6 and 8/18; total input
|
|
30
|
+
was 205,272, cached input 182,144, uncached input 23,128, output 6,182 and executor
|
|
31
|
+
time 188.158 seconds. No per-success saving or paired change is inferred.
|
|
32
|
+
|
|
33
|
+
`export-provenance.json` records raw source/export hashes and privacy adaptations.
|
|
34
|
+
The source native seal is retained privately; exported hashes attest this
|
|
35
|
+
derivative. No complete native component acceptance audit or independent model
|
|
36
|
+
efficacy claim is made. Historical launch declarations and controller source
|
|
37
|
+
explain what happened; they do not authorize replaying a live call. Run only
|
|
38
|
+
`replay.mjs` for offline reproduction.
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"kind": "skillfit.receiver-mechanism-stop-checks",
|
|
4
|
+
"verifiedAt": "2026-10-15T14:32:24.516Z",
|
|
5
|
+
"sourceCommit": "63a1729ba2c9067e119f60bbd0b7633573045c13",
|
|
6
|
+
"callAccounting": {
|
|
7
|
+
"maximum": 2,
|
|
8
|
+
"actual": 1,
|
|
9
|
+
"candidate": 1,
|
|
10
|
+
"control": 0,
|
|
11
|
+
"retries": 0,
|
|
12
|
+
"replacements": 0,
|
|
13
|
+
"readiness": 0,
|
|
14
|
+
"warmup": 0,
|
|
15
|
+
"judge": 0,
|
|
16
|
+
"generator": 0,
|
|
17
|
+
"expansion": 0,
|
|
18
|
+
"cumulativeStudyCalls": 195,
|
|
19
|
+
"historicalUnknownPublicFinalUsages": 7,
|
|
20
|
+
"newIncompleteFinalUsage": 0
|
|
21
|
+
},
|
|
22
|
+
"result": {
|
|
23
|
+
"stopReason": "CANDIDATE_FUNCTIONAL_FAILURE",
|
|
24
|
+
"originalPassingChecks": 4,
|
|
25
|
+
"originalChecks": 6,
|
|
26
|
+
"receiverPassing": 8,
|
|
27
|
+
"receiverChecks": 18,
|
|
28
|
+
"actualCompleteSkillRead": true,
|
|
29
|
+
"sameWrongProductionSource": true,
|
|
30
|
+
"automaticUpgrade": false,
|
|
31
|
+
"independentValidation": false
|
|
32
|
+
},
|
|
33
|
+
"costs": {
|
|
34
|
+
"allActualInvocations": {
|
|
35
|
+
"input": 205272,
|
|
36
|
+
"cachedInput": 182144,
|
|
37
|
+
"uncachedInput": 23128,
|
|
38
|
+
"output": 6182,
|
|
39
|
+
"durationSeconds": 188.158
|
|
40
|
+
},
|
|
41
|
+
"pairedChange": null,
|
|
42
|
+
"perSuccess": null,
|
|
43
|
+
"sourceHistoricalArchive": "evidence/artifacts/2026-10-15-independent-comparison-regression-stop/package.tar.gz",
|
|
44
|
+
"sourceHistoricalArchiveSha256": "6a4d29e55a1b48b7e8cd4e790eb057341b08e92ede7e6fe903a015a6edfe3ed6",
|
|
45
|
+
"priorNativeKnownLowerBound": {
|
|
46
|
+
"input": 50254565,
|
|
47
|
+
"cachedInput": 43946752,
|
|
48
|
+
"uncachedInput": 6307813,
|
|
49
|
+
"output": 1485062,
|
|
50
|
+
"durationSeconds": 51944.802
|
|
51
|
+
},
|
|
52
|
+
"cumulativeNativeKnownLowerBound": {
|
|
53
|
+
"input": 50459837,
|
|
54
|
+
"cachedInput": 44128896,
|
|
55
|
+
"uncachedInput": 6330941,
|
|
56
|
+
"output": 1491244,
|
|
57
|
+
"durationSeconds": 52132.96
|
|
58
|
+
},
|
|
59
|
+
"qualifiedUnattestedSupplementUnchanged": {
|
|
60
|
+
"input": 16477,
|
|
61
|
+
"cachedInput": 13184,
|
|
62
|
+
"uncachedInput": 3293,
|
|
63
|
+
"output": 5,
|
|
64
|
+
"durationSeconds": 0
|
|
65
|
+
},
|
|
66
|
+
"notACompleteBill": true
|
|
67
|
+
},
|
|
68
|
+
"guards": {
|
|
69
|
+
"controllerOfflineTests": 24,
|
|
70
|
+
"allPassed": true,
|
|
71
|
+
"originalNativeSealVerified": true,
|
|
72
|
+
"originalNativeSealSha256": "daf48aa1c1e5c9aacf24e9239139c04440ea4faf73d7bcd3a98cdefc77b9375a",
|
|
73
|
+
"declarationPinsVerified": 23,
|
|
74
|
+
"powerAssertionsReleased": true,
|
|
75
|
+
"powerAnomalies": 0,
|
|
76
|
+
"timingAnomaly": null,
|
|
77
|
+
"tokenOvershoot": false,
|
|
78
|
+
"sourceAndInputsNotMutated": true,
|
|
79
|
+
"completeNativeComponentAudit": false
|
|
80
|
+
},
|
|
81
|
+
"verification": {
|
|
82
|
+
"projectTests": 556,
|
|
83
|
+
"projectFailures": 0,
|
|
84
|
+
"projectSkips": 0,
|
|
85
|
+
"projectLogSha256": "c682332cf834f3074f5e28023d57533094f08ed740bea0ac5c6cd2ad0da8667b",
|
|
86
|
+
"controllerTestLogSha256": "756114d143eb154ab1ab8787f993f3841ca803a0c75507ffd02512d4e437dcec",
|
|
87
|
+
"previousFilesUnchanged": 2580,
|
|
88
|
+
"checkpointSha256": "8bef4314af8d6bbbbeea52c26f8cac0f50ad932777f1d3fe366d8ac928963bd6",
|
|
89
|
+
"freshArchiveReplay": true,
|
|
90
|
+
"archiveSha256": "b520022e2c6250bfa2b20c864e2f63d9436647a05d69b16b312ec636d36a0a43"
|
|
91
|
+
},
|
|
92
|
+
"cleanup": {
|
|
93
|
+
"disposableCopiesRemoved": 4,
|
|
94
|
+
"filesRemoved": 1297,
|
|
95
|
+
"reclaimedBytes": 10362255,
|
|
96
|
+
"onlyIndexedBackedReplicas": true,
|
|
97
|
+
"originalNativeFailuresRetained": true,
|
|
98
|
+
"backingArchivesVerified": true
|
|
99
|
+
},
|
|
100
|
+
"files": [
|
|
101
|
+
{
|
|
102
|
+
"path": "evidence/2026-10-15-receiver-mechanism-stop.md",
|
|
103
|
+
"sha256": "8bd46daa2dd23fd9aeb183b91edc3b4ff1bc839a2e58d0a70ffe296fd52c2ba8"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"path": "evidence/artifacts/2026-10-15-receiver-mechanism-stop/README.md",
|
|
107
|
+
"sha256": "82a02b5816c44dba17b81f137e1438ce9f2596a49a60c9b812106a2733d35578"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"path": "evidence/artifacts/2026-10-15-receiver-mechanism-stop/package.tar.gz",
|
|
111
|
+
"sha256": "b520022e2c6250bfa2b20c864e2f63d9436647a05d69b16b312ec636d36a0a43"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"path": "evidence/artifacts/2026-10-15-receiver-mechanism-stop/verification.json",
|
|
115
|
+
"sha256": "72ceda4787782b0839e7b422cdd3825b54dc43b5bd7258dc1aa2168904425e6a"
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"at": "2026-10-15T14:27:38.462Z",
|
|
3
|
+
"archiveSha256": "b520022e2c6250bfa2b20c864e2f63d9436647a05d69b16b312ec636d36a0a43",
|
|
4
|
+
"archiveBytes": 630986,
|
|
5
|
+
"files": 284,
|
|
6
|
+
"removedReasoning": 0,
|
|
7
|
+
"omittedPrivateInputs": 1,
|
|
8
|
+
"modelCalls": 0,
|
|
9
|
+
"replay": {
|
|
10
|
+
"modelCalls": 0,
|
|
11
|
+
"savedActualCalls": 1,
|
|
12
|
+
"controlExecuted": false,
|
|
13
|
+
"originalPassingChecks": 4,
|
|
14
|
+
"originalChecks": 6,
|
|
15
|
+
"receiverPassing": 8,
|
|
16
|
+
"receiverChecks": 18,
|
|
17
|
+
"controllerTests": 24,
|
|
18
|
+
"actualSkillRead": true,
|
|
19
|
+
"sameWrongProductionCode": true,
|
|
20
|
+
"regressionDiagnostic": true,
|
|
21
|
+
"costsAndBudgetReplayed": true,
|
|
22
|
+
"knownTotals": {
|
|
23
|
+
"input": 205272,
|
|
24
|
+
"cachedInput": 182144,
|
|
25
|
+
"uncachedInput": 23128,
|
|
26
|
+
"output": 6182,
|
|
27
|
+
"durationSeconds": 188.158
|
|
28
|
+
},
|
|
29
|
+
"cumulativeStudyCalls": 195,
|
|
30
|
+
"historicalUnknownPublicFinalUsages": 7,
|
|
31
|
+
"automaticUpgrade": false,
|
|
32
|
+
"decision": "candidate-failed",
|
|
33
|
+
"completeNativeComponentAudit": false,
|
|
34
|
+
"derivedExport": true
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Matt Pocock
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: diagnosing-bugs
|
|
3
|
+
description: Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Diagnosing Bugs
|
|
7
|
+
|
|
8
|
+
Turn the reported failure into a minimal repair and a retained regression at the
|
|
9
|
+
real caller seam. Choose diagnostic work from remaining uncertainty.
|
|
10
|
+
|
|
11
|
+
Inspect the relevant caller, implementation, test command and required repository
|
|
12
|
+
guidance together where practical. Run a small red-capable test or replay before
|
|
13
|
+
changing production code. Preserve the original interaction: a single caller or
|
|
14
|
+
direct connection can hide a failure that needs multiple callers or reentrancy.
|
|
15
|
+
|
|
16
|
+
Test the strongest evidence-backed explanation. Rank competing explanations only
|
|
17
|
+
while they remain plausible, with falsifiable predictions and one-variable
|
|
18
|
+
probes. Expand when observations contradict it, rather than filling fixed phases.
|
|
19
|
+
|
|
20
|
+
For receiver (`this`) failures in callbacks or injected functions, establish the
|
|
21
|
+
call convention from the API and supplied function before encoding it in a test
|
|
22
|
+
double. Check a plausible alternative receiver and preserve explicit bindings;
|
|
23
|
+
a test double that assumes the proposed receiver is not independent evidence.
|
|
24
|
+
|
|
25
|
+
At a mutable or callback boundary, verify the **whole public contract**: returned
|
|
26
|
+
value/status, callback values and event reasons, as well as the resulting data.
|
|
27
|
+
A callback can change state before the enclosing operation returns. Derive the
|
|
28
|
+
expected behavior from the documented API and caller, not an internal snapshot.
|
|
29
|
+
Distinguish application values from transient wrappers; cover relevant histories
|
|
30
|
+
with no prior value, the same value and a different value. Removing a duplicate
|
|
31
|
+
event or producing the correct final data can still leave a wrong return or reason.
|
|
32
|
+
Include repeated calls or cancellation when the changed boundary reaches them.
|
|
33
|
+
|
|
34
|
+
Bound asynchronous probes so missing completion fails instead of waiting forever.
|
|
35
|
+
Prefer controlled scheduling and observable events to arbitrary sleeps. For flaky
|
|
36
|
+
failures, pin state and measure reproduction rate. For performance defects,
|
|
37
|
+
measure the reported workload before changing code.
|
|
38
|
+
|
|
39
|
+
Make the smallest repair justified by the signal. After the final change, use one
|
|
40
|
+
covering command for the regression and relevant existing checks when possible.
|
|
41
|
+
Separately replay the original scenario if the retained case no longer represents
|
|
42
|
+
it. Repeat or broaden for new edits, affected boundaries, contradictory evidence
|
|
43
|
+
or measured flakiness; preserve supplied tests and accepted alternative behavior.
|
|
44
|
+
|
|
45
|
+
If no meaningful signal or faithful seam is available, state what was tried and
|
|
46
|
+
what access or artifact is missing. Use `scripts/hitl-loop.template.sh` only when
|
|
47
|
+
a human action is required. An untested hypothesis is not a diagnosis.
|
|
48
|
+
|
|
49
|
+
Remove temporary probes, inspect the final diff and report executed evidence and
|
|
50
|
+
material limitations. Redact credentials in captured artifacts. Keep external
|
|
51
|
+
changes within the user's authorization; never change a grader to obtain a pass.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Human-in-the-loop reproduction loop.
|
|
3
|
+
# Copy this file, edit the steps below, and run it.
|
|
4
|
+
# The agent runs the script; the user follows prompts in their terminal.
|
|
5
|
+
#
|
|
6
|
+
# Usage:
|
|
7
|
+
# bash hitl-loop.template.sh
|
|
8
|
+
#
|
|
9
|
+
# Two helpers:
|
|
10
|
+
# step "<instruction>" → show instruction, wait for Enter
|
|
11
|
+
# capture VAR "<question>" → show question, read response into VAR
|
|
12
|
+
#
|
|
13
|
+
# At the end, captured values are printed as KEY=VALUE for the agent to parse.
|
|
14
|
+
#
|
|
15
|
+
# `capture` prints its value back to the terminal, where the agent reads it,
|
|
16
|
+
# so capture observations, and leave signing in to the user as a `step`.
|
|
17
|
+
|
|
18
|
+
set -euo pipefail
|
|
19
|
+
|
|
20
|
+
step() {
|
|
21
|
+
printf '\n>>> %s\n' "$1"
|
|
22
|
+
read -r -p " [Enter when done] " _
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
capture() {
|
|
26
|
+
local var="$1" question="$2" answer
|
|
27
|
+
printf '\n>>> %s\n' "$question"
|
|
28
|
+
read -r -p " > " answer
|
|
29
|
+
printf -v "$var" '%s' "$answer"
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
# --- edit below ---------------------------------------------------------
|
|
33
|
+
|
|
34
|
+
step "Open the app at http://localhost:3000 and sign in."
|
|
35
|
+
|
|
36
|
+
capture ERRORED "Click the 'Export' button. Did it throw an error? (y/n)"
|
|
37
|
+
|
|
38
|
+
capture ERROR_MSG "Paste the error message (or 'none'):"
|
|
39
|
+
|
|
40
|
+
# --- edit above ---------------------------------------------------------
|
|
41
|
+
|
|
42
|
+
printf '\n--- Captured ---\n'
|
|
43
|
+
printf 'ERRORED=%s\n' "$ERRORED"
|
|
44
|
+
printf 'ERROR_MSG=%s\n' "$ERROR_MSG"
|
package/package.json
CHANGED
package/skills/skillfit/SKILL.md
CHANGED
|
@@ -10,7 +10,7 @@ truth for all numbers; your job is to pick the right command, run it, and interp
|
|
|
10
10
|
|
|
11
11
|
## Prerequisites
|
|
12
12
|
|
|
13
|
-
Check availability with `npx skillfit@0.
|
|
13
|
+
Check availability with `npx skillfit@0.10.0 --version`, or `node dist/cli.js --version` inside a clone.
|
|
14
14
|
If neither works, tell the user to install from https://github.com/remote-controlled-man/skillfit and stop.
|
|
15
15
|
|
|
16
16
|
## Which command for which question
|
|
@@ -25,6 +25,11 @@ If neither works, tell the user to install from https://github.com/remote-contro
|
|
|
25
25
|
| "这个 MCP 能不能连上 / is this MCP catalog valid" | `skillfit mcp check <probe.json>` — read-only discovery; calls no tools |
|
|
26
26
|
| "这个 MCP / AGENTS.md 真的有帮助吗" | `skillfit eval <experiment-dir> --bench <bench> --agent <id> --trials 3`; follow the [configuration experiment guide](https://github.com/remote-controlled-man/skillfit/blob/main/docs/config-experiments.md) |
|
|
27
27
|
| "建一个 bench" | `skillfit bench init [dir]` then `skillfit bench check [dir]` |
|
|
28
|
+
| "做代码修改 case" | `bench init <dir> --kind command --dry-run`, then apply within the authorized scope; replace the teaching case with the real fixture, prompt, verifier and oracle |
|
|
29
|
+
| "给 Agent 看 case 校验失败原因" | `bench check <dir> --json` — offline gate IDs, evidence and remediation; rejects calibration |
|
|
30
|
+
| "查看或管理 case" | `bench list <dir> --json`, `bench show <dir> <id> --json`; preview `bench edit <dir> <id> --set field=value --json` or `bench remove <dir> <id> --json` |
|
|
31
|
+
| "只测几个 case" | Repeat `eval --task <id>` or set request `taskIds`; preview the selected budget and keep validation independent |
|
|
32
|
+
| "把结果交给另一台机器复现" | Preview `report eval <run-dir> --export <new-dir> --json`, then apply within the authorized scope; read the [portable package contract](https://github.com/remote-controlled-man/skillfit/blob/main/docs/replay-packages.md) for matching inputs, stopped costs and sharing review |
|
|
28
33
|
| "把这次翻车存成任务" | `skillfit bench add <bench> --freeze --task <id> --prompt "..." --verifier-cmd "<cmd>"` |
|
|
29
34
|
| "帮我起草 verifier" | same but `--decompose --agent <id>` — an agent drafts verifier + oracle; admitted only if the NOP + oracle gates pass |
|
|
30
35
|
|
|
@@ -36,7 +41,7 @@ kimi-code and codex only.
|
|
|
36
41
|
|
|
37
42
|
Real eval runs cost tokens and time. Before any non-dry-run eval:
|
|
38
43
|
|
|
39
|
-
1. Run with `--dry-run` and show
|
|
44
|
+
1. Run with `--dry-run` and show planned calls (selected tasks × trials × conditions, plus enabled judges).
|
|
40
45
|
2. State the call ceiling and known cost limits. Continue within existing spending authorization; ask only when the proposed run exceeds it or spending has not been authorized.
|
|
41
46
|
|
|
42
47
|
## Interpretation discipline (do not skip)
|
|
@@ -57,6 +62,9 @@ The default policy needs a positive quality gain. Explicit policy version 2 with
|
|
|
57
62
|
observed pass/score/check regression. Declare the objective before calls and read
|
|
58
63
|
`costs.efficiency`; a tied quality result stays inconclusive and is not equivalence.
|
|
59
64
|
Missing usage or an incomplete batch cannot authorize adoption under either objective.
|
|
65
|
+
Optional request `spendingBudget` (0.10.0+) sets five whole-batch stop lines;
|
|
66
|
+
reaching a line or losing complete final usage stops subsequent calls. An in-flight
|
|
67
|
+
call can overshoot; do not treat it as a provider hard cap or retry permission.
|
|
60
68
|
|
|
61
69
|
- Read the verdict line, the discordant-pair counts, and the CI — not just the delta. `inconclusive` means
|
|
62
70
|
the run cannot tell, not that the skill is useless.
|
|
@@ -70,8 +78,12 @@ Missing usage or an incomplete batch cannot authorize adoption under either obje
|
|
|
70
78
|
|
|
71
79
|
## Safety
|
|
72
80
|
|
|
73
|
-
- `report` and `doctor` are
|
|
81
|
+
- `report` and `doctor` are read-only except explicit `report eval --export --yes`,
|
|
82
|
+
which writes a fresh local replay directory. Export calls no model; running
|
|
83
|
+
`reproduce.mjs` executes trusted verifiers. Review project data before sharing.
|
|
74
84
|
- `mcp check` starts the configured local server and performs discovery only; it never calls a tool.
|
|
75
85
|
- `eval` writes under the declared runs root (`runs/` by default, gitignored).
|
|
76
|
-
- `bench init` / `bench add`
|
|
77
|
-
|
|
86
|
+
- `bench init` / `bench add` show a plan before writing; `bench edit/remove` default
|
|
87
|
+
to a plan and apply with `--yes`, with backup and validation. Removal preserves
|
|
88
|
+
files and cannot remove the last registration. Use existing authorization for
|
|
89
|
+
scoped writes; ask only when that authorization is missing.
|