skillfit 0.13.0 → 0.13.1

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 (29) hide show
  1. package/README.md +7 -7
  2. package/README.zh-CN.md +7 -7
  3. package/docs/archive-delivery.md +3 -3
  4. package/docs/first-real-eval.md +12 -10
  5. package/docs/growth-roadmap-2026-10.md +11 -8
  6. package/docs/package-contents.md +9 -2
  7. package/docs/plans/2026-10-20-install-transactions-and-archive-delivery.md +2 -2
  8. package/docs/plans/2026-10-21-npm-0.13.0-release.md +42 -9
  9. package/docs/plans/2026-10-21-npm-0.13.1-release.md +38 -0
  10. package/docs/releases/0.13.0-archive-replays.json +266 -0
  11. package/docs/releases/0.13.0-archive-restoration.json +168 -0
  12. package/docs/releases/0.13.0-attestation-check.json +22 -0
  13. package/docs/releases/0.13.0-attestations.json +147 -0
  14. package/docs/releases/0.13.0-ci-registry-install.json +60 -0
  15. package/docs/releases/0.13.0-feature-smoke.json +41 -0
  16. package/docs/releases/0.13.0-foundations-smoke.json +1576 -0
  17. package/docs/releases/0.13.0-local-registry-install.json +40 -0
  18. package/docs/releases/0.13.0-preview-review.json +16 -0
  19. package/docs/releases/0.13.0-registry-metadata.json +92 -0
  20. package/docs/releases/0.13.0-signatures.txt +12 -0
  21. package/docs/releases/0.13.0-verification.json +136 -0
  22. package/docs/releases/0.13.0.md +51 -0
  23. package/docs/releases/0.13.1-feature-smoke.mjs +116 -0
  24. package/docs/releases/0.13.1-preparation-failure-1.json +25 -0
  25. package/docs/releases/0.13.1-preparation.json +149 -0
  26. package/docs/releases/0.13.1.md +62 -0
  27. package/docs/releases/release-docs-smoke.mjs +37 -0
  28. package/package.json +1 -1
  29. package/skills/skillfit/SKILL.md +20 -6
