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,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
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# skillfit 0.13.1
|
|
2
|
+
|
|
3
|
+
This patch corrects the stale driver Skill and first-run commands that still
|
|
4
|
+
selected 0.12.0 in the published 0.13.0 package. Current pinned examples and
|
|
5
|
+
release links now use 0.13.1. Feature minimums retain their original versions;
|
|
6
|
+
the [0.13.0 release and evidence](0.13.0.md) remain unchanged.
|
|
7
|
+
|
|
8
|
+
The driver now explains explicit historical archive restoration, and the
|
|
9
|
+
first-run guide describes the existing `--compete-installed` option accurately:
|
|
10
|
+
it includes other user-level Skills from matrix directories, excluding system
|
|
11
|
+
Skills and plugins outside those directories. The roadmap points to the current
|
|
12
|
+
release record. No runtime behavior, statistical policy or evaluation evidence
|
|
13
|
+
changes in this patch.
|
|
14
|
+
|
|
15
|
+
## Release checks
|
|
16
|
+
|
|
17
|
+
The shipped [document check](release-docs-smoke.mjs) validates current package
|
|
18
|
+
commands in both READMEs, the driver Skill, first-run guide and archive guide.
|
|
19
|
+
Source release preparation and the actual extracted-package test run the same
|
|
20
|
+
check. A stale fixed command in any of those files, or an old README release
|
|
21
|
+
link, blocks validation. Historical feature minimums and frozen records are
|
|
22
|
+
outside this current-command check.
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
node docs/releases/release-docs-smoke.mjs /absolute/path/to/node_modules/skillfit
|
|
26
|
+
node docs/releases/0.13.1-feature-smoke.mjs /absolute/path/to/node_modules/skillfit /tmp/skillfit-0.13.1-feature-smoke
|
|
27
|
+
node docs/releases/archive-delivery-smoke.mjs /absolute/path/to/node_modules/skillfit /absolute/path/to/verified-archive-workspace /tmp/skillfit-0.13.1-archive-smoke
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
The new version-specific recipe retains the seven foundations groups, five moved
|
|
31
|
+
portable replays, 29 packaged regressions and temporary configuration/bundle
|
|
32
|
+
checks, adding installed-document digests and pinned-reference counts. Old
|
|
33
|
+
recipes are immutable. All smoke executors are synthetic; no real model/Agent
|
|
34
|
+
CLI calls or actual user configuration writes are part of these checks.
|
|
35
|
+
|
|
36
|
+
## Publication status
|
|
37
|
+
|
|
38
|
+
This preparation record is included in the immutable archive. It does not by
|
|
39
|
+
itself establish npm availability. The [release plan](../plans/2026-10-21-npm-0.13.1-release.md)
|
|
40
|
+
tracks review, source CI, the OIDC preview, one publication and independent
|
|
41
|
+
registry installation/document/archive verification. Final repository receipts
|
|
42
|
+
will be appended after publication; the accepted archive will not be replaced.
|
|
43
|
+
|
|
44
|
+
The CLI and restore tool require Node >=22. Historical frozen replay recipes
|
|
45
|
+
retain their original Node 24.21.0/TypeScript/POSIX requirements. Package
|
|
46
|
+
availability or replay consistency does not establish new Skill efficacy or
|
|
47
|
+
automatic upgrade permission.
|
|
48
|
+
|
|
49
|
+
## Preparation verification
|
|
50
|
+
|
|
51
|
+
The [local preparation receipt](0.13.1-preparation.json) records 882/882 offline
|
|
52
|
+
tests, zero failures/skips, five current documents with 19 matching command
|
|
53
|
+
references, the installed feature checks and offline restoration of all 19
|
|
54
|
+
archives plus 1,583 support files. The actual local candidate was 2,847,932 bytes
|
|
55
|
+
compressed, 18,499,259 bytes unpacked, with all 2,661 installed files compared.
|
|
56
|
+
These measurements precede final preparation records and are not registry sizes.
|
|
57
|
+
|
|
58
|
+
The [initial preparation failure](0.13.1-preparation-failure-1.json) is retained:
|
|
59
|
+
the new document CLI did not recognize an aliased temporary directory as its
|
|
60
|
+
entrypoint, so the actual-package test rejected empty output. Canonical entry
|
|
61
|
+
detection and a directory-alias regression fixed it; assertions were retained
|
|
62
|
+
and the complete suite passed. No publication occurred during preparation.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import assert from 'node:assert/strict';
|
|
2
|
+
import { createHash } from 'node:crypto';
|
|
3
|
+
import { promises as fs } from 'node:fs';
|
|
4
|
+
import path from 'node:path';
|
|
5
|
+
import { pathToFileURL } from 'node:url';
|
|
6
|
+
|
|
7
|
+
// Supplement the versioned feature recipe. Source archives are explicit local
|
|
8
|
+
// inputs; installed code/support files must work without a source checkout.
|
|
9
|
+
assert.equal(process.argv.length, 5, 'Provide installed package, local archive root and fresh output parent.');
|
|
10
|
+
const installed = await fs.realpath(process.argv[2]), source = await fs.realpath(process.argv[3]);
|
|
11
|
+
const requested = path.resolve(process.argv[4]);
|
|
12
|
+
const parent = path.join(await fs.realpath(path.dirname(requested)), path.basename(requested));
|
|
13
|
+
for (const input of [installed, source]) {
|
|
14
|
+
assert.ok(!parent.startsWith(input + path.sep) && parent !== input, 'Keep outputs outside the installed package and archive source.');
|
|
15
|
+
}
|
|
16
|
+
await fs.mkdir(parent); // Exclusive: previous receipts are never overwritten.
|
|
17
|
+
const { readCatalog, restoreArchives } = await import(pathToFileURL(path.join(installed, 'evidence/fetch-archives.mjs')));
|
|
18
|
+
const catalog = await readCatalog(installed), output = path.join(parent, 'restored');
|
|
19
|
+
for (const row of catalog.archives) await assert.rejects(fs.lstat(path.join(installed, row.path)), { code: 'ENOENT' });
|
|
20
|
+
let networkAttempts = 0;
|
|
21
|
+
const fetchImpl = () => { networkAttempts++; throw new Error('Network forbidden in installed archive smoke'); };
|
|
22
|
+
assert.equal((await restoreArchives({ all: true, output, fetchImpl, log: () => {} })).status, 'planned');
|
|
23
|
+
await assert.rejects(fs.lstat(output), { code: 'ENOENT' });
|
|
24
|
+
await restoreArchives({ all: true, output, from: source, offline: true, yes: true, fetchImpl, log: () => {} });
|
|
25
|
+
for (const row of [...catalog.archives, ...catalog.supportFiles]) {
|
|
26
|
+
const bytes = await fs.readFile(path.join(output, row.path));
|
|
27
|
+
assert.equal(bytes.length, row.bytes, row.path);
|
|
28
|
+
assert.equal(createHash('sha256').update(bytes).digest('hex'), row.sha256, row.path);
|
|
29
|
+
}
|
|
30
|
+
await assert.rejects(restoreArchives({ all: true, output, from: source, offline: true, yes: true, fetchImpl, log: () => {} }), /already exists/);
|
|
31
|
+
assert.equal(networkAttempts, 0);
|
|
32
|
+
const receipt = { kind: 'skillfit.archive-delivery-smoke', version: JSON.parse(await fs.readFile(path.join(installed, 'package.json'), 'utf8')).version,
|
|
33
|
+
nodeVersion: process.version, sourceCommit: catalog.source.commit, archivesRestored: catalog.archives.length,
|
|
34
|
+
supportFilesRestored: catalog.supportFiles.length, inlineSupportFiles: catalog.supportFiles.filter(row => row.inlineBase64 !== undefined).length,
|
|
35
|
+
previewWrites: 0, networkAttempts, modelCalls: 0, collisionPreserved: true };
|
|
36
|
+
await fs.writeFile(path.join(parent, 'archive-delivery-smoke.json'), JSON.stringify(receipt, null, 2) + '\n', { flag: 'wx' });
|
|
37
|
+
console.log(JSON.stringify(receipt));
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import assert from 'node:assert/strict';
|
|
2
|
+
import { createHash } from 'node:crypto';
|
|
3
|
+
import { existsSync, readFileSync, realpathSync } from 'node:fs';
|
|
4
|
+
import { join, resolve } from 'node:path';
|
|
5
|
+
import { fileURLToPath } from 'node:url';
|
|
6
|
+
|
|
7
|
+
// Only current calling instructions: never scan frozen releases or evidence.
|
|
8
|
+
export const RELEASE_DOCUMENTS = [
|
|
9
|
+
'README.md', 'README.zh-CN.md', 'skills/skillfit/SKILL.md',
|
|
10
|
+
'docs/first-real-eval.md', 'docs/archive-delivery.md',
|
|
11
|
+
];
|
|
12
|
+
|
|
13
|
+
export function inspectReleaseDocuments(version, read) {
|
|
14
|
+
assert.match(version, /^\d+\.\d+\.\d+$/, 'A stable package version is required');
|
|
15
|
+
return RELEASE_DOCUMENTS.map(path => {
|
|
16
|
+
const text = read(path), pins = [...text.matchAll(/\bskillfit@(\d+\.\d+\.\d+(?:-[\w.-]+)?)/g)];
|
|
17
|
+
assert.ok(pins.length > 0, `Current package command is missing: ${path}`);
|
|
18
|
+
for (const pin of pins) assert.equal(pin[1], version, `Stale package command in ${path}: ${pin[0]}`);
|
|
19
|
+
if (path === 'README.md' || path === 'README.zh-CN.md') {
|
|
20
|
+
assert.ok(text.includes(`docs/releases/${version}.md`), `Current release record is missing: ${path}`);
|
|
21
|
+
}
|
|
22
|
+
return { path, sha256: createHash('sha256').update(text).digest('hex'), pinnedReferences: pins.length };
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function validateReleaseDocuments(root) {
|
|
27
|
+
const pkg = JSON.parse(readFileSync(join(root, 'package.json'), 'utf8'));
|
|
28
|
+
assert.equal(pkg.name, 'skillfit');
|
|
29
|
+
return { kind: 'skillfit.release-documents-smoke', version: pkg.version,
|
|
30
|
+
documents: inspectReleaseDocuments(pkg.version, path => readFileSync(join(root, path), 'utf8')),
|
|
31
|
+
modelCalls: 0 };
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (process.argv[1] && existsSync(process.argv[1]) && realpathSync(process.argv[1]) === fileURLToPath(import.meta.url)) {
|
|
35
|
+
assert.equal(process.argv.length, 3, 'Provide the source or installed package directory.');
|
|
36
|
+
console.log(JSON.stringify(validateReleaseDocuments(resolve(process.argv[2]))));
|
|
37
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This example checks the two benches bundled with skillfit. It uses deterministic Node verifiers and
|
|
4
4
|
reference solutions, with no agent CLI or model API call. After cloning, installing dev dependencies,
|
|
5
|
-
and building as shown in the [quick start](../README.md#
|
|
5
|
+
and building as shown in the [quick start](../README.md#run-from-source), run:
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
node dist/cli.js bench check benches/code-review
|
package/evidence/README.md
CHANGED
|
@@ -7,7 +7,30 @@ Two rules:
|
|
|
7
7
|
1. **Evidence expires.** Results are pinned to a model, a harness version, and a bench. A model upgrade can invalidate yesterday's conclusion — re-run before re-recommending.
|
|
8
8
|
2. **Negative results are results.** "No measurable gain" is a publishable answer. It is what keeps configs lean.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
<a id="index"></a>
|
|
11
|
+
|
|
12
|
+
## Debugging study followups
|
|
13
|
+
|
|
14
|
+
The [maintained study index](../docs/skill-evaluation-evidence.md) owns the current
|
|
15
|
+
status, cumulative accounting and adoption limits. These later dated reports
|
|
16
|
+
retain each cohort separately; their results are not pooled here.
|
|
17
|
+
|
|
18
|
+
| Date | Report |
|
|
19
|
+
| --- | --- |
|
|
20
|
+
| 2026-10-15 | [Receiver mechanism probe: candidate failed, stopped after one call](2026-10-15-receiver-mechanism-stop.md) |
|
|
21
|
+
| 2026-10-15 | [Native diff mechanism: four authorized development calls](2026-10-15-native-diff-mechanism.md) |
|
|
22
|
+
| 2026-10-15 | [Eight-task offline readiness and spending-stop verification](2026-10-15-independent-offline-readiness.md) |
|
|
23
|
+
| 2026-10-15 | [Independent original/v4 comparison: stopped on a correctness regression](2026-10-15-independent-comparison-regression-stop.md) |
|
|
24
|
+
| 2026-10-15 | [Receiver correction: offline development after the v4 rejection](2026-10-15-diagnosing-receiver-correction.md) |
|
|
25
|
+
| 2026-10-14 | [Debugging evaluation stopped for a spending review](2026-10-14-debugging-spending-stop.md) |
|
|
26
|
+
| 2026-10-14 | [Rejected reading pilot and post-hoc cost review](2026-10-14-debugging-reading-pilot-and-cost-review.md) |
|
|
27
|
+
| 2026-10-14 | [Independent debugging Skill validation](2026-10-14-debugging-independent-validation.md) |
|
|
28
|
+
| 2026-10-14 | [Debugging followup interrupted by workspace routing failure](2026-10-14-debugging-followup-routing-stop.md) |
|
|
29
|
+
| 2026-10-13 | [Debugging Skill development stops and recorded costs](2026-10-13-debugging-development-stops.md) |
|
|
30
|
+
| 2026-10-13 | [Debugging v4 controls: mixed costs and an interrupted validation batch](2026-10-13-debugging-controls-and-sleep-stop.md) |
|
|
31
|
+
| 2026-10-13 | [Completed debugging Skill development: v3 rejected, v4 still experimental](2026-10-13-debugging-completed-development.md) |
|
|
32
|
+
|
|
33
|
+
## Earlier reports
|
|
11
34
|
|
|
12
35
|
| Date | Experiment | Agents | Headline |
|
|
13
36
|
|---|---|---|---|
|