skillfit 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +10 -2
  2. package/README.zh-CN.md +10 -2
  3. package/dist/cli.js +19 -13
  4. package/dist/commands/bench.js +99 -91
  5. package/dist/commands/eval-component.js +8 -1
  6. package/dist/commands/eval-export.js +32 -6
  7. package/dist/commands/eval-export.test.js +165 -8
  8. package/dist/commands/eval-interruption.test.js +238 -0
  9. package/dist/commands/eval-preflight.js +61 -0
  10. package/dist/commands/eval-preflight.test.js +239 -0
  11. package/dist/commands/eval-report.js +44 -13
  12. package/dist/commands/eval-report.test.js +2 -2
  13. package/dist/commands/eval.js +81 -59
  14. package/dist/harness/eval-audit.js +3 -1
  15. package/dist/harness/eval-budget.test.js +4 -2
  16. package/dist/harness/eval-component.test.js +6 -6
  17. package/dist/harness/executors/api.js +10 -1
  18. package/dist/harness/executors/api.test.js +43 -0
  19. package/dist/harness/executors/cli.js +24 -3
  20. package/dist/harness/experiment-session.js +60 -9
  21. package/dist/harness/experiment-session.test.js +43 -1
  22. package/dist/harness/input-snapshot.js +150 -0
  23. package/dist/harness/interruption.js +48 -0
  24. package/dist/harness/interruption.test.js +31 -0
  25. package/dist/harness/runner.js +53 -15
  26. package/dist/harness/trigger.js +20 -4
  27. package/docs/bench-check-json.md +8 -1
  28. package/docs/eval-case-preflight.md +110 -0
  29. package/docs/eval-component.md +28 -0
  30. package/docs/eval-costs.md +9 -0
  31. package/docs/evaluation-input-snapshots.md +124 -0
  32. package/docs/evaluation-interruption.md +89 -0
  33. package/docs/evaluation-reports.md +49 -0
  34. package/docs/experiment-workflow.md +9 -2
  35. package/docs/first-real-eval.md +5 -2
  36. package/docs/growth-roadmap-2026-10.md +15 -10
  37. package/docs/metrics.md +31 -0
  38. package/docs/plans/2026-10-16-case-workflow-and-release.md +19 -0
  39. package/docs/releases/0.10.0-ci-registry-install.json +140 -0
  40. package/docs/releases/0.10.0-feature-smoke.json +22 -0
  41. package/docs/releases/0.10.0-feature-smoke.mjs +62 -0
  42. package/docs/releases/0.10.0-signatures.txt +7 -0
  43. package/docs/releases/0.10.0-verification.json +76 -0
  44. package/docs/releases/0.10.0.md +44 -8
  45. package/docs/releases/0.10.1-feature-smoke.mjs +95 -0
  46. package/docs/releases/0.10.1.md +38 -0
  47. package/docs/replay-packages.md +14 -5
  48. package/docs/schemas/eval-preflight.schema.json +57 -0
  49. package/docs/schemas/eval-result.schema.json +11 -0
  50. package/docs/sharing-results.md +5 -2
  51. package/package.json +1 -1
@@ -0,0 +1,49 @@
1
+ # Read an evaluation report
2
+
3
+ Version 0.10.1 uses the same saved-evidence assessment for Markdown and JSON.
4
+ Both formats accept a manifest file, native run directory or portable replay
5
+ package directory. Neither starts an agent or changes the saved run.
6
+
7
+ ```bash
8
+ skillfit report eval ./runs/my-run
9
+ skillfit report eval ./runs/my-run --json
10
+ skillfit report eval ./runs/my-run/manifest.json
11
+ skillfit report eval ./exports/my-run --replay
12
+ ```
13
+
14
+ `--json` changes the format, not which evidence is checked. `--replay`,
15
+ `--records <run-dir>` and `--policy <policy.json>` work with either format.
16
+ Replay grades disposable delivery copies using trusted local verifiers; it
17
+ does not call a model. An overridden policy is post-hoc and cannot authorize
18
+ adoption unless it matches the policy frozen before execution. Portable packages
19
+ already pin their run/bench and reject external records/bench overrides.
20
+
21
+ ## Completed, stopped and incomplete inputs
22
+
23
+ - A completed manifest retains the existing quality/facet/cost tables. Markdown
24
+ also shows the native audit status, separate acceptance decision, upgrade
25
+ eligibility and reasons. A statistical quality verdict is not an adoption
26
+ decision. `automaticUpgrade` remains false.
27
+ - A native directory without a final manifest shows `stopped` when a saved
28
+ session exists, otherwise `incomplete`. It displays the stop reason when
29
+ available, retained costs, missing/invalid receipt counts and unknown coverage.
30
+ It does not fabricate a paired quality verdict or overwrite the run.
31
+ - A standalone historical manifest stays readable. Missing native evidence
32
+ remains `unverified`; rendering it cannot authenticate the source or qualify
33
+ it for adoption. Available current preflight and input-snapshot metadata are
34
+ displayed separately; their presence alone does not validate a stopped run.
35
+ - Corrupt native evidence is reported as unverified with audit/acceptance
36
+ reasons. A changed portable package fails its inventory/hash verification
37
+ before rendering. An empty directory, missing path or malformed/unsupported
38
+ manifest is an input error.
39
+
40
+ Successful rendering keeps exit 0 even if acceptance is `reject` or
41
+ `inconclusive`; callers must inspect `acceptance` and `evidence` rather than
42
+ interpret the exit code as approval to upgrade. Invalid inputs fail nonzero.
43
+ JSON keeps its version 1 contract. Human reports abbreviate the local run root
44
+ as `[run]` in diagnostic text; JSON retains precise paths for investigation.
45
+
46
+ Saved costs stay in their original final/partial/unknown populations. Reports do
47
+ not replace missing cache counts with zero or estimate unrecorded billing.
48
+ See [cost accounting](eval-costs.md), [input snapshots](evaluation-input-snapshots.md)
49
+ and [portable packages](replay-packages.md). Review project data before sharing.
@@ -2,14 +2,21 @@
2
2
 
