skillfit 0.10.1 → 0.12.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.
Files changed (118) hide show
  1. package/README.md +43 -8
  2. package/README.zh-CN.md +43 -8
  3. package/benches/README.md +6 -2
  4. package/dist/cli.js +153 -37
  5. package/dist/cli.test.js +94 -0
  6. package/dist/commands/bench-calibration.js +201 -0
  7. package/dist/commands/bench-calibration.test.js +237 -0
  8. package/dist/commands/bench-check-json.test.js +24 -3
  9. package/dist/commands/bench-draft.js +167 -0
  10. package/dist/commands/bench-draft.test.js +168 -0
  11. package/dist/commands/bench-manage.js +5 -4
  12. package/dist/commands/bench-source.js +101 -0
  13. package/dist/commands/bench-source.test.js +84 -0
  14. package/dist/commands/bench.js +227 -245
  15. package/dist/commands/bench.test.js +7 -3
  16. package/dist/commands/calibration-cli.test.js +145 -0
  17. package/dist/commands/eval-agent-preflight.test.js +269 -0
  18. package/dist/commands/eval-api-failure.test.js +46 -0
  19. package/dist/commands/eval-cli-usage.test.js +75 -0
  20. package/dist/commands/eval-cli.js +31 -0
  21. package/dist/commands/eval-component.js +52 -28
  22. package/dist/commands/eval-export-modes.test.js +350 -0
  23. package/dist/commands/eval-export.js +12 -4
  24. package/dist/commands/eval-interruption.test.js +26 -1
  25. package/dist/commands/eval-layout.test.js +126 -0
  26. package/dist/commands/eval-plan.js +37 -0
  27. package/dist/commands/eval-preflight.test.js +144 -1
  28. package/dist/commands/eval-report.js +18 -3
  29. package/dist/commands/eval-single-arm-replay.js +21 -0
  30. package/dist/commands/eval-single-arm-report.js +223 -0
  31. package/dist/commands/eval.js +113 -88
  32. package/dist/commands/evaluation-report.js +5 -0
  33. package/dist/commands/evaluation-report.test.js +243 -0
  34. package/dist/commands/npm-first-run.test.js +74 -0
  35. package/dist/commands/replay-cancellation.test.js +105 -0
  36. package/dist/commands/workflow-entrypoints.test.js +137 -0
  37. package/dist/harness/agent-preflight.js +196 -0
  38. package/dist/harness/bench-location.js +29 -0
  39. package/dist/harness/bench-location.test.js +33 -0
  40. package/dist/harness/bench.js +10 -4
  41. package/dist/harness/command.js +49 -0
  42. package/dist/harness/eval-audit.js +162 -17
  43. package/dist/harness/eval-budget.js +46 -2
  44. package/dist/harness/eval-budget.test.js +26 -1
  45. package/dist/harness/eval-component.test.js +163 -0
  46. package/dist/harness/eval-contract.js +11 -5
  47. package/dist/harness/evaluation-layout.js +30 -0
  48. package/dist/harness/executors/api.js +24 -10
  49. package/dist/harness/executors/api.test.js +57 -0
  50. package/dist/harness/executors/cli.js +15 -25
  51. package/dist/harness/executors/cli.test.js +33 -2
  52. package/dist/harness/experiment-session.js +23 -25
  53. package/dist/harness/experiment-session.test.js +8 -0
  54. package/dist/harness/hash.js +3 -1
  55. package/dist/harness/invocation-costs.js +72 -0
  56. package/dist/harness/judge-accounting.test.js +216 -0
  57. package/dist/harness/judge-audit.js +56 -0
  58. package/dist/harness/judge.js +86 -21
  59. package/dist/harness/replay-package.js +71 -5
  60. package/dist/harness/runner.js +44 -33
  61. package/dist/harness/runner.test.js +23 -0
  62. package/dist/harness/single-arm-audit.js +436 -0
  63. package/dist/harness/trigger.js +22 -4
  64. package/dist/harness/trigger.test.js +12 -0
  65. package/dist/harness/verifier-error.js +65 -0
  66. package/dist/harness/verifier-timeout.js +8 -0
  67. package/dist/harness/verifier-timeout.test.js +76 -0
  68. package/dist/harness/verifier.test.js +128 -0
  69. package/docs/bench-authoring.md +57 -12
  70. package/docs/bench-check-json.md +28 -5
  71. package/docs/bench-drafting.md +75 -0
  72. package/docs/case-management.md +12 -1
  73. package/docs/eval-agent-preflight.md +114 -0
  74. package/docs/eval-case-preflight.md +5 -0
  75. package/docs/eval-component.md +38 -10
  76. package/docs/eval-costs.md +70 -0
  77. package/docs/eval-planning.md +167 -0
  78. package/docs/evaluation-input-snapshots.md +22 -5
  79. package/docs/evaluation-interruption.md +22 -10
  80. package/docs/evaluation-reports.md +97 -3
  81. package/docs/experiment-workflow.md +7 -0
  82. package/docs/first-real-eval.md +75 -3
  83. package/docs/growth-roadmap-2026-10.md +51 -10
  84. package/docs/metrics.md +40 -3
  85. package/docs/plans/2026-10-17-workflow-foundations.md +99 -0
  86. package/docs/releases/0.10.1-ci-registry-install.json +70 -0
  87. package/docs/releases/0.10.1-feature-smoke.json +28 -0
  88. package/docs/releases/0.10.1-local-registry-install.json +60 -0
  89. package/docs/releases/0.10.1-registry-metadata.json +33 -0
  90. package/docs/releases/0.10.1-signatures.txt +7 -0
  91. package/docs/releases/0.10.1-verification.json +90 -0
  92. package/docs/releases/0.10.1.md +37 -4
  93. package/docs/releases/0.11.0-ci-registry-install.json +130 -0
  94. package/docs/releases/0.11.0-feature-smoke.json +1576 -0
  95. package/docs/releases/0.11.0-feature-smoke.mjs +224 -0
  96. package/docs/releases/0.11.0-local-attempt-1.json +24 -0
  97. package/docs/releases/0.11.0-local-attempt-1.log +19 -0
  98. package/docs/releases/0.11.0-local-registry-install.json +25 -0
  99. package/docs/releases/0.11.0-registry-metadata.json +33 -0
  100. package/docs/releases/0.11.0-signatures.txt +12 -0
  101. package/docs/releases/0.11.0-verification.json +95 -0
  102. package/docs/releases/0.11.0.md +90 -0
  103. package/docs/releases/0.12.0-feature-smoke.mjs +73 -0
  104. package/docs/releases/0.12.0.md +68 -0
  105. package/docs/replay-packages.md +38 -6
  106. package/docs/schemas/agent-preflight.schema.json +31 -0
  107. package/docs/schemas/calibration-plan.schema.json +22 -0
  108. package/docs/schemas/calibration-result.schema.json +17 -0
  109. package/docs/schemas/eval-request.schema.json +1 -1
  110. package/docs/schemas/eval-result.schema.json +3 -1
  111. package/docs/schemas/invocation-costs.schema.json +31 -0
  112. package/docs/schemas/judge-call.schema.json +22 -0
  113. package/docs/schemas/single-arm-report.schema.json +20 -0
  114. package/docs/schemas/verifier-error.schema.json +11 -0
  115. package/docs/sharing-results.md +3 -0
  116. package/docs/verifier-contract.md +108 -0
  117. package/package.json +1 -1
  118. package/skills/skillfit/SKILL.md +61 -8
