skillfit 0.12.0 → 0.13.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 +60 -119
- package/README.zh-CN.md +60 -116
- package/dist/commands/bench-check-report.js +1 -34
- package/dist/commands/bench.js +6 -239
- package/dist/commands/eval-preflight-error.js +9 -0
- package/dist/commands/eval-preflight.js +4 -11
- package/dist/commands/eval-report.js +6 -459
- package/dist/commands/install.js +14 -98
- package/dist/harness/bench-check.js +277 -0
- package/dist/harness/bench-diagnostics.js +34 -0
- package/dist/harness/eval-acceptance.js +1 -1
- package/dist/harness/eval-audit.js +1 -1
- package/dist/harness/eval-manifest.js +456 -0
- package/dist/install/constants.js +1 -0
- package/dist/install/transaction.js +112 -0
- package/docs/README.md +65 -0
- package/docs/architecture.md +86 -0
- package/docs/archive-delivery.md +83 -0
- package/docs/archive-inventory.md +91 -0
- package/docs/evaluation-reports.md +1 -1
- package/docs/growth-roadmap-2026-10.md +14 -18
- package/docs/package-contents.md +73 -0
- package/docs/plans/2026-10-20-archive-replay-verification.json +125 -0
- package/docs/plans/2026-10-20-archive-source-verification.json +256 -0
- package/docs/plans/2026-10-20-delivery-verification.json +146 -0
- package/docs/plans/2026-10-20-docs-architecture-cleanup.md +233 -0
- package/docs/plans/2026-10-20-install-transactions-and-archive-delivery.md +233 -0
- package/docs/plans/2026-10-21-npm-0.13.0-release.md +41 -0
- package/docs/releases/0.12.0-attestation-check.json +22 -0
- package/docs/releases/0.12.0-attestations.json +155 -0
- package/docs/releases/0.12.0-ci-registry-install.json +90 -0
- package/docs/releases/0.12.0-feature-smoke.json +34 -0
- package/docs/releases/0.12.0-foundations-smoke.json +1576 -0
- package/docs/releases/0.12.0-local-registry-install.json +75 -0
- package/docs/releases/0.12.0-preparation-attempt-1.json +22 -0
- package/docs/releases/0.12.0-registry-metadata.json +96 -0
- package/docs/releases/0.12.0-signatures.txt +6 -0
- package/docs/releases/0.12.0-verification.json +99 -0
- package/docs/releases/0.12.0.md +14 -0
- package/docs/releases/0.13.0-feature-smoke.mjs +114 -0
- package/docs/releases/0.13.0-preparation.json +102 -0
- package/docs/releases/0.13.0.md +61 -0
- package/docs/releases/archive-delivery-smoke.mjs +37 -0
- package/docs/reproducible-offline-example.md +1 -1
- package/evidence/README.md +24 -1
- package/evidence/archive-catalog.v1.json +8044 -0
- package/evidence/fetch-archives.mjs +211 -0
- package/package.json +9 -2
- package/dist/cli.test.js +0 -193
- package/dist/commands/bench-calibration.test.js +0 -237
- package/dist/commands/bench-check-json.test.js +0 -242
- package/dist/commands/bench-manage.test.js +0 -87
- package/dist/commands/bench.test.js +0 -1166
- package/dist/commands/bundle.test.js +0 -142
- package/dist/commands/calibration-cli.test.js +0 -145
- package/dist/commands/doctor.test.js +0 -280
- package/dist/commands/eval-agent-preflight.test.js +0 -269
- package/dist/commands/eval-cli-usage.test.js +0 -75
- package/dist/commands/eval-export-modes.test.js +0 -350
- package/dist/commands/eval-export.test.js +0 -279
- package/dist/commands/eval-interruption.test.js +0 -263
- package/dist/commands/eval-preflight.test.js +0 -382
- package/dist/commands/eval-report.test.js +0 -367
- package/dist/commands/eval.test.js +0 -503
- package/dist/commands/evaluation-report.test.js +0 -243
- package/dist/commands/install.test.js +0 -555
- package/dist/commands/npm-first-run.test.js +0 -74
- package/dist/commands/replay-cancellation.test.js +0 -105
- package/dist/commands/report.test.js +0 -110
- package/dist/commands/setup.test.js +0 -150
- package/dist/commands/upstream.test.js +0 -139
- package/dist/commands/workflow-entrypoints.test.js +0 -137
- package/dist/docs.test.js +0 -154
- package/dist/frontmatter.test.js +0 -49
- package/dist/harness/bench.test.js +0 -109
- package/dist/harness/bundle.test.js +0 -71
- package/dist/harness/codex-usage.test.js +0 -87
- package/dist/harness/costs.test.js +0 -92
- package/dist/harness/eval-budget.test.js +0 -237
- package/dist/harness/eval-component.test.js +0 -770
- package/dist/harness/eval-efficiency.test.js +0 -56
- package/dist/harness/execution-timing.test.js +0 -61
- package/dist/harness/executors/api.test.js +0 -175
- package/dist/harness/executors/cli.test.js +0 -541
- package/dist/harness/executors/mock.test.js +0 -43
- package/dist/harness/experiment-session.test.js +0 -317
- package/dist/harness/installed-skill.test.js +0 -162
- package/dist/harness/interruption.test.js +0 -31
- package/dist/harness/judge-accounting.test.js +0 -216
- package/dist/harness/judge.test.js +0 -181
- package/dist/harness/kimi-usage.test.js +0 -62
- package/dist/harness/native-diff.test.js +0 -53
- package/dist/harness/oss-lru-cache.test.js +0 -79
- package/dist/harness/oss-normalize-url.test.js +0 -64
- package/dist/harness/oss-regression-witness.test.js +0 -89
- package/dist/harness/oss-skill-followup.test.js +0 -59
- package/dist/harness/prompt.test.js +0 -48
- package/dist/harness/receipts.test.js +0 -148
- package/dist/harness/report.test.js +0 -297
- package/dist/harness/runner.test.js +0 -635
- package/dist/harness/skill-revision.test.js +0 -148
- package/dist/harness/stats.test.js +0 -124
- package/dist/harness/target.test.js +0 -60
- package/dist/harness/trigger.test.js +0 -261
- package/dist/harness/verifier-summary.test.js +0 -99
- package/dist/harness/verifier.test.js +0 -128
- package/dist/harness/waza-behavior.test.js +0 -139
- package/dist/mcp/probe.test.js +0 -139
- package/evidence/artifacts/2026-10-12-diagnosing-revision/calibration-records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/interrupted-records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-diagnosing-revision/validation-records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/regression-records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-diagnosing-v2/transfer-records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-available/readiness-records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/records.tar.gz +0 -0
- package/evidence/artifacts/2026-10-13-debugging-completed-development/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-13-debugging-controls-and-sleep-stop/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-13-debugging-development-stops/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-14-debugging-followup-routing-stop/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-14-debugging-independent-validation/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-14-debugging-reading-pilot-and-cost-review/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-14-debugging-spending-stop/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-15-native-diff-mechanism/package.tar.gz +0 -0
- package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/package.tar.gz +0 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"verifiedAt": "2026-10-17T04:59:47.358Z",
|
|
4
|
+
"version": "0.12.0",
|
|
5
|
+
"latest": "0.12.0",
|
|
6
|
+
"integrity": "sha512-d24OGf2kv8EhD+2WOag5+8oyYki1TzGPgLgRtJ0tPonw/4CgxU8HEa3ik/VY/vI/03sXoMsz56qy3tG5Kzsdow==",
|
|
7
|
+
"sha256": "7a95b59d4e18f479d0f4b3a562942c110e10a3f9c4b6ca3d4daf4849892cf50f",
|
|
8
|
+
"sourceCommit": "e1abbc8d398d64fcc94fcc7ed4d728372616341f",
|
|
9
|
+
"installedFilesVerified": 2691,
|
|
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-17T04:54:30.903Z",
|
|
21
|
+
"versionStatus": 404,
|
|
22
|
+
"latestStatus": 200
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"at": "2026-10-17T04:55:02.387Z",
|
|
26
|
+
"versionStatus": 404,
|
|
27
|
+
"latestStatus": 200
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"at": "2026-10-17T04:55:33.357Z",
|
|
31
|
+
"versionStatus": 404,
|
|
32
|
+
"latestStatus": 200
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"at": "2026-10-17T04:56:04.459Z",
|
|
36
|
+
"versionStatus": 404,
|
|
37
|
+
"latestStatus": 200
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"at": "2026-10-17T04:56:35.793Z",
|
|
41
|
+
"versionStatus": 404,
|
|
42
|
+
"latestStatus": 200
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"at": "2026-10-17T04:57:06.770Z",
|
|
46
|
+
"versionStatus": 404,
|
|
47
|
+
"latestStatus": 200
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"at": "2026-10-17T04:57:38.480Z",
|
|
51
|
+
"versionStatus": 404,
|
|
52
|
+
"latestStatus": 200
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"at": "2026-10-17T04:58:09.639Z",
|
|
56
|
+
"versionStatus": 404,
|
|
57
|
+
"latestStatus": 200
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"at": "2026-10-17T04:58:40.608Z",
|
|
61
|
+
"versionStatus": 404,
|
|
62
|
+
"latestStatus": 200
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"at": "2026-10-17T04:59:11.812Z",
|
|
66
|
+
"versionStatus": 404,
|
|
67
|
+
"latestStatus": 200
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"at": "2026-10-17T04:59:43.004Z",
|
|
71
|
+
"versionStatus": 200,
|
|
72
|
+
"latestStatus": 200
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "0.12.0",
|
|
4
|
+
"kind": "local-installed-recipe-preparation-failure",
|
|
5
|
+
"publicationAttempted": false,
|
|
6
|
+
"modelCalls": 0,
|
|
7
|
+
"agentCliCalls": 0,
|
|
8
|
+
"archiveIntegrity": "sha512-h/67bNHJ9daS2uor0pO4ZVZie5FfbVQhf27k6KsIUkm5shsEJ/deIeVbigeD/r2UuknQ/oAHUy76P5at5pwCGw==",
|
|
9
|
+
"archiveSha256": "a2a80891f34fa8f24ec74835bce6eb4e8bf12fae65559058d3da8a39ba62091f",
|
|
10
|
+
"testsObserved": 66,
|
|
11
|
+
"passed": 65,
|
|
12
|
+
"failed": 1,
|
|
13
|
+
"failedTest": "out-of-band token usage is a matrix capability, not an agent id in the harness",
|
|
14
|
+
"errorCode": "ENOENT",
|
|
15
|
+
"missingSource": "src/harness/executors/cli.ts",
|
|
16
|
+
"reason": "The initial installed-only recipe selected a source-architecture assertion. TypeScript source is intentionally not in the npm package.",
|
|
17
|
+
"reproduce": "node --test /absolute/path/to/node_modules/skillfit/dist/harness/executors/cli.test.js",
|
|
18
|
+
"correction": "Keep the source assertion in the full 835-test source suite and probe installed stream success/failure directly in the release recipe.",
|
|
19
|
+
"originalArchiveAndLogs": "/private/tmp/skillfit-release-0.12.0-local-1eswutjr",
|
|
20
|
+
"followUpLocalAttempt": "/private/tmp/skillfit-release-0.12.0-local2-osvv5ivy",
|
|
21
|
+
"scope": "Preparation recipe failure, not an accepted publication, model evaluation or runtime defect claim."
|
|
22
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": {
|
|
3
|
+
"bin": {
|
|
4
|
+
"skillfit": "dist/cli.js"
|
|
5
|
+
},
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/remote-controlled-man/skillfit/issues"
|
|
8
|
+
},
|
|
9
|
+
"dist": {
|
|
10
|
+
"shasum": "7aa8594fa5a84216be54f5cdf544f913240952ca",
|
|
11
|
+
"tarball": "https://registry.npmjs.org/skillfit/-/skillfit-0.12.0.tgz",
|
|
12
|
+
"fileCount": 2691,
|
|
13
|
+
"integrity": "sha512-d24OGf2kv8EhD+2WOag5+8oyYki1TzGPgLgRtJ0tPonw/4CgxU8HEa3ik/VY/vI/03sXoMsz56qy3tG5Kzsdow==",
|
|
14
|
+
"signatures": [
|
|
15
|
+
{
|
|
16
|
+
"sig": "MEYCIQDxhdKjlNfbHfPCp/PdwDcX1PrEADnJ3GNO449a0AENBAIhAO/jklylpCeXC15nVCN6Be02kpeBsSGAxu5ArkHB8bWZ",
|
|
17
|
+
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"sig": "MEYCIQCYhajRcSCg1OO5pH80hgVqpdMpgJcW19+9AfNJv7ofkQIhAJ4nmLtAuYwvx4ikW82PAbYGqWVc4X/w8RkXuWWqokz/",
|
|
21
|
+
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"attestations": {
|
|
25
|
+
"url": "https://registry.npmjs.org/-/npm/v1/attestations/skillfit@0.12.0",
|
|
26
|
+
"provenance": {
|
|
27
|
+
"predicateType": "https://slsa.dev/provenance/v1"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"unpackedSize": 38405424
|
|
31
|
+
},
|
|
32
|
+
"name": "skillfit",
|
|
33
|
+
"type": "module",
|
|
34
|
+
"_from": "file:/home/runner/work/_temp/skillfit-release/skillfit-0.12.0.tgz",
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": ">=22"
|
|
37
|
+
},
|
|
38
|
+
"license": "MIT",
|
|
39
|
+
"scripts": {
|
|
40
|
+
"test": "npm run build && node --test \"dist/**/*.test.js\" \"scripts/*.test.mjs\"",
|
|
41
|
+
"build": "tsc -p tsconfig.json",
|
|
42
|
+
"check": "npm run build && node --test \"dist/**/*.test.js\" \"scripts/*.test.mjs\"",
|
|
43
|
+
"doctor": "npm run build && node dist/cli.js doctor",
|
|
44
|
+
"prepublishOnly": "npm test"
|
|
45
|
+
},
|
|
46
|
+
"_npmUser": {
|
|
47
|
+
"name": "GitHub Actions",
|
|
48
|
+
"email": "npm-oidc-no-reply@github.com",
|
|
49
|
+
"trustedPublisher": {
|
|
50
|
+
"id": "github",
|
|
51
|
+
"oidcConfigId": "ea2de82d-9a5c-4d94-b23c-a8923fffeec4"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"homepage": "https://github.com/remote-controlled-man/skillfit#readme",
|
|
55
|
+
"keywords": [
|
|
56
|
+
"ai-coding-agent",
|
|
57
|
+
"agent-skills",
|
|
58
|
+
"claude-code",
|
|
59
|
+
"codex",
|
|
60
|
+
"kimi-code",
|
|
61
|
+
"mcp",
|
|
62
|
+
"agents-md",
|
|
63
|
+
"eval",
|
|
64
|
+
"benchmark"
|
|
65
|
+
],
|
|
66
|
+
"_resolved": "/home/runner/work/_temp/skillfit-release/skillfit-0.12.0.tgz",
|
|
67
|
+
"_integrity": "sha512-d24OGf2kv8EhD+2WOag5+8oyYki1TzGPgLgRtJ0tPonw/4CgxU8HEa3ik/VY/vI/03sXoMsz56qy3tG5Kzsdow==",
|
|
68
|
+
"repository": {
|
|
69
|
+
"url": "git+https://github.com/remote-controlled-man/skillfit.git",
|
|
70
|
+
"type": "git"
|
|
71
|
+
},
|
|
72
|
+
"_npmVersion": "11.19.0",
|
|
73
|
+
"description": "Evidence-driven configuration for AI coding agents: measure which skills, rules and MCP servers actually help \u2014 then install only those.",
|
|
74
|
+
"directories": {},
|
|
75
|
+
"maintainers": [
|
|
76
|
+
{
|
|
77
|
+
"name": "remote_controlled_man",
|
|
78
|
+
"email": "huangshuaidi666@gmail.com"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"_nodeVersion": "24.21.0",
|
|
82
|
+
"_hasShrinkwrap": false,
|
|
83
|
+
"devDependencies": {
|
|
84
|
+
"typescript": "^5.6.0",
|
|
85
|
+
"@types/node": "^22.0.0"
|
|
86
|
+
},
|
|
87
|
+
"_npmOperationalInternal": {
|
|
88
|
+
"tmp": "tmp/skillfit_0.12.0_1792213173962_0.6871580955615921",
|
|
89
|
+
"host": "s3://npm-registry-packages-npm-production"
|
|
90
|
+
},
|
|
91
|
+
"_id": "skillfit@0.12.0",
|
|
92
|
+
"version": "0.12.0"
|
|
93
|
+
},
|
|
94
|
+
"latest": "0.12.0",
|
|
95
|
+
"publishedAt": "2026-10-17T04:59:34.418Z"
|
|
96
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"verifiedAt": "2026-10-17T05:03:34.287158Z",
|
|
4
|
+
"version": "0.12.0",
|
|
5
|
+
"latest": "0.12.0",
|
|
6
|
+
"integrity": "sha512-d24OGf2kv8EhD+2WOag5+8oyYki1TzGPgLgRtJ0tPonw/4CgxU8HEa3ik/VY/vI/03sXoMsz56qy3tG5Kzsdow==",
|
|
7
|
+
"sha256": "7a95b59d4e18f479d0f4b3a562942c110e10a3f9c4b6ca3d4daf4849892cf50f",
|
|
8
|
+
"sourceCommit": "e1abbc8d398d64fcc94fcc7ed4d728372616341f",
|
|
9
|
+
"publishedAt": "2026-10-17T04:59:34.418Z",
|
|
10
|
+
"releaseDate": "2026-10-17",
|
|
11
|
+
"releaseTimeZone": "Asia/Shanghai",
|
|
12
|
+
"registry": "https://registry.npmjs.org/",
|
|
13
|
+
"tarball": "https://registry.npmjs.org/skillfit/-/skillfit-0.12.0.tgz",
|
|
14
|
+
"packageBytes": 22456090,
|
|
15
|
+
"installedFilesVerified": 2691,
|
|
16
|
+
"zeroRuntimeDependencies": true,
|
|
17
|
+
"globalInstall": false,
|
|
18
|
+
"modelCalls": 0,
|
|
19
|
+
"agentCliCalls": 0,
|
|
20
|
+
"automaticUpgrade": false,
|
|
21
|
+
"fullOfflineTestsPassed": 835,
|
|
22
|
+
"platformCI": {
|
|
23
|
+
"runUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/39003217736",
|
|
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/39003919562",
|
|
34
|
+
"runUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/39004138808",
|
|
35
|
+
"uploadCount": 1,
|
|
36
|
+
"workflowConclusion": "success",
|
|
37
|
+
"previewMatchesPublishedArchive": true,
|
|
38
|
+
"registryAttempts": 14,
|
|
39
|
+
"unavailableReadsRetained": 13
|
|
40
|
+
},
|
|
41
|
+
"ciRegistryReceipt": {
|
|
42
|
+
"path": "0.12.0-ci-registry-install.json",
|
|
43
|
+
"sha256": "ebcb550c89eb92b914ddf28271947c1ca0c258a83a6a28797a4eda21999d4ddf"
|
|
44
|
+
},
|
|
45
|
+
"localRegistryReceipt": {
|
|
46
|
+
"path": "0.12.0-local-registry-install.json",
|
|
47
|
+
"sha256": "8af201cf885e8fafa2a3ba18978da42b0764156b314c0fecabafe4ec4db6272c"
|
|
48
|
+
},
|
|
49
|
+
"registryMetadata": {
|
|
50
|
+
"path": "0.12.0-registry-metadata.json",
|
|
51
|
+
"sha256": "8dd194e0f21c35efe6815258eed8e697d69acada4049241a507d40cbbdd2b844"
|
|
52
|
+
},
|
|
53
|
+
"featureSmoke": {
|
|
54
|
+
"path": "0.12.0-feature-smoke.json",
|
|
55
|
+
"sha256": "95e39a1fba1b5931615ac4c10db47ca06ca95abfe98cd487b7ced5a0666d9b22",
|
|
56
|
+
"recipe": "0.12.0-feature-smoke.mjs",
|
|
57
|
+
"recipeSha256": "649b800da24eeddee7daf14575b1ba9969c7b7770c602b4089b64cac20d7eed3",
|
|
58
|
+
"regressionsPassed": 29,
|
|
59
|
+
"portableReplays": 5,
|
|
60
|
+
"installedCliStreamSuccessAndFailure": true
|
|
61
|
+
},
|
|
62
|
+
"foundationsSmoke": {
|
|
63
|
+
"path": "0.12.0-foundations-smoke.json",
|
|
64
|
+
"sha256": "290223ff4c21db3619ea652f21bb54e393a6a2d65cd575dafe2d904936f1ed92"
|
|
65
|
+
},
|
|
66
|
+
"preparationFailures": [
|
|
67
|
+
{
|
|
68
|
+
"path": "0.12.0-preparation-attempt-1.json",
|
|
69
|
+
"sha256": "396b1ef943e9246614c07058ec6d5267ea4163f360f444926ac70678433bccde"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"registryAudit": {
|
|
73
|
+
"exitCode": 0,
|
|
74
|
+
"packages": 1,
|
|
75
|
+
"verifiedRegistrySignatures": 1,
|
|
76
|
+
"verifiedAttestations": 1,
|
|
77
|
+
"log": {
|
|
78
|
+
"path": "0.12.0-signatures.txt",
|
|
79
|
+
"sha256": "bf9ebc033d6f67f9223bcc71b205b593066a0a77a7c9ca844944a3c812f644d2"
|
|
80
|
+
},
|
|
81
|
+
"sourceProof": {
|
|
82
|
+
"path": "0.12.0-attestation-check.json",
|
|
83
|
+
"sha256": "82a7757852ab4bac2df81324d7ad4c979a270de3ee260eff6832345d67b41cc7"
|
|
84
|
+
},
|
|
85
|
+
"attestations": {
|
|
86
|
+
"path": "0.12.0-attestations.json",
|
|
87
|
+
"sha256": "cf9f46e2da337a1f8fa3ddcc271400bfb8ba7dbfc4a98020e191fd5399c83963"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"verificationKind": "CI registry installation plus independent local installation, installed runtime checks and source provenance verification",
|
|
91
|
+
"comparisonSource": "extracted reviewed preview archive, byte-identical to the accepted CI archive; no local rebuild",
|
|
92
|
+
"scope": "CLI reliability and reproducibility; no new real Skill efficacy observations or upgrade eligibility",
|
|
93
|
+
"artifactRetrieval": {
|
|
94
|
+
"attempts": 2,
|
|
95
|
+
"firstFailure": "TLS handshake timeout while downloading the GitHub workflow artifact",
|
|
96
|
+
"finalAttempt": "verified in a fresh directory",
|
|
97
|
+
"publicationRetried": false
|
|
98
|
+
}
|
|
99
|
+
}
|
package/docs/releases/0.12.0.md
CHANGED
|
@@ -66,3 +66,17 @@ executors, fake HTTP and synthetic fixture programs; it never evaluates a real
|
|
|
66
66
|
model or Agent CLI. Use a fresh output directory and preserve failed attempts.
|
|
67
67
|
The immutable npm archive contains this preparation record; repository records
|
|
68
68
|
can later append registry verification for that same accepted archive.
|
|
69
|
+
|
|
70
|
+
## Verified publication
|
|
71
|
+
|
|
72
|
+
Published and verified as `skillfit@0.12.0` on 2026-10-17 at 12:59:34 Asia/Shanghai (04:59:34 UTC). The [verification receipt](0.12.0-verification.json) binds the source, archive, npm metadata, signatures, provenance and two isolated installations.
|
|
73
|
+
|
|
74
|
+
The [three-platform CI](https://github.com/remote-controlled-man/skillfit/actions/runs/39003217736), [OIDC preview](https://github.com/remote-controlled-man/skillfit/actions/runs/39003919562) and [publication workflow](https://github.com/remote-controlled-man/skillfit/actions/runs/39004138808) all passed. Publication used source `e1abbc8d398d64fcc94fcc7ed4d728372616341f` and uploaded exactly once.
|
|
75
|
+
|
|
76
|
+
The reviewed preview and accepted archive are byte-identical: 22,456,090 bytes, SHA-256 `7a95b59d4e18f479d0f4b3a562942c110e10a3f9c4b6ca3d4daf4849892cf50f`. Both CI and the [independent registry installation](0.12.0-local-registry-install.json) compared all 2,691 installed files with that archive. The [CI receipt](0.12.0-ci-registry-install.json) retains every unavailable registry observation before success.
|
|
77
|
+
|
|
78
|
+
The [installed-feature receipt](0.12.0-feature-smoke.json) records 29 packaged regressions, the pinned seven-group foundations checks, five moved portable replays and Node-only stream success/failure probes. The [registry signature log](0.12.0-signatures.txt) and [source attestation check](0.12.0-attestation-check.json) verify the installed package and bind it to the original workflow source. Real model/API/Agent CLI calls added: **0**.
|
|
79
|
+
|
|
80
|
+
The [initial local preparation failure](0.12.0-preparation-attempt-1.json) remains recorded separately from successful checks. The immutable npm archive contains the preparation record above; these final repository receipts were appended after registry verification. Historical release/study evidence and acceptance policy remain unchanged.
|
|
81
|
+
|
|
82
|
+
The first GitHub artifact download hit a TLS timeout; a read-only download into a fresh directory succeeded. This did not repeat the npm upload; the sanitized observation is retained in the verification receipt.
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import assert from 'node:assert/strict';
|
|
2
|
+
import { createHash } from 'node:crypto';
|
|
3
|
+
import { spawnSync } from 'node:child_process';
|
|
4
|
+
import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';
|
|
5
|
+
import { join, resolve } from 'node:path';
|
|
6
|
+
import { promises as fs } from 'node:fs';
|
|
7
|
+
import { pathToFileURL } from 'node:url';
|
|
8
|
+
|
|
9
|
+
// Keep the published 0.11.0 recipe immutable. This explicit derived recipe only
|
|
10
|
+
// changes its asserted version; the original seven workflow checks stay intact.
|
|
11
|
+
assert.equal(process.argv.length, 4, 'Provide package and fresh output directories.');
|
|
12
|
+
const installed = resolve(process.argv[2]), parent = resolve(process.argv[3]);
|
|
13
|
+
assert.equal(JSON.parse(readFileSync(join(installed, 'package.json'), 'utf8')).version, '0.13.0');
|
|
14
|
+
assert.equal(existsSync(parent), false, 'Preserve previous receipts; choose a fresh output parent.');
|
|
15
|
+
const original = readFileSync(new URL('0.11.0-feature-smoke.mjs', import.meta.url), 'utf8');
|
|
16
|
+
const sourceSha256 = createHash('sha256').update(original).digest('hex');
|
|
17
|
+
assert.equal(sourceSha256, 'aeb14d990bc65e05ec1ea7dc42ac6cadbd5af2bf11603430972ccaddbe4ee870');
|
|
18
|
+
const derived = original.replaceAll('0.11.0', '0.13.0');
|
|
19
|
+
mkdirSync(parent, { recursive: true });
|
|
20
|
+
const env = { ...process.env };
|
|
21
|
+
for (const key of Object.keys(env)) if (/^(SKILLFIT_|OPENAI_|ANTHROPIC_)/.test(key)) delete env[key];
|
|
22
|
+
const home = join(parent, 'home'); mkdirSync(home);
|
|
23
|
+
Object.assign(env, { HOME: home, USERPROFILE: home, CODEX_HOME: join(home, 'codex') });
|
|
24
|
+
const run = (args, name, input) => {
|
|
25
|
+
const result = spawnSync(process.execPath, args, { cwd: parent, env, input,
|
|
26
|
+
encoding: 'utf8', timeout: 180_000, maxBuffer: 32 * 1024 * 1024 });
|
|
27
|
+
writeFileSync(join(parent, `${name}.stdout.log`), result.stdout ?? '', { flag: 'wx' });
|
|
28
|
+
writeFileSync(join(parent, `${name}.stderr.log`), result.stderr ?? '', { flag: 'wx' });
|
|
29
|
+
assert.equal(result.status, 0, `${name}: ${result.error || result.stderr || result.stdout}`);
|
|
30
|
+
return result.stdout;
|
|
31
|
+
};
|
|
32
|
+
run(['--input-type=module', '-', installed, join(parent, 'foundations')], 'foundations', derived);
|
|
33
|
+
const regressions = [
|
|
34
|
+
'commands/bench-source.test.js', 'commands/bench-draft.test.js',
|
|
35
|
+
'commands/eval-layout.test.js', 'commands/eval-api-failure.test.js',
|
|
36
|
+
'harness/verifier-timeout.test.js', 'harness/bench-location.test.js',
|
|
37
|
+
];
|
|
38
|
+
const output = run(['--test', '--test-reporter=tap', ...regressions.map(file => join(installed, 'dist', file))], 'regressions');
|
|
39
|
+
const count = label => Number(output.match(new RegExp(`^# ${label} (\\d+)$`, 'm'))?.[1] ?? NaN);
|
|
40
|
+
assert.ok(count('tests') > 0); assert.equal(count('pass'), count('tests'));
|
|
41
|
+
assert.equal(count('fail'), 0); assert.equal(count('skipped'), 0); assert.equal(count('cancelled'), 0);
|
|
42
|
+
const foundations = JSON.parse(readFileSync(join(parent, 'foundations/feature-smoke.json'), 'utf8'));
|
|
43
|
+
// The full CLI unit suite also asserts source architecture using unshipped .ts
|
|
44
|
+
// files. Keep that suite in source CI; verify the installed stream reader here
|
|
45
|
+
// through its real public runtime with Node-only fake subprocesses.
|
|
46
|
+
const { CliExecutor } = await import(pathToFileURL(join(installed, 'dist/harness/executors/cli.js')).href);
|
|
47
|
+
const events = [
|
|
48
|
+
{ type: 'item.completed', item: { type: 'agent_message', text: 'offline installed stream' } },
|
|
49
|
+
{ type: 'turn.completed', usage: { input_tokens: 12, cached_input_tokens: 7, output_tokens: 3 } },
|
|
50
|
+
];
|
|
51
|
+
const stream = events.map(event => JSON.stringify(event)).join('\n') + '\n';
|
|
52
|
+
for (const exitCode of [0, 1]) {
|
|
53
|
+
const executor = new CliExecutor({ argv: [process.execPath, '-e',
|
|
54
|
+
`process.stdin.resume();process.stdin.on('end',()=>{process.stdout.write(${JSON.stringify(stream)});process.exitCode=${exitCode};});`],
|
|
55
|
+
shell: false, streamJson: true, env, timeoutMs: 10_000 });
|
|
56
|
+
let result;
|
|
57
|
+
if (exitCode === 0) result = await executor.run('offline probe', home);
|
|
58
|
+
else await assert.rejects(executor.run('offline probe', home), error => {
|
|
59
|
+
assert.equal(error.name, 'ExecutorFailure'); result = error.result; return true;
|
|
60
|
+
});
|
|
61
|
+
assert.equal(result.output, 'offline installed stream');
|
|
62
|
+
assert.deepEqual(result.tokens, { input: 12, cachedInput: 7, output: 3 });
|
|
63
|
+
assert.equal(result.skillTriggered, undefined);
|
|
64
|
+
assert.equal(result.usageStatus, exitCode === 0 ? 'final' : 'partial');
|
|
65
|
+
}
|
|
66
|
+
// Exercise installed configuration writers only in explicit temporary homes.
|
|
67
|
+
const configurationRoot = join(parent, 'configuration'), sourceHome = join(configurationRoot, 'source-home');
|
|
68
|
+
await fs.mkdir(join(sourceHome, '.codex'), { recursive: true });
|
|
69
|
+
const rules = join(sourceHome, '.codex/AGENTS.md'), originalRules = 'personal global guidance\n';
|
|
70
|
+
await fs.writeFile(rules, originalRules, { flag: 'wx' });
|
|
71
|
+
const { runInstall } = await import(pathToFileURL(join(installed, 'dist/commands/install.js')).href);
|
|
72
|
+
const { runBundleExport } = await import(pathToFileURL(join(installed, 'dist/commands/bundle.js')).href);
|
|
73
|
+
const options = { profile: 'recommended', agent: 'codex', homeDir: sourceHome,
|
|
74
|
+
projectDir: configurationRoot, env: { PATH: '' }, yes: true, log: () => {} };
|
|
75
|
+
await runInstall({ ...options, dryRun: true });
|
|
76
|
+
assert.equal(await fs.readFile(rules, 'utf8'), originalRules);
|
|
77
|
+
assert.equal(existsSync(join(sourceHome, 'skillfit.lock.json')), false);
|
|
78
|
+
await runInstall(options);
|
|
79
|
+
assert.equal(await fs.readFile(rules + '.skillfit-bak', 'utf8'), originalRules);
|
|
80
|
+
const lock = await fs.readFile(join(sourceHome, 'skillfit.lock.json'));
|
|
81
|
+
await runInstall(options);
|
|
82
|
+
assert.deepEqual(await fs.readFile(join(sourceHome, 'skillfit.lock.json')), lock);
|
|
83
|
+
const bundle = join(configurationRoot, 'portable'), relocated = join(configurationRoot, 'relocated');
|
|
84
|
+
await runBundleExport({ outputDir: bundle, homeDir: sourceHome, env: { PATH: '' },
|
|
85
|
+
skillNames: ['commit-message'], yes: true, log: () => {} });
|
|
86
|
+
await fs.mkdir(relocated);
|
|
87
|
+
const moved = join(relocated, 'portable');
|
|
88
|
+
await fs.rename(bundle, moved);
|
|
89
|
+
await fs.stat(join(moved, 'runtime/install/transaction.js'));
|
|
90
|
+
await fs.rm(sourceHome, { recursive: true });
|
|
91
|
+
const targetHome = join(configurationRoot, 'target-home');
|
|
92
|
+
await fs.mkdir(targetHome);
|
|
93
|
+
const targetEnv = { HOME: targetHome, USERPROFILE: targetHome,
|
|
94
|
+
CODEX_HOME: join(targetHome, 'codex'), PATH: '' };
|
|
95
|
+
for (const flags of [['--dry-run'], ['--yes'], ['--yes']]) {
|
|
96
|
+
const result = spawnSync(process.execPath, [join(moved, 'setup.mjs'), ...flags], {
|
|
97
|
+
cwd: configurationRoot, env: targetEnv, encoding: 'utf8', timeout: 30_000 });
|
|
98
|
+
assert.equal(result.status, 0, result.error || result.stderr || result.stdout);
|
|
99
|
+
if (flags[0] === '--dry-run') assert.deepEqual(await fs.readdir(targetHome), []);
|
|
100
|
+
}
|
|
101
|
+
assert.match(await fs.readFile(join(targetHome, 'codex/AGENTS.md'), 'utf8'), /personal global guidance/);
|
|
102
|
+
await fs.stat(join(targetHome, '.agents/skills/commit-message/SKILL.md'));
|
|
103
|
+
const configuration = { previewPreserved: true, firstBackupPreserved: true,
|
|
104
|
+
reinstallLockUnchanged: true, movedBundlePreviewInstallReinstall: true,
|
|
105
|
+
realUserConfigurationWrites: 0 };
|
|
106
|
+
const receipt = { schemaVersion: 1, kind: 'skillfit.release-workflow-smoke', version: '0.13.0',
|
|
107
|
+
verifiedAt: new Date().toISOString(), packagePath: installed, nodeVersion: process.version,
|
|
108
|
+
modelCalls: 0, agentCliCalls: 0, configuration, foundationRecipeSha256: sourceSha256,
|
|
109
|
+
foundationChecks: foundations.checks, syntheticExecutorCalls: foundations.syntheticExecutorCalls,
|
|
110
|
+
portableReplays: 5, regressionFiles: regressions, regressionsPassed: count('tests'),
|
|
111
|
+
installedCliStreamSuccessAndFailure: true, syntheticNodeSubprocesses: 2,
|
|
112
|
+
scope: 'Offline checks of the supplied package; no registry availability or efficacy claim.' };
|
|
113
|
+
writeFileSync(join(parent, 'feature-smoke.json'), JSON.stringify(receipt, null, 2) + '\n', { flag: 'wx' });
|
|
114
|
+
console.log(JSON.stringify(receipt));
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "0.13.0",
|
|
4
|
+
"kind": "local-release-preparation",
|
|
5
|
+
"verifiedAt": "2026-10-21T03:45:14.839Z",
|
|
6
|
+
"baseCommit": "5cef1f0a42e50a70446dd2f924a100241a881f9b",
|
|
7
|
+
"comparisonSource": "local release-preparation working tree, not a registry archive",
|
|
8
|
+
"nodeVersion": "v24.21.0",
|
|
9
|
+
"npmVersion": "11.19.0",
|
|
10
|
+
"fullOfflineTests": {
|
|
11
|
+
"tests": 877,
|
|
12
|
+
"passed": 877,
|
|
13
|
+
"failed": 0,
|
|
14
|
+
"skipped": 0
|
|
15
|
+
},
|
|
16
|
+
"architecture": {
|
|
17
|
+
"modules": 79,
|
|
18
|
+
"violations": 0
|
|
19
|
+
},
|
|
20
|
+
"documentation": {
|
|
21
|
+
"activeFiles": 45,
|
|
22
|
+
"brokenLinks": 0,
|
|
23
|
+
"readmeCodeBlocksMatch": true
|
|
24
|
+
},
|
|
25
|
+
"benches": {
|
|
26
|
+
"codeReviewPassed": 27,
|
|
27
|
+
"debuggingPassed": 36,
|
|
28
|
+
"contributedFailures": 0,
|
|
29
|
+
"existingContributedWarnings": 13
|
|
30
|
+
},
|
|
31
|
+
"package": {
|
|
32
|
+
"files": 2644,
|
|
33
|
+
"size": 2820832,
|
|
34
|
+
"unpackedSize": 18373954,
|
|
35
|
+
"integrity": "sha512-OmRSY7zsN/4zpXDGNwAvUly9dUTVESgAOU6LDtOmwERZ51UAbQZn/NhoJGWXHFADHML21RDQ354cnrGyLhMmKw==",
|
|
36
|
+
"sha256": "599e3c8df4073007b22f77a1192d1801c6f61c48b70eef9340dc3e4284779a22",
|
|
37
|
+
"installedFilesVerified": 2644
|
|
38
|
+
},
|
|
39
|
+
"features": {
|
|
40
|
+
"schemaVersion": 1,
|
|
41
|
+
"kind": "skillfit.release-workflow-smoke",
|
|
42
|
+
"version": "0.13.0",
|
|
43
|
+
"verifiedAt": "2026-10-21T03:45:14.839Z",
|
|
44
|
+
"packagePath": "/private/tmp/skillfit-013-preparation-77lmvp44/prefix/node_modules/skillfit",
|
|
45
|
+
"nodeVersion": "v24.21.0",
|
|
46
|
+
"modelCalls": 0,
|
|
47
|
+
"agentCliCalls": 0,
|
|
48
|
+
"configuration": {
|
|
49
|
+
"previewPreserved": true,
|
|
50
|
+
"firstBackupPreserved": true,
|
|
51
|
+
"reinstallLockUnchanged": true,
|
|
52
|
+
"movedBundlePreviewInstallReinstall": true,
|
|
53
|
+
"realUserConfigurationWrites": 0
|
|
54
|
+
},
|
|
55
|
+
"foundationRecipeSha256": "aeb14d990bc65e05ec1ea7dc42ac6cadbd5af2bf11603430972ccaddbe4ee870",
|
|
56
|
+
"foundationChecks": {
|
|
57
|
+
"versionAndPublicFlags": true,
|
|
58
|
+
"publicPreviewsArePureWithoutAgentCli": true,
|
|
59
|
+
"calibrationHardFailurePreventsSpending": true,
|
|
60
|
+
"judgeBothOrdersRetainCompleteRoleAndTotalCosts": true,
|
|
61
|
+
"triggerBudgetAndIncompleteUsageStopWithoutRetries": true,
|
|
62
|
+
"allModesMoveDeleteOriginalReplayWithExactCosts": true,
|
|
63
|
+
"noAdoptionFromSyntheticOrStoppedEvidence": true
|
|
64
|
+
},
|
|
65
|
+
"syntheticExecutorCalls": 8,
|
|
66
|
+
"portableReplays": 5,
|
|
67
|
+
"regressionFiles": [
|
|
68
|
+
"commands/bench-source.test.js",
|
|
69
|
+
"commands/bench-draft.test.js",
|
|
70
|
+
"commands/eval-layout.test.js",
|
|
71
|
+
"commands/eval-api-failure.test.js",
|
|
72
|
+
"harness/verifier-timeout.test.js",
|
|
73
|
+
"harness/bench-location.test.js"
|
|
74
|
+
],
|
|
75
|
+
"regressionsPassed": 29,
|
|
76
|
+
"installedCliStreamSuccessAndFailure": true,
|
|
77
|
+
"syntheticNodeSubprocesses": 2,
|
|
78
|
+
"scope": "Offline checks of the supplied package; no registry availability or efficacy claim."
|
|
79
|
+
},
|
|
80
|
+
"archives": {
|
|
81
|
+
"kind": "skillfit.archive-delivery-smoke",
|
|
82
|
+
"version": "0.13.0",
|
|
83
|
+
"nodeVersion": "v24.21.0",
|
|
84
|
+
"sourceCommit": "56b4dc68e115475e197c6510c9cb2235a5ad2c62",
|
|
85
|
+
"archivesRestored": 19,
|
|
86
|
+
"supportFilesRestored": 1583,
|
|
87
|
+
"inlineSupportFiles": 4,
|
|
88
|
+
"previewWrites": 0,
|
|
89
|
+
"networkAttempts": 0,
|
|
90
|
+
"modelCalls": 0,
|
|
91
|
+
"collisionPreserved": true
|
|
92
|
+
},
|
|
93
|
+
"review": {
|
|
94
|
+
"versionAndLockAligned": true,
|
|
95
|
+
"runtimeDependenciesAdded": 0,
|
|
96
|
+
"oldReleaseRecipesChanged": false,
|
|
97
|
+
"historicalArtifactsChanged": false,
|
|
98
|
+
"privateLabRead": false,
|
|
99
|
+
"blockingFindings": []
|
|
100
|
+
},
|
|
101
|
+
"npmPublished": false
|
|
102
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# skillfit 0.13.0
|
|
2
|
+
|
|
3
|
+
This release separates installation file transactions and makes historical
|
|
4
|
+
archive downloads explicit. The implementation was reviewed in
|
|
5
|
+
[PR #45](https://github.com/remote-controlled-man/skillfit/pull/45).
|
|
6
|
+
Publication follows the existing [manual OIDC procedure](trusted-publishing.md).
|
|
7
|
+
This preparation record does not establish npm availability; publication and
|
|
8
|
+
independent verification receipts will be appended after registry checks.
|
|
9
|
+
|
|
10
|
+
## Included behavior
|
|
11
|
+
|
|
12
|
+
- Installation planning delegates file operations to a dedicated transaction
|
|
13
|
+
module. First backups survive competing writes, and failed rollback/cleanup
|
|
14
|
+
preserves recovery copies and the original errors. Existing CLI parameters,
|
|
15
|
+
confirmation, previews and user configuration backup behavior remain.
|
|
16
|
+
- npm excludes exactly 19 historical compressed archives. Git originals and
|
|
17
|
+
frozen replay support remain. A shipped catalog/restore tool retrieves
|
|
18
|
+
fixed-commit bytes, checks size/SHA-256 and prepares a fresh historical
|
|
19
|
+
workspace. Normal install/eval/CLI commands never download archives.
|
|
20
|
+
- Restoration supports zero-write previews, selected IDs, all archives and a
|
|
21
|
+
fully offline local source. Existing outputs, package contents and source
|
|
22
|
+
directories are protected from overwrite. See the
|
|
23
|
+
[restore guide](../archive-delivery.md) and [inventory](../archive-inventory.md).
|
|
24
|
+
|
|
25
|
+
## Compatibility and installed verification
|
|
26
|
+
|
|
27
|
+
Existing historical recipes now need explicit restoration before extraction.
|
|
28
|
+
Version 0.12.0 and earlier keep their original npm contents and immutable recipes.
|
|
29
|
+
The CLI/restorer requires Node >=22. Frozen historical recipes retain their
|
|
30
|
+
original Node 24.21.0/TypeScript/POSIX requirements; no new Windows replay claim
|
|
31
|
+
is made. Statistical/adoption contracts and real Skill efficacy evidence remain
|
|
32
|
+
unchanged. Runtime dependencies, real model/API and Agent CLI calls added: **0**.
|
|
33
|
+
|
|
34
|
+
The new recipe preserves the pinned seven-group foundations checks, five moved
|
|
35
|
+
portable replays, 29 packaged regressions and synthetic stream probes from the
|
|
36
|
+
previous release. It also verifies temporary configuration previews, first
|
|
37
|
+
backups, idempotent reinstall and a moved bundle's preview/install/reinstall.
|
|
38
|
+
All configuration writes use isolated temporary homes.
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
node docs/releases/0.13.0-feature-smoke.mjs /absolute/path/to/node_modules/skillfit /tmp/skillfit-0.13.0-feature-smoke
|
|
42
|
+
node docs/releases/archive-delivery-smoke.mjs /absolute/path/to/node_modules/skillfit /absolute/path/to/verified-archive-workspace /tmp/skillfit-0.13.0-archive-smoke
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Choose fresh output directories and preserve failed attempts. The independent
|
|
46
|
+
archive check restores and verifies 19 archives plus 1,583 support files, refuses
|
|
47
|
+
existing destinations and proves preview purity and zero network use. It does
|
|
48
|
+
not establish registry availability. The
|
|
49
|
+
[release plan](../plans/2026-10-21-npm-0.13.0-release.md) tracks preparation,
|
|
50
|
+
review, publication and actual verification results separately.
|
|
51
|
+
|
|
52
|
+
## Preparation validation
|
|
53
|
+
|
|
54
|
+
The [local preparation receipt](0.13.0-preparation.json) records 877/877 offline
|
|
55
|
+
tests, zero failures/skips, architecture/documentation/bench checks and an actual
|
|
56
|
+
2,820,832-byte package with 2,644 installed files compared individually. The
|
|
57
|
+
installed recipe passed all seven foundations groups, five moved portable
|
|
58
|
+
replays, 29 packaged regressions and temporary configuration/bundle checks.
|
|
59
|
+
All 19 archives and 1,583 support files restored offline with collision/preview
|
|
60
|
+
checks. These measurements precede final preparation records and do not
|
|
61
|
+
represent the registry archive. No blocking review findings remain.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import assert from 'node:assert/strict';
|
|
2
|
+
import { createHash } from 'node:crypto';
|
|
3
|
+
import { promises as fs } from 'node:fs';
|
|
4
|
+
import path from 'node:path';
|
|
5
|
+
import { pathToFileURL } from 'node:url';
|
|
6
|
+
|
|
7
|
+
// Supplement the versioned feature recipe. Source archives are explicit local
|
|
8
|
+
// inputs; installed code/support files must work without a source checkout.
|
|
9
|
+
assert.equal(process.argv.length, 5, 'Provide installed package, local archive root and fresh output parent.');
|
|
10
|
+
const installed = await fs.realpath(process.argv[2]), source = await fs.realpath(process.argv[3]);
|
|
11
|
+
const requested = path.resolve(process.argv[4]);
|
|
12
|
+
const parent = path.join(await fs.realpath(path.dirname(requested)), path.basename(requested));
|
|
13
|
+
for (const input of [installed, source]) {
|
|
14
|
+
assert.ok(!parent.startsWith(input + path.sep) && parent !== input, 'Keep outputs outside the installed package and archive source.');
|
|
15
|
+
}
|
|
16
|
+
await fs.mkdir(parent); // Exclusive: previous receipts are never overwritten.
|
|
17
|
+
const { readCatalog, restoreArchives } = await import(pathToFileURL(path.join(installed, 'evidence/fetch-archives.mjs')));
|
|
18
|
+
const catalog = await readCatalog(installed), output = path.join(parent, 'restored');
|
|
19
|
+
for (const row of catalog.archives) await assert.rejects(fs.lstat(path.join(installed, row.path)), { code: 'ENOENT' });
|
|
20
|
+
let networkAttempts = 0;
|
|
21
|
+
const fetchImpl = () => { networkAttempts++; throw new Error('Network forbidden in installed archive smoke'); };
|
|
22
|
+
assert.equal((await restoreArchives({ all: true, output, fetchImpl, log: () => {} })).status, 'planned');
|
|
23
|
+
await assert.rejects(fs.lstat(output), { code: 'ENOENT' });
|
|
24
|
+
await restoreArchives({ all: true, output, from: source, offline: true, yes: true, fetchImpl, log: () => {} });
|
|
25
|
+
for (const row of [...catalog.archives, ...catalog.supportFiles]) {
|
|
26
|
+
const bytes = await fs.readFile(path.join(output, row.path));
|
|
27
|
+
assert.equal(bytes.length, row.bytes, row.path);
|
|
28
|
+
assert.equal(createHash('sha256').update(bytes).digest('hex'), row.sha256, row.path);
|
|
29
|
+
}
|
|
30
|
+
await assert.rejects(restoreArchives({ all: true, output, from: source, offline: true, yes: true, fetchImpl, log: () => {} }), /already exists/);
|
|
31
|
+
assert.equal(networkAttempts, 0);
|
|
32
|
+
const receipt = { kind: 'skillfit.archive-delivery-smoke', version: JSON.parse(await fs.readFile(path.join(installed, 'package.json'), 'utf8')).version,
|
|
33
|
+
nodeVersion: process.version, sourceCommit: catalog.source.commit, archivesRestored: catalog.archives.length,
|
|
34
|
+
supportFilesRestored: catalog.supportFiles.length, inlineSupportFiles: catalog.supportFiles.filter(row => row.inlineBase64 !== undefined).length,
|
|
35
|
+
previewWrites: 0, networkAttempts, modelCalls: 0, collisionPreserved: true };
|
|
36
|
+
await fs.writeFile(path.join(parent, 'archive-delivery-smoke.json'), JSON.stringify(receipt, null, 2) + '\n', { flag: 'wx' });
|
|
37
|
+
console.log(JSON.stringify(receipt));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This example checks the two benches bundled with skillfit. It uses deterministic Node verifiers and
|
|
4
4
|
reference solutions, with no agent CLI or model API call. After cloning, installing dev dependencies,
|
|
5
|
-
and building as shown in the [quick start](../README.md#
|
|
5
|
+
and building as shown in the [quick start](../README.md#run-from-source), run:
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
node dist/cli.js bench check benches/code-review
|