3
3
  Use the existing CLI workflow to compare a pinned Skill with baseline on real failures. A historical replay does not create an upstream PR: its purpose is to grade both arms consistently before spending time installing a Skill.
4
4
 
5
+ Version 0.10.1 handles Ctrl+C/SIGTERM by stopping managed evaluation
6
+ processes, retaining available output/usage and sealing a stopped run before
7
+ exit 130/143. No partner/retry/replacement is dispatched after cancellation.
8
+ See [interruption and retained records](evaluation-interruption.md). Forced
9
+ termination/power loss may prevent sealing. The same release enforces offline
10
+ case gates and seals project input copies before dispatch. See [sealed inputs](evaluation-input-snapshots.md).
11
+
5
12
  1. Prepare independent tasks from issue requirements and pinned bug/fix revisions. Keep the fix, grader and oracle outside trial workspaces. Run `bench check` offline and review its NOP, oracle and counterexample gates. The [lru-cache replay](../benches/contrib/oss-lru-cache/README.md) has three independently sourced failures; difficulty is initially unknown.
6
13
  2. Dry-run baseline calibration with the input mode you will later evaluate. For the three-task replay: `skillfit bench check benches/contrib/oss-lru-cache --calibrate --agent codex --input workspace --trials 2 --max-calls 6 --dry-run`. Run without `--dry-run` only after reviewing the fixed plan. Keep saturated tasks as regression controls; repair broken graders/environments before interpreting a floor.
7
14
  3. Declare a fresh paired run with the full Skill installed only in treatment: `skillfit eval <skill-dir> --mode installed --bench <bench-dir> --agent codex --trials 5 --max-calls <ceiling> --dry-run`. The declared count is tasks × trials × two arms, plus two judge calls per pair when enabled. The default ceiling equals the declared count. A lower ceiling rejects the entire plan; it never truncates tasks, retries errors, or adds replacement samples.
8
15
  4. Run the reviewed command without `--dry-run`. Fresh groups retain `_plan.json` (bench/target/implementation hashes, Node/package/available CLI versions, allowlisted configured model settings, declared workspace paths and call budget), `_calls.jsonl` (append-only started/finished/failed events with prompt hashes), `_session.json` (completion/stop reason), and `_artifacts.json` (regular-file hashes and unfollowed symlink targets). Calibration also retains `_calibration.json` with task counts. Existing groups are never overwritten.
9
- 5. Generate a portable report: `skillfit report eval runs/<group>/manifest.json`. Inspect task checks, errors, token coverage, read observations and session completeness before deciding. Partial/stopped sessions produce no installation recommendation even if their surviving subset favors treatment. Preserve their receipts, then fix the cause and predeclare a fresh run. Do not pool adaptive calibration into validation.
16
+ 5. Read a saved-evidence report: `skillfit report eval runs/<group>` (add `--json` for an Agent). Both formats accept the same completed or stopped run and show audit/acceptance reasons. See [report inputs](evaluation-reports.md). Inspect task checks, errors, token coverage, read observations and session completeness before deciding. Partial/stopped sessions produce no installation recommendation even if their surviving subset favors treatment. Preserve their receipts, then fix the cause and predeclare a fresh run. Do not pool adaptive calibration into validation.
10
17
 
11
18
  Before and after each model/judge call, the harness checks pinned input bytes and matrix-listed user configuration/Skill roots. Executor failures or detected drift stop further actual calls. Returned output/transcripts are retained when a post-call check detects drift, but the trial is ungraded. Only pure project-trust registrations for predeclared disposable workspaces are excluded from the configuration hash, along with final blank newline separators; other fields, paths, trust values and bytes remain covered. Plans freeze each workspace's logical and physical path: pure trust registrations for either name are allowed, while alias retargeting stops further calls. Input symlinks are rejected; top-level global Skill directory aliases are pinned through their resolved content plus a watched inventory.
12
19
 
13
20
  This is an inspection contract, not environment isolation or tamper-proof attestation. API configured model names and allowlisted CLI settings do not prove which server model served a response. Inherited plugins, unlisted paths, toolchains, server-side drift and sampling remain uncontrolled. Judge sandbox paths are temporary and not exempted from trust checks; a new unplanned trust registration stops the run. Only the selected primary agent's matrix configuration is fingerprinted; a different judge's environment remains unrecorded. Do not include raw configuration, auth files or credentials in published artifacts. Paths and agent output may still contain private project material; inspect them before sharing.
14
21
 