@@ -0,0 +1,76 @@
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 { loadBench } from './bench.js';
7
+ import { parseVerifierTimeoutSeconds } from './verifier-timeout.js';
8
+ import { runTrial, runVerifier } from './runner.js';
9
+ import { collectSkillBundle } from './bundle.js';
10
+ import { runTriggerExperiment } from './trigger.js';
11
+ import { runBenchCheck, runBenchInit } from '../commands/bench.js';
12
+ import { manageBench } from '../commands/bench-manage.js';
13
+ async function fixture(t) {
14
+ const root = mkdtempSync(join(tmpdir(), 'skillfit-verifier-deadline-'));
15
+ t.after(() => rmSync(root, { recursive: true, force: true }));
16
+ const bench = join(root, 'bench'), run = join(root, 'run'), skill = join(root, 'skill');
17
+ await runBenchInit({ dir: bench, yes: true, log: () => { } });
18
+ mkdirSync(run);
19
+ mkdirSync(skill);
20
+ writeFileSync(join(skill, 'SKILL.md'), '---\nname: timeout-skill\ndescription: Offline deadline regression.\n---\nCheck output.\n');
21
+ return { root, bench, run, skill, manifest: join(bench, 'bench.json') };
22
+ }
23
+ test('case deadlines validate, persist through editing, and keep the historical default when absent', async (t) => {
24
+ const f = await fixture(t), raw = JSON.parse(readFileSync(f.manifest, 'utf8'));
25
+ assert.equal(parseVerifierTimeoutSeconds(), 120);
26
+ assert.equal(loadBench(f.bench).tasks[0].verifierTimeoutSeconds, undefined);
27
+ for (const value of [0, -1, 1.2, 3601, '5', null]) {
28
+ raw.tasks[0].verifierTimeoutSeconds = value;
29
+ writeFileSync(f.manifest, JSON.stringify(raw));
30
+ assert.throws(() => loadBench(f.bench), /verifierTimeoutSeconds/);
31
+ }
32
+ raw.tasks[0].verifierTimeoutSeconds = 600;
33
+ writeFileSync(f.manifest, JSON.stringify(raw));
34
+ assert.equal(loadBench(f.bench).tasks[0].verifierTimeoutSeconds, 600);
35
+ manageBench({ dir: f.bench, taskId: 'example-task', action: 'edit', set: ['verifierTimeoutSeconds=900'], yes: true, log: () => { } });
36
+ assert.equal(loadBench(f.bench).tasks[0].verifierTimeoutSeconds, 900);
37
+ manageBench({ dir: f.bench, taskId: 'example-task', action: 'edit', unset: ['verifierTimeoutSeconds'], yes: true, log: () => { } });
38
+ assert.equal(loadBench(f.bench).tasks[0].verifierTimeoutSeconds, undefined);
39
+ });
40
+ test('a verifier uses its configured deadline and a longer deadline permits the same offline command', async (t) => {
41
+ const f = await fixture(t);
42
+ writeFileSync(join(f.bench, 'slow.mjs'), "setTimeout(()=>{console.log(JSON.stringify({passed:true}));},1500);");
43
+ const stopped = await runVerifier(f.bench, 'node slow.mjs', f.run, 1);
44
+ assert.equal(stopped.exitCode, null);
45
+ assert.match(stopped.error, /timed out after 1000ms/);
46
+ const completed = await runVerifier(f.bench, 'node slow.mjs', f.run, 5);
47
+ assert.equal(completed.exitCode, 0);
48
+ assert.equal(completed.error, null);
49
+ });
50
+ test('bench check uses the case deadline for oracle commands', async (t) => {
51
+ const f = await fixture(t), raw = JSON.parse(readFileSync(f.manifest, 'utf8'));
52
+ raw.tasks[0].verifierTimeoutSeconds = 1;
53
+ raw.tasks[0].oracle = 'node slow-oracle.mjs';
54
+ writeFileSync(join(f.bench, 'slow-oracle.mjs'), 'setTimeout(()=>process.exit(0),1500);');
55
+ writeFileSync(f.manifest, JSON.stringify(raw));
56
+ const report = await runBenchCheck({ dir: f.bench, log: () => { } });
57
+ assert.ok(report.checks.some(check => check.code === 'ORACLE' && check.status === 'FAIL' && check.message.includes('timed out after 1000ms')));
58
+ });
59
+ test('paired and trigger execution classify a case deadline as an ungraded error and retain usage', async (t) => {
60
+ const f = await fixture(t), raw = JSON.parse(readFileSync(f.manifest, 'utf8'));
61
+ raw.tasks[0].verifierTimeoutSeconds = 1;
62
+ raw.tasks[0].shouldTrigger = true;
63
+ raw.tasks[0].verifier = 'node slow.mjs';
64
+ writeFileSync(join(f.bench, 'slow.mjs'), 'setTimeout(()=>process.exit(0),1500);');
65
+ writeFileSync(f.manifest, JSON.stringify(raw));
66
+ const bench = loadBench(f.bench), skill = collectSkillBundle(f.skill, 'timeout-skill');
67
+ const executor = { describe: () => ({ kind: 'cli', model: 'injected-offline-stub' }), run: async () => ({ output: 'done', tokens: { input: 20, cachedInput: 5, output: 3 }, skillTriggered: true }) };
68
+ const paired = await runTrial({ bench, target: skill, executor, trials: 1, runsRoot: f.root, runGroup: 'paired' }, 'example-task', 'baseline', 1);
69
+ assert.equal(paired.verifierPassed, null);
70
+ assert.match(paired.error, /timed out after 1000ms/);
71
+ assert.equal(paired.tokens.input, 20);
72
+ await runTriggerExperiment({ bench, skill, executor, trials: 1, runsRoot: f.root, runGroup: 'trigger', skillInstallDir: 'skills' });
73
+ const trigger = JSON.parse(readFileSync(join(f.root, 'trigger/example-task/installed/trial-1/_result.json'), 'utf8'));
74
+ assert.match(trigger.error, /timed out after 1000ms/);
75
+ assert.equal(trigger.tokens.input, 20);
76
+ });
@@ -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
+ });
@@ -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`. Keep independent validation tasks separate and preserve the
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 —
@@ -118,15 +119,24 @@ skillfit bench init my-bench
118
119
  cd /path/to/where/it/broke
119
120
  skillfit bench add ../my-bench --freeze --task review-r1 \
120
121
  --prompt "Review CHANGES.diff against SPEC.md. Report only concrete defects: severity, exact file:line, one sentence on which clause of the spec it violates." \
122
+ --expect "INVALID_QUANTITY" \
121
123
  --should-trigger yes
122
124
  ```
