skillfit 0.15.0 → 0.15.2
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/CHANGELOG.md +58 -0
- package/README.md +76 -33
- package/README.zh-CN.md +75 -32
- package/benches/README.md +1 -1
- package/dist/agents/accounting.js +27 -10
- package/dist/agents/adapters/api.js +59 -32
- package/dist/agents/adapters/cli.js +208 -111
- package/dist/agents/adapters/codex-usage.js +51 -25
- package/dist/agents/adapters/kimi-usage.js +23 -16
- package/dist/agents/call-budget.js +67 -33
- package/dist/agents/call-limits.js +11 -7
- package/dist/agents/contracts.js +2 -2
- package/dist/agents/environment.js +46 -22
- package/dist/agents/execution.js +32 -19
- package/dist/agents/health.js +88 -66
- package/dist/agents/installed-skills.js +28 -9
- package/dist/agents/matrix.js +5 -3
- package/dist/agents/mcp-probe.js +157 -146
- package/dist/agents/observation/model-identity.js +96 -49
- package/dist/agents/observation/trigger-contract.js +40 -21
- package/dist/agents/observation/trigger-detection.js +100 -61
- package/dist/agents/preflight-contract.js +40 -20
- package/dist/agents/preflight.js +136 -70
- package/dist/agents/session-observation.js +39 -29
- package/dist/agents/timeout.js +14 -6
- package/dist/bench/authoring.js +320 -201
- package/dist/bench/claims.js +6 -3
- package/dist/bench/constants.js +1 -1
- package/dist/bench/controls.js +123 -91
- package/dist/bench/diagnostics.js +57 -24
- package/dist/bench/draft.js +133 -68
- package/dist/bench/gates/check.js +79 -69
- package/dist/bench/gates/error.js +26 -17
- package/dist/bench/gates/summary.js +7 -7
- package/dist/bench/gates/timeout.js +2 -2
- package/dist/bench/gates/verifier.js +12 -5
- package/dist/bench/location.js +18 -10
- package/dist/bench/output-layout.js +5 -5
- package/dist/bench/read.js +74 -42
- package/dist/bench/scope.js +56 -34
- package/dist/bench/source.js +32 -20
- package/dist/bench/templates.js +30 -22
- package/dist/cli/bench-check-report.js +34 -10
- package/dist/cli/bench-manage.js +6 -6
- package/dist/cli/bench.js +45 -38
- package/dist/cli/confirm.js +3 -3
- package/dist/cli/definition.js +172 -114
- package/dist/cli/doctor.js +14 -14
- package/dist/cli/eval-cli.js +3 -3
- package/dist/cli/eval-component.js +21 -7
- package/dist/cli/eval-display.js +66 -55
- package/dist/cli/eval-plan.js +7 -2
- package/dist/cli/eval-report.js +114 -83
- package/dist/cli/eval-single-arm-report.js +53 -33
- package/dist/cli/eval.js +2 -2
- package/dist/cli/evaluation-host.js +5 -5
- package/dist/cli/evaluation-report.js +1 -1
- package/dist/cli/main.js +350 -196
- package/dist/cli/mcp.js +7 -7
- package/dist/cli/report.js +40 -17
- package/dist/cli/trigger-summary.js +23 -23
- package/dist/cli.js +1 -1
- package/dist/commands/bench-draft.test.js +226 -96
- package/dist/commands/bench-source.test.js +70 -53
- package/dist/commands/bench.js +1 -1
- package/dist/commands/bundle.js +1 -1
- package/dist/commands/eval-api-failure.test.js +61 -28
- package/dist/commands/eval-cli.js +1 -1
- package/dist/commands/eval-export.js +1 -1
- package/dist/commands/eval-layout.test.js +148 -70
- package/dist/commands/eval-single-arm-replay.js +1 -1
- package/dist/commands/eval.js +1 -1
- package/dist/commands/evaluation-report.js +1 -1
- package/dist/commands/install.js +1 -1
- package/dist/composition.js +41 -20
- package/dist/configuration/bundle.js +109 -89
- package/dist/configuration/constants.js +1 -1
- package/dist/configuration/install.js +184 -112
- package/dist/configuration/setup.js +64 -41
- package/dist/configuration/transaction.js +13 -11
- package/dist/configuration/upstream.js +61 -43
- package/dist/evaluation/application/calibration.js +231 -85
- package/dist/evaluation/application/evaluation.js +166 -56
- package/dist/evaluation/application/export.js +107 -67
- package/dist/evaluation/application/planning.js +289 -114
- package/dist/evaluation/application/preflight-error.js +11 -4
- package/dist/evaluation/application/preflight.js +54 -21
- package/dist/evaluation/application/read.js +1 -1
- package/dist/evaluation/application/request.js +45 -21
- package/dist/evaluation/application/self-test.js +188 -75
- package/dist/evaluation/execution/activation.js +91 -65
- package/dist/evaluation/execution/budget.js +20 -9
- package/dist/evaluation/execution/control-executor.js +34 -16
- package/dist/evaluation/execution/interrupted.js +2 -2
- package/dist/evaluation/execution/judge.js +51 -26
- package/dist/evaluation/execution/mock-executor.js +7 -7
- package/dist/evaluation/execution/paired.js +104 -72
- package/dist/evaluation/execution/prompt.js +21 -15
- package/dist/evaluation/measurement/acceptance.js +143 -68
- package/dist/evaluation/measurement/costs.js +39 -29
- package/dist/evaluation/measurement/efficiency.js +51 -18
- package/dist/evaluation/measurement/invocation-costs.js +50 -29
- package/dist/evaluation/measurement/judge-protocol.js +16 -18
- package/dist/evaluation/measurement/paired-contract.js +4 -3
- package/dist/evaluation/measurement/policy.js +48 -31
- package/dist/evaluation/measurement/report.js +51 -43
- package/dist/evaluation/measurement/scope.js +25 -7
- package/dist/evaluation/measurement/statistics.js +7 -3
- package/dist/evaluation/measurement/trial-summary.js +20 -12
- package/dist/evaluation/measurement/trigger-summary.js +1 -1
- package/dist/evaluation/records/assess.js +4 -2
- package/dist/evaluation/records/audit.js +336 -202
- package/dist/evaluation/records/contracts.js +44 -21
- package/dist/evaluation/records/formats.js +36 -19
- package/dist/evaluation/records/input-snapshot.js +88 -53
- package/dist/evaluation/records/judge-audit.js +37 -31
- package/dist/evaluation/records/manifest.js +302 -223
- package/dist/evaluation/records/model-identity.js +39 -29
- package/dist/evaluation/records/read.js +122 -42
- package/dist/evaluation/records/replay-package.js +81 -48
- package/dist/evaluation/records/session.js +200 -93
- package/dist/evaluation/records/single-arm-audit.js +313 -195
- package/dist/evaluation/records/single-arm-read.js +235 -112
- package/dist/evaluation/targets/native-diff.js +22 -13
- package/dist/evaluation/targets/output-layout.js +6 -6
- package/dist/evaluation/targets/skill.js +16 -13
- package/dist/evaluation/targets/workspace.js +19 -19
- package/dist/harness/bench-location.test.js +21 -21
- package/dist/harness/executors/cli.js +1 -1
- package/dist/harness/hash.js +1 -1
- package/dist/harness/interruption.js +1 -1
- package/dist/harness/replay-package.js +1 -1
- package/dist/harness/single-arm-audit.js +1 -1
- package/dist/harness/verifier-timeout.test.js +63 -32
- package/dist/matrix/agents.json +29 -6
- package/dist/matrix/agents.schema.json +17 -3
- package/dist/resources/experiment.js +18 -16
- package/dist/resources/frontmatter.js +6 -6
- package/dist/resources/installed-skill.js +32 -22
- package/dist/resources/skill.js +10 -10
- package/dist/shared/backup.js +1 -1
- package/dist/shared/cancellation.js +10 -4
- package/dist/shared/command.js +8 -7
- package/dist/shared/digest.js +2 -2
- package/dist/shared/hash.js +9 -9
- package/dist/shared/input-directories.js +6 -5
- package/dist/shared/json.js +10 -6
- package/dist/shared/local-files.js +8 -10
- package/dist/shared/output-path.js +4 -4
- package/dist/shared/package-root.js +7 -5
- package/dist/shared/process-tree.js +20 -14
- package/dist/shared/process.js +20 -15
- package/dist/shared/read-json.js +3 -3
- package/dist/shared/timing.js +22 -11
- package/dist/shared/version.js +3 -3
- package/dist/usage/receipts.js +41 -27
- package/docs/README.md +6 -6
- package/docs/assets/skillfit-report.svg +17 -0
- package/docs/guides/bench-authoring.md +1 -1
- package/docs/guides/first-real-eval.md +16 -0
- package/docs/maintainers/architecture.md +3 -3
- package/docs/maintainers/releases.md +5 -0
- package/docs/reference/evaluation-reports.md +3 -1
- package/docs/reference/metrics.md +1 -1
- package/package.json +9 -4
- package/skills/skillfit/SKILL.md +14 -15
- package/tools/verify/recipes/0.11.0-feature-smoke.mjs +491 -140
- package/tools/verify/recipes/release-docs-smoke.mjs +38 -21
- package/tools/verify/recipes/release-feature-smoke.mjs +190 -90
- package/benches/contrib/README.md +0 -73
- package/benches/contrib/oss-lru-cache/README.md +0 -27
- package/benches/contrib/oss-lru-cache/bench.json +0 -37
- package/benches/contrib/oss-lru-cache/provenance.json +0 -62
- package/benches/contrib/oss-lru-cache/runtime.mjs +0 -32
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/LICENSE +0 -15
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/README.md +0 -3
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/index.js +0 -1044
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/package.json +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/runtime.mjs +0 -32
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/test.mjs +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/prompt.md +0 -5
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/reference/LICENSE +0 -15
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/reference/answer.md +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/reference/index.js +0 -1053
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/reference/oracle.mjs +0 -8
- package/benches/contrib/oss-lru-cache/tasks/fetch-abort/verify.mjs +0 -3
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/LICENSE.md +0 -55
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/README.md +0 -3
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/package.json +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/runtime.mjs +0 -32
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/diagnostics-channel-browser.ts +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/diagnostics-channel-cjs.cts +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/diagnostics-channel-esm.mts +0 -29
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/diagnostics-channel-node.ts +0 -7
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/diagnostics-channel.ts +0 -6
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/index.ts +0 -3148
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/perf.ts +0 -17
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/test.mjs +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/prompt.md +0 -5
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/LICENSE.md +0 -55
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/answer.md +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/oracle.mjs +0 -7
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/diagnostics-channel-browser.ts +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/diagnostics-channel-cjs.cts +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/diagnostics-channel-esm.mts +0 -29
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/diagnostics-channel-node.ts +0 -7
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/diagnostics-channel.ts +0 -6
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/index.ts +0 -3174
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/perf.ts +0 -17
- package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/verify.mjs +0 -3
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/LICENSE +0 -15
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/README.md +0 -3
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/index.js +0 -1028
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/package.json +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/runtime.mjs +0 -32
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/test.mjs +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/prompt.md +0 -5
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/reference/LICENSE +0 -15
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/reference/answer.md +0 -11
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/reference/index.js +0 -1028
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/reference/oracle.mjs +0 -7
- package/benches/contrib/oss-lru-cache/tasks/fetch-size/verify.mjs +0 -3
- package/benches/contrib/oss-lru-cache/verifiers/cases.mjs +0 -74
- package/benches/contrib/oss-lru-cache/verifiers/oracle.mjs +0 -9
- package/benches/contrib/oss-lru-cache/verifiers/probe.mjs +0 -14
- package/benches/contrib/oss-lru-cache/verifiers/shared.mjs +0 -131
- package/benches/contrib/oss-lru-cache/verifiers/test-reporter.mjs +0 -29
- package/benches/contrib/oss-mcp-use-utf8/LICENSE.upstream +0 -21
- package/benches/contrib/oss-mcp-use-utf8/README.md +0 -57
- package/benches/contrib/oss-mcp-use-utf8/bench.json +0 -16
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/fixture/LICENSE +0 -21
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/fixture/package.json +0 -3
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/fixture/src/ext-apps-bridge.js +0 -3
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/fixture/src/resolve-view-resource.ts +0 -96
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/fixture/test/basic.test.mjs +0 -13
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/prompt.md +0 -8
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/reference/README.md +0 -5
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/reference/oracle.mjs +0 -11
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/reference/solutions/view-utf8/src/resolve-view-resource.ts +0 -96
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/reference/solutions/view-utf8/test/utf8.regression.test.mjs +0 -14
- package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/verify.mjs +0 -120
- package/benches/contrib/oss-minipass/README.md +0 -32
- package/benches/contrib/oss-minipass/bench.json +0 -43
- package/benches/contrib/oss-minipass/provenance.json +0 -87
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/README.md +0 -717
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/UPSTREAM.package.json +0 -39
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/index.js +0 -615
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/async-end/fixture/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/async-end/prompt.md +0 -3
- package/benches/contrib/oss-minipass/tasks/async-end/reference/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/async-end/reference/README.md +0 -717
- package/benches/contrib/oss-minipass/tasks/async-end/reference/UPSTREAM.package.json +0 -39
- package/benches/contrib/oss-minipass/tasks/async-end/reference/index.js +0 -622
- package/benches/contrib/oss-minipass/tasks/async-end/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-minipass/tasks/async-end/reference/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/async-end/reference/regression.test.mjs +0 -10
- package/benches/contrib/oss-minipass/tasks/async-end/reference/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/async-end/reference/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/async-end/reference/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/async-end/reference/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/async-end/reference/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/async-end/reference/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/async-end/reference/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/async-end/verify.mjs +0 -2
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/README.md +0 -613
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/UPSTREAM.package.json +0 -39
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/index.js +0 -594
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/buffered-readable/prompt.md +0 -3
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/README.md +0 -613
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/UPSTREAM.package.json +0 -39
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/index.js +0 -596
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/regression.test.mjs +0 -9
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/buffered-readable/verify.mjs +0 -2
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/README.md +0 -205
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/UPSTREAM.package.json +0 -34
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/index.js +0 -415
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/end-listeners/prompt.md +0 -3
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/README.md +0 -205
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/UPSTREAM.package.json +0 -34
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/index.js +0 -407
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/regression.test.mjs +0 -9
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/end-listeners/reference/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/end-listeners/verify.mjs +0 -2
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/README.md +0 -613
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/UPSTREAM.package.json +0 -39
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/index.js +0 -538
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/pipeline-order/prompt.md +0 -3
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/README.md +0 -613
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/UPSTREAM.package.json +0 -39
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/index.js +0 -545
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/package.json +0 -8
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/regression.test.mjs +0 -19
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/runtime.cjs +0 -11
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/test.mjs +0 -16
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/vendor/yallist/LICENSE +0 -15
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/vendor/yallist/README.md +0 -204
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/vendor/yallist/iterator.js +0 -8
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/vendor/yallist/package.json +0 -29
- package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/vendor/yallist/yallist.js +0 -426
- package/benches/contrib/oss-minipass/tasks/pipeline-order/verify.mjs +0 -2
- package/benches/contrib/oss-minipass/upstream/async-end.patch +0 -83
- package/benches/contrib/oss-minipass/upstream/buffered-readable.patch +0 -79
- package/benches/contrib/oss-minipass/upstream/end-listeners.patch +0 -77
- package/benches/contrib/oss-minipass/upstream/pipeline-order.patch +0 -173
- package/benches/contrib/oss-minipass/verifiers/cases.mjs +0 -88
- package/benches/contrib/oss-minipass/verifiers/grade.mjs +0 -35
- package/benches/contrib/oss-minipass/verifiers/probe.mjs +0 -10
- package/benches/contrib/oss-minipass/verifiers/regression-evidence.mjs +0 -98
- package/benches/contrib/oss-minipass/verifiers/test-reporter.mjs +0 -29
- package/benches/contrib/oss-normalize-url/README.md +0 -31
- package/benches/contrib/oss-normalize-url/bench.json +0 -16
- package/benches/contrib/oss-normalize-url/provenance.json +0 -41
- package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/index.d.ts +0 -303
- package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/index.js +0 -285
- package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/license +0 -9
- package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/package.json +0 -57
- package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/readme.md +0 -312
- package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/test.js +0 -427
- package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/test.mjs +0 -4
- package/benches/contrib/oss-normalize-url/tasks/query-shape/prompt.md +0 -7
- package/benches/contrib/oss-normalize-url/tasks/query-shape/reference/index.js +0 -294
- package/benches/contrib/oss-normalize-url/tasks/query-shape/reference/license +0 -9
- package/benches/contrib/oss-normalize-url/tasks/query-shape/reference/oracle.mjs +0 -7
- package/benches/contrib/oss-normalize-url/tasks/query-shape/reference/query-shape.md +0 -12
- package/benches/contrib/oss-normalize-url/tasks/query-shape/reference/query-shape.regression.test.mjs +0 -6
- package/benches/contrib/oss-normalize-url/tasks/query-shape/verify.mjs +0 -40
- package/benches/contrib/oss-normalize-url/verifiers/cases.mjs +0 -26
- package/benches/contrib/oss-normalize-url/verifiers/probe.mjs +0 -10
- package/benches/contrib/oss-normalize-url/verifiers/regression-evidence.mjs +0 -98
- package/benches/contrib/oss-normalize-url/verifiers/test-reporter.mjs +0 -29
- package/benches/contrib/oss-skill-followup/README.md +0 -54
- package/benches/contrib/oss-skill-followup/bench.json +0 -79
- package/benches/contrib/oss-skill-followup/provenance.json +0 -730
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/LICENSE +0 -11
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/README.md +0 -61
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/index.js +0 -93
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/upstream-package.json +0 -47
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/reference/index.js +0 -97
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/LICENSE +0 -21
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/README.md +0 -69
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/index.js +0 -70
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/upstream-package.json +0 -27
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/reference/index.js +0 -72
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/LICENSE +0 -23
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/README.md +0 -46
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/index.js +0 -56
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/upstream-package.json +0 -22
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/reference/index.js +0 -56
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/LICENSE +0 -24
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/README.md +0 -469
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/index.js +0 -1645
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/upstream-package.json +0 -86
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/reference/index.js +0 -1643
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/LICENSE +0 -24
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/README.md +0 -470
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/index.js +0 -1676
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/upstream-package.json +0 -86
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/reference/index.js +0 -1676
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/LICENSE +0 -9
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/README.md +0 -136
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/index.js +0 -153
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/upstream-package.json +0 -53
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/reference/index.js +0 -155
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/LICENSE +0 -9
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/README.md +0 -92
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/index.js +0 -57
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/upstream-package.json +0 -53
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/reference/index.js +0 -57
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/promise-method-context/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/LICENSE +0 -9
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/README.md +0 -102
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/index.js +0 -117
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/package.json +0 -9
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/test.mjs +0 -22
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/upstream-package.json +0 -53
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/prompt.md +0 -3
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/reference/index.js +0 -112
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/reference/regression.test.mjs +0 -2
- package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/verify.mjs +0 -1
- package/benches/contrib/oss-skill-followup/test-clock.mjs +0 -64
- package/benches/contrib/oss-skill-followup/verifiers/cases.mjs +0 -214
- package/benches/contrib/oss-skill-followup/verifiers/grade.mjs +0 -35
- package/benches/contrib/oss-skill-followup/verifiers/probe.mjs +0 -10
- package/benches/contrib/oss-skill-followup/verifiers/regression-evidence.mjs +0 -98
- package/benches/contrib/oss-skill-followup/verifiers/test-reporter.mjs +0 -29
- package/benches/contrib/oss-skill-independent/README.md +0 -61
- package/benches/contrib/oss-skill-independent/bench.json +0 -79
- package/benches/contrib/oss-skill-independent/provenance.json +0 -1903
- package/benches/contrib/oss-skill-independent/task-specs.json +0 -63
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/LICENSE +0 -22
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/Readme.md +0 -1015
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/esm.mjs +0 -15
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/index.js +0 -27
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/argument.js +0 -147
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/command.js +0 -1944
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/error.js +0 -45
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/help.js +0 -396
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/option.js +0 -208
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/suggestSimilar.js +0 -100
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/package-support.json +0 -16
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/package.json +0 -63
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/typings/index.d.ts +0 -774
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/typings/index.test-d.ts +0 -416
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/upstream-package.json +0 -69
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/LICENSE +0 -22
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/Readme.md +0 -1015
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/esm.mjs +0 -15
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/index.js +0 -27
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/argument.js +0 -147
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/command.js +0 -1948
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/error.js +0 -45
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/help.js +0 -396
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/option.js +0 -208
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/suggestSimilar.js +0 -100
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/package-support.json +0 -16
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/package.json +0 -63
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/regression.test.mjs +0 -5
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/typings/index.d.ts +0 -774
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/typings/index.test-d.ts +0 -416
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/upstream-package.json +0 -69
- package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/LICENSE +0 -22
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/Readme.md +0 -1149
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/esm.mjs +0 -16
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/index.js +0 -24
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/argument.js +0 -149
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/command.js +0 -2662
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/error.js +0 -39
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/help.js +0 -713
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/option.js +0 -367
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/suggestSimilar.js +0 -101
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/package-support.json +0 -16
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/package.json +0 -71
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/typings/esm.d.mts +0 -3
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/typings/index.d.ts +0 -1045
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/typings/index.test-d.ts +0 -737
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/upstream-package.json +0 -82
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/LICENSE +0 -22
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/Readme.md +0 -1149
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/esm.mjs +0 -16
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/index.js +0 -24
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/argument.js +0 -149
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/command.js +0 -2666
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/error.js +0 -39
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/help.js +0 -713
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/option.js +0 -367
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/suggestSimilar.js +0 -101
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/package-support.json +0 -16
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/package.json +0 -71
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/regression.test.mjs +0 -5
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/typings/esm.d.mts +0 -3
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/typings/index.d.ts +0 -1045
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/typings/index.test-d.ts +0 -737
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/upstream-package.json +0 -82
- package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/index.d.ts +0 -40
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/index.js +0 -68
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/package.json +0 -54
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/readme.md +0 -99
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/upstream-package.json +0 -54
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/vendor/yocto-queue/index.js +0 -67
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/vendor/yocto-queue/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/vendor/yocto-queue/package.json +0 -46
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/async-hooks-stub.js +0 -15
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/index.d.ts +0 -40
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/index.js +0 -71
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/package.json +0 -61
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/readme.md +0 -99
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/regression.test.mjs +0 -6
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/upstream-package.json +0 -54
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/vendor/yocto-queue/index.js +0 -67
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/vendor/yocto-queue/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/vendor/yocto-queue/package.json +0 -46
- package/benches/contrib/oss-skill-independent/tasks/limit-async-context/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/index.d.ts +0 -136
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/index.js +0 -132
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/package.json +0 -57
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/readme.md +0 -181
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/upstream-package.json +0 -58
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/vendor/yocto-queue/index.js +0 -84
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/vendor/yocto-queue/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/vendor/yocto-queue/package.json +0 -48
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/index.d.ts +0 -136
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/index.js +0 -148
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/package.json +0 -57
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/readme.md +0 -181
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/regression.test.mjs +0 -5
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/upstream-package.json +0 -58
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/vendor/yocto-queue/index.js +0 -84
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/vendor/yocto-queue/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/vendor/yocto-queue/package.json +0 -48
- package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/index.d.ts +0 -136
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/index.js +0 -116
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/package.json +0 -60
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/readme.md +0 -170
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/upstream-package.json +0 -60
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/index.d.ts +0 -136
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/index.js +0 -121
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/package.json +0 -60
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/readme.md +0 -170
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/regression.test.mjs +0 -6
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/upstream-package.json +0 -60
- package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/index.d.ts +0 -149
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/index.js +0 -93
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/package.json +0 -52
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/readme.md +0 -192
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/upstream-package.json +0 -52
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/index.d.ts +0 -149
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/index.js +0 -95
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/package.json +0 -52
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/readme.md +0 -192
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/regression.test.mjs +0 -5
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/upstream-package.json +0 -52
- package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/index.d.ts +0 -151
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/index.js +0 -114
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/package.json +0 -48
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/readme.md +0 -158
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/upstream-package.json +0 -48
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/index.d.ts +0 -151
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/index.js +0 -114
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/package.json +0 -48
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/readme.md +0 -158
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/regression.test.mjs +0 -5
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/upstream-package.json +0 -48
- package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/index.d.ts +0 -151
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/index.js +0 -122
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/package.json +0 -50
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/readme.md +0 -190
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/upstream-package.json +0 -50
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/prompt.md +0 -3
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/index.d.ts +0 -151
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/index.js +0 -122
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/license +0 -9
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/oracle.mjs +0 -1
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/package.json +0 -50
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/readme.md +0 -190
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/regression.test.mjs +0 -5
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/test.mjs +0 -4
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/upstream-package.json +0 -50
- package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/verify.mjs +0 -1
- package/benches/contrib/oss-skill-independent/test-clock.mjs +0 -65
- package/benches/contrib/oss-skill-independent/verifiers/cases.mjs +0 -197
- package/benches/contrib/oss-skill-independent/verifiers/grade.mjs +0 -48
- package/benches/contrib/oss-skill-independent/verifiers/probe.mjs +0 -16
- package/benches/contrib/oss-skill-independent/verifiers/regression-evidence.mjs +0 -105
- package/benches/contrib/oss-skill-independent/verifiers/test-reporter.mjs +0 -29
- package/benches/contrib/oss-skill-validation/README.md +0 -33
- package/benches/contrib/oss-skill-validation/bench.json +0 -79
- package/benches/contrib/oss-skill-validation/provenance.json +0 -119
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/index.js +0 -281
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/readme.md +0 -169
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/index.js +0 -281
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/readme.md +0 -169
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/async-concurrency/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/index.js +0 -661
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/readme.md +0 -404
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/index.js +0 -663
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/readme.md +0 -404
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/cold-thenable/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/index.js +0 -288
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/index.js +0 -293
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/consumer-stop/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/index.js +0 -283
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/index.js +0 -284
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/mapper-index/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/index.js +0 -300
- package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/source-close/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/index.js +0 -310
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/source-close/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/source-close/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/index.js +0 -293
- package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/source-error/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/UPSTREAM.package.json +0 -57
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/index.js +0 -292
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/readme.md +0 -190
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/source-error/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/source-error/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/UPSTREAM.package.json +0 -51
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/index.js +0 -261
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/readme.md +0 -143
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/UPSTREAM.package.json +0 -51
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/index.js +0 -265
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/readme.md +0 -143
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/ttl-duration/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/UPSTREAM.package.json +0 -51
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/index.js +0 -261
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/readme.md +0 -143
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/prompt.md +0 -3
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/UPSTREAM.package.json +0 -51
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/index.js +0 -261
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/license +0 -9
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/oracle.mjs +0 -4
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/package.json +0 -8
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/readme.md +0 -143
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/regression.test.mjs +0 -115
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/test.mjs +0 -5
- package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/verify.mjs +0 -2
- package/benches/contrib/oss-skill-validation/upstream/async-concurrency.patch +0 -77
- package/benches/contrib/oss-skill-validation/upstream/cold-thenable.patch +0 -162
- package/benches/contrib/oss-skill-validation/upstream/consumer-stop.patch +0 -217
- package/benches/contrib/oss-skill-validation/upstream/mapper-index.patch +0 -48
- package/benches/contrib/oss-skill-validation/upstream/source-close.patch +0 -179
- package/benches/contrib/oss-skill-validation/upstream/source-error.patch +0 -132
- package/benches/contrib/oss-skill-validation/upstream/ttl-duration.patch +0 -73
- package/benches/contrib/oss-skill-validation/upstream/ttl-refresh.patch +0 -41
- package/benches/contrib/oss-skill-validation/verifiers/cases.mjs +0 -111
- package/benches/contrib/oss-skill-validation/verifiers/grade.mjs +0 -35
- package/benches/contrib/oss-skill-validation/verifiers/probe.mjs +0 -10
- package/benches/contrib/oss-skill-validation/verifiers/regression-evidence.mjs +0 -98
- package/benches/contrib/oss-skill-validation/verifiers/test-reporter.mjs +0 -29
- package/benches/contrib/waza-behavior/LICENSE.upstream +0 -21
- package/benches/contrib/waza-behavior/README.md +0 -36
- package/benches/contrib/waza-behavior/bench.json +0 -34
- package/benches/contrib/waza-behavior/tasks/explicit-hold/fixture/README.md +0 -1
- package/benches/contrib/waza-behavior/tasks/explicit-hold/fixture/notes.txt +0 -1
- package/benches/contrib/waza-behavior/tasks/explicit-hold/prompt.md +0 -1
- package/benches/contrib/waza-behavior/tasks/receipt-current/fixture/README.md +0 -1
- package/benches/contrib/waza-behavior/tasks/receipt-current/fixture/docs/guide.md +0 -2
- package/benches/contrib/waza-behavior/tasks/receipt-current/fixture/notes.txt +0 -1
- package/benches/contrib/waza-behavior/tasks/receipt-current/fixture/scripts/check-links.mjs +0 -16
- package/benches/contrib/waza-behavior/tasks/receipt-current/fixture/validation-receipt.json +0 -10
- package/benches/contrib/waza-behavior/tasks/receipt-current/prompt.md +0 -1
- package/benches/contrib/waza-behavior/tasks/receipt-stale/fixture/README.md +0 -1
- package/benches/contrib/waza-behavior/tasks/receipt-stale/fixture/docs/guide.md +0 -3
- package/benches/contrib/waza-behavior/tasks/receipt-stale/fixture/notes.txt +0 -1
- package/benches/contrib/waza-behavior/tasks/receipt-stale/fixture/scripts/check-links.mjs +0 -16
- package/benches/contrib/waza-behavior/tasks/receipt-stale/fixture/validation-receipt.json +0 -10
- package/benches/contrib/waza-behavior/tasks/receipt-stale/prompt.md +0 -1
- package/benches/contrib/waza-behavior/verifiers/behavior.mjs +0 -59
- package/benches/contrib/waza-behavior/verifiers/oracle.mjs +0 -24
|
@@ -1,42 +1,57 @@
|
|
|
1
|
-
import assert from
|
|
1
|
+
import assert from "node:assert/strict";
|
|
2
2
|
function object(value) {
|
|
3
|
-
assert.ok(value && typeof value ===
|
|
3
|
+
assert.ok(value && typeof value === "object" && !Array.isArray(value), "Invalid model identity object.");
|
|
4
4
|
return value;
|
|
5
5
|
}
|
|
6
|
-
function model(value) {
|
|
6
|
+
function model(value) {
|
|
7
|
+
return (typeof value === "string" &&
|
|
8
|
+
value.length > 0 &&
|
|
9
|
+
value === value.trim() &&
|
|
10
|
+
!/[\r\n\x00-\x1f]/.test(value));
|
|
11
|
+
}
|
|
7
12
|
function keys(value, expected) {
|
|
8
|
-
assert.deepEqual(Object.keys(value).sort(), expected.sort(),
|
|
13
|
+
assert.deepEqual(Object.keys(value).sort(), expected.sort(), "Unknown or missing model identity fields.");
|
|
9
14
|
}
|
|
10
15
|
export function parseModelIntent(value) {
|
|
11
16
|
const r = object(value);
|
|
12
|
-
keys(r, [
|
|
13
|
-
assert.equal(r.schemaVersion, 1,
|
|
17
|
+
keys(r, ["schemaVersion", "configured", "requested"]);
|
|
18
|
+
assert.equal(r.schemaVersion, 1, "Unsupported model intent version.");
|
|
14
19
|
assert.ok(r.configured === null || model(r.configured));
|
|
15
20
|
assert.ok(r.requested === null || model(r.requested));
|
|
16
21
|
return r;
|
|
17
22
|
}
|
|
18
23
|
export function parseModelIdentity(value) {
|
|
19
24
|
const r = object(value);
|
|
20
|
-
keys(r, [
|
|
21
|
-
parseModelIntent({
|
|
22
|
-
|
|
25
|
+
keys(r, ["schemaVersion", "configured", "requested", "status", "reportedModels"]);
|
|
26
|
+
parseModelIntent({
|
|
27
|
+
schemaVersion: r.schemaVersion,
|
|
28
|
+
configured: r.configured,
|
|
29
|
+
requested: r.requested,
|
|
30
|
+
});
|
|
31
|
+
assert.ok(r.status === "reported" || r.status === "unrecorded");
|
|
23
32
|
assert.ok(Array.isArray(r.reportedModels));
|
|
24
33
|
const seen = new Set();
|
|
25
34
|
for (const value of r.reportedModels) {
|
|
26
35
|
const entry = object(value);
|
|
27
|
-
keys(entry, [
|
|
36
|
+
keys(entry, ["id", "source", "location"]);
|
|
28
37
|
assert.ok(model(entry.id));
|
|
29
|
-
assert.ok(entry.source ===
|
|
30
|
-
assert.ok(entry.source ===
|
|
38
|
+
assert.ok(entry.source === "api-response-model" || entry.source === "cli-public-event");
|
|
39
|
+
assert.ok(entry.source === "api-response-model"
|
|
40
|
+
? entry.location === "/model"
|
|
41
|
+
: /^jsonl:[1-9][0-9]*:\/message\/model$/.test(String(entry.location)));
|
|
31
42
|
const key = JSON.stringify([entry.id, entry.source, entry.location]);
|
|
32
|
-
assert.ok(!seen.has(key),
|
|
43
|
+
assert.ok(!seen.has(key), "Duplicate reported model source.");
|
|
33
44
|
seen.add(key);
|
|
34
45
|
}
|
|
35
|
-
assert.equal(r.status, r.reportedModels.length ?
|
|
46
|
+
assert.equal(r.status, r.reportedModels.length ? "reported" : "unrecorded", "Model status contradicts public observations.");
|
|
36
47
|
return r;
|
|
37
48
|
}
|
|
38
49
|
export function unknownModelIdentity(intent) {
|
|
39
|
-
return {
|
|
50
|
+
return {
|
|
51
|
+
...(intent ?? { schemaVersion: 1, configured: null, requested: null }),
|
|
52
|
+
status: "unrecorded",
|
|
53
|
+
reportedModels: [],
|
|
54
|
+
};
|
|
40
55
|
}
|
|
41
56
|
/** No text self-reports, startup configuration, or private session model fields. */
|
|
42
57
|
export function observedModelIdentity(raw, intent, surface) {
|
|
@@ -45,26 +60,33 @@ export function observedModelIdentity(raw, intent, surface) {
|
|
|
45
60
|
if (model(id))
|
|
46
61
|
result.reportedModels.push({ id, source, location });
|
|
47
62
|
};
|
|
48
|
-
if (raw !== undefined && surface ===
|
|
63
|
+
if (raw !== undefined && surface === "api") {
|
|
49
64
|
try {
|
|
50
65
|
const data = JSON.parse(raw);
|
|
51
66
|
if (data && !Array.isArray(data))
|
|
52
|
-
add(data.model,
|
|
67
|
+
add(data.model, "api-response-model", "/model");
|
|
68
|
+
}
|
|
69
|
+
catch {
|
|
70
|
+
/* Broken response remains unrecorded. */
|
|
53
71
|
}
|
|
54
|
-
catch { /* Broken response remains unrecorded. */ }
|
|
55
72
|
}
|
|
56
|
-
else if (raw !== undefined && surface ===
|
|
57
|
-
for (const [index, line] of raw.split(
|
|
73
|
+
else if (raw !== undefined && surface === "claude-assistant") {
|
|
74
|
+
for (const [index, line] of raw.split("\n").entries()) {
|
|
58
75
|
try {
|
|
59
76
|
const event = JSON.parse(line);
|
|
60
|
-
if (event?.type ===
|
|
61
|
-
|
|
77
|
+
if (event?.type === "assistant" &&
|
|
78
|
+
event.message &&
|
|
79
|
+
typeof event.message === "object" &&
|
|
80
|
+
!Array.isArray(event.message)) {
|
|
81
|
+
add(event.message.model, "cli-public-event", `jsonl:${index + 1}:/message/model`);
|
|
62
82
|
}
|
|
63
83
|
}
|
|
64
|
-
catch {
|
|
84
|
+
catch {
|
|
85
|
+
/* Complete earlier public events survive partial trailing output. */
|
|
86
|
+
}
|
|
65
87
|
}
|
|
66
88
|
}
|
|
67
|
-
result.status = result.reportedModels.length ?
|
|
89
|
+
result.status = result.reportedModels.length ? "reported" : "unrecorded";
|
|
68
90
|
return result;
|
|
69
91
|
}
|
|
70
92
|
/** Validate both declarations and their retained public response; absence is legacy unknown. */
|
|
@@ -73,64 +95,89 @@ export function assertModelIdentity(value, raw, descriptor, configured) {
|
|
|
73
95
|
return;
|
|
74
96
|
const identity = parseModelIdentity(value), executor = object(descriptor);
|
|
75
97
|
if (executor.modelIdentitySurface !== undefined)
|
|
76
|
-
assert.ok(executor.kind ===
|
|
98
|
+
assert.ok(executor.kind === "cli" && executor.modelIdentitySurface === "claude-assistant", "Unsupported model observation surface.");
|
|
77
99
|
const intent = executor.modelIntent === undefined ? undefined : parseModelIntent(executor.modelIntent);
|
|
78
|
-
const expected = observedModelIdentity(raw, intent, executor.kind ===
|
|
79
|
-
|
|
100
|
+
const expected = observedModelIdentity(raw, intent, executor.kind === "api"
|
|
101
|
+
? "api"
|
|
102
|
+
: executor.modelIdentitySurface === "claude-assistant"
|
|
103
|
+
? "claude-assistant"
|
|
104
|
+
: undefined);
|
|
105
|
+
if (configured !== undefined && executor.kind === "cli")
|
|
80
106
|
expected.configured = configured;
|
|
81
|
-
assert.deepEqual(identity, expected,
|
|
107
|
+
assert.deepEqual(identity, expected, "Model identity differs from frozen intent or retained public response.");
|
|
82
108
|
}
|
|
83
109
|
export function identityForResult(result, descriptor) {
|
|
84
|
-
return result.modelIdentity ??
|
|
110
|
+
return (result.modelIdentity ??
|
|
111
|
+
observedModelIdentity(result.rawOutput, descriptor.modelIntent, descriptor.kind === "api" ? "api" : descriptor.modelIdentitySurface));
|
|
85
112
|
}
|
|
86
113
|
export function modelPopulation(calls) {
|
|
87
|
-
const reported = calls.filter(call => call.identity?.status ===
|
|
88
|
-
return {
|
|
89
|
-
|
|
114
|
+
const reported = calls.filter((call) => call.identity?.status === "reported").length;
|
|
115
|
+
return {
|
|
116
|
+
invoked: calls.length,
|
|
117
|
+
reported,
|
|
118
|
+
unrecorded: calls.length - reported,
|
|
119
|
+
models: [
|
|
120
|
+
...new Set(calls.flatMap((call) => call.identity?.reportedModels.map((entry) => entry.id) ?? [])),
|
|
121
|
+
].sort(),
|
|
122
|
+
calls,
|
|
123
|
+
};
|
|
90
124
|
}
|
|
91
125
|
export function modelIdentities(primary = null, judge = null, drafter = null) {
|
|
92
|
-
return {
|
|
93
|
-
|
|
126
|
+
return {
|
|
127
|
+
schemaVersion: 1,
|
|
128
|
+
primary: primary === null ? null : modelPopulation(primary),
|
|
129
|
+
judge: judge === null ? null : modelPopulation(judge),
|
|
130
|
+
drafter: drafter === null ? null : modelPopulation(drafter),
|
|
131
|
+
};
|
|
94
132
|
}
|
|
95
133
|
export function parseModelIdentities(value) {
|
|
96
134
|
const r = object(value);
|
|
97
|
-
keys(r, [
|
|
135
|
+
keys(r, ["schemaVersion", "primary", "judge", "drafter"]);
|
|
98
136
|
assert.equal(r.schemaVersion, 1);
|
|
99
|
-
for (const role of [
|
|
137
|
+
for (const role of ["primary", "judge", "drafter"]) {
|
|
100
138
|
if (r[role] === null)
|
|
101
139
|
continue;
|
|
102
140
|
const p = object(r[role]);
|
|
103
|
-
keys(p, [
|
|
141
|
+
keys(p, ["invoked", "reported", "unrecorded", "models", "calls"]);
|
|
104
142
|
assert.ok(Array.isArray(p.calls));
|
|
105
143
|
const seen = new Set();
|
|
106
|
-
const calls = p.calls.map(value => {
|
|
144
|
+
const calls = p.calls.map((value) => {
|
|
107
145
|
const c = object(value);
|
|
108
|
-
keys(c, [
|
|
109
|
-
assert.ok(typeof c.receipt ===
|
|
110
|
-
|
|
146
|
+
keys(c, ["receipt", "identity"]);
|
|
147
|
+
assert.ok(typeof c.receipt === "string" &&
|
|
148
|
+
/^[a-zA-Z0-9_.\/-]+$/.test(c.receipt) &&
|
|
149
|
+
!c.receipt.split("/").some((s) => s === ".." || s === "." || !s), "Invalid model receipt path.");
|
|
150
|
+
assert.ok(!seen.has(c.receipt), "Duplicate model invocation.");
|
|
111
151
|
seen.add(c.receipt);
|
|
112
|
-
return {
|
|
152
|
+
return {
|
|
153
|
+
receipt: c.receipt,
|
|
154
|
+
identity: c.identity === null ? null : parseModelIdentity(c.identity),
|
|
155
|
+
};
|
|
113
156
|
});
|
|
114
|
-
assert.deepEqual(p, modelPopulation(calls),
|
|
157
|
+
assert.deepEqual(p, modelPopulation(calls), "Model coverage differs from its invocation records.");
|
|
115
158
|
}
|
|
116
159
|
return r;
|
|
117
160
|
}
|
|
118
161
|
export function renderModelIdentityLines(value) {
|
|
119
162
|
if (!value)
|
|
120
|
-
return [
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
163
|
+
return [
|
|
164
|
+
"Model identity: unrecorded in legacy/incomplete evidence; configured/requested names do not establish a reported model.",
|
|
165
|
+
];
|
|
166
|
+
const display = (value) => JSON.stringify(value).replace(/[\\`*_{}[\]()<>|!#]/g, "\\$&");
|
|
167
|
+
const lines = ["Public model identity (response declarations, not backend attestation):"];
|
|
168
|
+
for (const role of ["primary", "judge", "drafter"]) {
|
|
124
169
|
const p = value[role];
|
|
125
170
|
if (!p) {
|
|
126
171
|
lines.push(`- ${role}: invocation coverage not recorded.`);
|
|
127
172
|
continue;
|
|
128
173
|
}
|
|
129
|
-
lines.push(`- ${role}: ${p.invoked} invoked; ${p.reported} reported; ${p.unrecorded} unrecorded. Models: ${p.models.map(id => display(id)).join(
|
|
174
|
+
lines.push(`- ${role}: ${p.invoked} invoked; ${p.reported} reported; ${p.unrecorded} unrecorded. Models: ${p.models.map((id) => display(id)).join(", ") || "unrecorded"}.`);
|
|
130
175
|
for (const call of p.calls)
|
|
131
176
|
if (call.identity)
|
|
132
177
|
lines.push(` ${call.receipt}: configured=${display(call.identity.configured)}, requested=${display(call.identity.requested)}; ` +
|
|
133
|
-
(call.identity.reportedModels
|
|
178
|
+
(call.identity.reportedModels
|
|
179
|
+
.map((entry) => `${display(entry.id)} [${entry.source} ${entry.location}]`)
|
|
180
|
+
.join("; ") || "unrecorded"));
|
|
134
181
|
}
|
|
135
182
|
return lines;
|
|
136
183
|
}
|
|
@@ -1,44 +1,63 @@
|
|
|
1
1
|
export function triggerDetection(wireShape, identities, skillPaths = []) {
|
|
2
|
-
return {
|
|
3
|
-
|
|
2
|
+
return {
|
|
3
|
+
schemaVersion: 2,
|
|
4
|
+
wireShape,
|
|
5
|
+
method: wireShape === "codex-items" ? "skill-file-read-command" : "skill-tool-argument",
|
|
6
|
+
identityMatch: "exact-registered-identity",
|
|
7
|
+
identities: [...new Set(identities)].sort(),
|
|
8
|
+
skillPaths: [...new Set(skillPaths)].sort(),
|
|
9
|
+
};
|
|
4
10
|
}
|
|
5
11
|
export function parseTriggerDetection(value) {
|
|
6
12
|
if (value === undefined)
|
|
7
13
|
return null;
|
|
8
|
-
if (!value || typeof value !==
|
|
9
|
-
throw new Error(
|
|
14
|
+
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
15
|
+
throw new Error("Invalid triggerDetection.");
|
|
10
16
|
const row = value;
|
|
11
17
|
if (row.schemaVersion !== 2)
|
|
12
18
|
throw new Error(`Unsupported triggerDetection schemaVersion: ${String(row.schemaVersion)}.`);
|
|
13
|
-
if (![
|
|
14
|
-
throw new Error(
|
|
15
|
-
for (const key of [
|
|
19
|
+
if (!["flat-tool-call", "content-blocks", "codex-items"].includes(String(row.wireShape)))
|
|
20
|
+
throw new Error("Invalid triggerDetection.wireShape.");
|
|
21
|
+
for (const key of ["identities", "skillPaths"]) {
|
|
16
22
|
const list = row[key];
|
|
17
|
-
if (!Array.isArray(list) ||
|
|
18
|
-
(
|
|
23
|
+
if (!Array.isArray(list) ||
|
|
24
|
+
list.some((v) => typeof v !== "string" || !v.trim()) ||
|
|
25
|
+
new Set(list).size !== list.length ||
|
|
26
|
+
(key === "identities" && !list.length))
|
|
19
27
|
throw new Error(`Invalid triggerDetection.${key}.`);
|
|
20
28
|
}
|
|
21
29
|
const expected = triggerDetection(row.wireShape, row.identities, row.skillPaths);
|
|
22
30
|
if (row.method !== expected.method || row.identityMatch !== expected.identityMatch)
|
|
23
|
-
throw new Error(
|
|
31
|
+
throw new Error("Invalid triggerDetection method or identityMatch.");
|
|
24
32
|
return expected;
|
|
25
33
|
}
|
|
26
34
|
export function parseTriggerEvidence(value, detection) {
|
|
27
|
-
if (!value || typeof value !==
|
|
28
|
-
throw new Error(
|
|
35
|
+
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
36
|
+
throw new Error("Missing or invalid triggerEvidence.");
|
|
29
37
|
const e = value;
|
|
30
|
-
if (![
|
|
31
|
-
|
|
38
|
+
if (!["observed", "not-observed", "unknown"].includes(e.status) ||
|
|
39
|
+
typeof e.complete !== "boolean" ||
|
|
40
|
+
!Array.isArray(e.eventLines) ||
|
|
41
|
+
e.eventLines.some((n) => !Number.isSafeInteger(n) || n < 1) ||
|
|
32
42
|
e.eventLines.some((n, i) => i > 0 && n <= e.eventLines[i - 1]))
|
|
33
|
-
throw new Error(
|
|
34
|
-
if (e.status ===
|
|
35
|
-
|
|
36
|
-
|
|
43
|
+
throw new Error("Invalid triggerEvidence fields.");
|
|
44
|
+
if (e.status === "observed"
|
|
45
|
+
? !detection.identities.includes(e.matchedIdentity ?? "") || !e.eventLines.length
|
|
46
|
+
: e.matchedIdentity !== null ||
|
|
47
|
+
e.eventLines.length !== 0 ||
|
|
48
|
+
e.complete !== (e.status === "not-observed")) {
|
|
49
|
+
throw new Error("Trigger evidence status contradicts its identity, completeness or event lines.");
|
|
37
50
|
}
|
|
38
|
-
return {
|
|
51
|
+
return {
|
|
52
|
+
status: e.status,
|
|
53
|
+
complete: e.complete,
|
|
54
|
+
matchedIdentity: e.matchedIdentity,
|
|
55
|
+
eventLines: [...e.eventLines],
|
|
56
|
+
};
|
|
39
57
|
}
|
|
40
58
|
/** Protocol diagnostics preserve the saved wire identifier without exposing it to caller policy. */
|
|
41
59
|
export function triggerProtocolLine(detection) {
|
|
42
|
-
return detection
|
|
43
|
-
|
|
60
|
+
return detection
|
|
61
|
+
? `Protocol : triggerDetection v2 (${detection.wireShape}; ${detection.identityMatch})`
|
|
62
|
+
: "Protocol : legacy/unversioned detection; saved observations are not reinterpreted";
|
|
44
63
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { posix } from
|
|
2
|
-
import { realpathSync } from
|
|
1
|
+
import { posix } from "node:path";
|
|
2
|
+
import { realpathSync } from "node:fs";
|
|
3
3
|
import { parseCommand } from "../../shared/command.js";
|
|
4
|
-
export { triggerDetection, parseTriggerDetection, parseTriggerEvidence } from "./trigger-contract.js";
|
|
4
|
+
export { triggerDetection, parseTriggerDetection, parseTriggerEvidence, } from "./trigger-contract.js";
|
|
5
5
|
function normalizedPath(path) {
|
|
6
|
-
return posix.normalize(path.replace(/\\+/g,
|
|
6
|
+
return posix.normalize(path.replace(/\\+/g, "/"));
|
|
7
7
|
}
|
|
8
8
|
/** Deliberately recognize only literal read commands, never evaluate shell text. */
|
|
9
|
-
function readPaths(command, depth = 0, windowsShell = process.platform ===
|
|
9
|
+
function readPaths(command, depth = 0, windowsShell = process.platform === "win32") {
|
|
10
10
|
if (depth > 2 || /[;&|<>$`\r\n]/.test(command))
|
|
11
11
|
return null;
|
|
12
|
-
if (command.trimStart().startsWith(
|
|
12
|
+
if (command.trimStart().startsWith("#"))
|
|
13
13
|
return [];
|
|
14
|
-
if (command.includes(
|
|
14
|
+
if (command.includes("#"))
|
|
15
15
|
return null;
|
|
16
16
|
let args;
|
|
17
17
|
try {
|
|
@@ -20,43 +20,54 @@ function readPaths(command, depth = 0, windowsShell = process.platform === 'win3
|
|
|
20
20
|
catch {
|
|
21
21
|
return null;
|
|
22
22
|
}
|
|
23
|
-
const executable = args
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
const executable = args
|
|
24
|
+
.shift()
|
|
25
|
+
.replaceAll("\\", "/")
|
|
26
|
+
.split("/")
|
|
27
|
+
.at(-1)
|
|
28
|
+
.replace(/\.exe$/i, "")
|
|
29
|
+
.toLowerCase();
|
|
30
|
+
if (["sh", "bash", "zsh", "powershell", "pwsh"].includes(executable)) {
|
|
31
|
+
return args.length === 2 && ["-c", "-lc", "-command"].includes(args[0].toLowerCase())
|
|
32
|
+
? readPaths(args[1], depth + 1, ["powershell", "pwsh"].includes(executable))
|
|
33
|
+
: null;
|
|
27
34
|
}
|
|
28
|
-
if (executable ===
|
|
35
|
+
if (executable === "type" && !windowsShell)
|
|
29
36
|
return [];
|
|
30
|
-
if ([
|
|
37
|
+
if (["echo", "printf", "write-output", "rg", "grep"].includes(executable))
|
|
31
38
|
return [];
|
|
32
|
-
if (executable ===
|
|
33
|
-
if (args[0] !==
|
|
39
|
+
if (executable === "sed") {
|
|
40
|
+
if (args[0] !== "-n" || !/^\d+(,\d+)?p$/.test(args[1] ?? ""))
|
|
34
41
|
return null;
|
|
35
42
|
args = args.slice(2);
|
|
36
43
|
}
|
|
37
|
-
else if (executable ===
|
|
44
|
+
else if (executable === "get-content") {
|
|
38
45
|
const paths = [];
|
|
39
46
|
for (let i = 0; i < args.length; i++) {
|
|
40
47
|
const arg = args[i];
|
|
41
|
-
if ([
|
|
48
|
+
if (["-raw", "-path", "-literalpath"].includes(arg.toLowerCase()))
|
|
42
49
|
continue;
|
|
43
|
-
if (arg.startsWith(
|
|
50
|
+
if (arg.startsWith("-"))
|
|
44
51
|
return null;
|
|
45
52
|
paths.push(arg);
|
|
46
53
|
}
|
|
47
54
|
args = paths;
|
|
48
55
|
}
|
|
49
|
-
else if (executable ===
|
|
50
|
-
args = args.filter(arg => arg !==
|
|
56
|
+
else if (executable === "cat") {
|
|
57
|
+
args = args.filter((arg) => arg !== "--" && !/^-[AbenstuvET]+$/.test(arg));
|
|
51
58
|
}
|
|
52
|
-
else if (executable !==
|
|
59
|
+
else if (executable !== "type")
|
|
53
60
|
return null;
|
|
54
61
|
// Windows temp roots commonly contain literal 8.3 names such as RUNNER~1.
|
|
55
62
|
// Only a drive-qualified Windows path makes that tilde unambiguously literal.
|
|
56
|
-
return args.length &&
|
|
57
|
-
(
|
|
58
|
-
|
|
59
|
-
|
|
63
|
+
return args.length &&
|
|
64
|
+
args.every((arg) => !arg.startsWith("-") &&
|
|
65
|
+
!/[*?\[\]{},()%]/.test(arg) &&
|
|
66
|
+
(!arg.includes("~") || (windowsShell && /^[A-Za-z]:[\\/]/.test(arg))) &&
|
|
67
|
+
!/(?:^|[\\/])\.\.(?:[\\/]|$)/.test(arg) &&
|
|
68
|
+
!(!windowsShell && ["cat", "sed"].includes(executable) && arg.includes("\\")))
|
|
69
|
+
? args
|
|
70
|
+
: null;
|
|
60
71
|
}
|
|
61
72
|
export function observesSkillRead(command, paths, workdir) {
|
|
62
73
|
const reads = readPaths(command);
|
|
@@ -67,10 +78,12 @@ export function observesSkillRead(command, paths, workdir) {
|
|
|
67
78
|
try {
|
|
68
79
|
roots.push(realpathSync(workdir));
|
|
69
80
|
}
|
|
70
|
-
catch {
|
|
71
|
-
|
|
81
|
+
catch {
|
|
82
|
+
/* Offline Windows/synthetic paths need not exist on this host. */
|
|
83
|
+
}
|
|
84
|
+
const expected = roots.flatMap((root) => paths.map((path) => resolve(path, root)));
|
|
72
85
|
for (const path of reads)
|
|
73
|
-
if (roots.some(root => expected.includes(resolve(path, root))))
|
|
86
|
+
if (roots.some((root) => expected.includes(resolve(path, root))))
|
|
74
87
|
return path;
|
|
75
88
|
return false;
|
|
76
89
|
}
|
|
@@ -87,9 +100,11 @@ export class TriggerObserver {
|
|
|
87
100
|
this.options = options;
|
|
88
101
|
this.shape = options.wireShape;
|
|
89
102
|
}
|
|
90
|
-
malformed() {
|
|
103
|
+
malformed() {
|
|
104
|
+
this.invalid = true;
|
|
105
|
+
}
|
|
91
106
|
skill(args, line) {
|
|
92
|
-
if (typeof args ===
|
|
107
|
+
if (typeof args === "string") {
|
|
93
108
|
try {
|
|
94
109
|
args = JSON.parse(args);
|
|
95
110
|
}
|
|
@@ -98,12 +113,12 @@ export class TriggerObserver {
|
|
|
98
113
|
return;
|
|
99
114
|
}
|
|
100
115
|
}
|
|
101
|
-
if (!args || typeof args !==
|
|
116
|
+
if (!args || typeof args !== "object" || Array.isArray(args)) {
|
|
102
117
|
this.malformed();
|
|
103
118
|
return;
|
|
104
119
|
}
|
|
105
120
|
const identity = args[this.options.skillKey];
|
|
106
|
-
if (typeof identity !==
|
|
121
|
+
if (typeof identity !== "string" || !identity) {
|
|
107
122
|
this.malformed();
|
|
108
123
|
return;
|
|
109
124
|
}
|
|
@@ -113,21 +128,32 @@ export class TriggerObserver {
|
|
|
113
128
|
}
|
|
114
129
|
}
|
|
115
130
|
event(row, line) {
|
|
116
|
-
const inferred = typeof row.role ===
|
|
117
|
-
|
|
118
|
-
|
|
131
|
+
const inferred = typeof row.role === "string"
|
|
132
|
+
? "flat-tool-call"
|
|
133
|
+
: [
|
|
134
|
+
"thread.started",
|
|
135
|
+
"turn.started",
|
|
136
|
+
"turn.completed",
|
|
137
|
+
"turn.failed",
|
|
138
|
+
"item.started",
|
|
139
|
+
"item.completed",
|
|
140
|
+
].includes(String(row.type))
|
|
141
|
+
? "codex-items"
|
|
142
|
+
: ["assistant", "user", "system", "result", "stream_event"].includes(String(row.type))
|
|
143
|
+
? "content-blocks"
|
|
144
|
+
: undefined;
|
|
119
145
|
if (!inferred || (this.shape && inferred !== this.shape)) {
|
|
120
146
|
this.malformed();
|
|
121
147
|
return;
|
|
122
148
|
}
|
|
123
149
|
this.shape ??= inferred;
|
|
124
|
-
if (inferred ===
|
|
125
|
-
if (![
|
|
150
|
+
if (inferred === "flat-tool-call") {
|
|
151
|
+
if (!["assistant", "tool", "user", "system", "meta"].includes(String(row.role))) {
|
|
126
152
|
this.malformed();
|
|
127
153
|
return;
|
|
128
154
|
}
|
|
129
155
|
this.terminal = false;
|
|
130
|
-
if (row.role !==
|
|
156
|
+
if (row.role !== "assistant")
|
|
131
157
|
return;
|
|
132
158
|
if (row.tool_calls !== undefined && !Array.isArray(row.tool_calls)) {
|
|
133
159
|
this.malformed();
|
|
@@ -135,31 +161,36 @@ export class TriggerObserver {
|
|
|
135
161
|
}
|
|
136
162
|
const calls = (row.tool_calls ?? []);
|
|
137
163
|
for (const call of calls) {
|
|
138
|
-
const fn = call && typeof call ===
|
|
139
|
-
if (!fn || typeof fn !==
|
|
164
|
+
const fn = call && typeof call === "object" ? call.function : null;
|
|
165
|
+
if (!fn || typeof fn !== "object") {
|
|
140
166
|
this.malformed();
|
|
141
167
|
continue;
|
|
142
168
|
}
|
|
143
169
|
const f = fn;
|
|
144
|
-
if (typeof f.name !==
|
|
170
|
+
if (typeof f.name !== "string") {
|
|
145
171
|
this.malformed();
|
|
146
172
|
continue;
|
|
147
173
|
}
|
|
148
174
|
if (f.name === this.options.toolName)
|
|
149
175
|
this.skill(f.arguments, line);
|
|
150
176
|
}
|
|
151
|
-
this.terminal =
|
|
152
|
-
|
|
177
|
+
this.terminal =
|
|
178
|
+
calls.length === 0 &&
|
|
179
|
+
typeof row.content === "string" &&
|
|
180
|
+
row.content.length > 0 &&
|
|
181
|
+
(row.finish_reason === undefined ||
|
|
182
|
+
row.finish_reason === "stop" ||
|
|
183
|
+
row.finish_reason === "end_turn");
|
|
153
184
|
}
|
|
154
|
-
else if (inferred ===
|
|
155
|
-
if (row.type ===
|
|
185
|
+
else if (inferred === "content-blocks") {
|
|
186
|
+
if (row.type === "system" && row.subtype === "init")
|
|
156
187
|
this.started = true;
|
|
157
|
-
if (row.type ===
|
|
158
|
-
this.terminal = row.subtype ===
|
|
188
|
+
if (row.type === "result") {
|
|
189
|
+
this.terminal = row.subtype === "success" && row.is_error === false;
|
|
159
190
|
return;
|
|
160
191
|
}
|
|
161
192
|
this.terminal = false;
|
|
162
|
-
if (row.type !==
|
|
193
|
+
if (row.type !== "assistant")
|
|
163
194
|
return;
|
|
164
195
|
const message = row.message;
|
|
165
196
|
if (!message || !Array.isArray(message.content)) {
|
|
@@ -167,35 +198,35 @@ export class TriggerObserver {
|
|
|
167
198
|
return;
|
|
168
199
|
}
|
|
169
200
|
for (const block of message.content) {
|
|
170
|
-
if (!block || typeof block !==
|
|
201
|
+
if (!block || typeof block !== "object") {
|
|
171
202
|
this.malformed();
|
|
172
203
|
continue;
|
|
173
204
|
}
|
|
174
|
-
if (![
|
|
205
|
+
if (!["text", "thinking", "redacted_thinking", "tool_use"].includes(block.type)) {
|
|
175
206
|
this.malformed();
|
|
176
207
|
continue;
|
|
177
208
|
}
|
|
178
|
-
if (block.type ===
|
|
209
|
+
if (block.type === "tool_use" && typeof block.name !== "string")
|
|
179
210
|
this.malformed();
|
|
180
|
-
if (block.type ===
|
|
211
|
+
if (block.type === "tool_use" && block.name === this.options.toolName)
|
|
181
212
|
this.skill(block.input, line);
|
|
182
213
|
}
|
|
183
214
|
}
|
|
184
215
|
else {
|
|
185
|
-
if (row.type ===
|
|
216
|
+
if (row.type === "thread.started")
|
|
186
217
|
this.started = true;
|
|
187
|
-
this.terminal = row.type ===
|
|
188
|
-
if (row.type !==
|
|
218
|
+
this.terminal = row.type === "turn.completed";
|
|
219
|
+
if (row.type !== "item.started" && row.type !== "item.completed")
|
|
189
220
|
return;
|
|
190
221
|
this.terminal = false;
|
|
191
222
|
const item = row.item;
|
|
192
|
-
if (!item || typeof item.type !==
|
|
223
|
+
if (!item || typeof item.type !== "string") {
|
|
193
224
|
this.malformed();
|
|
194
225
|
return;
|
|
195
226
|
}
|
|
196
|
-
if (item.type !==
|
|
227
|
+
if (item.type !== "command_execution")
|
|
197
228
|
return;
|
|
198
|
-
if (typeof item.command !==
|
|
229
|
+
if (typeof item.command !== "string") {
|
|
199
230
|
this.malformed();
|
|
200
231
|
return;
|
|
201
232
|
}
|
|
@@ -209,8 +240,16 @@ export class TriggerObserver {
|
|
|
209
240
|
}
|
|
210
241
|
}
|
|
211
242
|
finish(succeeded) {
|
|
212
|
-
const complete = succeeded &&
|
|
213
|
-
|
|
214
|
-
|
|
243
|
+
const complete = succeeded &&
|
|
244
|
+
!!this.shape &&
|
|
245
|
+
(this.shape === "flat-tool-call" || this.started) &&
|
|
246
|
+
this.terminal &&
|
|
247
|
+
!this.invalid;
|
|
248
|
+
return {
|
|
249
|
+
status: this.matched ? "observed" : complete ? "not-observed" : "unknown",
|
|
250
|
+
complete,
|
|
251
|
+
matchedIdentity: this.matched,
|
|
252
|
+
eventLines: [...new Set(this.lines)],
|
|
253
|
+
};
|
|
215
254
|
}
|
|
216
255
|
}
|