15
- Paired installed-Skill read counts describe mechanical observations on surviving graded pairs. Read-unobserved is not proof of non-use; read-observed is not proof of benefit. Use separately labeled positive/negative trigger runs for trigger precision/recall. The frozen verdict formulas remain unchanged, and optional workflow metadata keeps legal legacy v4 manifests readable with unchanged rendering.
22
+ Paired installed-Skill read counts describe mechanical observations on surviving graded pairs. Read-unobserved is not proof of non-use; read-observed is not proof of benefit. Use separately labeled positive/negative trigger runs for trigger precision/recall. The frozen verdict formulas remain unchanged, and optional workflow metadata keeps legal legacy v4 manifests readable with unchanged quality tables and verdict formulas.
@@ -15,7 +15,7 @@ remains the compatible default.
15
15
 
16
16
  For a new code-editing case, a source build supports `bench init my-bench --kind command`.
17
17
  It creates a synthetic teaching fixture, independent verifier and reference
18
- repair; npm 0.9.1 does not yet include this template. Follow the
18
+ repair; this template is included in npm 0.10.0 and newer. Follow the
19
19
  [starter walkthrough](bench-authoring.md#choose-a-starter), replace it with your
20
20
  real task, and preview `--trials 1 --max-calls 2` before deciding to spend.
21
21
 
@@ -74,7 +74,10 @@ The first command creates a new directory under `runs/` and prints its `Manifest
74
74
  exact path for the second command; the report command is read-only. Each task and trial has an
75
75
  `_output.md`, `_verifier.txt`, and `_result.json` beside the summary manifest. Keep the manifest and
76
76
  the pinned target and bench hashes so another person can inspect the same result. Review those files
77
- for private paths or content before sharing.
77
+ for private paths or content before sharing. In 0.10.1, the report also accepts
78
+ the native run directory or a portable package directory, with the same audit
79
+ and acceptance result as `--json`. Stopped runs retain their available costs and
80
+ stay ineligible. See [report formats](evaluation-reports.md).
78
81
 
79
82
  Read the **errors** first: a pair with an executor or verifier error was not graded, and neither arm
80
83
  gets a failure for it. Then inspect baseline ceiling/floor warnings, the number and direction of
@@ -7,10 +7,10 @@ create a case, verify its acceptance checks, preview a small budget, then inspec
7
7
  outcomes and complete spending. Bundled benches teach the format. Repeatedly
8
8
  optimizing one external debugging Skill is not the product roadmap.
9
9
 
10
- The previous published CLI is 0.9.1, with a [verified registry install](releases/0.9.1-verification.json).
11
- The user authorized the case workflow and 0.10.0 publication on October 16;
12
- [release preparation](releases/0.10.0.md) is in progress. No live model calls
13
- are authorized by this delivery.
10
+ The published CLI is 0.10.0, with a [verified registry installation](releases/0.10.0-verification.json)
11
+ and [installed-feature replay](releases/0.10.0-feature-smoke.json). The user-authorized
12
+ October 16 case workflow is complete. No live model calls were added or authorized
13
+ for this delivery.
14
14
 
15
15
  ## Available foundations
16
16
 
@@ -33,18 +33,17 @@ of the CLI's evidence gates, not a universal Skill benchmark.
33
33
  Work is sequential. Dates are work records, not timers or unattended execution.
34
34
  The code-editing starter is merged in PR #24 and JSON checks in PR #25.
35
35
  The October 16 delivery completes task selection, case management and portable
36
- exports, with publication tracked separately from source and CI completion.
36
+ exports, with publication tracked separately from source and CI completion. PR #26 passed 600 offline tests and Linux/macOS/Windows CI.
37
37
 
38
38
  | Priority / order | Work | Acceptance |
39
39
  | --- | --- | --- |
40
40
  | 0 — complete, PR #23 merged | Commit existing work, update both READMEs and mutable guides, preserve dated evidence, push and review CI | [PR #23](https://github.com/remote-controlled-man/skillfit/pull/23): 556 offline tests and Linux/macOS/Windows CI pass; evidence replay adds no live calls |
41
41
  | 1 — complete in source, PR #24 merged | `bench init --kind command` alongside the existing text-output starter, with a broken fixture, reference repair and behavioral verifier | Dry run writes nothing; original fails, oracle passes, equivalent repair passes, modified protected tests fail; CLI/docs and three-OS CI pass in PR #24 |
42
42
  | 2 — complete in source, PR #25 merged | `bench check --json`: stable gate codes, task IDs, locations, remediation and verifier evidence; [contract and schema](bench-check-json.md) | JSON-only stdout; exit 0/1/2 distinguish completed checks from errors; calibration rejected before calls; 585 offline tests and Linux/macOS/Windows CI pass in PR #25 |
43
- | 3 — implemented, final validation pending | Explicit task selection for preview and eval, preserving the selected IDs and costs in the frozen plan and report | Unknown/duplicate selections fail before calls; preview counts only selected cases; small samples cannot authorize adoption |
44
-
45
- | 4 — implemented, final validation pending | `bench list/show/edit/remove` with machine output | Preview by default; apply with backup/verification; preserve files and provenance; reject last-task removal |
46
- | 5 — implemented, final validation pending | `report eval --export` portable directory | Exact original receipts and matching inputs; move/delete-original replay; missing/changed inputs reject; stopped costs stay incomplete |
47
- | 6 — authorized, pending publication | Publish 0.10.0 through existing manual OIDC workflow | Three-OS CI, exact-archive dry run, one upload, registry integrity and isolated feature smoke |
43
+ | 3 — complete, PR #26 merged | Explicit task selection for preview and eval, preserving the selected IDs and costs in the frozen plan and report | Unknown/duplicate selections fail before calls; preview counts only selected cases; small samples cannot authorize adoption |
44
+ | 4 — complete, PR #26 merged | `bench list/show/edit/remove` with machine output | Preview by default; apply with backup/verification; preserve files and provenance; reject last-task removal |
45
+ | 5 — complete, PR #26 merged | `report eval --export` portable directory | Exact original receipts and matching inputs; move/delete-original replay; missing/changed inputs reject; stopped costs stay incomplete |
46
+ | 6 — complete, 0.10.0 verified | Publish 0.10.0 through existing manual OIDC workflow | 600 offline tests and three-OS CI pass; preview archive matches the one upload; 2,609 installed files and eleven feature checks pass; registry signature/attestation verified |
48
47
 
49
48
  Items 2–5 address basic usability gaps, not missing statistical methods.
50
49
  Inspect existing APIs before implementation and avoid duplicating request preview,
@@ -52,6 +51,12 @@ report export, failure freezing or existing budget controls.
52
51
 
53
52
  ## Later decisions
54
53
 
54
+ The October 16 source reliability repair adds Ctrl+C/SIGTERM process cleanup and
55
+ stopped evidence sealing, with offline fake CLI/fetch regression coverage. The
56
+ published 0.10.0 archive predates this repair; see the
57
+ [interruption contract](evaluation-interruption.md). No new live calls or package
58
+ publication are included in the repair.
59
+
55
60
  - Improve error messages based on actual failed case-authoring attempts.
56
61
  - Verify Claude Code trigger capture when working authentication is available.
57
62
  - Add Cursor, Gemini CLI or OpenCode only with verified official paths and
package/docs/metrics.md CHANGED
@@ -60,6 +60,14 @@ gates), and the LLM-judge literature cited in §5.
60
60
 
61
61
  ## Unit of analysis
62
62
 
63
+ Operational interruption handling (2026-10-16, included in 0.10.1): SIGINT/SIGTERM
64
+ stops subsequent dispatches and managed active processes, retaining receipts and
65
+ sealing a stopped prefix. Interrupted execution is ungraded; available counters
66
+ remain partial unless the invocation already settled with final usage. Missing
67
+ usage remains unknown. No retries, replacements, new observations, efficacy
68
+ verdict or upgrade eligibility are inferred from cancellation. Existing formulas
69
+ and historical evidence are unchanged. See [the interruption contract](evaluation-interruption.md).
70
+
63
71
  Operational spending guard (2026-10-15, included in 0.10.0): paired evaluations
64
72
  may declare five absolute `spendingBudget` stop lines, pinned in their request,
65
73
  preview and native plan. All invoked agent spending counts, including failures
@@ -319,6 +327,29 @@ reports `consistentTrials` as the bias signal. The κ calibration gate remains o
319
327
 
320
328
  ## Bench composition guidance (for authors and the upcoming scaffolding tooling)
321
329
 
330
+ Operational correction in 0.10.1: the API executor retains explicitly reported
331
+ Chat Completions cache counts, preserving absent/invalid values as unknown.
332
+ Markdown and JSON reports share native audit, cost coverage and acceptance
333
+ assessment for files, run directories and portable packages. These changes do
334
+ not alter cost populations, statistical formulas, acceptance policy or historical
335
+ receipts. See [report inputs and statuses](evaluation-reports.md).
336
+
337
+ Operational gate (included in 0.10.1): live `eval` reuses offline bench
338
+ integrity checks before dispatch, scoped to selected tasks (labelled tasks in
339
+ trigger mode). Hard failures block all agent/judge calls. Missing oracles and
340
+ other unmeasured coverage are explicit `UNKNOWN` diagnostics; observed concerns
341
+ remain `WARN`. Neither blocks calls nor counts as passed evidence. The native
342
+ plan retains probes and separate offline elapsed time; previews mark checks
343
+ pending. This changes no statistical verdict, cost population or adoption rule.
344
+ See [the preflight contract](eval-case-preflight.md).
345
+
346
+ New native sessions also [seal input copies](evaluation-input-snapshots.md) before
347
+ dispatch. The archive's index/fingerprints bind to the frozen plan; offline replay
348
+ uses its bench and portable export uses its Skill/implementation/request copies.
349
+ Local copy time and apparent storage are separate from primary-agent token and
350
+ duration populations. Missing historical copies remain unrecorded; snapshots do
351
+ not create new observations, complete partial usage or change adoption gates.
352
+
322
353
  These are the targets. [bench-authoring.md](bench-authoring.md) is the walkthrough that gets a bench to
323
354
  them, step by step, on one real task.
324
355
 
@@ -28,3 +28,22 @@ green `npm test`, offline bench checks, a fresh-directory portable replay test,
28
28
  remote synchronization, and a verified npm installation. No new Skill efficacy
29
29
  claim or automatic upgrade is part of this work. Published evidence and private
30
30
  lab contents remain untouched.
31
+
32
+ ## Completion record
33
+
34
+ - [PR #26](https://github.com/remote-controlled-man/skillfit/pull/26) merged at
35
+ `9027d8d80a3974c7e352af10e8ede3029c69205b`: all three feature groups, contracts,
36
+ mirrored READMEs, driver Skill and 0.10.0 preparation; 600 offline tests and
37
+ Linux/macOS/Windows CI passed. The merged feature branch was cleaned up.
38
+ - [OIDC preview](https://github.com/remote-controlled-man/skillfit/actions/runs/38777935270)
39
+ and [one real publication](https://github.com/remote-controlled-man/skillfit/actions/runs/38778295053)
40
+ passed. Registry/latest 0.10.0 and every one of 2,609 installed files match the
41
+ previewed archive. The 23 initial unavailable-version reads remain in the
42
+ original CI receipt; no upload was repeated.
43
+ - [Independent installed-feature checks](../releases/0.10.0-feature-smoke.json)
44
+ passed, including moved-package replay after originals are removed and exact
45
+ retained costs. Registry signature/attestation passed. See the
46
+ [release receipt](../releases/0.10.0-verification.json) and executable recipe.
47
+ - Actual model/agent evaluation calls added: zero. Historical study totals,
48
+ unknown final usage, immutable evidence and private lab contents are unchanged.
49
+ Partial/stopped evidence cannot authorize an upgrade; no upgrade is automatic.
@@ -0,0 +1,140 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "verifiedAt": "2026-10-15T17:46:25.105Z",
4
+ "version": "0.10.0",
5
+ "latest": "0.10.0",
6
+ "integrity": "sha512-esrFLFqZymxg0DCOWXBZB9BFXdUfbGK2GizNrng9kSBLvSzI21L7qou4kBypU2cH6f6twv8zFXR7NfftOfiHYg==",
7
+ "sha256": "2a4e2a95fd903078cbf1e29c28aff6e2ce1420ee996e205a24fec72eae9992c3",
8
+ "sourceCommit": "9027d8d80a3974c7e352af10e8ede3029c69205b",
9
+ "installedFilesVerified": 2609,
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-15T17:34:48.589Z",
21
+ "versionStatus": 404,
22
+ "latestStatus": 200
23
+ },
24
+ {
25
+ "at": "2026-10-15T17:35:18.752Z",
26
+ "versionStatus": 404,
27
+ "latestStatus": 200
28
+ },
29
+ {
30
+ "at": "2026-10-15T17:35:48.878Z",
31
+ "versionStatus": 404,
32
+ "latestStatus": 200
33
+ },
34
+ {
35
+ "at": "2026-10-15T17:36:19.118Z",
36
+ "versionStatus": 404,
37
+ "latestStatus": 200
38
+ },
39
+ {
40
+ "at": "2026-10-15T17:36:49.239Z",
41
+ "versionStatus": 404,
42
+ "latestStatus": 200
43
+ },
44
+ {
45
+ "at": "2026-10-15T17:37:19.403Z",
46
+ "versionStatus": 404,
47
+ "latestStatus": 200
48
+ },
49
+ {
50
+ "at": "2026-10-15T17:37:49.539Z",
51
+ "versionStatus": 404,
52
+ "latestStatus": 200
53
+ },
54
+ {
55
+ "at": "2026-10-15T17:38:19.803Z",
56
+ "versionStatus": 404,
57
+ "latestStatus": 200
58
+ },
59
+ {
60
+ "at": "2026-10-15T17:38:49.933Z",
61
+ "versionStatus": 404,
62
+ "latestStatus": 200
63
+ },
64
+ {
65
+ "at": "2026-10-15T17:39:20.060Z",
66
+ "versionStatus": 404,
67
+ "latestStatus": 200
68
+ },
69
+ {
70
+ "at": "2026-10-15T17:39:50.270Z",
71
+ "versionStatus": 404,
72
+ "latestStatus": 200
73
+ },
74
+ {
75
+ "at": "2026-10-15T17:40:20.409Z",
76
+ "versionStatus": 404,
77
+ "latestStatus": 200
78
+ },
79
+ {
80
+ "at": "2026-10-15T17:40:50.548Z",
81
+ "versionStatus": 404,
82
+ "latestStatus": 200
83
+ },
84
+ {
85
+ "at": "2026-10-15T17:41:20.680Z",
86
+ "versionStatus": 404,
87
+ "latestStatus": 200
88
+ },
89
+ {
90
+ "at": "2026-10-15T17:41:50.787Z",
91
+ "versionStatus": 404,
92
+ "latestStatus": 200
93
+ },
94
+ {
95
+ "at": "2026-10-15T17:42:21.091Z",
96
+ "versionStatus": 404,
97
+ "latestStatus": 200
98
+ },
99
+ {
100
+ "at": "2026-10-15T17:42:51.244Z",
101
+ "versionStatus": 404,
102
+ "latestStatus": 200
103
+ },
104
+ {
105
+ "at": "2026-10-15T17:43:21.405Z",
106
+ "versionStatus": 404,
107
+ "latestStatus": 200
108
+ },
109
+ {
110
+ "at": "2026-10-15T17:43:51.527Z",
111
+ "versionStatus": 404,
112
+ "latestStatus": 200
113
+ },
114
+ {
115
+ "at": "2026-10-15T17:44:21.717Z",
116
+ "versionStatus": 404,
117
+ "latestStatus": 200
118
+ },
119
+ {
120
+ "at": "2026-10-15T17:44:51.849Z",
121
+ "versionStatus": 404,
122
+ "latestStatus": 200
123
+ },
124
+ {
125
+ "at": "2026-10-15T17:45:22.015Z",
126
+ "versionStatus": 404,
127
+ "latestStatus": 200
128
+ },
129
+ {
130
+ "at": "2026-10-15T17:45:52.140Z",
131
+ "versionStatus": 404,
132
+ "latestStatus": 200
133
+ },
134
+ {
135
+ "at": "2026-10-15T17:46:22.245Z",
136
+ "versionStatus": 200,
137
+ "latestStatus": 200
138
+ }
139
+ ]
140
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "skillfit.release-case-workflow-smoke",
4
+ "version": "0.10.0",
5
+ "verifiedAt": "2026-10-15T17:47:46.340Z",
6
+ "modelCalls": 0,
7
+ "agentCliCalls": 0,
8
+ "syntheticExecutorCalls": 2,
9
+ "checks": {
10
+ "version": true,
11
+ "help": true,
12
+ "listShow": true,
13
+ "editPlanBackup": true,
14
+ "removePreservesFiles": true,
15
+ "benchCheckJson": true,
16
+ "selectedPreviewNoCalls": true,
17
+ "exportPlan": true,
18
+ "portableChecksums": true,
19
+ "movedPackageReplayWithoutOriginals": true,
20
+ "exactCosts": true
21
+ }
22
+ }
@@ -0,0 +1,62 @@
1
+ import assert from 'node:assert/strict';
2
+ import {spawnSync} from 'node:child_process';
3
+ import {existsSync,mkdirSync,mkdtempSync,readFileSync,renameSync,rmSync,writeFileSync} from 'node:fs';
4
+ import {join,resolve} from 'node:path';
5
+ import {pathToFileURL} from 'node:url';
6
+
7
+ // Argument 1: an extracted or registry-installed skillfit package. Argument 2:
8
+ // a fresh parent directory for synthetic data and the resulting JSON receipt.
9
+ const installed=resolve(process.argv[2]), parent=resolve(process.argv[3]);
10
+ mkdirSync(parent,{recursive:true});
11
+ const root=mkdtempSync(join(parent,'case-smoke-')), bench=join(root,'bench'), skill=join(root,'skill');
12
+ const load=path=>import(pathToFileURL(join(installed,'dist',path)).href);
13
+ const {runBenchInit}=await load('commands/bench.js');
14
+ const {runEval}=await load('commands/eval.js');
15
+ const {exportEvaluation}=await load('commands/eval-export.js');
16
+ const {MockExecutor}=await load('harness/executors/mock.js');
17
+ const cli=(...args)=>{
18
+ const child=spawnSync(process.execPath,[join(installed,'dist/cli.js'),...args],{cwd:root,encoding:'utf8',timeout:60_000,maxBuffer:16*1024*1024});
19
+ assert.equal(child.status,0,child.stderr||child.stdout); return child.stdout;
20
+ };
21
+ const checks={};
22
+ assert.equal(cli('--version').trim(),'0.10.0'); checks.version=true;
23
+ const help=cli('--help'); for(const flag of ['--export','--input-root','bench list','bench remove','--task']) assert.ok(help.includes(flag)); checks.help=true;
24
+ await runBenchInit({dir:bench,yes:true,log:()=>{}});
25
+ const manifestPath=join(bench,'bench.json'), initial=JSON.parse(readFileSync(manifestPath));
26
+ initial.tasks.push({...initial.tasks[0],id:'second-case'}); writeFileSync(manifestPath,JSON.stringify(initial));
27
+ assert.equal(JSON.parse(cli('bench','list',bench,'--json')).tasks.length,2);
28
+ assert.equal(JSON.parse(cli('bench','show',bench,'second-case','--json')).tasks[0].id,'second-case'); checks.listShow=true;
29
+ const before=readFileSync(manifestPath,'utf8');
30
+ assert.equal(JSON.parse(cli('bench','edit',bench,'second-case','--set','shouldTrigger=false','--json')).status,'planned');
31
+ assert.equal(readFileSync(manifestPath,'utf8'),before);
32
+ assert.equal(JSON.parse(cli('bench','edit',bench,'second-case','--set','shouldTrigger=false','--yes','--json')).status,'applied');
33
+ assert.equal(readFileSync(manifestPath+'.skillfit-bak','utf8'),before); checks.editPlanBackup=true;
34
+ assert.equal(JSON.parse(cli('bench','remove',bench,'second-case','--yes','--json')).status,'applied');
35
+ assert.ok(existsSync(join(bench,initial.tasks[0].prompt))); checks.removePreservesFiles=true;
36
+ const health=JSON.parse(cli('bench','check',bench,'--json')); assert.ok(Array.isArray(health.checks)); checks.benchCheckJson=true;
37
+ mkdirSync(skill); writeFileSync(join(skill,'SKILL.md'),'# Synthetic publication smoke\n');
38
+ const mock=new MockExecutor(); let syntheticCalls=0;
39
+ const executor={describe:()=>mock.describe(),run:async(...args)=>{syntheticCalls++;return mock.run(...args)}};
40
+ const options={skillPath:skill,bench,taskIds:['example-task'],trials:1,maxCalls:2,executor,judgeExecutor:null,yes:true,runsRoot:join(root,'runs'),runGroup:'synthetic',log:()=>{}};
41
+ await runEval({...options,dryRun:true,onPlan:p=>{assert.equal(p.plannedCalls,2);assert.deepEqual(p.bench.taskIds,['example-task']);}});
42
+ assert.equal(syntheticCalls,0); checks.selectedPreviewNoCalls=true;
43
+ await runEval({...options,dryRun:false}); assert.equal(syntheticCalls,2);
44
+ const run=join(root,'runs/synthetic'), output=join(root,'export');
45
+ const original=JSON.parse(cli('report','eval',run,'--json'));
46
+ const plan=JSON.parse(cli('report','eval',run,'--export',output,'--json')); assert.equal(plan.status,'planned'); assert.ok(!existsSync(output)); checks.exportPlan=true;
47
+ await exportEvaluation(run,output,{yes:true,log:()=>{}});
48
+ const moved=join(root,'moved package'); renameSync(output,moved);
49
+ for(const path of [bench,skill,join(root,'runs')]) rmSync(path,{recursive:true});
50
+ const reproduce=verify=>{
51
+ const child=spawnSync(process.execPath,[join(moved,'reproduce.mjs'),...(verify?['--verify-only']:[])],{cwd:root,encoding:'utf8',timeout:60_000,maxBuffer:16*1024*1024});
52
+ assert.equal(child.status,0,child.stderr); return JSON.parse(child.stdout);
53
+ };
54
+ assert.equal(reproduce(true).verified,true); checks.portableChecksums=true;
55
+ const replay=reproduce(false); assert.equal(replay.evidence.verified,true); assert.deepEqual(replay.costs,original.costs);
56
+ assert.equal(replay.acceptance.eligibleForUpgrade,false); assert.equal(replay.acceptance.automaticUpgrade,false);
57
+ const inspected=JSON.parse(cli('report','eval',moved,'--json','--replay')); assert.equal(inspected.portablePackage.integrityVerified,true);
58
+ assert.equal(syntheticCalls,2); checks.movedPackageReplayWithoutOriginals=true; checks.exactCosts=true;
59
+ const receipt={schemaVersion:1,kind:'skillfit.release-case-workflow-smoke',version:'0.10.0',verifiedAt:new Date().toISOString(),modelCalls:0,agentCliCalls:0,syntheticExecutorCalls:syntheticCalls,checks};
60
+ writeFileSync(join(parent,'feature-smoke.json'),JSON.stringify(receipt,null,2)+'\n',{flag:'wx'});
61
+ rmSync(root,{recursive:true});
62
+ console.log(JSON.stringify(receipt));
@@ -0,0 +1,7 @@
1
+ audited 1 package in 5s
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
+
@@ -0,0 +1,76 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "verifiedAt": "2026-10-15T17:50:03.630Z",
4
+ "version": "0.10.0",
5
+ "latest": "0.10.0",
6
+ "integrity": "sha512-esrFLFqZymxg0DCOWXBZB9BFXdUfbGK2GizNrng9kSBLvSzI21L7qou4kBypU2cH6f6twv8zFXR7NfftOfiHYg==",
7
+ "sha256": "2a4e2a95fd903078cbf1e29c28aff6e2ce1420ee996e205a24fec72eae9992c3",
8
+ "sourceCommit": "9027d8d80a3974c7e352af10e8ede3029c69205b",
9
+ "publishedAt": "2026-10-15T17:46:05.738Z",
10
+ "releaseDate": "2026-10-16",
11
+ "releaseTimeZone": "Asia/Shanghai",
12
+ "registry": "https://registry.npmjs.org/",
13
+ "tarball": "https://registry.npmjs.org/skillfit/-/skillfit-0.10.0.tgz",
14
+ "packageBytes": 22274164,
15
+ "installedFilesVerified": 2609,
16
+ "zeroRuntimeDependencies": true,
17
+ "globalInstall": false,
18
+ "modelCalls": 0,
19
+ "agentCliCalls": 0,
20
+ "automaticUpgrade": false,
21
+ "fullOfflineTestsPassed": 600,
22
+ "platformCI": {
23
+ "runUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/38777086013",
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/38777935270",
34
+ "runUrl": "https://github.com/remote-controlled-man/skillfit/actions/runs/38778295053",
35
+ "uploadCount": 1,
36
+ "workflowConclusion": "success",
37
+ "previewMatchesPublishedArchive": true,
38
+ "registryAttempts": 24,
39
+ "unavailableReadsRetained": 23
40
+ },
41
+ "ciRegistryReceipt": {
42
+ "path": "0.10.0-ci-registry-install.json",
43
+ "sha256": "091d207827a3435de7f0cd453bcb29b0d3506c4dff01c5b01ec4cf5025ba2e42"
44
+ },
45
+ "featureSmoke": {
46
+ "path": "0.10.0-feature-smoke.json",
47
+ "sha256": "490a0b4f2909b39c81e448f65a274fb2b9f29d7a6252c1f3e97af02e8b4b29ff",
48
+ "recipe": "0.10.0-feature-smoke.mjs",
49
+ "recipeSha256": "869289bd92046d2e93af203c64633697089471d38df9aeb0fe57ed6caf123969",
50
+ "checks": {
51
+ "version": true,
52
+ "help": true,
53
+ "listShow": true,
54
+ "editPlanBackup": true,
55
+ "removePreservesFiles": true,
56
+ "benchCheckJson": true,
57
+ "selectedPreviewNoCalls": true,
58
+ "exportPlan": true,
59
+ "portableChecksums": true,
60
+ "movedPackageReplayWithoutOriginals": true,
61
+ "exactCosts": true
62
+ },
63
+ "syntheticExecutorCalls": 2
64
+ },
65
+ "registryAudit": {
66
+ "exitCode": 0,
67
+ "packages": 1,
68
+ "verifiedRegistrySignatures": 1,
69
+ "verifiedAttestations": 1,
70
+ "log": "0.10.0-signatures.txt",
71
+ "sha256": "7656b138c603262c0e62f7aa447f422e16e0bb20a3fb0bf0bf0b12a51375f4d8"
72
+ },
73
+ "verificationKind": "CI registry installation plus independent local file-by-file installation and offline feature replay",
74
+ "comparisonSource": "extracted accepted CI archive, not a local rebuild",
75
+ "scope": "CLI usability and reproducibility; no new real Skill efficacy observations or upgrade eligibility"
76
+ }
@@ -1,8 +1,8 @@
1
1
  # skillfit 0.10.0
2
2
 
3
- The user authorized this case-workflow release on October 16, 2026. Publication
4
- is pending until the exact archive is available from npm and an isolated registry
5
- installation is verified. Source readiness or an upload alone is not completion.
3
+ Published and verified as `skillfit@0.10.0` on October 16, 2026 in Asia/Shanghai
4
+ (October 15 at 17:46:05 UTC). The [verification receipt](0.10.0-verification.json)
5
+ pins the accepted archive, source, installation and offline feature checks.
6
6
 
7
7
  ## Delivered workflow
8
8
 
@@ -28,11 +28,17 @@ not publisher identity. Legacy/redacted evidence retains its own dated recipes.
28
28
  Offline tests cover selected budgets/order, invalid selections before calls,
29
29
  case plans/backups/rollback, JSON output, preserved shared files, restored pinned
30
30
  inputs, portable replay after originals are removed and stopped-cost retention.
31
- Linux/macOS/Windows CI and bundled/contributed bench integrity must pass before
32
- merge. The [manual OIDC procedure](trusted-publishing.md) prepares the exact archive,
33
- previews it, publishes once, then verifies registry version/latest/integrity and
34
- every installed file. Retain failed attempts if npm review delays availability;
35
- verify the accepted archive read-only instead of uploading it again.
31
+ All 600 offline tests, Linux/macOS/Windows CI and bundled/contributed bench
32
+ integrity passed in [PR #26](https://github.com/remote-controlled-man/skillfit/pull/26).
33
+ Publication source: `9027d8d80a3974c7e352af10e8ede3029c69205b`. The [manual OIDC procedure](trusted-publishing.md) prepared and previewed the exact
34
+ archive, published once, then verified registry version/latest/integrity and every
35
+ installed file. Both the [preview](https://github.com/remote-controlled-man/skillfit/actions/runs/38777935270)
36
+ and [publication](https://github.com/remote-controlled-man/skillfit/actions/runs/38778295053)
37
+ workflows succeeded. All 2,609 installed files match the accepted archive in CI
38
+ and an independent local install; the preview and publication archive hashes match.
39
+ The [original CI receipt](0.10.0-ci-registry-install.json) retains 23 unavailable
40
+ version reads followed by availability, without another upload. The earlier 0.9.1
41
+ failed publication/recovery history remains unchanged.
36
42
 
37
43
  This is CLI usability and reproducibility work. Tests inject offline executors;
38
44
  no real model or agent evaluation is authorized or added. The study remains at
@@ -43,3 +49,33 @@ claim, statistical-policy change, runtime dependency or automatic upgrade is inc
43
49
  npx skillfit@0.10.0 --version
44
50
  npx skillfit@0.10.0 --help
45
51
  ```
52
+
53
+ ## Registry and installed-feature verification
54
+
55
+ An isolated local install passed all eleven [feature checks](0.10.0-feature-smoke.json),
56
+ including moved-package replay with exact costs after original inputs disappear.
57
+ It made two synthetic executor calls, zero real model/agent CLI calls and no global
58
+ install. [npm signature/attestation verification](0.10.0-signatures.txt) also passed
59
+ for the single installed package. No token-cost or Skill-improvement claim follows
60
+ from these implementation checks.
61
+
62
+ The immutable npm archive contains the pre-publication preparation guide; this
63
+ repository record and its receipts were added after the verified publication.
64
+
65
+ ## Reproduce the installed-feature checks
66
+
67
+ The repository retains a [feature smoke recipe](0.10.0-feature-smoke.mjs). Provide
68
+ an extracted or isolated registry-installed package path and a fresh output parent:
69
+
70
+ ```bash
71
+ node docs/releases/0.10.0-feature-smoke.mjs /absolute/path/to/node_modules/skillfit /tmp/skillfit-0.10.0-feature-smoke
72
+ ```
73
+
74
+ It checks version/help, list/show, edit preview and first backup, removal with
75
+ preserved files, JSON bench checks, selected-call preview and a moved replay
76
+ package after deleting its original inputs/run. A synthetic executor produces two
77
+ receipts; zero model or agent CLI calls occur. The replay must reproduce exact
78
+ costs, remain synthetic/ineligible and retain `automaticUpgrade: false`. Generated
79
+ project/run files are cleaned; `feature-smoke.json` is retained in the output parent.
80
+ This recipe/receipt is a post-publication repository record, not bytes retroactively
81
+ added to the immutable npm archive.