@@ -0,0 +1,40 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "verifiedAt": "2026-10-21T04:13:53.587Z",
4
+ "version": "0.13.0",
5
+ "latest": "0.13.0",
6
+ "integrity": "sha512-KGf00E7hUY/bB+4D4U0/FIcvt+MvqH+ls6zOHtQsbQvt39ZG9qMrPN6YmwofCJR8q4zWi3IvwnX1iBl36EZOrw==",
7
+ "sha256": "197053d0b5aeb7769c66b58db9f5117dd0dd66795f23a84deef40db9a1d5adb8",
8
+ "sourceCommit": "830e9c41ef89ffe5b024b8a2137c061dd2cab933",
9
+ "installedFilesVerified": 2645,
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-21T04:12:16.180Z",
21
+ "versionStatus": 404,
22
+ "latestStatus": 200
23
+ },
24
+ {
25
+ "at": "2026-10-21T04:12:47.610Z",
26
+ "versionStatus": 404,
27
+ "latestStatus": 200
28
+ },
29
+ {
30
+ "at": "2026-10-21T04:13:18.995Z",
31
+ "versionStatus": 404,
32
+ "latestStatus": 200
33
+ },
34
+ {
35
+ "at": "2026-10-21T04:13:50.078Z",
36
+ "versionStatus": 200,
37
+ "latestStatus": 200
38
+ }
39
+ ]
40
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "version": "0.13.0",
4
+ "sourceCommit": "830e9c41ef89ffe5b024b8a2137c061dd2cab933",
5
+ "dryRun": true,
6
+ "size": 2821770,
7
+ "unpackedSize": 18378490,
8
+ "files": 2645,
9
+ "integrity": "sha512-KGf00E7hUY/bB+4D4U0/FIcvt+MvqH+ls6zOHtQsbQvt39ZG9qMrPN6YmwofCJR8q4zWi3IvwnX1iBl36EZOrw==",
10
+ "sha256": "197053d0b5aeb7769c66b58db9f5117dd0dd66795f23a84deef40db9a1d5adb8",
11
+ "installedFilesVerified": 2645,
12
+ "featureReceipt": "/private/tmp/skillfit-013-preview/features/feature-smoke.json",
13
+ "archiveReceipt": "/private/tmp/skillfit-013-preview/archives/archive-delivery-smoke.json",
14
+ "reviewBlockingFindings": [],
15
+ "npmPublished": false
16
+ }
@@ -0,0 +1,92 @@
1
+ {
2
+ "bin": {
3
+ "skillfit": "dist/cli.js"
4
+ },
5
+ "bugs": {
6
+ "url": "https://github.com/remote-controlled-man/skillfit/issues"
7
+ },
8
+ "dist": {
9
+ "shasum": "a8a582701f0d9404a95c6f6885a3000614f2f439",
10
+ "tarball": "https://registry.npmjs.org/skillfit/-/skillfit-0.13.0.tgz",
11
+ "fileCount": 2645,
12
+ "integrity": "sha512-KGf00E7hUY/bB+4D4U0/FIcvt+MvqH+ls6zOHtQsbQvt39ZG9qMrPN6YmwofCJR8q4zWi3IvwnX1iBl36EZOrw==",
13
+ "signatures": [
14
+ {
15
+ "sig": "MEUCIHvQoJN2fEkFC3syMyVtkahSzREtVfwFYOYqrtTHutp7AiEAi9T5F+612azWwdU1u3XwczWXfp1gGVpRFRiz+VB1R7w=",
16
+ "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
17
+ },
18
+ {
19
+ "sig": "MEUCIDhyGx5e9NhbQU7qPqgkd+PiagywJVuMzIf4fPKYZiRiAiEAmTPw9VgigwucFLFAi3cKQSFCa7Xin6JAS2wgR9XAzRY=",
20
+ "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
21
+ }
22
+ ],
23
+ "attestations": {
24
+ "url": "https://registry.npmjs.org/-/npm/v1/attestations/skillfit@0.13.0",
25
+ "provenance": {
26
+ "predicateType": "https://slsa.dev/provenance/v1"
27
+ }
28
+ },
29
+ "unpackedSize": 18378490
30
+ },
31
+ "name": "skillfit",
32
+ "type": "module",
33
+ "_from": "file:/home/runner/work/_temp/skillfit-release/skillfit-0.13.0.tgz",
34
+ "engines": {
35
+ "node": ">=22"
36
+ },
37
+ "license": "MIT",
38
+ "scripts": {
39
+ "test": "npm run build && node --test \"dist/**/*.test.js\" \"scripts/*.test.mjs\"",
40
+ "build": "tsc -p tsconfig.json",
41
+ "check": "npm run build && node --test \"dist/**/*.test.js\" \"scripts/*.test.mjs\"",
42
+ "doctor": "npm run build && node dist/cli.js doctor",
43
+ "prepublishOnly": "npm test"
44
+ },
45
+ "_npmUser": {
46
+ "name": "GitHub Actions",
47
+ "email": "npm-oidc-no-reply@github.com",
48
+ "trustedPublisher": {
49
+ "id": "github",
50
+ "oidcConfigId": "ea2de82d-9a5c-4d94-b23c-a8923fffeec4"
51
+ }
52
+ },
53
+ "homepage": "https://github.com/remote-controlled-man/skillfit#readme",
54
+ "keywords": [
55
+ "ai-coding-agent",
56
+ "agent-skills",
57
+ "claude-code",
58
+ "codex",
59
+ "kimi-code",
60
+ "mcp",
61
+ "agents-md",
62
+ "eval",
63
+ "benchmark"
64
+ ],
65
+ "_resolved": "/home/runner/work/_temp/skillfit-release/skillfit-0.13.0.tgz",
66
+ "_integrity": "sha512-KGf00E7hUY/bB+4D4U0/FIcvt+MvqH+ls6zOHtQsbQvt39ZG9qMrPN6YmwofCJR8q4zWi3IvwnX1iBl36EZOrw==",
67
+ "repository": {
68
+ "url": "git+https://github.com/remote-controlled-man/skillfit.git",
69
+ "type": "git"
70
+ },
71
+ "_npmVersion": "11.19.1",
72
+ "description": "Evidence-driven configuration for AI coding agents: measure which skills, rules and MCP servers actually help — then install only those.",
73
+ "directories": {},
74
+ "maintainers": [
75
+ {
76
+ "name": "remote_controlled_man",
77
+ "email": "huangshuaidi666@gmail.com"
78
+ }
79
+ ],
80
+ "_nodeVersion": "24.22.0",
81
+ "_hasShrinkwrap": false,
82
+ "devDependencies": {
83
+ "typescript": "^5.6.0",
84
+ "@types/node": "^22.0.0"
85
+ },
86
+ "_npmOperationalInternal": {
87
+ "tmp": "tmp/skillfit_0.13.0_1792556018548_0.3338505510610428",
88
+ "host": "s3://npm-registry-packages-npm-production"
89
+ },
90
+ "_id": "skillfit@0.13.0",
91
+ "version": "0.13.0"
92
+ }
@@ -0,0 +1,12 @@
1
+ audited 1 package in 2s
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
+
8
+ npm notice
9
+ npm notice New major version of npm available! 11.19.0 -> 12.2.0
10
+ npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.0
11
+ npm notice To update run: npm install -g npm@12.2.0
12
+ npm notice
@@ -0,0 +1,136 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "verifiedAt": "2026-10-21T04:21:32.383425Z",
4
+ "version": "0.13.0",
5
+ "latest": "0.13.0",
6
+ "publishedAt": "2026-10-21T04:13:38.737Z",
7
+ "releaseDate": "2026-10-21",
8
+ "releaseTimeZone": "Asia/Shanghai",
9
+ "registry": "https://registry.npmjs.org/",
10
+ "tarball": "https://registry.npmjs.org/skillfit/-/skillfit-0.13.0.tgz",
11
+ "sourceCommit": "830e9c41ef89ffe5b024b8a2137c061dd2cab933",
12
+ "integrity": "sha512-KGf00E7hUY/bB+4D4U0/FIcvt+MvqH+ls6zOHtQsbQvt39ZG9qMrPN6YmwofCJR8q4zWi3IvwnX1iBl36EZOrw==",
13
+ "sha256": "197053d0b5aeb7769c66b58db9f5117dd0dd66795f23a84deef40db9a1d5adb8",
14
+ "packageBytes": 2821770,
15
+ "unpackedBytes": 18378490,
16
+ "installedFilesVerified": 2645,
17
+ "zeroRuntimeDependencies": true,
18
+ "globalInstall": false,
19
+ "npmBinExecutableVerified": true,
20
+ "modelCalls": 0,
21
+ "agentCliCalls": 0,
22
+ "realUserConfigurationWrites": 0,
23
+ "automaticUpgrade": false,
24
+ "fullOfflineTestsPassed": 877,
25
+ "platformCI": {
26
+ "runUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/39541057005",
27
+ "linux": {
28
+ "tests": 877,
29
+ "passed": 877,
30
+ "failed": 0,
31
+ "skipped": 0
32
+ },
33
+ "macOS": {
34
+ "tests": 877,
35
+ "passed": 877,
36
+ "failed": 0,
37
+ "skipped": 0
38
+ },
39
+ "windows": {
40
+ "tests": 877,
41
+ "passed": 876,
42
+ "failed": 0,
43
+ "skipped": 1,
44
+ "skip": "CLI timeout also bounds draining when an escaped descendant retains stdout"
45
+ }
46
+ },
47
+ "publication": {
48
+ "authentication": "GitHub Actions OIDC trusted publishing",
49
+ "repository": "remote-controlled-man/skillfit",
50
+ "workflow": "npm-release.yml",
51
+ "environment": "npm-release",
52
+ "previewRunUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/39542001697",
53
+ "runUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/39542418678",
54
+ "uploadCount": 1,
55
+ "workflowConclusion": "success",
56
+ "previewMatchesPublishedArchive": true,
57
+ "previewAndPublicationOfflineTestsPassed": 877,
58
+ "ciRegistryAttempts": 8,
59
+ "ciUnavailableReadsRetained": 7,
60
+ "independentRegistryAttempts": 4,
61
+ "independentUnavailableReadsRetained": 3
62
+ },
63
+ "ciRegistryReceipt": {
64
+ "path": "0.13.0-ci-registry-install.json",
65
+ "sha256": "0adf0b412661f3a63c671c8fc76b9800d5a5ac0e1be160e4a3966e01a7f8d87b"
66
+ },
67
+ "localRegistryReceipt": {
68
+ "path": "0.13.0-local-registry-install.json",
69
+ "sha256": "0065e9577aa76e0a7425e245851211ac834d758d97f36095de3fc0a4abccee78"
70
+ },
71
+ "registryMetadata": {
72
+ "path": "0.13.0-registry-metadata.json",
73
+ "sha256": "831394518ee75da7e84b3c60137edecf67438912f113aa92d624f764c1b70e2c"
74
+ },
75
+ "previewReview": {
76
+ "path": "0.13.0-preview-review.json",
77
+ "sha256": "33c38fbc5600c90afbb61c4ae9552b1ef2bb6e7362d4fb55d052bf83eb6d3c71"
78
+ },
79
+ "featureSmoke": {
80
+ "path": "0.13.0-feature-smoke.json",
81
+ "sha256": "69ec720dfe5978d2cc56c4f65c001ebd937c4b047a03b42595812ad209bc3a6d",
82
+ "recipe": "0.13.0-feature-smoke.mjs",
83
+ "recipeSha256": "e6f0111e63a80dfcef40b6c1eb0e6f4a841b4b7f542a5f0a9df48f1c927f0cdf",
84
+ "regressionsPassed": 29,
85
+ "foundationGroupsPassed": 7,
86
+ "portableReplays": 5,
87
+ "installedConfigurationAndMovedBundle": true
88
+ },
89
+ "foundationsSmoke": {
90
+ "path": "0.13.0-foundations-smoke.json",
91
+ "sha256": "b50526e227da0008123024dc1904f33fe53d5193fc1cd8b6bc100b70e22bdffc"
92
+ },
93
+ "archives": {
94
+ "path": "0.13.0-archive-restoration.json",
95
+ "sha256": "4374c2467ddebf690a5b3cba83e3141f5c372f1210518f0faaa899e18b4ed171",
96
+ "archivesRestored": 19,
97
+ "supportFilesRestored": 1583,
98
+ "defaultFixedHttpsSourceVerified": true,
99
+ "offlineCopyFromDownloadedWorkspace": true,
100
+ "offlineNetworkAttempts": 0,
101
+ "previewWrites": 0,
102
+ "collisionPreserved": true,
103
+ "procedures": {
104
+ "path": "0.13.0-archive-replays.json",
105
+ "sha256": "096111e96059ad936757700c3118b5b97049986daa62ed1232d838dcbd220ec5"
106
+ },
107
+ "frozenReplaysPassed": 18,
108
+ "exportIndexChecksPassed": 1
109
+ },
110
+ "registryAudit": {
111
+ "exitCode": 0,
112
+ "packages": 1,
113
+ "verifiedRegistrySignatures": 1,
114
+ "verifiedAttestations": 1,
115
+ "log": {
116
+ "path": "0.13.0-signatures.txt",
117
+ "sha256": "78c639f3619e819ebab56c54c17a768a4ab9c1f3d7fc7bf5124a96b0d3d6bd8f"
118
+ },
119
+ "sourceProof": {
120
+ "path": "0.13.0-attestation-check.json",
121
+ "sha256": "28b96a99f41302419971d6be84dc77a27c20d59356d27a7f65e90fc89465ddd8"
122
+ },
123
+ "attestations": {
124
+ "path": "0.13.0-attestations.json",
125
+ "sha256": "f13d775995564d8e4e6c0fcbf92a7382863c4dc8c839886c087a9527830bf09c"
126
+ }
127
+ },
128
+ "verificationKind": "CI and independent registry installation, installed feature/configuration checks, default online and offline archive restoration, original historical procedures, registry signature and exact source provenance",
129
+ "comparisonSource": "Extracted original CI preview archive, byte-identical to the accepted CI archive; no local rebuild",
130
+ "historicalReplayEnvironment": {
131
+ "node": "v24.21.0",
132
+ "platform": "macOS",
133
+ "originalRequirementsRetained": true
134
+ },
135
+ "scope": "CLI reliability, distribution and reproducibility; no new real Skill efficacy observations or upgrade eligibility"
136
+ }
@@ -59,3 +59,54 @@ replays, 29 packaged regressions and temporary configuration/bundle checks.
59
59
  All 19 archives and 1,583 support files restored offline with collision/preview