123
125
 
124
- This snapshots the **git-tracked** files of the current directory into `fixtures/review-r1/`, so
125
- `node_modules`, build output and secrets stay out, writes the prompt to `prompts/review-r1.md` plus a
126
+ This snapshots the **git-tracked ordinary files** of the current directory into `fixtures/review-r1/`,
127
+ writes the prompt to `prompts/review-r1.md` plus a
126
128
  `prompts/review-r1.trigger.md` stub you will fix in step 5, and registers the task in `bench.json`.
127
129
  For a multi-paragraph prompt use `--prompt-file <path>` instead; the path is read relative to the
128
130
  current directory, and the *content* is copied into the bench.
129
131
 
132
+ In version 0.12.0, an empty index or a failed Git read is an error, never a
133
+ fallback to ignored/untracked files. Narrow a Git fixture with repeated `--include <file-or-dir>`;
134
+ outside Git these explicit selections are required. Git metadata and `node_modules` are excluded.
135
+ Selected symbolic links, submodules, non-ordinary entries and files inside the destination bench
136
+ are rejected before copying. Freeze imports are capped at 200 files / 1 MiB; narrow the selection
137
+ when it exceeds either limit. A tracked secret or a secret inside an explicitly selected non-Git
138
+ directory can still be included: review the selected files before sharing or authorizing a draft.
139
+
130
140
  Then shrink the fixture by hand. Keep the trap, delete the rest. `review-r1`'s is six small files —
