skillfit 0.10.1 → 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 +18 -6
- package/README.zh-CN.md +18 -6
- package/benches/README.md +2 -2
- package/dist/cli.js +132 -28
- 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 +63 -143
- 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 +52 -28
- package/dist/commands/eval-export-modes.test.js +350 -0
- package/dist/commands/eval-export.js +12 -4
- package/dist/commands/eval-plan.js +37 -0
- package/dist/commands/eval-preflight.test.js +144 -1
- package/dist/commands/eval-report.js +18 -3
- 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 +106 -56
- 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 +161 -16
- package/dist/harness/eval-budget.js +46 -2
- package/dist/harness/eval-budget.test.js +26 -1
- package/dist/harness/eval-component.test.js +163 -0
- package/dist/harness/eval-contract.js +11 -5
- package/dist/harness/executors/api.js +4 -3
- package/dist/harness/executors/api.test.js +18 -0
- package/dist/harness/experiment-session.js +18 -10
- package/dist/harness/experiment-session.test.js +8 -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 +40 -30
- package/dist/harness/runner.test.js +23 -0
- package/dist/harness/single-arm-audit.js +436 -0
- package/dist/harness/trigger.js +21 -3
- 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 +28 -5
- package/docs/eval-agent-preflight.md +101 -0
- package/docs/eval-case-preflight.md +5 -0
- package/docs/eval-component.md +38 -10
- package/docs/eval-costs.md +44 -0
- package/docs/eval-planning.md +153 -0
- package/docs/evaluation-input-snapshots.md +2 -1
- package/docs/evaluation-interruption.md +22 -10
- package/docs/evaluation-reports.md +97 -3
- package/docs/experiment-workflow.md +7 -0
- package/docs/first-real-eval.md +50 -3
- package/docs/growth-roadmap-2026-10.md +41 -9
- package/docs/metrics.md +40 -3
- package/docs/plans/2026-10-17-workflow-foundations.md +64 -0
- 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-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 +37 -4
- 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 +38 -6
- 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-request.schema.json +1 -1
- package/docs/schemas/eval-result.schema.json +3 -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 +3 -0
- package/docs/verifier-contract.md +99 -0
- package/package.json +1 -1
- package/skills/skillfit/SKILL.md +41 -8
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import assert from 'node:assert/strict';
|
|
2
|
+
import { mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
|
|
3
|
+
import { tmpdir } from 'node:os';
|
|
4
|
+
import { join } from 'node:path';
|
|
5
|
+
import { test } from 'node:test';
|
|
6
|
+
import { parseCommand } from './command.js';
|
|
7
|
+
import { runVerifier } from './runner.js';
|
|
8
|
+
import { loadBench } from './bench.js';
|
|
9
|
+
function fixture(t) {
|
|
10
|
+
const root = mkdtempSync(join(tmpdir(), 'skillfit-verifier-'));
|
|
11
|
+
t.after(() => rmSync(root, { recursive: true, force: true }));
|
|
12
|
+
const bench = join(root, 'bench with spaces'), run = join(root, 'trial with spaces');
|
|
13
|
+
mkdirSync(bench);
|
|
14
|
+
mkdirSync(run);
|
|
15
|
+
const script = join(bench, 'check answer.mjs');
|
|
16
|
+
return { root, bench, run, script };
|
|
17
|
+
}
|
|
18
|
+
test('shell-free commands preserve quoted/empty arguments and Windows paths without expansion', () => {
|
|
19
|
+
const cases = [
|
|
20
|
+
['node "check answer.mjs" \'two words\' ""', ['node', 'check answer.mjs', 'two words', '']],
|
|
21
|
+
['node one\\ word.mjs "a\\\"b"', ['node', 'one word.mjs', 'a"b']],
|
|
22
|
+
[String.raw `"C:\Program Files\node.exe" 'C:\bench dir\check.mjs' \\server\share\check.mjs`,
|
|
23
|
+
['C:\\Program Files\\node.exe', 'C:\\bench dir\\check.mjs', '\\\\server\\share\\check.mjs']],
|
|
24
|
+
['node prefix"two words"suffix "$VAR" "$(echo bad)" ";" "|"', ['node', 'prefixtwo wordssuffix', '$VAR', '$(echo bad)', ';', '|']],
|
|
25
|
+
];
|
|
26
|
+
for (const [source, expected] of cases)
|
|
27
|
+
assert.deepEqual(parseCommand(source), expected);
|
|
28
|
+
for (const invalid of ['', ' ', '"" script', 'node "unfinished', "node 'unfinished", 'node a\0b'])
|
|
29
|
+
assert.throws(() => parseCommand(invalid), /Command/);
|
|
30
|
+
});
|
|
31
|
+
test('bench loading and execution agree on quoted script paths and arguments', async (t) => {
|
|
32
|
+
const f = fixture(t);
|
|
33
|
+
writeFileSync(f.script, "console.log(JSON.stringify({passed:true,args:process.argv.slice(2,-1)}));\n");
|
|
34
|
+
const command = 'node "check answer.mjs" "two words" ""';
|
|
35
|
+
writeFileSync(join(f.bench, 'prompt.md'), 'Inspect the answer.');
|
|
36
|
+
mkdirSync(join(f.bench, 'fixture'));
|
|
37
|
+
writeFileSync(join(f.bench, 'bench.json'), JSON.stringify({ schemaVersion: 1, tasks: [{ id: 't', fixture: 'fixture', prompt: 'prompt.md', verifier: command }] }));
|
|
38
|
+
assert.equal(loadBench(f.bench).tasks[0].verifier, command);
|
|
39
|
+
const result = await runVerifier(f.bench, command, f.run);
|
|
40
|
+
assert.equal(result.exitCode, 0, result.output);
|
|
41
|
+
assert.equal(result.error, null);
|
|
42
|
+
assert.deepEqual(JSON.parse(result.output).args, ['two words', '']);
|
|
43
|
+
for (const quote of ['"', "'"]) {
|
|
44
|
+
const absolute = await runVerifier(f.bench, `${quote}${process.execPath}${quote} ${quote}check answer.mjs${quote}`, f.run);
|
|
45
|
+
assert.equal(absolute.exitCode, 0, absolute.output);
|
|
46
|
+
assert.equal(absolute.error, null);
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
test('malformed quoting fails without executing the verifier and quoted traversal stays rejected', async (t) => {
|
|
50
|
+
const f = fixture(t), sentinel = join(f.run, 'called');
|
|
51
|
+
writeFileSync(f.script, `import{writeFileSync}from'node:fs';writeFileSync(${JSON.stringify(sentinel)},'called');`);
|
|
52
|
+
const result = await runVerifier(f.bench, 'node "check answer.mjs', f.run);
|
|
53
|
+
assert.equal(result.exitCode, null);
|
|
54
|
+
assert.match(result.error, /VERIFIER_COMMAND_ERROR/);
|
|
55
|
+
assert.throws(() => readFileSync(sentinel));
|
|
56
|
+
writeFileSync(join(f.bench, 'prompt.md'), 'Inspect.');
|
|
57
|
+
mkdirSync(join(f.bench, 'fixture'));
|
|
58
|
+
for (const verifier of ['node "../outside dir/check.mjs"', '"../outside dir/node" script', 'node "check answer.mjs']) {
|
|
59
|
+
writeFileSync(join(f.bench, 'bench.json'), JSON.stringify({ schemaVersion: 1, tasks: [{ id: 't', fixture: 'fixture', prompt: 'prompt.md', verifier }] }));
|
|
60
|
+
assert.throws(() => loadBench(f.bench), /relative path inside|unterminated quote/);
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
for (const [name, source] of [
|
|
64
|
+
['missing entry', null], ['missing grader dependency', "import './absent.mjs';"],
|
|
65
|
+
['syntax', 'const broken = ;'], ['reference', 'missingGraderFunction();'],
|
|
66
|
+
['type', 'null.check();'], ['uncaught error', "throw new Error('broken grader');"],
|
|
67
|
+
['error after summary', "console.log(JSON.stringify({passed:true}));throw new Error('after summary');"],
|
|
68
|
+
])
|
|
69
|
+
test(`a direct Node verifier ${name} is an infrastructure error with its real exit code retained`, async (t) => {
|
|
70
|
+
const f = fixture(t);
|
|
71
|
+
if (source !== null)
|
|
72
|
+
writeFileSync(f.script, source);
|
|
73
|
+
const result = await runVerifier(f.bench, 'node "check answer.mjs"', f.run);
|
|
74
|
+
assert.notEqual(result.exitCode, 0);
|
|
75
|
+
assert.notEqual(result.exitCode, null);
|
|
76
|
+
assert.match(result.error, /VERIFIER_RUNTIME_ERROR/);
|
|
77
|
+
assert.match(result.output, /Error/);
|
|
78
|
+
});
|
|
79
|
+
for (const [name, source] of [
|
|
80
|
+
['plain exit one', 'process.exit(1);'], ['legacy exit seven', 'process.exit(7);'],
|
|
81
|
+
['normal JSON failure', "console.log(JSON.stringify({passed:false,error:'missing _output.md'}));process.exit(1);"],
|
|
82
|
+
['assertion failure', "import assert from 'node:assert/strict';assert.equal(1,2);"],
|
|
83
|
+
['TAP assertion failure', null],
|
|
84
|
+
])
|
|
85
|
+
test(`${name} remains a graded failure`, async (t) => {
|
|
86
|
+
const f = fixture(t);
|
|
87
|
+
if (source === null)
|
|
88
|
+
writeFileSync(join(f.bench, 'test.mjs'), "import{test}from'node:test';import assert from'node:assert/strict';test('incorrect answer',()=>assert.equal(1,2));");
|
|
89
|
+
writeFileSync(f.script, source ?? "import{spawnSync}from'node:child_process';const result=spawnSync(process.execPath,['--test','test.mjs'],{encoding:'utf8'});process.stdout.write(result.stdout);process.stderr.write(result.stderr);process.exit(result.status);");
|
|
90
|
+
const result = await runVerifier(f.bench, 'node "check answer.mjs"', f.run);
|
|
91
|
+
assert.notEqual(result.exitCode, 0);
|
|
92
|
+
assert.equal(result.error, null, result.output);
|
|
93
|
+
});
|
|
94
|
+
for (const [name, source] of [['syntax', 'const broken = ;'], ['type', 'null.check();'], ['import', "import './missing.mjs';"]]) {
|
|
95
|
+
test(`a ${name} error in the candidate workspace remains a graded failure`, async (t) => {
|
|
96
|
+
const f = fixture(t);
|
|
97
|
+
writeFileSync(join(f.run, 'candidate.mjs'), source);
|
|
98
|
+
writeFileSync(f.script, "import{join}from'node:path';import{pathToFileURL}from'node:url';await import(pathToFileURL(join(process.argv[2],'candidate.mjs')).href);");
|
|
99
|
+
const result = await runVerifier(f.bench, 'node "check answer.mjs"', f.run);
|
|
100
|
+
assert.equal(result.exitCode, 1);
|
|
101
|
+
assert.equal(result.error, null, result.output);
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
test('a wrapper can grade a child exception without that exception overriding its final verdict', async (t) => {
|
|
105
|
+
const f = fixture(t);
|
|
106
|
+
writeFileSync(join(f.bench, 'child.mjs'), "throw new Error('a deliberately graded child crash');");
|
|
107
|
+
writeFileSync(f.script, "import{spawnSync}from'node:child_process';const child=spawnSync(process.execPath,['child.mjs'],{encoding:'utf8'});process.stdout.write(child.stderr);console.log(JSON.stringify({passed:false}));process.exit(1);");
|
|
108
|
+
const result = await runVerifier(f.bench, 'node "check answer.mjs"', f.run);
|
|
109
|
+
assert.equal(result.exitCode, 1);
|
|
110
|
+
assert.equal(result.error, null, result.output);
|
|
111
|
+
});
|
|
112
|
+
test('mentioning the candidate directory in a grader exception does not change its stack ownership', async (t) => {
|
|
113
|
+
const f = fixture(t);
|
|
114
|
+
writeFileSync(f.script, "throw new Error('Unable to grade '+process.argv[2]);");
|
|
115
|
+
const result = await runVerifier(f.bench, 'node "check answer.mjs"', f.run);
|
|
116
|
+
assert.match(result.error, /VERIFIER_RUNTIME_ERROR/);
|
|
117
|
+
});
|
|
118
|
+
test('explicit verifier errors override any exit/summary while malformed error messages cannot become grades', async (t) => {
|
|
119
|
+
const f = fixture(t);
|
|
120
|
+
for (const code of [0, 1, 7]) {
|
|
121
|
+
writeFileSync(f.script, `console.log(JSON.stringify({passed:true}));console.log(JSON.stringify({schemaVersion:1,kind:'skillfit.verifier-error',message:'toolchain unavailable'}));process.exit(${code});`);
|
|
122
|
+
const result = await runVerifier(f.bench, 'node "check answer.mjs"', f.run);
|
|
123
|
+
assert.equal(result.exitCode, code);
|
|
124
|
+
assert.match(result.error, /VERIFIER_REPORTED_ERROR: toolchain unavailable/);
|
|
125
|
+
}
|
|
126
|
+
writeFileSync(f.script, "console.log(JSON.stringify({kind:'skillfit.verifier-error'}));");
|
|
127
|
+
assert.match((await runVerifier(f.bench, 'node "check answer.mjs"', f.run)).error, /VERIFIER_PROTOCOL_ERROR/);
|
|
128
|
+
});
|
package/docs/bench-authoring.md
CHANGED
|
@@ -43,7 +43,8 @@ After creating a bench, use `bench list/show` to inspect registrations and
|
|
|
43
43
|
`bench edit/remove` to preview changes. Applying with `--yes` backs up and validates
|
|
44
44
|
the manifest; removal preserves task files and cannot empty a schema-1 bench.
|
|
45
45
|
For a small development preview, select cases with repeated `eval --task <id>` or
|
|
46
|
-
request `taskIds`.
|
|
46
|
+
request `taskIds`. Version 0.11.0 also supports repeated `--task` for
|
|
47
|
+
baseline calibration and trigger plans. Keep independent validation tasks separate and preserve the
|
|
47
48
|
sample-size requirements. See [case management](case-management.md).
|
|
48
49
|
|
|
49
50
|
A bench is a folder of small tasks your agent has already failed at, plus a program that decides —
|
|
@@ -203,6 +204,14 @@ bench defect, never as the agent failing.
|
|
|
203
204
|
> node runs, and *it* runs your command under a shell inside. Keep that string out of third-party
|
|
204
205
|
> benches you did not read — see `SECURITY.md`.
|
|
205
206
|
|
|
207
|
+
Version 0.11.0 supports single/double-quoted script paths and arguments,
|
|
208
|
+
including spaces, without enabling a shell. The same parser is used by loading,
|
|
209
|
+
probes, live grading and replay. Grader load/runtime errors are separate from
|
|
210
|
+
normal task failures and cannot satisfy the NOP gate. Use the explicit
|
|
211
|
+
`skillfit.verifier-error` message for custom-runtime infrastructure errors;
|
|
212
|
+
ordinary assertions/nonzero verdicts remain failures. See the [complete command
|
|
213
|
+
and error contract](verifier-contract.md).
|
|
214
|
+
|
|
206
215
|
### 4. Or mine it from git history
|
|
207
216
|
|
|
208
217
|
**Do this.** If the failure was already fixed in a commit, you do not have to write anything:
|
|
@@ -314,16 +323,23 @@ visible offline.
|
|
|
314
323
|
|
|
315
324
|
### 7. Rehearse before you pay
|
|
316
325
|
|
|
317
|
-
|
|
326
|
+
Start with an offline check and read-only previews. In version 0.11.0,
|
|
327
|
+
the calibration preview also runs no verifier, oracle or agent:
|
|
318
328
|
|
|
319
329
|
```bash
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
skillfit eval <skill-path> --bench my-bench --agent <id> --trials 5
|
|
330
|
+
node dist/cli.js bench check my-bench --json
|
|
331
|
+
node dist/cli.js bench check my-bench --calibrate --agent <id> --task <task-id> --trials 1 --max-calls 1 --run-group calibration-001 --json --dry-run
|
|
332
|
+
node dist/cli.js eval <skill-path> --bench my-bench --agent <id> --trials 5 --run-group comparison-001 --json --dry-run
|
|
324
333
|
```
|
|
325
334
|
|
|
326
|
-
|
|
335
|
+
After spending is authorized, rerun the appropriate preview command with
|
|
336
|
+
`--dry-run` removed and `--plan-sha` added: calibration uses `plan.planSha256`,
|
|
337
|
+
eval uses `plan.sha256`. Keep the same declared group/settings and choose actual
|
|
338
|
+
registered task IDs. Both accept call ceilings, spending lines and per-call
|
|
339
|
+
deadlines. See [planning](eval-planning.md); a one-task development check is not
|
|
340
|
+
independent validation or evidence of general benefit.
|
|
341
|
+
|
|
342
|
+
`bench check` answers "is this bench well-formed". Live `--calibrate` answers "is it the right
|
|
327
343
|
difficulty": each task is banded as **too hard or broken** (baseline pass rate ≤ 10%),
|
|
328
344
|
**discriminative** (in between), or **too easy / saturated** (≥ 90%). Aim for 30–70%. A saturated
|
|
329
345
|
task cannot show improvement no matter how good the skill is; an impossible one cannot show anything
|
|
@@ -335,6 +351,10 @@ tokens — so spend the smallest amount that answers the question, before spendi
|
|
|
335
351
|
|
|
336
352
|
**What the tool checks.** A calibration that completes zero runs **fails** rather than reporting a
|
|
337
353
|
band it never measured. Errored runs are excluded from the rate rather than counted as failures.
|
|
354
|
+
Version 0.11.0 blocks live calibration on any offline hard failure
|
|
355
|
+
before creating a native run or calling an agent. Missing oracle evidence stays
|
|
356
|
+
unknown; nonblocking warnings remain separate. Agent availability/capabilities
|
|
357
|
+
are checked before and after case probes; login cannot be proven offline.
|
|
338
358
|
|
|
339
359
|
---
|
|
340
360
|
|
|
@@ -342,8 +362,13 @@ Agent callers can add `--json` to the offline check. It returns stable gate
|
|
|
342
362
|
identifiers, task IDs, related paths, suggested repairs and captured verifier
|
|
343
363
|
failures without human log text on stdout. Exit 0 may still contain warnings;
|
|
344
364
|
exit 1 means failed integrity gates and exit 2 means validation did not complete.
|
|
345
|
-
|
|
346
|
-
|
|
365
|
+
The offline result remains `skillfit.bench-check`. Version 0.11.0 gives
|
|
366
|
+
`--calibrate --json` its own planned/result workflow instead of the older
|
|
367
|
+
rejection; it requires explicit plan confirmation before JSON execution. Read
|
|
368
|
+
calibration results with `report eval <run-dir> --json`, including stopped costs
|
|
369
|
+
and unmeasured tasks. Supported sealed runs can be exported and replayed without
|
|
370
|
+
another model call. See the [offline JSON contract](bench-check-json.md) and
|
|
371
|
+
[report types](evaluation-reports.md).
|
|
347
372
|
|
|
348
373
|
## The two gates
|
|
349
374
|
|
package/docs/bench-check-json.md
CHANGED
|
@@ -13,10 +13,16 @@ CLI behavior. No agent executor, judge or model is started.
|
|
|
13
13
|
Checks execute the bench's local verifier/oracle programs on disposable copies,
|
|
14
14
|
under the existing offline bench contract; this is not a sandbox for untrusted code.
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
In published npm 0.10.1, this offline JSON mode rejects `--calibrate`. Source
|
|
17
|
+
after that release adds a separate calibration JSON workflow: use
|
|
18
|
+
`bench check <dir> --calibrate --agent <id> --json --dry-run` to read a
|
|
19
|
+
`skillfit.calibration-result` plan without verifier/oracle/agent execution.
|
|
20
|
+
Confirm `plan.planSha256` with `--plan-sha` and the same explicit `--run-group`
|
|
21
|
+
only within authorized spending. Live calibration blocks hard offline case and
|
|
22
|
+
Agent environment failures; unknown evidence stays separate from warnings.
|
|
23
|
+
It does not return the offline `skillfit.bench-check` contract below. See
|
|
24
|
+
[shared planning](eval-planning.md#baseline-calibration-and-trigger-plans).
|
|
25
|
+
JSON output itself is not spending authorization or Skill adoption.
|
|
20
26
|
|
|
21
27
|
## Version 1 contract
|
|
22
28
|
|
|
@@ -54,6 +60,12 @@ oracle, or from the verifier after applying the oracle; `evidence.command`
|
|
|
54
60
|
identifies which program actually produced it. Output, paths and diagnostics
|
|
55
61
|
can contain local project data; review them before sharing.
|
|
56
62
|
|
|
63
|
+
Version 0.11.0 can retain a numeric `exitCode` together with a non-null
|
|
64
|
+
`evidence.error` for recognized grader load/runtime failures or explicit error
|
|
65
|
+
messages. That gate is `FAIL`, never a passing NOP probe. Normal grading failures
|
|
66
|
+
retain a nonzero exit and null error. Quoted commands use the shared shell-free
|
|
67
|
+
parser. See [verifier errors](verifier-contract.md); gate identifiers are unchanged.
|
|
68
|
+
|
|
57
69
|
A failed reference repair can expose a check like this:
|
|
58
70
|
|
|
59
71
|
```json
|
|
@@ -112,7 +124,18 @@ as `UNKNOWN`. The version 1 JSON shape and status vocabulary are unchanged.
|
|
|
112
124
|
|
|
113
125
|
- **0:** validation completed without failed gates; warnings may still exist.
|
|
114
126
|
- **1:** validation completed with failed gates, including a missing or malformed bench.
|
|
115
|
-
- **2:** invalid options
|
|
127
|
+
- **2:** invalid options or an unexpected execution error; validation did not complete.
|
|
128
|
+
|
|
129
|
+
These exit meanings apply to the offline `skillfit.bench-check` result. Source
|
|
130
|
+
calibration plans/results use their separate contract; missing/stale confirmation
|
|
131
|
+
or preflight failure returns `skillfit.eval-error`. Ordinary offline checks still
|
|
132
|
+
use `WARN` for a missing oracle. Calibration's saved case preflight classifies
|
|
133
|
+
that unverified winnability as `UNKNOWN`. Neither silently promotes it to a pass.
|
|
134
|
+
|
|
135
|
+
Version 0.11.0 also handles Ctrl+C/SIGTERM throughout standalone checks:
|
|
136
|
+
active verifier/oracle process trees stop, disposable directories are removed,
|
|
137
|
+
and the command exits 130/143. No completed check or artificial stopped run is
|
|
138
|
+
created. See [interruption](evaluation-interruption.md).
|
|
116
139
|
|
|
117
140
|
Agents should inspect failures first, then warnings and evidence coverage. A
|
|
118
141
|
`passed` result does not prove model difficulty, Skill improvement, statistical
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Offline Agent environment preflight
|
|
2
|
+
|
|
3
|
+
Version 0.11.0 checks the Agent environment in `eval` preview and before
|
|
4
|
+
live dispatch. npm 0.10.1 does not include this
|
|
5
|
+
addition. Ordinary paired/trigger eval, Agent requests and baseline calibration
|
|
6
|
+
share the check implementation. This is separate from [offline case integrity](eval-case-preflight.md).
|
|
7
|
+
|
|
8
|
+
## What is checked
|
|
9
|
+
|
|
10
|
+
| Code | Result and scope |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| `CLI_AVAILABLE` | Checks the selected matrix command's executable on PATH using filesystem access; no `which`, `where`, agent invocation or version probe runs as part of this check. Missing/non-executable files are `FAIL`. API execution needs no CLI (`INFO`). |
|
|
13
|
+
| `MATRIX_CAPABILITY` | Matches headless/streaming/Skill delivery declarations and existing executor/input/task compatibility rules. An incompatible choice is `FAIL`; a matrix match does not prove installed-version flag support. |
|
|
14
|
+
| `EXECUTOR_INJECTED` | `UNKNOWN` for a test/programmatic injected executor; it cannot attest an actual CLI installation. Existing synthetic-evidence restrictions still apply. |
|
|
15
|
+
| `AUTHENTICATION` | Always `UNKNOWN`: no login command, credential file or network request is used to infer authentication. Existing keys/config files do not prove valid credentials. |
|
|
16
|
+
| `GLOBAL_SKILL_CONFLICT` | For the primary CLI Agent evaluating a Skill, checks readable direct Skill entries in matrix-listed user/global roots. A matching directory name or frontmatter name is `FAIL` because baseline may already load the Skill. |
|
|
17
|
+
| `GLOBAL_SKILL_SCAN` | Describes the limited root scope; unreadable entries/roots stay `UNKNOWN`. An unreadable root cannot establish absence of contamination. |
|
|
18
|
+
| `ENVIRONMENT_CHANGED` | `FAIL` if the check result changes during offline case probes; a fresh preview is needed. |
|
|
19
|
+
|
|
20
|
+
Agent-specific commands and paths come from `src/matrix/agents.json`, including
|
|
21
|
+
configured home overrides and user/global shared Skill roots. Both the target
|
|
22
|
+
directory identity and its root `SKILL.md` frontmatter name are considered, so
|
|
23
|
+
renaming a candidate directory or a global alias does not hide a same-name Skill.
|
|
24
|
+
Directory aliases are followed for manifest inspection. No global Skill is moved,
|
|
25
|
+
deleted, disabled or copied by this check.
|
|
26
|
+
|
|
27
|
+
Executable discovery checks absolute PATH entries and executable-file access
|
|
28
|
+
(Windows also uses case-insensitive environment keys and PATHEXT). Shell aliases,
|
|
29
|
+
functions and relative PATH entries do not establish availability inside the
|
|
30
|
+
disposable trial directory. Use a normal installed executable on an absolute PATH.
|
|
31
|
+
The existing native runtime version capture can still probe a CLI during an
|
|
32
|
+
authorized real run; it is separate from this read-only preflight.
|
|
33
|
+
|
|
34
|
+
Streaming is required for native trigger detection; installed paired eval keeps
|
|
35
|
+
its existing fallback when streaming is unavailable. The optional judge's CLI is
|
|
36
|
+
checked too, so an unavailable judge blocks before primary-agent spending. API
|
|
37
|
+
filesystem/config limitations remain hard errors. Injected executors skip real
|
|
38
|
+
binary attestation and use explicitly injected home roots for tests; no actual
|
|
39
|
+
user home is scanned for an unconfigured injected executor.
|
|
40
|
+
|
|
41
|
+
## Preview, block and recheck
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
node dist/cli.js eval ./my-skill --mode installed --bench ./my-bench --agent codex --trials 1 --max-calls 2 --run-group preflight-001 --json --dry-run
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Paired JSON preview includes `plan.evaluation.agentPreflight`. Its discriminator
|
|
48
|
+
is `schemaVersion: 1`, `kind: "skillfit.agent-preflight"`,
|
|
49
|
+
`scope: "offline-agent-environment"`; see the [schema](schemas/agent-preflight.schema.json).
|
|
50
|
+
It contains `status`, matrix version/date, ordered `checks`, summary counts and
|
|
51
|
+
`cost: {modelCalls: 0, cliInvocations: 0}`. Each check has a stable `code`,
|
|
52
|
+
`role` (`agent`/`judge`), matrix Agent ID or null, `status`, English `message`,
|
|
53
|
+
`remediation` and evidence `paths`. It does not include credentials or Skill bodies.
|
|
54
|
+
Human preview prints the same results. Trigger JSON uses the same
|
|
55
|
+
`plan.evaluation.agentPreflight`; calibration JSON uses `plan.agentPreflight`
|
|
56
|
+
inside its separate `skillfit.calibration-plan`. Both previews execute no
|
|
57
|
+
verifier, oracle, agent or judge. See [planning and confirmation](eval-planning.md).
|
|
58
|
+
|
|
59
|
+
`ready` means zero known failures **within this offline scope**. Login, installed
|
|
60
|
+
CLI flag compatibility and unlisted configuration remain unverified. A planned
|
|
61
|
+
response/exit 0 from a read-only preview means a plan was generated; callers must
|
|
62
|
+
also inspect `agentPreflight.status`. Missing CLI/global-conflict previews can
|
|
63
|
+
still describe a `blocked` plan without writing or calling anything. Existing
|
|
64
|
+
invalid input/executor combinations remain immediate validation errors.
|
|
65
|
+
|
|
66
|
+
Live execution rejects `blocked` checks **before** verifier/oracle execution,
|
|
67
|
+
native run-directory creation or any primary/judge invocation. JSON returns
|
|
68
|
+
`skillfit.eval-error`, `error.code: "AGENT_PREFLIGHT_FAILED"` and the complete
|
|
69
|
+
`agentPreflight`, with upgrade eligibility false. Human errors name the failed
|
|
70
|
+
checks and remedies. There is no bypass flag. The existing global same-name
|
|
71
|
+
contamination guard remains a hard block; it is now visible earlier.
|
|
72
|
+
|
|
73
|
+
After successful case probes, the environment is inspected again before native
|
|
74
|
+
setup. Changed availability/conflicts require a fresh preview and block calls.
|
|
75
|
+
The deterministic report is bound into the reviewed eval/calibration plan, so changed
|
|
76
|
+
binary resolution or check results also invalidate its confirmation hash.
|
|
77
|
+
Authentication unknown is nonblocking and never becomes an authenticated claim;
|
|
78
|
+
spending still needs the caller's authorization and working credentials.
|
|
79
|
+
|
|
80
|
+
## Saved evidence and limitations
|
|
81
|
+
|
|
82
|
+
Native plans seal `details.agentPreflight`. Paired JSON assessment exposes the
|
|
83
|
+
recorded value as top-level `agentPreflight`; human reports show state/checks
|
|
84
|
+
without local evidence paths. Calibration and trigger reports expose the saved
|
|
85
|
+
metadata too; sealed native records can be audited/replayed, while standalone
|
|
86
|
+
historical summaries remain unverified. Historical runs without
|
|
87
|
+
the field return null; no past environment is reconstructed.
|
|
88
|
+
|
|
89
|
+
Report, export and portable replay retain the original check results. They never
|
|
90
|
+
repeat PATH/global-Skill/authentication probes on the reader's current machine.
|
|
91
|
+
Paired native audit validates recorded state/counts and retains unknown offline
|
|
92
|
+
authentication; ordinary reviewed plans must match the sealed checks. A later
|
|
93
|
+
machine change cannot silently rewrite the experiment's readiness record.
|
|
94
|
+
|
|
95
|
+
This is not environment isolation, model identity attestation or a full recursive
|
|
96
|
+
inventory of plugins/system/ancestor-project configuration. A different judge's
|
|
97
|
+
global configuration is still outside primary-agent configuration fingerprinting.
|
|
98
|
+
Executable presence does not guarantee a successful invocation or provider
|
|
99
|
+
availability. Existing per-call input/config guards, spending stops, exclusions,
|
|
100
|
+
statistical formulas and adoption gates remain unchanged. Inspect paths before
|
|
101
|
+
sharing raw JSON/native evidence.
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
This behavior is included in 0.10.1. The immutable npm 0.10.0 archive predates it.
|
|
4
4
|
See the [release record](releases/0.10.1.md) for publication status.
|
|
5
5
|
|
|
6
|
+
Version 0.11.0 additionally blocks recognized grader load/runtime
|
|
7
|
+
exceptions and explicit infrastructure-error messages even with a numeric exit
|
|
8
|
+
code, including on oracle-less cases. Quoted paths/arguments use the same parser
|
|
9
|
+
in probes and execution. See [verifier commands and errors](verifier-contract.md).
|
|
10
|
+
|
|
6
11
|
Every live `eval` runs the existing offline `bench check` probes before creating
|
|
7
12
|
the native run directory or dispatching its first agent/judge call. This covers
|
|
8
13
|
inject, installed Skill revisions, rules/MCP configuration experiments, trigger
|
package/docs/eval-component.md
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
# Agent evaluation component
|
|
2
2
|
|
|
3
3
|
Use the existing `eval` engine through a versioned JSON request to compare a
|
|
4
|
-
candidate Skill with its previous complete version.
|
|
4
|
+
candidate Skill with its previous complete version. Version 0.11.0 also
|
|
5
|
+
accepts an explicit `baselineSkill: null` to compare with no Skill installed by
|
|
6
|
+
the harness. See [shared planning, budgets and deadlines](eval-planning.md).
|
|
7
|
+
The component returns quality
|
|
5
8
|
changes, observed regressions, spending coverage and a separate adoption decision.
|
|
6
9
|
It never installs, publishes or upgrades a Skill. These interfaces are included
|
|
7
10
|
in [0.9.0](releases/0.9.0.md). Use npm 0.9.0 or newer, or build the current
|
|
@@ -11,6 +14,13 @@ Build the bench around the task being evaluated, with deterministic acceptance
|
|
|
11
14
|
checks and an independent reference repair. Bundled and contributed benches are
|
|
12
15
|
examples, not a universal test of every Skill. See the [authoring guide](bench-authoring.md).
|
|
13
16
|
|
|
17
|
+
Version 0.11.0 adds [offline Agent environment preflight](eval-agent-preflight.md).
|
|
18
|
+
`plan.evaluation.agentPreflight` separates executable availability, declared
|
|
19
|
+
capabilities, same-name global Skill conflicts and unknown authentication. A dry
|
|
20
|
+
plan can be blocked; execution returns `AGENT_PREFLIGHT_FAILED` with the checks
|
|
21
|
+
before case probes, writes or calls. The native plan and report retain the saved
|
|
22
|
+
checks. Authentication remains unknown; preview is not proof of login or consent.
|
|
23
|
+
|
|
14
24
|
In 0.10.1, execution requires an automatic offline
|
|
15
25
|
[case preflight](eval-case-preflight.md) after preview-hash confirmation and before
|
|
16
26
|
any agent/judge call. `plan.evaluation.casePreflight.status` is `pending`; preview
|
|
@@ -20,7 +30,7 @@ Warnings and unknowns remain separate and nonblocking. Successful probes are
|
|
|
20
30
|
frozen in the native plan and included in JSON assessment/replay; they do not
|
|
21
31
|
authorize adoption or alter statistical/cost requirements.
|
|
22
32
|
|
|
23
|
-
|
|
33
|
+
Version 0.11.0 [seals original inputs](evaluation-input-snapshots.md)
|
|
24
34
|
before dispatch. Preview declares `plan.evaluation.inputSnapshot.status: "pending"`;
|
|
25
35
|
completed/stopped JSON assessment includes `inputSnapshot` with the plan-bound
|
|
26
36
|
index hash and local copy/storage cost. Native replay/export use sealed inputs
|
|
@@ -92,8 +102,14 @@ The [request schema](schemas/eval-request.schema.json) and
|
|
|
92
102
|
[policy schema](schemas/eval-policy.schema.json) document request version 1 and
|
|
93
103
|
the versioned quality/efficiency policies. The runtime
|
|
94
104
|
parser rejects unknown fields and invalid ranges. `policy` is optional and defaults
|
|
95
|
-
to the conservative values above.
|
|
96
|
-
|
|
105
|
+
to the conservative values above. `baselineSkill` is required: a string selects
|
|
106
|
+
the previous complete Skill; explicit null selects no harness-installed Skill in
|
|
107
|
+
baseline (version 0.11.0). Omitted/empty/invalid values are rejected.
|
|
108
|
+
When comparing revisions, the two complete Skills must have the same
|
|
109
|
+
frontmatter name and different fingerprints. Inherited global configuration
|
|
110
|
+
still applies in both arms. No-Skill comparisons retain measurements but cannot
|
|
111
|
+
authorize revision adoption (`REVISION_COMPARISON_REQUIRED`).
|
|
112
|
+
The caller must supply a fresh run
|
|
97
113
|
group and an explicit call ceiling; eight tasks at five trials need 80 calls.
|
|
98
114
|
|
|
99
115
|
`pairOrder` is optional and defaults to `baseline-first` for compatibility.
|
|
@@ -132,8 +148,9 @@ final usage, an execution error, or a configuration guard error stops further
|
|
|
132
148
|
calls immediately. There is no retry, replacement or automatic expansion. If the
|
|
133
149
|
last predeclared call reaches a line with complete evidence, the completed cohort
|
|
134
150
|
is retained; exceeding a line is never hidden or clamped. A stopped prefix cannot
|
|
135
|
-
authorize adoption.
|
|
136
|
-
|
|
151
|
+
authorize adoption. The request component still runs without a judge. Current
|
|
152
|
+
source also supports these limits in ordinary paired evaluations with a judge,
|
|
153
|
+
trigger runs and calibration; each role consumes the same run-wide budget.
|
|
137
154
|
|
|
138
155
|
The native `_budget.jsonl` records before/after snapshots. Completed receipt audit
|
|
139
156
|
recomputes every snapshot in declared execution order and checks its sealed
|
|
@@ -161,7 +178,8 @@ command. Execution requires the caller's existing authorization to spend; posses
|
|
|
161
178
|
of a hash is not user consent. Request-based eval cannot be mixed with positional
|
|
162
179
|
eval settings. It always uses installed workspace delivery and disables judges.
|
|
163
180
|
|
|
164
|
-
The preview pins normalized request settings, request bytes,
|
|
181
|
+
The preview pins normalized request settings, request bytes, the candidate and
|
|
182
|
+
any previous Skill, the bench,
|
|
165
183
|
executor description and compiled implementation. A changed preview fails before
|
|
166
184
|
calls or run-directory creation. The native session separately freezes recorded
|
|
167
185
|
configuration at execution time; the preview does not isolate global configuration
|
|
@@ -185,7 +203,7 @@ callers should retain unknown/new fields for forward-compatible reporting.
|
|
|
185
203
|
| Field | Meaning |
|
|
186
204
|
|---|---|
|
|
187
205
|
| `status` | `planned`, `completed`, `stopped`, `incomplete`, or `reported` for an unmanaged historical manifest |
|
|
188
|
-
| `plan` |
|
|
206
|
+
| `plan` | Fingerprints, executor, task IDs, trials, call ceiling, output directory and preview SHA; present for execution/preview through either entry; request plans also include the request and policy hashes |
|
|
189
207
|
| `manifest` | Saved v4 manifest path and byte SHA-256; null when a stopped run produced no final manifest |
|
|
190
208
|
| `identity` | Candidate, baseline, bench and configured executor identities; present with a final manifest |
|
|
191
209
|
| `environment` | Verified native Node/CLI versions, configured settings, recorded `pairOrder`, served-model limitation and executor injection provenance; null for unverified evidence; unrecorded order stays null |
|
|
@@ -193,6 +211,7 @@ callers should retain unknown/new fields for forward-compatible reporting.
|
|
|
193
211
|
| `costs.populations` | Surviving paired costs and all agent invocations, including graded failures, errored calls and excluded successful partners |
|
|
194
212
|
| `costs.changes` | Descriptive total and per-success changes; null when coverage or the baseline denominator cannot support the comparison |
|
|
195
213
|
| `costs.efficiency` | Explicit policy version 2 only: all-invocation uncached-input point, task-block interval, per-task changes and fixed protocol |
|
|
214
|
+
| `invocationCosts` | Primary, optional judge and combined invocation populations with final/partial/unknown coverage; historical absent usage remains unknown |
|
|
196
215
|
| `spendingBudget` | Optional frozen absolute stop lines and retained event state; completed native audit verifies snapshots against receipts |
|
|
197
216
|
| `evidence` | Native file/receipt integrity, policy binding, replay coverage and evidence locations; `pairs` retains each pair's outcomes, named-check changes and full cost observations |
|
|
198
217
|
| `acceptance` | `decision`, `eligibleForUpgrade`, policy, reason codes and scope; `automaticUpgrade` is always false |
|
|
@@ -301,6 +320,12 @@ and retain/share an external copy of evidence hashes for provenance.
|
|
|
301
320
|
|
|
302
321
|
## Offline assessment and replay
|
|
303
322
|
|
|
323
|
+
The public `report eval` dispatcher in version 0.11.0 also reads
|
|
324
|
+
calibration/trigger summaries as distinct descriptive JSON kinds. They are not
|
|
325
|
+
revision-component results and never enter its paired adoption policy. See
|
|
326
|
+
[report types and option restrictions](evaluation-reports.md#calibration-and-trigger-reports-source-after-npm-0101).
|
|
327
|
+
The request-based component and paired result contract below are unchanged.
|
|
328
|
+
|
|
304
329
|
Version 0.10.1 seals Ctrl+C/SIGTERM interruptions with available trial
|
|
305
330
|
receipts, `_interruption.json`, stopped `_session.json` and `_artifacts.json`.
|
|
306
331
|
Request execution preserves exit 130/143 and returns a stopped assessment after
|
|
@@ -342,8 +367,11 @@ samples. A model upgrade or changed inputs requires a fresh bounded declaration.
|
|
|
342
367
|
|
|
343
368
|
Use `report eval <run-dir> --export <new-dir> --json` for a read-only export plan,
|
|
344
369
|
then `--yes` to build a portable directory with unchanged receipts, matching
|
|
345
|
-
inputs, pinned runtime and a checksum/replay entry point.
|
|
346
|
-
without a judge
|
|
370
|
+
inputs, pinned runtime and a checksum/replay entry point. Version 0.11.0 supports
|
|
371
|
+
paired runs with/without a judge, calibration and trigger sessions, including
|
|
372
|
+
stopped prefixes. Single-arm replay verifies saved observations and local grading,
|
|
373
|
+
never paired efficacy. Historical inputs must retain a runtime supporting their
|
|
374
|
+
replay type; missing judge usage is not reconstructed. Missing inputs prevent
|
|
347
375
|
export; partial/unknown costs and ineligible acceptance remain visible. See
|
|
348
376
|
[portable offline packages](replay-packages.md) for relocated inputs and privacy
|
|
349
377
|
review. This does not rerun an agent or produce new efficacy observations.
|
package/docs/eval-costs.md
CHANGED
|
@@ -5,6 +5,15 @@ Paired `eval` runs record descriptive agent costs in `tasks[].costs` and
|
|
|
5
5
|
terminal summary and `report eval <manifest.json>` show the same cost tables.
|
|
6
6
|
Reading a report makes no model call and does not change the manifest or verdict.
|
|
7
7
|
|
|
8
|
+
Version 0.11.0 exposes the same paired spending guard through ordinary
|
|
9
|
+
`--spending-budget <file>` and request `spendingBudget`. The five limits and
|
|
10
|
+
effective primary executor deadline are visible in the shared plan and sealed
|
|
11
|
+
for offline replay; the source budget file is unnecessary after execution.
|
|
12
|
+
Limits stop between calls and can overshoot in flight. Version 0.11.0 also
|
|
13
|
+
applies the guard to calibration, trigger runs and both judge orders; judge
|
|
14
|
+
calls count against the same run-wide limits. These are operational limits, separate from relative
|
|
15
|
+
adoption ceilings or a provider invoice. See [shared planning](eval-planning.md).
|
|
16
|
+
|
|
8
17
|
## Two populations
|
|
9
18
|
|
|
10
19
|
- **Surviving graded pairs:** the same paired observations used by the quality
|
|
@@ -21,6 +30,41 @@ spending totals. An executor invocation does not prove that a provider accepted
|
|
|
21
30
|
a request or billed it. These counts do not include the optional judge, earlier
|
|
22
31
|
calibration cohorts or another experiment's setup spending.
|
|
23
32
|
|
|
33
|
+
## All executor roles (source after npm 0.10.1)
|
|
34
|
+
|
|
35
|
+
New paired manifests and JSON reports add `invocationCosts`, independently of
|
|
36
|
+
the unchanged primary Agent's `overall.costs`. It contains `agent`, `judge` and
|
|
37
|
+
`total` populations and `judgeUsage: recorded | unknown | not-requested`;
|
|
38
|
+
see the [schema](schemas/invocation-costs.schema.json). Each population retains
|
|
39
|
+
the five measures and final/partial/unknown coverage below. Judge `passes`
|
|
40
|
+
counts successfully parsed grading calls, so the combined `passes` is not a task
|
|
41
|
+
success rate and must not be used as the denominator of Agent cost per success.
|
|
42
|
+
|
|
43
|
+
Every judge order saves a version-1 `skillfit.judge-call` receipt under
|
|
44
|
+
`<task>/judge-trial-<n>/call-1.json` or `call-2.json`. It retains the anonymous
|
|
45
|
+
prompt and hash, output, available raw output, executor, invocation/error state,
|
|
46
|
+
token coverage and monotonic elapsed interval. Invalid grading JSON still costs
|
|
47
|
+
an invocation and stops subsequent work. Failure/interruption retains partial or
|
|
48
|
+
unknown usage; it never becomes a free or successfully graded call. Missing
|
|
49
|
+
credentials for an explicitly enabled judge block before primary spending.
|
|
50
|
+
|
|
51
|
+
Reports and offline replay verify saved primary/judge receipts and their ledger.
|
|
52
|
+
Replay checks retained judge prompts/scores/usage; it never asks a judge to grade
|
|
53
|
+
again. Historical missing judge receipts keep judge/combined totals unknown and
|
|
54
|
+
cannot qualify for a complete native export. Legacy primary costs remain readable.
|
|
55
|
+
Calibration and trigger reports expose their own single-arm `usage` population;
|
|
56
|
+
they do not acquire a paired cost comparison.
|
|
57
|
+
|
|
58
|
+
The spending recorder checks before each invocation and after each retained
|
|
59
|
+
receipt. Execution errors or incomplete final usage stop even after the last
|
|
60
|
+
scheduled call; a reached limit prevents the next call. Stopped native sessions
|
|
61
|
+
preserve a controlled `stopCode` (`EXECUTION_FAILED`, `FINAL_USAGE_MISSING` or
|
|
62
|
+
`SPENDING_BUDGET_REACHED`) and safe reason text. No automatic retry or replacement
|
|
63
|
+
is added. Historical absence of `stopCode` is not reconstructed; a received
|
|
64
|
+
SIGINT/SIGTERM retains the interruption as the primary stop reason. Generation,
|
|
65
|
+
local verifier/setup work and another experiment's calls
|
|
66
|
+
are outside these executor token populations; input sealing has separate costs.
|
|
67
|
+
|
|
24
68
|
Each population records runs, successful tasks and five separate measures:
|
|
25
69
|
input tokens, cached input tokens, uncached input tokens, output tokens and
|
|
26
70
|
elapsed seconds. Elapsed time is measured around the agent invocation and
|