skillfit 0.8.0 → 0.9.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 +59 -6
- package/README.zh-CN.md +59 -6
- package/benches/contrib/README.md +4 -1
- package/benches/contrib/oss-minipass/README.md +29 -0
- package/benches/contrib/oss-minipass/bench.json +43 -0
- package/benches/contrib/oss-minipass/fixtures/async-end/LICENSE +15 -0
- package/benches/contrib/oss-minipass/fixtures/async-end/README.md +717 -0
- package/benches/contrib/oss-minipass/fixtures/async-end/UPSTREAM.package.json +39 -0
- package/benches/contrib/oss-minipass/fixtures/async-end/index.js +615 -0
- package/benches/contrib/oss-minipass/fixtures/async-end/package.json +8 -0
- package/benches/contrib/oss-minipass/fixtures/async-end/runtime.cjs +11 -0
- package/benches/contrib/oss-minipass/fixtures/async-end/test.mjs +16 -0
- package/benches/contrib/oss-minipass/fixtures/async-end/vendor/yallist/LICENSE +15 -0
- package/benches/contrib/oss-minipass/fixtures/async-end/vendor/yallist/README.md +204 -0
- package/benches/contrib/oss-minipass/fixtures/async-end/vendor/yallist/iterator.js +8 -0
- package/benches/contrib/oss-minipass/fixtures/async-end/vendor/yallist/package.json +29 -0
- package/benches/contrib/oss-minipass/fixtures/async-end/vendor/yallist/yallist.js +426 -0
- package/benches/contrib/oss-minipass/fixtures/buffered-readable/LICENSE +15 -0
- package/benches/contrib/oss-minipass/fixtures/buffered-readable/README.md +613 -0
- package/benches/contrib/oss-minipass/fixtures/buffered-readable/UPSTREAM.package.json +39 -0
- package/benches/contrib/oss-minipass/fixtures/buffered-readable/index.js +594 -0
- package/benches/contrib/oss-minipass/fixtures/buffered-readable/package.json +8 -0
- package/benches/contrib/oss-minipass/fixtures/buffered-readable/runtime.cjs +11 -0
- package/benches/contrib/oss-minipass/fixtures/buffered-readable/test.mjs +16 -0
- package/benches/contrib/oss-minipass/fixtures/buffered-readable/vendor/yallist/LICENSE +15 -0
- package/benches/contrib/oss-minipass/fixtures/buffered-readable/vendor/yallist/README.md +204 -0
- package/benches/contrib/oss-minipass/fixtures/buffered-readable/vendor/yallist/iterator.js +8 -0
- package/benches/contrib/oss-minipass/fixtures/buffered-readable/vendor/yallist/package.json +29 -0
- package/benches/contrib/oss-minipass/fixtures/buffered-readable/vendor/yallist/yallist.js +426 -0
- package/benches/contrib/oss-minipass/fixtures/end-listeners/LICENSE +15 -0
- package/benches/contrib/oss-minipass/fixtures/end-listeners/README.md +205 -0
- package/benches/contrib/oss-minipass/fixtures/end-listeners/UPSTREAM.package.json +34 -0
- package/benches/contrib/oss-minipass/fixtures/end-listeners/index.js +415 -0
- package/benches/contrib/oss-minipass/fixtures/end-listeners/package.json +8 -0
- package/benches/contrib/oss-minipass/fixtures/end-listeners/runtime.cjs +11 -0
- package/benches/contrib/oss-minipass/fixtures/end-listeners/test.mjs +16 -0
- package/benches/contrib/oss-minipass/fixtures/end-listeners/vendor/yallist/LICENSE +15 -0
- package/benches/contrib/oss-minipass/fixtures/end-listeners/vendor/yallist/README.md +204 -0
- package/benches/contrib/oss-minipass/fixtures/end-listeners/vendor/yallist/iterator.js +8 -0
- package/benches/contrib/oss-minipass/fixtures/end-listeners/vendor/yallist/package.json +29 -0
- package/benches/contrib/oss-minipass/fixtures/end-listeners/vendor/yallist/yallist.js +426 -0
- package/benches/contrib/oss-minipass/fixtures/pipeline-order/LICENSE +15 -0
- package/benches/contrib/oss-minipass/fixtures/pipeline-order/README.md +613 -0
- package/benches/contrib/oss-minipass/fixtures/pipeline-order/UPSTREAM.package.json +39 -0
- package/benches/contrib/oss-minipass/fixtures/pipeline-order/index.js +538 -0
- package/benches/contrib/oss-minipass/fixtures/pipeline-order/package.json +8 -0
- package/benches/contrib/oss-minipass/fixtures/pipeline-order/runtime.cjs +11 -0
- package/benches/contrib/oss-minipass/fixtures/pipeline-order/test.mjs +16 -0
- package/benches/contrib/oss-minipass/fixtures/pipeline-order/vendor/yallist/LICENSE +15 -0
- package/benches/contrib/oss-minipass/fixtures/pipeline-order/vendor/yallist/README.md +204 -0
- package/benches/contrib/oss-minipass/fixtures/pipeline-order/vendor/yallist/iterator.js +8 -0
- package/benches/contrib/oss-minipass/fixtures/pipeline-order/vendor/yallist/package.json +29 -0
- package/benches/contrib/oss-minipass/fixtures/pipeline-order/vendor/yallist/yallist.js +426 -0
- package/benches/contrib/oss-minipass/ground-truth/async-end/LICENSE +15 -0
- package/benches/contrib/oss-minipass/ground-truth/async-end/README.md +717 -0
- package/benches/contrib/oss-minipass/ground-truth/async-end/UPSTREAM.package.json +39 -0
- package/benches/contrib/oss-minipass/ground-truth/async-end/index.js +622 -0
- package/benches/contrib/oss-minipass/ground-truth/async-end/package.json +8 -0
- package/benches/contrib/oss-minipass/ground-truth/async-end/regression.test.mjs +10 -0
- package/benches/contrib/oss-minipass/ground-truth/async-end/runtime.cjs +11 -0
- package/benches/contrib/oss-minipass/ground-truth/async-end/test.mjs +16 -0
- package/benches/contrib/oss-minipass/ground-truth/async-end/vendor/yallist/LICENSE +15 -0
- package/benches/contrib/oss-minipass/ground-truth/async-end/vendor/yallist/README.md +204 -0
- package/benches/contrib/oss-minipass/ground-truth/async-end/vendor/yallist/iterator.js +8 -0
- package/benches/contrib/oss-minipass/ground-truth/async-end/vendor/yallist/package.json +29 -0
- package/benches/contrib/oss-minipass/ground-truth/async-end/vendor/yallist/yallist.js +426 -0
- package/benches/contrib/oss-minipass/ground-truth/buffered-readable/LICENSE +15 -0
- package/benches/contrib/oss-minipass/ground-truth/buffered-readable/README.md +613 -0
- package/benches/contrib/oss-minipass/ground-truth/buffered-readable/UPSTREAM.package.json +39 -0
- package/benches/contrib/oss-minipass/ground-truth/buffered-readable/index.js +596 -0
- package/benches/contrib/oss-minipass/ground-truth/buffered-readable/package.json +8 -0
- package/benches/contrib/oss-minipass/ground-truth/buffered-readable/regression.test.mjs +9 -0
- package/benches/contrib/oss-minipass/ground-truth/buffered-readable/runtime.cjs +11 -0
- package/benches/contrib/oss-minipass/ground-truth/buffered-readable/test.mjs +16 -0
- package/benches/contrib/oss-minipass/ground-truth/buffered-readable/vendor/yallist/LICENSE +15 -0
- package/benches/contrib/oss-minipass/ground-truth/buffered-readable/vendor/yallist/README.md +204 -0
- package/benches/contrib/oss-minipass/ground-truth/buffered-readable/vendor/yallist/iterator.js +8 -0
- package/benches/contrib/oss-minipass/ground-truth/buffered-readable/vendor/yallist/package.json +29 -0
- package/benches/contrib/oss-minipass/ground-truth/buffered-readable/vendor/yallist/yallist.js +426 -0
- package/benches/contrib/oss-minipass/ground-truth/end-listeners/LICENSE +15 -0
- package/benches/contrib/oss-minipass/ground-truth/end-listeners/README.md +205 -0
- package/benches/contrib/oss-minipass/ground-truth/end-listeners/UPSTREAM.package.json +34 -0
- package/benches/contrib/oss-minipass/ground-truth/end-listeners/index.js +407 -0
- package/benches/contrib/oss-minipass/ground-truth/end-listeners/package.json +8 -0
- package/benches/contrib/oss-minipass/ground-truth/end-listeners/regression.test.mjs +9 -0
- package/benches/contrib/oss-minipass/ground-truth/end-listeners/runtime.cjs +11 -0
- package/benches/contrib/oss-minipass/ground-truth/end-listeners/test.mjs +16 -0
- package/benches/contrib/oss-minipass/ground-truth/end-listeners/vendor/yallist/LICENSE +15 -0
- package/benches/contrib/oss-minipass/ground-truth/end-listeners/vendor/yallist/README.md +204 -0
- package/benches/contrib/oss-minipass/ground-truth/end-listeners/vendor/yallist/iterator.js +8 -0
- package/benches/contrib/oss-minipass/ground-truth/end-listeners/vendor/yallist/package.json +29 -0
- package/benches/contrib/oss-minipass/ground-truth/end-listeners/vendor/yallist/yallist.js +426 -0
- package/benches/contrib/oss-minipass/ground-truth/oracle-async-end.mjs +4 -0
- package/benches/contrib/oss-minipass/ground-truth/oracle-buffered-readable.mjs +4 -0
- package/benches/contrib/oss-minipass/ground-truth/oracle-end-listeners.mjs +4 -0
- package/benches/contrib/oss-minipass/ground-truth/oracle-pipeline-order.mjs +4 -0
- package/benches/contrib/oss-minipass/ground-truth/pipeline-order/LICENSE +15 -0
- package/benches/contrib/oss-minipass/ground-truth/pipeline-order/README.md +613 -0
- package/benches/contrib/oss-minipass/ground-truth/pipeline-order/UPSTREAM.package.json +39 -0
- package/benches/contrib/oss-minipass/ground-truth/pipeline-order/index.js +545 -0
- package/benches/contrib/oss-minipass/ground-truth/pipeline-order/package.json +8 -0
- package/benches/contrib/oss-minipass/ground-truth/pipeline-order/regression.test.mjs +19 -0
- package/benches/contrib/oss-minipass/ground-truth/pipeline-order/runtime.cjs +11 -0
- package/benches/contrib/oss-minipass/ground-truth/pipeline-order/test.mjs +16 -0
- package/benches/contrib/oss-minipass/ground-truth/pipeline-order/vendor/yallist/LICENSE +15 -0
- package/benches/contrib/oss-minipass/ground-truth/pipeline-order/vendor/yallist/README.md +204 -0
- package/benches/contrib/oss-minipass/ground-truth/pipeline-order/vendor/yallist/iterator.js +8 -0
- package/benches/contrib/oss-minipass/ground-truth/pipeline-order/vendor/yallist/package.json +29 -0
- package/benches/contrib/oss-minipass/ground-truth/pipeline-order/vendor/yallist/yallist.js +426 -0
- package/benches/contrib/oss-minipass/prompts/async-end.md +3 -0
- package/benches/contrib/oss-minipass/prompts/buffered-readable.md +3 -0
- package/benches/contrib/oss-minipass/prompts/end-listeners.md +3 -0
- package/benches/contrib/oss-minipass/prompts/pipeline-order.md +3 -0
- package/benches/contrib/oss-minipass/provenance.json +87 -0
- package/benches/contrib/oss-minipass/upstream/async-end.patch +83 -0
- package/benches/contrib/oss-minipass/upstream/buffered-readable.patch +79 -0
- package/benches/contrib/oss-minipass/upstream/end-listeners.patch +77 -0
- package/benches/contrib/oss-minipass/upstream/pipeline-order.patch +173 -0
- package/benches/contrib/oss-minipass/verifiers/async-end.mjs +2 -0
- package/benches/contrib/oss-minipass/verifiers/buffered-readable.mjs +2 -0
- package/benches/contrib/oss-minipass/verifiers/cases.mjs +88 -0
- package/benches/contrib/oss-minipass/verifiers/end-listeners.mjs +2 -0
- package/benches/contrib/oss-minipass/verifiers/grade.mjs +35 -0
- package/benches/contrib/oss-minipass/verifiers/pipeline-order.mjs +2 -0
- package/benches/contrib/oss-minipass/verifiers/probe.mjs +10 -0
- package/benches/contrib/oss-minipass/verifiers/regression-evidence.mjs +98 -0
- package/benches/contrib/oss-minipass/verifiers/test-reporter.mjs +29 -0
- package/benches/contrib/oss-normalize-url/README.md +28 -0
- package/benches/contrib/oss-normalize-url/bench.json +14 -0
- package/benches/contrib/oss-normalize-url/fixtures/query-shape/index.d.ts +303 -0
- package/benches/contrib/oss-normalize-url/fixtures/query-shape/index.js +285 -0
- package/benches/contrib/oss-normalize-url/fixtures/query-shape/license +9 -0
- package/benches/contrib/oss-normalize-url/fixtures/query-shape/package.json +57 -0
- package/benches/contrib/oss-normalize-url/fixtures/query-shape/readme.md +312 -0
- package/benches/contrib/oss-normalize-url/fixtures/query-shape/test.js +427 -0
- package/benches/contrib/oss-normalize-url/fixtures/query-shape/test.mjs +4 -0
- package/benches/contrib/oss-normalize-url/ground-truth/oracle-query-shape.mjs +7 -0
- package/benches/contrib/oss-normalize-url/ground-truth/query-shape/index.js +294 -0
- package/benches/contrib/oss-normalize-url/ground-truth/query-shape/license +9 -0
- package/benches/contrib/oss-normalize-url/ground-truth/query-shape.md +12 -0
- package/benches/contrib/oss-normalize-url/ground-truth/query-shape.regression.test.mjs +6 -0
- package/benches/contrib/oss-normalize-url/prompts/query-shape.md +7 -0
- package/benches/contrib/oss-normalize-url/provenance.json +41 -0
- package/benches/contrib/oss-normalize-url/verifiers/cases.mjs +26 -0
- package/benches/contrib/oss-normalize-url/verifiers/probe.mjs +10 -0
- package/benches/contrib/oss-normalize-url/verifiers/query-shape.mjs +40 -0
- package/benches/contrib/oss-normalize-url/verifiers/regression-evidence.mjs +98 -0
- package/benches/contrib/oss-normalize-url/verifiers/test-reporter.mjs +29 -0
- package/benches/contrib/oss-skill-followup/README.md +61 -0
- package/benches/contrib/oss-skill-followup/bench.json +79 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-context-classes/LICENSE +11 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-context-classes/README.md +61 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-context-classes/index.js +93 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-context-classes/package.json +9 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-context-classes/test-clock.mjs +64 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-context-classes/test.mjs +22 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-context-classes/upstream-package.json +47 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-recursive-args/LICENSE +21 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-recursive-args/README.md +69 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-recursive-args/index.js +70 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-recursive-args/package.json +9 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-recursive-args/test-clock.mjs +64 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-recursive-args/test.mjs +22 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-recursive-args/upstream-package.json +27 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-timer-boundary/LICENSE +23 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-timer-boundary/README.md +46 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-timer-boundary/index.js +56 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-timer-boundary/package.json +9 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-timer-boundary/test-clock.mjs +64 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-timer-boundary/test.mjs +22 -0
- package/benches/contrib/oss-skill-followup/fixtures/debounce-timer-boundary/upstream-package.json +22 -0
- package/benches/contrib/oss-skill-followup/fixtures/duration-large-digits/LICENSE +24 -0
- package/benches/contrib/oss-skill-followup/fixtures/duration-large-digits/README.md +469 -0
- package/benches/contrib/oss-skill-followup/fixtures/duration-large-digits/index.js +1645 -0
- package/benches/contrib/oss-skill-followup/fixtures/duration-large-digits/package.json +9 -0
- package/benches/contrib/oss-skill-followup/fixtures/duration-large-digits/test-clock.mjs +64 -0
- package/benches/contrib/oss-skill-followup/fixtures/duration-large-digits/test.mjs +22 -0
- package/benches/contrib/oss-skill-followup/fixtures/duration-large-digits/upstream-package.json +86 -0
- package/benches/contrib/oss-skill-followup/fixtures/duration-plural-count/LICENSE +24 -0
- package/benches/contrib/oss-skill-followup/fixtures/duration-plural-count/README.md +470 -0
- package/benches/contrib/oss-skill-followup/fixtures/duration-plural-count/index.js +1676 -0
- package/benches/contrib/oss-skill-followup/fixtures/duration-plural-count/package.json +9 -0
- package/benches/contrib/oss-skill-followup/fixtures/duration-plural-count/test-clock.mjs +64 -0
- package/benches/contrib/oss-skill-followup/fixtures/duration-plural-count/test.mjs +22 -0
- package/benches/contrib/oss-skill-followup/fixtures/duration-plural-count/upstream-package.json +86 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-falsy-rejection/LICENSE +9 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-falsy-rejection/README.md +136 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-falsy-rejection/index.js +153 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-falsy-rejection/package.json +9 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-falsy-rejection/test-clock.mjs +64 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-falsy-rejection/test.mjs +22 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-falsy-rejection/upstream-package.json +53 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-method-context/LICENSE +9 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-method-context/README.md +92 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-method-context/index.js +57 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-method-context/package.json +9 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-method-context/test-clock.mjs +64 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-method-context/test.mjs +22 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-method-context/upstream-package.json +53 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-overlap-results/LICENSE +9 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-overlap-results/README.md +102 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-overlap-results/index.js +117 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-overlap-results/package.json +9 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-overlap-results/test-clock.mjs +64 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-overlap-results/test.mjs +22 -0
- package/benches/contrib/oss-skill-followup/fixtures/promise-overlap-results/upstream-package.json +53 -0
- package/benches/contrib/oss-skill-followup/ground-truth/debounce-context-classes/index.js +97 -0
- package/benches/contrib/oss-skill-followup/ground-truth/debounce-context-classes/regression.test.mjs +2 -0
- package/benches/contrib/oss-skill-followup/ground-truth/debounce-recursive-args/index.js +72 -0
- package/benches/contrib/oss-skill-followup/ground-truth/debounce-recursive-args/regression.test.mjs +2 -0
- package/benches/contrib/oss-skill-followup/ground-truth/debounce-timer-boundary/index.js +56 -0
- package/benches/contrib/oss-skill-followup/ground-truth/debounce-timer-boundary/regression.test.mjs +2 -0
- package/benches/contrib/oss-skill-followup/ground-truth/duration-large-digits/index.js +1643 -0
- package/benches/contrib/oss-skill-followup/ground-truth/duration-large-digits/regression.test.mjs +2 -0
- package/benches/contrib/oss-skill-followup/ground-truth/duration-plural-count/index.js +1676 -0
- package/benches/contrib/oss-skill-followup/ground-truth/duration-plural-count/regression.test.mjs +2 -0
- package/benches/contrib/oss-skill-followup/ground-truth/oracle-debounce-context-classes.mjs +1 -0
- package/benches/contrib/oss-skill-followup/ground-truth/oracle-debounce-recursive-args.mjs +1 -0
- package/benches/contrib/oss-skill-followup/ground-truth/oracle-debounce-timer-boundary.mjs +1 -0
- package/benches/contrib/oss-skill-followup/ground-truth/oracle-duration-large-digits.mjs +1 -0
- package/benches/contrib/oss-skill-followup/ground-truth/oracle-duration-plural-count.mjs +1 -0
- package/benches/contrib/oss-skill-followup/ground-truth/oracle-promise-falsy-rejection.mjs +1 -0
- package/benches/contrib/oss-skill-followup/ground-truth/oracle-promise-method-context.mjs +1 -0
- package/benches/contrib/oss-skill-followup/ground-truth/oracle-promise-overlap-results.mjs +1 -0
- package/benches/contrib/oss-skill-followup/ground-truth/promise-falsy-rejection/index.js +155 -0
- package/benches/contrib/oss-skill-followup/ground-truth/promise-falsy-rejection/regression.test.mjs +2 -0
- package/benches/contrib/oss-skill-followup/ground-truth/promise-method-context/index.js +57 -0
- package/benches/contrib/oss-skill-followup/ground-truth/promise-method-context/regression.test.mjs +2 -0
- package/benches/contrib/oss-skill-followup/ground-truth/promise-overlap-results/index.js +112 -0
- package/benches/contrib/oss-skill-followup/ground-truth/promise-overlap-results/regression.test.mjs +2 -0
- package/benches/contrib/oss-skill-followup/prompts/debounce-context-classes.md +3 -0
- package/benches/contrib/oss-skill-followup/prompts/debounce-recursive-args.md +3 -0
- package/benches/contrib/oss-skill-followup/prompts/debounce-timer-boundary.md +3 -0
- package/benches/contrib/oss-skill-followup/prompts/duration-large-digits.md +3 -0
- package/benches/contrib/oss-skill-followup/prompts/duration-plural-count.md +3 -0
- package/benches/contrib/oss-skill-followup/prompts/promise-falsy-rejection.md +3 -0
- package/benches/contrib/oss-skill-followup/prompts/promise-method-context.md +3 -0
- package/benches/contrib/oss-skill-followup/prompts/promise-overlap-results.md +3 -0
- package/benches/contrib/oss-skill-followup/provenance.json +730 -0
- package/benches/contrib/oss-skill-followup/test-clock.mjs +64 -0
- package/benches/contrib/oss-skill-followup/verifiers/cases.mjs +214 -0
- package/benches/contrib/oss-skill-followup/verifiers/debounce-context-classes.mjs +1 -0
- package/benches/contrib/oss-skill-followup/verifiers/debounce-recursive-args.mjs +1 -0
- package/benches/contrib/oss-skill-followup/verifiers/debounce-timer-boundary.mjs +1 -0
- package/benches/contrib/oss-skill-followup/verifiers/duration-large-digits.mjs +1 -0
- package/benches/contrib/oss-skill-followup/verifiers/duration-plural-count.mjs +1 -0
- package/benches/contrib/oss-skill-followup/verifiers/grade.mjs +35 -0
- package/benches/contrib/oss-skill-followup/verifiers/probe.mjs +10 -0
- package/benches/contrib/oss-skill-followup/verifiers/promise-falsy-rejection.mjs +1 -0
- package/benches/contrib/oss-skill-followup/verifiers/promise-method-context.mjs +1 -0
- package/benches/contrib/oss-skill-followup/verifiers/promise-overlap-results.mjs +1 -0
- package/benches/contrib/oss-skill-followup/verifiers/regression-evidence.mjs +98 -0
- package/benches/contrib/oss-skill-followup/verifiers/test-reporter.mjs +29 -0
- package/benches/contrib/oss-skill-validation/README.md +36 -0
- package/benches/contrib/oss-skill-validation/bench.json +79 -0
- package/benches/contrib/oss-skill-validation/fixtures/async-concurrency/UPSTREAM.package.json +57 -0
- package/benches/contrib/oss-skill-validation/fixtures/async-concurrency/index.js +281 -0
- package/benches/contrib/oss-skill-validation/fixtures/async-concurrency/license +9 -0
- package/benches/contrib/oss-skill-validation/fixtures/async-concurrency/package.json +8 -0
- package/benches/contrib/oss-skill-validation/fixtures/async-concurrency/readme.md +169 -0
- package/benches/contrib/oss-skill-validation/fixtures/async-concurrency/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/fixtures/cold-thenable/UPSTREAM.package.json +57 -0
- package/benches/contrib/oss-skill-validation/fixtures/cold-thenable/index.js +661 -0
- package/benches/contrib/oss-skill-validation/fixtures/cold-thenable/license +9 -0
- package/benches/contrib/oss-skill-validation/fixtures/cold-thenable/package.json +8 -0
- package/benches/contrib/oss-skill-validation/fixtures/cold-thenable/readme.md +404 -0
- package/benches/contrib/oss-skill-validation/fixtures/cold-thenable/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/fixtures/consumer-stop/UPSTREAM.package.json +57 -0
- package/benches/contrib/oss-skill-validation/fixtures/consumer-stop/index.js +288 -0
- package/benches/contrib/oss-skill-validation/fixtures/consumer-stop/license +9 -0
- package/benches/contrib/oss-skill-validation/fixtures/consumer-stop/package.json +8 -0
- package/benches/contrib/oss-skill-validation/fixtures/consumer-stop/readme.md +190 -0
- package/benches/contrib/oss-skill-validation/fixtures/consumer-stop/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/fixtures/mapper-index/UPSTREAM.package.json +57 -0
- package/benches/contrib/oss-skill-validation/fixtures/mapper-index/index.js +283 -0
- package/benches/contrib/oss-skill-validation/fixtures/mapper-index/license +9 -0
- package/benches/contrib/oss-skill-validation/fixtures/mapper-index/package.json +8 -0
- package/benches/contrib/oss-skill-validation/fixtures/mapper-index/readme.md +190 -0
- package/benches/contrib/oss-skill-validation/fixtures/mapper-index/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/fixtures/source-close/UPSTREAM.package.json +57 -0
- package/benches/contrib/oss-skill-validation/fixtures/source-close/index.js +300 -0
- package/benches/contrib/oss-skill-validation/fixtures/source-close/license +9 -0
- package/benches/contrib/oss-skill-validation/fixtures/source-close/package.json +8 -0
- package/benches/contrib/oss-skill-validation/fixtures/source-close/readme.md +190 -0
- package/benches/contrib/oss-skill-validation/fixtures/source-close/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/fixtures/source-error/UPSTREAM.package.json +57 -0
- package/benches/contrib/oss-skill-validation/fixtures/source-error/index.js +293 -0
- package/benches/contrib/oss-skill-validation/fixtures/source-error/license +9 -0
- package/benches/contrib/oss-skill-validation/fixtures/source-error/package.json +8 -0
- package/benches/contrib/oss-skill-validation/fixtures/source-error/readme.md +190 -0
- package/benches/contrib/oss-skill-validation/fixtures/source-error/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/fixtures/ttl-duration/UPSTREAM.package.json +51 -0
- package/benches/contrib/oss-skill-validation/fixtures/ttl-duration/index.js +261 -0
- package/benches/contrib/oss-skill-validation/fixtures/ttl-duration/license +9 -0
- package/benches/contrib/oss-skill-validation/fixtures/ttl-duration/package.json +8 -0
- package/benches/contrib/oss-skill-validation/fixtures/ttl-duration/readme.md +143 -0
- package/benches/contrib/oss-skill-validation/fixtures/ttl-duration/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/fixtures/ttl-refresh/UPSTREAM.package.json +51 -0
- package/benches/contrib/oss-skill-validation/fixtures/ttl-refresh/index.js +261 -0
- package/benches/contrib/oss-skill-validation/fixtures/ttl-refresh/license +9 -0
- package/benches/contrib/oss-skill-validation/fixtures/ttl-refresh/package.json +8 -0
- package/benches/contrib/oss-skill-validation/fixtures/ttl-refresh/readme.md +143 -0
- package/benches/contrib/oss-skill-validation/fixtures/ttl-refresh/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/ground-truth/async-concurrency/UPSTREAM.package.json +57 -0
- package/benches/contrib/oss-skill-validation/ground-truth/async-concurrency/index.js +281 -0
- package/benches/contrib/oss-skill-validation/ground-truth/async-concurrency/license +9 -0
- package/benches/contrib/oss-skill-validation/ground-truth/async-concurrency/package.json +8 -0
- package/benches/contrib/oss-skill-validation/ground-truth/async-concurrency/readme.md +169 -0
- package/benches/contrib/oss-skill-validation/ground-truth/async-concurrency/regression.test.mjs +115 -0
- package/benches/contrib/oss-skill-validation/ground-truth/async-concurrency/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/ground-truth/cold-thenable/UPSTREAM.package.json +57 -0
- package/benches/contrib/oss-skill-validation/ground-truth/cold-thenable/index.js +663 -0
- package/benches/contrib/oss-skill-validation/ground-truth/cold-thenable/license +9 -0
- package/benches/contrib/oss-skill-validation/ground-truth/cold-thenable/package.json +8 -0
- package/benches/contrib/oss-skill-validation/ground-truth/cold-thenable/readme.md +404 -0
- package/benches/contrib/oss-skill-validation/ground-truth/cold-thenable/regression.test.mjs +115 -0
- package/benches/contrib/oss-skill-validation/ground-truth/cold-thenable/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/ground-truth/consumer-stop/UPSTREAM.package.json +57 -0
- package/benches/contrib/oss-skill-validation/ground-truth/consumer-stop/index.js +293 -0
- package/benches/contrib/oss-skill-validation/ground-truth/consumer-stop/license +9 -0
- package/benches/contrib/oss-skill-validation/ground-truth/consumer-stop/package.json +8 -0
- package/benches/contrib/oss-skill-validation/ground-truth/consumer-stop/readme.md +190 -0
- package/benches/contrib/oss-skill-validation/ground-truth/consumer-stop/regression.test.mjs +115 -0
- package/benches/contrib/oss-skill-validation/ground-truth/consumer-stop/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/ground-truth/mapper-index/UPSTREAM.package.json +57 -0
- package/benches/contrib/oss-skill-validation/ground-truth/mapper-index/index.js +284 -0
- package/benches/contrib/oss-skill-validation/ground-truth/mapper-index/license +9 -0
- package/benches/contrib/oss-skill-validation/ground-truth/mapper-index/package.json +8 -0
- package/benches/contrib/oss-skill-validation/ground-truth/mapper-index/readme.md +190 -0
- package/benches/contrib/oss-skill-validation/ground-truth/mapper-index/regression.test.mjs +115 -0
- package/benches/contrib/oss-skill-validation/ground-truth/mapper-index/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/ground-truth/oracle-async-concurrency.mjs +4 -0
- package/benches/contrib/oss-skill-validation/ground-truth/oracle-cold-thenable.mjs +4 -0
- package/benches/contrib/oss-skill-validation/ground-truth/oracle-consumer-stop.mjs +4 -0
- package/benches/contrib/oss-skill-validation/ground-truth/oracle-mapper-index.mjs +4 -0
- package/benches/contrib/oss-skill-validation/ground-truth/oracle-source-close.mjs +4 -0
- package/benches/contrib/oss-skill-validation/ground-truth/oracle-source-error.mjs +4 -0
- package/benches/contrib/oss-skill-validation/ground-truth/oracle-ttl-duration.mjs +4 -0
- package/benches/contrib/oss-skill-validation/ground-truth/oracle-ttl-refresh.mjs +4 -0
- package/benches/contrib/oss-skill-validation/ground-truth/source-close/UPSTREAM.package.json +57 -0
- package/benches/contrib/oss-skill-validation/ground-truth/source-close/index.js +310 -0
- package/benches/contrib/oss-skill-validation/ground-truth/source-close/license +9 -0
- package/benches/contrib/oss-skill-validation/ground-truth/source-close/package.json +8 -0
- package/benches/contrib/oss-skill-validation/ground-truth/source-close/readme.md +190 -0
- package/benches/contrib/oss-skill-validation/ground-truth/source-close/regression.test.mjs +115 -0
- package/benches/contrib/oss-skill-validation/ground-truth/source-close/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/ground-truth/source-error/UPSTREAM.package.json +57 -0
- package/benches/contrib/oss-skill-validation/ground-truth/source-error/index.js +292 -0
- package/benches/contrib/oss-skill-validation/ground-truth/source-error/license +9 -0
- package/benches/contrib/oss-skill-validation/ground-truth/source-error/package.json +8 -0
- package/benches/contrib/oss-skill-validation/ground-truth/source-error/readme.md +190 -0
- package/benches/contrib/oss-skill-validation/ground-truth/source-error/regression.test.mjs +115 -0
- package/benches/contrib/oss-skill-validation/ground-truth/source-error/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/ground-truth/ttl-duration/UPSTREAM.package.json +51 -0
- package/benches/contrib/oss-skill-validation/ground-truth/ttl-duration/index.js +265 -0
- package/benches/contrib/oss-skill-validation/ground-truth/ttl-duration/license +9 -0
- package/benches/contrib/oss-skill-validation/ground-truth/ttl-duration/package.json +8 -0
- package/benches/contrib/oss-skill-validation/ground-truth/ttl-duration/readme.md +143 -0
- package/benches/contrib/oss-skill-validation/ground-truth/ttl-duration/regression.test.mjs +115 -0
- package/benches/contrib/oss-skill-validation/ground-truth/ttl-duration/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/ground-truth/ttl-refresh/UPSTREAM.package.json +51 -0
- package/benches/contrib/oss-skill-validation/ground-truth/ttl-refresh/index.js +261 -0
- package/benches/contrib/oss-skill-validation/ground-truth/ttl-refresh/license +9 -0
- package/benches/contrib/oss-skill-validation/ground-truth/ttl-refresh/package.json +8 -0
- package/benches/contrib/oss-skill-validation/ground-truth/ttl-refresh/readme.md +143 -0
- package/benches/contrib/oss-skill-validation/ground-truth/ttl-refresh/regression.test.mjs +115 -0
- package/benches/contrib/oss-skill-validation/ground-truth/ttl-refresh/test.mjs +5 -0
- package/benches/contrib/oss-skill-validation/prompts/async-concurrency.md +3 -0
- package/benches/contrib/oss-skill-validation/prompts/cold-thenable.md +3 -0
- package/benches/contrib/oss-skill-validation/prompts/consumer-stop.md +3 -0
- package/benches/contrib/oss-skill-validation/prompts/mapper-index.md +3 -0
- package/benches/contrib/oss-skill-validation/prompts/source-close.md +3 -0
- package/benches/contrib/oss-skill-validation/prompts/source-error.md +3 -0
- package/benches/contrib/oss-skill-validation/prompts/ttl-duration.md +3 -0
- package/benches/contrib/oss-skill-validation/prompts/ttl-refresh.md +3 -0
- package/benches/contrib/oss-skill-validation/provenance.json +119 -0
- package/benches/contrib/oss-skill-validation/upstream/async-concurrency.patch +77 -0
- package/benches/contrib/oss-skill-validation/upstream/cold-thenable.patch +162 -0
- package/benches/contrib/oss-skill-validation/upstream/consumer-stop.patch +217 -0
- package/benches/contrib/oss-skill-validation/upstream/mapper-index.patch +48 -0
- package/benches/contrib/oss-skill-validation/upstream/source-close.patch +179 -0
- package/benches/contrib/oss-skill-validation/upstream/source-error.patch +132 -0
- package/benches/contrib/oss-skill-validation/upstream/ttl-duration.patch +73 -0
- package/benches/contrib/oss-skill-validation/upstream/ttl-refresh.patch +41 -0
- package/benches/contrib/oss-skill-validation/verifiers/async-concurrency.mjs +2 -0
- package/benches/contrib/oss-skill-validation/verifiers/cases.mjs +111 -0
- package/benches/contrib/oss-skill-validation/verifiers/cold-thenable.mjs +2 -0
- package/benches/contrib/oss-skill-validation/verifiers/consumer-stop.mjs +2 -0
- package/benches/contrib/oss-skill-validation/verifiers/grade.mjs +35 -0
- package/benches/contrib/oss-skill-validation/verifiers/mapper-index.mjs +2 -0
- package/benches/contrib/oss-skill-validation/verifiers/probe.mjs +10 -0
- package/benches/contrib/oss-skill-validation/verifiers/regression-evidence.mjs +98 -0
- package/benches/contrib/oss-skill-validation/verifiers/source-close.mjs +2 -0
- package/benches/contrib/oss-skill-validation/verifiers/source-error.mjs +2 -0
- package/benches/contrib/oss-skill-validation/verifiers/test-reporter.mjs +29 -0
- package/benches/contrib/oss-skill-validation/verifiers/ttl-duration.mjs +2 -0
- package/benches/contrib/oss-skill-validation/verifiers/ttl-refresh.mjs +2 -0
- package/dist/cli.js +55 -2
- package/dist/cli.test.js +24 -1
- package/dist/commands/eval-component.js +89 -0
- package/dist/commands/eval-report.js +127 -4
- package/dist/commands/eval-report.test.js +61 -0
- package/dist/commands/eval.js +64 -12
- package/dist/commands/mcp.js +8 -5
- package/dist/harness/codex-usage.js +87 -0
- package/dist/harness/codex-usage.test.js +87 -0
- package/dist/harness/costs.js +123 -0
- package/dist/harness/costs.test.js +92 -0
- package/dist/harness/eval-acceptance.js +134 -0
- package/dist/harness/eval-audit.js +275 -0
- package/dist/harness/eval-component.test.js +571 -0
- package/dist/harness/eval-contract.js +107 -0
- package/dist/harness/eval-efficiency.js +50 -0
- package/dist/harness/eval-efficiency.test.js +56 -0
- package/dist/harness/execution-timing.js +66 -0
- package/dist/harness/execution-timing.test.js +61 -0
- package/dist/harness/executors/cli.js +137 -35
- package/dist/harness/executors/cli.test.js +110 -2
- package/dist/harness/experiment-session.js +53 -9
- package/dist/harness/experiment-session.test.js +45 -1
- package/dist/harness/installed-skill.js +11 -0
- package/dist/harness/native-diff.js +61 -0
- package/dist/harness/native-diff.test.js +53 -0
- package/dist/harness/oss-normalize-url.test.js +64 -0
- package/dist/harness/oss-skill-followup.test.js +59 -0
- package/dist/harness/report.js +9 -1
- package/dist/harness/runner.js +79 -15
- package/dist/harness/runner.test.js +58 -1
- package/dist/harness/skill-revision.test.js +148 -0
- package/dist/harness/types.js +16 -0
- package/dist/matrix/agents.json +2 -1
- package/dist/matrix/agents.schema.json +1 -0
- package/dist/mcp/probe.js +165 -24
- package/dist/mcp/probe.test.js +53 -1
- package/docs/eval-component.md +324 -0
- package/docs/eval-costs.md +117 -0
- package/docs/eval-timing.md +54 -0
- package/docs/examples/eval-request.diagnosing-v2-efficiency.json +28 -0
- package/docs/examples/eval-request.diagnosing-v2.json +24 -0
- package/docs/examples/eval-request.diagnosing-v4-efficiency.json +29 -0
- package/docs/examples/eval-request.diagnosing-v4-followup-efficiency.json +29 -0
- package/docs/experiment-workflow.md +1 -1
- package/docs/growth-roadmap-2026-10.md +6 -4
- package/docs/installed-skill-evaluation.md +26 -2
- package/docs/metrics.md +108 -0
- package/docs/plans/2026-10-13-skill-evolution.md +128 -0
- package/docs/plans/2026-10-13-skill-experiment-cleanup.md +73 -0
- package/docs/plans/2026-10-14-evidence-and-release-sequence.md +36 -0
- package/docs/plans/2026-10-14-skill-followup-restart.md +29 -0
- package/docs/plans/2026-10-14-skill-followup.md +83 -0
- package/docs/releases/0.9.0.md +59 -0
- package/docs/schemas/eval-policy.schema.json +46 -0
- package/docs/schemas/eval-request.schema.json +23 -0
- package/docs/schemas/eval-result.schema.json +47 -0
- package/docs/sharing-results.md +7 -0
- package/docs/skill-revisions.md +88 -0
- package/evidence/2026-10-12-diagnosing-revision.md +170 -0
- package/evidence/2026-10-12-diagnosing-v2.md +151 -0
- package/evidence/2026-10-12-normalize-url-v2-comparison.md +67 -0
- package/evidence/2026-10-12-normalize-url-v2-recovery.md +79 -0
- package/evidence/2026-10-13-debugging-completed-development.md +144 -0
- package/evidence/2026-10-13-debugging-controls-and-sleep-stop.md +122 -0
- package/evidence/2026-10-13-debugging-development-stops.md +108 -0
- package/evidence/2026-10-13-normalize-url-v2-validation.md +154 -0
- package/evidence/2026-10-14-debugging-followup-routing-stop.md +140 -0
- package/evidence/2026-10-14-debugging-independent-validation.md +166 -0
- package/evidence/2026-10-14-debugging-reading-pilot-and-cost-review.md +180 -0
- package/evidence/2026-10-14-debugging-spending-stop.md +77 -0
- package/evidence/README.md +5 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/README.md +107 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/analysis-summary.json +150 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/archive-regrade.json +277 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/artifact-index.json +682 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/calibration-export-index.json +549 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/calibration-records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/calibration-regrade.json +63 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/cost-analysis.json +502 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/environment-verification.json +49 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/interrupted-export-index.json +2961 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/interrupted-records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/interrupted-regrade.json +223 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/manifest.json +589 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/onInsert-counterexample.json +73 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/README.md +24 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/bench.json +37 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-abort/LICENSE +15 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-abort/README.md +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-abort/index.js +1044 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-abort/package.json +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-abort/runtime.mjs +22 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-abort/test.mjs +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/LICENSE.md +55 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/README.md +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/package.json +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/runtime.mjs +22 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/diagnostics-channel-browser.ts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/diagnostics-channel-cjs.cts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/diagnostics-channel-esm.mts +29 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/diagnostics-channel-node.ts +7 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/diagnostics-channel.ts +6 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/index.ts +3148 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/src/perf.ts +17 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-lifecycle/test.mjs +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-size/LICENSE +15 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-size/README.md +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-size/index.js +1028 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-size/package.json +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-size/runtime.mjs +22 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/fixtures/fetch-size/test.mjs +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-abort/LICENSE +15 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-abort/index.js +1053 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-abort.md +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/LICENSE.md +55 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/diagnostics-channel-browser.ts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/diagnostics-channel-cjs.cts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/diagnostics-channel-esm.mts +29 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/diagnostics-channel-node.ts +7 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/diagnostics-channel.ts +6 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/index.ts +3174 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle/src/perf.ts +17 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-lifecycle.md +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-size/LICENSE +15 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-size/index.js +1028 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/fetch-size.md +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/oracle-fetch-abort.mjs +8 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/oracle-fetch-lifecycle.mjs +7 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/oracle-fetch-size.mjs +7 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/ground-truth/oracle.mjs +9 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/prompts/fetch-abort.md +5 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/prompts/fetch-lifecycle.md +5 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/prompts/fetch-size.md +5 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/provenance.json +62 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/runtime.mjs +22 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/verifiers/cases.mjs +74 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/verifiers/fetch-abort.mjs +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/verifiers/fetch-lifecycle.mjs +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/verifiers/fetch-size.mjs +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/verifiers/probe.mjs +14 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/verifiers/shared.mjs +130 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/benches/contrib/oss-lru-cache/verifiers/test-reporter.mjs +29 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/agents.js +26 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/cli.js +316 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/cli.test.js +99 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/bench.js +1035 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/bench.test.js +1061 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/bundle.js +334 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/bundle.test.js +142 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/confirm.js +39 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/doctor.js +399 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/doctor.test.js +280 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/eval-report.js +514 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/eval-report.test.js +321 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/eval.js +405 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/eval.test.js +446 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/install.js +653 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/install.test.js +555 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/mcp.js +23 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/report.js +78 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/report.test.js +110 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/setup.js +95 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/setup.test.js +150 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/upstream.js +210 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/commands/upstream.test.js +139 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/docs.test.js +154 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/frontmatter.js +53 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/frontmatter.test.js +49 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/bench.js +134 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/bench.test.js +109 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/bundle.js +46 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/bundle.test.js +71 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/constants.js +2 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/executors/api.js +68 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/executors/api.test.js +75 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/executors/cli.js +348 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/executors/cli.test.js +402 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/executors/mock.js +34 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/executors/mock.test.js +43 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/experiment-session.js +347 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/experiment-session.test.js +223 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/hash.js +29 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/installed-skill.js +89 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/installed-skill.test.js +162 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/judge.js +108 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/judge.test.js +181 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/kill-tree.js +43 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/kimi-usage.js +94 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/kimi-usage.test.js +62 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/oss-lru-cache.test.js +79 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/oss-regression-witness.test.js +89 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/prompt.js +57 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/prompt.test.js +48 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/receipts.js +297 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/receipts.test.js +148 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/report.js +230 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/report.test.js +297 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/runner.js +649 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/runner.test.js +555 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/skill-revision.test.js +148 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/stats.js +93 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/stats.test.js +124 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/target.js +90 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/target.test.js +60 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/trigger.js +368 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/trigger.test.js +249 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/types.js +1 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/verifier-summary.js +59 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/verifier-summary.test.js +99 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/harness/waza-behavior.test.js +139 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/invocation.js +21 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/matrix/agents.json +200 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/matrix/agents.schema.json +152 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/mcp/probe.js +458 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/mcp/probe.test.js +139 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/dist/version.js +4 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs/SKILL.md +138 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs-compact-v1/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs-compact-v1/SKILL.md +64 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs-compact-v1/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/inputs/diagnosing-bugs-compact-v1/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/plans/2026-10-12-diagnosing-revision-rtk.json +73 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/evidence/plans/2026-10-12-diagnosing-revision.json +69 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/package.json +49 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/scripts/analyze-diagnosing-revision-original.mjs +50 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/scripts/analyze-diagnosing-revision.mjs +57 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/scripts/regrade-diagnosing-revision.mjs +47 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay/scripts/run-diagnosing-revision.mjs +43 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/replay-index.json +590 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/report.md +138 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/runner-changes.patch +556 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/runner-source-additions/docs/skill-revisions.md +80 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/runner-source-additions/src/harness/skill-revision.test.ts +158 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/study-overhead.json +121 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/timeout-partial-usage.json +20 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/validation-export-index.json +3279 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/validation-records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/validation-regrade.json +277 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/README.md +80 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/analysis.json +1230 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/archive-regrade.json +31 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/artifact-index.json +998 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/environment-verification.json +163 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/summary.json +98 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/.agents/skills/diagnosing-bugs/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/.agents/skills/diagnosing-bugs/SKILL.md +64 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/.agents/skills/diagnosing-bugs/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/LICENSE.md +55 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/README.md +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/fetch-lifecycle.test.mjs +210 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/package.json +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/runtime.mjs +22 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/src/diagnostics-channel-browser.ts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/src/diagnostics-channel-cjs.cts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/src/diagnostics-channel-esm.mts +29 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/src/diagnostics-channel-node.ts +7 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/src/diagnostics-channel.ts +6 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/src/index.ts +3156 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/src/perf.ts +17 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-3/test.mjs +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/.agents/skills/diagnosing-bugs/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/.agents/skills/diagnosing-bugs/SKILL.md +64 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/.agents/skills/diagnosing-bugs/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/LICENSE.md +55 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/README.md +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/fetch-lifecycle.test.mjs +307 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/package.json +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/runtime.mjs +22 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/src/diagnostics-channel-browser.ts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/src/diagnostics-channel-cjs.cts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/src/diagnostics-channel-esm.mts +29 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/src/diagnostics-channel-node.ts +7 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/src/diagnostics-channel.ts +6 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/src/index.ts +3153 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/src/perf.ts +17 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/historical-v1-counterexamples/trial-4/test.mjs +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/.agents/skills/diagnosing-bugs/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/.agents/skills/diagnosing-bugs/SKILL.md +64 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/.agents/skills/diagnosing-bugs/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/LICENSE.md +55 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/README.md +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/fetch-lifecycle.test.mjs +210 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/oninsert-application-history.test.mjs +16 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/package.json +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/runtime.mjs +22 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/src/diagnostics-channel-browser.ts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/src/diagnostics-channel-cjs.cts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/src/diagnostics-channel-esm.mts +29 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/src/diagnostics-channel-node.ts +7 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/src/diagnostics-channel.ts +6 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/src/index.ts +3158 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/src/perf.ts +17 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/after/test.mjs +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/.agents/skills/diagnosing-bugs/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/.agents/skills/diagnosing-bugs/SKILL.md +64 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/.agents/skills/diagnosing-bugs/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/LICENSE.md +55 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/README.md +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/fetch-lifecycle.test.mjs +210 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/oninsert-application-history.test.mjs +16 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/package.json +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/runtime.mjs +22 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/src/diagnostics-channel-browser.ts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/src/diagnostics-channel-cjs.cts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/src/diagnostics-channel-esm.mts +29 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/src/diagnostics-channel-node.ts +7 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/src/diagnostics-channel.ts +6 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/src/index.ts +3156 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/src/perf.ts +17 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/before/test.mjs +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/green-test.txt +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/red-test.txt +51 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/repair.patch +26 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/source-before.ts +3156 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/summary.json +99 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/oninsert-control/v1-generated-test-original.mjs +210 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/regression-export-index.json +560 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/regression-manifest.json +676 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/regression-records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/regression-regrade.json +48 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/regression-report.md +122 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/README.md +28 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/bench.json +14 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.d.ts +303 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.js +285 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/license +9 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/package.json +57 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/readme.md +312 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.js +427 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.mjs +4 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/ground-truth/oracle-query-shape.mjs +7 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/index.js +294 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/license +9 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.md +12 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.regression.test.mjs +6 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/prompts/query-shape.md +7 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/provenance.json +41 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/verifiers/cases.mjs +26 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/verifiers/probe.mjs +10 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/verifiers/query-shape.mjs +40 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/verifiers/regression-evidence.mjs +98 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/benches/contrib/oss-normalize-url/verifiers/test-reporter.mjs +29 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/agents.js +26 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/cli.js +316 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/cli.test.js +99 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/bench.js +1035 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/bench.test.js +1061 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/bundle.js +334 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/bundle.test.js +142 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/confirm.js +39 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/doctor.js +399 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/doctor.test.js +280 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/eval-report.js +608 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/eval-report.test.js +367 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/eval.js +405 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/eval.test.js +446 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/install.js +653 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/install.test.js +555 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/mcp.js +23 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/report.js +78 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/report.test.js +110 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/setup.js +95 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/setup.test.js +150 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/upstream.js +210 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/commands/upstream.test.js +139 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/docs.test.js +154 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/frontmatter.js +53 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/frontmatter.test.js +49 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/bench.js +134 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/bench.test.js +109 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/bundle.js +46 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/bundle.test.js +71 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/constants.js +2 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/costs.js +123 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/costs.test.js +92 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/executors/api.js +68 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/executors/api.test.js +75 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/executors/cli.js +362 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/executors/cli.test.js +430 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/executors/mock.js +34 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/executors/mock.test.js +43 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/experiment-session.js +353 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/experiment-session.test.js +223 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/hash.js +29 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/installed-skill.js +89 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/installed-skill.test.js +162 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/judge.js +108 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/judge.test.js +181 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/kill-tree.js +43 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/kimi-usage.js +94 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/kimi-usage.test.js +62 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/oss-lru-cache.test.js +79 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/oss-normalize-url.test.js +64 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/oss-regression-witness.test.js +89 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/prompt.js +57 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/prompt.test.js +48 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/receipts.js +297 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/receipts.test.js +148 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/report.js +233 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/report.test.js +297 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/runner.js +667 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/runner.test.js +591 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/skill-revision.test.js +148 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/stats.js +93 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/stats.test.js +124 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/target.js +90 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/target.test.js +60 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/trigger.js +368 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/trigger.test.js +249 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/types.js +12 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/verifier-summary.js +59 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/verifier-summary.test.js +99 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/harness/waza-behavior.test.js +139 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/invocation.js +21 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/matrix/agents.json +200 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/matrix/agents.schema.json +152 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/mcp/probe.js +458 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/mcp/probe.test.js +139 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/dist/version.js +4 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs/SKILL.md +138 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v1/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v1/SKILL.md +64 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v1/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v1/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v2/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v2/SKILL.md +73 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v2/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-bugs-compact-v2/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/README.md +6 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/bench.json +17 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/LICENSE.md +55 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/README.md +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/package.json +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/runtime.mjs +22 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-browser.ts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-cjs.cts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-esm.mts +29 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-node.ts +7 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel.ts +6 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/index.ts +3148 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/perf.ts +17 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/test.mjs +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/LICENSE.md +55 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-browser.ts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-cjs.cts +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-esm.mts +29 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-node.ts +7 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel.ts +6 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/index.ts +3174 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/perf.ts +17 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle.md +11 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/oracle-fetch-lifecycle.mjs +7 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/oracle.mjs +9 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/prompts/fetch-lifecycle.md +5 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/runtime.mjs +22 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/verifiers/cases.mjs +74 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/verifiers/fetch-abort.mjs +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/verifiers/fetch-lifecycle.mjs +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/verifiers/fetch-size.mjs +3 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/verifiers/probe.mjs +14 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/verifiers/shared.mjs +130 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/inputs/diagnosing-v2-lru-regression/verifiers/test-reporter.mjs +29 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/plans/2026-10-12-diagnosing-v2-candidate.json +9 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/evidence/plans/2026-10-12-diagnosing-v2.json +85 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/package.json +49 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/scripts/analyze-diagnosing-v2.mjs +61 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/scripts/replay-diagnosing-v2-oninsert.mjs +27 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/scripts/replay-diagnosing-v2.mjs +55 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay/scripts/run-diagnosing-v2.mjs +48 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/replay-index.json +610 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/runner-changes.patch +1205 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/runner-source-additions/src/harness/costs.test.ts +98 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/runner-source-additions/src/harness/costs.ts +155 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/runner-source-additions/src/harness/oss-normalize-url.test.ts +69 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/runner-source-additions/src/harness/skill-revision.test.ts +158 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/transfer-export-index.json +440 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/transfer-manifest.json +667 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/transfer-records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/transfer-regrade.json +46 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/transfer-report.md +118 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/README.md +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/artifact-index.json +794 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/export-index.json +26 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/readiness-records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/receipt.json +27 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/README.md +28 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/bench.json +14 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.d.ts +303 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.js +285 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/license +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/package.json +57 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/readme.md +312 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.js +427 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.mjs +4 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/ground-truth/oracle-query-shape.mjs +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/index.js +294 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/license +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.md +12 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.regression.test.mjs +6 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/prompts/query-shape.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/provenance.json +41 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/verifiers/cases.mjs +26 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/verifiers/probe.mjs +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/verifiers/query-shape.mjs +40 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/verifiers/regression-evidence.mjs +98 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/benches/contrib/oss-normalize-url/verifiers/test-reporter.mjs +29 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/agents.js +26 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/cli.js +316 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/cli.test.js +99 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/bench.js +1035 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/bench.test.js +1061 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/bundle.js +334 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/bundle.test.js +142 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/confirm.js +39 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/doctor.js +399 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/doctor.test.js +280 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/eval-report.js +608 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/eval-report.test.js +367 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/eval.js +405 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/eval.test.js +446 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/install.js +653 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/install.test.js +555 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/mcp.js +23 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/report.js +78 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/report.test.js +110 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/setup.js +95 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/setup.test.js +150 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/upstream.js +210 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/commands/upstream.test.js +139 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/docs.test.js +154 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/frontmatter.js +53 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/frontmatter.test.js +49 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/bench.js +134 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/bench.test.js +109 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/bundle.js +46 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/bundle.test.js +71 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/constants.js +2 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/costs.js +123 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/costs.test.js +92 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/execution-timing.js +66 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/execution-timing.test.js +61 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/executors/api.js +68 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/executors/api.test.js +75 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/executors/cli.js +408 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/executors/cli.test.js +484 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/executors/mock.js +34 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/executors/mock.test.js +43 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/experiment-session.js +363 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/experiment-session.test.js +267 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/hash.js +29 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/installed-skill.js +89 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/installed-skill.test.js +162 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/judge.js +108 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/judge.test.js +181 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/kill-tree.js +43 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/kimi-usage.js +94 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/kimi-usage.test.js +62 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/oss-lru-cache.test.js +79 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/oss-normalize-url.test.js +64 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/oss-regression-witness.test.js +89 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/prompt.js +57 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/prompt.test.js +48 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/receipts.js +297 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/receipts.test.js +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/report.js +233 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/report.test.js +297 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/runner.js +675 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/runner.test.js +612 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/skill-revision.test.js +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/stats.js +93 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/stats.test.js +124 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/target.js +90 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/target.test.js +60 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/trigger.js +368 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/trigger.test.js +249 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/types.js +12 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/verifier-summary.js +59 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/verifier-summary.test.js +99 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/harness/waza-behavior.test.js +139 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/invocation.js +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/matrix/agents.json +200 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/matrix/agents.schema.json +152 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/mcp/probe.js +458 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/mcp/probe.test.js +139 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/dist/version.js +4 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/artifacts/2026-10-12-diagnosing-v2/artifact-index.json +998 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/artifact-index.json +1078 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/artifact-index.json +1090 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs/SKILL.md +138 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs-compact-v2/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs-compact-v2/SKILL.md +73 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs-compact-v2/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/inputs/diagnosing-bugs-compact-v2/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/evidence/plans/2026-10-12-normalize-url-v2-available.json +125 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/package.json +49 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/scripts/analyze-normalize-url-v2-available.mjs +64 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/scripts/replay-normalize-url-v2-available.mjs +67 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/scripts/run-normalize-url-v2-available.mjs +136 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/agents.ts +133 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/cli.test.ts +99 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/cli.ts +321 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/bench.test.ts +1368 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/bench.ts +1255 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/bundle.test.ts +159 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/bundle.ts +343 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/confirm.ts +40 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/doctor.test.ts +331 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/doctor.ts +468 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/eval-report.test.ts +381 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/eval-report.ts +669 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/eval.test.ts +508 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/eval.ts +481 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/install.test.ts +716 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/install.ts +737 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/mcp.ts +30 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/report.test.ts +116 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/report.ts +100 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/setup.test.ts +160 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/setup.ts +110 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/upstream.test.ts +145 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/commands/upstream.ts +212 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/docs.test.ts +167 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/frontmatter.test.ts +66 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/frontmatter.ts +54 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/bench.test.ts +126 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/bench.ts +151 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/bundle.test.ts +78 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/bundle.ts +56 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/constants.ts +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/costs.test.ts +98 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/costs.ts +155 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/execution-timing.test.ts +53 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/execution-timing.ts +87 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/executors/api.test.ts +84 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/executors/api.ts +90 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/executors/cli.test.ts +541 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/executors/cli.ts +448 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/executors/mock.test.ts +50 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/executors/mock.ts +46 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/experiment-session.test.ts +227 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/experiment-session.ts +340 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/hash.ts +32 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/installed-skill.test.ts +173 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/installed-skill.ts +92 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/judge.test.ts +209 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/judge.ts +136 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/kill-tree.ts +44 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/kimi-usage.test.ts +69 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/kimi-usage.ts +100 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/oss-lru-cache.test.ts +67 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/oss-normalize-url.test.ts +69 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/oss-regression-witness.test.ts +86 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/prompt.test.ts +53 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/prompt.ts +66 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/receipts.test.ts +186 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/receipts.ts +335 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/report.test.ts +366 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/report.ts +375 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/runner.test.ts +729 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/runner.ts +805 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/skill-revision.test.ts +158 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/stats.test.ts +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/stats.ts +115 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/target.test.ts +77 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/target.ts +102 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/trigger.test.ts +289 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/trigger.ts +515 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/types.ts +101 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/verifier-summary.test.ts +117 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/verifier-summary.ts +70 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/harness/waza-behavior.test.ts +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/invocation.ts +17 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/matrix/agents.json +200 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/matrix/agents.schema.json +152 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/mcp/probe.test.ts +174 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/mcp/probe.ts +467 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/replay/src/version.ts +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/README.md +42 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/analysis.json +600 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/archive-regrade.json +8 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/artifact-index.json +1078 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/contrib-gates.log +72 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/dry-run.log +33 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/export-index.json +404 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/manifest.json +565 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/offline-tests.log +484 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/power.json +18 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/regrade.json +44 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/bench.json +57 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/explain-x1/.skillfit-mock.json +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/explain-x1/SPEC.md +16 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/explain-x1/src/compact.js +18 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/explain-x1/tests/compact.test.js +18 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r1/.skillfit-mock.json +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r1/CHANGES.diff +42 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r1/SPEC.md +16 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r1/src/errors.js +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r1/src/money.js +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r1/src/order.js +13 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r1/tests/order.test.js +17 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r2/.skillfit-mock.json +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r2/CHANGES.diff +81 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r2/SPEC.md +25 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r2/src/errors.js +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r2/src/invoice.js +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r2/src/money.js +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r2/tests/invoice.test.js +13 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r3/.skillfit-mock.json +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r3/CHANGES.diff +76 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r3/SPEC.md +24 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r3/src/errors.js +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r3/src/money.js +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r3/src/pricing.js +20 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/review-r3/tests/pricing.test.js +15 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/summarize-s1/.skillfit-mock.json +16 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/summarize-s1/CHANGES.diff +27 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/summarize-s1/SPEC.md +15 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/summarize-s1/src/discount.js +20 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/summarize-s1/src/errors.js +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/fixtures/summarize-s1/src/money.js +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/oracle-r1.mjs +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/oracle-r2.mjs +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/oracle-r3.mjs +20 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/oracle-summarize-s1.mjs +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/oracle-x1.mjs +18 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/r1.md +22 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/r2.md +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/r3.md +18 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/summarize-s1.md +26 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/ground-truth/x1.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/explain-x1.md +5 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/explain-x1.trigger.md +5 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/review-r1.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/review-r1.trigger.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/review-r2.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/review-r2.trigger.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/review-r3.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/review-r3.trigger.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/summarize-s1.md +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/prompts/summarize-s1.trigger.md +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/verifiers/explain-x1.mjs +30 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/verifiers/review-r2.mjs +66 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/verifiers/review-r3.mjs +60 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/verifiers/seeded-bugs.mjs +74 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/code-review/verifiers/summarize-s1.mjs +80 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/README.md +28 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/bench.json +14 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.d.ts +303 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.js +285 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/license +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/package.json +57 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/readme.md +312 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.js +427 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.mjs +4 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/ground-truth/oracle-query-shape.mjs +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/index.js +294 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/license +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.md +12 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.regression.test.mjs +6 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/prompts/query-shape.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/provenance.json +41 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/verifiers/cases.mjs +26 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/verifiers/probe.mjs +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/verifiers/query-shape.mjs +40 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/verifiers/regression-evidence.mjs +98 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/benches/contrib/oss-normalize-url/verifiers/test-reporter.mjs +29 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/agents.js +26 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/cli.js +316 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/cli.test.js +99 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/bench.js +1035 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/bench.test.js +1061 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/bundle.js +334 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/bundle.test.js +142 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/confirm.js +39 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/doctor.js +399 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/doctor.test.js +280 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/eval-report.js +608 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/eval-report.test.js +367 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/eval.js +405 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/eval.test.js +446 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/install.js +653 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/install.test.js +555 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/mcp.js +23 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/report.js +78 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/report.test.js +110 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/setup.js +95 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/setup.test.js +150 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/upstream.js +210 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/commands/upstream.test.js +139 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/docs.test.js +154 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/frontmatter.js +53 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/frontmatter.test.js +49 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/bench.js +134 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/bench.test.js +109 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/bundle.js +46 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/bundle.test.js +71 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/constants.js +2 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/costs.js +123 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/costs.test.js +92 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/execution-timing.js +66 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/execution-timing.test.js +61 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/executors/api.js +68 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/executors/api.test.js +75 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/executors/cli.js +408 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/executors/cli.test.js +484 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/executors/mock.js +34 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/executors/mock.test.js +43 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/experiment-session.js +363 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/experiment-session.test.js +267 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/hash.js +29 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/installed-skill.js +89 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/installed-skill.test.js +162 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/judge.js +108 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/judge.test.js +181 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/kill-tree.js +43 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/kimi-usage.js +94 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/kimi-usage.test.js +62 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/oss-lru-cache.test.js +79 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/oss-normalize-url.test.js +64 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/oss-regression-witness.test.js +89 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/prompt.js +57 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/prompt.test.js +48 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/receipts.js +297 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/receipts.test.js +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/report.js +233 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/report.test.js +297 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/runner.js +675 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/runner.test.js +612 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/skill-revision.test.js +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/stats.js +93 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/stats.test.js +124 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/target.js +90 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/target.test.js +60 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/trigger.js +368 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/trigger.test.js +249 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/types.js +12 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/verifier-summary.js +59 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/verifier-summary.test.js +99 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/harness/waza-behavior.test.js +139 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/invocation.js +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/matrix/agents.json +200 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/matrix/agents.schema.json +152 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/mcp/probe.js +458 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/mcp/probe.test.js +139 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/dist/version.js +4 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/docs/eval-costs.md +86 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/docs/eval-timing.md +54 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/docs/experiment-workflow.md +15 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/docs/metrics.md +350 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/artifacts/2026-10-12-diagnosing-v2/artifact-index.json +998 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/artifact-index.json +1090 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs/SKILL.md +138 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs-compact-v2/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs-compact-v2/SKILL.md +73 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs-compact-v2/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/inputs/diagnosing-bugs-compact-v2/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/plans/2026-10-12-diagnosing-v2-candidate.json +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/evidence/plans/2026-10-12-normalize-url-v2-comparison.json +110 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/package.json +49 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/scripts/analyze-normalize-url-v2-comparison.mjs +62 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/scripts/replay-normalize-url-v2-comparison.mjs +67 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/scripts/run-normalize-url-v2-comparison.mjs +100 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/agents.ts +133 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/cli.test.ts +99 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/cli.ts +321 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/bench.test.ts +1368 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/bench.ts +1255 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/bundle.test.ts +159 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/bundle.ts +343 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/confirm.ts +40 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/doctor.test.ts +331 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/doctor.ts +468 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/eval-report.test.ts +381 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/eval-report.ts +669 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/eval.test.ts +508 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/eval.ts +481 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/install.test.ts +716 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/install.ts +737 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/mcp.ts +30 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/report.test.ts +116 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/report.ts +100 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/setup.test.ts +160 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/setup.ts +110 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/upstream.test.ts +145 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/upstream.ts +212 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/docs.test.ts +167 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/frontmatter.test.ts +66 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/frontmatter.ts +54 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/bench.test.ts +126 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/bench.ts +151 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/bundle.test.ts +78 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/bundle.ts +56 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/constants.ts +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/costs.test.ts +98 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/costs.ts +155 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/execution-timing.test.ts +53 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/execution-timing.ts +87 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/executors/api.test.ts +84 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/executors/api.ts +90 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/executors/cli.test.ts +541 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/executors/cli.ts +448 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/executors/mock.test.ts +50 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/executors/mock.ts +46 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/experiment-session.test.ts +227 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/experiment-session.ts +340 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/hash.ts +32 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/installed-skill.test.ts +173 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/installed-skill.ts +92 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/judge.test.ts +209 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/judge.ts +136 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/kill-tree.ts +44 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/kimi-usage.test.ts +69 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/kimi-usage.ts +100 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/oss-lru-cache.test.ts +67 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/oss-normalize-url.test.ts +69 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/oss-regression-witness.test.ts +86 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/prompt.test.ts +53 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/prompt.ts +66 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/receipts.test.ts +186 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/receipts.ts +335 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/report.test.ts +366 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/report.ts +375 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/runner.test.ts +729 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/runner.ts +805 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/skill-revision.test.ts +158 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/stats.test.ts +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/stats.ts +115 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/target.test.ts +77 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/target.ts +102 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/trigger.test.ts +289 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/trigger.ts +515 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/types.ts +101 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/verifier-summary.test.ts +117 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/verifier-summary.ts +70 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/harness/waza-behavior.test.ts +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/invocation.ts +17 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/matrix/agents.json +200 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/matrix/agents.schema.json +152 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/mcp/probe.test.ts +174 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/mcp/probe.ts +467 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/version.ts +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay-index.json +1034 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/trust-alias-repair.patch +126 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/README.md +45 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/analysis.json +600 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/archive-regrade.json +8 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/artifact-index.json +1090 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/contrib-gates.log +72 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/dry-run.log +33 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/export-index.json +416 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/manifest.json +565 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/offline-tests.log +482 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/power.json +18 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/prior-sleep-events.txt +8 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/prior-timeout-provenance.json +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/prior-timeout-receipt.json +39 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/regrade.json +44 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/bench.json +57 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/explain-x1/.skillfit-mock.json +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/explain-x1/SPEC.md +16 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/explain-x1/src/compact.js +18 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/explain-x1/tests/compact.test.js +18 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r1/.skillfit-mock.json +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r1/CHANGES.diff +42 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r1/SPEC.md +16 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r1/src/errors.js +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r1/src/money.js +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r1/src/order.js +13 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r1/tests/order.test.js +17 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r2/.skillfit-mock.json +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r2/CHANGES.diff +81 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r2/SPEC.md +25 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r2/src/errors.js +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r2/src/invoice.js +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r2/src/money.js +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r2/tests/invoice.test.js +13 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r3/.skillfit-mock.json +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r3/CHANGES.diff +76 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r3/SPEC.md +24 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r3/src/errors.js +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r3/src/money.js +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r3/src/pricing.js +20 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/review-r3/tests/pricing.test.js +15 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/summarize-s1/.skillfit-mock.json +16 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/summarize-s1/CHANGES.diff +27 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/summarize-s1/SPEC.md +15 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/summarize-s1/src/discount.js +20 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/summarize-s1/src/errors.js +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/fixtures/summarize-s1/src/money.js +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/oracle-r1.mjs +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/oracle-r2.mjs +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/oracle-r3.mjs +20 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/oracle-summarize-s1.mjs +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/oracle-x1.mjs +18 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/r1.md +22 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/r2.md +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/r3.md +18 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/summarize-s1.md +26 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/ground-truth/x1.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/explain-x1.md +5 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/explain-x1.trigger.md +5 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/review-r1.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/review-r1.trigger.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/review-r2.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/review-r2.trigger.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/review-r3.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/review-r3.trigger.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/summarize-s1.md +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/prompts/summarize-s1.trigger.md +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/verifiers/explain-x1.mjs +30 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/verifiers/review-r2.mjs +66 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/verifiers/review-r3.mjs +60 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/verifiers/seeded-bugs.mjs +74 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/code-review/verifiers/summarize-s1.mjs +80 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/README.md +28 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/bench.json +14 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.d.ts +303 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.js +285 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/license +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/package.json +57 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/readme.md +312 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.js +427 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.mjs +4 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/ground-truth/oracle-query-shape.mjs +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/index.js +294 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/license +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.md +12 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.regression.test.mjs +6 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/prompts/query-shape.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/provenance.json +41 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/verifiers/cases.mjs +26 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/verifiers/probe.mjs +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/verifiers/query-shape.mjs +40 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/verifiers/regression-evidence.mjs +98 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/benches/contrib/oss-normalize-url/verifiers/test-reporter.mjs +29 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/agents.js +26 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/cli.js +316 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/cli.test.js +99 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/bench.js +1035 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/bench.test.js +1061 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/bundle.js +334 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/bundle.test.js +142 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/confirm.js +39 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/doctor.js +399 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/doctor.test.js +280 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/eval-report.js +608 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/eval-report.test.js +367 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/eval.js +405 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/eval.test.js +446 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/install.js +653 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/install.test.js +555 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/mcp.js +23 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/report.js +78 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/report.test.js +110 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/setup.js +95 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/setup.test.js +150 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/upstream.js +210 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/commands/upstream.test.js +139 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/docs.test.js +154 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/frontmatter.js +53 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/frontmatter.test.js +49 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/bench.js +134 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/bench.test.js +109 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/bundle.js +46 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/bundle.test.js +71 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/constants.js +2 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/costs.js +123 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/costs.test.js +92 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/execution-timing.js +66 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/execution-timing.test.js +61 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/executors/api.js +68 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/executors/api.test.js +75 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/executors/cli.js +408 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/executors/cli.test.js +484 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/executors/mock.js +34 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/executors/mock.test.js +43 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/experiment-session.js +353 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/experiment-session.test.js +223 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/hash.js +29 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/installed-skill.js +89 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/installed-skill.test.js +162 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/judge.js +108 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/judge.test.js +181 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/kill-tree.js +43 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/kimi-usage.js +94 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/kimi-usage.test.js +62 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/oss-lru-cache.test.js +79 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/oss-normalize-url.test.js +64 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/oss-regression-witness.test.js +89 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/prompt.js +57 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/prompt.test.js +48 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/receipts.js +297 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/receipts.test.js +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/report.js +233 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/report.test.js +297 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/runner.js +675 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/runner.test.js +612 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/skill-revision.test.js +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/stats.js +93 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/stats.test.js +124 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/target.js +90 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/target.test.js +60 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/trigger.js +368 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/trigger.test.js +249 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/types.js +12 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/verifier-summary.js +59 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/verifier-summary.test.js +99 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/harness/waza-behavior.test.js +139 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/invocation.js +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/matrix/agents.json +200 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/matrix/agents.schema.json +152 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/mcp/probe.js +458 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/mcp/probe.test.js +139 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/dist/version.js +4 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/docs/eval-costs.md +86 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/docs/eval-timing.md +47 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/docs/metrics.md +347 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/artifacts/2026-10-12-diagnosing-v2/artifact-index.json +998 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs/SKILL.md +138 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs-compact-v2/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs-compact-v2/SKILL.md +73 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs-compact-v2/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/inputs/diagnosing-bugs-compact-v2/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/plans/2026-10-12-diagnosing-v2-candidate.json +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/evidence/plans/2026-10-12-normalize-url-v2-recovery.json +102 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/package.json +49 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/scripts/analyze-normalize-url-v2-recovery.mjs +62 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/scripts/replay-normalize-url-v2-recovery.mjs +67 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/scripts/run-normalize-url-v2-recovery.mjs +100 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/agents.ts +133 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/cli.test.ts +99 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/cli.ts +321 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/bench.test.ts +1368 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/bench.ts +1255 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/bundle.test.ts +159 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/bundle.ts +343 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/confirm.ts +40 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/doctor.test.ts +331 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/doctor.ts +468 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/eval-report.test.ts +381 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/eval-report.ts +669 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/eval.test.ts +508 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/eval.ts +481 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/install.test.ts +716 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/install.ts +737 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/mcp.ts +30 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/report.test.ts +116 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/report.ts +100 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/setup.test.ts +160 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/setup.ts +110 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/upstream.test.ts +145 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/commands/upstream.ts +212 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/docs.test.ts +167 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/frontmatter.test.ts +66 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/frontmatter.ts +54 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/bench.test.ts +126 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/bench.ts +151 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/bundle.test.ts +78 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/bundle.ts +56 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/constants.ts +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/costs.test.ts +98 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/costs.ts +155 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/execution-timing.test.ts +53 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/execution-timing.ts +87 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/executors/api.test.ts +84 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/executors/api.ts +90 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/executors/cli.test.ts +541 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/executors/cli.ts +448 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/executors/mock.test.ts +50 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/executors/mock.ts +46 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/experiment-session.test.ts +195 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/experiment-session.ts +331 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/hash.ts +32 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/installed-skill.test.ts +173 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/installed-skill.ts +92 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/judge.test.ts +209 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/judge.ts +136 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/kill-tree.ts +44 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/kimi-usage.test.ts +69 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/kimi-usage.ts +100 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/oss-lru-cache.test.ts +67 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/oss-normalize-url.test.ts +69 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/oss-regression-witness.test.ts +86 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/prompt.test.ts +53 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/prompt.ts +66 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/receipts.test.ts +186 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/receipts.ts +335 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/report.test.ts +366 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/report.ts +375 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/runner.test.ts +729 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/runner.ts +805 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/skill-revision.test.ts +158 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/stats.test.ts +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/stats.ts +115 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/target.test.ts +77 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/target.ts +102 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/trigger.test.ts +289 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/trigger.ts +515 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/types.ts +101 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/verifier-summary.test.ts +117 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/verifier-summary.ts +70 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/harness/waza-behavior.test.ts +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/invocation.ts +17 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/matrix/agents.json +200 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/matrix/agents.schema.json +152 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/mcp/probe.test.ts +174 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/mcp/probe.ts +467 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay/src/version.ts +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/replay-index.json +1026 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/timing-repair.patch +371 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/trust-alias-proof.json +8 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/README.md +105 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/all-recovery-costs.json +188 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/analysis.json +735 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/archive-regrade.json +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/artifact-index.json +1122 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/contrib-gates.log +72 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/dry-run.log +34 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/environment-verification.json +153 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/export-index.json +488 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/export-review.json +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/frozen-timing-guard-tests.log +64 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/manifest.json +668 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/native-report.md +119 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/offline-tests.log +484 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/power.json +18 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/prior-packages-verification.json +27 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/readiness-replay.json +12 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/regrade.json +48 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/bench.json +57 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/explain-x1/.skillfit-mock.json +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/explain-x1/SPEC.md +16 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/explain-x1/src/compact.js +18 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/explain-x1/tests/compact.test.js +18 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r1/.skillfit-mock.json +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r1/CHANGES.diff +42 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r1/SPEC.md +16 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r1/src/errors.js +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r1/src/money.js +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r1/src/order.js +13 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r1/tests/order.test.js +17 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r2/.skillfit-mock.json +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r2/CHANGES.diff +81 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r2/SPEC.md +25 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r2/src/errors.js +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r2/src/invoice.js +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r2/src/money.js +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r2/tests/invoice.test.js +13 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r3/.skillfit-mock.json +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r3/CHANGES.diff +76 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r3/SPEC.md +24 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r3/src/errors.js +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r3/src/money.js +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r3/src/pricing.js +20 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/review-r3/tests/pricing.test.js +15 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/summarize-s1/.skillfit-mock.json +16 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/summarize-s1/CHANGES.diff +27 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/summarize-s1/SPEC.md +15 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/summarize-s1/src/discount.js +20 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/summarize-s1/src/errors.js +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/fixtures/summarize-s1/src/money.js +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/oracle-r1.mjs +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/oracle-r2.mjs +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/oracle-r3.mjs +20 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/oracle-summarize-s1.mjs +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/oracle-x1.mjs +18 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/r1.md +22 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/r2.md +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/r3.md +18 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/summarize-s1.md +26 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/ground-truth/x1.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/explain-x1.md +5 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/explain-x1.trigger.md +5 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/review-r1.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/review-r1.trigger.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/review-r2.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/review-r2.trigger.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/review-r3.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/review-r3.trigger.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/summarize-s1.md +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/prompts/summarize-s1.trigger.md +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/verifiers/explain-x1.mjs +30 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/verifiers/review-r2.mjs +66 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/verifiers/review-r3.mjs +60 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/verifiers/seeded-bugs.mjs +74 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/code-review/verifiers/summarize-s1.mjs +80 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/README.md +28 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/bench.json +14 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.d.ts +303 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/index.js +285 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/license +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/package.json +57 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/readme.md +312 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.js +427 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/fixtures/query-shape/test.mjs +4 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/ground-truth/oracle-query-shape.mjs +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/index.js +294 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape/license +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.md +12 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/ground-truth/query-shape.regression.test.mjs +6 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/prompts/query-shape.md +7 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/provenance.json +41 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/verifiers/cases.mjs +26 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/verifiers/probe.mjs +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/verifiers/query-shape.mjs +40 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/verifiers/regression-evidence.mjs +98 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/benches/contrib/oss-normalize-url/verifiers/test-reporter.mjs +29 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/agents.js +26 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/cli.js +316 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/cli.test.js +99 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/bench.js +1035 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/bench.test.js +1061 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/bundle.js +334 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/bundle.test.js +142 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/confirm.js +39 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/doctor.js +399 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/doctor.test.js +280 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/eval-report.js +608 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/eval-report.test.js +367 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/eval.js +405 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/eval.test.js +446 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/install.js +653 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/install.test.js +555 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/mcp.js +23 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/report.js +78 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/report.test.js +110 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/setup.js +95 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/setup.test.js +150 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/upstream.js +210 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/commands/upstream.test.js +139 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/docs.test.js +154 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/frontmatter.js +53 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/frontmatter.test.js +49 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/bench.js +134 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/bench.test.js +109 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/bundle.js +46 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/bundle.test.js +71 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/constants.js +2 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/costs.js +123 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/costs.test.js +92 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/execution-timing.js +66 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/execution-timing.test.js +61 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/executors/api.js +68 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/executors/api.test.js +75 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/executors/cli.js +408 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/executors/cli.test.js +484 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/executors/mock.js +34 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/executors/mock.test.js +43 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/experiment-session.js +363 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/experiment-session.test.js +267 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/hash.js +29 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/installed-skill.js +89 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/installed-skill.test.js +162 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/judge.js +108 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/judge.test.js +181 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/kill-tree.js +43 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/kimi-usage.js +94 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/kimi-usage.test.js +62 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/oss-lru-cache.test.js +79 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/oss-normalize-url.test.js +64 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/oss-regression-witness.test.js +89 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/prompt.js +57 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/prompt.test.js +48 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/receipts.js +297 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/receipts.test.js +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/report.js +233 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/report.test.js +297 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/runner.js +675 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/runner.test.js +612 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/skill-revision.test.js +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/stats.js +93 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/stats.test.js +124 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/target.js +90 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/target.test.js +60 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/trigger.js +368 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/trigger.test.js +249 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/types.js +12 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/verifier-summary.js +59 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/verifier-summary.test.js +99 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/harness/waza-behavior.test.js +139 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/invocation.js +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/matrix/agents.json +200 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/matrix/agents.schema.json +152 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/mcp/probe.js +458 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/mcp/probe.test.js +139 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/dist/version.js +4 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/docs/eval-costs.md +86 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/docs/eval-timing.md +54 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/docs/experiment-workflow.md +15 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/docs/metrics.md +350 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/artifacts/2026-10-12-diagnosing-v2/artifact-index.json +998 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/artifacts/2026-10-12-normalize-url-v2-available/artifact-index.json +794 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/artifact-index.json +1078 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/artifact-index.json +1090 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs/SKILL.md +138 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs-compact-v2/LICENSE +21 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs-compact-v2/SKILL.md +73 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs-compact-v2/agents/openai.yaml +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/inputs/diagnosing-bugs-compact-v2/scripts/hitl-loop.template.sh +44 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/plans/2026-10-12-diagnosing-v2-candidate.json +9 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/evidence/plans/2026-10-12-normalize-url-v2-validated.json +132 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/package.json +49 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/scripts/analyze-normalize-url-recovery-spending.mjs +54 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/scripts/analyze-normalize-url-v2-validated.mjs +64 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/scripts/replay-normalize-url-v2-validated.mjs +67 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/scripts/run-normalize-url-v2-validated.mjs +138 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/agents.ts +133 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/cli.test.ts +99 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/cli.ts +321 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/bench.test.ts +1368 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/bench.ts +1255 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/bundle.test.ts +159 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/bundle.ts +343 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/confirm.ts +40 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/doctor.test.ts +331 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/doctor.ts +468 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/eval-report.test.ts +381 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/eval-report.ts +669 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/eval.test.ts +508 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/eval.ts +481 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/install.test.ts +716 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/install.ts +737 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/mcp.ts +30 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/report.test.ts +116 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/report.ts +100 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/setup.test.ts +160 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/setup.ts +110 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/upstream.test.ts +145 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/commands/upstream.ts +212 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/docs.test.ts +167 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/frontmatter.test.ts +66 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/frontmatter.ts +54 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/bench.test.ts +126 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/bench.ts +151 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/bundle.test.ts +78 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/bundle.ts +56 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/constants.ts +3 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/costs.test.ts +98 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/costs.ts +155 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/execution-timing.test.ts +53 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/execution-timing.ts +87 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/executors/api.test.ts +84 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/executors/api.ts +90 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/executors/cli.test.ts +541 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/executors/cli.ts +448 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/executors/mock.test.ts +50 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/executors/mock.ts +46 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/experiment-session.test.ts +227 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/experiment-session.ts +340 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/hash.ts +32 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/installed-skill.test.ts +173 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/installed-skill.ts +92 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/judge.test.ts +209 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/judge.ts +136 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/kill-tree.ts +44 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/kimi-usage.test.ts +69 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/kimi-usage.ts +100 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/oss-lru-cache.test.ts +67 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/oss-normalize-url.test.ts +69 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/oss-regression-witness.test.ts +86 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/prompt.test.ts +53 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/prompt.ts +66 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/receipts.test.ts +186 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/receipts.ts +335 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/report.test.ts +366 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/report.ts +375 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/runner.test.ts +729 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/runner.ts +805 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/skill-revision.test.ts +158 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/stats.test.ts +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/stats.ts +115 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/target.test.ts +77 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/target.ts +102 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/trigger.test.ts +289 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/trigger.ts +515 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/types.ts +101 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/verifier-summary.test.ts +117 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/verifier-summary.ts +70 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/harness/waza-behavior.test.ts +148 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/invocation.ts +17 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/matrix/agents.json +200 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/matrix/agents.schema.json +152 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/mcp/probe.test.ts +174 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/mcp/probe.ts +467 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay/src/version.ts +10 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/replay-index.json +1046 -0
- package/evidence/artifacts/2026-10-13-debugging-completed-development/README.md +39 -0
- package/evidence/artifacts/2026-10-13-debugging-completed-development/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-13-debugging-controls-and-sleep-stop/README.md +42 -0
- package/evidence/artifacts/2026-10-13-debugging-controls-and-sleep-stop/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-13-debugging-development-stops/README.md +34 -0
- package/evidence/artifacts/2026-10-13-debugging-development-stops/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-14-debugging-followup-routing-stop/README.md +36 -0
- package/evidence/artifacts/2026-10-14-debugging-followup-routing-stop/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-14-debugging-independent-validation/README.md +38 -0
- package/evidence/artifacts/2026-10-14-debugging-independent-validation/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-14-debugging-reading-pilot-and-cost-review/README.md +33 -0
- package/evidence/artifacts/2026-10-14-debugging-reading-pilot-and-cost-review/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-14-debugging-spending-stop/README.md +38 -0
- package/evidence/artifacts/2026-10-14-debugging-spending-stop/package.tar.gz +0 -0
- package/evidence/inputs/diagnosing-bugs-compact-v1/LICENSE +21 -0
- package/evidence/inputs/diagnosing-bugs-compact-v1/SKILL.md +64 -0
- package/evidence/inputs/diagnosing-bugs-compact-v1/agents/openai.yaml +3 -0
- package/evidence/inputs/diagnosing-bugs-compact-v1/scripts/hitl-loop.template.sh +44 -0
- package/evidence/inputs/diagnosing-bugs-compact-v2/LICENSE +21 -0
- package/evidence/inputs/diagnosing-bugs-compact-v2/SKILL.md +73 -0
- package/evidence/inputs/diagnosing-bugs-compact-v2/agents/openai.yaml +3 -0
- package/evidence/inputs/diagnosing-bugs-compact-v2/scripts/hitl-loop.template.sh +44 -0
- package/evidence/inputs/diagnosing-bugs-compact-v3/LICENSE +21 -0
- package/evidence/inputs/diagnosing-bugs-compact-v3/SKILL.md +60 -0
- package/evidence/inputs/diagnosing-bugs-compact-v3/agents/openai.yaml +3 -0
- package/evidence/inputs/diagnosing-bugs-compact-v3/scripts/hitl-loop.template.sh +44 -0
- package/evidence/inputs/diagnosing-bugs-compact-v4/LICENSE +21 -0
- package/evidence/inputs/diagnosing-bugs-compact-v4/SKILL.md +46 -0
- package/evidence/inputs/diagnosing-bugs-compact-v4/agents/openai.yaml +3 -0
- package/evidence/inputs/diagnosing-bugs-compact-v4/scripts/hitl-loop.template.sh +44 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/README.md +6 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/bench.json +17 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/LICENSE.md +55 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/README.md +3 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/package.json +11 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/runtime.mjs +22 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-browser.ts +11 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-cjs.cts +11 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-esm.mts +29 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel-node.ts +7 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/diagnostics-channel.ts +6 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/index.ts +3148 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/src/perf.ts +17 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/fixtures/fetch-lifecycle/test.mjs +11 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/LICENSE.md +55 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-browser.ts +11 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-cjs.cts +11 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-esm.mts +29 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel-node.ts +7 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/diagnostics-channel.ts +6 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/index.ts +3174 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle/src/perf.ts +17 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/fetch-lifecycle.md +11 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/oracle-fetch-lifecycle.mjs +7 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/ground-truth/oracle.mjs +9 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/prompts/fetch-lifecycle.md +5 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/runtime.mjs +22 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/verifiers/cases.mjs +74 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/verifiers/fetch-abort.mjs +3 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/verifiers/fetch-lifecycle.mjs +3 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/verifiers/fetch-size.mjs +3 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/verifiers/probe.mjs +14 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/verifiers/shared.mjs +130 -0
- package/evidence/inputs/diagnosing-v2-lru-regression/verifiers/test-reporter.mjs +29 -0
- package/evidence/plans/2026-10-12-diagnosing-revision-rtk.json +73 -0
- package/evidence/plans/2026-10-12-diagnosing-revision.json +69 -0
- package/evidence/plans/2026-10-12-diagnosing-v2-candidate.json +9 -0
- package/evidence/plans/2026-10-12-diagnosing-v2.json +85 -0
- package/evidence/plans/2026-10-12-normalize-url-v2-available.json +125 -0
- package/evidence/plans/2026-10-12-normalize-url-v2-comparison.json +110 -0
- package/evidence/plans/2026-10-12-normalize-url-v2-recovery.json +102 -0
- package/evidence/plans/2026-10-12-normalize-url-v2-validated.json +132 -0
- package/package.json +1 -1
- package/skills/skillfit/SKILL.md +22 -5
|
@@ -0,0 +1,1205 @@
|
|
|
1
|
+
diff --git a/README.md b/README.md
|
|
2
|
+
index 6f241c1..ad581c1 100644
|
|
3
|
+
--- a/README.md
|
|
4
|
+
+++ b/README.md
|
|
5
|
+
@@ -112,6 +112,14 @@ results, usage coverage and installation evidence gaps. A single task informs
|
|
6
|
+
that task; it does not prove general benefit. Follow the [real OSS workflow](docs/oss-task-evaluation.md)
|
|
7
|
+
or replay the [pinned mcp-use example](benches/contrib/oss-mcp-use-utf8/README.md).
|
|
8
|
+
|
|
9
|
+
+## Compare Skill revisions
|
|
10
|
+
+
|
|
11
|
+
+Use `--baseline-skill` with `--mode installed` to compare a previous complete Skill against a revised version. Both must have the same `SKILL.md` frontmatter name and different content fingerprints. Baseline receives the previous version; treatment receives the target version, with identical natural task prompts and independent outcome verifiers. Plans, manifests and trial receipts pin both versions, including scripts and binary resources. A change to either source stops further calls. The comparison measures revision effects; installation benefit still needs a separate no-Skill baseline. See [the revision workflow](docs/skill-revisions.md).
|
|
12
|
+
+
|
|
13
|
+
+```bash
|
|
14
|
+
+node dist/cli.js eval ./skill-new --baseline-skill ./skill-old --mode installed --bench ./my-bench --agent codex --trials 5 --dry-run
|
|
15
|
+
+```
|
|
16
|
+
+
|
|
17
|
+
## Test rules and MCP setups
|
|
18
|
+
|
|
19
|
+
Put a `skillfit-experiment.json` next to baseline and treatment project overlays. A rules experiment can add `AGENTS.md`; an MCP experiment can add `.codex/config.toml`, `.mcp.json`, or the path defined for another supported agent. skillfit copies the same task fixture into both arms, snapshots it for an identical prompt, then applies each overlay so the local agent discovers configuration through its normal loader.
|
|
20
|
+
@@ -140,6 +148,8 @@ Try the synthetic example below, then replace its path with the `Manifest:` path
|
|
21
|
+
node dist/cli.js report eval docs/examples/eval-manifest.synthetic.json
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
+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).
|
|
25
|
+
+
|
|
26
|
+
## Selectable Codex setup
|
|
27
|
+
|
|
28
|
+
From a fresh clone, inspect the source catalog of 67 installable Skills with `--list`, then use repeated `--skill` flags to select only those relevant to your tasks. The seven retired local Skills are listed with reasons. `--starter` preserves the original 13-Skill selection, which has not been evaluated as a set; `--all` selects all 67 and is not a recommended default. The catalog checks sources and installation, not efficacy: only eight entries have limited historical paired tests, and none has proven benefit for the current pinned Skill versions and Codex model. The setup command fetches selected third-party Skills from pinned author commits, verifies SHA-256 hashes, and plans a managed global `AGENTS.md` block. The two locally authored Skills live in this repository. See the [selectable setup guide and evidence summary](docs/selectable-codex.md).
|
|
29
|
+
diff --git a/README.zh-CN.md b/README.zh-CN.md
|
|
30
|
+
index 6732384..04c3a94 100644
|
|
31
|
+
--- a/README.zh-CN.md
|
|
32
|
+
+++ b/README.zh-CN.md
|
|
33
|
+
@@ -109,6 +109,14 @@ node dist/cli.js bench check <bench-dir> --calibrate --agent codex --input works
|
|
34
|
+
报告展示逐项检查结果、使用量覆盖范围和安装决策所缺的证据。单个任务只能说明该任务,不能证明普遍收益。
|
|
35
|
+
详见[真实开源评估流程](docs/oss-task-evaluation.md),或复跑[固定版本的 mcp-use 示例](benches/contrib/oss-mcp-use-utf8/README.md)。
|
|
36
|
+
|
|
37
|
+
+## 比较 Skill 修订版本
|
|
38
|
+
+
|
|
39
|
+
+在 `--mode installed` 下用 `--baseline-skill` 比较旧版完整 Skill 和修订版。两版的 `SKILL.md` frontmatter 名称必须一致,内容指纹必须不同。baseline 获得旧版,treatment 获得目标新版,两组使用相同的自然任务提示和独立的结果验证器。计划、manifest 与逐次运行记录固定两版身份,覆盖脚本和二进制资源;任一来源变化都会停止后续调用。这项比较测量修订效果;安装收益仍需另做无 Skill 基线实验。详见[版本修订流程](docs/skill-revisions.md)。
|
|
40
|
+
+
|
|
41
|
+
+```bash
|
|
42
|
+
+node dist/cli.js eval ./skill-new --baseline-skill ./skill-old --mode installed --bench ./my-bench --agent codex --trials 5 --dry-run
|
|
43
|
+
+```
|
|
44
|
+
+
|
|
45
|
+
## 测试规则与 MCP 配置
|
|
46
|
+
|
|
47
|
+
把 `skillfit-experiment.json` 和 baseline/treatment 项目覆盖层放在同一目录。规则实验可以加入 `AGENTS.md`;MCP 实验可以加入 `.codex/config.toml`、`.mcp.json` 或其他受支持 agent 在能力矩阵中声明的路径。skillfit 会为两组复制相同任务 fixture,先生成完全相同的 prompt 快照,再应用各自覆盖层,让本机 agent 通过正常的项目配置加载器发现配置。
|
|
48
|
+
@@ -137,6 +145,8 @@ node dist/cli.js eval ./context7-experiment --bench ./my-context7-bench --agent
|
|
49
|
+
node dist/cli.js report eval docs/examples/eval-manifest.synthetic.json
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
+新报告分别列出缓存输入、未缓存输入、输出和耗时,并把失败运行的消耗计入每次成功任务的成本。报告同时展示存活配对和全部 agent 调用;超时导致的用量不完整或缺失会单独标记,不会当作零。旧 manifest 会显示这些字段未记录。详见[成本统计](docs/eval-costs.md)。
|
|
53
|
+
+
|
|
54
|
+
## 可选择的 Codex 配置
|
|
55
|
+
|
|
56
|
+
新用户克隆仓库后,可用 `--list` 查看 67 个可安装 Skills 的来源目录,再重复 `--skill` 只选择与自己任务相关的项目;另有 7 个已退役的本机 Skills 会列出原因。`--starter` 保留原来的 13 个供旧用户沿用,整套尚未验证;`--all` 选全部 67 个,不是推荐默认配置。目录验证的是来源和安装,不是效果:其中仅 8 个有有限的历史配对实验,没有任何一个已证明其当前锁定版本对当前 Codex 模型有效。配置命令从作者仓库的固定提交下载所选第三方 Skills,校验 SHA-256,并规划全局 `AGENTS.md` 受管规则块。两份自写 Skills 直接放在本仓库。详见[选择安装指南与证据摘要](docs/selectable-codex.md)。
|
|
57
|
+
diff --git a/docs/installed-skill-evaluation.md b/docs/installed-skill-evaluation.md
|
|
58
|
+
index fc3168c..470ddf7 100644
|
|
59
|
+
--- a/docs/installed-skill-evaluation.md
|
|
60
|
+
+++ b/docs/installed-skill-evaluation.md
|
|
61
|
+
@@ -26,8 +26,17 @@ input automatically; explicit snapshot input and API executors are rejected.
|
|
62
|
+
The destination comes from the agent capability matrix's first project Skill
|
|
63
|
+
directory. No global configuration or global Skill directory is written.
|
|
64
|
+
|
|
65
|
+
+With `--baseline-skill <previous-dir>`, baseline instead receives the previous
|
|
66
|
+
+complete version and treatment receives the target version. Both frontmatter names
|
|
67
|
+
+must match and their complete-resource hashes must differ. This option requires
|
|
68
|
+
+`--mode installed`; inject and single-arm trigger runs reject it. The source guards,
|
|
69
|
+
+fixture-contamination checks, paired error exclusions and call budgets remain in
|
|
70
|
+
+force. See [comparing Skill revisions](skill-revisions.md) for the independent
|
|
71
|
+
+development/validation workflow and interpretation.
|
|
72
|
+
+
|
|
73
|
+
Both arms receive identical natural task prompts. All regular resources, including
|
|
74
|
+
-scripts, hidden files and binary assets, are copied only into treatment. The
|
|
75
|
+
+scripts, hidden files and binary assets, are copied only into treatment by default,
|
|
76
|
+
+or from the respective version into both arms with `--baseline-skill`. The
|
|
77
|
+
fingerprint includes sorted relative paths and bytes, not permissions or empty
|
|
78
|
+
directories. Unsafe install paths, nested source symlinks, destination symlinks,
|
|
79
|
+
existing evaluated-Skill fixture destinations in any matrix project search directory
|
|
80
|
+
@@ -49,6 +58,11 @@ this mode, rather than the injection-only text bundle. Old manifests without
|
|
81
|
+
delivery metadata retain their prior interpretation. Statistics and verdicts are
|
|
82
|
+
unchanged; small studies remain indicative.
|
|
83
|
+
|
|
84
|
+
+Revision comparisons add `baselineTarget` with the previous Skill's name, source,
|
|
85
|
+
+complete-resource file list and SHA-256 hash. `target` continues to identify the
|
|
86
|
+
+treatment. Each `_result.json` identifies the version actually installed in that
|
|
87
|
+
+arm. Manifests without `baselineTarget` retain the existing baseline interpretation.
|
|
88
|
+
+
|
|
89
|
+
Per-trial `_result.json` records delivery and nullable `skillTriggered`. When the
|
|
90
|
+
executor returns a raw stream, `_transcript.jsonl` preserves it. Built-in installed
|
|
91
|
+
execution uses the matrix's JSON stream when available. Read detection is a
|
|
92
|
+
diff --git a/docs/metrics.md b/docs/metrics.md
|
|
93
|
+
index 35b448b..a664e4b 100644
|
|
94
|
+
--- a/docs/metrics.md
|
|
95
|
+
+++ b/docs/metrics.md
|
|
96
|
+
@@ -12,6 +12,14 @@ Additive workflow review 2026-10-09: optional managed-session and native read me
|
|
97
|
+
describe execution coverage and observations. They do not change the v2 statistical formulas,
|
|
98
|
+
verdict thresholds, pairwise exclusions or legal legacy manifest interpretation.
|
|
99
|
+
|
|
100
|
+
+Additive revision review 2026-10-12: `--baseline-skill` in installed mode compares two
|
|
101
|
+
+complete versions of the same Skill. Optional v4 `baselineTarget` records the previous
|
|
102
|
+
+version; `target` records treatment. Both inputs are frozen, and trial receipts identify
|
|
103
|
+
+the installed arm's version. All v2 formulas, verdict thresholds and pairwise exclusions
|
|
104
|
+
+remain unchanged. A revision delta is relative to the previous Skill, not to no Skill;
|
|
105
|
+
+it establishes neither installation benefit nor general non-regression. See
|
|
106
|
+
+[the revision workflow](skill-revisions.md).
|
|
107
|
+
+
|
|
108
|
+
This is the **why**. The **how** — turning one of your own failures into a task that satisfies this
|
|
109
|
+
contract — is [bench-authoring.md](bench-authoring.md).
|
|
110
|
+
|
|
111
|
+
@@ -302,6 +310,20 @@ graded surviving runs that supplied each field. Existing `tokens` totals and
|
|
112
|
+
verdict semantics are unchanged. Missing or partial coverage cannot establish a
|
|
113
|
+
complete overhead claim; legacy totals without coverage are shown as unrecorded.
|
|
114
|
+
|
|
115
|
+
+Optional `tasks[].costs` and `overall.costs` (cost schema 1) add descriptive
|
|
116
|
+
+accounting for surviving graded pairs and all invoked agent runs separately.
|
|
117
|
+
+They partition input into recorded cache-read and uncached tokens, retain
|
|
118
|
+
+failed/excluded invocations' spending, and report each measure per successful
|
|
119
|
+
+task (total spending / successes, including graded failures). Each measure's
|
|
120
|
+
+`final/partial/unknown` coverage sums to its population's run count. Incomplete
|
|
121
|
+
+usage is a known lower bound and suppresses percentage comparisons; missing
|
|
122
|
+
+cache counts are unknown, never zero. Timeouts retain measured elapsed time and
|
|
123
|
+
+available public-transcript usage as partial receipts. Pre-call guard/setup
|
|
124
|
+
+refusals are counted separately and do not enter spending totals. Judge and
|
|
125
|
+
+other cohorts' spending are excluded. These observations introduce no cost
|
|
126
|
+
+significance, monetary estimate or change to the quality protocol. See
|
|
127
|
+
+[evaluation cost accounting](eval-costs.md) for field and denominator rules.
|
|
128
|
+
+
|
|
129
|
+
Rules and MCP targets use the same paired statistics as Skill targets but a different treatment
|
|
130
|
+
mechanism. Both arms start from the same fixture and receive an identical prompt snapshot. The
|
|
131
|
+
baseline/treatment project overlays are applied only after that snapshot, so the local CLI must load
|
|
132
|
+
diff --git a/src/cli.test.ts b/src/cli.test.ts
|
|
133
|
+
index 9fb23f7..f300d05 100644
|
|
134
|
+
--- a/src/cli.test.ts
|
|
135
|
+
+++ b/src/cli.test.ts
|
|
136
|
+
@@ -1,6 +1,6 @@
|
|
137
|
+
import assert from 'node:assert/strict';
|
|
138
|
+
import { spawnSync } from 'node:child_process';
|
|
139
|
+
-import { existsSync, mkdtempSync, readFileSync, rmSync } from 'node:fs';
|
|
140
|
+
+import { cpSync, existsSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
|
|
141
|
+
import { tmpdir } from 'node:os';
|
|
142
|
+
import { join } from 'node:path';
|
|
143
|
+
import { test } from 'node:test';
|
|
144
|
+
@@ -74,3 +74,26 @@ test('baseline calibration plans use the matrix transcript CLI without starting
|
|
145
|
+
assert.equal(result.status, 0, result.stderr); assert.match(result.stdout, /calibration executor: codex: codex exec --json/);
|
|
146
|
+
assert.equal(existsSync(join(cwd, 'runs')), false);
|
|
147
|
+
});
|
|
148
|
+
+
|
|
149
|
+
+test('CLI wires the previous Skill into an installed dry-run and rejects single-arm comparison', t => {
|
|
150
|
+
+ const cwd = mkdtempSync(join(tmpdir(), 'skillfit-cli-revision-'));
|
|
151
|
+
+ t.after(() => rmSync(cwd, { recursive: true, force: true }));
|
|
152
|
+
+ const current = join(cwd, 'new');
|
|
153
|
+
+ const previous = join(cwd, 'old');
|
|
154
|
+
+ for (const dir of [current, previous]) cpSync(join(PACKAGE_ROOT, 'skills', 'skillfit'), dir, { recursive: true });
|
|
155
|
+
+ writeFileSync(join(previous, 'SKILL.md'), readFileSync(join(previous, 'SKILL.md'), 'utf8') + '\nPrevious-version fixture.\n');
|
|
156
|
+
+ const args = ['eval', current, '--baseline-skill', previous, '--bench', join(PACKAGE_ROOT, 'benches', 'code-review'), '--agent', 'codex', '--trials', '1', '--dry-run'];
|
|
157
|
+
+ const result = spawnSync(process.execPath, [CLI, ...args, '--mode', 'installed'], { cwd, encoding: 'utf8', timeout: 30_000 });
|
|
158
|
+
+ assert.equal(result.status, 0, result.stderr);
|
|
159
|
+
+ assert.match(result.stdout, /Baseline\s+: skillfit/);
|
|
160
|
+
+ assert.match(result.stdout, /previous Skill in baseline vs target Skill in treatment/);
|
|
161
|
+
+ assert.match(result.stdout, /installed in both conditions/);
|
|
162
|
+
+ const invalid = spawnSync(process.execPath, [CLI, ...args, '--mode', 'trigger'], { cwd, encoding: 'utf8', timeout: 30_000 });
|
|
163
|
+
+ assert.equal(invalid.status, 1);
|
|
164
|
+
+ assert.match(invalid.stderr, /requires --mode installed/);
|
|
165
|
+
+ const unrelated = spawnSync(process.execPath, [CLI, 'doctor', '--baseline-skill', previous], { cwd, encoding: 'utf8' });
|
|
166
|
+
+ assert.equal(unrelated.status, 1);
|
|
167
|
+
+ assert.match(unrelated.stderr, /applies only to eval/);
|
|
168
|
+
+ assert.equal(unrelated.stdout, '');
|
|
169
|
+
+ assert.equal(existsSync(join(cwd, 'runs')), false);
|
|
170
|
+
+});
|
|
171
|
+
diff --git a/src/cli.ts b/src/cli.ts
|
|
172
|
+
index ce2122c..7c956e7 100644
|
|
173
|
+
--- a/src/cli.ts
|
|
174
|
+
+++ b/src/cli.ts
|
|
175
|
+
@@ -32,6 +32,7 @@ Options:
|
|
176
|
+
--agent <id> Target agent: claude-code | codex | kimi-code (default: all detected)
|
|
177
|
+
--judge-agent <id> Drive the blind judge with a local agent CLI (inject mode; prefer a different family than --agent)
|
|
178
|
+
--mode <mode> Eval mode: inject (default) | installed (paired complete Skill) | trigger (single arm)
|
|
179
|
+
+ --baseline-skill <path> With --mode installed, compare a previous Skill version against the target
|
|
180
|
+
--compete-installed With --mode trigger, copy other user-level Skills into each trial so recall is not an upper bound
|
|
181
|
+
--input <mode> Paired eval or baseline calibration: snapshot (default) | workspace (CLI only)
|
|
182
|
+
--bench <path> Bench directory for eval (default: bundled benches)
|
|
183
|
+
@@ -84,6 +85,7 @@ async function main(): Promise<void> {
|
|
184
|
+
agent: { type: 'string' },
|
|
185
|
+
'judge-agent': { type: 'string' },
|
|
186
|
+
mode: { type: 'string' },
|
|
187
|
+
+ 'baseline-skill': { type: 'string' },
|
|
188
|
+
'compete-installed': { type: 'boolean', default: false },
|
|
189
|
+
input: { type: 'string' },
|
|
190
|
+
bench: { type: 'string' },
|
|
191
|
+
@@ -132,6 +134,9 @@ async function main(): Promise<void> {
|
|
192
|
+
console.log(USAGE);
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
+ if (values['baseline-skill'] !== undefined && command !== 'eval') {
|
|
196
|
+
+ throw new Error('--baseline-skill applies only to eval --mode installed.');
|
|
197
|
+
+ }
|
|
198
|
+
|
|
199
|
+
const common = {
|
|
200
|
+
agent: values.agent,
|
|
201
|
+
@@ -188,6 +193,7 @@ async function main(): Promise<void> {
|
|
202
|
+
await runEval({
|
|
203
|
+
...common,
|
|
204
|
+
skillPath,
|
|
205
|
+
+ baselineSkillPath: values['baseline-skill'],
|
|
206
|
+
bench: values.bench,
|
|
207
|
+
mode,
|
|
208
|
+
inputMode,
|
|
209
|
+
diff --git a/src/commands/eval-report.test.ts b/src/commands/eval-report.test.ts
|
|
210
|
+
index 4394563..2f78697 100644
|
|
211
|
+
--- a/src/commands/eval-report.test.ts
|
|
212
|
+
+++ b/src/commands/eval-report.test.ts
|
|
213
|
+
@@ -4,6 +4,7 @@ import { tmpdir } from 'node:os';
|
|
214
|
+
import { join } from 'node:path';
|
|
215
|
+
import { test } from 'node:test';
|
|
216
|
+
import { parseEvalReport, renderEvalMarkdown, runEvalReport } from './eval-report.js';
|
|
217
|
+
+import { summarizeCosts, type CostObservation, type RunCosts } from '../harness/costs.js';
|
|
218
|
+
|
|
219
|
+
function manifest(): Record<string, unknown> {
|
|
220
|
+
const conditions = {
|
|
221
|
+
@@ -52,6 +53,55 @@ function sixPairManifest(): Record<string, unknown> {
|
|
222
|
+
return value;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
+function costManifest(): Record<string, unknown> {
|
|
226
|
+
+ const value = manifest();
|
|
227
|
+
+ value['trials'] = 3;
|
|
228
|
+
+ const run = (input: number, passed: boolean): CostObservation => ({ executorInvoked: true, passed, error: null,
|
|
229
|
+
+ durationSeconds: 5, tokens: { input, cachedInput: input / 2, output: 2 }, usageStatus: 'final' });
|
|
230
|
+
+ const baseline = [run(10, true), run(10, true), run(10, true)];
|
|
231
|
+
+ const treatment = [run(8, true), run(8, false), { ...run(3, false), durationSeconds: 600, error: 'timeout', usageStatus: 'partial' as const }];
|
|
232
|
+
+ const costs = summarizeCosts({ baseline, treatment }, { baseline: baseline.slice(0, 2), treatment: treatment.slice(0, 2) });
|
|
233
|
+
+ const conditions = { baseline: { passes: 2, trials: 2, errors: 0 }, treatment: { passes: 1, trials: 2, errors: 1 } };
|
|
234
|
+
+ const task = (value['tasks'] as Record<string, unknown>[])[0]!;
|
|
235
|
+
+ Object.assign(task, { costs: structuredClone(costs), conditions, deltaPassRate: -0.5 });
|
|
236
|
+
+ const overall = value['overall'] as Record<string, unknown>;
|
|
237
|
+
+ Object.assign(overall, { costs: structuredClone(costs), conditions, deltaPassRate: -0.5 });
|
|
238
|
+
+ Object.assign(overall['stats'] as Record<string, unknown>, { discordant: { improved: 0, regressed: 1 }, mcnemarP: 1 });
|
|
239
|
+
+ return value;
|
|
240
|
+
+}
|
|
241
|
+
+
|
|
242
|
+
+test('report eval renders cache partitions, per-success regressions and timeout lower bounds', () => {
|
|
243
|
+
+ const output = renderEvalMarkdown(parseEvalReport(costManifest()));
|
|
244
|
+
+ assert.match(output, /Input tokens \| 20 \| 16 \| -20.0% \| 10.000 \/ 16.000 \| \+60.0%/);
|
|
245
|
+
+ assert.match(output, /Input tokens \| 30 \| >= 19 \| n\/a \| 10.000 \/ >= 19.000 \| n\/a/);
|
|
246
|
+
+ assert.match(output, /Cached input tokens/);
|
|
247
|
+
+ assert.match(output, /Uncached input tokens/);
|
|
248
|
+
+ assert.match(output, /Elapsed seconds/);
|
|
249
|
+
+ assert.match(output, /3\/0\/0 \/ 2\/1\/0/);
|
|
250
|
+
+ assert.match(output, /Overall verdict: \*\*inconclusive\*\*/);
|
|
251
|
+
+});
|
|
252
|
+
+
|
|
253
|
+
+test('report eval rejects contradictory cost counts, coverage, partitions and pooled totals', () => {
|
|
254
|
+
+ const scenarios = [
|
|
255
|
+
+ (costs: RunCosts) => { costs.paired.baseline.passes = 0; },
|
|
256
|
+
+ (costs: RunCosts) => { costs.attempts.treatment.metrics.input.coverage.unknown = 3; },
|
|
257
|
+
+ (costs: RunCosts) => { costs.attempts.treatment.metrics.cachedInput.knownTotal = 100; },
|
|
258
|
+
+ (costs: RunCosts) => { costs.attempts.baseline.metrics.output.knownTotal = 99; },
|
|
259
|
+
+ (costs: RunCosts) => { costs.notInvoked.baseline = 1; },
|
|
260
|
+
+ ];
|
|
261
|
+
+ for (const change of scenarios) {
|
|
262
|
+
+ const value = costManifest();
|
|
263
|
+
+ change((value['overall'] as Record<string, unknown>)['costs'] as RunCosts);
|
|
264
|
+
+ assert.throws(() => parseEvalReport(value), /costs|cache partition/);
|
|
265
|
+
+ }
|
|
266
|
+
+});
|
|
267
|
+
+
|
|
268
|
+
+test('report eval keeps legacy manifests readable and does not infer missing cache usage', () => {
|
|
269
|
+
+ const output = renderEvalMarkdown(parseEvalReport(manifest()));
|
|
270
|
+
+ assert.match(output, /all-invocation costs were not recorded in this legacy manifest/);
|
|
271
|
+
+ assert.ok(!output.includes('| Cached input tokens | 0'));
|
|
272
|
+
+});
|
|
273
|
+
+
|
|
274
|
+
test('report eval renders a v4 manifest without executing an agent or writing a file', () => {
|
|
275
|
+
const dir = mkdtempSync(join(tmpdir(), 'skillfit-eval-report-'));
|
|
276
|
+
try {
|
|
277
|
+
@@ -313,3 +363,19 @@ test('installed report validates and distinguishes read observations from task q
|
|
278
|
+
conditions['treatment']!['skillReads'] = { observed: 2, unobserved: 1, unknown: 0 };
|
|
279
|
+
assert.throws(() => parseEvalReport(value), /must total the surviving graded trials/);
|
|
280
|
+
});
|
|
281
|
+
+
|
|
282
|
+
+test('revision report rejects incompatible baseline identities and preserves legacy interpretation', () => {
|
|
283
|
+
+ const value = manifest();
|
|
284
|
+
+ assert.ok(!renderEvalMarkdown(parseEvalReport(value)).includes('Baseline Skill:'));
|
|
285
|
+
+ value['inputMode'] = 'workspace';
|
|
286
|
+
+ value['skillDelivery'] = { mode: 'installed', installDir: '.agents/skills' };
|
|
287
|
+
+ (value['target'] as Record<string, unknown>)['files'] = ['SKILL.md'];
|
|
288
|
+
+ const baseline = { kind: 'skill', name: 'test | Skill', bundleSha256: 'b'.repeat(64), sourceDir: '/previous', files: ['SKILL.md'] };
|
|
289
|
+
+ value['baselineTarget'] = baseline;
|
|
290
|
+
+ assert.match(renderEvalMarkdown(parseEvalReport(value)), /Baseline Skill: test \\?\| Skill/);
|
|
291
|
+
+ for (const change of [{ kind: 'rules' }, { name: 'different' }, { bundleSha256: 'a'.repeat(64) },
|
|
292
|
+
+ { bundleSha256: 'bad' }, { files: ['script.js'] }, { sourceDir: '' }]) {
|
|
293
|
+
+ assert.throws(() => parseEvalReport({ ...value, baselineTarget: { ...baseline, ...change } }), /baselineTarget|fingerprint/);
|
|
294
|
+
+ }
|
|
295
|
+
+ assert.throws(() => parseEvalReport({ ...value, skillDelivery: undefined }), /requires two installed Skill/);
|
|
296
|
+
+});
|
|
297
|
+
diff --git a/src/commands/eval-report.ts b/src/commands/eval-report.ts
|
|
298
|
+
index 942c313..da0e12a 100644
|
|
299
|
+
--- a/src/commands/eval-report.ts
|
|
300
|
+
+++ b/src/commands/eval-report.ts
|
|
301
|
+
@@ -4,6 +4,7 @@ import { CONCLUSIVE_TASKS, CONCLUSIVE_TRIALS, formatP, formatPp1, verdictFor } f
|
|
302
|
+
import { mcnemarExactP } from '../harness/stats.js';
|
|
303
|
+
import { validateSkillInstallDir } from '../harness/installed-skill.js';
|
|
304
|
+
import type { ExperimentSummary } from '../harness/experiment-session.js';
|
|
305
|
+
+import { assertCostTotals, COST_METRICS, renderCostLines, type CostMetric, type CostMeasure, type CostPopulation, type RunCosts } from '../harness/costs.js';
|
|
306
|
+
|
|
307
|
+
const MAX_MANIFEST_BYTES = 16 * 1024 * 1024;
|
|
308
|
+
|
|
309
|
+
@@ -29,6 +30,7 @@ interface FacetRow {
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
interface ReportRow {
|
|
313
|
+
+ costs: RunCosts | null;
|
|
314
|
+
id: string;
|
|
315
|
+
baseline: Counts;
|
|
316
|
+
treatment: Counts;
|
|
317
|
+
@@ -42,6 +44,7 @@ interface ReportData {
|
|
318
|
+
runGroup: string;
|
|
319
|
+
createdAt: string;
|
|
320
|
+
target: { kind: string; name: string; sha256: string };
|
|
321
|
+
+ baselineTarget: { name: string; sha256: string } | null;
|
|
322
|
+
bench: { name: string; sha256: string; taskCount: number };
|
|
323
|
+
executor: { kind: string; model: string };
|
|
324
|
+
trials: number;
|
|
325
|
+
@@ -183,6 +186,7 @@ function row(value: unknown, label: string, id: string): ReportRow {
|
|
326
|
+
const item = object(value, label);
|
|
327
|
+
const conditions = object(item['conditions'], `${label}.conditions`);
|
|
328
|
+
return {
|
|
329
|
+
+ costs: item['costs'] === undefined ? null : parseCosts(item['costs'], `${label}.costs`),
|
|
330
|
+
id,
|
|
331
|
+
baseline: counts(conditions['baseline'], `${label}.conditions.baseline`),
|
|
332
|
+
treatment: counts(conditions['treatment'], `${label}.conditions.treatment`),
|
|
333
|
+
@@ -194,6 +198,73 @@ function row(value: unknown, label: string, id: string): ReportRow {
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
+function parseCosts(value: unknown, label: string): RunCosts {
|
|
338
|
+
+ const item = object(value, label);
|
|
339
|
+
+ if (item['schemaVersion'] !== 1) throw new Error(`${label}.schemaVersion must be 1`);
|
|
340
|
+
+ const scope = (name: 'paired' | 'attempts'): RunCosts[typeof name] => {
|
|
341
|
+
+ const arms = object(item[name], `${label}.${name}`);
|
|
342
|
+
+ const population = (arm: 'baseline' | 'treatment'): CostPopulation => {
|
|
343
|
+
+ const path = `${label}.${name}.${arm}`;
|
|
344
|
+
+ const raw = object(arms[arm], path);
|
|
345
|
+
+ const runs = integer(raw['runs'], `${path}.runs`);
|
|
346
|
+
+ const passes = integer(raw['passes'], `${path}.passes`);
|
|
347
|
+
+ if (passes > runs) throw new Error(`${path}.passes cannot exceed runs`);
|
|
348
|
+
+ const rawMetrics = object(raw['metrics'], `${path}.metrics`);
|
|
349
|
+
+ const metrics = Object.fromEntries(COST_METRICS.map(metric => {
|
|
350
|
+
+ const measure = object(rawMetrics[metric], `${path}.metrics.${metric}`);
|
|
351
|
+
+ const coverage = object(measure['coverage'], `${path}.metrics.${metric}.coverage`);
|
|
352
|
+
+ const parsed: CostMeasure = {
|
|
353
|
+
+ knownTotal: number(measure['knownTotal'], `${path}.metrics.${metric}.knownTotal`, 0),
|
|
354
|
+
+ coverage: {
|
|
355
|
+
+ final: integer(coverage['final'], `${path}.metrics.${metric}.coverage.final`),
|
|
356
|
+
+ partial: integer(coverage['partial'], `${path}.metrics.${metric}.coverage.partial`),
|
|
357
|
+
+ unknown: integer(coverage['unknown'], `${path}.metrics.${metric}.coverage.unknown`),
|
|
358
|
+
+ },
|
|
359
|
+
+ };
|
|
360
|
+
+ const c = parsed.coverage;
|
|
361
|
+
+ if (c.final + c.partial + c.unknown !== runs ||
|
|
362
|
+
+ (c.final + c.partial === 0 && parsed.knownTotal !== 0)) throw new Error(`${path}.metrics.${metric} contradicts coverage`);
|
|
363
|
+
+ if (metric === 'durationSeconds' && (c.partial !== 0 || c.unknown !== 0)) throw new Error(`${path} elapsed time must cover every invocation`);
|
|
364
|
+
+ return [metric, parsed];
|
|
365
|
+
+ })) as Record<CostMetric, CostMeasure>;
|
|
366
|
+
+ const cache = metrics.cachedInput;
|
|
367
|
+
+ const uncached = metrics.uncachedInput;
|
|
368
|
+
+ if (JSON.stringify(cache.coverage) !== JSON.stringify(uncached.coverage)) throw new Error(`${path} cache partition coverage must match`);
|
|
369
|
+
+ if (cache.coverage.final + cache.coverage.partial > metrics.input.coverage.final + metrics.input.coverage.partial ||
|
|
370
|
+
+ cache.coverage.final > metrics.input.coverage.final ||
|
|
371
|
+
+ cache.knownTotal + uncached.knownTotal > metrics.input.knownTotal + 1e-6) throw new Error(`${path} cache partition contradicts input`);
|
|
372
|
+
+ if (cache.coverage.final + cache.coverage.partial === metrics.input.coverage.final + metrics.input.coverage.partial &&
|
|
373
|
+
+ Math.abs(cache.knownTotal + uncached.knownTotal - metrics.input.knownTotal) > 1e-6) throw new Error(`${path} cache partition disagrees with input`);
|
|
374
|
+
+ return { runs, passes, metrics };
|
|
375
|
+
+ };
|
|
376
|
+
+ return { baseline: population('baseline'), treatment: population('treatment') };
|
|
377
|
+
+ };
|
|
378
|
+
+ const notInvoked = object(item['notInvoked'], `${label}.notInvoked`);
|
|
379
|
+
+ return { schemaVersion: 1, paired: scope('paired'), attempts: scope('attempts'), notInvoked: {
|
|
380
|
+
+ baseline: integer(notInvoked['baseline'], `${label}.notInvoked.baseline`),
|
|
381
|
+
+ treatment: integer(notInvoked['treatment'], `${label}.notInvoked.treatment`),
|
|
382
|
+
+ } };
|
|
383
|
+
+}
|
|
384
|
+
+
|
|
385
|
+
+function checkCostCounts(row: ReportRow, declaredRuns: number, label: string): void {
|
|
386
|
+
+ const costs = row.costs;
|
|
387
|
+
+ if (!costs) return;
|
|
388
|
+
+ for (const arm of ['baseline', 'treatment'] as const) {
|
|
389
|
+
+ const paired = costs.paired[arm];
|
|
390
|
+
+ const attempts = costs.attempts[arm];
|
|
391
|
+
+ if (paired.runs !== row[arm].trials || paired.passes !== row[arm].passes ||
|
|
392
|
+
+ attempts.runs + costs.notInvoked[arm] !== declaredRuns ||
|
|
393
|
+
+ paired.runs > attempts.runs || paired.passes > attempts.passes ||
|
|
394
|
+
+ attempts.passes - paired.passes > attempts.runs - paired.runs) throw new Error(`${label}.costs disagree with declared/graded counts`);
|
|
395
|
+
+ for (const metric of COST_METRICS) {
|
|
396
|
+
+ if (paired.metrics[metric].knownTotal > attempts.metrics[metric].knownTotal + 1e-6) throw new Error(`${label}.costs paired spending exceeds all invocations`);
|
|
397
|
+
+ for (const status of ['final', 'partial', 'unknown'] as const) {
|
|
398
|
+
+ if (paired.metrics[metric].coverage[status] > attempts.metrics[metric].coverage[status]) throw new Error(`${label}.costs paired coverage exceeds all invocations`);
|
|
399
|
+
+ }
|
|
400
|
+
+ }
|
|
401
|
+
+ }
|
|
402
|
+
+}
|
|
403
|
+
+
|
|
404
|
+
function checkDelta(value: ReportRow, label: string): void {
|
|
405
|
+
if (value.baseline.trials !== value.treatment.trials) {
|
|
406
|
+
throw new Error(`${label} must contain equal numbers of graded paired trials`);
|
|
407
|
+
@@ -255,6 +326,25 @@ export function parseEvalReport(value: unknown): ReportData {
|
|
408
|
+
}
|
|
409
|
+
skillDelivery = { mode: 'installed', installDir };
|
|
410
|
+
}
|
|
411
|
+
+ let baselineTarget: ReportData['baselineTarget'] = null;
|
|
412
|
+
+ if (manifest['baselineTarget'] !== undefined) {
|
|
413
|
+
+ const previous = object(manifest['baselineTarget'], 'baselineTarget');
|
|
414
|
+
+ if (!skillDelivery || previous['kind'] !== 'skill') {
|
|
415
|
+
+ throw new Error('baselineTarget requires two installed Skill versions.');
|
|
416
|
+
+ }
|
|
417
|
+
+ const name = string(previous['name'], 'baselineTarget.name');
|
|
418
|
+
+ if (name !== target['name']) throw new Error('baselineTarget.name must match the target Skill name.');
|
|
419
|
+
+ const sha256 = hash(previous['bundleSha256'], 'baselineTarget.bundleSha256');
|
|
420
|
+
+ if (sha256.toLowerCase() === hash(target['bundleSha256'], 'target.bundleSha256').toLowerCase()) {
|
|
421
|
+
+ throw new Error('baselineTarget and target must have different complete-resource fingerprints.');
|
|
422
|
+
+ }
|
|
423
|
+
+ string(previous['sourceDir'], 'baselineTarget.sourceDir');
|
|
424
|
+
+ if (!Array.isArray(previous['files']) || !previous['files'].includes('SKILL.md') ||
|
|
425
|
+
+ previous['files'].some(file => typeof file !== 'string' || !file)) {
|
|
426
|
+
+ throw new Error('baselineTarget.files must list the complete resources including SKILL.md.');
|
|
427
|
+
+ }
|
|
428
|
+
+ baselineTarget = { name, sha256 };
|
|
429
|
+
+ }
|
|
430
|
+
const rawTasks = manifest['tasks'];
|
|
431
|
+
if (!Array.isArray(rawTasks)) throw new Error('tasks must be an array');
|
|
432
|
+
const tasks = rawTasks.map((task, index) => {
|
|
433
|
+
@@ -290,6 +380,13 @@ export function parseEvalReport(value: unknown): ReportData {
|
|
434
|
+
};
|
|
435
|
+
if (scoreDeltaCi && scoreDeltaCi.lo > scoreDeltaCi.hi) throw new Error('overall.stats.scoreDeltaCi.lo cannot exceed hi');
|
|
436
|
+
const overallRow = row(overall, 'overall', 'Overall');
|
|
437
|
+
+ const declaredTrials = integer(manifest['trials'], 'trials', 1);
|
|
438
|
+
+ for (const [index, task] of tasks.entries()) checkCostCounts(task, declaredTrials, `tasks[${index}]`);
|
|
439
|
+
+ checkCostCounts(overallRow, declaredTrials * tasks.length, 'overall');
|
|
440
|
+
+ if (overallRow.costs) {
|
|
441
|
+
+ if (tasks.some(t => !t.costs)) throw new Error('overall.costs requires costs for every task');
|
|
442
|
+
+ assertCostTotals(overallRow.costs, tasks.map(t => t.costs!));
|
|
443
|
+
+ } else if (tasks.some(t => t.costs)) throw new Error('Task costs require corresponding overall costs');
|
|
444
|
+
for (const [index, task] of tasks.entries()) checkDelta(task, `tasks[${index}]`);
|
|
445
|
+
checkDelta(overallRow, 'overall');
|
|
446
|
+
if (scoreDeltaCi) {
|
|
447
|
+
@@ -366,6 +463,7 @@ export function parseEvalReport(value: unknown): ReportData {
|
|
448
|
+
runGroup: string(manifest['runGroup'], 'runGroup'),
|
|
449
|
+
createdAt,
|
|
450
|
+
target: { kind, name: string(target['name'], 'target.name'), sha256: hash(target['bundleSha256'], 'target.bundleSha256') },
|
|
451
|
+
+ baselineTarget,
|
|
452
|
+
bench: {
|
|
453
|
+
name: string(bench['name'], 'bench.name'),
|
|
454
|
+
sha256: hash(bench['contentSha256'], 'bench.contentSha256'),
|
|
455
|
+
@@ -445,10 +543,18 @@ function decisionNotes(report: ReportData): string[] {
|
|
456
|
+
notes.push('Some tasks failed in both arms. Inspect facet misses, dependencies and the issue-to-check contract before interpreting the pass-rate floor as task difficulty.');
|
|
457
|
+
}
|
|
458
|
+
if (report.target.kind === 'skill') {
|
|
459
|
+
- notes.push(report.skillDelivery
|
|
460
|
+
+ notes.push(report.baselineTarget
|
|
461
|
+
+ ? 'Skill revision comparison: baseline contains the previous complete Skill and treatment contains the target version. Results describe revision effects, not installation benefit over no Skill. A positive delta does not guarantee non-regression on unseen tasks. Inspect per-run read observations and separate positive/negative trigger tests.'
|
|
462
|
+
+ : report.skillDelivery
|
|
463
|
+
? 'Complete Skill resources were installed only in treatment. Task outcomes include native discovery; inspect per-run activation/transcript receipts and run separate positive/negative trigger tests. Installation does not guarantee activation, and inherited agent configuration still applies.'
|
|
464
|
+
: 'Activation is unmeasured by this paired run: Skill content was force-injected. Run separate trigger tests with relevant requests and negative controls before an installation decision.');
|
|
465
|
+
}
|
|
466
|
+
+ if (report.baselineTarget) {
|
|
467
|
+
+ const regressions = report.tasks.filter(task => task.deltaPassRate < 0 || (task.scoreDelta !== null && task.scoreDelta < 0));
|
|
468
|
+
+ if (regressions.length > 0) {
|
|
469
|
+
+ notes.push(`Observed task regressions: ${regressions.map(task => task.id).join(', ')}. Inspect their outcomes and checks before accepting the revision, even if the pooled verdict favors treatment.`);
|
|
470
|
+
+ }
|
|
471
|
+
+ }
|
|
472
|
+
if (!report.overall.baseline.tokens || !report.overall.treatment.tokens) {
|
|
473
|
+
notes.push('Token overhead is unavailable. Elapsed time or prompt-size estimates do not establish token cost.');
|
|
474
|
+
} else if ([report.overall.baseline, report.overall.treatment].some(c =>
|
|
475
|
+
@@ -471,11 +577,12 @@ export function renderEvalMarkdown(report: ReportData): string {
|
|
476
|
+
lines.push(
|
|
477
|
+
`- Run: ${escapeMarkdown(report.runGroup)} (${escapeMarkdown(report.createdAt)})`,
|
|
478
|
+
`- Target: ${escapeMarkdown(report.target.kind)}; SHA-256 \`${report.target.sha256}\``,
|
|
479
|
+
+ ...(report.baselineTarget ? [`- Baseline Skill: ${escapeMarkdown(report.baselineTarget.name)} (previous version); SHA-256 \`${report.baselineTarget.sha256}\``] : []),
|
|
480
|
+
`- Bench: ${escapeMarkdown(report.bench.name)} (${report.bench.taskCount} ${report.bench.taskCount === 1 ? 'task' : 'tasks'}); SHA-256 \`${report.bench.sha256}\``,
|
|
481
|
+
`- Executor: ${escapeMarkdown(report.executor.kind)} / ${escapeMarkdown(report.executor.model)}`,
|
|
482
|
+
`- Trials: ${report.trials} per condition`,
|
|
483
|
+
`- Input: ${report.inputMode ?? 'snapshot (legacy manifest; not recorded)'}`,
|
|
484
|
+
- ...(report.skillDelivery ? ['- Delivery: complete Skill installed in treatment at ' + escapeMarkdown(report.skillDelivery.installDir)] : []),
|
|
485
|
+
+ ...(report.skillDelivery ? ['- Delivery: complete Skill installed ' + (report.baselineTarget ? 'in both conditions' : 'in treatment') + ' at ' + escapeMarkdown(report.skillDelivery.installDir)] : []),
|
|
486
|
+
...(report.experiment ? [`- Session: ${report.experiment.status}; ${report.experiment.callsStarted}/${report.experiment.plannedCalls} calls started, ${report.experiment.callsFinished} finished; ceiling ${report.experiment.maxCalls}`, `- Frozen plan SHA-256: \`${report.experiment.planSha256}\``] : []),
|
|
487
|
+
'',
|
|
488
|
+
'| Task | Baseline | Treatment | Errors B/T | Δpass | Verdict |',
|
|
489
|
+
@@ -539,6 +646,9 @@ export function renderEvalMarkdown(report: ReportData): string {
|
|
490
|
+
`| Input | ${cell(report.overall.baseline, 'input')} | ${cell(report.overall.treatment, 'input')} |`,
|
|
491
|
+
`| Output | ${cell(report.overall.baseline, 'output')} | ${cell(report.overall.treatment, 'output')} |`);
|
|
492
|
+
}
|
|
493
|
+
+ lines.push('', '## Cost accounting', '');
|
|
494
|
+
+ if (report.overall.costs) lines.push(...renderCostLines(report.overall.costs));
|
|
495
|
+
+ else lines.push('Cache partitions and all-invocation costs were not recorded in this legacy manifest. Missing usage is unknown; the report does not infer it from prompt size or treat it as zero.');
|
|
496
|
+
lines.push('', '## Warnings', '');
|
|
497
|
+
if (report.warnings.length === 0) lines.push('- None');
|
|
498
|
+
else lines.push(...report.warnings.map((warning) => `- ${escapeMarkdown(warning)}`));
|
|
499
|
+
diff --git a/src/commands/eval.ts b/src/commands/eval.ts
|
|
500
|
+
index fda30e5..39406dc 100644
|
|
501
|
+
--- a/src/commands/eval.ts
|
|
502
|
+
+++ b/src/commands/eval.ts
|
|
503
|
+
@@ -9,7 +9,7 @@ import { ExperimentSession, validateCallBudget, type SessionOptions } from '../h
|
|
504
|
+
import { ApiExecutor } from '../harness/executors/api.js';
|
|
505
|
+
import { CliExecutor } from '../harness/executors/cli.js';
|
|
506
|
+
import { listFilesRecursive } from '../harness/hash.js';
|
|
507
|
+
-import { assertInstalledSkillFixtures, collectInstalledSkillTarget } from '../harness/installed-skill.js';
|
|
508
|
+
+import { assertInstalledSkillFixtures, assertSkillRevisionTargets, collectInstalledSkillTarget } from '../harness/installed-skill.js';
|
|
509
|
+
import { assertInputModeSupported } from '../harness/prompt.js';
|
|
510
|
+
import { CONCLUSIVE_TASKS, CONCLUSIVE_TRIALS, renderSummary, type RunManifest } from '../harness/report.js';
|
|
511
|
+
import { runExperiment } from '../harness/runner.js';
|
|
512
|
+
@@ -26,6 +26,8 @@ import type { Bench, EvaluationTarget, Executor, InputMode, SkillBundle } from '
|
|
513
|
+
export interface EvalOptions {
|
|
514
|
+
/** A Skill directory or a directory containing skillfit-experiment.json. */
|
|
515
|
+
skillPath: string;
|
|
516
|
+
+ /** Previous complete Skill version; available only in installed mode. */
|
|
517
|
+
+ baselineSkillPath?: string;
|
|
518
|
+
bench?: string;
|
|
519
|
+
trials?: number;
|
|
520
|
+
maxCalls?: number;
|
|
521
|
+
@@ -138,9 +140,9 @@ function defaultRunGroup(now: Date = new Date()): string {
|
|
522
|
+
|
|
523
|
+
function sessionFor(options: EvalOptions, bench: Bench, target: EvaluationTarget, trials: number,
|
|
524
|
+
runsRoot: string, runGroup: string, armNames: string[], plannedCalls: number,
|
|
525
|
+
- details: Record<string, unknown>): ExperimentSession {
|
|
526
|
+
+ details: Record<string, unknown>, baselineTarget?: EvaluationTarget): ExperimentSession {
|
|
527
|
+
if (!RUN_GROUP_PATTERN.test(runGroup)) throw new Error(`Invalid run group: ${runGroup}`);
|
|
528
|
+
- return new ExperimentSession({ bench, target, groupDir: join(runsRoot, runGroup), plannedCalls,
|
|
529
|
+
+ return new ExperimentSession({ bench, target, baselineTarget, groupDir: join(runsRoot, runGroup), plannedCalls,
|
|
530
|
+
maxCalls: options.maxCalls, agent: options.agent, injected: options.executor !== undefined,
|
|
531
|
+
...options.sessionOptions,
|
|
532
|
+
workspaces: bench.tasks.flatMap(task => armNames.flatMap(arm =>
|
|
533
|
+
@@ -177,10 +179,15 @@ function renderPlan(
|
|
534
|
+
runsRoot: string,
|
|
535
|
+
runGroup: string,
|
|
536
|
+
inputMode: InputMode,
|
|
537
|
+
+ baselineTarget?: EvaluationTarget,
|
|
538
|
+
): string {
|
|
539
|
+
const lines: string[] = [];
|
|
540
|
+
lines.push('Experiment plan (dry run)');
|
|
541
|
+
lines.push(`Target : ${target.name} (${target.kind}, ${target.files.length} files, bundle sha256 ${target.sha256.slice(0, 12)}…)`);
|
|
542
|
+
+ if (baselineTarget) {
|
|
543
|
+
+ lines.push(`Baseline : ${baselineTarget.name} (${baselineTarget.files.length} files, bundle sha256 ${baselineTarget.sha256.slice(0, 12)}…)`);
|
|
544
|
+
+ lines.push('Compare : previous Skill in baseline vs target Skill in treatment; measures revision effects, not benefit over no Skill');
|
|
545
|
+
+ }
|
|
546
|
+
if (target.kind !== 'skill') {
|
|
547
|
+
lines.push(' applied as project files; treatment material is never injected into the prompt');
|
|
548
|
+
}
|
|
549
|
+
@@ -338,6 +345,9 @@ async function runEvalTrigger(
|
|
550
|
+
export async function runEval(options: EvalOptions): Promise<RunManifest | TriggerManifest | null> {
|
|
551
|
+
const log = options.log ?? ((msg: string) => console.log(msg));
|
|
552
|
+
const installed = options.mode === 'installed';
|
|
553
|
+
+ if (options.baselineSkillPath !== undefined && !installed) {
|
|
554
|
+
+ throw new Error('--baseline-skill requires --mode installed.');
|
|
555
|
+
+ }
|
|
556
|
+
if (installed && options.inputMode !== undefined && options.inputMode !== 'workspace') {
|
|
557
|
+
throw new Error('installed mode requires workspace input; omit --input or use --input workspace.');
|
|
558
|
+
}
|
|
559
|
+
@@ -362,11 +372,16 @@ export async function runEval(options: EvalOptions): Promise<RunManifest | Trigg
|
|
560
|
+
const benchDir = resolveBenchDir(options.bench);
|
|
561
|
+
const bench = loadBench(benchDir);
|
|
562
|
+
let target = collectEvaluationTarget(options.skillPath);
|
|
563
|
+
+ let baselineTarget: EvaluationTarget | undefined;
|
|
564
|
+
let skillInstallDir: string | undefined;
|
|
565
|
+
let skillSearchDirs: string[] = [];
|
|
566
|
+
if (installed) {
|
|
567
|
+
if (target.kind !== 'skill') throw new Error('installed mode is only available for Skill targets.');
|
|
568
|
+
target = collectInstalledSkillTarget(options.skillPath);
|
|
569
|
+
+ if (options.baselineSkillPath !== undefined) {
|
|
570
|
+
+ baselineTarget = collectInstalledSkillTarget(options.baselineSkillPath);
|
|
571
|
+
+ assertSkillRevisionTargets(target, baselineTarget);
|
|
572
|
+
+ }
|
|
573
|
+
skillSearchDirs = options.agent ? getAgent(options.agent).skills.projectDirs : [];
|
|
574
|
+
skillInstallDir = options.skillInstallDir ?? skillSearchDirs[0];
|
|
575
|
+
if (!skillInstallDir) throw new Error('installed mode needs --agent with a matrix-defined project Skill directory.');
|
|
576
|
+
@@ -427,10 +442,10 @@ export async function runEval(options: EvalOptions): Promise<RunManifest | Trigg
|
|
577
|
+
const maxCalls = validateCallBudget(plannedCalls, options.maxCalls);
|
|
578
|
+
|
|
579
|
+
if (options.dryRun) {
|
|
580
|
+
- log(renderPlan(bench, target, executor, judge, trials, runsRoot, runGroup, inputMode));
|
|
581
|
+
+ log(renderPlan(bench, target, executor, judge, trials, runsRoot, runGroup, inputMode, baselineTarget));
|
|
582
|
+
log(`Calls : ${plannedCalls} planned; ceiling ${maxCalls} (includes both judge orders when enabled)`);
|
|
583
|
+
if (skillInstallDir) {
|
|
584
|
+
- log('Delivery : complete Skill resources installed only in treatment at ' + skillInstallDir + '/' + target.name);
|
|
585
|
+
+ log('Delivery : complete Skill resources installed ' + (baselineTarget ? 'in both conditions' : 'only in treatment') + ' at ' + skillInstallDir + '/' + target.name);
|
|
586
|
+
log(' identical prompts; native discovery is not guaranteed; inherited configuration still applies');
|
|
587
|
+
}
|
|
588
|
+
return null;
|
|
589
|
+
@@ -439,14 +454,16 @@ export async function runEval(options: EvalOptions): Promise<RunManifest | Trigg
|
|
590
|
+
throw new Error('No executor available; pass --agent or set SKILLFIT_API_KEY.');
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
- log(renderPlan(bench, target, executor, judge, trials, runsRoot, runGroup, inputMode).replace(' (dry run)', '').replace(' (not created)', '').replace('Dry run — nothing was written.', `Calls : ${plannedCalls} planned; ceiling ${maxCalls}`));
|
|
594
|
+
+ log(renderPlan(bench, target, executor, judge, trials, runsRoot, runGroup, inputMode, baselineTarget).replace(' (dry run)', '').replace(' (not created)', '').replace('Dry run — nothing was written.', `Calls : ${plannedCalls} planned; ceiling ${maxCalls}`));
|
|
595
|
+
const session = sessionFor(options, bench, target, trials, runsRoot, runGroup, ['baseline', 'treatment'], plannedCalls,
|
|
596
|
+
- { mode: installed ? 'installed' : 'inject', inputMode, trials, executor: executor.describe(), judge: judge?.describe() ?? null });
|
|
597
|
+
+ { mode: installed ? 'installed' : 'inject', inputMode, trials, executor: executor.describe(), judge: judge?.describe() ?? null,
|
|
598
|
+
+ ...(baselineTarget ? { baselineTarget: { name: baselineTarget.name, sourceDir: baselineTarget.sourceDir, bundleSha256: baselineTarget.sha256, files: baselineTarget.files } } : {}) }, baselineTarget);
|
|
599
|
+
let manifest: RunManifest;
|
|
600
|
+
try {
|
|
601
|
+
manifest = await runExperiment({
|
|
602
|
+
bench,
|
|
603
|
+
target,
|
|
604
|
+
+ baselineTarget,
|
|
605
|
+
inputMode,
|
|
606
|
+
...(skillInstallDir ? { skillInstallDir, skillSearchDirs } : {}),
|
|
607
|
+
executor: session.wrap(executor, 'agent'),
|
|
608
|
+
diff --git a/src/harness/executors/cli.test.ts b/src/harness/executors/cli.test.ts
|
|
609
|
+
index 5b899db..ab3b7e2 100644
|
|
610
|
+
--- a/src/harness/executors/cli.test.ts
|
|
611
|
+
+++ b/src/harness/executors/cli.test.ts
|
|
612
|
+
@@ -6,6 +6,7 @@ import { test } from 'node:test';
|
|
613
|
+
import { fileURLToPath } from 'node:url';
|
|
614
|
+
import { agentIds, getAgent } from '../../agents.js';
|
|
615
|
+
import { CliExecutor, quoteShellArg } from './cli.js';
|
|
616
|
+
+import { ExecutorFailure } from '../types.js';
|
|
617
|
+
|
|
618
|
+
const ECHO_SCRIPT =
|
|
619
|
+
'let d="";process.stdin.on("data",c=>d+=c);process.stdin.on("end",()=>process.stdout.write("len:"+d.length))';
|
|
620
|
+
@@ -333,7 +334,7 @@ test('CliExecutor parses codex items: text, skill file-read trigger, and token u
|
|
621
|
+
const result = await executor.run(ndjson, process.cwd());
|
|
622
|
+
assert.equal(result.output, 'Stage 5, yellow with brown flecks.');
|
|
623
|
+
assert.equal(result.skillTriggered, true);
|
|
624
|
+
- assert.deepEqual(result.tokens, { input: 42170, output: 272 });
|
|
625
|
+
+ assert.deepEqual(result.tokens, { input: 42170, cachedInput: 32896, output: 272 });
|
|
626
|
+
});
|
|
627
|
+
|
|
628
|
+
test('CliExecutor codex shape: no skill-path command means no trigger', async () => {
|
|
629
|
+
@@ -418,7 +419,7 @@ test('CliExecutor accumulates token usage across multiple turns', async () => {
|
|
630
|
+
{ type: 'turn.completed', usage: { input_tokens: 1000, output_tokens: 100 } },
|
|
631
|
+
{ type: 'item.completed', item: { id: 'i2', type: 'agent_message', text: 'second' } },
|
|
632
|
+
{ type: 'turn.completed', usage: { input_tokens: 20, output_tokens: 5 } },
|
|
633
|
+
- // A turn carrying no usage must not reset the running total.
|
|
634
|
+
+ // Available increments remain a lower bound when another completed turn omitted usage.
|
|
635
|
+
{ type: 'turn.completed' },
|
|
636
|
+
];
|
|
637
|
+
const executor = new CliExecutor({
|
|
638
|
+
@@ -428,9 +429,38 @@ test('CliExecutor accumulates token usage across multiple turns', async () => {
|
|
639
|
+
});
|
|
640
|
+
const result = await executor.run(toNdjson(events), process.cwd());
|
|
641
|
+
assert.deepEqual(result.tokens, { input: 1020, output: 105 }, 'usage records are per-turn increments');
|
|
642
|
+
+ assert.equal(result.usageStatus, 'partial', 'missing usage cannot certify a complete total');
|
|
643
|
+
assert.equal(result.output, 'first\nsecond');
|
|
644
|
+
});
|
|
645
|
+
|
|
646
|
+
+test('CliExecutor cache coverage stays unknown if one turn omits cache usage', async () => {
|
|
647
|
+
+ const executor = new CliExecutor({ argv: [process.execPath, '-e', PASSTHROUGH_SCRIPT], shell: false, triggerSkillName: 'demo' });
|
|
648
|
+
+ const result = await executor.run(toNdjson([
|
|
649
|
+
+ { type: 'turn.completed', usage: { input_tokens: 10, cached_input_tokens: 8, output_tokens: 2 } },
|
|
650
|
+
+ { type: 'turn.completed', usage: { input_tokens: 5, output_tokens: 1 } },
|
|
651
|
+
+ ]), process.cwd());
|
|
652
|
+
+ assert.deepEqual(result.tokens, { input: 15, output: 3 });
|
|
653
|
+
+ assert.equal(result.usageStatus, 'final');
|
|
654
|
+
+ const invalid = await executor.run(toNdjson([
|
|
655
|
+
+ { type: 'turn.completed', usage: { input_tokens: 10, cached_input_tokens: 11, output_tokens: -1 } },
|
|
656
|
+
+ ]), process.cwd());
|
|
657
|
+
+ assert.deepEqual(invalid.tokens, { input: 10 });
|
|
658
|
+
+ assert.equal(invalid.usageStatus, 'partial');
|
|
659
|
+
+});
|
|
660
|
+
+
|
|
661
|
+
+test('CliExecutor preserves public transcript usage as a lower bound on timeout', async () => {
|
|
662
|
+
+ const script = 'process.stdout.write(JSON.stringify({type:"turn.completed",usage:{input_tokens:10,cached_input_tokens:8,output_tokens:2}})+"\\n");setInterval(()=>{},10000)';
|
|
663
|
+
+ const executor = new CliExecutor({ argv: [process.execPath, '-e', script], shell: false, triggerSkillName: 'demo', timeoutMs: 2000 });
|
|
664
|
+
+ await assert.rejects(executor.run('prompt', process.cwd()), (error: unknown) => {
|
|
665
|
+
+ assert.ok(error instanceof ExecutorFailure);
|
|
666
|
+
+ assert.match(error.message, /timed out/);
|
|
667
|
+
+ assert.deepEqual(error.result.tokens, { input: 10, cachedInput: 8, output: 2 });
|
|
668
|
+
+ assert.equal(error.result.usageStatus, 'partial');
|
|
669
|
+
+ assert.match(error.result.rawOutput!, /turn.completed/);
|
|
670
|
+
+ return true;
|
|
671
|
+
+ });
|
|
672
|
+
+});
|
|
673
|
+
+
|
|
674
|
+
test('out-of-band token usage is a matrix capability, not an agent id in the harness', () => {
|
|
675
|
+
// kimi-code's headless transcript carries no usable token counts, so they are read from its
|
|
676
|
+
// session log after the run. That used to be `if (this.label === 'kimi-code')` in the executor,
|
|
677
|
+
diff --git a/src/harness/executors/cli.ts b/src/harness/executors/cli.ts
|
|
678
|
+
index 16de3ed..3fa8212 100644
|
|
679
|
+
--- a/src/harness/executors/cli.ts
|
|
680
|
+
+++ b/src/harness/executors/cli.ts
|
|
681
|
+
@@ -4,6 +4,7 @@ import { join } from 'node:path';
|
|
682
|
+
import { getAgent } from '../../agents.js';
|
|
683
|
+
import { killTree, treeSpawnOptions } from '../kill-tree.js';
|
|
684
|
+
import { probeKimiSessionUsage } from '../kimi-usage.js';
|
|
685
|
+
+import { ExecutorFailure, type TokenUsage } from '../types.js';
|
|
686
|
+
import type { Executor, ExecutorDescriptor, ExecutorResult } from '../types.js';
|
|
687
|
+
|
|
688
|
+
export interface CliExecutorOptions {
|
|
689
|
+
@@ -202,27 +203,28 @@ export class CliExecutor implements Executor {
|
|
690
|
+
});
|
|
691
|
+
child.on('close', (code) => {
|
|
692
|
+
clearTimeout(timer);
|
|
693
|
+
+ const parseResult = (): ExecutorResult => this.triggerSkillName !== undefined
|
|
694
|
+
+ ? parseStreamJsonTranscript(stdout, this.triggerToolName, this.triggerSkillName)
|
|
695
|
+
+ : { output: stdout };
|
|
696
|
+
+ const failure = (message: string): ExecutorFailure => new ExecutorFailure(message, {
|
|
697
|
+
+ ...parseResult(), usageStatus: 'partial',
|
|
698
|
+
+ });
|
|
699
|
+
if (overflow) {
|
|
700
|
+
- rejectPromise(new Error(`"${command}" produced more than ${MAX_AGENT_OUTPUT_BYTES} bytes of output`));
|
|
701
|
+
+ rejectPromise(failure(`"${command}" produced more than ${MAX_AGENT_OUTPUT_BYTES} bytes of output`));
|
|
702
|
+
return;
|
|
703
|
+
}
|
|
704
|
+
if (timedOut) {
|
|
705
|
+
- rejectPromise(new Error(`"${command}" timed out after ${this.timeoutMs}ms`));
|
|
706
|
+
+ rejectPromise(failure(`"${command}" timed out after ${this.timeoutMs}ms`));
|
|
707
|
+
return;
|
|
708
|
+
}
|
|
709
|
+
if (code !== 0) {
|
|
710
|
+
const detail = stderr.trim().slice(0, 500);
|
|
711
|
+
rejectPromise(
|
|
712
|
+
- new Error(`"${command}" exited with code ${code ?? 'null'}${detail ? `: ${detail}` : ''}`),
|
|
713
|
+
+ failure(`"${command}" exited with code ${code ?? 'null'}${detail ? `: ${detail}` : ''}`),
|
|
714
|
+
);
|
|
715
|
+
return;
|
|
716
|
+
}
|
|
717
|
+
- let result: ExecutorResult;
|
|
718
|
+
- if (this.triggerSkillName !== undefined) {
|
|
719
|
+
- result = parseStreamJsonTranscript(stdout, this.triggerToolName, this.triggerSkillName);
|
|
720
|
+
- } else {
|
|
721
|
+
- result = { output: stdout };
|
|
722
|
+
- }
|
|
723
|
+
+ const result = parseResult();
|
|
724
|
+
// Capability from the matrix, not an agent name: this surface reports no usable token counts
|
|
725
|
+
// in its transcript, so they are read from its session log afterwards. probeKimiSessionUsage
|
|
726
|
+
// is currently the only implementation, which is why the flag is set on exactly one agent.
|
|
727
|
+
@@ -260,7 +262,8 @@ interface StreamJsonTranscript {
|
|
728
|
+
output: string;
|
|
729
|
+
skillTriggered?: boolean;
|
|
730
|
+
rawOutput?: string;
|
|
731
|
+
- tokens?: { input?: number; output?: number };
|
|
732
|
+
+ tokens?: TokenUsage;
|
|
733
|
+
+ usageStatus?: 'final' | 'partial';
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
function parseStreamJsonTranscript(
|
|
737
|
+
@@ -271,7 +274,10 @@ function parseStreamJsonTranscript(
|
|
738
|
+
const textParts: string[] = [];
|
|
739
|
+
let parsedAny = false;
|
|
740
|
+
let triggered = false;
|
|
741
|
+
- let tokens: { input?: number; output?: number } | undefined;
|
|
742
|
+
+ let tokens: TokenUsage | undefined;
|
|
743
|
+
+ let usageTurns = 0;
|
|
744
|
+
+ const totals = { input: 0, output: 0, cachedInput: 0 };
|
|
745
|
+
+ const coverage = { input: 0, output: 0, cachedInput: 0 };
|
|
746
|
+
for (const rawLine of stdout.split('\n')) {
|
|
747
|
+
const line = rawLine.trim();
|
|
748
|
+
if (line === '') {
|
|
749
|
+
@@ -343,23 +349,23 @@ function parseStreamJsonTranscript(
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
if (record.type === 'turn.completed') {
|
|
753
|
+
+ usageTurns++;
|
|
754
|
+
const usage = record.usage;
|
|
755
|
+
if (typeof usage === 'object' && usage !== null) {
|
|
756
|
+
const usageRecord = usage as Record<string, unknown>;
|
|
757
|
+
- const input = typeof usageRecord.input_tokens === 'number' ? usageRecord.input_tokens : undefined;
|
|
758
|
+
- const output =
|
|
759
|
+
- typeof usageRecord.output_tokens === 'number' ? usageRecord.output_tokens : undefined;
|
|
760
|
+
- if (input !== undefined || output !== undefined) {
|
|
761
|
+
- // Accumulate, matching kimi-usage.ts, which sums the same kind of per-entry usage records
|
|
762
|
+
- // from the session wire log. Overwriting kept only the last turn, so a multi-turn session
|
|
763
|
+
- // undercounted and corrupted both the token delta and cost-of-pass — the two claims
|
|
764
|
+
- // docs/metrics.md L3 says are actually provable at personal sample sizes. If a surface ever
|
|
765
|
+
- // reports *cumulative* usage instead, this is the line to revisit: the two readings are
|
|
766
|
+
- // mutually exclusive and guessing wrong double-counts.
|
|
767
|
+
- tokens = {
|
|
768
|
+
- input: (tokens?.input ?? 0) + (input ?? 0),
|
|
769
|
+
- output: (tokens?.output ?? 0) + (output ?? 0),
|
|
770
|
+
- };
|
|
771
|
+
+ const count = (value: unknown): number | undefined =>
|
|
772
|
+
+ typeof value === 'number' && Number.isFinite(value) && value >= 0 ? value : undefined;
|
|
773
|
+
+ const input = count(usageRecord.input_tokens);
|
|
774
|
+
+ const cachedInput = count(usageRecord.cached_input_tokens);
|
|
775
|
+
+ const values = { input, output: count(usageRecord.output_tokens), cachedInput:
|
|
776
|
+
+ input !== undefined && cachedInput !== undefined && cachedInput <= input ? cachedInput : undefined };
|
|
777
|
+
+ // Codex records per-turn increments. Missing fields on any completed turn prevent
|
|
778
|
+
+ // treating the aggregate as complete; in particular missing cache counts are not zero.
|
|
779
|
+
+ for (const field of ['input', 'output', 'cachedInput'] as const) {
|
|
780
|
+
+ if (values[field] !== undefined) {
|
|
781
|
+
+ totals[field] += values[field];
|
|
782
|
+
+ coverage[field]++;
|
|
783
|
+
+ }
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
@@ -387,5 +393,14 @@ function parseStreamJsonTranscript(
|
|
788
|
+
if (!parsedAny) {
|
|
789
|
+
return { output: stdout };
|
|
790
|
+
}
|
|
791
|
+
- return { output: textParts.join('\n'), skillTriggered: triggered, rawOutput: stdout, tokens };
|
|
792
|
+
+ let usageStatus: 'final' | 'partial' | undefined;
|
|
793
|
+
+ if (usageTurns > 0) {
|
|
794
|
+
+ tokens = {};
|
|
795
|
+
+ for (const field of ['input', 'output', 'cachedInput'] as const) {
|
|
796
|
+
+ if (coverage[field] > 0 && (field !== 'cachedInput' || coverage[field] === usageTurns)) tokens[field] = totals[field];
|
|
797
|
+
+ }
|
|
798
|
+
+ if (Object.keys(tokens).length === 0) tokens = undefined;
|
|
799
|
+
+ usageStatus = coverage.input === usageTurns && coverage.output === usageTurns ? 'final' : 'partial';
|
|
800
|
+
+ }
|
|
801
|
+
+ return { output: textParts.join('\n'), skillTriggered: triggered, rawOutput: stdout, tokens, usageStatus };
|
|
802
|
+
}
|
|
803
|
+
diff --git a/src/harness/experiment-session.ts b/src/harness/experiment-session.ts
|
|
804
|
+
index d47ca66..14818d5 100644
|
|
805
|
+
--- a/src/harness/experiment-session.ts
|
|
806
|
+
+++ b/src/harness/experiment-session.ts
|
|
807
|
+
@@ -7,6 +7,7 @@ import { getAgent, skillUserDirSpecs, type AgentDef } from '../agents.js';
|
|
808
|
+
import { parseFrontmatter } from '../frontmatter.js';
|
|
809
|
+
import { hashFileSet, sha256File, sha256Text } from './hash.js';
|
|
810
|
+
import type { Bench, EvaluationTarget, Executor } from './types.js';
|
|
811
|
+
+import { ExecutorFailure } from './types.js';
|
|
812
|
+
|
|
813
|
+
export interface ExperimentSummary {
|
|
814
|
+
schemaVersion: 1;
|
|
815
|
+
@@ -22,6 +23,7 @@ export interface ExperimentSummary {
|
|
816
|
+
export interface SessionOptions {
|
|
817
|
+
bench: Bench;
|
|
818
|
+
target: EvaluationTarget;
|
|
819
|
+
+ baselineTarget?: EvaluationTarget;
|
|
820
|
+
groupDir: string;
|
|
821
|
+
workspaces: string[];
|
|
822
|
+
plannedCalls: number;
|
|
823
|
+
@@ -179,11 +181,12 @@ export class ExperimentSession {
|
|
824
|
+
this.groupDir = resolve(options.groupDir);
|
|
825
|
+
this.workspaces = options.workspaces.map(path => resolve(path));
|
|
826
|
+
if (existsSync(this.groupDir)) throw new Error(`Run group directory already exists: ${this.groupDir}`);
|
|
827
|
+
- for (const input of [options.target.sourceDir, ...options.bench.tasks.map(task => join(options.bench.dir, task.fixture))]) {
|
|
828
|
+
+ for (const input of [options.target.sourceDir, ...(options.baselineTarget ? [options.baselineTarget.sourceDir] : []), ...options.bench.tasks.map(task => join(options.bench.dir, task.fixture))]) {
|
|
829
|
+
if (inside(physicalPath(input), physicalPath(this.groupDir))) throw new Error('Experiment output must be outside the Skill/overlay and fixture inputs; run the CLI from their parent directory.');
|
|
830
|
+
}
|
|
831
|
+
const packageRoot = fileURLToPath(new URL('../../', import.meta.url));
|
|
832
|
+
this.inputs = [pin('bench', options.bench.dir, this.groupDir), pin('target', options.target.sourceDir), pin('implementation', join(packageRoot, 'dist'))];
|
|
833
|
+
+ if (options.baselineTarget) this.inputs.push(pin('baseline Skill', options.baselineTarget.sourceDir));
|
|
834
|
+
this.configs = [];
|
|
835
|
+
const env = options.env ?? process.env;
|
|
836
|
+
let configured: Record<string, string> = {};
|
|
837
|
+
@@ -257,8 +260,12 @@ export class ExperimentSession {
|
|
838
|
+
|
|
839
|
+
wrap(executor: Executor, role: 'agent' | 'judge'): Executor {
|
|
840
|
+
return { describe: () => executor.describe(), run: async (prompt, workdir) => {
|
|
841
|
+
- this.check();
|
|
842
|
+
- if (this.callsStarted >= Math.min(this.plannedCalls, this.maxCalls)) { this.stopReason = 'Declared call ceiling reached; no further calls.'; throw new Error(this.stopReason); }
|
|
843
|
+
+ try {
|
|
844
|
+
+ this.check();
|
|
845
|
+
+ if (this.callsStarted >= Math.min(this.plannedCalls, this.maxCalls)) { this.stopReason = 'Declared call ceiling reached; no further calls.'; throw new Error(this.stopReason); }
|
|
846
|
+
+ } catch (error) {
|
|
847
|
+
+ throw new ExecutorFailure((error as Error).message, { output: '' }, false);
|
|
848
|
+
+ }
|
|
849
|
+
const call = ++this.callsStarted;
|
|
850
|
+
const ledger = join(this.groupDir, '_calls.jsonl');
|
|
851
|
+
appendFileSync(ledger, JSON.stringify({ event: 'started', call, role, workdir, at: new Date().toISOString(), promptSha256: sha256Text(prompt) }) + '\n');
|
|
852
|
+
diff --git a/src/harness/installed-skill.ts b/src/harness/installed-skill.ts
|
|
853
|
+
index 06febfa..80e235c 100644
|
|
854
|
+
--- a/src/harness/installed-skill.ts
|
|
855
|
+
+++ b/src/harness/installed-skill.ts
|
|
856
|
+
@@ -53,6 +53,18 @@ export function collectInstalledSkillTarget(skillDir: string): EvaluationTarget
|
|
857
|
+
payload: null, overlays: {} };
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
+export function assertSkillRevisionTargets(target: EvaluationTarget, baseline: EvaluationTarget): void {
|
|
861
|
+
+ if ([target, baseline].some(skill => skill.kind !== 'skill' || skill.payload !== null || !skill.files.includes('SKILL.md'))) {
|
|
862
|
+
+ throw new Error('Skill revision comparison requires two complete installed Skill targets.');
|
|
863
|
+
+ }
|
|
864
|
+
+ if (target.name !== baseline.name) {
|
|
865
|
+
+ throw new Error('Skill revisions must have the same SKILL.md frontmatter name; compare versions of one Skill.');
|
|
866
|
+
+ }
|
|
867
|
+
+ if (target.sha256 === baseline.sha256) {
|
|
868
|
+
+ throw new Error('Skill revisions have identical complete-resource fingerprints; there is no version change to evaluate.');
|
|
869
|
+
+ }
|
|
870
|
+
+}
|
|
871
|
+
+
|
|
872
|
+
export function assertInstalledSkillFixtures(bench: Bench, target: EvaluationTarget, installDir: string, searchDirs: readonly string[] = []): void {
|
|
873
|
+
const dirs = [...new Set([installDir, ...searchDirs].map(validateSkillInstallDir))];
|
|
874
|
+
for (const task of bench.tasks) {
|
|
875
|
+
diff --git a/src/harness/report.ts b/src/harness/report.ts
|
|
876
|
+
index 5f9342d..41b493d 100644
|
|
877
|
+
--- a/src/harness/report.ts
|
|
878
|
+
+++ b/src/harness/report.ts
|
|
879
|
+
@@ -2,6 +2,7 @@ import { mcnemarExactP, MIN_DISCORDANT_FOR_SIGNIFICANCE } from './stats.js';
|
|
880
|
+
import { CONDITIONS } from './types.js';
|
|
881
|
+
import type { Condition, ExecutorDescriptor, InputMode } from './types.js';
|
|
882
|
+
import type { ExperimentSummary } from './experiment-session.js';
|
|
883
|
+
+import { renderCostLines, type RunCosts } from './costs.js';
|
|
884
|
+
|
|
885
|
+
export type Verdict = 'effective' | 'ineffective' | 'inconclusive';
|
|
886
|
+
|
|
887
|
+
@@ -47,6 +48,7 @@ export interface FacetSummary {
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
export interface TaskSummary {
|
|
891
|
+
+ costs?: RunCosts;
|
|
892
|
+
id: string;
|
|
893
|
+
conditions: Record<Condition, ConditionStats>;
|
|
894
|
+
outcomes: { baseline: boolean[]; treatment: boolean[] };
|
|
895
|
+
@@ -69,6 +71,7 @@ export interface SignificanceStats {
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
export interface OverallSummary {
|
|
899
|
+
+ costs?: RunCosts;
|
|
900
|
+
conditions: Record<Condition, ConditionStats>;
|
|
901
|
+
deltaPassRate: number;
|
|
902
|
+
scoreDelta: number | null;
|
|
903
|
+
@@ -88,6 +91,8 @@ export interface RunManifest {
|
|
904
|
+
runGroup: string;
|
|
905
|
+
createdAt: string;
|
|
906
|
+
target: { kind: 'skill' | 'rules' | 'mcp'; name: string; sourceDir: string; bundleSha256: string; files: string[] };
|
|
907
|
+
+ /** Previous installed Skill version; absent preserves the target's existing baseline. */
|
|
908
|
+
+ baselineTarget?: { kind: 'skill'; name: string; sourceDir: string; bundleSha256: string; files: string[] };
|
|
909
|
+
bench: { name: string; dir: string; contentSha256: string; taskCount: number };
|
|
910
|
+
executor: ExecutorDescriptor;
|
|
911
|
+
judge: ExecutorDescriptor | null;
|
|
912
|
+
@@ -154,6 +159,9 @@ export function buildWarnings(manifest: Omit<RunManifest, 'warnings'>): string[]
|
|
913
|
+
if (manifest.skillDelivery) {
|
|
914
|
+
warnings.push('Installed Skill mode measures task outcomes with native discovery and complete resources; activation is not guaranteed. Inherited agent configuration still applies.');
|
|
915
|
+
}
|
|
916
|
+
+ if (manifest.baselineTarget) {
|
|
917
|
+
+ warnings.push('Skill revision comparison measures the target against the previous version, not against no Skill. A positive delta does not establish installation benefit or guarantee non-regression on unseen tasks.');
|
|
918
|
+
+ }
|
|
919
|
+
if (manifest.executor.kind === 'mock') {
|
|
920
|
+
warnings.push('Executor is a mock: results are synthetic and only exercise the harness.');
|
|
921
|
+
}
|
|
922
|
+
@@ -210,9 +218,10 @@ function pad(text: string, width: number): string {
|
|
923
|
+
export function renderSummary(manifest: RunManifest, manifestPath: string): string {
|
|
924
|
+
const lines: string[] = [];
|
|
925
|
+
lines.push(`Target : ${manifest.target.name} (${manifest.target.kind}, bundle sha256 ${manifest.target.bundleSha256.slice(0, 12)}…, ${manifest.target.files.length} files)`);
|
|
926
|
+
+ if (manifest.baselineTarget) lines.push(`Baseline : ${manifest.baselineTarget.name} (previous Skill, bundle sha256 ${manifest.baselineTarget.bundleSha256.slice(0, 12)}…, ${manifest.baselineTarget.files.length} files)`);
|
|
927
|
+
lines.push(`Bench : ${manifest.bench.name} (${manifest.bench.taskCount} task(s), content sha256 ${manifest.bench.contentSha256.slice(0, 12)}…)`);
|
|
928
|
+
lines.push(`Input : ${manifest.inputMode ?? 'snapshot (legacy manifest; not recorded)'}`);
|
|
929
|
+
- if (manifest.skillDelivery) lines.push('Delivery : installed complete Skill at ' + manifest.skillDelivery.installDir + '/' + manifest.target.name);
|
|
930
|
+
+ if (manifest.skillDelivery) lines.push('Delivery : installed complete Skill ' + (manifest.baselineTarget ? 'in both conditions ' : '') + 'at ' + manifest.skillDelivery.installDir + '/' + manifest.target.name);
|
|
931
|
+
lines.push(`Executor : ${describeExecutor(manifest.executor)}`);
|
|
932
|
+
lines.push(`Judge : ${manifest.judge ? describeExecutor(manifest.judge) : 'disabled'}`);
|
|
933
|
+
lines.push(`Trials : ${manifest.trials} per condition`);
|
|
934
|
+
@@ -266,6 +275,7 @@ export function renderSummary(manifest: RunManifest, manifestPath: string): stri
|
|
935
|
+
lines.push('');
|
|
936
|
+
lines.push(...tokenLines);
|
|
937
|
+
}
|
|
938
|
+
+ if (manifest.overall.costs) lines.push('', 'Cost accounting:', ...renderCostLines(manifest.overall.costs));
|
|
939
|
+
const facetLines = renderFacetScores(manifest);
|
|
940
|
+
if (facetLines.length > 0) {
|
|
941
|
+
lines.push('');
|
|
942
|
+
diff --git a/src/harness/runner.test.ts b/src/harness/runner.test.ts
|
|
943
|
+
index d6b875e..0946716 100644
|
|
944
|
+
--- a/src/harness/runner.test.ts
|
|
945
|
+
+++ b/src/harness/runner.test.ts
|
|
946
|
+
@@ -9,6 +9,8 @@ import { collectSkillBundle } from './bundle.js';
|
|
947
|
+
import { MockExecutor } from './executors/mock.js';
|
|
948
|
+
import { gitInit, runExperiment, type ExperimentPlan } from './runner.js';
|
|
949
|
+
import type { EvaluationTarget, Executor, ExecutorResult } from './types.js';
|
|
950
|
+
+import { ExecutorFailure } from './types.js';
|
|
951
|
+
+import { parseEvalReport, renderEvalMarkdown } from '../commands/eval-report.js';
|
|
952
|
+
|
|
953
|
+
const PACKAGE_ROOT = fileURLToPath(new URL('../..', import.meta.url));
|
|
954
|
+
const BUNDLED_CODE_REVIEW = join(PACKAGE_ROOT, 'benches', 'code-review');
|
|
955
|
+
@@ -227,6 +229,38 @@ test('token coverage counts usage fields only on surviving graded pairs', async
|
|
956
|
+
assert.deepEqual(manifest.overall.conditions.treatment.tokenCoverage, { input: 0, output: 0 });
|
|
957
|
+
});
|
|
958
|
+
|
|
959
|
+
+test('runExperiment preserves failure costs and distinguishes invocations from guard refusals', async (t) => {
|
|
960
|
+
+ const runsRoot = tmp(t, 'skillfit-failure-costs-');
|
|
961
|
+
+ const benchDir = join(runsRoot, 'bench');
|
|
962
|
+
+ for (const dir of ['fixtures/t1', 'prompts', 'verifiers']) mkdirSync(join(benchDir, dir), { recursive: true });
|
|
963
|
+
+ writeFileSync(join(benchDir, 'fixtures/t1/input.txt'), 'input');
|
|
964
|
+
+ writeFileSync(join(benchDir, 'prompts/t1.md'), 'Solve the task.');
|
|
965
|
+
+ writeFileSync(join(benchDir, 'verifiers/t1.mjs'), 'import { readFileSync } from "node:fs"; process.exit(readFileSync(process.argv[2]+"/_output.md","utf8")==="pass"?0:1);');
|
|
966
|
+
+ writeFileSync(join(benchDir, 'bench.json'), JSON.stringify({ schemaVersion: 1, tasks: [{ id: 't1', fixture: 'fixtures/t1', prompt: 'prompts/t1.md', verifier: 'node verifiers/t1.mjs', verifierKind: 'output' }] }));
|
|
967
|
+
+ let calls = 0;
|
|
968
|
+
+ const executor: Executor = { describe: () => ({ kind: 'mock', model: 'cost-fixture' }), run: async () => {
|
|
969
|
+
+ calls++;
|
|
970
|
+
+ if (calls === 4) throw new ExecutorFailure('timeout', { output: 'unfinished', rawOutput: 'public partial transcript', tokens: { input: 3, cachedInput: 2, output: 1 }, usageStatus: 'partial' });
|
|
971
|
+
+ if (calls >= 5) throw new ExecutorFailure('stopped before call', { output: '' }, false);
|
|
972
|
+
+ return { output: calls === 2 ? 'fail' : 'pass', tokens: { input: 10, cachedInput: 8, output: 2 } };
|
|
973
|
+
+ } };
|
|
974
|
+
+ const manifest = await runExperiment(plan({ runsRoot, bench: loadBench(benchDir), executor, trials: 3 }));
|
|
975
|
+
+ const costs = manifest.overall.costs!;
|
|
976
|
+
+ assert.equal(manifest.overall.conditions.baseline.trials, 1);
|
|
977
|
+
+ assert.equal(manifest.overall.conditions.treatment.passes, 0);
|
|
978
|
+
+ assert.equal(costs.attempts.baseline.passes, 2);
|
|
979
|
+
+ assert.equal(costs.attempts.treatment.runs, 2);
|
|
980
|
+
+ assert.equal(costs.attempts.treatment.metrics.input.knownTotal, 13);
|
|
981
|
+
+ assert.deepEqual(costs.attempts.treatment.metrics.input.coverage, { final: 1, partial: 1, unknown: 0 });
|
|
982
|
+
+ assert.deepEqual(costs.notInvoked, { baseline: 1, treatment: 1 });
|
|
983
|
+
+ const receipt = JSON.parse(readFileSync(join(runsRoot, 'test-group/t1/treatment/trial-2/_result.json'), 'utf8'));
|
|
984
|
+
+ assert.equal(receipt.executorInvoked, true);
|
|
985
|
+
+ assert.equal(receipt.usageStatus, 'partial');
|
|
986
|
+
+ assert.deepEqual(receipt.tokens, { input: 3, cachedInput: 2, output: 1 });
|
|
987
|
+
+ assert.equal(readFileSync(join(runsRoot, 'test-group/t1/treatment/trial-2/_transcript.jsonl'), 'utf8'), 'public partial transcript');
|
|
988
|
+
+ assert.match(renderEvalMarkdown(parseEvalReport(manifest)), /All agent executor invocations/);
|
|
989
|
+
+});
|
|
990
|
+
+
|
|
991
|
+
test('runExperiment applies workspace config after snapshotting so prompts stay identical', async (t) => {
|
|
992
|
+
const runsRoot = tmp(t, 'skillfit-config-runs-');
|
|
993
|
+
const benchDir = join(runsRoot, 'bench');
|
|
994
|
+
diff --git a/src/harness/runner.ts b/src/harness/runner.ts
|
|
995
|
+
index edaec4f..b3bbe35 100644
|
|
996
|
+
--- a/src/harness/runner.ts
|
|
997
|
+
+++ b/src/harness/runner.ts
|
|
998
|
+
@@ -3,7 +3,7 @@ import { cpSync, existsSync, mkdirSync, readFileSync, readdirSync, rmSync, write
|
|
999
|
+
import { dirname, join, resolve } from 'node:path';
|
|
1000
|
+
import type { ExperimentSession } from './experiment-session.js';
|
|
1001
|
+
import { MOCK_MARKER_FILE, RUN_GROUP_PATTERN } from './constants.js';
|
|
1002
|
+
-import { assertInstalledSkillFixtures, installSkillResources, installedSkillDestination } from './installed-skill.js';
|
|
1003
|
+
+import { assertInstalledSkillFixtures, assertSkillRevisionTargets, installSkillResources, installedSkillDestination } from './installed-skill.js';
|
|
1004
|
+
import { collectInstalledSkillFingerprint } from './bundle.js';
|
|
1005
|
+
import { judgePair, type JudgeResult } from './judge.js';
|
|
1006
|
+
import { killTree, treeSpawnOptions } from './kill-tree.js';
|
|
1007
|
+
@@ -21,11 +21,14 @@ import { mcnemarExactP, pairedDeltaBootstrapCI, pairedScoreBootstrapCI } from '.
|
|
1008
|
+
import { listFilesRecursive } from './hash.js';
|
|
1009
|
+
import type { Bench, Condition, EvaluationTarget, Executor, ExecutorDescriptor, InputMode, TokenUsage } from './types.js';
|
|
1010
|
+
import { CONDITIONS } from './types.js';
|
|
1011
|
+
+import { ExecutorFailure } from './types.js';
|
|
1012
|
+
+import { summarizeCosts } from './costs.js';
|
|
1013
|
+
import { verdictFromOutput, type VerifierCheck } from './verifier-summary.js';
|
|
1014
|
+
|
|
1015
|
+
export interface ExperimentPlan {
|
|
1016
|
+
bench: Bench;
|
|
1017
|
+
target: EvaluationTarget;
|
|
1018
|
+
+ baselineTarget?: EvaluationTarget;
|
|
1019
|
+
inputMode?: InputMode;
|
|
1020
|
+
skillInstallDir?: string;
|
|
1021
|
+
skillSearchDirs?: readonly string[];
|
|
1022
|
+
@@ -62,6 +65,8 @@ export interface TrialOutcome {
|
|
1023
|
+
error: string | null;
|
|
1024
|
+
output: string;
|
|
1025
|
+
tokens: TokenUsage | null;
|
|
1026
|
+
+ executorInvoked: boolean;
|
|
1027
|
+
+ usageStatus: 'final' | 'partial' | 'unknown';
|
|
1028
|
+
gitInitialized: boolean;
|
|
1029
|
+
skillTriggered?: boolean | null;
|
|
1030
|
+
}
|
|
1031
|
+
@@ -182,15 +187,22 @@ export async function runTrial(
|
|
1032
|
+
condition: Condition,
|
|
1033
|
+
trial: number,
|
|
1034
|
+
): Promise<TrialOutcome> {
|
|
1035
|
+
- const { bench, target, executor } = plan;
|
|
1036
|
+
+ const { bench, executor } = plan;
|
|
1037
|
+
+ const target = condition === 'baseline' && plan.baselineTarget ? plan.baselineTarget : plan.target;
|
|
1038
|
+
+ if (plan.baselineTarget) {
|
|
1039
|
+
+ if (!plan.skillInstallDir) throw new Error('Skill revision comparison requires installed delivery.');
|
|
1040
|
+
+ assertSkillRevisionTargets(plan.target, plan.baselineTarget);
|
|
1041
|
+
+ }
|
|
1042
|
+
const inputMode = plan.inputMode ?? 'snapshot';
|
|
1043
|
+
assertInputModeSupported(inputMode, executor);
|
|
1044
|
+
if (plan.skillInstallDir) {
|
|
1045
|
+
if (target.kind !== 'skill' || inputMode !== 'workspace') {
|
|
1046
|
+
throw new Error('Installed Skill delivery requires a Skill target and workspace input.');
|
|
1047
|
+
}
|
|
1048
|
+
- if (collectInstalledSkillFingerprint(target.sourceDir).sha256 !== target.sha256) {
|
|
1049
|
+
- throw new Error('Skill resources changed after planning; freeze the input again before running.');
|
|
1050
|
+
+ for (const skill of [plan.target, ...(plan.baselineTarget ? [plan.baselineTarget] : [])]) {
|
|
1051
|
+
+ if (collectInstalledSkillFingerprint(skill.sourceDir).sha256 !== skill.sha256) {
|
|
1052
|
+
+ throw new Error('Skill resources changed after planning; freeze the input again before running.');
|
|
1053
|
+
+ }
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
const task = bench.tasks.find((t) => t.id === taskId);
|
|
1057
|
+
@@ -213,7 +225,7 @@ export async function runTrial(
|
|
1058
|
+
if (plan.skillInstallDir) {
|
|
1059
|
+
const destination = installedSkillDestination(runDir, plan.skillInstallDir, target.name);
|
|
1060
|
+
if (existsSync(destination)) throw new Error('Fixture already contains the evaluated Skill: ' + destination);
|
|
1061
|
+
- if (condition === 'treatment') installSkillResources(target, runDir, plan.skillInstallDir);
|
|
1062
|
+
+ if (condition === 'treatment' || plan.baselineTarget) installSkillResources(target, runDir, plan.skillInstallDir);
|
|
1063
|
+
}
|
|
1064
|
+
const gitInitialized = await gitInit(runDir);
|
|
1065
|
+
|
|
1066
|
+
@@ -235,18 +247,30 @@ export async function runTrial(
|
|
1067
|
+
let tokens: TokenUsage | null = null;
|
|
1068
|
+
let rawOutput: string | null = null;
|
|
1069
|
+
let skillTriggered: boolean | null = null;
|
|
1070
|
+
+ let executorInvoked = false;
|
|
1071
|
+
+ let usageStatus: TrialOutcome['usageStatus'] = 'unknown';
|
|
1072
|
+
try {
|
|
1073
|
+
if (!gitInitialized && task.verifierKind === 'command') {
|
|
1074
|
+
throw new Error('Benchmark Git initialization or reflog verification failed; command task was not executed.');
|
|
1075
|
+
}
|
|
1076
|
+
+ executorInvoked = true;
|
|
1077
|
+
const result = await executor.run(prompt, runDir);
|
|
1078
|
+
output = result.output;
|
|
1079
|
+
tokens = result.tokens ?? null;
|
|
1080
|
+
rawOutput = result.rawOutput ?? null;
|
|
1081
|
+
skillTriggered = result.skillTriggered ?? null;
|
|
1082
|
+
+ usageStatus = result.usageStatus ?? 'final';
|
|
1083
|
+
error = result.guardError ?? null;
|
|
1084
|
+
} catch (executorError) {
|
|
1085
|
+
error = (executorError as Error).message;
|
|
1086
|
+
+ if (executorError instanceof ExecutorFailure) {
|
|
1087
|
+
+ executorInvoked = executorError.executorInvoked;
|
|
1088
|
+
+ output = executorError.result.output;
|
|
1089
|
+
+ tokens = executorError.result.tokens ?? null;
|
|
1090
|
+
+ rawOutput = executorError.result.rawOutput ?? null;
|
|
1091
|
+
+ skillTriggered = executorError.result.skillTriggered ?? null;
|
|
1092
|
+
+ usageStatus = executorError.result.usageStatus ?? (tokens ? 'partial' : 'unknown');
|
|
1093
|
+
+ }
|
|
1094
|
+
}
|
|
1095
|
+
if (error === null) {
|
|
1096
|
+
error = await engagementError(output, task.verifierKind, runDir, gitInitialized);
|
|
1097
|
+
@@ -295,6 +319,8 @@ export async function runTrial(
|
|
1098
|
+
error,
|
|
1099
|
+
output,
|
|
1100
|
+
tokens,
|
|
1101
|
+
+ executorInvoked,
|
|
1102
|
+
+ usageStatus,
|
|
1103
|
+
gitInitialized,
|
|
1104
|
+
...(plan.skillInstallDir ? { skillTriggered } : {}),
|
|
1105
|
+
};
|
|
1106
|
+
@@ -312,7 +338,7 @@ export async function runTrial(
|
|
1107
|
+
kind: target.kind,
|
|
1108
|
+
name: target.name,
|
|
1109
|
+
bundleSha256: target.sha256,
|
|
1110
|
+
- applied: condition === 'treatment' || target.overlays.baseline !== undefined,
|
|
1111
|
+
+ applied: condition === 'treatment' || plan.baselineTarget !== undefined || target.overlays.baseline !== undefined,
|
|
1112
|
+
},
|
|
1113
|
+
executor: withSampling(executor.describe()),
|
|
1114
|
+
},
|
|
1115
|
+
@@ -357,7 +383,7 @@ function sumTokens(records: TrialOutcome[]): { input: number; output: number } |
|
|
1116
|
+
let output = 0;
|
|
1117
|
+
let seen = false;
|
|
1118
|
+
for (const record of records) {
|
|
1119
|
+
- if (!record.tokens) continue;
|
|
1120
|
+
+ if (!record.tokens || record.usageStatus !== 'final') continue;
|
|
1121
|
+
seen = true;
|
|
1122
|
+
input += record.tokens.input ?? 0;
|
|
1123
|
+
output += record.tokens.output ?? 0;
|
|
1124
|
+
@@ -431,8 +457,8 @@ function statsFor(records: TrialOutcome[], errors: number, readObservations = fa
|
|
1125
|
+
meanScore,
|
|
1126
|
+
tokens: sumTokens(records),
|
|
1127
|
+
tokenCoverage: {
|
|
1128
|
+
- input: records.filter(r => typeof r.tokens?.input === 'number').length,
|
|
1129
|
+
- output: records.filter(r => typeof r.tokens?.output === 'number').length,
|
|
1130
|
+
+ input: records.filter(r => r.usageStatus === 'final' && typeof r.tokens?.input === 'number').length,
|
|
1131
|
+
+ output: records.filter(r => r.usageStatus === 'final' && typeof r.tokens?.output === 'number').length,
|
|
1132
|
+
},
|
|
1133
|
+
};
|
|
1134
|
+
}
|
|
1135
|
+
@@ -638,6 +664,7 @@ function summarizeTask(
|
|
1136
|
+
facets: facetStats(survivors),
|
|
1137
|
+
verifierNotes: verifierConsistencyNotes(taskId, outcomes),
|
|
1138
|
+
tokenDelta: tokenDelta(baseline.tokens, treatment.tokens),
|
|
1139
|
+
+ costs: summarizeCosts(outcomes, survivors),
|
|
1140
|
+
verdict,
|
|
1141
|
+
verdictReason: reason,
|
|
1142
|
+
judge: summarizeJudge(judgeResults),
|
|
1143
|
+
@@ -646,6 +673,10 @@ function summarizeTask(
|
|
1144
|
+
|
|
1145
|
+
export async function runExperiment(plan: ExperimentPlan): Promise<RunManifest> {
|
|
1146
|
+
assertInputModeSupported(plan.inputMode ?? 'snapshot', plan.executor);
|
|
1147
|
+
+ if (plan.baselineTarget) {
|
|
1148
|
+
+ if (!plan.skillInstallDir) throw new Error('Skill revision comparison requires installed delivery.');
|
|
1149
|
+
+ assertSkillRevisionTargets(plan.target, plan.baselineTarget);
|
|
1150
|
+
+ }
|
|
1151
|
+
if (plan.skillInstallDir) {
|
|
1152
|
+
if (plan.target.kind !== 'skill' || plan.inputMode !== 'workspace') {
|
|
1153
|
+
throw new Error('Installed Skill delivery requires a Skill target and workspace input.');
|
|
1154
|
+
@@ -717,6 +748,13 @@ export async function runExperiment(plan: ExperimentPlan): Promise<RunManifest>
|
|
1155
|
+
bundleSha256: plan.target.sha256,
|
|
1156
|
+
files: plan.target.files,
|
|
1157
|
+
},
|
|
1158
|
+
+ ...(plan.baselineTarget ? { baselineTarget: {
|
|
1159
|
+
+ kind: 'skill' as const,
|
|
1160
|
+
+ name: plan.baselineTarget.name,
|
|
1161
|
+
+ sourceDir: plan.baselineTarget.sourceDir,
|
|
1162
|
+
+ bundleSha256: plan.baselineTarget.sha256,
|
|
1163
|
+
+ files: plan.baselineTarget.files,
|
|
1164
|
+
+ } } : {}),
|
|
1165
|
+
bench: {
|
|
1166
|
+
name: plan.bench.name,
|
|
1167
|
+
dir: plan.bench.dir,
|
|
1168
|
+
@@ -735,6 +773,7 @@ export async function runExperiment(plan: ExperimentPlan): Promise<RunManifest>
|
|
1169
|
+
deltaPassRate: overallDelta,
|
|
1170
|
+
scoreDelta,
|
|
1171
|
+
tokenDelta: tokenDelta(overallBaseline.tokens, overallTreatment.tokens),
|
|
1172
|
+
+ costs: summarizeCosts(allOutcomes, allSurvivors),
|
|
1173
|
+
verdict: overallVerdict.verdict,
|
|
1174
|
+
verdictReason: overallVerdict.reason,
|
|
1175
|
+
stats: {
|
|
1176
|
+
diff --git a/src/harness/types.ts b/src/harness/types.ts
|
|
1177
|
+
index 9401c47..d6444a8 100644
|
|
1178
|
+
--- a/src/harness/types.ts
|
|
1179
|
+
+++ b/src/harness/types.ts
|
|
1180
|
+
@@ -1,6 +1,8 @@
|
|
1181
|
+
export interface TokenUsage {
|
|
1182
|
+
input?: number;
|
|
1183
|
+
output?: number;
|
|
1184
|
+
+ /** Cache-read input, already included in input; absent means unrecorded. */
|
|
1185
|
+
+ cachedInput?: number;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
export interface ExecutorResult {
|
|
1189
|
+
@@ -10,6 +12,16 @@ export interface ExecutorResult {
|
|
1190
|
+
rawOutput?: string;
|
|
1191
|
+
/** Returned output retained, but input/configuration drift makes this trial ungradable. */
|
|
1192
|
+
guardError?: string;
|
|
1193
|
+
+ /** Partial usage is a known lower bound, never a complete final receipt. */
|
|
1194
|
+
+ usageStatus?: 'final' | 'partial';
|
|
1195
|
+
+}
|
|
1196
|
+
+
|
|
1197
|
+
+/** Retain public output/usage from a failed invocation; guards can refuse before invoking. */
|
|
1198
|
+
+export class ExecutorFailure extends Error {
|
|
1199
|
+
+ constructor(message: string, readonly result: ExecutorResult = { output: '' }, readonly executorInvoked = true) {
|
|
1200
|
+
+ super(message);
|
|
1201
|
+
+ this.name = 'ExecutorFailure';
|
|
1202
|
+
+ }
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
export interface ExecutorDescriptor {
|