skillfit 0.8.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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-verification.json +38 -0
- package/docs/releases/0.9.0.md +76 -0
- package/docs/releases/0.9.1.md +33 -0
- package/docs/releases/trusted-publishing.md +53 -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 +3 -3
- package/skills/skillfit/SKILL.md +22 -5
package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/replay/src/commands/bench.ts
ADDED
|
@@ -0,0 +1,1255 @@
|
|
|
1
|
+
import { spawnSync } from 'node:child_process';
|
|
2
|
+
import { existsSync, lstatSync, mkdirSync, mkdtempSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from 'node:fs';
|
|
3
|
+
import { tmpdir } from 'node:os';
|
|
4
|
+
import { basename, dirname, isAbsolute, join, relative, resolve } from 'node:path';
|
|
5
|
+
import { getAgent } from '../agents.js';
|
|
6
|
+
import { loadBench } from '../harness/bench.js';
|
|
7
|
+
import { ExperimentSession, validateCallBudget, type SessionOptions } from '../harness/experiment-session.js';
|
|
8
|
+
import { CliExecutor } from '../harness/executors/cli.js';
|
|
9
|
+
import { listFilesRecursive } from '../harness/hash.js';
|
|
10
|
+
import { assertInputModeSupported } from '../harness/prompt.js';
|
|
11
|
+
import { runTrial, runVerifier, verifierFailure } from '../harness/runner.js';
|
|
12
|
+
import type { ExperimentPlan } from '../harness/runner.js';
|
|
13
|
+
import { MOCK_MARKER_FILE, RUN_GROUP_PATTERN } from '../harness/constants.js';
|
|
14
|
+
import { verdictFromOutput } from '../harness/verifier-summary.js';
|
|
15
|
+
import type { VerifierCheck } from '../harness/verifier-summary.js';
|
|
16
|
+
import type { Executor, InputMode, SkillBundle } from '../harness/types.js';
|
|
17
|
+
import { confirm as confirmPrompt } from './confirm.js';
|
|
18
|
+
import { BACKUP_SUFFIX } from './install.js';
|
|
19
|
+
import type { Check } from './doctor.js';
|
|
20
|
+
|
|
21
|
+
export interface BenchInitOptions {
|
|
22
|
+
dir?: string;
|
|
23
|
+
cwd?: string;
|
|
24
|
+
dryRun?: boolean;
|
|
25
|
+
yes?: boolean;
|
|
26
|
+
confirm?: (question: string) => Promise<boolean>;
|
|
27
|
+
log?: (msg: string) => void;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface BenchCheckCalibrateOptions {
|
|
31
|
+
maxCalls?: number;
|
|
32
|
+
sessionOptions?: Pick<SessionOptions, 'homeDir' | 'env' | 'versionProbe'>;
|
|
33
|
+
agent?: string;
|
|
34
|
+
inputMode?: InputMode;
|
|
35
|
+
dryRun?: boolean;
|
|
36
|
+
trials?: number;
|
|
37
|
+
executor?: Executor;
|
|
38
|
+
runsRoot?: string;
|
|
39
|
+
runGroup?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface BenchCheckOptions {
|
|
43
|
+
dir?: string;
|
|
44
|
+
log?: (msg: string) => void;
|
|
45
|
+
calibrate?: BenchCheckCalibrateOptions | false;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface BenchCheckReport {
|
|
49
|
+
dir: string;
|
|
50
|
+
checks: Check[];
|
|
51
|
+
failures: number;
|
|
52
|
+
warnings: number;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
const FIXTURE_SIZE_WARN_BYTES = 64 * 1024;
|
|
56
|
+
|
|
57
|
+
// benches/README.md: a verifier decomposes its acceptance criteria into 2–8 named checks.
|
|
58
|
+
const MIN_FACET_CHECKS = 2;
|
|
59
|
+
const MAX_FACET_CHECKS = 8;
|
|
60
|
+
|
|
61
|
+
// docs/metrics.md: >=30% of trigger-labelled tasks should be negative controls.
|
|
62
|
+
const NEGATIVE_CONTROL_TARGET = 0.3;
|
|
63
|
+
const NEGATIVE_CONTROL_PERCENT = 30;
|
|
64
|
+
|
|
65
|
+
function templateFiles(benchName: string): Record<string, string> {
|
|
66
|
+
return {
|
|
67
|
+
'bench.json': `${JSON.stringify(
|
|
68
|
+
{
|
|
69
|
+
schemaVersion: 1,
|
|
70
|
+
name: benchName,
|
|
71
|
+
description: 'Describe what real-work tasks this bench measures.',
|
|
72
|
+
tasks: [
|
|
73
|
+
{
|
|
74
|
+
id: 'example-task',
|
|
75
|
+
fixture: 'fixtures/example-task',
|
|
76
|
+
prompt: 'prompts/example-task.md',
|
|
77
|
+
verifier: 'node verifiers/example-task.mjs',
|
|
78
|
+
oracle: 'node ground-truth/oracle-example-task.mjs',
|
|
79
|
+
rubric: 'ground-truth/example-task.md',
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
},
|
|
83
|
+
null,
|
|
84
|
+
2,
|
|
85
|
+
)}\n`,
|
|
86
|
+
'prompts/example-task.md': `# Example task
|
|
87
|
+
|
|
88
|
+
The repository snapshot below contains \`answer.txt\`. Reply with its exact contents and nothing else.
|
|
89
|
+
`,
|
|
90
|
+
'prompts/example-task.trigger.md': `# Example task
|
|
91
|
+
|
|
92
|
+
The repository in your current working directory contains \`answer.txt\`. Reply with its exact contents and nothing else.
|
|
93
|
+
`,
|
|
94
|
+
'fixtures/example-task/answer.txt': 'skillfit-ok\n',
|
|
95
|
+
[`fixtures/example-task/${MOCK_MARKER_FILE}`]: `${JSON.stringify(
|
|
96
|
+
{ baseline: { output: 'skillfit-ok' }, treatment: { output: 'skillfit-ok' } },
|
|
97
|
+
null,
|
|
98
|
+
2,
|
|
99
|
+
)}\n`,
|
|
100
|
+
'verifiers/example-task.mjs': `import fs from 'node:fs';
|
|
101
|
+
import path from 'node:path';
|
|
102
|
+
|
|
103
|
+
const runDir = process.argv[2];
|
|
104
|
+
if (!runDir) {
|
|
105
|
+
console.error('usage: node example-task.mjs <run-dir>');
|
|
106
|
+
process.exit(2);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
let output;
|
|
110
|
+
try {
|
|
111
|
+
output = fs.readFileSync(path.join(runDir, '_output.md'), 'utf8').trim();
|
|
112
|
+
} catch {
|
|
113
|
+
console.log(JSON.stringify({ passed: false, checks: [{ name: 'exact-answer', pass: false }], error: 'missing _output.md' }));
|
|
114
|
+
process.exit(1);
|
|
115
|
+
}
|
|
116
|
+
const passed = output === 'skillfit-ok';
|
|
117
|
+
console.log(JSON.stringify({ passed, checks: [{ name: 'exact-answer', pass: passed }] }));
|
|
118
|
+
process.exit(passed ? 0 : 1);
|
|
119
|
+
`,
|
|
120
|
+
'ground-truth/oracle-example-task.mjs': `import fs from 'node:fs';
|
|
121
|
+
import path from 'node:path';
|
|
122
|
+
|
|
123
|
+
const runDir = process.argv[2];
|
|
124
|
+
if (!runDir) {
|
|
125
|
+
console.error('usage: node oracle-example-task.mjs <run-dir>');
|
|
126
|
+
process.exit(2);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// The oracle applies the reference solution: the exact contents of answer.txt.
|
|
130
|
+
const answer = fs.readFileSync(path.join(runDir, 'answer.txt'), 'utf8').trim();
|
|
131
|
+
fs.writeFileSync(path.join(runDir, '_output.md'), answer + '\\n', 'utf8');
|
|
132
|
+
`,
|
|
133
|
+
'ground-truth/example-task.md': `# Ground truth — example-task
|
|
134
|
+
|
|
135
|
+
The expected answer is \`skillfit-ok\` (the exact contents of \`answer.txt\`).
|
|
136
|
+
|
|
137
|
+
This task is a placeholder so the scaffold passes \`skillfit bench check\` out of the box. Replace it with
|
|
138
|
+
a real task from your own work:
|
|
139
|
+
|
|
140
|
+
1. Drop the real (pre-change) repository state into \`fixtures/<task-id>/\` — the best tasks come from
|
|
141
|
+
failures you have actually seen: a bug that escaped review, a migration that went wrong.
|
|
142
|
+
2. Write the prompt a teammate would get (\`prompts/<task-id>.md\`, plus a \`.trigger.md\` variant that
|
|
143
|
+
references the on-disk repo instead of the inline snapshot).
|
|
144
|
+
3. Encode what you would check by hand into \`verifiers/<task-id>.mjs\` — exit code 0 = pass, nothing else
|
|
145
|
+
matters. Keep it deterministic: no network, no clocks, no randomness.
|
|
146
|
+
4. Record the expected answer here in \`ground-truth/\` so future edits stay honest.
|
|
147
|
+
5. Run \`skillfit bench check\`, then calibrate difficulty with a real agent
|
|
148
|
+
(target: baseline pass rate 30–70% — see docs/metrics.md in the skillfit repo).
|
|
149
|
+
`,
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export async function runBenchInit(
|
|
154
|
+
options: BenchInitOptions,
|
|
155
|
+
): Promise<{ dir: string; created: string[] } | null> {
|
|
156
|
+
const log = options.log ?? ((msg: string) => console.log(msg));
|
|
157
|
+
const dir = resolve(options.cwd ?? process.cwd(), options.dir ?? 'skillfit-bench');
|
|
158
|
+
const files = templateFiles(basename(dir));
|
|
159
|
+
const created = Object.keys(files);
|
|
160
|
+
|
|
161
|
+
if (options.dryRun) {
|
|
162
|
+
log(`Bench scaffold plan (dry run) — ${dir}:`);
|
|
163
|
+
for (const rel of created) log(` + ${rel}`);
|
|
164
|
+
log('Dry run — nothing was written. Re-run with --yes to apply.');
|
|
165
|
+
return null;
|
|
166
|
+
}
|
|
167
|
+
if (existsSync(dir) && readdirSync(dir).length > 0) {
|
|
168
|
+
throw new Error(`Target directory is not empty: ${dir}`);
|
|
169
|
+
}
|
|
170
|
+
if (!options.yes) {
|
|
171
|
+
const confirm = options.confirm ?? confirmPrompt;
|
|
172
|
+
const ok = await confirm(`Create ${created.length} file(s) in ${dir}? [y/N] `);
|
|
173
|
+
if (!ok) {
|
|
174
|
+
log('Aborted — nothing was written.');
|
|
175
|
+
return null;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
for (const [rel, content] of Object.entries(files)) {
|
|
179
|
+
const target = join(dir, rel);
|
|
180
|
+
mkdirSync(dirname(target), { recursive: true });
|
|
181
|
+
writeFileSync(target, content, 'utf8');
|
|
182
|
+
}
|
|
183
|
+
loadBench(dir);
|
|
184
|
+
log(`Bench scaffolded at ${dir} (${created.length} files, self-check passed).`);
|
|
185
|
+
log('Next:');
|
|
186
|
+
log(` skillfit bench check ${dir}`);
|
|
187
|
+
log(` skillfit eval <skill-path> --bench ${dir} --agent <id> --trials 5`);
|
|
188
|
+
return { dir, created };
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
interface MockMarkerOutputs {
|
|
192
|
+
baseline?: { output?: string };
|
|
193
|
+
treatment?: { output?: string };
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
async function probeVerifier(
|
|
197
|
+
benchDir: string,
|
|
198
|
+
verifier: string,
|
|
199
|
+
output: string | null,
|
|
200
|
+
): Promise<{ exitCode: number | null; error: string | null; checks: readonly VerifierCheck[] | null }> {
|
|
201
|
+
const dir = mkdtempSync(join(tmpdir(), 'skillfit-check-'));
|
|
202
|
+
try {
|
|
203
|
+
if (output !== null) {
|
|
204
|
+
writeFileSync(join(dir, '_output.md'), output, 'utf8');
|
|
205
|
+
}
|
|
206
|
+
const result = await runVerifier(benchDir, verifier, dir);
|
|
207
|
+
return {
|
|
208
|
+
exitCode: result.exitCode,
|
|
209
|
+
error: result.error,
|
|
210
|
+
checks: verdictFromOutput(result.output)?.checks ?? null,
|
|
211
|
+
};
|
|
212
|
+
} finally {
|
|
213
|
+
rmSync(dir, { recursive: true, force: true });
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
function facetCountCheck(taskId: string, checks: readonly VerifierCheck[] | null): Check | null {
|
|
218
|
+
// `checks` is optional in the verifier contract; with no checks there is no graded signal to gate.
|
|
219
|
+
if (checks === null) return null;
|
|
220
|
+
if (checks.length >= MIN_FACET_CHECKS && checks.length <= MAX_FACET_CHECKS) {
|
|
221
|
+
return {
|
|
222
|
+
status: 'PASS',
|
|
223
|
+
message: `${taskId}: ${checks.length} facet check(s), within the ${MIN_FACET_CHECKS}–${MAX_FACET_CHECKS} contract`,
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
const why =
|
|
227
|
+
checks.length < MIN_FACET_CHECKS
|
|
228
|
+
? 'a single check is binary pass/fail in facet costume — it carries none of the graded signal facet scores exist to provide'
|
|
229
|
+
: 'the trial score is dominated by whatever these checks happen to measure, and the per-facet table stops being readable';
|
|
230
|
+
return {
|
|
231
|
+
status: 'WARN',
|
|
232
|
+
message: `${taskId}: ${checks.length} facet check(s) — outside the ${MIN_FACET_CHECKS}–${MAX_FACET_CHECKS} range in benches/README.md (${why})`,
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
function copyFixture(fixtureDir: string, dest: string): void {
|
|
237
|
+
for (const rel of listFilesRecursive(fixtureDir)) {
|
|
238
|
+
const target = join(dest, rel);
|
|
239
|
+
mkdirSync(dirname(target), { recursive: true });
|
|
240
|
+
writeFileSync(target, readFileSync(join(fixtureDir, rel)));
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
type OracleGateOutcome =
|
|
245
|
+
| { kind: 'oracle-failed'; exitCode: number | null; reason: string | null }
|
|
246
|
+
| { kind: 'verifier-failed'; reason: string | null }
|
|
247
|
+
| { kind: 'low-score'; score: number }
|
|
248
|
+
| { kind: 'pass'; score: number | null };
|
|
249
|
+
|
|
250
|
+
async function runOracleGate(
|
|
251
|
+
benchDir: string,
|
|
252
|
+
fixtureDir: string,
|
|
253
|
+
oracle: string,
|
|
254
|
+
verifier: string,
|
|
255
|
+
): Promise<OracleGateOutcome> {
|
|
256
|
+
const dir = mkdtempSync(join(tmpdir(), 'skillfit-check-'));
|
|
257
|
+
try {
|
|
258
|
+
copyFixture(fixtureDir, dir);
|
|
259
|
+
const oracleRun = await runVerifier(benchDir, oracle, dir);
|
|
260
|
+
if (oracleRun.exitCode !== 0) {
|
|
261
|
+
return {
|
|
262
|
+
kind: 'oracle-failed',
|
|
263
|
+
exitCode: oracleRun.exitCode,
|
|
264
|
+
reason: oracleRun.exitCode === null ? verifierFailure('oracle', oracle, oracleRun.error) : null,
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
const graded = await runVerifier(benchDir, verifier, dir);
|
|
268
|
+
if (graded.exitCode !== 0) {
|
|
269
|
+
return {
|
|
270
|
+
kind: 'verifier-failed',
|
|
271
|
+
reason: graded.exitCode === null ? verifierFailure('verifier', verifier, graded.error) : null,
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
const score = verdictFromOutput(graded.output)?.score ?? null;
|
|
275
|
+
if (score !== null && score < 1) {
|
|
276
|
+
return { kind: 'low-score', score };
|
|
277
|
+
}
|
|
278
|
+
return { kind: 'pass', score };
|
|
279
|
+
} finally {
|
|
280
|
+
rmSync(dir, { recursive: true, force: true });
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
async function probeOracle(
|
|
285
|
+
benchDir: string,
|
|
286
|
+
fixture: string,
|
|
287
|
+
oracle: string,
|
|
288
|
+
verifier: string,
|
|
289
|
+
): Promise<{ status: Check['status']; message: string }> {
|
|
290
|
+
const gate = await runOracleGate(benchDir, join(benchDir, fixture), oracle, verifier);
|
|
291
|
+
switch (gate.kind) {
|
|
292
|
+
case 'oracle-failed':
|
|
293
|
+
return {
|
|
294
|
+
status: 'FAIL',
|
|
295
|
+
message:
|
|
296
|
+
gate.reason ??
|
|
297
|
+
`oracle command itself failed (exit ${gate.exitCode}) — the reference solution cannot run`,
|
|
298
|
+
};
|
|
299
|
+
case 'verifier-failed':
|
|
300
|
+
return {
|
|
301
|
+
status: 'FAIL',
|
|
302
|
+
message:
|
|
303
|
+
gate.reason ?? 'oracle solution does not pass the verifier — the task is unwinnable or the oracle is stale',
|
|
304
|
+
};
|
|
305
|
+
case 'low-score':
|
|
306
|
+
return {
|
|
307
|
+
status: 'FAIL',
|
|
308
|
+
message: `oracle passes the verifier but scores ${gate.score.toFixed(2)} on its checks — the checks are stricter than the exit code`,
|
|
309
|
+
};
|
|
310
|
+
case 'pass':
|
|
311
|
+
return {
|
|
312
|
+
status: 'PASS',
|
|
313
|
+
message: `oracle solution passes the verifier${gate.score !== null ? ' with full checks' : ''}`,
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
function renderCheck({ status, message }: Check): string {
|
|
319
|
+
return `[${status}] ${message}`;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export async function runBenchCheck(options: BenchCheckOptions): Promise<BenchCheckReport> {
|
|
323
|
+
const log = options.log ?? ((msg: string) => console.log(msg));
|
|
324
|
+
const dir = resolve(options.dir ?? '.');
|
|
325
|
+
const checks: Check[] = [];
|
|
326
|
+
const push = (status: Check['status'], message: string): void => {
|
|
327
|
+
checks.push({ status, message });
|
|
328
|
+
log(renderCheck({ status, message }));
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
let bench;
|
|
332
|
+
try {
|
|
333
|
+
bench = loadBench(dir);
|
|
334
|
+
} catch (error) {
|
|
335
|
+
push('FAIL', `bench does not load: ${(error as Error).message}`);
|
|
336
|
+
return finish(dir, checks, log);
|
|
337
|
+
}
|
|
338
|
+
push('PASS', `bench.json valid (${bench.tasks.length} task(s), content sha256 ${bench.contentSha256.slice(0, 12)}…)`);
|
|
339
|
+
if (options.calibrate) {
|
|
340
|
+
const trials = options.calibrate.trials ?? CALIBRATE_DEFAULT_TRIALS;
|
|
341
|
+
if (!Number.isInteger(trials) || trials < 1 || trials > 20) throw new Error(`calibration trials must be an integer between 1 and 20, got ${trials}`);
|
|
342
|
+
validateCallBudget(bench.tasks.length * trials, options.calibrate.maxCalls);
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
let labeledTasks = 0;
|
|
346
|
+
let negativeTasks = 0;
|
|
347
|
+
for (const task of bench.tasks) {
|
|
348
|
+
let facetChecks: readonly VerifierCheck[] | null = null;
|
|
349
|
+
if ((task.verifierKind ?? 'output') === 'command') {
|
|
350
|
+
const fixtureCopy = mkdtempSync(join(tmpdir(), 'skillfit-check-'));
|
|
351
|
+
try {
|
|
352
|
+
copyFixture(join(bench.dir, task.fixture), fixtureCopy);
|
|
353
|
+
const pristine = await runVerifier(bench.dir, task.verifier, fixtureCopy);
|
|
354
|
+
facetChecks = verdictFromOutput(pristine.output)?.checks ?? null;
|
|
355
|
+
if (pristine.exitCode === null) {
|
|
356
|
+
// Without this branch a verifier that cannot even be spawned reads as a clean NOP gate:
|
|
357
|
+
// "fails on the untouched fixture" is exactly what `exitCode !== 0` looks like.
|
|
358
|
+
push('FAIL', `${task.id}: ${verifierFailure('verifier', task.verifier, pristine.error)}`);
|
|
359
|
+
} else if (pristine.exitCode === 0) {
|
|
360
|
+
push(
|
|
361
|
+
'FAIL',
|
|
362
|
+
`${task.id}: command verifier already passes on the untouched fixture — the task is solved or the verifier is broken`,
|
|
363
|
+
);
|
|
364
|
+
} else {
|
|
365
|
+
push(
|
|
366
|
+
'PASS',
|
|
367
|
+
`${task.id}: command verifier fails on the untouched fixture (the failure reproduces)`,
|
|
368
|
+
);
|
|
369
|
+
}
|
|
370
|
+
} finally {
|
|
371
|
+
rmSync(fixtureCopy, { recursive: true, force: true });
|
|
372
|
+
}
|
|
373
|
+
} else {
|
|
374
|
+
const missing = await probeVerifier(bench.dir, task.verifier, null);
|
|
375
|
+
if (missing.exitCode === null) {
|
|
376
|
+
push('FAIL', `${task.id}: ${verifierFailure('verifier', task.verifier, missing.error)}`);
|
|
377
|
+
} else if (missing.exitCode === 0) {
|
|
378
|
+
push('FAIL', `${task.id}: verifier does not reject a missing _output.md`);
|
|
379
|
+
} else {
|
|
380
|
+
push('PASS', `${task.id}: verifier rejects missing output`);
|
|
381
|
+
}
|
|
382
|
+
const empty = await probeVerifier(bench.dir, task.verifier, '');
|
|
383
|
+
facetChecks = empty.checks;
|
|
384
|
+
if (empty.exitCode === null) {
|
|
385
|
+
push('FAIL', `${task.id}: ${verifierFailure('verifier', task.verifier, empty.error)}`);
|
|
386
|
+
} else if (empty.exitCode === 0) {
|
|
387
|
+
push('FAIL', `${task.id}: verifier passes an empty output — it cannot tell success from silence`);
|
|
388
|
+
} else {
|
|
389
|
+
push('PASS', `${task.id}: verifier rejects empty output`);
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
const facetGate = facetCountCheck(task.id, facetChecks);
|
|
394
|
+
if (facetGate) push(facetGate.status, facetGate.message);
|
|
395
|
+
|
|
396
|
+
if (task.oracle) {
|
|
397
|
+
const oracleResult = await probeOracle(bench.dir, task.fixture, task.oracle, task.verifier);
|
|
398
|
+
push(oracleResult.status, `${task.id}: ${oracleResult.message}`);
|
|
399
|
+
} else {
|
|
400
|
+
push(
|
|
401
|
+
'WARN',
|
|
402
|
+
`${task.id}: no oracle — task winnability is unverified (nothing proves a correct solution passes this verifier; register one with --oracle or write ground-truth/oracle-${task.id}.mjs)`,
|
|
403
|
+
);
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
const markerPath = join(bench.dir, task.fixture, MOCK_MARKER_FILE);
|
|
407
|
+
if ((task.verifierKind ?? 'output') === 'command') {
|
|
408
|
+
push(
|
|
409
|
+
'INFO',
|
|
410
|
+
`${task.id}: command verifier — mock-arm probes not applicable (a mock writes _output.md text, not file edits)${
|
|
411
|
+
task.oracle
|
|
412
|
+
? '; offline coverage comes from the oracle and NOP gates above'
|
|
413
|
+
: '; with no oracle registered, nothing offline shows this task is solvable'
|
|
414
|
+
}`,
|
|
415
|
+
);
|
|
416
|
+
} else if (existsSync(markerPath)) {
|
|
417
|
+
try {
|
|
418
|
+
const marker = JSON.parse(readFileSync(markerPath, 'utf8')) as MockMarkerOutputs;
|
|
419
|
+
for (const arm of ['baseline', 'treatment'] as const) {
|
|
420
|
+
const behavior = marker[arm];
|
|
421
|
+
if (behavior?.output === undefined) continue;
|
|
422
|
+
const probe = await probeVerifier(bench.dir, task.verifier, behavior.output);
|
|
423
|
+
push(
|
|
424
|
+
'INFO',
|
|
425
|
+
`${task.id}: mock ${arm} output → verifier ${probe.exitCode === 0 ? 'pass' : 'fail'}`,
|
|
426
|
+
);
|
|
427
|
+
}
|
|
428
|
+
} catch (error) {
|
|
429
|
+
push('FAIL', `${task.id}: ${MOCK_MARKER_FILE} is unreadable (${(error as Error).message})`);
|
|
430
|
+
}
|
|
431
|
+
} else {
|
|
432
|
+
push('INFO', `${task.id}: no ${MOCK_MARKER_FILE} (offline mock runs will produce empty outputs)`);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
const fixtureDir = join(bench.dir, task.fixture);
|
|
436
|
+
const fixtureBytes = listFilesRecursive(fixtureDir)
|
|
437
|
+
.map((rel) => statSync(join(fixtureDir, rel)).size)
|
|
438
|
+
.reduce((sum, size) => sum + size, 0);
|
|
439
|
+
if (fixtureBytes > FIXTURE_SIZE_WARN_BYTES) {
|
|
440
|
+
push(
|
|
441
|
+
'WARN',
|
|
442
|
+
`${task.id}: fixture is ${Math.round(fixtureBytes / 1024)} KB — inject mode inlines it into every prompt; keep it lean`,
|
|
443
|
+
);
|
|
444
|
+
} else {
|
|
445
|
+
push('PASS', `${task.id}: fixture size ${Math.round(fixtureBytes / 1024)} KB`);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
if (task.shouldTrigger === undefined) {
|
|
449
|
+
push('INFO', `${task.id}: no shouldTrigger label (trigger mode will skip this task)`);
|
|
450
|
+
} else {
|
|
451
|
+
labeledTasks++;
|
|
452
|
+
if (task.shouldTrigger === false) negativeTasks++;
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
if (labeledTasks > 0) {
|
|
457
|
+
const fraction = negativeTasks / labeledTasks;
|
|
458
|
+
const percent = Math.round(fraction * 100);
|
|
459
|
+
if (negativeTasks === 0) {
|
|
460
|
+
push(
|
|
461
|
+
'WARN',
|
|
462
|
+
'no shouldTrigger:false (negative-control) tasks — trigger mode cannot measure false-trigger rate (see docs/metrics.md)',
|
|
463
|
+
);
|
|
464
|
+
} else if (fraction < NEGATIVE_CONTROL_TARGET) {
|
|
465
|
+
push(
|
|
466
|
+
'WARN',
|
|
467
|
+
`${negativeTasks}/${labeledTasks} labeled task(s) are negative controls (${percent}%) — below the ${NEGATIVE_CONTROL_PERCENT}% target in docs/metrics.md, so false-trigger rate rests on a thin sample`,
|
|
468
|
+
);
|
|
469
|
+
} else {
|
|
470
|
+
push(
|
|
471
|
+
'PASS',
|
|
472
|
+
`${negativeTasks}/${labeledTasks} labeled task(s) are negative controls (${percent}%) — at or above the ${NEGATIVE_CONTROL_PERCENT}% target`,
|
|
473
|
+
);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
if (options.calibrate) {
|
|
478
|
+
await calibrateBench(bench, options.calibrate, push, log);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
return finish(dir, checks, log, options.calibrate !== false && options.calibrate !== undefined);
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
const CALIBRATE_DEFAULT_TRIALS = 2;
|
|
485
|
+
|
|
486
|
+
async function calibrateBench(
|
|
487
|
+
bench: ReturnType<typeof loadBench>,
|
|
488
|
+
options: BenchCheckCalibrateOptions,
|
|
489
|
+
push: (status: Check['status'], message: string) => void,
|
|
490
|
+
log: (msg: string) => void,
|
|
491
|
+
): Promise<void> {
|
|
492
|
+
if (!options.agent && !options.executor) {
|
|
493
|
+
push('FAIL', '--calibrate needs --agent (a CLI executor for real runs)');
|
|
494
|
+
return;
|
|
495
|
+
}
|
|
496
|
+
const trials = options.trials ?? CALIBRATE_DEFAULT_TRIALS;
|
|
497
|
+
const inputMode = options.inputMode ?? 'snapshot';
|
|
498
|
+
const capture = options.agent && getAgent(options.agent).headless.streamJson;
|
|
499
|
+
const executor = options.executor ?? CliExecutor.forAgent(options.agent ?? '',
|
|
500
|
+
capture ? { triggerSkillName: 'calibration-none' } : undefined);
|
|
501
|
+
assertInputModeSupported(inputMode, executor);
|
|
502
|
+
if (!Number.isInteger(trials) || trials < 1 || trials > 20) {
|
|
503
|
+
throw new Error(`calibration trials must be an integer between 1 and 20, got ${trials}`);
|
|
504
|
+
}
|
|
505
|
+
const plannedCalls = bench.tasks.length * trials;
|
|
506
|
+
const maxCalls = validateCallBudget(plannedCalls, options.maxCalls);
|
|
507
|
+
if (options.dryRun) {
|
|
508
|
+
push('INFO', `calibration executor: ${executor.describe().detail ?? executor.describe().model}`);
|
|
509
|
+
push('INFO', `calibration plan: ${bench.tasks.length} task(s) × ${trials} baseline run(s), input ${inputMode}; ${plannedCalls} calls, ceiling ${maxCalls}; no agent started and no run directory created`);
|
|
510
|
+
return;
|
|
511
|
+
}
|
|
512
|
+
const emptySkillDir = mkdtempSync(join(tmpdir(), 'skillfit-calibrate-'));
|
|
513
|
+
let session: ExperimentSession | undefined;
|
|
514
|
+
let failure: unknown;
|
|
515
|
+
try {
|
|
516
|
+
const skill: SkillBundle = {
|
|
517
|
+
kind: 'skill',
|
|
518
|
+
name: 'calibration-none',
|
|
519
|
+
sourceDir: emptySkillDir,
|
|
520
|
+
files: [],
|
|
521
|
+
sha256: '0'.repeat(64),
|
|
522
|
+
payload: '',
|
|
523
|
+
overlays: {},
|
|
524
|
+
};
|
|
525
|
+
const runGroup =
|
|
526
|
+
options.runGroup ??
|
|
527
|
+
`calibrate-${new Date().toISOString().slice(0, 10).replaceAll('-', '')}-${String(Date.now() % 100000).padStart(5, '0')}`;
|
|
528
|
+
if (!RUN_GROUP_PATTERN.test(runGroup)) throw new Error(`Invalid run group: ${runGroup}`);
|
|
529
|
+
const runsRoot = options.runsRoot ?? resolve('runs');
|
|
530
|
+
push('INFO', `calibration plan: ${plannedCalls} baseline calls, ceiling ${maxCalls}; fresh output ${join(runsRoot, runGroup)}`);
|
|
531
|
+
session = new ExperimentSession({ bench, target: skill, groupDir: join(runsRoot, runGroup), plannedCalls,
|
|
532
|
+
maxCalls, agent: options.agent, injected: options.executor !== undefined, ...options.sessionOptions,
|
|
533
|
+
workspaces: bench.tasks.flatMap(task => Array.from({ length: trials }, (_, i) =>
|
|
534
|
+
join(runsRoot, runGroup, task.id, 'baseline', `trial-${i + 1}`))),
|
|
535
|
+
details: { mode: 'calibration', inputMode, trials, executor: executor.describe() } });
|
|
536
|
+
// Calibration measures inject-mode baseline difficulty, so it drives the inject path with an
|
|
537
|
+
// empty skill payload (prompt.ts drops a falsy payload, so no skill block is injected) and runs
|
|
538
|
+
// one arm per task. This used to route through trigger mode, whose `shouldTrigger` filter
|
|
539
|
+
// silently calibrated zero tasks on an unlabelled bench and then reported PASS 0/0.
|
|
540
|
+
const plan: ExperimentPlan = {
|
|
541
|
+
bench,
|
|
542
|
+
target: skill,
|
|
543
|
+
inputMode,
|
|
544
|
+
executor: session.wrap(executor, 'agent'),
|
|
545
|
+
trials,
|
|
546
|
+
runsRoot,
|
|
547
|
+
runGroup,
|
|
548
|
+
log,
|
|
549
|
+
};
|
|
550
|
+
push('INFO', `calibration: ${trials} run(s) per task with no skill installed (baseline difficulty; input ${inputMode})`);
|
|
551
|
+
let discriminative = 0;
|
|
552
|
+
let tasksRun = 0;
|
|
553
|
+
const taskResults: { id: string; passes: number; completed: number; errors: number }[] = [];
|
|
554
|
+
for (const task of bench.tasks) {
|
|
555
|
+
let passes = 0;
|
|
556
|
+
let completed = 0;
|
|
557
|
+
let errors = 0;
|
|
558
|
+
for (let trial = 1; trial <= trials; trial++) {
|
|
559
|
+
const outcome = await runTrial(plan, task.id, 'baseline', trial);
|
|
560
|
+
if (outcome.error !== null) {
|
|
561
|
+
errors++;
|
|
562
|
+
continue;
|
|
563
|
+
}
|
|
564
|
+
completed++;
|
|
565
|
+
if (outcome.passed) passes++;
|
|
566
|
+
}
|
|
567
|
+
taskResults.push({ id: task.id, passes, completed, errors });
|
|
568
|
+
if (completed === 0) {
|
|
569
|
+
push(
|
|
570
|
+
'WARN',
|
|
571
|
+
`${task.id}: no completed runs${errors > 0 ? ` (${errors} ungraded run(s))` : ''} — cannot assess difficulty`,
|
|
572
|
+
);
|
|
573
|
+
continue;
|
|
574
|
+
}
|
|
575
|
+
tasksRun++;
|
|
576
|
+
const rate = passes / completed;
|
|
577
|
+
if (rate >= 0.9) {
|
|
578
|
+
push('WARN', `${task.id}: baseline ${passes}/${completed} — too easy (saturated; cannot discriminate skill effects)`);
|
|
579
|
+
} else if (rate <= 0.1) {
|
|
580
|
+
push('WARN', `${task.id}: baseline ${passes}/${completed} — too hard or broken (floor)`);
|
|
581
|
+
} else {
|
|
582
|
+
discriminative++;
|
|
583
|
+
push('PASS', `${task.id}: baseline ${passes}/${completed} — discriminative band`);
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
session.settle();
|
|
587
|
+
const result = { schemaVersion: 1, runGroup, inputMode, trials, tasks: taskResults, experiment: session.summary() };
|
|
588
|
+
writeFileSync(join(session.groupDir, '_calibration.json'), JSON.stringify(result, null, 2) + '\n', { flag: 'wx' });
|
|
589
|
+
session.finish(undefined, result, '_calibration.json');
|
|
590
|
+
if (session.summary().status !== 'completed') push('FAIL', 'Calibration stopped or incomplete; inspect _session.json and _calls.jsonl before a fresh plan.');
|
|
591
|
+
if (tasksRun === 0) {
|
|
592
|
+
push('FAIL', `calibration ran 0 task(s): difficulty unmeasured (runs under ${runGroup})`);
|
|
593
|
+
return;
|
|
594
|
+
}
|
|
595
|
+
push(
|
|
596
|
+
discriminative === tasksRun ? 'PASS' : 'INFO',
|
|
597
|
+
`calibration: ${discriminative}/${tasksRun} task(s) in the discriminative band (runs under ${runGroup}; use --trials 3+ for steadier reads)`,
|
|
598
|
+
);
|
|
599
|
+
} catch (error) { failure = error; throw error; }
|
|
600
|
+
finally {
|
|
601
|
+
session?.finish(failure);
|
|
602
|
+
rmSync(emptySkillDir, { recursive: true, force: true });
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
function finish(
|
|
607
|
+
dir: string,
|
|
608
|
+
checks: Check[],
|
|
609
|
+
log: (msg: string) => void,
|
|
610
|
+
calibrated = false,
|
|
611
|
+
): BenchCheckReport {
|
|
612
|
+
const failures = checks.filter((c) => c.status === 'FAIL').length;
|
|
613
|
+
const warnings = checks.filter((c) => c.status === 'WARN').length;
|
|
614
|
+
const passes = checks.filter((c) => c.status === 'PASS').length;
|
|
615
|
+
log('');
|
|
616
|
+
log(`Summary: ${passes} passed, ${warnings} warning(s), ${failures} failure(s)`);
|
|
617
|
+
if (!calibrated) {
|
|
618
|
+
log('Next: calibrate difficulty against a real agent —');
|
|
619
|
+
log(` skillfit eval <skill-path> --bench ${dir} --agent <id> --trials 5`);
|
|
620
|
+
log(' target: baseline pass rate 30–70%; --calibrate warns outside 10–90% (docs/metrics.md L0).');
|
|
621
|
+
}
|
|
622
|
+
return { dir, checks, failures, warnings };
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
const TASK_ID_PATTERN = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
626
|
+
|
|
627
|
+
export interface BenchAddOptions {
|
|
628
|
+
benchDir?: string;
|
|
629
|
+
cwd?: string;
|
|
630
|
+
task?: string;
|
|
631
|
+
prompt?: string;
|
|
632
|
+
promptFile?: string;
|
|
633
|
+
freeze?: boolean;
|
|
634
|
+
fromCommit?: string;
|
|
635
|
+
include?: string[];
|
|
636
|
+
sourceDir?: string;
|
|
637
|
+
verifierCmd?: string;
|
|
638
|
+
expect?: string;
|
|
639
|
+
oracle?: string;
|
|
640
|
+
decompose?: boolean;
|
|
641
|
+
verifierKind?: 'output' | 'command';
|
|
642
|
+
agent?: string;
|
|
643
|
+
executor?: Executor;
|
|
644
|
+
shouldTrigger?: boolean;
|
|
645
|
+
dryRun?: boolean;
|
|
646
|
+
yes?: boolean;
|
|
647
|
+
confirm?: (question: string) => Promise<boolean>;
|
|
648
|
+
log?: (msg: string) => void;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
export function captureSourceFiles(sourceDir: string): string[] {
|
|
652
|
+
const git = spawnSync('git', ['ls-files', '-z'], { cwd: sourceDir, encoding: 'utf8' });
|
|
653
|
+
if (git.status === 0 && git.stdout.trim() !== '') {
|
|
654
|
+
return git.stdout.split('\0').filter(Boolean);
|
|
655
|
+
}
|
|
656
|
+
return listFilesRecursive(sourceDir).filter(
|
|
657
|
+
(rel) => !rel.split(/[\\/]/).some((part) => part === '.git' || part === 'node_modules'),
|
|
658
|
+
);
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
function verifierForCmd(cmd: string): string {
|
|
662
|
+
return `import { spawnSync } from 'node:child_process';
|
|
663
|
+
|
|
664
|
+
const runDir = process.argv[2];
|
|
665
|
+
if (!runDir) {
|
|
666
|
+
console.error('usage: node <verifier> <run-dir>');
|
|
667
|
+
process.exit(2);
|
|
668
|
+
}
|
|
669
|
+
function scrubbedEnv() {
|
|
670
|
+
const env = { ...process.env };
|
|
671
|
+
delete env.NODE_TEST_CONTEXT;
|
|
672
|
+
return env;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
const result = spawnSync(${JSON.stringify(cmd)}, { cwd: runDir, shell: true, encoding: 'utf8', env: scrubbedEnv() });
|
|
676
|
+
if (result.stdout) process.stdout.write(result.stdout);
|
|
677
|
+
if (result.stderr) process.stderr.write(result.stderr);
|
|
678
|
+
if (result.error) {
|
|
679
|
+
console.error(String(result.error));
|
|
680
|
+
process.exit(1);
|
|
681
|
+
}
|
|
682
|
+
process.exit(result.status ?? 1);
|
|
683
|
+
`;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
function verifierForExpect(needle: string): string {
|
|
687
|
+
return `import fs from 'node:fs';
|
|
688
|
+
import path from 'node:path';
|
|
689
|
+
|
|
690
|
+
const runDir = process.argv[2];
|
|
691
|
+
if (!runDir) {
|
|
692
|
+
console.error('usage: node <verifier> <run-dir>');
|
|
693
|
+
process.exit(2);
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
let output;
|
|
697
|
+
try {
|
|
698
|
+
output = fs.readFileSync(path.join(runDir, '_output.md'), 'utf8');
|
|
699
|
+
} catch {
|
|
700
|
+
console.log(JSON.stringify({ passed: false, error: 'missing _output.md' }));
|
|
701
|
+
process.exit(1);
|
|
702
|
+
}
|
|
703
|
+
const passed = output.includes(${JSON.stringify(needle)});
|
|
704
|
+
console.log(JSON.stringify({ passed }));
|
|
705
|
+
process.exit(passed ? 0 : 1);
|
|
706
|
+
`;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
interface PreparedAdd {
|
|
710
|
+
defaultTaskId: string;
|
|
711
|
+
promptText: string;
|
|
712
|
+
verifierSource: string;
|
|
713
|
+
verifierKind: 'output' | 'command';
|
|
714
|
+
oracleSource?: string;
|
|
715
|
+
fixtureFiles: Array<{ rel: string; content: Buffer }>;
|
|
716
|
+
groundTruth: string;
|
|
717
|
+
planFixtureLine: string;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
function buildDecomposePrompt(
|
|
721
|
+
taskPrompt: string,
|
|
722
|
+
fixtureFiles: string[],
|
|
723
|
+
verifierKind: 'output' | 'command',
|
|
724
|
+
): string {
|
|
725
|
+
const listing = fixtureFiles.map((rel) => `- fixture/${rel}`).join('\n');
|
|
726
|
+
const grading =
|
|
727
|
+
verifierKind === 'command'
|
|
728
|
+
? 'The verifier runs a real command inside the run directory and grades the final file state (the agent edits files).'
|
|
729
|
+
: "The verifier grades the agent's final message at <run-dir>/_output.md.";
|
|
730
|
+
const solving =
|
|
731
|
+
verifierKind === 'command'
|
|
732
|
+
? 'applies the reference fix to the files inside <run-dir>'
|
|
733
|
+
: 'writes the reference answer to <run-dir>/_output.md';
|
|
734
|
+
return `You are drafting a skillfit bench task verifier and its oracle (reference solution).
|
|
735
|
+
|
|
736
|
+
# The task the bench measures
|
|
737
|
+
|
|
738
|
+
${taskPrompt}
|
|
739
|
+
|
|
740
|
+
# The fixture
|
|
741
|
+
|
|
742
|
+
A pristine copy of the task fixture lives at ./fixture/ (${fixtureFiles.length} file(s)):
|
|
743
|
+
|
|
744
|
+
${listing}
|
|
745
|
+
|
|
746
|
+
Read whatever fixture files you need. Do NOT modify anything under fixture/ — it is the
|
|
747
|
+
untouched starting state and must stay that way.
|
|
748
|
+
|
|
749
|
+
# What you must write
|
|
750
|
+
|
|
751
|
+
Two files in the current directory (NOT under fixture/):
|
|
752
|
+
|
|
753
|
+
1. verifier.mjs — run as \`node verifier.mjs <run-dir>\`. ${grading}
|
|
754
|
+
- Deterministic: same run directory in, same verdict out. No network, no clocks, no randomness.
|
|
755
|
+
- Exit code 0 = pass, anything else = fail. That is the only pass/fail signal.
|
|
756
|
+
- The LAST stdout line must be one JSON object: {"passed": boolean, "checks": [{"name": string, "pass": boolean}]}.
|
|
757
|
+
Decompose the task's acceptance criteria into named checks (2–8 of them); "passed" is true
|
|
758
|
+
exactly when every check passes. Grade the outcome, not the path taken.
|
|
759
|
+
- It MUST exit non-zero on the untouched fixture (the task starts unsolved).
|
|
760
|
+
|
|
761
|
+
2. oracle.mjs — run as \`node oracle.mjs <run-dir>\`; it ${solving}.
|
|
762
|
+
After the oracle runs, \`node verifier.mjs <run-dir>\` must exit 0 with every check passing.
|
|
763
|
+
|
|
764
|
+
Both scripts run with the bench root as cwd and receive the run directory as argv[2]. Use only
|
|
765
|
+
Node built-ins. Your draft is validated automatically: the verifier must fail the untouched
|
|
766
|
+
fixture and pass the oracle-solved one, so test both directions before you finish.
|
|
767
|
+
`;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
async function draftVerifierWithOracle(
|
|
771
|
+
options: BenchAddOptions,
|
|
772
|
+
prepared: PreparedAdd,
|
|
773
|
+
log: (msg: string) => void,
|
|
774
|
+
): Promise<{ verifierSource: string; oracleSource: string }> {
|
|
775
|
+
const executor =
|
|
776
|
+
options.executor ?? (options.agent ? CliExecutor.forAgent(options.agent) : undefined);
|
|
777
|
+
if (!executor) {
|
|
778
|
+
throw new Error('bench add --decompose needs an agent to draft with: --agent <id>.');
|
|
779
|
+
}
|
|
780
|
+
const staging = mkdtempSync(join(tmpdir(), 'skillfit-decompose-'));
|
|
781
|
+
try {
|
|
782
|
+
const fixtureDir = join(staging, 'fixture');
|
|
783
|
+
for (const file of prepared.fixtureFiles) {
|
|
784
|
+
const target = join(fixtureDir, file.rel);
|
|
785
|
+
mkdirSync(dirname(target), { recursive: true });
|
|
786
|
+
writeFileSync(target, file.content);
|
|
787
|
+
}
|
|
788
|
+
log(`Drafting verifier + oracle with ${executor.describe().kind} (${executor.describe().model})…`);
|
|
789
|
+
await executor.run(
|
|
790
|
+
buildDecomposePrompt(prepared.promptText, prepared.fixtureFiles.map((f) => f.rel), prepared.verifierKind),
|
|
791
|
+
staging,
|
|
792
|
+
);
|
|
793
|
+
const verifierPath = join(staging, 'verifier.mjs');
|
|
794
|
+
const oraclePath = join(staging, 'oracle.mjs');
|
|
795
|
+
if (!existsSync(verifierPath) || !existsSync(oraclePath)) {
|
|
796
|
+
throw new Error(
|
|
797
|
+
'the drafting agent did not write verifier.mjs and oracle.mjs into its working directory — nothing was added',
|
|
798
|
+
);
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
const nopDir = mkdtempSync(join(tmpdir(), 'skillfit-decompose-nop-'));
|
|
802
|
+
try {
|
|
803
|
+
copyFixture(fixtureDir, nopDir);
|
|
804
|
+
const nop = await runVerifier(staging, 'node verifier.mjs', nopDir);
|
|
805
|
+
if (nop.exitCode === null) {
|
|
806
|
+
throw new Error(`draft rejected: ${verifierFailure('verifier', 'node verifier.mjs', nop.error)}`);
|
|
807
|
+
}
|
|
808
|
+
if (nop.exitCode === 0) {
|
|
809
|
+
throw new Error(
|
|
810
|
+
'draft rejected: the verifier passes the untouched fixture — the task would start solved (NOP gate)',
|
|
811
|
+
);
|
|
812
|
+
}
|
|
813
|
+
} finally {
|
|
814
|
+
rmSync(nopDir, { recursive: true, force: true });
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
const solvedGate = await runOracleGate(staging, fixtureDir, 'node oracle.mjs', 'node verifier.mjs');
|
|
818
|
+
if (solvedGate.kind === 'oracle-failed') {
|
|
819
|
+
throw new Error(
|
|
820
|
+
`draft rejected: ${solvedGate.reason ?? 'the oracle command failed on a fresh fixture copy'}`,
|
|
821
|
+
);
|
|
822
|
+
}
|
|
823
|
+
if (solvedGate.kind === 'verifier-failed') {
|
|
824
|
+
throw new Error(
|
|
825
|
+
`draft rejected: ${
|
|
826
|
+
solvedGate.reason ?? 'the verifier fails even after the oracle solved the task (oracle gate)'
|
|
827
|
+
}`,
|
|
828
|
+
);
|
|
829
|
+
}
|
|
830
|
+
if (solvedGate.kind === 'low-score') {
|
|
831
|
+
throw new Error(
|
|
832
|
+
`draft rejected: the oracle scores ${solvedGate.score.toFixed(2)} on the drafted checks — checks are stricter than the oracle`,
|
|
833
|
+
);
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
return {
|
|
837
|
+
verifierSource: readFileSync(verifierPath, 'utf8'),
|
|
838
|
+
oracleSource: readFileSync(oraclePath, 'utf8'),
|
|
839
|
+
};
|
|
840
|
+
} finally {
|
|
841
|
+
rmSync(staging, { recursive: true, force: true });
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
function assertInsideBench(benchDir: string, target: string): void {
|
|
846
|
+
const rel = relative(benchDir, target);
|
|
847
|
+
if (rel === '' || rel.startsWith('..') || isAbsolute(rel)) {
|
|
848
|
+
throw new Error(`Refusing to write outside the bench directory: ${target}`);
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
function applyBenchWrites(benchDir: string, writes: Array<{ target: string; content: Buffer | string }>): void {
|
|
853
|
+
const applied: Array<{ target: string; previous: Buffer | null }> = [];
|
|
854
|
+
try {
|
|
855
|
+
for (const write of writes) {
|
|
856
|
+
assertInsideBench(benchDir, write.target);
|
|
857
|
+
mkdirSync(dirname(write.target), { recursive: true });
|
|
858
|
+
let previous: Buffer | null = null;
|
|
859
|
+
try {
|
|
860
|
+
const stat = lstatSync(write.target);
|
|
861
|
+
if (stat.isSymbolicLink()) throw new Error(`Refusing to overwrite a symlink: ${write.target}`);
|
|
862
|
+
if (!stat.isFile()) throw new Error(`Refusing to overwrite a non-file: ${write.target}`);
|
|
863
|
+
previous = readFileSync(write.target);
|
|
864
|
+
const backup = write.target + BACKUP_SUFFIX;
|
|
865
|
+
if (!existsSync(backup)) writeFileSync(backup, previous);
|
|
866
|
+
} catch (error) {
|
|
867
|
+
if ((error as NodeJS.ErrnoException).code !== 'ENOENT') throw error;
|
|
868
|
+
}
|
|
869
|
+
applied.push({ target: write.target, previous });
|
|
870
|
+
writeFileSync(write.target, write.content);
|
|
871
|
+
}
|
|
872
|
+
loadBench(benchDir);
|
|
873
|
+
} catch (error) {
|
|
874
|
+
for (const entry of [...applied].reverse()) {
|
|
875
|
+
if (entry.previous === null) rmSync(entry.target, { force: true });
|
|
876
|
+
else writeFileSync(entry.target, entry.previous);
|
|
877
|
+
}
|
|
878
|
+
throw error;
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
export async function runBenchAdd(
|
|
883
|
+
options: BenchAddOptions,
|
|
884
|
+
): Promise<{ dir: string; taskId: string; files: string[] } | null> {
|
|
885
|
+
const log = options.log ?? ((msg: string) => console.log(msg));
|
|
886
|
+
if (!options.freeze && !options.fromCommit) {
|
|
887
|
+
throw new Error('bench add needs an importer: --freeze (current directory) or --from-commit <sha> (git history).');
|
|
888
|
+
}
|
|
889
|
+
if (options.freeze && options.fromCommit) {
|
|
890
|
+
throw new Error('Pass exactly one importer: --freeze OR --from-commit, not both.');
|
|
891
|
+
}
|
|
892
|
+
if (options.prompt !== undefined && options.promptFile !== undefined) {
|
|
893
|
+
throw new Error('Pass exactly one prompt: --prompt OR --prompt-file, not both.');
|
|
894
|
+
}
|
|
895
|
+
if (options.decompose && !options.freeze) {
|
|
896
|
+
throw new Error('--decompose works only with --freeze.');
|
|
897
|
+
}
|
|
898
|
+
if (options.decompose && options.oracle) {
|
|
899
|
+
throw new Error('--decompose writes its own oracle — do not pass --oracle as well.');
|
|
900
|
+
}
|
|
901
|
+
const cwd = options.cwd ?? process.cwd();
|
|
902
|
+
const benchDir = resolve(cwd, options.benchDir ?? '.');
|
|
903
|
+
const benchJsonPath = join(benchDir, 'bench.json');
|
|
904
|
+
if (!existsSync(benchJsonPath)) {
|
|
905
|
+
throw new Error(`Not a bench directory (missing bench.json): ${benchDir} — run \`skillfit bench init\` first.`);
|
|
906
|
+
}
|
|
907
|
+
const benchJson = JSON.parse(readFileSync(benchJsonPath, 'utf8')) as {
|
|
908
|
+
tasks?: Array<{ id?: unknown }>;
|
|
909
|
+
} & Record<string, unknown>;
|
|
910
|
+
const tasks = Array.isArray(benchJson.tasks) ? benchJson.tasks : [];
|
|
911
|
+
|
|
912
|
+
const prepared = options.fromCommit
|
|
913
|
+
? prepareFromCommit(options, cwd)
|
|
914
|
+
: prepareFreeze(options, cwd);
|
|
915
|
+
const taskId = options.task ?? prepared.defaultTaskId;
|
|
916
|
+
if (!TASK_ID_PATTERN.test(taskId)) {
|
|
917
|
+
throw new Error(`Invalid --task id "${taskId}" (must match ${TASK_ID_PATTERN}).`);
|
|
918
|
+
}
|
|
919
|
+
if (tasks.some((task) => task?.id === taskId)) {
|
|
920
|
+
throw new Error(`Task "${taskId}" already exists in ${benchJsonPath}.`);
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
if (options.decompose && !options.dryRun) {
|
|
924
|
+
const drafted = await draftVerifierWithOracle(options, prepared, log);
|
|
925
|
+
prepared.verifierSource = drafted.verifierSource;
|
|
926
|
+
prepared.oracleSource = drafted.oracleSource;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
const generated: Record<string, string> = {
|
|
930
|
+
[`prompts/${taskId}.md`]: `${prepared.promptText.trimEnd()}\n`,
|
|
931
|
+
[`prompts/${taskId}.trigger.md`]: `${prepared.promptText.trimEnd()}\n\nThe repository is in your current working directory.\n`,
|
|
932
|
+
[`verifiers/${taskId}.mjs`]: prepared.verifierSource,
|
|
933
|
+
[`ground-truth/${taskId}.md`]: prepared.groundTruth,
|
|
934
|
+
};
|
|
935
|
+
if (prepared.oracleSource) {
|
|
936
|
+
generated[`ground-truth/oracle-${taskId}.mjs`] = prepared.oracleSource;
|
|
937
|
+
}
|
|
938
|
+
const taskEntry = {
|
|
939
|
+
id: taskId,
|
|
940
|
+
fixture: `fixtures/${taskId}`,
|
|
941
|
+
prompt: `prompts/${taskId}.md`,
|
|
942
|
+
promptTrigger: `prompts/${taskId}.trigger.md`,
|
|
943
|
+
verifier: `node verifiers/${taskId}.mjs`,
|
|
944
|
+
verifierKind: prepared.verifierKind,
|
|
945
|
+
rubric: `ground-truth/${taskId}.md`,
|
|
946
|
+
...(prepared.oracleSource ? { oracle: `node ground-truth/oracle-${taskId}.mjs` } : {}),
|
|
947
|
+
...(options.oracle ? { oracle: options.oracle } : {}),
|
|
948
|
+
...(options.shouldTrigger !== undefined ? { shouldTrigger: options.shouldTrigger } : {}),
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
if (options.verifierCmd) {
|
|
952
|
+
// The string is not used once and discarded: it is written into a generated .mjs and re-executed
|
|
953
|
+
// with a shell on every later `bench check` and `eval`. Disclose it before writing, in both the
|
|
954
|
+
// dry-run and the real path, because the scripted `--yes` case is the one where nobody is
|
|
955
|
+
// reading a prompt.
|
|
956
|
+
log(
|
|
957
|
+
`Note: --verifier-cmd ${JSON.stringify(options.verifierCmd)} is written into verifiers/${taskId}.mjs and re-executed with a shell on every later \`bench check\` and \`eval\` — it outlives this command.`,
|
|
958
|
+
);
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
if (options.dryRun) {
|
|
962
|
+
log(`bench add plan (dry run) — task "${taskId}" into ${benchDir}:`);
|
|
963
|
+
log(` + fixtures/${taskId}/ (${prepared.planFixtureLine})`);
|
|
964
|
+
for (const rel of Object.keys(generated)) log(` + ${rel}`);
|
|
965
|
+
if (options.decompose) {
|
|
966
|
+
log(' ~ draft verifier.mjs + oracle.mjs with an agent, validated by the NOP + oracle gates (skipped in dry run)');
|
|
967
|
+
}
|
|
968
|
+
log(' ~ bench.json (register task)');
|
|
969
|
+
log('Dry run — nothing was written. Re-run with --yes to apply.');
|
|
970
|
+
return null;
|
|
971
|
+
}
|
|
972
|
+
if (!options.yes) {
|
|
973
|
+
const confirm = options.confirm ?? confirmPrompt;
|
|
974
|
+
const ok = await confirm(
|
|
975
|
+
`Add ${prepared.fixtureFiles.length} fixture file(s) + ${Object.keys(generated).length} generated file(s) into ${benchDir}? [y/N] `,
|
|
976
|
+
);
|
|
977
|
+
if (!ok) {
|
|
978
|
+
log('Aborted — nothing was written.');
|
|
979
|
+
return null;
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
const writes: Array<{ target: string; content: Buffer | string }> = [];
|
|
984
|
+
for (const file of prepared.fixtureFiles) {
|
|
985
|
+
if (file.rel.split(/[\\/]/).includes('..') || isAbsolute(file.rel)) {
|
|
986
|
+
throw new Error(`Fixture path escapes the task directory: ${file.rel}`);
|
|
987
|
+
}
|
|
988
|
+
writes.push({ target: join(benchDir, 'fixtures', taskId, file.rel), content: file.content });
|
|
989
|
+
}
|
|
990
|
+
for (const [rel, content] of Object.entries(generated)) {
|
|
991
|
+
writes.push({ target: join(benchDir, rel), content });
|
|
992
|
+
}
|
|
993
|
+
benchJson.tasks = [...tasks, taskEntry];
|
|
994
|
+
writes.push({ target: benchJsonPath, content: `${JSON.stringify(benchJson, null, 2)}\n` });
|
|
995
|
+
applyBenchWrites(benchDir, writes);
|
|
996
|
+
|
|
997
|
+
log(`Task "${taskId}" added to ${benchDir} (${prepared.fixtureFiles.length} fixture file(s), verifier: ${prepared.verifierKind}).`);
|
|
998
|
+
log('Next:');
|
|
999
|
+
log(` skillfit bench check ${benchDir}`);
|
|
1000
|
+
log(` skillfit eval <skill-path> --bench ${benchDir} --agent <id> --trials 5`);
|
|
1001
|
+
return {
|
|
1002
|
+
dir: benchDir,
|
|
1003
|
+
taskId,
|
|
1004
|
+
files: [
|
|
1005
|
+
...prepared.fixtureFiles.map((file) => `fixtures/${taskId}/${file.rel}`),
|
|
1006
|
+
...Object.keys(generated),
|
|
1007
|
+
'bench.json',
|
|
1008
|
+
],
|
|
1009
|
+
};
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
function prepareFreeze(options: BenchAddOptions, cwd: string): PreparedAdd {
|
|
1013
|
+
const promptText =
|
|
1014
|
+
options.prompt ??
|
|
1015
|
+
(options.promptFile ? readFileSync(resolve(cwd, options.promptFile), 'utf8') : undefined);
|
|
1016
|
+
if (!promptText || promptText.trim() === '') {
|
|
1017
|
+
throw new Error('bench add --freeze needs a task prompt: --prompt <text> or --prompt-file <path>.');
|
|
1018
|
+
}
|
|
1019
|
+
if (options.decompose) {
|
|
1020
|
+
if (options.verifierCmd || options.expect !== undefined) {
|
|
1021
|
+
throw new Error('--decompose drafts the verifier for you — do not pass --verifier-cmd or --expect.');
|
|
1022
|
+
}
|
|
1023
|
+
} else {
|
|
1024
|
+
if (options.verifierCmd && options.expect !== undefined) {
|
|
1025
|
+
throw new Error('Pass exactly one verifier: --verifier-cmd OR --expect, not both.');
|
|
1026
|
+
}
|
|
1027
|
+
if (!options.verifierCmd && options.expect === undefined) {
|
|
1028
|
+
throw new Error('bench add --freeze needs a verifier: --verifier-cmd <cmd> or --expect <string>.');
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
const sourceDir = resolve(cwd, options.sourceDir ?? '.');
|
|
1033
|
+
if (!existsSync(sourceDir)) {
|
|
1034
|
+
throw new Error(`--source-dir does not exist: ${sourceDir}`);
|
|
1035
|
+
}
|
|
1036
|
+
const captured = captureSourceFiles(sourceDir);
|
|
1037
|
+
if (captured.length === 0) {
|
|
1038
|
+
throw new Error(`No capturable files in ${sourceDir} (empty git index or directory).`);
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
return {
|
|
1042
|
+
defaultTaskId: 'frozen-task',
|
|
1043
|
+
promptText: promptText.trimEnd(),
|
|
1044
|
+
verifierSource: options.decompose
|
|
1045
|
+
? ''
|
|
1046
|
+
: options.verifierCmd
|
|
1047
|
+
? verifierForCmd(options.verifierCmd)
|
|
1048
|
+
: verifierForExpect(options.expect ?? ''),
|
|
1049
|
+
verifierKind: options.decompose
|
|
1050
|
+
? (options.verifierKind ?? 'output')
|
|
1051
|
+
: options.verifierCmd
|
|
1052
|
+
? 'command'
|
|
1053
|
+
: 'output',
|
|
1054
|
+
fixtureFiles: captured.map((rel) => ({ rel, content: readFileSync(join(sourceDir, rel)) })),
|
|
1055
|
+
groundTruth: `# Ground truth — frozen task
|
|
1056
|
+
|
|
1057
|
+
Frozen from a real failure on ${new Date().toISOString().slice(0, 10)}.
|
|
1058
|
+
|
|
1059
|
+
- Source directory: \`${sourceDir}\`
|
|
1060
|
+
- Verifier: ${options.decompose ? 'drafted by an agent (--decompose), gated by the NOP + oracle checks' : options.verifierCmd ? `\`${options.verifierCmd}\` (command, run in the task run directory)` : `agent output contains ${JSON.stringify(options.expect)}`}
|
|
1061
|
+
|
|
1062
|
+
TODO: describe what a correct outcome looks like, so future bench edits stay honest.
|
|
1063
|
+
`,
|
|
1064
|
+
planFixtureLine: `${captured.length} file(s) from ${sourceDir}`,
|
|
1065
|
+
};
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
const MINED_TEST_PATH = /(^|\/)(tests?|__tests__|spec)(\/|$)|\.(test|spec)\.[cm]?[jt]sx?$/i;
|
|
1069
|
+
const MINED_MAX_FILES = 200;
|
|
1070
|
+
const MINED_MAX_BYTES = 1024 * 1024;
|
|
1071
|
+
|
|
1072
|
+
function gitRun(
|
|
1073
|
+
repo: string,
|
|
1074
|
+
args: string[],
|
|
1075
|
+
): { status: number | null; stdout: string; stderr: string } {
|
|
1076
|
+
// `core.quotePath=false` is what stops git from quoting paths. Without it a non-ASCII path
|
|
1077
|
+
// comes back octal-escaped and wrapped in quotes — `"caf\303\251-notes.txt"` — and the later
|
|
1078
|
+
// `git show` then fails on a path that does not exist. `-z` on ls-tree alone does not help.
|
|
1079
|
+
const result = spawnSync('git', ['-c', 'core.quotePath=false', ...args], {
|
|
1080
|
+
cwd: repo,
|
|
1081
|
+
encoding: 'utf8',
|
|
1082
|
+
maxBuffer: 64 * 1024 * 1024,
|
|
1083
|
+
});
|
|
1084
|
+
return { status: result.status, stdout: result.stdout ?? '', stderr: result.stderr ?? '' };
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
function gitMust(repo: string, args: string[]): string {
|
|
1088
|
+
const result = gitRun(repo, args);
|
|
1089
|
+
if (result.status !== 0) {
|
|
1090
|
+
throw new Error(`git ${args.join(' ')} failed in ${repo}: ${result.stderr.trim() || `exit ${result.status}`}`);
|
|
1091
|
+
}
|
|
1092
|
+
return result.stdout;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
function gitShow(repo: string, ref: string, path: string): Buffer {
|
|
1096
|
+
const result = spawnSync('git', ['show', `${ref}:${path}`], {
|
|
1097
|
+
cwd: repo,
|
|
1098
|
+
maxBuffer: 64 * 1024 * 1024,
|
|
1099
|
+
});
|
|
1100
|
+
if (result.status !== 0 || result.stdout === undefined) {
|
|
1101
|
+
throw new Error(`git show ${ref}:${path} failed in ${repo}`);
|
|
1102
|
+
}
|
|
1103
|
+
return result.stdout as Buffer;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
function verifierForMinedTests(tests: Array<{ rel: string; content: Buffer }>, cmd: string): string {
|
|
1107
|
+
const embedded: Record<string, string> = {};
|
|
1108
|
+
for (const test of tests) {
|
|
1109
|
+
embedded[test.rel] = test.content.toString('utf8');
|
|
1110
|
+
}
|
|
1111
|
+
return `import { spawnSync } from 'node:child_process';
|
|
1112
|
+
import fs from 'node:fs';
|
|
1113
|
+
import path from 'node:path';
|
|
1114
|
+
|
|
1115
|
+
const runDir = process.argv[2];
|
|
1116
|
+
if (!runDir) {
|
|
1117
|
+
console.error('usage: node <verifier> <run-dir>');
|
|
1118
|
+
process.exit(2);
|
|
1119
|
+
}
|
|
1120
|
+
function scrubbedEnv() {
|
|
1121
|
+
const env = { ...process.env };
|
|
1122
|
+
delete env.NODE_TEST_CONTEXT;
|
|
1123
|
+
return env;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
const TEST_FILES = ${JSON.stringify(embedded, null, 2)};
|
|
1127
|
+
for (const [rel, content] of Object.entries(TEST_FILES)) {
|
|
1128
|
+
const target = path.join(runDir, ...rel.split('/'));
|
|
1129
|
+
fs.mkdirSync(path.dirname(target), { recursive: true });
|
|
1130
|
+
fs.writeFileSync(target, content);
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
const result = spawnSync(${JSON.stringify(cmd)}, { cwd: runDir, shell: true, encoding: 'utf8', env: scrubbedEnv() });
|
|
1134
|
+
if (result.stdout) process.stdout.write(result.stdout);
|
|
1135
|
+
if (result.stderr) process.stderr.write(result.stderr);
|
|
1136
|
+
if (result.error) {
|
|
1137
|
+
console.error(String(result.error));
|
|
1138
|
+
process.exit(1);
|
|
1139
|
+
}
|
|
1140
|
+
process.exit(result.status ?? 1);
|
|
1141
|
+
`;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
function prepareFromCommit(options: BenchAddOptions, cwd: string): PreparedAdd {
|
|
1145
|
+
const issuePrompt = options.prompt ?? (options.promptFile !== undefined
|
|
1146
|
+
? readFileSync(resolve(cwd, options.promptFile), 'utf8') : undefined);
|
|
1147
|
+
if (issuePrompt !== undefined && issuePrompt.trim() === '') {
|
|
1148
|
+
throw new Error('The supplied task prompt must not be empty.');
|
|
1149
|
+
}
|
|
1150
|
+
const repo = resolve(cwd, options.sourceDir ?? '.');
|
|
1151
|
+
if (!existsSync(repo)) {
|
|
1152
|
+
throw new Error(`--source-dir does not exist: ${repo}`);
|
|
1153
|
+
}
|
|
1154
|
+
const sha = gitMust(repo, ['rev-parse', '--verify', `${options.fromCommit}^{commit}`]).trim();
|
|
1155
|
+
const shortSha = sha.slice(0, 7);
|
|
1156
|
+
const subject = gitMust(repo, ['show', '-s', '--format=%s', sha]).trim();
|
|
1157
|
+
const body = gitMust(repo, ['show', '-s', '--format=%b', sha]).trim();
|
|
1158
|
+
|
|
1159
|
+
const changed = gitMust(repo, ['diff-tree', '--no-commit-id', '--name-status', '-r', sha])
|
|
1160
|
+
.split('\n')
|
|
1161
|
+
.filter(Boolean)
|
|
1162
|
+
.map((line) => {
|
|
1163
|
+
const [status, ...rest] = line.split('\t');
|
|
1164
|
+
return { status: status ?? '', path: rest.join('\t') };
|
|
1165
|
+
});
|
|
1166
|
+
const minedTests = changed.filter((entry) => MINED_TEST_PATH.test(entry.path) && entry.status !== 'D');
|
|
1167
|
+
const nonTests = changed.filter((entry) => !MINED_TEST_PATH.test(entry.path));
|
|
1168
|
+
if (minedTests.length === 0) {
|
|
1169
|
+
throw new Error(
|
|
1170
|
+
`Commit ${shortSha} changes no test files — --from-commit needs a fix that ships a test (the test becomes the verifier).`,
|
|
1171
|
+
);
|
|
1172
|
+
}
|
|
1173
|
+
if (nonTests.length === 0) {
|
|
1174
|
+
throw new Error(`Commit ${shortSha} changes only test files — there is no fix for the agent to write.`);
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
const parentLookup = gitRun(repo, ['rev-parse', '--verify', `${sha}^`]);
|
|
1178
|
+
if (parentLookup.status !== 0) {
|
|
1179
|
+
throw new Error(
|
|
1180
|
+
`Commit ${shortSha} has no parent — --from-commit needs a fix commit with a parent state to use as the fixture.`,
|
|
1181
|
+
);
|
|
1182
|
+
}
|
|
1183
|
+
const parent = parentLookup.stdout.trim();
|
|
1184
|
+
const parentShort = parent.slice(0, 8);
|
|
1185
|
+
|
|
1186
|
+
// `-z` gives NUL-separated records, so a path containing a newline or a tab still parses.
|
|
1187
|
+
let tree = gitMust(repo, ['ls-tree', '-r', '-z', '--format=%(objectsize) %(path)', parent])
|
|
1188
|
+
.split('\0')
|
|
1189
|
+
.filter(Boolean)
|
|
1190
|
+
.map((record) => {
|
|
1191
|
+
const separator = record.indexOf(' ');
|
|
1192
|
+
const rawSize = separator === -1 ? '' : record.slice(0, separator);
|
|
1193
|
+
const path = separator === -1 ? record : record.slice(separator + 1);
|
|
1194
|
+
const size = /^\d+$/.test(rawSize) ? Number(rawSize) : Number.NaN;
|
|
1195
|
+
if (!Number.isFinite(size)) {
|
|
1196
|
+
// ls-tree reports `-` for a gitlink. A non-numeric size used to poison the running total
|
|
1197
|
+
// with NaN, and `NaN > MINED_MAX_BYTES` is false — so the size guard silently stopped
|
|
1198
|
+
// guarding and a repository of any size would have been accepted.
|
|
1199
|
+
throw new Error(
|
|
1200
|
+
`Repo state at ${parentShort} has a gitlink (submodule) at "${path}" — --from-commit cannot mine submodules, because the fixture would need the submodule's own checkout. Vendor the files in, or narrow with --include.`,
|
|
1201
|
+
);
|
|
1202
|
+
}
|
|
1203
|
+
return { size, path };
|
|
1204
|
+
});
|
|
1205
|
+
if (options.include && options.include.length > 0) {
|
|
1206
|
+
const prefixes = options.include.map((prefix) => prefix.replace(/\/?$/, '/'));
|
|
1207
|
+
tree = tree.filter((entry) => prefixes.some((prefix) => entry.path.startsWith(prefix)));
|
|
1208
|
+
if (tree.length === 0) {
|
|
1209
|
+
throw new Error(`--include pathspec(s) ${options.include.join(', ')} match nothing at ${parentShort}.`);
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
const totalBytes = tree.reduce((sum, entry) => sum + entry.size, 0);
|
|
1213
|
+
if (tree.length > MINED_MAX_FILES || totalBytes > MINED_MAX_BYTES) {
|
|
1214
|
+
throw new Error(
|
|
1215
|
+
`Repo state at ${parentShort} is ${tree.length} files / ${Math.round(totalBytes / 1024)} KB — too large for a bench fixture. Narrow it with --include <dir> (repeatable).`,
|
|
1216
|
+
);
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
const fixtureFiles = tree.map((entry) => ({ rel: entry.path, content: gitShow(repo, parent, entry.path) }));
|
|
1220
|
+
const tests = minedTests.map((entry) => ({ rel: entry.path, content: gitShow(repo, sha, entry.path) }));
|
|
1221
|
+
const verifierCmd = options.verifierCmd ?? 'node --test';
|
|
1222
|
+
|
|
1223
|
+
return {
|
|
1224
|
+
defaultTaskId: `fix-${shortSha}`,
|
|
1225
|
+
promptText: issuePrompt ?? `# Task: implement the following change request
|
|
1226
|
+
|
|
1227
|
+
The repository below is \`${basename(repo)}\` at commit \`${parentShort}\` — the state before the fix that resolved this request was applied.
|
|
1228
|
+
|
|
1229
|
+
## Change request
|
|
1230
|
+
|
|
1231
|
+
${subject}${body !== '' ? `\n\n${body}` : ''}
|
|
1232
|
+
|
|
1233
|
+
## Rules
|
|
1234
|
+
|
|
1235
|
+
- Do not change public export names.
|
|
1236
|
+
- Hidden grading runs the project's tests afterward — make the behavior correct, not merely plausible.`,
|
|
1237
|
+
verifierSource: verifierForMinedTests(tests, verifierCmd),
|
|
1238
|
+
verifierKind: 'command',
|
|
1239
|
+
fixtureFiles,
|
|
1240
|
+
groundTruth: `# Ground truth — fix-${shortSha}
|
|
1241
|
+
|
|
1242
|
+
Mined from git history on ${new Date().toISOString().slice(0, 10)}.
|
|
1243
|
+
|
|
1244
|
+
- Repository: \`${repo}\`
|
|
1245
|
+
- Fix commit: \`${sha}\` — ${subject}
|
|
1246
|
+
- Parent (fixture state): \`${parent}\`
|
|
1247
|
+
- Task prompt: ${issuePrompt === undefined ? 'generated from fix commit subject/body; review for solution hints before efficacy evaluation' : 'user-supplied issue request; fix commit subject/body was not injected'}.
|
|
1248
|
+
- Verifier: the fix commit's own tests (${tests.map((test) => `\`${test.rel}\``).join(', ')}), run via \`${verifierCmd}\` — they fail on the parent state and pass once the fix is implemented (FAIL_TO_PASS).
|
|
1249
|
+
- The fix itself: see \`git show ${sha}\` in the source repository.
|
|
1250
|
+
|
|
1251
|
+
TODO: summarize the correct fix here so future bench edits stay honest.
|
|
1252
|
+
`,
|
|
1253
|
+
planFixtureLine: `${fixtureFiles.length} file(s) at parent ${parentShort} from ${repo} (+${tests.length} hidden test file(s) embedded in the verifier)`,
|
|
1254
|
+
};
|
|
1255
|
+
}
|