131
141
  `SPEC.md`, `CHANGES.diff`, three source files and one test — totalling 4 KB.
132
142
 
@@ -157,6 +167,13 @@ for pass, non-zero for fail. Three ways to get one, cheapest first:
157
167
  --decompose --agent <id>
158
168
  ```
159
169
 
170
+ Version 0.12.0 confirms a drafting call **before** invoking an agent. Dry runs and declined
171
+ confirmations make zero calls. `--yes` authorizes exactly one call, without retry or automatic
172
+ evaluation/upgrade. Drafting supports `--max-calls`, `--spending-budget`,
173
+ `--executor-timeout-seconds`, `--runs-root` and `--run-group`. Predictable output conflicts are
174
+ checked before dispatch. Failed/interrupted drafts retain their available inputs, outputs, costs
175
+ and gate results. See [draft records and offline replay](bench-drafting.md).
176
+
160
177
  For anything you care about, write `verifiers/<task-id>.mjs` by hand. `review-r1`'s is
161
178
  `verifiers/seeded-bugs.mjs`, and it does two things:
162
179
 
@@ -193,7 +210,11 @@ Two rules that are easy to get wrong:
193
210
  **What the tool checks.** For an `output`-kind task, that the verifier rejects a missing `_output.md`
194
211
  and rejects an empty one — both FAIL, and together they are the NOP gate for tasks that grade text.
195
212
  Also that the check count is in range (WARN), and that the exit code and the JSON `passed` flag agree
196
- (WARN). It gets a 2-minute timeout, and a verifier that produces no exit code at all is reported as a
213
+ (WARN). Each verifier/oracle gets a default 2-minute timeout. Version 0.12.0 accepts
214
+ `verifierTimeoutSeconds` (integer 1–3600) per task; set it with
215
+ `bench add --verifier-timeout-seconds 600` or
216
+ `bench edit <dir> <task-id> --set verifierTimeoutSeconds=600 --yes`. This is separate from the model
217
+ executor deadline and also applies during preflight and offline replay. A verifier with no exit code is reported as a
197
218
  bench defect, never as the agent failing.
198
219
 
199
220
  > **The command in `bench.json` is spawned without a shell.** Its first token must be an executable the
@@ -203,6 +224,14 @@ bench defect, never as the agent failing.
203
224
  > node runs, and *it* runs your command under a shell inside. Keep that string out of third-party
204
225
  > benches you did not read — see `SECURITY.md`.
205
226
 
227
+ Version 0.11.0 supports single/double-quoted script paths and arguments,
228
+ including spaces, without enabling a shell. The same parser is used by loading,
229
+ probes, live grading and replay. Grader load/runtime errors are separate from
230
+ normal task failures and cannot satisfy the NOP gate. Use the explicit
231
+ `skillfit.verifier-error` message for custom-runtime infrastructure errors;
232
+ ordinary assertions/nonzero verdicts remain failures. See the [complete command
233
+ and error contract](verifier-contract.md).
234
+
206
235
  ### 4. Or mine it from git history
207
236
 
208
237
  **Do this.** If the failure was already fixed in a commit, you do not have to write anything:
@@ -314,16 +343,23 @@ visible offline.
314
343
 
315
344
  ### 7. Rehearse before you pay
316
345
 
317
- **Do this.** Four commands, in this order, each cheaper than the next:
346
+ Start with an offline check and read-only previews. In version 0.11.0,
347
+ the calibration preview also runs no verifier, oracle or agent:
318
348
 
319
349
  ```bash
