skillfit 0.11.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.
Files changed (172) hide show
  1. package/README.md +68 -104
  2. package/README.zh-CN.md +68 -101
  3. package/benches/README.md +6 -2
  4. package/dist/cli.js +28 -16
  5. package/dist/commands/bench-calibration.js +5 -1
  6. package/dist/commands/bench-check-report.js +1 -34
  7. package/dist/commands/bench-draft.js +167 -0
  8. package/dist/commands/bench-draft.test.js +168 -0
  9. package/dist/commands/bench-manage.js +5 -4
  10. package/dist/commands/bench-source.js +101 -0
  11. package/dist/commands/bench-source.test.js +84 -0
  12. package/dist/commands/bench.js +157 -328
  13. package/dist/commands/eval-api-failure.test.js +46 -0
  14. package/dist/commands/eval-layout.test.js +126 -0
  15. package/dist/commands/eval-preflight-error.js +9 -0
  16. package/dist/commands/eval-preflight.js +4 -11
  17. package/dist/commands/eval-report.js +6 -459
  18. package/dist/commands/eval.js +7 -32
  19. package/dist/commands/install.js +14 -98
  20. package/dist/harness/agent-preflight.js +18 -2
  21. package/dist/harness/bench-check.js +277 -0
  22. package/dist/harness/bench-diagnostics.js +34 -0
  23. package/dist/harness/bench-location.js +29 -0
  24. package/dist/harness/bench-location.test.js +33 -0
  25. package/dist/harness/bench.js +8 -3
  26. package/dist/harness/eval-acceptance.js +1 -1
  27. package/dist/harness/eval-audit.js +2 -2
  28. package/dist/harness/eval-manifest.js +456 -0
  29. package/dist/harness/evaluation-layout.js +30 -0
  30. package/dist/harness/executors/api.js +20 -7
  31. package/dist/harness/executors/cli.js +15 -25
  32. package/dist/harness/experiment-session.js +5 -15
  33. package/dist/harness/hash.js +3 -1
  34. package/dist/harness/runner.js +5 -4
  35. package/dist/harness/single-arm-audit.js +1 -1
  36. package/dist/harness/trigger.js +1 -1
  37. package/dist/harness/verifier-timeout.js +8 -0
  38. package/dist/harness/verifier-timeout.test.js +76 -0
  39. package/dist/install/constants.js +1 -0
  40. package/dist/install/transaction.js +112 -0
  41. package/docs/README.md +65 -0
  42. package/docs/architecture.md +86 -0
  43. package/docs/archive-delivery.md +83 -0
  44. package/docs/archive-inventory.md +91 -0
  45. package/docs/bench-authoring.md +23 -3
  46. package/docs/bench-drafting.md +75 -0
  47. package/docs/case-management.md +12 -1
  48. package/docs/eval-agent-preflight.md +15 -2
  49. package/docs/eval-costs.md +28 -2
  50. package/docs/eval-planning.md +14 -0
  51. package/docs/evaluation-input-snapshots.md +20 -4
  52. package/docs/evaluation-reports.md +1 -1
  53. package/docs/first-real-eval.md +28 -3
  54. package/docs/growth-roadmap-2026-10.md +23 -18
  55. package/docs/package-contents.md +73 -0
  56. package/docs/plans/2026-10-17-workflow-foundations.md +37 -2
  57. package/docs/plans/2026-10-20-archive-replay-verification.json +125 -0
  58. package/docs/plans/2026-10-20-archive-source-verification.json +256 -0
  59. package/docs/plans/2026-10-20-delivery-verification.json +146 -0
  60. package/docs/plans/2026-10-20-docs-architecture-cleanup.md +233 -0
  61. package/docs/plans/2026-10-20-install-transactions-and-archive-delivery.md +233 -0
  62. package/docs/plans/2026-10-21-npm-0.13.0-release.md +41 -0
  63. package/docs/releases/0.11.0-ci-registry-install.json +130 -0
  64. package/docs/releases/0.11.0-feature-smoke.json +1576 -0
  65. package/docs/releases/0.11.0-local-attempt-1.json +24 -0
  66. package/docs/releases/0.11.0-local-attempt-1.log +19 -0
  67. package/docs/releases/0.11.0-local-registry-install.json +25 -0
  68. package/docs/releases/0.11.0-registry-metadata.json +33 -0
  69. package/docs/releases/0.11.0-signatures.txt +12 -0
  70. package/docs/releases/0.11.0-verification.json +95 -0
  71. package/docs/releases/0.11.0.md +54 -11
  72. package/docs/releases/0.12.0-attestation-check.json +22 -0
  73. package/docs/releases/0.12.0-attestations.json +155 -0
  74. package/docs/releases/0.12.0-ci-registry-install.json +90 -0
  75. package/docs/releases/0.12.0-feature-smoke.json +34 -0
  76. package/docs/releases/0.12.0-feature-smoke.mjs +73 -0
  77. package/docs/releases/0.12.0-foundations-smoke.json +1576 -0
  78. package/docs/releases/0.12.0-local-registry-install.json +75 -0
  79. package/docs/releases/0.12.0-preparation-attempt-1.json +22 -0
  80. package/docs/releases/0.12.0-registry-metadata.json +96 -0
  81. package/docs/releases/0.12.0-signatures.txt +6 -0
  82. package/docs/releases/0.12.0-verification.json +99 -0
  83. package/docs/releases/0.12.0.md +82 -0
  84. package/docs/releases/0.13.0-feature-smoke.mjs +114 -0
  85. package/docs/releases/0.13.0-preparation.json +102 -0
  86. package/docs/releases/0.13.0.md +61 -0
  87. package/docs/releases/archive-delivery-smoke.mjs +37 -0
  88. package/docs/reproducible-offline-example.md +1 -1
  89. package/docs/schemas/agent-preflight.schema.json +1 -1
  90. package/docs/verifier-contract.md +9 -0
  91. package/evidence/README.md +24 -1
  92. package/evidence/archive-catalog.v1.json +8044 -0
  93. package/evidence/fetch-archives.mjs +211 -0
  94. package/package.json +9 -2
  95. package/skills/skillfit/SKILL.md +25 -5
  96. package/dist/cli.test.js +0 -193
  97. package/dist/commands/bench-calibration.test.js +0 -237
  98. package/dist/commands/bench-check-json.test.js +0 -242
  99. package/dist/commands/bench-manage.test.js +0 -87
  100. package/dist/commands/bench.test.js +0 -1162
  101. package/dist/commands/bundle.test.js +0 -142
  102. package/dist/commands/calibration-cli.test.js +0 -145
  103. package/dist/commands/doctor.test.js +0 -280
  104. package/dist/commands/eval-agent-preflight.test.js +0 -245
  105. package/dist/commands/eval-export-modes.test.js +0 -350
  106. package/dist/commands/eval-export.test.js +0 -279
  107. package/dist/commands/eval-interruption.test.js +0 -238
  108. package/dist/commands/eval-preflight.test.js +0 -382
  109. package/dist/commands/eval-report.test.js +0 -367
  110. package/dist/commands/eval.test.js +0 -503
  111. package/dist/commands/evaluation-report.test.js +0 -243
  112. package/dist/commands/install.test.js +0 -555
  113. package/dist/commands/replay-cancellation.test.js +0 -105
  114. package/dist/commands/report.test.js +0 -110
  115. package/dist/commands/setup.test.js +0 -150
  116. package/dist/commands/upstream.test.js +0 -139
  117. package/dist/commands/workflow-entrypoints.test.js +0 -137
  118. package/dist/docs.test.js +0 -154
  119. package/dist/frontmatter.test.js +0 -49
  120. package/dist/harness/bench.test.js +0 -109
  121. package/dist/harness/bundle.test.js +0 -71
  122. package/dist/harness/codex-usage.test.js +0 -87
  123. package/dist/harness/costs.test.js +0 -92
  124. package/dist/harness/eval-budget.test.js +0 -237
  125. package/dist/harness/eval-component.test.js +0 -770
  126. package/dist/harness/eval-efficiency.test.js +0 -56
  127. package/dist/harness/execution-timing.test.js +0 -61
  128. package/dist/harness/executors/api.test.js +0 -136
  129. package/dist/harness/executors/cli.test.js +0 -510
  130. package/dist/harness/executors/mock.test.js +0 -43
  131. package/dist/harness/experiment-session.test.js +0 -317
  132. package/dist/harness/installed-skill.test.js +0 -162
  133. package/dist/harness/interruption.test.js +0 -31
  134. package/dist/harness/judge-accounting.test.js +0 -216
  135. package/dist/harness/judge.test.js +0 -181
  136. package/dist/harness/kimi-usage.test.js +0 -62
  137. package/dist/harness/native-diff.test.js +0 -53
  138. package/dist/harness/oss-lru-cache.test.js +0 -79
  139. package/dist/harness/oss-normalize-url.test.js +0 -64
  140. package/dist/harness/oss-regression-witness.test.js +0 -89
  141. package/dist/harness/oss-skill-followup.test.js +0 -59
  142. package/dist/harness/prompt.test.js +0 -48
  143. package/dist/harness/receipts.test.js +0 -148
  144. package/dist/harness/report.test.js +0 -297
  145. package/dist/harness/runner.test.js +0 -635
  146. package/dist/harness/skill-revision.test.js +0 -148
  147. package/dist/harness/stats.test.js +0 -124
  148. package/dist/harness/target.test.js +0 -60
  149. package/dist/harness/trigger.test.js +0 -261
  150. package/dist/harness/verifier-summary.test.js +0 -99
  151. package/dist/harness/verifier.test.js +0 -128
  152. package/dist/harness/waza-behavior.test.js +0 -139
  153. package/dist/mcp/probe.test.js +0 -139
  154. package/evidence/artifacts/2026-10-12-diagnosing-revision/calibration-records.tar.gz +0 -0
  155. package/evidence/artifacts/2026-10-12-diagnosing-revision/interrupted-records.tar.gz +0 -0
  156. package/evidence/artifacts/2026-10-12-diagnosing-revision/validation-records.tar.gz +0 -0
  157. package/evidence/artifacts/2026-10-12-diagnosing-v2/regression-records.tar.gz +0 -0
  158. package/evidence/artifacts/2026-10-12-diagnosing-v2/transfer-records.tar.gz +0 -0
  159. package/evidence/artifacts/2026-10-12-normalize-url-v2-available/readiness-records.tar.gz +0 -0
  160. package/evidence/artifacts/2026-10-12-normalize-url-v2-comparison/records.tar.gz +0 -0
  161. package/evidence/artifacts/2026-10-12-normalize-url-v2-recovery/records.tar.gz +0 -0
  162. package/evidence/artifacts/2026-10-12-normalize-url-v2-validated/records.tar.gz +0 -0
  163. package/evidence/artifacts/2026-10-13-debugging-completed-development/package.tar.gz +0 -0
  164. package/evidence/artifacts/2026-10-13-debugging-controls-and-sleep-stop/package.tar.gz +0 -0
  165. package/evidence/artifacts/2026-10-13-debugging-development-stops/package.tar.gz +0 -0
  166. package/evidence/artifacts/2026-10-14-debugging-followup-routing-stop/package.tar.gz +0 -0
  167. package/evidence/artifacts/2026-10-14-debugging-independent-validation/package.tar.gz +0 -0
  168. package/evidence/artifacts/2026-10-14-debugging-reading-pilot-and-cost-review/package.tar.gz +0 -0
  169. package/evidence/artifacts/2026-10-14-debugging-spending-stop/package.tar.gz +0 -0
  170. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/package.tar.gz +0 -0
  171. package/evidence/artifacts/2026-10-15-native-diff-mechanism/package.tar.gz +0 -0
  172. 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,6 @@
