skillfit 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/README.md +27 -7
  2. package/README.zh-CN.md +27 -7
  3. package/benches/README.md +2 -2
  4. package/dist/cli.js +146 -36
  5. package/dist/cli.test.js +94 -0
  6. package/dist/commands/bench-calibration.js +197 -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.js +69 -141
  10. package/dist/commands/calibration-cli.test.js +145 -0
  11. package/dist/commands/eval-agent-preflight.test.js +245 -0
  12. package/dist/commands/eval-cli.js +31 -0
  13. package/dist/commands/eval-component.js +59 -28
  14. package/dist/commands/eval-export-modes.test.js +350 -0
  15. package/dist/commands/eval-export.js +44 -10
  16. package/dist/commands/eval-export.test.js +165 -8
  17. package/dist/commands/eval-interruption.test.js +238 -0
  18. package/dist/commands/eval-plan.js +37 -0
  19. package/dist/commands/eval-preflight.js +61 -0
  20. package/dist/commands/eval-preflight.test.js +382 -0
  21. package/dist/commands/eval-report.js +60 -14
  22. package/dist/commands/eval-report.test.js +2 -2
  23. package/dist/commands/eval-single-arm-replay.js +21 -0
  24. package/dist/commands/eval-single-arm-report.js +223 -0
  25. package/dist/commands/eval.js +184 -112
  26. package/dist/commands/evaluation-report.js +5 -0
  27. package/dist/commands/evaluation-report.test.js +243 -0
  28. package/dist/commands/replay-cancellation.test.js +105 -0
  29. package/dist/commands/workflow-entrypoints.test.js +137 -0
  30. package/dist/harness/agent-preflight.js +180 -0
  31. package/dist/harness/bench.js +2 -1
  32. package/dist/harness/command.js +49 -0
  33. package/dist/harness/eval-audit.js +164 -17
  34. package/dist/harness/eval-budget.js +46 -2
  35. package/dist/harness/eval-budget.test.js +30 -3
  36. package/dist/harness/eval-component.test.js +169 -6
  37. package/dist/harness/eval-contract.js +11 -5
  38. package/dist/harness/executors/api.js +14 -4
  39. package/dist/harness/executors/api.test.js +61 -0
  40. package/dist/harness/executors/cli.js +24 -3
  41. package/dist/harness/experiment-session.js +77 -18
  42. package/dist/harness/experiment-session.test.js +51 -1
  43. package/dist/harness/input-snapshot.js +150 -0
  44. package/dist/harness/interruption.js +48 -0
  45. package/dist/harness/interruption.test.js +31 -0
  46. package/dist/harness/invocation-costs.js +72 -0
  47. package/dist/harness/judge-accounting.test.js +216 -0
  48. package/dist/harness/judge-audit.js +56 -0
  49. package/dist/harness/judge.js +86 -21
  50. package/dist/harness/replay-package.js +71 -5
  51. package/dist/harness/runner.js +92 -44
  52. package/dist/harness/runner.test.js +23 -0
  53. package/dist/harness/single-arm-audit.js +436 -0
  54. package/dist/harness/trigger.js +41 -7
  55. package/dist/harness/trigger.test.js +12 -0
  56. package/dist/harness/verifier-error.js +65 -0
  57. package/dist/harness/verifier.test.js +128 -0
  58. package/docs/bench-authoring.md +34 -9
  59. package/docs/bench-check-json.md +36 -6
  60. package/docs/eval-agent-preflight.md +101 -0
  61. package/docs/eval-case-preflight.md +115 -0
  62. package/docs/eval-component.md +65 -9
  63. package/docs/eval-costs.md +53 -0
  64. package/docs/eval-planning.md +153 -0
  65. package/docs/evaluation-input-snapshots.md +125 -0
  66. package/docs/evaluation-interruption.md +101 -0
  67. package/docs/evaluation-reports.md +143 -0
  68. package/docs/experiment-workflow.md +16 -2
  69. package/docs/first-real-eval.md +55 -5
  70. package/docs/growth-roadmap-2026-10.md +48 -11
  71. package/docs/metrics.md +71 -3
  72. package/docs/plans/2026-10-16-case-workflow-and-release.md +19 -0
  73. package/docs/plans/2026-10-17-workflow-foundations.md +64 -0
  74. package/docs/releases/0.10.0-ci-registry-install.json +140 -0
  75. package/docs/releases/0.10.0-feature-smoke.json +22 -0
  76. package/docs/releases/0.10.0-feature-smoke.mjs +62 -0
  77. package/docs/releases/0.10.0-signatures.txt +7 -0
  78. package/docs/releases/0.10.0-verification.json +76 -0
  79. package/docs/releases/0.10.0.md +44 -8
  80. package/docs/releases/0.10.1-ci-registry-install.json +70 -0
  81. package/docs/releases/0.10.1-feature-smoke.json +28 -0
  82. package/docs/releases/0.10.1-feature-smoke.mjs +95 -0
  83. package/docs/releases/0.10.1-local-registry-install.json +60 -0
  84. package/docs/releases/0.10.1-registry-metadata.json +33 -0
  85. package/docs/releases/0.10.1-signatures.txt +7 -0
  86. package/docs/releases/0.10.1-verification.json +90 -0
  87. package/docs/releases/0.10.1.md +71 -0
  88. package/docs/releases/0.11.0-feature-smoke.mjs +224 -0
  89. package/docs/releases/0.11.0.md +47 -0
  90. package/docs/replay-packages.md +52 -11
  91. package/docs/schemas/agent-preflight.schema.json +31 -0
  92. package/docs/schemas/calibration-plan.schema.json +22 -0
  93. package/docs/schemas/calibration-result.schema.json +17 -0
  94. package/docs/schemas/eval-preflight.schema.json +57 -0
  95. package/docs/schemas/eval-request.schema.json +1 -1
  96. package/docs/schemas/eval-result.schema.json +14 -1
  97. package/docs/schemas/invocation-costs.schema.json +31 -0
  98. package/docs/schemas/judge-call.schema.json +22 -0
  99. package/docs/schemas/single-arm-report.schema.json +20 -0
  100. package/docs/schemas/verifier-error.schema.json +11 -0
  101. package/docs/sharing-results.md +8 -2
  102. package/docs/verifier-contract.md +99 -0
  103. package/package.json +1 -1
  104. package/skills/skillfit/SKILL.md +41 -8
