skillfit 0.13.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/README.zh-CN.md +7 -7
- package/docs/archive-delivery.md +3 -3
- package/docs/first-real-eval.md +12 -10
- package/docs/growth-roadmap-2026-10.md +11 -8
- package/docs/package-contents.md +9 -2
- package/docs/plans/2026-10-20-install-transactions-and-archive-delivery.md +2 -2
- package/docs/plans/2026-10-21-npm-0.13.0-release.md +42 -9
- package/docs/plans/2026-10-21-npm-0.13.1-release.md +38 -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-foundations-smoke.json +1576 -0
- package/docs/releases/0.13.0-local-registry-install.json +40 -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 +51 -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/release-docs-smoke.mjs +37 -0
- package/package.json +1 -1
- package/skills/skillfit/SKILL.md +20 -6
|
@@ -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 { 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
|
+
}
|
package/package.json
CHANGED
package/skills/skillfit/SKILL.md
CHANGED
|
@@ -10,11 +10,12 @@ truth for all numbers; your job is to pick the right command, run it, and interp
|
|
|
10
10
|
|
|
11
11
|
## Prerequisites
|
|
12
12
|
|
|
13
|
-
Check availability with `npx skillfit@0.
|
|
13
|
+
Check availability with `npx skillfit@0.13.1 --version`, or `node dist/cli.js --version` inside a clone.
|
|
14
14
|
If neither works, tell the user to install from https://github.com/remote-controlled-man/skillfit and stop.
|
|
15
|
-
|
|
15
|
+
The evaluation workflow requires 0.12.0 or newer for Git-bench/layout,
|
|
16
16
|
ordinary CLI costs, API-failure evidence, bundled names and recorded case drafting.
|
|
17
17
|
Earlier versions lack some of these fixes; inspect the installed version before using new flags.
|
|
18
|
+
The historical archive restore entry point requires 0.13.0 or newer.
|
|
18
19
|
|
|
19
20
|
## Which command for which question
|
|
20
21
|
|
|
@@ -43,19 +44,32 @@ Without `--agent`, paired eval needs `SKILLFIT_API_KEY`/`OPENAI_API_KEY`. Trigge
|
|
|
43
44
|
kimi-code and codex only.
|
|
44
45
|
|
|
45
46
|
Installed mode delivers the complete Skill; default inject mode measures injected
|
|
46
|
-
text.
|
|
47
|
+
text. Since 0.12.0, bundled-name resolution is shared by read-only bench
|
|
47
48
|
commands and eval; local paths win. Editing still needs an owned local directory.
|
|
48
|
-
Git-root benches are supported
|
|
49
|
+
Git-root benches are supported since 0.12.0, with metadata excluded consistently.
|
|
49
50
|
Keep `--runs-root` outside the bench/Skill/runtime and Git metadata; bad layouts
|
|
50
51
|
are rejected at preview, including aliases. See the
|
|
51
52
|
[first-run guide](https://github.com/remote-controlled-man/skillfit/blob/main/docs/first-real-eval.md).
|
|
52
53
|
|
|
53
|
-
|
|
54
|
+
Since 0.12.0, `--freeze` selects tracked ordinary files inside Git; outside Git,
|
|
54
55
|
explicit `--include <file-or-dir>` selections are required. Narrow large fixtures
|
|
55
56
|
before importing. For `--decompose`, preview and authorize its single call within
|
|
56
57
|
existing spending permission. Failed/interrupted drafts retain costs and inputs;
|
|
57
58
|
never retry implicitly. See [drafting records](https://github.com/remote-controlled-man/skillfit/blob/main/docs/bench-drafting.md).
|
|
58
59
|
|
|
60
|
+
## Historical study archives
|
|
61
|
+
|
|
62
|
+
In 0.13.0 and newer, npm excludes the historical compressed archives; ordinary
|
|
63
|
+
installation and CLI commands never fetch them automatically. For archived study
|
|
64
|
+
replay, locate the installed package and follow the
|
|
65
|
+
[restore guide](https://github.com/remote-controlled-man/skillfit/blob/main/docs/archive-delivery.md).
|
|
66
|
+
Use `node <package-dir>/evidence/fetch-archives.mjs --list`, then preview
|
|
67
|
+
`--all --output <new-dir>` before applying with `--yes` within existing authorization.
|
|
68
|
+
The output must be fresh; `--from <archive-root> --offline` restores from a local
|
|
69
|
+
source without network. Restoration prepares verified files, without extracting
|
|
70
|
+
or executing them. Retain each historical recipe's original Node/platform limits
|
|
71
|
+
and saved outcomes; do not start its old live experiments to replay evidence.
|
|
72
|
+
|
|
59
73
|
## Spend discipline
|
|
60
74
|
|
|
61
75
|
Real eval and calibration runs cost tokens and time. Before any non-dry-run run:
|
|
@@ -107,7 +121,7 @@ credentials fails instead of silently disabling judging. Ctrl+C/SIGTERM stop
|
|
|
107
121
|
managed work and retain records; do not retry, replace or expand stopped calls
|
|
108
122
|
without a fresh authorized plan.
|
|
109
123
|
|
|
110
|
-
|
|
124
|
+
Since 0.12.0, ordinary CLI usage parsing is independent of trigger
|
|
111
125
|
detection. Inspect `USAGE_CAPABILITY`: known missing adapter counters block a
|
|
112
126
|
strict budget before calls; API/injected coverage remains unknown. API response
|
|
113
127
|
format/HTTP failures retain reported counters and raw evidence while stopping
|