skillfit 0.12.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.
- 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/first-real-eval.md +12 -10
- package/docs/growth-roadmap-2026-10.md +17 -18
- package/docs/package-contents.md +80 -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 +74 -0
- package/docs/plans/2026-10-21-npm-0.13.1-release.md +38 -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-archive-replays.json +266 -0
- package/docs/releases/0.13.0-archive-restoration.json +168 -0
- package/docs/releases/0.13.0-attestation-check.json +22 -0
- package/docs/releases/0.13.0-attestations.json +147 -0
- package/docs/releases/0.13.0-ci-registry-install.json +60 -0
- package/docs/releases/0.13.0-feature-smoke.json +41 -0
- package/docs/releases/0.13.0-feature-smoke.mjs +114 -0
- package/docs/releases/0.13.0-foundations-smoke.json +1576 -0
- package/docs/releases/0.13.0-local-registry-install.json +40 -0
- package/docs/releases/0.13.0-preparation.json +102 -0
- package/docs/releases/0.13.0-preview-review.json +16 -0
- package/docs/releases/0.13.0-registry-metadata.json +92 -0
- package/docs/releases/0.13.0-signatures.txt +12 -0
- package/docs/releases/0.13.0-verification.json +136 -0
- package/docs/releases/0.13.0.md +112 -0
- package/docs/releases/0.13.1-feature-smoke.mjs +116 -0
- package/docs/releases/0.13.1-preparation-failure-1.json +25 -0
- package/docs/releases/0.13.1-preparation.json +149 -0
- package/docs/releases/0.13.1.md +62 -0
- package/docs/releases/archive-delivery-smoke.mjs +37 -0
- package/docs/releases/release-docs-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/skills/skillfit/SKILL.md +20 -6
- 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,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,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,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
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
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.
|
|
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
|
+
}
|