@@ -0,0 +1,76 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "verifiedAt": "2026-10-15T17:50:03.630Z",
4
+ "version": "0.10.0",
5
+ "latest": "0.10.0",
6
+ "integrity": "sha512-esrFLFqZymxg0DCOWXBZB9BFXdUfbGK2GizNrng9kSBLvSzI21L7qou4kBypU2cH6f6twv8zFXR7NfftOfiHYg==",
7
+ "sha256": "2a4e2a95fd903078cbf1e29c28aff6e2ce1420ee996e205a24fec72eae9992c3",
8
+ "sourceCommit": "9027d8d80a3974c7e352af10e8ede3029c69205b",
9
+ "publishedAt": "2026-10-15T17:46:05.738Z",
10
+ "releaseDate": "2026-10-16",
11
+ "releaseTimeZone": "Asia/Shanghai",
12
+ "registry": "https://registry.npmjs.org/",
13
+ "tarball": "https://registry.npmjs.org/skillfit/-/skillfit-0.10.0.tgz",
14
+ "packageBytes": 22274164,
15
+ "installedFilesVerified": 2609,
16
+ "zeroRuntimeDependencies": true,
17
+ "globalInstall": false,
18
+ "modelCalls": 0,
19
+ "agentCliCalls": 0,
20
+ "automaticUpgrade": false,
21
+ "fullOfflineTestsPassed": 600,
22
+ "platformCI": {
23
+ "runUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/38777086013",
24
+ "linux": true,
25
+ "macOS": true,
26
+ "windows": true
27
+ },
28
+ "publication": {
29
+ "authentication": "GitHub Actions OIDC trusted publishing",
30
+ "repository": "remote-controlled-man/skillfit",
31
+ "workflow": "npm-release.yml",
32
+ "environment": "npm-release",
33
+ "previewRunUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/38777935270",
34
+ "runUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/38778295053",
35
+ "uploadCount": 1,
36
+ "workflowConclusion": "success",
37
+ "previewMatchesPublishedArchive": true,
38
+ "registryAttempts": 24,
39
+ "unavailableReadsRetained": 23
40
+ },
41
+ "ciRegistryReceipt": {
42
+ "path": "0.10.0-ci-registry-install.json",
43
+ "sha256": "091d207827a3435de7f0cd453bcb29b0d3506c4dff01c5b01ec4cf5025ba2e42"
44
+ },
45
+ "featureSmoke": {
46
+ "path": "0.10.0-feature-smoke.json",
47
+ "sha256": "490a0b4f2909b39c81e448f65a274fb2b9f29d7a6252c1f3e97af02e8b4b29ff",
48
+ "recipe": "0.10.0-feature-smoke.mjs",
49
+ "recipeSha256": "869289bd92046d2e93af203c64633697089471d38df9aeb0fe57ed6caf123969",
50
+ "checks": {
51
+ "version": true,
52
+ "help": true,
53
+ "listShow": true,
54
+ "editPlanBackup": true,
55
+ "removePreservesFiles": true,
56
+ "benchCheckJson": true,
57
+ "selectedPreviewNoCalls": true,
58
+ "exportPlan": true,
59
+ "portableChecksums": true,
60
+ "movedPackageReplayWithoutOriginals": true,
61
+ "exactCosts": true
62
+ },
63
+ "syntheticExecutorCalls": 2
64
+ },
65
+ "registryAudit": {
66
+ "exitCode": 0,
67
+ "packages": 1,
68
+ "verifiedRegistrySignatures": 1,
69
+ "verifiedAttestations": 1,
70
+ "log": "0.10.0-signatures.txt",
71
+ "sha256": "7656b138c603262c0e62f7aa447f422e16e0bb20a3fb0bf0bf0b12a51375f4d8"
72
+ },
73
+ "verificationKind": "CI registry installation plus independent local file-by-file installation and offline feature replay",
74
+ "comparisonSource": "extracted accepted CI archive, not a local rebuild",
75
+ "scope": "CLI usability and reproducibility; no new real Skill efficacy observations or upgrade eligibility"
76
+ }
@@ -1,8 +1,8 @@
1
1
  # skillfit 0.10.0
2
2
 
