skillfit 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -7
- package/README.zh-CN.md +27 -7
- package/benches/README.md +2 -2
- package/dist/cli.js +146 -36
- package/dist/cli.test.js +94 -0
- package/dist/commands/bench-calibration.js +197 -0
- package/dist/commands/bench-calibration.test.js +237 -0
- package/dist/commands/bench-check-json.test.js +24 -3
- package/dist/commands/bench.js +69 -141
- package/dist/commands/calibration-cli.test.js +145 -0
- package/dist/commands/eval-agent-preflight.test.js +245 -0
- package/dist/commands/eval-cli.js +31 -0
- package/dist/commands/eval-component.js +59 -28
- package/dist/commands/eval-export-modes.test.js +350 -0
- package/dist/commands/eval-export.js +44 -10
- package/dist/commands/eval-export.test.js +165 -8
- package/dist/commands/eval-interruption.test.js +238 -0
- package/dist/commands/eval-plan.js +37 -0
- package/dist/commands/eval-preflight.js +61 -0
- package/dist/commands/eval-preflight.test.js +382 -0
- package/dist/commands/eval-report.js +60 -14
- package/dist/commands/eval-report.test.js +2 -2
- package/dist/commands/eval-single-arm-replay.js +21 -0
- package/dist/commands/eval-single-arm-report.js +223 -0
- package/dist/commands/eval.js +184 -112
- package/dist/commands/evaluation-report.js +5 -0
- package/dist/commands/evaluation-report.test.js +243 -0
- package/dist/commands/replay-cancellation.test.js +105 -0
- package/dist/commands/workflow-entrypoints.test.js +137 -0
- package/dist/harness/agent-preflight.js +180 -0
- package/dist/harness/bench.js +2 -1
- package/dist/harness/command.js +49 -0
- package/dist/harness/eval-audit.js +164 -17
- package/dist/harness/eval-budget.js +46 -2
- package/dist/harness/eval-budget.test.js +30 -3
- package/dist/harness/eval-component.test.js +169 -6
- package/dist/harness/eval-contract.js +11 -5
- package/dist/harness/executors/api.js +14 -4
- package/dist/harness/executors/api.test.js +61 -0
- package/dist/harness/executors/cli.js +24 -3
- package/dist/harness/experiment-session.js +77 -18
- package/dist/harness/experiment-session.test.js +51 -1
- package/dist/harness/input-snapshot.js +150 -0
- package/dist/harness/interruption.js +48 -0
- package/dist/harness/interruption.test.js +31 -0
- package/dist/harness/invocation-costs.js +72 -0
- package/dist/harness/judge-accounting.test.js +216 -0
- package/dist/harness/judge-audit.js +56 -0
- package/dist/harness/judge.js +86 -21
- package/dist/harness/replay-package.js +71 -5
- package/dist/harness/runner.js +92 -44
- package/dist/harness/runner.test.js +23 -0
- package/dist/harness/single-arm-audit.js +436 -0
- package/dist/harness/trigger.js +41 -7
- package/dist/harness/trigger.test.js +12 -0
- package/dist/harness/verifier-error.js +65 -0
- package/dist/harness/verifier.test.js +128 -0
- package/docs/bench-authoring.md +34 -9
- package/docs/bench-check-json.md +36 -6
- package/docs/eval-agent-preflight.md +101 -0
- package/docs/eval-case-preflight.md +115 -0
- package/docs/eval-component.md +65 -9
- package/docs/eval-costs.md +53 -0
- package/docs/eval-planning.md +153 -0
- package/docs/evaluation-input-snapshots.md +125 -0
- package/docs/evaluation-interruption.md +101 -0
- package/docs/evaluation-reports.md +143 -0
- package/docs/experiment-workflow.md +16 -2
- package/docs/first-real-eval.md +55 -5
- package/docs/growth-roadmap-2026-10.md +48 -11
- package/docs/metrics.md +71 -3
- package/docs/plans/2026-10-16-case-workflow-and-release.md +19 -0
- package/docs/plans/2026-10-17-workflow-foundations.md +64 -0
- package/docs/releases/0.10.0-ci-registry-install.json +140 -0
- package/docs/releases/0.10.0-feature-smoke.json +22 -0
- package/docs/releases/0.10.0-feature-smoke.mjs +62 -0
- package/docs/releases/0.10.0-signatures.txt +7 -0
- package/docs/releases/0.10.0-verification.json +76 -0
- package/docs/releases/0.10.0.md +44 -8
- package/docs/releases/0.10.1-ci-registry-install.json +70 -0
- package/docs/releases/0.10.1-feature-smoke.json +28 -0
- package/docs/releases/0.10.1-feature-smoke.mjs +95 -0
- package/docs/releases/0.10.1-local-registry-install.json +60 -0
- package/docs/releases/0.10.1-registry-metadata.json +33 -0
- package/docs/releases/0.10.1-signatures.txt +7 -0
- package/docs/releases/0.10.1-verification.json +90 -0
- package/docs/releases/0.10.1.md +71 -0
- package/docs/releases/0.11.0-feature-smoke.mjs +224 -0
- package/docs/releases/0.11.0.md +47 -0
- package/docs/replay-packages.md +52 -11
- package/docs/schemas/agent-preflight.schema.json +31 -0
- package/docs/schemas/calibration-plan.schema.json +22 -0
- package/docs/schemas/calibration-result.schema.json +17 -0
- package/docs/schemas/eval-preflight.schema.json +57 -0
- package/docs/schemas/eval-request.schema.json +1 -1
- package/docs/schemas/eval-result.schema.json +14 -1
- package/docs/schemas/invocation-costs.schema.json +31 -0
- package/docs/schemas/judge-call.schema.json +22 -0
- package/docs/schemas/single-arm-report.schema.json +20 -0
- package/docs/schemas/verifier-error.schema.json +11 -0
- package/docs/sharing-results.md +8 -2
- package/docs/verifier-contract.md +99 -0
- package/package.json +1 -1
- package/skills/skillfit/SKILL.md +41 -8
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "Skillfit calibration and trigger report version 1",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": ["schemaVersion", "kind", "evaluationType", "status", "runGroup", "summary", "evidence", "acceptance", "usage"],
|
|
6
|
+
"properties": {
|
|
7
|
+
"schemaVersion": { "const": 1 }, "kind": { "enum": ["skillfit.calibration-report", "skillfit.trigger-report"] },
|
|
8
|
+
"evaluationType": { "enum": ["calibration", "trigger"] },
|
|
9
|
+
"status": { "enum": ["completed", "stopped", "incomplete", "reported"] },
|
|
10
|
+
"runGroup": { "type": "string" }, "summary": { "type": ["object", "null"] },
|
|
11
|
+
"session": { "type": ["object", "null"] }, "usage": { "type": ["object", "null"] },
|
|
12
|
+
"evidence": { "type": "object", "required": ["verified", "scope", "reasons"] },
|
|
13
|
+
"agentPreflight": { "anyOf": [{ "$ref": "agent-preflight.schema.json" }, { "type": "null" }] },
|
|
14
|
+
"acceptance": { "type": "object", "required": ["decision", "eligibleForUpgrade", "automaticUpgrade"],
|
|
15
|
+
"properties": { "decision": { "const": "inconclusive" }, "eligibleForUpgrade": { "const": false }, "automaticUpgrade": { "const": false } } }
|
|
16
|
+
},
|
|
17
|
+
"allOf": [
|
|
18
|
+
{ "if": { "properties": { "evaluationType": { "const": "calibration" } } }, "then": { "properties": { "kind": { "const": "skillfit.calibration-report" } } }, "else": { "properties": { "kind": { "const": "skillfit.trigger-report" } } } }
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "Skillfit verifier infrastructure error version 1",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": ["schemaVersion", "kind", "message"],
|
|
6
|
+
"properties": {
|
|
7
|
+
"schemaVersion": { "const": 1 },
|
|
8
|
+
"kind": { "const": "skillfit.verifier-error" },
|
|
9
|
+
"message": { "type": "string", "minLength": 1, "pattern": "\\S" }
|
|
10
|
+
}
|
|
11
|
+
}
|
package/docs/sharing-results.md
CHANGED
|
@@ -5,6 +5,9 @@ For a complete portable directory of a paired native run without a judge, use
|
|
|
5
5
|
The [portable package guide](replay-packages.md) covers checksums, matching source
|
|
6
6
|
recovery, offline replay, stopped costs and review of private project contents.
|
|
7
7
|
The Markdown report below is a shorter summary, without the full replay inputs.
|
|
8
|
+
Version 0.11.0 also reads calibration and trigger summaries with separate
|
|
9
|
+
states/metrics and JSON kinds; see [report types](evaluation-reports.md#calibration-and-trigger-reports-source-after-npm-0101).
|
|
10
|
+
They are descriptive single-arm reports and do not enable paired portable exports.
|
|
8
11
|
|
|
9
12
|
Try a clearly synthetic schema-v4 example first:
|
|
10
13
|
|
|
@@ -12,8 +15,11 @@ Try a clearly synthetic schema-v4 example first:
|
|
|
12
15
|
node dist/cli.js report eval docs/examples/eval-manifest.synthetic.json
|
|
13
16
|
```
|
|
14
17
|
|
|
15
|
-
After a paired `skillfit eval` run, replace the example path with
|
|
16
|
-
|
|
18
|
+
After a paired `skillfit eval` run, replace the example path with its native run
|
|
19
|
+
directory or the printed `Manifest:` path. Since 0.10.1, Markdown and JSON accept
|
|
20
|
+
the same manifest/run/package inputs and show audit and acceptance reasons.
|
|
21
|
+
Stopped/incomplete runs show retained costs without inventing a completed quality
|
|
22
|
+
comparison. See [report inputs and states](evaluation-reports.md). This command is read-only: it does not call an agent,
|
|
17
23
|
rerun a verifier, change the manifest, or alter the verdict. Paste its output into a pull request or
|
|
18
24
|
issue. The JSON manifest remains the canonical record; attach it when you want someone else to audit
|
|
19
25
|
the task-level outcomes and provenance. The Markdown includes target and bench hashes, the executor,
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Verifier commands and infrastructure errors
|
|
2
|
+
|
|
3
|
+
Version 0.11.0 fixes quoted command arguments and separates recognized
|
|
4
|
+
grader infrastructure errors from normal task failures. Build the current
|
|
5
|
+
checkout to use these changes. The bench format remains schema version 1.
|
|
6
|
+
|
|
7
|
+
## Commands with spaces
|
|
8
|
+
|
|
9
|
+
`verifier` and `oracle` use the same shell-free argument parser in bench loading,
|
|
10
|
+
offline probes, evaluation, calibration, trigger trials and replay. For example:
|
|
11
|
+
|
|
12
|
+
```json
|
|
13
|
+
{
|
|
14
|
+
"verifier": "node \"verifiers/check answer.mjs\" \"two words\"",
|
|
15
|
+
"oracle": "node 'ground-truth/repair answer.mjs'"
|
|
16
|
+
}
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Single/double quotes group arguments and are removed before spawning. Empty
|
|
20
|
+
quoted arguments are preserved. Outside quotes, a backslash can escape whitespace
|
|
21
|
+
or a quote; inside double quotes it can escape a double quote. Other backslashes,
|
|
22
|
+
including Windows drive/UNC separators, are preserved. Single quotes preserve all
|
|
23
|
+
backslashes literally; use them for a Windows directory ending in a backslash.
|
|
24
|
+
Adjacent quoted/unquoted fragments form one argument. Unclosed quotes, NULs and
|
|
25
|
+
empty executables fail before spawning. Quoted relative file paths retain the
|
|
26
|
+
same bench-boundary checks; quoting cannot permit `../` traversal.
|
|
27
|
+
|
|
28
|
+
The first argument is an executable name or a relative path inside the bench;
|
|
29
|
+
file-bearing tokens retain the existing relative-path validation. The harness appends the absolute
|
|
30
|
+
trial directory as one final argument and sets the bench root as working directory.
|
|
31
|
+
It performs no shell expansion: `$VAR`, command substitutions, pipes and control
|
|
32
|
+
operators are literal arguments. Use the existing generated `--verifier-cmd`
|
|
33
|
+
wrapper when shell behavior is deliberately needed; read trusted bench code
|
|
34
|
+
before executing it. This parser does not make untrusted verifiers safe.
|
|
35
|
+
|
|
36
|
+
## A failure is a grade; an infrastructure error is not
|
|
37
|
+
|
|
38
|
+
For a functioning verifier, exit 0 means pass and a nonzero exit means task
|
|
39
|
+
failure. JSON `passed`/named checks remain informational/graded signals; they do
|
|
40
|
+
not override that exit-code authority. Legacy exit-only graders and assertion/
|
|
41
|
+
test-suite failures retain this behavior.
|
|
42
|
+
|
|
43
|
+
The shared runner additionally recognizes these infrastructure errors:
|
|
44
|
+
|
|
45
|
+
| Diagnostic | Meaning |
|
|
46
|
+
| --- | --- |
|
|
47
|
+
| `VERIFIER_COMMAND_ERROR` | Command tokenization failed before execution |
|
|
48
|
+
| `VERIFIER_RUNTIME_ERROR` | Direct Node uncaught load/syntax/runtime exception attributable to bench code |
|
|
49
|
+
| `VERIFIER_REPORTED_ERROR` | The verifier explicitly reported an infrastructure failure |
|
|
50
|
+
| `VERIFIER_PROTOCOL_ERROR` | An explicit infrastructure-error message was malformed |
|
|
51
|
+
| Existing process errors | Cannot spawn, missing exit code, timeout, interruption or output overflow |
|
|
52
|
+
|
|
53
|
+
Automatic Node classification is conservative: it needs an uncaught Node
|
|
54
|
+
diagnostic and a bench-owned source/import/stack location. A candidate workspace
|
|
55
|
+
load/syntax/runtime failure remains a task failure. Assertion failures and a
|
|
56
|
+
wrapper's final normal JSON grade of a child failure are also preserved. A
|
|
57
|
+
summary printed before an uncaught grader exception cannot hide that exception.
|
|
58
|
+
Available process exit codes and raw output are retained even for errors.
|
|
59
|
+
|
|
60
|
+
An arbitrary nonzero exit cannot reliably identify whether any custom runtime
|
|
61
|
+
failed to grade or graded an incorrect solution. For other runtimes, caught
|
|
62
|
+
exceptions or ambiguous diagnostics, report infrastructure errors explicitly:
|
|
63
|
+
|
|
64
|
+
```json
|
|
65
|
+
{"schemaVersion":1,"kind":"skillfit.verifier-error","message":"Required grader tool could not be started."}
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Print this as its own JSON line. `message` must contain non-whitespace text; see
|
|
69
|
+
the [schema](schemas/verifier-error.schema.json). This declaration makes the
|
|
70
|
+
result an error regardless of its exit code or other summaries. Existing normal
|
|
71
|
+
summaries such as `{"passed":false,"error":"missing _output.md"}` keep their
|
|
72
|
+
legacy meaning. Catch candidate failures and emit a normal verdict; reserve the
|
|
73
|
+
explicit error message for failures of the grader/environment itself. Generated
|
|
74
|
+
shell-command wrappers now report their own spawn/signal/missing-status errors
|
|
75
|
+
through this channel; they still forward ordinary command exit codes.
|
|
76
|
+
|
|
77
|
+
## Effect on checks, costs and replay
|
|
78
|
+
|
|
79
|
+
An infrastructure error fails the relevant offline gate, including original,
|
|
80
|
+
missing/empty-output, mock and oracle probes. It cannot satisfy a NOP gate just
|
|
81
|
+
by exiting nonzero. Live case preflight blocks calls even without an oracle;
|
|
82
|
+
absence of an oracle remains a separate unknown, not an automatic failure.
|
|
83
|
+
`bench check --json` retains `evidence.error`, raw output and the real numeric
|
|
84
|
+
`exitCode` when available, plus the existing gate code and remediation.
|
|
85
|
+
|
|
86
|
+
After an invoked evaluation, grader errors set the trial's `error`, leave its
|
|
87
|
+
grade/checks unavailable and exclude its entire pair from quality statistics.
|
|
88
|
+
Trigger errors likewise stay out of trigger rates. Agent tokens, final/partial/
|
|
89
|
+
unknown coverage, output and elapsed spending remain in invocation receipts and
|
|
90
|
+
all-invocation accounting. Existing spending guards stop further budgeted calls
|
|
91
|
+
on such an error. Normal graded failures still count toward rates and costs.
|
|
92
|
+
The paired statistics, acceptance thresholds and adoption restrictions do not
|
|
93
|
+
change.
|
|
94
|
+
|
|
95
|
+
Current offline replay rejects a verifier infrastructure error even if its exit
|
|
96
|
+
code matches a saved task failure. It does not rewrite original receipts or
|
|
97
|
+
backfill historical grades. Portable packages retain their pinned compiled
|
|
98
|
+
implementation and its original interpretation; record which implementation
|
|
99
|
+
was used when comparing a current audit with an older package.
|
package/package.json
CHANGED
package/skills/skillfit/SKILL.md
CHANGED
|
@@ -10,8 +10,11 @@ truth for all numbers; your job is to pick the right command, run it, and interp
|
|
|
10
10
|
|
|
11
11
|
## Prerequisites
|
|
12
12
|
|
|
13
|
-
Check availability with `npx skillfit@0.
|
|
13
|
+
Check availability with `npx skillfit@0.11.0 --version`, or `node dist/cli.js --version` inside a clone.
|
|
14
14
|
If neither works, tell the user to install from https://github.com/remote-controlled-man/skillfit and stop.
|
|
15
|
+
The complete planning, calibration, judge-cost and replay workflow below requires
|
|
16
|
+
0.11.0 or newer. Use a built checkout while that version awaits registry availability;
|
|
17
|
+
the immutable npm 0.10.1 package does not contain these additions.
|
|
15
18
|
|
|
16
19
|
## Which command for which question
|
|
17
20
|
|
|
@@ -19,31 +22,49 @@ If neither works, tell the user to install from https://github.com/remote-contro
|
|
|
19
22
|
|---|---|
|
|
20
23
|
| "我的 skill 有没有被用到 / are my skills used at all" | `skillfit report` — read-only, free, instant; start here |
|
|
21
24
|
| "这个配置健不健康" | `skillfit doctor` — read-only |
|
|
22
|
-
| "这个 skill 值不值得装 / does this skill help" | `skillfit eval <skill-path> --bench <bench> --agent <id> --trials 3
|
|
25
|
+
| "这个 skill 值不值得装 / does this skill help" | Preview `skillfit eval <skill-path> --bench <bench> --agent <id> --trials 3 --dry-run`, then run within authorized spending |
|
|
23
26
|
| "新版 Skill 是否值得采用 / evaluate a candidate for a Skill evolution workflow" | With npm 0.9.0 or a current checkout, use `eval --request <request.json> --dry-run`; read the [component contract](https://github.com/remote-controlled-man/skillfit/blob/main/docs/eval-component.md) for inputs and acceptance policy |
|
|
24
27
|
| "agent 自己想不想得起用它 / does it trigger" | same + `--mode trigger`. Add `--compete-installed` to copy other user Skills; otherwise recall is an upper bound. Codex counts a `SKILL.md` read |
|
|
25
28
|
| "这个 MCP 能不能连上 / is this MCP catalog valid" | `skillfit mcp check <probe.json>` — read-only discovery; calls no tools |
|
|
26
|
-
| "这个 MCP / AGENTS.md 真的有帮助吗" | `skillfit eval <experiment-dir> --bench <bench> --agent <id> --trials 3`; follow the [configuration experiment guide](https://github.com/remote-controlled-man/skillfit/blob/main/docs/config-experiments.md) |
|
|
29
|
+
| "这个 MCP / AGENTS.md 真的有帮助吗" | Preview `skillfit eval <experiment-dir> --bench <bench> --agent <id> --trials 3 --dry-run`; follow the [configuration experiment guide](https://github.com/remote-controlled-man/skillfit/blob/main/docs/config-experiments.md) |
|
|
27
30
|
| "建一个 bench" | `skillfit bench init [dir]` then `skillfit bench check [dir]` |
|
|
28
31
|
| "做代码修改 case" | `bench init <dir> --kind command --dry-run`, then apply within the authorized scope; replace the teaching case with the real fixture, prompt, verifier and oracle |
|
|
29
|
-
| "给 Agent 看 case 校验失败原因" | `bench check <dir> --json` — offline gate IDs, evidence and remediation;
|
|
32
|
+
| "给 Agent 看 case 校验失败原因" | `bench check <dir> --json` — offline gate IDs, evidence and remediation; this is the integrity result, not calibration |
|
|
33
|
+
| "先测 case 难度" | Version 0.11.0: `bench check <dir> --calibrate --agent <id> --task <id> --trials 1 --max-calls 1 --run-group <fresh-name> --json --dry-run`; calibrate only within authorized spending |
|
|
30
34
|
| "查看或管理 case" | `bench list <dir> --json`, `bench show <dir> <id> --json`; preview `bench edit <dir> <id> --set field=value --json` or `bench remove <dir> <id> --json` |
|
|
31
|
-
| "只测几个 case" | Repeat `eval --task <id>` or set request `taskIds`; preview the selected budget and keep validation independent |
|
|
35
|
+
| "只测几个 case" | Repeat `eval --task <id>` or set request `taskIds`; source also supports task selection for calibration/trigger; preview the selected budget and keep validation independent |
|
|
32
36
|
| "把结果交给另一台机器复现" | Preview `report eval <run-dir> --export <new-dir> --json`, then apply within the authorized scope; read the [portable package contract](https://github.com/remote-controlled-man/skillfit/blob/main/docs/replay-packages.md) for matching inputs, stopped costs and sharing review |
|
|
33
37
|
| "把这次翻车存成任务" | `skillfit bench add <bench> --freeze --task <id> --prompt "..." --verifier-cmd "<cmd>"` |
|
|
34
38
|
| "帮我起草 verifier" | same but `--decompose --agent <id>` — an agent drafts verifier + oracle; admitted only if the NOP + oracle gates pass |
|
|
35
39
|
|
|
36
40
|
Executor choice: `--agent kimi-code` or `--agent codex` drives the local CLI (no API key needed).
|
|
37
|
-
|
|
41
|
+
It uses that CLI's authentication; offline preflight cannot confirm login.
|
|
42
|
+
Without `--agent`, paired eval needs `SKILLFIT_API_KEY`/`OPENAI_API_KEY`. Trigger mode currently verified for
|
|
38
43
|
kimi-code and codex only.
|
|
39
44
|
|
|
40
45
|
## Spend discipline
|
|
41
46
|
|
|
42
|
-
Real eval runs cost tokens and time. Before any non-dry-run
|
|
47
|
+
Real eval and calibration runs cost tokens and time. Before any non-dry-run run:
|
|
43
48
|
|
|
44
49
|
1. Run with `--dry-run` and show planned calls (selected tasks × trials × conditions, plus enabled judges).
|
|
45
50
|
2. State the call ceiling and known cost limits. Continue within existing spending authorization; ask only when the proposed run exceeds it or spending has not been authorized.
|
|
46
51
|
|
|
52
|
+
Version 0.11.0 supports JSON preview/confirmation, fixed task selection,
|
|
53
|
+
five-field spending limits and executor timeouts for ordinary eval, trigger and
|
|
54
|
+
calibration. JSON execution needs the same explicit fresh `--run-group` and
|
|
55
|
+
exact preview hash: `plan.sha256` for eval, `plan.planSha256` for calibration.
|
|
56
|
+
Dry previews execute no verifier/oracle/agent. Inspect the environment's nested
|
|
57
|
+
`status`: a generated `planned` result can still be blocked by a missing CLI.
|
|
58
|
+
Login always remains offline unknown. Live calibration/eval block hard case or
|
|
59
|
+
environment failures; warnings and unknown evidence are not interchangeable.
|
|
60
|
+
See [shared planning](https://github.com/remote-controlled-man/skillfit/blob/main/docs/eval-planning.md).
|
|
61
|
+
|
|
62
|
+
Calibration has one no-Skill baseline arm and defaults to two trials; trigger
|
|
63
|
+
has one installed arm, defaults to five and skips unlabeled selected tasks.
|
|
64
|
+
Retain positive and negative labels for trigger measurement. Trigger already
|
|
65
|
+
uses on-disk files; omit `--input`, paired order and judge options. A small
|
|
66
|
+
development mechanism check cannot become independent validation by renaming it.
|
|
67
|
+
|
|
47
68
|
## Interpretation discipline (do not skip)
|
|
48
69
|
|
|
49
70
|
For request-based eval, review the JSON plan and its call ceiling, then execute with
|
|
@@ -65,6 +86,12 @@ Missing usage or an incomplete batch cannot authorize adoption under either obje
|
|
|
65
86
|
Optional request `spendingBudget` (0.10.0+) sets five whole-batch stop lines;
|
|
66
87
|
reaching a line or losing complete final usage stops subsequent calls. An in-flight
|
|
67
88
|
call can overshoot; do not treat it as a provider hard cap or retry permission.
|
|
89
|
+
In version 0.11.0, those stops include optional ordinary-eval judge calls.
|
|
90
|
+
Read separate Agent/judge/total `invocationCosts` and coverage; older missing
|
|
91
|
+
judge receipts remain unknown. An explicitly enabled API judge without
|
|
92
|
+
credentials fails instead of silently disabling judging. Ctrl+C/SIGTERM stop
|
|
93
|
+
managed work and retain records; do not retry, replace or expand stopped calls
|
|
94
|
+
without a fresh authorized plan.
|
|
68
95
|
|
|
69
96
|
- Read the verdict line, the discordant-pair counts, and the CI — not just the delta. `inconclusive` means
|
|
70
97
|
the run cannot tell, not that the skill is useless.
|
|
@@ -73,7 +100,13 @@ call can overshoot; do not treat it as a provider hard cap or retry permission.
|
|
|
73
100
|
0pp delta as a finding.
|
|
74
101
|
- Trigger mode: report recall and false-trigger rate separately, with their CIs. A skill that never fires
|
|
75
102
|
has zero realized value regardless of content quality.
|
|
76
|
-
-
|
|
103
|
+
- Cite the actual native run and summary path: paired/trigger `manifest.json`,
|
|
104
|
+
calibration `_calibration.json`, or retained session/receipts for a stopped run.
|
|
105
|
+
- Source supports native audit, offline delivery replay and portable export for
|
|
106
|
+
supported sealed calibration/trigger and new judge runs. Historical standalone
|
|
107
|
+
summaries stay unverified; missing receipts/runtime support cannot be fabricated.
|
|
108
|
+
Replay preserves observations and cannot authorize single-arm adoption or prove
|
|
109
|
+
independent validation. Paired `--policy`/`--records` do not apply to single-arm reports.
|
|
77
110
|
- Full metric definitions: `docs/metrics.md` in the skillfit repo.
|
|
78
111
|
|
|
79
112
|
## Safety
|