320
- skillfit bench check my-bench # offline, free
321
- skillfit bench check my-bench --calibrate --agent <id> # real runs, one arm per task
322
- skillfit eval <skill-path> --bench my-bench --dry-run # plan only, writes nothing
323
- skillfit eval <skill-path> --bench my-bench --agent <id> --trials 5
350
+ node dist/cli.js bench check my-bench --json
351
+ 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
352
+ node dist/cli.js eval <skill-path> --bench my-bench --agent <id> --trials 5 --run-group comparison-001 --json --dry-run
324
353
  ```
325
354
 
326
- `bench check` answers "is this bench well-formed". `--calibrate` answers "is it the right
355
+ After spending is authorized, rerun the appropriate preview command with
356
+ `--dry-run` removed and `--plan-sha` added: calibration uses `plan.planSha256`,
357
+ eval uses `plan.sha256`. Keep the same declared group/settings and choose actual
358
+ registered task IDs. Both accept call ceilings, spending lines and per-call
359
+ deadlines. See [planning](eval-planning.md); a one-task development check is not
360
+ independent validation or evidence of general benefit.
361
+
362
+ `bench check` answers "is this bench well-formed". Live `--calibrate` answers "is it the right
327
363
  difficulty": each task is banded as **too hard or broken** (baseline pass rate ≤ 10%),
328
364
  **discriminative** (in between), or **too easy / saturated** (≥ 90%). Aim for 30–70%. A saturated
329
365
  task cannot show improvement no matter how good the skill is; an impossible one cannot show anything
@@ -335,6 +371,10 @@ tokens — so spend the smallest amount that answers the question, before spendi
335
371
 
336
372
  **What the tool checks.** A calibration that completes zero runs **fails** rather than reporting a
337
373
  band it never measured. Errored runs are excluded from the rate rather than counted as failures.
374
+ Version 0.11.0 blocks live calibration on any offline hard failure
375
+ before creating a native run or calling an agent. Missing oracle evidence stays
376
+ unknown; nonblocking warnings remain separate. Agent availability/capabilities
377
+ are checked before and after case probes; login cannot be proven offline.
338
378
 
339
379
  ---
340
380
 
@@ -342,8 +382,13 @@ Agent callers can add `--json` to the offline check. It returns stable gate
342
382
  identifiers, task IDs, related paths, suggested repairs and captured verifier
343
383
  failures without human log text on stdout. Exit 0 may still contain warnings;
344
384
  exit 1 means failed integrity gates and exit 2 means validation did not complete.
345
- JSON mode rejects `--calibrate` before starting any verifier or agent. This is a
346
- source feature, not in npm 0.9.1; see the [version 1 contract](bench-check-json.md).
385
+ The offline result remains `skillfit.bench-check`. Version 0.11.0 gives
386
+ `--calibrate --json` its own planned/result workflow instead of the older
387
+ rejection; it requires explicit plan confirmation before JSON execution. Read
388
+ calibration results with `report eval <run-dir> --json`, including stopped costs
389
+ and unmeasured tasks. Supported sealed runs can be exported and replayed without
390
+ another model call. See the [offline JSON contract](bench-check-json.md) and
391
+ [report types](evaluation-reports.md).
347
392
 
348
393
  ## The two gates
349
394
 
@@ -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
- `--json` cannot be combined with `--calibrate`, including calibration dry runs.
17
- That combination returns an error before loading/executing the bench. Use the
18
- existing human calibration command separately only after choosing a budget.
19
- JSON output is a format option, not spending authorization or Skill adoption.
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, a forbidden calibration combination, or an unexpected execution error; validation did not complete.
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,75 @@
1
+ # Author a verifier with one recorded drafting call
2
+
3
+ Available in skillfit 0.12.0. Drafting helps author a case; it is not evidence that a Skill
4
+ improves results. It does not run a comparison or authorize an upgrade.
5
+
6
+ ## Preview, then authorize
7
+
8
+ ```bash
9
+ skillfit bench add ./my-bench --freeze --source-dir ./failure --include src --include test \
10
+ --task real-failure --prompt-file issue.md --decompose --verifier-kind command --agent codex \
11
+ --max-calls 1 --executor-timeout-seconds 300 --verifier-timeout-seconds 600 \
12
+ --runs-root ./runs --run-group draft-real-failure --dry-run
13
+ ```
14
+
15
+ Preview validates the selected files, destination paths, record-directory layout, one-call ceiling
16
+ and deadlines. It creates no files and invokes no agent. Re-run without `--dry-run` to confirm,
17
+ or with `--yes` to authorize. Declining also makes zero calls. A record group that already exists
18
+ is never overwritten, including failed/interrupted groups. There is no retry or follow-up call.
19
+
20
+ Git imports select tracked ordinary files; an empty/broken index fails. Non-Git sources require
21
+ explicit `--include` selections. Selected links, non-files and destination-bench files are rejected.
22
+ Inputs, prompts and public outputs can contain private data: review records before sharing them.
23
+
24
+ Optional `--spending-budget budget.json` uses the existing five-field spending contract:
25
+
26
+ ```json
27
+ {
28
+ "input": 100000,
29
+ "cachedInput": 100000,
30
+ "uncachedInput": 100000,
31
+ "output": 10000,
32
+ "durationSeconds": 300
33
+ }
34
+ ```
35
+
36
+ All fields must be positive; token limits are integers. Known unsupported CLI counters block before
37
+ dispatch. Missing/partial final counters or executor errors stop a budgeted draft after retaining
38
+ available usage, without adding a task. These are observed stop lines, not provider-side prepaid
39
+ caps: one in-flight call can exceed a line. Reaching a line with complete final usage prevents more
40
+ calls but still permits the remaining offline gates. The executor deadline bounds model execution,
41
+ separately from the case's verifier/oracle deadline. Cancellation cannot establish that a remote
42
+ provider stopped billing. Without a budget, absent counters remain unknown, never zero. Login
43
+ remains unknown offline. Injected test executors are responsible for honoring their own deadlines.
44
+
45
+ ## Retained evidence
46
+
47
+ Each authorized draft claims a fresh record directory before dispatch:
48
+
49
+ | File | Meaning |
50
+ |---|---|
51
+ | `_plan.json` | `kind: skillfit.bench-draft-plan`, input hashes, executor, package/Node versions, deadlines/budgets, unknown authentication |
52
+ | `_inputs/fixture/`, `prompt.md` | Original selected bytes and exact drafting prompt |
53
+ | `workspace/` | Agent workspace, including generated verifier/oracle scripts when supplied |
54
+ | `_calls.jsonl` | Started/finished dispatch events; at most one call |
55
+ | `_result.json`, `_output.md`, optional `_transcript.jsonl` | Available public usage, final/partial/unknown status, duration, output and raw executor response; no request credential headers |
56
+ | `_budget.jsonl` | Before/after observations when a budget is set |
57
+ | `_gates.jsonl` | Untouched-fixture, oracle and solved-fixture results reached by this attempt |
58
+ | `_summary.json` | `kind: skillfit.bench-draft-result`; completed only after adding the task, otherwise stopped; observed costs/coverage, no automatic retry or upgrade |
59
+
60
+ `Ctrl+C` / `SIGTERM` stops the subprocess tree and seals available records as stopped. Interrupted
61
+ counters stay partial when that is all the executor can establish. Gates also observe cancellation;
62
+ an interrupted draft is not added. Force termination, machine or storage failure can prevent sealing.
63
+ A missing summary is not completion evidence.
64
+
65
+ ## Recheck the case offline
66
+
67
+ After adding a task, `skillfit bench check ./my-bench --json` repeats the NOP/oracle gates without
68
+ an agent. For a rejected draft that supplied both scripts, copy `_inputs/fixture/` to two fresh
69
+ scratch directories. From the saved `workspace/`, run `node verifier.mjs <untouched-copy>`, then
70
+ `node oracle.mjs <solved-copy>` and `node verifier.mjs <solved-copy>`, each with the recorded
71
+ per-command deadline. Compare output and exit codes with `_gates.jsonl`. Preserve original records.
72
+
73
+ This reproduces the case checks and accounting from retained counters, not unreported provider
74
+ usage, undisclosed settings or an identical future generation. Authoring records have their own
75
+ kind; `report eval` remains for evaluation records.
@@ -6,6 +6,15 @@ registration; use your editor to change the referenced file contents.
6
6
 
7
7
  ## Inspect and select
8
8
 
9
+ Version 0.12.0 accepts bundled names (for example `code-review`) in
10
+ read-only `bench check/list/show`, calibration planning and ordinary eval. These
11
+ share one resolver: a local manifest wins; an explicit or existing broken local
12
+ path fails instead of selecting a different bundled case. JSON includes the
13
+ resolved directory and its original content hash. With no path, `bench check`
14
+ still checks the current directory; eval retains its explicit-choice requirement
15
+ when several bundled benches exist. `init/add/edit/remove` continue to use local
16
+ directories; a bare bundled name cannot modify the installed package.
17
+
9
18
  ```bash