1
+ audited 1 package in 3s
2
+
3
+ 1 package has a verified registry signature
4
+
5
+ 1 package has a verified attestation
6
+ (use --json --include-attestations to view attestation details)
@@ -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
+ }
@@ -0,0 +1,82 @@
1
+ # skillfit 0.12.0
2
+
3
+ This release combines the new-user workflow fixes in
4
+ [PR #39](https://github.com/remote-controlled-man/skillfit/pull/39) and the case-authoring
5
+ fixes in [PR #40](https://github.com/remote-controlled-man/skillfit/pull/40).
6
+ Publication uses the existing [manual OIDC procedure](trusted-publishing.md).
7
+ This preparation record does not itself establish npm availability; verified publication
8
+ receipts will be recorded below after the accepted archive is available.
9
+
10
+ ## Preparation validation
11
+
12
+ - `npm test`: 835 offline tests passed, with no failures, cancellations or skips.
13
+ - Contributed bench checks, changed documentation links, matching English/Chinese
14
+ README code blocks and driver Skill validation passed.
15
+ - The local extracted archive passed the pinned seven-group foundations recipe,
16
+ five moved portable replays, 29 packaged regressions and separate installed CLI
17
+ stream success/failure probes. All executors and HTTP responses were synthetic;
18
+ real model/API/Agent CLI invocations added: **0**.
19
+ - An initial local installed-only recipe selected a source-architecture assertion
20
+ that requires intentionally unshipped TypeScript. That assertion remains in the
21
+ full source suite; the corrected installed recipe verifies the actual stream
22
+ runtime directly. The failed local archive/logs remain separate from the new
23
+ successful attempt; no publication was attempted by either local check.
24
+
25
+ ## Included behavior
26
+
27
+ - Git-root benches have matching content fingerprints and input snapshots. Invalid
28
+ output locations, including directory aliases, fail during preview and setup.
29
+ - Ordinary CLI eval and judge calls retain structured token/cache usage separately
30
+ from trigger detection. Known unsupported strict budgets block before calls.
31
+ - API answer-format/HTTP failures retain reported counters and public response
32
+ evidence. Missing usage remains unknown; no historical costs are backfilled.
33
+ - Read-only bench commands, eval and calibration share bundled/local resolution.
34
+ npm-first instructions and the driver Skill describe the installed workflow.
35
+ - Frozen cases never fall back from an empty/broken Git index. Non-Git imports
36
+ require explicit `--include`; selected links and destination-bench files fail.
37
+ Imports are bounded at 200 files / 1 MiB; narrow larger fixtures before importing.
38
+ - `--decompose` confirms before its single call and supports budgets, deadlines and
39
+ fresh record groups. Inputs, public outputs, costs and failed/interrupted gates
40
+ remain available. Concurrent bench edits are preserved; there is no automatic retry.
41
+ - Optional `verifierTimeoutSeconds` (integer 1–3600, default 120) applies to each
42
+ verifier/oracle process in checks, eval, calibration, trigger mode and replay.
43
+
44
+ ## Compatibility and limits
45
+
46
+ Non-Git `--freeze` now requires explicit `--include` selections. This intentional
47
+ restriction prevents silently capturing arbitrary local files. Tracked secrets or
48
+ files deliberately included outside Git still need review before sharing.
49
+ Existing cases retain their 120-second check limit unless configured otherwise.
50
+
51
+ Spending limits are observed stop lines; a single in-flight call may overshoot.
52
+ Missing provider usage cannot be reconstructed. Offline preflight does not prove
53
+ login or installed CLI flag compatibility. Statistical and adoption policy is
54
+ unchanged. This release adds no real Skill efficacy observations, model calls,
55
+ runtime dependencies or automatic upgrade permission.
56
+
57
+ ## Reproduce installed checks
58
+
59
+ ```bash
60
+ node docs/releases/0.12.0-feature-smoke.mjs /absolute/path/to/node_modules/skillfit /tmp/skillfit-0.12.0-feature-smoke
61
+ ```
62
+
63
+ The recipe pins and derives the unchanged 0.11.0 foundations recipe for 0.12.0,
64
+ then runs the packaged offline regressions for the new fixes. It uses injected
65
+ executors, fake HTTP and synthetic fixture programs; it never evaluates a real
66
+ model or Agent CLI. Use a fresh output directory and preserve failed attempts.
67
+ The immutable npm archive contains this preparation record; repository records
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
+ }