3
- The user authorized this case-workflow release on October 16, 2026. Publication
4
- is pending until the exact archive is available from npm and an isolated registry
5
- installation is verified. Source readiness or an upload alone is not completion.
3
+ Published and verified as `skillfit@0.10.0` on October 16, 2026 in Asia/Shanghai
4
+ (October 15 at 17:46:05 UTC). The [verification receipt](0.10.0-verification.json)
5
+ pins the accepted archive, source, installation and offline feature checks.
6
6
 
7
7
  ## Delivered workflow
8
8
 
@@ -28,11 +28,17 @@ not publisher identity. Legacy/redacted evidence retains its own dated recipes.
28
28
  Offline tests cover selected budgets/order, invalid selections before calls,
29
29
  case plans/backups/rollback, JSON output, preserved shared files, restored pinned
30
30
  inputs, portable replay after originals are removed and stopped-cost retention.
31
- Linux/macOS/Windows CI and bundled/contributed bench integrity must pass before
32
- merge. The [manual OIDC procedure](trusted-publishing.md) prepares the exact archive,
33
- previews it, publishes once, then verifies registry version/latest/integrity and
34
- every installed file. Retain failed attempts if npm review delays availability;
35
- verify the accepted archive read-only instead of uploading it again.
31
+ All 600 offline tests, Linux/macOS/Windows CI and bundled/contributed bench
32
+ integrity passed in [PR #26](https://github.com/remote-controlled-man/skillfit/pull/26).
33
+ Publication source: `9027d8d80a3974c7e352af10e8ede3029c69205b`. The [manual OIDC procedure](trusted-publishing.md) prepared and previewed the exact
34
+ archive, published once, then verified registry version/latest/integrity and every
35
+ installed file. Both the [preview](https://github.com/remote-controlled-man/skillfit/actions/runs/38777935270)
36
+ and [publication](https://github.com/remote-controlled-man/skillfit/actions/runs/38778295053)
37
+ workflows succeeded. All 2,609 installed files match the accepted archive in CI
38
+ and an independent local install; the preview and publication archive hashes match.
39
+ The [original CI receipt](0.10.0-ci-registry-install.json) retains 23 unavailable
40
+ version reads followed by availability, without another upload. The earlier 0.9.1
41
+ failed publication/recovery history remains unchanged.
36
42
 
37
43
  This is CLI usability and reproducibility work. Tests inject offline executors;
38
44
  no real model or agent evaluation is authorized or added. The study remains at
@@ -43,3 +49,33 @@ claim, statistical-policy change, runtime dependency or automatic upgrade is inc
43
49
  npx skillfit@0.10.0 --version
44
50
  npx skillfit@0.10.0 --help
45
51
  ```
52
+
53
+ ## Registry and installed-feature verification
54
+
55
+ An isolated local install passed all eleven [feature checks](0.10.0-feature-smoke.json),
56
+ including moved-package replay with exact costs after original inputs disappear.
57
+ It made two synthetic executor calls, zero real model/agent CLI calls and no global
58
+ install. [npm signature/attestation verification](0.10.0-signatures.txt) also passed
59
+ for the single installed package. No token-cost or Skill-improvement claim follows
60
+ from these implementation checks.
61
+
62
+ The immutable npm archive contains the pre-publication preparation guide; this
63
+ repository record and its receipts were added after the verified publication.
64
+
65
+ ## Reproduce the installed-feature checks
66
+
67
+ The repository retains a [feature smoke recipe](0.10.0-feature-smoke.mjs). Provide
68
+ an extracted or isolated registry-installed package path and a fresh output parent:
69
+
70
+ ```bash
71
+ node docs/releases/0.10.0-feature-smoke.mjs /absolute/path/to/node_modules/skillfit /tmp/skillfit-0.10.0-feature-smoke
72
+ ```
73
+
74
+ It checks version/help, list/show, edit preview and first backup, removal with
75
+ preserved files, JSON bench checks, selected-call preview and a moved replay
76
+ package after deleting its original inputs/run. A synthetic executor produces two
77
+ receipts; zero model or agent CLI calls occur. The replay must reproduce exact
78
+ costs, remain synthetic/ineligible and retain `automaticUpgrade: false`. Generated
79
+ project/run files are cleaned; `feature-smoke.json` is retained in the output parent.
80
+ This recipe/receipt is a post-publication repository record, not bytes retroactively
81
+ added to the immutable npm archive.
@@ -0,0 +1,70 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "verifiedAt": "2026-10-16T04:29:51.860Z",
4
+ "version": "0.10.1",
5
+ "latest": "0.10.1",
6
+ "integrity": "sha512-iOciQnT9uyJl7b642Ipf3Gtb60+RNmuVC50S9c5xa/8XQrdXZaX5dCP9det7TV8hrEVJpnl3N/OkO8F0vU0org==",
7
+ "sha256": "b8d45aa50fda31377647eb8a90133d7ee8e9096cdd756cc72d8e8a76cf79eb21",
8
+ "sourceCommit": "2cb80a68dfe712aa003135767cb18cdb4123e2eb",
9
+ "installedFilesVerified": 2627,
10
+ "zeroRuntimeDependencies": true,
11
+ "globalInstall": false,
12
+ "modelCalls": 0,
13
+ "smoke": {
14
+ "version": true,
15
+ "help": true,
16
+ "requestPreview": true
17
+ },
18
+ "attempts": [
19
+ {
20
+ "at": "2026-10-16T04:25:17.016Z",
21
+ "versionStatus": 404,
22
+ "latestStatus": 200
23
+ },
24
+ {
25
+ "at": "2026-10-16T04:25:47.203Z",
26
+ "versionStatus": 404,
27
+ "latestStatus": 200
28
+ },
29
+ {
30
+ "at": "2026-10-16T04:26:17.396Z",
31
+ "versionStatus": 404,
32
+ "latestStatus": 200
33
+ },
34
+ {
35
+ "at": "2026-10-16T04:26:47.798Z",
36
+ "versionStatus": 404,
37
+ "latestStatus": 200
38
+ },
39
+ {
40
+ "at": "2026-10-16T04:27:17.959Z",
41
+ "versionStatus": 404,
42
+ "latestStatus": 200
43
+ },
44
+ {
45
+ "at": "2026-10-16T04:27:48.131Z",
46
+ "versionStatus": 404,
47
+ "latestStatus": 200
48
+ },
49
+ {
50
+ "at": "2026-10-16T04:28:18.297Z",
51
+ "versionStatus": 404,
52
+ "latestStatus": 200
53
+ },
54
+ {
55
+ "at": "2026-10-16T04:28:48.480Z",
56
+ "versionStatus": 404,
57
+ "latestStatus": 200
58
+ },
59
+ {
60
+ "at": "2026-10-16T04:29:18.657Z",
61
+ "versionStatus": 404,
62
+ "latestStatus": 200
63
+ },
64
+ {
65
+ "at": "2026-10-16T04:29:48.823Z",
66
+ "versionStatus": 200,
67
+ "latestStatus": 200
68
+ }
69
+ ]
70
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "skillfit.release-case-workflow-smoke",
4
+ "version": "0.10.1",
5
+ "verifiedAt": "2026-10-16T04:30:52.798Z",
6
+ "modelCalls": 0,
7
+ "agentCliCalls": 0,
8
+ "syntheticExecutorCalls": 3,
9
+ "fakeApiResponses": 3,
10
+ "checks": {
11
+ "apiCacheZeroKnownAndUnknown": true,
12
+ "version": true,
13
+ "help": true,
14
+ "listShow": true,
15
+ "editPlanBackup": true,
16
+ "removePreservesFiles": true,
17
+ "benchCheckJson": true,
18
+ "selectedPreviewNoCalls": true,
19
+ "offlineCasePreflight": true,
20
+ "unifiedReportInputs": true,
21
+ "stoppedReportsRetainPartialCosts": true,
22
+ "sealedInputsWithoutOriginals": true,
23
+ "exportPlan": true,
24
+ "portableChecksums": true,
25
+ "movedPackageReplayWithoutOriginals": true,
26
+ "exactCosts": true
27
+ }
28
+ }
@@ -0,0 +1,95 @@
1
+ import assert from 'node:assert/strict';
2
+ import {spawnSync} from 'node:child_process';
3
+ import {existsSync,mkdirSync,mkdtempSync,readFileSync,renameSync,rmSync,writeFileSync} from 'node:fs';
4
+ import {join,resolve} from 'node:path';
5
+ import {pathToFileURL} from 'node:url';
6
+
7
+ // Argument 1: an extracted or registry-installed skillfit package. Argument 2:
8
+ // a fresh parent directory for synthetic data and the resulting JSON receipt.
9
+ const installed=resolve(process.argv[2]), parent=resolve(process.argv[3]);
10
+ mkdirSync(parent,{recursive:true});
11
+ const root=mkdtempSync(join(parent,'case-smoke-')), bench=join(root,'bench'), skill=join(root,'skill');
12
+ const load=path=>import(pathToFileURL(join(installed,'dist',path)).href);
13
+ const {runBenchInit}=await load('commands/bench.js');
14
+ const {runEval}=await load('commands/eval.js');
15
+ const {exportEvaluation}=await load('commands/eval-export.js');
16
+ const {MockExecutor}=await load('harness/executors/mock.js');
17
+ const {ApiExecutor}=await load('harness/executors/api.js');
18
+ const {ExecutorFailure}=await load('harness/types.js');
19
+ const {ExperimentSession}=await load('harness/experiment-session.js');
20
+ const {collectEvaluationTarget}=await load('harness/target.js');
21
+ const {loadBench}=await load('harness/bench.js');
22
+ const {runTrial}=await load('harness/runner.js');
23
+ const {summarizeCosts}=await load('harness/costs.js');
24
+ const cli=(...args)=>{
25
+ const child=spawnSync(process.execPath,[join(installed,'dist/cli.js'),...args],{cwd:root,encoding:'utf8',timeout:60_000,maxBuffer:16*1024*1024});
26
+ assert.equal(child.status,0,child.stderr||child.stdout); return child.stdout;
27
+ };
28
+ const checks={}; let fakeApiResponses=0;
29
+ for(const cached of [0,80,undefined]) {
30
+ const fetchImpl=async()=>{fakeApiResponses++;return new Response(JSON.stringify({choices:[{message:{content:'offline'}}],usage:{prompt_tokens:100,completion_tokens:10,...(cached!==undefined?{prompt_tokens_details:{cached_tokens:cached}}:{})}}),{status:200});};
31
+ const result=await new ApiExecutor({apiKey:'synthetic-no-network',fetchImpl}).run('offline');
32
+ assert.deepEqual(result.tokens,{input:100,output:10,...(cached!==undefined?{cachedInput:cached}:{})});
33
+ const record={executorInvoked:true,passed:true,error:null,durationSeconds:1,tokens:result.tokens,usageStatus:'final'};
34
+ const costs=summarizeCosts({baseline:[record],treatment:[]},{baseline:[record],treatment:[]}).attempts.baseline.metrics;
35
+ assert.equal(costs.cachedInput.knownTotal,cached??0);
36
+ assert.equal(costs.uncachedInput.coverage.unknown,cached===undefined?1:0);
37
+ if(cached!==undefined) assert.equal(costs.uncachedInput.knownTotal,100-cached);
38
+ }
39
+ checks.apiCacheZeroKnownAndUnknown=true;
40
+ assert.equal(cli('--version').trim(),'0.10.1'); checks.version=true;
41
+ const help=cli('--help'); for(const flag of ['--export','--input-root','bench list','bench remove','--task']) assert.ok(help.includes(flag)); checks.help=true;
42
+ await runBenchInit({dir:bench,yes:true,log:()=>{}});
43
+ const manifestPath=join(bench,'bench.json'), initial=JSON.parse(readFileSync(manifestPath));
44
+ initial.tasks.push({...initial.tasks[0],id:'second-case'}); writeFileSync(manifestPath,JSON.stringify(initial));
45
+ assert.equal(JSON.parse(cli('bench','list',bench,'--json')).tasks.length,2);
46
+ assert.equal(JSON.parse(cli('bench','show',bench,'second-case','--json')).tasks[0].id,'second-case'); checks.listShow=true;
47
+ const before=readFileSync(manifestPath,'utf8');
48
+ assert.equal(JSON.parse(cli('bench','edit',bench,'second-case','--set','shouldTrigger=false','--json')).status,'planned');
49
+ assert.equal(readFileSync(manifestPath,'utf8'),before);
50
+ assert.equal(JSON.parse(cli('bench','edit',bench,'second-case','--set','shouldTrigger=false','--yes','--json')).status,'applied');
51
+ assert.equal(readFileSync(manifestPath+'.skillfit-bak','utf8'),before); checks.editPlanBackup=true;
52
+ assert.equal(JSON.parse(cli('bench','remove',bench,'second-case','--yes','--json')).status,'applied');
53
+ assert.ok(existsSync(join(bench,initial.tasks[0].prompt))); checks.removePreservesFiles=true;
54
+ const health=JSON.parse(cli('bench','check',bench,'--json')); assert.ok(Array.isArray(health.checks)); checks.benchCheckJson=true;
55
+ mkdirSync(skill); writeFileSync(join(skill,'SKILL.md'),'# Synthetic publication smoke\n');
56
+ const mock=new MockExecutor(); let syntheticCalls=0;
57
+ const executor={describe:()=>mock.describe(),run:async(...args)=>{syntheticCalls++;return mock.run(...args)}};
58
+ const options={skillPath:skill,bench,taskIds:['example-task'],trials:1,maxCalls:2,executor,judgeExecutor:null,yes:true,runsRoot:join(root,'runs'),runGroup:'synthetic',log:()=>{}};
59
+ await runEval({...options,dryRun:true,onPlan:p=>{assert.equal(p.plannedCalls,2);assert.deepEqual(p.bench.taskIds,['example-task']);}});
60
+ assert.equal(syntheticCalls,0); checks.selectedPreviewNoCalls=true;
61
+ await runEval({...options,dryRun:false}); assert.equal(syntheticCalls,2);
62
+ const run=join(root,'runs/synthetic'), output=join(root,'export');
63
+ const original=JSON.parse(cli('report','eval',run,'--json'));
64
+ assert.equal(original.casePreflight.status,'ready'); checks.offlineCasePreflight=true;
65
+ const human=cli('report','eval',run); assert.ok(human.includes(`State: ${original.status}`));
66
+ assert.ok(human.includes(`Acceptance: ${original.acceptance.decision}`)); assert.ok(human.includes('Automatic upgrade: no'));
67
+ assert.equal(cli('report','eval',join(run,'manifest.json')),human); checks.unifiedReportInputs=true;
68
+ const stopped=join(root,'runs/stopped'), target=collectEvaluationTarget(skill), loaded=loadBench(bench);
69
+ const stoppedExecutor={describe:()=>mock.describe(),run:async()=>{syntheticCalls++;throw new ExecutorFailure('synthetic stop',{output:'partial',tokens:{input:9,cachedInput:3,output:2},usageStatus:'partial'});}};
70
+ const session=new ExperimentSession({bench:loaded,target,groupDir:stopped,workspaces:[join(stopped,'example-task/baseline/trial-1')],plannedCalls:2,maxCalls:2,injected:true,details:{mode:'inject'}});
71
+ await runTrial({bench:loaded,target,executor:session.wrap(stoppedExecutor,'agent'),trials:1,runsRoot:join(root,'runs'),runGroup:'stopped',log:()=>{}},'example-task','baseline',1);
72
+ session.finish(new Error('synthetic stop'));
73
+ const stoppedJson=JSON.parse(cli('report','eval',stopped,'--json')), stoppedHuman=cli('report','eval',stopped);
74
+ assert.equal(stoppedJson.status,'stopped'); assert.equal(stoppedJson.acceptance.eligibleForUpgrade,false);
75
+ assert.ok(stoppedHuman.includes('State: stopped')); assert.ok(stoppedHuman.includes('Retained costs')); assert.ok(stoppedHuman.includes('partial'));
76
+ checks.stoppedReportsRetainPartialCosts=true;
77
+ for(const path of [bench,skill]) rmSync(path,{recursive:true});
78
+ const plan=JSON.parse(cli('report','eval',run,'--export',output,'--json')); assert.equal(plan.status,'planned'); assert.equal(plan.inputSource,'sealed-snapshot'); assert.ok(!existsSync(output)); checks.sealedInputsWithoutOriginals=true; checks.exportPlan=true;
79
+ await exportEvaluation(run,output,{yes:true,log:()=>{}});
80
+ const moved=join(root,'moved package'); renameSync(output,moved);
81
+ rmSync(join(root,'runs'),{recursive:true});
82
+ const reproduce=verify=>{
83
+ const child=spawnSync(process.execPath,[join(moved,'reproduce.mjs'),...(verify?['--verify-only']:[])],{cwd:root,encoding:'utf8',timeout:60_000,maxBuffer:16*1024*1024});
84
+ assert.equal(child.status,0,child.stderr); return JSON.parse(child.stdout);
85
+ };
86
+ assert.equal(reproduce(true).verified,true); checks.portableChecksums=true;
87
+ const replay=reproduce(false); assert.equal(replay.evidence.verified,true); assert.deepEqual(replay.costs,original.costs);
88
+ assert.equal(replay.acceptance.eligibleForUpgrade,false); assert.equal(replay.acceptance.automaticUpgrade,false);
89
+ const inspected=JSON.parse(cli('report','eval',moved,'--json','--replay')); assert.equal(inspected.portablePackage.integrityVerified,true);
90
+ assert.ok(cli('report','eval',moved,'--replay').includes('Native evidence: verified'));
91
+ assert.equal(syntheticCalls,3); checks.movedPackageReplayWithoutOriginals=true; checks.exactCosts=true;
92
+ const receipt={schemaVersion:1,kind:'skillfit.release-case-workflow-smoke',version:'0.10.1',verifiedAt:new Date().toISOString(),modelCalls:0,agentCliCalls:0,syntheticExecutorCalls:syntheticCalls,fakeApiResponses,checks};
93
+ writeFileSync(join(parent,'feature-smoke.json'),JSON.stringify(receipt,null,2)+'\n',{flag:'wx'});
94
+ rmSync(root,{recursive:true});
95
+ console.log(JSON.stringify(receipt));
@@ -0,0 +1,60 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "verifiedAt": "2026-10-16T04:30:04.301Z",
4
+ "version": "0.10.1",
5
+ "latest": "0.10.1",
6
+ "integrity": "sha512-iOciQnT9uyJl7b642Ipf3Gtb60+RNmuVC50S9c5xa/8XQrdXZaX5dCP9det7TV8hrEVJpnl3N/OkO8F0vU0org==",
7
+ "sha256": "b8d45aa50fda31377647eb8a90133d7ee8e9096cdd756cc72d8e8a76cf79eb21",
8
+ "sourceCommit": "2cb80a68dfe712aa003135767cb18cdb4123e2eb",
9
+ "installedFilesVerified": 2627,
10
+ "zeroRuntimeDependencies": true,
11
+ "globalInstall": false,
12
+ "modelCalls": 0,
13
+ "smoke": {
14
+ "version": true,
15
+ "help": true,
16
+ "requestPreview": true
17
+ },
18
+ "attempts": [
19
+ {
20
+ "at": "2026-10-16T04:26:02.434Z",
21
+ "versionStatus": 404,
22
+ "latestStatus": 200
23
+ },
24
+ {
25
+ "at": "2026-10-16T04:26:34.567Z",
26
+ "versionStatus": 404,
27
+ "latestStatus": 200
28
+ },
29
+ {
30
+ "at": "2026-10-16T04:27:07.772Z",
31
+ "versionStatus": 404,
32
+ "latestStatus": 200
33
+ },
34
+ {
35
+ "at": "2026-10-16T04:27:40.413Z",
36
+ "versionStatus": 404,
37
+ "latestStatus": 200
38
+ },
39
+ {
40
+ "at": "2026-10-16T04:28:11.954Z",
41
+ "versionStatus": 404,
42
+ "latestStatus": 200
43
+ },
44
+ {
45
+ "at": "2026-10-16T04:28:43.845Z",
46
+ "versionStatus": 404,
47
+ "latestStatus": 200
48
+ },
49
+ {
50
+ "at": "2026-10-16T04:29:15.715Z",
51
+ "versionStatus": 404,
52
+ "latestStatus": 200
53
+ },
54
+ {
55
+ "at": "2026-10-16T04:29:46.880Z",
56
+ "versionStatus": 200,
57
+ "latestStatus": 200
58
+ }
59
+ ]
60
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "observedAt": "2026-10-16T04:30:56.643Z",
3
+ "version": "0.10.1",
4
+ "latest": "0.10.1",
5
+ "publishedAt": "2026-10-16T04:29:29.463Z",
6
+ "dist": {
7
+ "shasum": "8a65c8172eebeab6ae6b31fa8ccc8734c2d4650e",
8
+ "tarball": "https://registry.npmjs.org/skillfit/-/skillfit-0.10.1.tgz",
9
+ "fileCount": 2627,
10
+ "integrity": "sha512-iOciQnT9uyJl7b642Ipf3Gtb60+RNmuVC50S9c5xa/8XQrdXZaX5dCP9det7TV8hrEVJpnl3N/OkO8F0vU0org==",
11
+ "signatures": [
12
+ {
13
+ "sig": "MEUCIQDZZZtxX536elcRsoLCVNCgi2FV/RB9eOf9OiGLjNdUUwIgV+0jkHeqR85oqsQ8clUDemcFmZSGVWwxyhxhmuA/Ebo=",
14
+ "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
15
+ },
16
+ {
17
+ "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
18
+ "sig": "MEUCIB+pODWRRARlctKd4meKFfhsEwSu/bQJjOydlZL+HH/aAiEA6D8oafIOFgXojfA3fwb/4/YxNoq6to9h3LCbEtGjmg0="
19
+ }
20
+ ],
21
+ "attestations": {
22
+ "url": "https://registry.npmjs.org/-/npm/v1/attestations/skillfit@0.10.1",
23
+ "provenance": {
24
+ "predicateType": "https://slsa.dev/provenance/v1"
25
+ }
26
+ },
27
+ "unpackedSize": 37851792
28
+ },
29
+ "trustedPublisher": {
30
+ "id": "github",
31
+ "oidcConfigId": "ea2de82d-9a5c-4d94-b23c-a8923fffeec4"
32
+ }
33
+ }
@@ -0,0 +1,7 @@
1
+ audited 1 package in 3s
2
+
3
+ 1 package has a verified registry signature
4
+
5
+ 1 package has a verified attestation
6
+ (use --json --include-attestations to view attestation details)
7
+
@@ -0,0 +1,90 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "verifiedAt": "2026-10-16T04:31:55.887Z",
4
+ "version": "0.10.1",
5
+ "latest": "0.10.1",
6
+ "integrity": "sha512-iOciQnT9uyJl7b642Ipf3Gtb60+RNmuVC50S9c5xa/8XQrdXZaX5dCP9det7TV8hrEVJpnl3N/OkO8F0vU0org==",
7
+ "sha256": "b8d45aa50fda31377647eb8a90133d7ee8e9096cdd756cc72d8e8a76cf79eb21",
8
+ "sourceCommit": "2cb80a68dfe712aa003135767cb18cdb4123e2eb",
9
+ "publishedAt": "2026-10-16T04:29:29.463Z",
10
+ "releaseDate": "2026-10-16",
11
+ "releaseTimeZone": "Asia/Shanghai",
12
+ "registry": "https://registry.npmjs.org/",
13
+ "tarball": "https://registry.npmjs.org/skillfit/-/skillfit-0.10.1.tgz",
14
+ "packageBytes": 22317056,
15
+ "installedFilesVerified": 2627,
16
+ "zeroRuntimeDependencies": true,
17
+ "globalInstall": false,
18
+ "modelCalls": 0,
19
+ "agentCliCalls": 0,
20
+ "automaticUpgrade": false,
21
+ "fullOfflineTestsPassed": 655,
22
+ "platformCI": {
23
+ "runUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/38849286534",
24
+ "linux": true,
25
+ "macOS": true,
26
+ "windows": true
27
+ },
28
+ "publication": {
29
+ "authentication": "GitHub Actions OIDC trusted publishing",
30
+ "repository": "remote-controlled-man/skillfit",
31
+ "workflow": "npm-release.yml",
32
+ "environment": "npm-release",
33
+ "previewRunUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/38849996828",
34
+ "runUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/38850381759",
35
+ "uploadCount": 1,
36
+ "workflowConclusion": "success",
37
+ "previewMatchesPublishedArchive": true,
38
+ "registryAttempts": 10,
39
+ "unavailableReadsRetained": 9
40
+ },
41
+ "ciRegistryReceipt": {
42
+ "path": "0.10.1-ci-registry-install.json",
43
+ "sha256": "f0bcc3d552f1f64c7b8412333b01ced58f4deaf11ecf9bff1948843273469c56"
44
+ },
45
+ "localRegistryReceipt": {
46
+ "path": "0.10.1-local-registry-install.json",
47
+ "sha256": "683f49e3bf561a0ea1b52a0e51d6a2f2584f42f216c6914339283f75b876e74a"
48
+ },
49
+ "registryMetadata": {
50
+ "path": "0.10.1-registry-metadata.json",
51
+ "sha256": "c2710fcc026b251c23ba4785672e7ea806adfc833f0fcd65cf24532d3ab94a5f"
52
+ },
53
+ "featureSmoke": {
54
+ "path": "0.10.1-feature-smoke.json",
55
+ "sha256": "6c03cbbfcef1c7204a2de7b54854c0e7e7b4c19bafb90e1d18e5cbd0c7a66357",
56
+ "recipe": "0.10.1-feature-smoke.mjs",
57
+ "recipeSha256": "2b3325999c8ade0e26f91c0fef00e1a43aca3dc80e8deefda2ab3aed1efd2037",
58
+ "checks": {
59
+ "apiCacheZeroKnownAndUnknown": true,
60
+ "version": true,
61
+ "help": true,
62
+ "listShow": true,
63
+ "editPlanBackup": true,
64
+ "removePreservesFiles": true,
65
+ "benchCheckJson": true,
66
+ "selectedPreviewNoCalls": true,
67
+ "offlineCasePreflight": true,
68
+ "unifiedReportInputs": true,
69
+ "stoppedReportsRetainPartialCosts": true,
70
+ "sealedInputsWithoutOriginals": true,
71
+ "exportPlan": true,
72
+ "portableChecksums": true,
73
+ "movedPackageReplayWithoutOriginals": true,
74
+ "exactCosts": true
75
+ },
76
+ "syntheticExecutorCalls": 3,
77
+ "fakeApiResponses": 3
78
+ },
79
+ "registryAudit": {
80
+ "exitCode": 0,
81
+ "packages": 1,
82
+ "verifiedRegistrySignatures": 1,
83
+ "verifiedAttestations": 1,
84
+ "log": "0.10.1-signatures.txt",
85
+ "sha256": "34590e1729e25733f6d160db46770116a7b2e70df4cf7ba24bf8230bb0110864"
86
+ },
87
+ "verificationKind": "CI registry installation plus independent local file-by-file installation and offline feature replay",
88
+ "comparisonSource": "extracted accepted CI archive, not a local rebuild",
89
+ "scope": "CLI reliability and reproducibility; no new real Skill efficacy observations or upgrade eligibility"
90
+ }
@@ -0,0 +1,71 @@
1
+ # skillfit 0.10.1
2
+
3
+ Published and verified as `skillfit@0.10.1` on October 16, 2026 at
4
+ 04:29:29 UTC (12:29:29 Asia/Shanghai). The
5
+ [verification receipt](0.10.1-verification.json) pins the source, accepted archive,
6
+ registry metadata, installation checks and offline feature replay.
7
+
8
+ ## Delivered workflow
9
+
10
+ - Read explicit chat-completions cached-input counts into retained costs and
11
+ spending checks. Zero stays zero; absent or invalid cache evidence stays unknown.
12
+ - Open a manifest, native run directory or portable package in either Markdown
13
+ or JSON. Both audit the same saved evidence and show acceptance reasons.
14
+ Stopped/incomplete runs retain spending without becoming completed comparisons.
15
+ - Include Ctrl+C/SIGTERM cleanup and stopped-record sealing, mandatory offline
16
+ case checks before live eval, and input snapshots sealed before dispatch.
17
+ Export/replay survives original-input edits, deletion and moved run directories.
18
+
19
+ See [report inputs](../evaluation-reports.md), [cost accounting](../eval-costs.md),
20
+ [interruption](../evaluation-interruption.md), [case preflight](../eval-case-preflight.md)
21
+ and [input snapshots](../evaluation-input-snapshots.md). This release changes CLI
22
+ reliability and reproducibility, not the statistical or adoption policy. No real
23
+ model evaluations or agent CLI calls are added; historical evidence stays unchanged.
24
+
25
+ ## Validation and publication
26
+
27
+ All 655 offline tests passed without skips. Linux, macOS and Windows CI plus
28
+ bundled/contributed bench integrity passed in
29
+ [PR #31](https://github.com/remote-controlled-man/skillfit/pull/31).
30
+ The [manual OIDC procedure](trusted-publishing.md) used source
31
+ `2cb80a68dfe712aa003135767cb18cdb4123e2eb` for both the successful
32
+ [preview](https://github.com/remote-controlled-man/skillfit/actions/runs/38849996828)
33
+ and [publication](https://github.com/remote-controlled-man/skillfit/actions/runs/38850381759).
34
+ The archive was uploaded once. Preview and published archives match exactly.
35
+
36
+ The [CI registry receipt](0.10.1-ci-registry-install.json) retains nine unavailable
37
+ version reads followed by availability. Registry version/latest and integrity
38
+ match, and all 2,627 installed files match the accepted archive. An
39
+ [independent isolated install](0.10.1-local-registry-install.json) repeated the
40
+ file comparisons using the extracted CI archive, with a separate temporary npm
41
+ cache and no global install. Its eight registry observations remain retained.
42
+ [Official registry metadata](0.10.1-registry-metadata.json) records the publish
43
+ time and GitHub trusted publisher.
44
+
45
+ The installed package passed all 16 [offline feature checks](0.10.1-feature-smoke.json),
46
+ including API cache zero/known/unknown handling, identical report inputs, stopped
47
+ partial costs and export/replay after original inputs disappear. This recipe
48
+ made three synthetic executor calls and used three fake API responses; real
49
+ model and agent CLI calls were zero. [Registry signatures and the source
50
+ attestation](0.10.1-signatures.txt) also verified for the single installed package.
51
+ The study remains at 195 recorded calls with seven historical final usages
52
+ unknown; none of this release validation establishes a Skill quality gain.
53
+
54
+ The immutable npm archive contains the pre-publication preparation guide.
55
+ This repository record and the verification receipts were updated after
56
+ successful publication; historical release/evidence records are unchanged.
57
+
58
+ ## Reproduce the installed-feature checks
59
+
60
+ The [offline recipe](0.10.1-feature-smoke.mjs) accepts an extracted or isolated
61
+ registry-installed package and a fresh output parent:
62
+
63
+ ```bash
64
+ node docs/releases/0.10.1-feature-smoke.mjs /absolute/path/to/node_modules/skillfit /tmp/skillfit-0.10.1-feature-smoke
65
+ ```
66
+
67
+ It checks the case workflow, API cache parsing with fake fetch, shared human/JSON
68
+ reports, stopped costs, input sealing and moved-package replay after originals
69
+ are removed. Only injected synthetic executors and fake API responses are used.
70
+ It retains `feature-smoke.json` and cleans its generated project/run data. No
71
+ Skill efficacy or token-cost reduction claim follows from implementation checks.