60
60
  checks. These measurements precede final preparation records and do not
61
61
  represent the registry archive. No blocking review findings remain.
62
+
63
+ ## Verified publication
64
+
65
+ Published and verified as `skillfit@0.13.0` on 2026-10-21 at 12:13:38
66
+ Asia/Shanghai (04:13:38 UTC). npm `latest` points to 0.13.0. Install the pinned
67
+ version with `npm install --save-exact skillfit@0.13.0`, or inspect it with
68
+ `npx skillfit@0.13.0 --help`.
69
+
70
+ The [main three-platform CI](https://github.com/remote-controlled-man/skillfit/actions/runs/39541057005),
71
+ [OIDC preview](https://github.com/remote-controlled-man/skillfit/actions/runs/39542001697)
72
+ and [publication workflow](https://github.com/remote-controlled-man/skillfit/actions/runs/39542418678)
73
+ all passed. Source: `830e9c41ef89ffe5b024b8a2137c061dd2cab933`. Uploads: **one**.
74
+ Linux/macOS each passed 877 tests; Windows passed 876 with one existing platform
75
+ skip for escaped-descendant stdout timeout. No tests failed. The Node 24 preview
76
+ and publication workflows each passed all 877 tests without skips.
77
+
78
+ The accepted archive is byte-identical to the reviewed preview: **2,821,770 bytes**
79
+ compressed, 18,378,490 bytes unpacked, 2,645 files, SHA-256
80
+ `197053d0b5aeb7769c66b58db9f5117dd0dd66795f23a84deef40db9a1d5adb8`.
81
+ It is 87.43% smaller than the published 0.12.0 archive (22,456,090 bytes).
82
+ Both the [CI registry install](0.13.0-ci-registry-install.json) and
83
+ [independent install](0.13.0-local-registry-install.json) compared all 2,645
84
+ installed files against the reviewed archive and checked CLI version/help/request
85
+ preview. The installed npm executable also returned 0.13.0.
86
+
87
+ The [installed feature receipt](0.13.0-feature-smoke.json) records all seven
88
+ foundations groups, five moved portable replays, 29 packaged regressions,
89
+ synthetic stream probes and temporary configuration/bundle checks. The
90
+ [restoration receipt](0.13.0-archive-restoration.json) verifies all 19 archives
91
+ from the installed CLI's default fixed HTTPS source, then an entirely offline
92
+ copy from that downloaded workspace. All 1,583 support files, previews and
93
+ collision protection passed. No source checkout supplied missing files.
94
+
95
+ The [signature audit](0.13.0-signatures.txt),
96
+ [attestation check](0.13.0-attestation-check.json) and
97
+ [public attestations](0.13.0-attestations.json) verify the package signature and
98
+ bind the package to this exact workflow source and run. CI retained seven
99
+ unavailable registry observations before its eighth attempt succeeded; the
100
+ independent verifier retained three before its fourth succeeded. Availability
101
+ waits did not cause another upload. No model/Agent CLI calls or actual user
102
+ configuration writes were made.
103
+
104
+ The immutable npm archive contains the preparation record above. Repository
105
+ receipts are appended after publication; they do not alter that archive or the
106
+ 0.12.0 and earlier release evidence.
107
+
108
+ The [complete verification receipt](0.13.0-verification.json) binds these files
109
+ and their SHA-256 digests. All [19 original historical procedures](0.13.0-archive-replays.json)
110
+ passed from the registry-restored workspace: 18 frozen offline replays and one
111
+ export-index hash check, on macOS with Node 24.21.0. Their original platform
112
+ requirements remain.
@@ -0,0 +1,116 @@
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.1');
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.1');
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 { validateReleaseDocuments } = await import(pathToFileURL(join(installed, 'docs/releases/release-docs-smoke.mjs')).href);
107
+ const releaseDocuments = validateReleaseDocuments(installed);
108
+ const receipt = { schemaVersion: 1, kind: 'skillfit.release-workflow-smoke', version: '0.13.1',
109
+ verifiedAt: new Date().toISOString(), packagePath: installed, nodeVersion: process.version,
110
+ modelCalls: 0, agentCliCalls: 0, configuration, releaseDocuments, foundationRecipeSha256: sourceSha256,
111
+ foundationChecks: foundations.checks, syntheticExecutorCalls: foundations.syntheticExecutorCalls,
112
+ portableReplays: 5, regressionFiles: regressions, regressionsPassed: count('tests'),
113
+ installedCliStreamSuccessAndFailure: true, syntheticNodeSubprocesses: 2,
114
+ scope: 'Offline checks of the supplied package; no registry availability or efficacy claim.' };
115
+ writeFileSync(join(parent, 'feature-smoke.json'), JSON.stringify(receipt, null, 2) + '\n', { flag: 'wx' });
116
+ console.log(JSON.stringify(receipt));
@@ -0,0 +1,25 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "version": "0.13.1",
4
+ "kind": "local-preparation-failure",
5
+ "tests": 881,
6
+ "passed": 880,
7
+ "failed": 1,
8
+ "skipped": 0,
9
+ "failingTest": "actual offline npm package matches the reviewed inventory and active runtime",
10
+ "error": "Unexpected end of JSON input: document-check CLI skipped execution through a temporary-directory alias",
11
+ "fixedBy": "Use canonical script path for CLI entry detection; add directory-alias execution/output regression",
12
+ "originalLog": "/private/tmp/skillfit-0131-preparation-tests.log",
13
+ "originalCandidate": {
14
+ "root": "/private/tmp/skillfit-0131-preparation-e6t0f2r5",
15
+ "installed": "/private/tmp/skillfit-0131-preparation-e6t0f2r5/prefix/node_modules/skillfit",
16
+ "packFile": "/private/tmp/skillfit-0131-preparation-e6t0f2r5/pack.json",
17
+ "size": 2847828,
18
+ "unpackedSize": 18498814,
19
+ "files": 2661,
20
+ "featureReceipt": "/private/tmp/skillfit-0131-preparation-e6t0f2r5/features/feature-smoke.json",
21
+ "archiveReceipt": "/private/tmp/skillfit-0131-preparation-e6t0f2r5/archives/archive-delivery-smoke.json",
22
+ "installedFilesVerified": 2661
23
+ },
24
+ "publicationAttempted": false
25
+ }
@@ -0,0 +1,149 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "verifiedAt": "2026-10-21T08:20:25.448908Z",
4
+ "version": "0.13.1",
5
+ "kind": "local-release-preparation",
6
+ "baseCommit": "48dcb32ff0c7bef96878f1e6cc4ea1fff96535f1",
7
+ "comparisonSource": "local release preparation, not a registry archive",
8
+ "nodeVersion": "v24.21.0",
9
+ "fullOfflineTests": {
10
+ "tests": 882,
11
+ "passed": 882,
12
+ "failed": 0,
13
+ "skipped": 0
14
+ },
15
+ "relatedRegressionTestsPassed": 17,
16
+ "architecture": {
17
+ "modules": 79,
18
+ "violations": 0
19
+ },
20
+ "documentation": {
21
+ "activeFiles": 45,
22
+ "brokenLinks": 0,
23
+ "skillFormatValid": true,
24
+ "readmeMirrorsVerifiedByFullSuite": true
25
+ },
26
+ "benches": {
27
+ "codeReviewPassed": 27,
28
+ "debuggingPassed": 36,
29
+ "contributedFailures": 0,
30
+ "existingContributedWarnings": 13
31
+ },
32
+ "package": {
33
+ "files": 2661,
34
+ "size": 2847932,
35
+ "unpackedSize": 18499259,
36
+ "integrity": "sha512-ji+yeLK1iea7HqBQTDdvYu/ibBaO0PTZqTWWinnez7AjtG2jXA2YyYMaDjImr3jAsLBgYArXziV72e3Op/kWCQ==",
37
+ "sha256": "9c2c859e1246b322a0de752d11d6730b4d610f68cf3fffa826960a3424533fa4",
38
+ "installedFilesVerified": 2661
39
+ },
40
+ "features": {
41
+ "schemaVersion": 1,
42
+ "kind": "skillfit.release-workflow-smoke",
43
+ "version": "0.13.1",
44
+ "verifiedAt": "2026-10-21T08:18:27.732Z",
45
+ "packagePath": "/private/tmp/skillfit-0131-preparation-fixed-ardxcvc3/prefix/node_modules/skillfit",
46
+ "nodeVersion": "v24.21.0",
47
+ "modelCalls": 0,
48
+ "agentCliCalls": 0,
49
+ "configuration": {
50
+ "previewPreserved": true,
51
+ "firstBackupPreserved": true,
52
+ "reinstallLockUnchanged": true,
53
+ "movedBundlePreviewInstallReinstall": true,
54
+ "realUserConfigurationWrites": 0
55
+ },
56
+ "releaseDocuments": {
57
+ "kind": "skillfit.release-documents-smoke",
58
+ "version": "0.13.1",
59
+ "documents": [
60
+ {
61
+ "path": "README.md",
62
+ "sha256": "1dfed4cbce574d09c907099b7fcea1fa28b9a3a754e4304824e5860f616eb437",
63
+ "pinnedReferences": 6
64
+ },
65
+ {
66
+ "path": "README.zh-CN.md",
67
+ "sha256": "1d4639291ca4f710778c9886eb157b04189f2c4fd9ccf0133ea5870148b0f889",
68
+ "pinnedReferences": 6
69
+ },
70
+ {
71
+ "path": "skills/skillfit/SKILL.md",
72
+ "sha256": "9cb88913a4df510ef0f1b9c9509be8c3046c0bd205b8efd12c5fe581c67254b3",
73
+ "pinnedReferences": 1
74
+ },
75
+ {
76
+ "path": "docs/first-real-eval.md",
77
+ "sha256": "d5af7e81a39a78164b5a5eaffc827cb514a244aa086d95339b96c7bf10618c43",
78
+ "pinnedReferences": 5
79
+ },
80
+ {
81
+ "path": "docs/archive-delivery.md",
82
+ "sha256": "cf1841139861bc69cbe21f5e11ecc4c8ebce6820df3ce924c2be95debab58010",
83
+ "pinnedReferences": 1
84
+ }
85
+ ],
86
+ "modelCalls": 0
87
+ },
88
+ "foundationRecipeSha256": "aeb14d990bc65e05ec1ea7dc42ac6cadbd5af2bf11603430972ccaddbe4ee870",
89
+ "foundationChecks": {
90
+ "versionAndPublicFlags": true,
91
+ "publicPreviewsArePureWithoutAgentCli": true,
92
+ "calibrationHardFailurePreventsSpending": true,
93
+ "judgeBothOrdersRetainCompleteRoleAndTotalCosts": true,
94
+ "triggerBudgetAndIncompleteUsageStopWithoutRetries": true,
95
+ "allModesMoveDeleteOriginalReplayWithExactCosts": true,
96
+ "noAdoptionFromSyntheticOrStoppedEvidence": true
97
+ },
98
+ "syntheticExecutorCalls": 8,
99
+ "portableReplays": 5,
100
+ "regressionFiles": [
101
+ "commands/bench-source.test.js",
102
+ "commands/bench-draft.test.js",
103
+ "commands/eval-layout.test.js",
104
+ "commands/eval-api-failure.test.js",
105
+ "harness/verifier-timeout.test.js",
106
+ "harness/bench-location.test.js"
107
+ ],
108
+ "regressionsPassed": 29,
109
+ "installedCliStreamSuccessAndFailure": true,
110
+ "syntheticNodeSubprocesses": 2,
111
+ "scope": "Offline checks of the supplied package; no registry availability or efficacy claim."
112
+ },
113
+ "archives": {
114
+ "kind": "skillfit.archive-delivery-smoke",
115
+ "version": "0.13.1",
116
+ "nodeVersion": "v24.21.0",
117
+ "sourceCommit": "56b4dc68e115475e197c6510c9cb2235a5ad2c62",
118
+ "archivesRestored": 19,
119
+ "supportFilesRestored": 1583,
120
+ "inlineSupportFiles": 4,
121
+ "previewWrites": 0,
122
+ "networkAttempts": 0,
123
+ "modelCalls": 0,
124
+ "collisionPreserved": true
125
+ },
126
+ "updatedExamples": {
127
+ "version": "0.13.1",
128
+ "npmExecutableVersion": true,
129
+ "teachingBenchPreviewAndCreateAndCheck": true,
130
+ "evalPreviewNoRunDirectory": true,
131
+ "archiveListEntries": 19,
132
+ "archivePreviewNoOutputDirectory": true,
133
+ "modelCalls": 0,
134
+ "agentCliCalls": 0,
135
+ "root": "/private/tmp/skillfit-0131-docs-pnsqbfe6"
136
+ },
137
+ "initialFailure": "0.13.1-preparation-failure-1.json",
138
+ "review": {
139
+ "currentCommandSurfacesAudited": 5,
140
+ "fixedVersionReferences": 19,
141
+ "roadmapCurrentVersionCorrected": true,
142
+ "triggerCompetitionScopeMatchesSource": true,
143
+ "oldReleaseRecipesChanged": false,
144
+ "historicalArchivesChanged": false,
145
+ "runtimeDependenciesAdded": 0,
146
+ "blockingFindings": []
147
+ },
148
+ "npmPublished": false
149
+ }