10
19
  skillfit bench list ./my-bench --json
11
20
  skillfit bench show ./my-bench fix-cache --json
@@ -47,7 +56,9 @@ Edits/removals default to a read-only before/after plan. `--yes` applies it;
47
56
  are rejected. Manifest writes validate the result and roll back on failure.
48
57
 
49
58
  Repeat `--set field=value` to edit `fixture`, `prompt`, `promptTrigger`, `verifier`,
50
- `verifierKind`, `oracle`, `rubric` or `shouldTrigger`. Values may contain `=`;
59
+ `verifierKind`, `oracle`, `rubric` or `shouldTrigger`. Version 0.12.0 also allows
60
+ `verifierTimeoutSeconds` (integer 1–3600, default 120), including `--unset` to restore the default.
61
+ It applies to each verifier/oracle process, separately from model execution. Values may contain `=`;
51
62
  `shouldTrigger` accepts only literal `true` or `false`. Repeat `--unset field` for
52
63
  `promptTrigger`, `oracle`, `rubric` or `shouldTrigger`. Required fields, task IDs,
53
64
  unknown fields and duplicate field operations are rejected. Referenced paths and
@@ -0,0 +1,114 @@
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
+ | `USAGE_CAPABILITY` | Version 0.12.0 checks the adapter's known token counters. A strict whole-batch budget with unavailable required counters is `FAIL` for either primary or judge, before case probes or spending. API/injected coverage stays `UNKNOWN`; runtime final-usage checks still apply. |
15
+ | `EXECUTOR_INJECTED` | `UNKNOWN` for a test/programmatic injected executor; it cannot attest an actual CLI installation. Existing synthetic-evidence restrictions still apply. |
16
+ | `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. |
17
+ | `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. |
18
+ | `GLOBAL_SKILL_SCAN` | Describes the limited root scope; unreadable entries/roots stay `UNKNOWN`. An unreadable root cannot establish absence of contamination. |
19
+ | `ENVIRONMENT_CHANGED` | `FAIL` if the check result changes during offline case probes; a fresh preview is needed. |
20
+
21
+ Agent-specific commands and paths come from `src/matrix/agents.json`, including
22
+ configured home overrides and user/global shared Skill roots. Both the target
23
+ directory identity and its root `SKILL.md` frontmatter name are considered, so
24
+ renaming a candidate directory or a global alias does not hide a same-name Skill.
25
+ Directory aliases are followed for manifest inspection. No global Skill is moved,
26
+ deleted, disabled or copied by this check.
27
+
28
+ Executable discovery checks absolute PATH entries and executable-file access
29
+ (Windows also uses case-insensitive environment keys and PATHEXT). Shell aliases,
30
+ functions and relative PATH entries do not establish availability inside the
31
+ disposable trial directory. Use a normal installed executable on an absolute PATH.
32
+ The existing native runtime version capture can still probe a CLI during an
33
+ authorized real run; it is separate from this read-only preflight.
34
+
35
+ Streaming is required for native trigger detection. Version 0.12.0 also
36
+ uses a matrix-defined structured command for ordinary paired, calibration and
37
+ judge invocations whenever available, without implying a Skill trigger event.
38
+ Other CLI surfaces keep their existing text fallback. The optional judge's CLI is
39
+ checked too, so an unavailable judge blocks before primary-agent spending. API
40
+ filesystem/config limitations remain hard errors. Injected executors skip real
41
+ binary attestation and use explicitly injected home roots for tests; no actual
42
+ user home is scanned for an unconfigured injected executor.
43
+
44
+ The current Codex JSON adapter can retain input, cached-input and output counters.
45
+ The current Kimi adapter can recover input/output but not cache partitioning;
46
+ the Claude text adapter does not collect token counters. This describes skillfit's
47
+ implemented readers, not everything the vendor CLI might support. Because all
48
+ five spending lines are required, a known missing token/cache reader blocks that
49
+ budgeted combination before any call. A new plan without these token limits
50
+ still needs explicit spending review and cannot turn unknown costs into zero.
51
+ No adapter declaration establishes login, installed-version flag compatibility
52
+ or actual final usage; missing/partial counters during a run still stop it.
53
+
54
+ ## Preview, block and recheck
55
+
56
+ ```bash
57
+ 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
58
+ ```
59
+
60
+ Paired JSON preview includes `plan.evaluation.agentPreflight`. Its discriminator
61
+ is `schemaVersion: 1`, `kind: "skillfit.agent-preflight"`,
62
+ `scope: "offline-agent-environment"`; see the [schema](schemas/agent-preflight.schema.json).
63
+ It contains `status`, matrix version/date, ordered `checks`, summary counts and
64
+ `cost: {modelCalls: 0, cliInvocations: 0}`. Each check has a stable `code`,
65
+ `role` (`agent`/`judge`), matrix Agent ID or null, `status`, English `message`,
66
+ `remediation` and evidence `paths`. It does not include credentials or Skill bodies.
67
+ Human preview prints the same results. Trigger JSON uses the same
68
+ `plan.evaluation.agentPreflight`; calibration JSON uses `plan.agentPreflight`
69
+ inside its separate `skillfit.calibration-plan`. Both previews execute no
70
+ verifier, oracle, agent or judge. See [planning and confirmation](eval-planning.md).
71
+
72
+ `ready` means zero known failures **within this offline scope**. Login, installed
73
+ CLI flag compatibility and unlisted configuration remain unverified. A planned
74
+ response/exit 0 from a read-only preview means a plan was generated; callers must
75
+ also inspect `agentPreflight.status`. Missing CLI/global-conflict previews can
76
+ still describe a `blocked` plan without writing or calling anything. Existing
77
+ invalid input/executor combinations remain immediate validation errors.
78
+
79
+ Live execution rejects `blocked` checks **before** verifier/oracle execution,
80
+ native run-directory creation or any primary/judge invocation. JSON returns
81
+ `skillfit.eval-error`, `error.code: "AGENT_PREFLIGHT_FAILED"` and the complete
82
+ `agentPreflight`, with upgrade eligibility false. Human errors name the failed
83
+ checks and remedies. There is no bypass flag. The existing global same-name
84
+ contamination guard remains a hard block; it is now visible earlier.
85
+
86
+ After successful case probes, the environment is inspected again before native
87
+ setup. Changed availability/conflicts require a fresh preview and block calls.
88
+ The deterministic report is bound into the reviewed eval/calibration plan, so changed
89
+ binary resolution or check results also invalidate its confirmation hash.
90
+ Authentication unknown is nonblocking and never becomes an authenticated claim;
91
+ spending still needs the caller's authorization and working credentials.
92
+
93
+ ## Saved evidence and limitations
94
+
95
+ Native plans seal `details.agentPreflight`. Paired JSON assessment exposes the
96
+ recorded value as top-level `agentPreflight`; human reports show state/checks
97
+ without local evidence paths. Calibration and trigger reports expose the saved
98
+ metadata too; sealed native records can be audited/replayed, while standalone
99
+ historical summaries remain unverified. Historical runs without
100
+ the field return null; no past environment is reconstructed.
101
+
102
+ Report, export and portable replay retain the original check results. They never
103
+ repeat PATH/global-Skill/authentication probes on the reader's current machine.
104
+ Paired native audit validates recorded state/counts and retains unknown offline
105
+ authentication; ordinary reviewed plans must match the sealed checks. A later
106
+ machine change cannot silently rewrite the experiment's readiness record.
107
+
108
+ This is not environment isolation, model identity attestation or a full recursive
109
+ inventory of plugins/system/ancestor-project configuration. A different judge's
110
+ global configuration is still outside primary-agent configuration fingerprinting.
111
+ Executable presence does not guarantee a successful invocation or provider
112
+ availability. Existing per-call input/config guards, spending stops, exclusions,
113
+ statistical formulas and adoption gates remain unchanged. Inspect paths before
114
+ 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