skillfit 0.15.3 → 0.16.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.
@@ -10,7 +10,7 @@ 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.15.3 --version`, or `node dist/cli.js --version` inside a clone.
13
+ Check availability with `npx skillfit@0.16.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
  For source-only commands below, set `skillfit_source` to the absolute path of a
16
16
  built checkout, then run from the project/study workspace that owns the outputs.
@@ -24,13 +24,13 @@ and earlier lack them. Registry availability is
24
24
  separate from source preparation, so inspect the installed version and fall back
25
25
  to the reviewed implementing source snapshot when a 0.15.0 package is
26
26
  unavailable. Read the
27
- [capability table](https://github.com/remote-controlled-man/skillfit/blob/f506681edd0490a7690f2a96bd5b7e589f0bd5d0/docs/guides/experiment-workflow.md#executor-capabilities)
27
+ [capability table](https://github.com/remote-controlled-man/skillfit/blob/17772db9b2f112a1e25d0284a76cf38860f7790b/docs/guides/experiment-workflow.md#executor-capabilities)
28
28
  before promising a mode, strict budget or model provenance, and check the
29
29
  installed version before relying on a flag a later release added.
30
30
 
31
31
  Source links in this standalone driver use the
32
- [reviewed source snapshot](https://github.com/remote-controlled-man/skillfit/tree/f506681edd0490a7690f2a96bd5b7e589f0bd5d0). They do not follow main.
33
- That full commit is tag v0.15.0, so the built CLI reports package version 0.15.0.
32
+ [reviewed source snapshot](https://github.com/remote-controlled-man/skillfit/tree/17772db9b2f112a1e25d0284a76cf38860f7790b). They do not follow main.
33
+ That snapshot contains revision preparation and the startup fix before this release bump, so its built CLI reports source package version 0.16.0.
34
34
  For a superseded release such as 0.13.1, use its
35
35
  [original documentation](https://github.com/remote-controlled-man/skillfit/tree/4eaefde80f7e8a6b1e01939d3bd8a8b6418b75d6/docs);
36
36
  do not substitute that older package for an example requiring 0.15.0 features.
@@ -40,20 +40,23 @@ do not substitute that older package for an example requiring 0.15.0 features.
40
40
  | User asks… | Run |
41
41
  |---|---|
42
42
  | "我的 skill 有没有被用到 / are my skills used at all" | `skillfit report` — read-only, free, instant; start here |
43
- | "这个配置健不健康" | `skillfit doctor` — read-only |
43
+ | "这个配置健不健康" | `skillfit doctor` — read-only; current source supports versioned `--json` output and explicit `--strict` exit 1 on FAIL |
44
44
  | "这个 skill 值不值得装 / does this skill help" | Preview `skillfit eval <skill-path> --mode installed --bench <bench> --agent <id> --trials 3 --dry-run`, then run within authorized spending |
45
- | "新版 Skill 是否值得采用 / evaluate a candidate for a Skill evolution workflow" | With npm 0.9.0 or a current checkout, use `eval --request <request.json> --dry-run`; read the [component contract](https://github.com/remote-controlled-man/skillfit/blob/f506681edd0490a7690f2a96bd5b7e589f0bd5d0/docs/reference/eval-component.md) for inputs and acceptance policy |
45
+ | "新版 Skill 是否值得采用 / evaluate a candidate for a Skill evolution workflow" | With npm 0.9.0 or a current checkout, use `eval --request <request.json> --dry-run`; read the [component contract](https://github.com/remote-controlled-man/skillfit/blob/17772db9b2f112a1e25d0284a76cf38860f7790b/docs/reference/eval-component.md) for inputs and acceptance policy |
46
46
  | "agent 自己想不想得起用它 / does it trigger" | same + `--mode trigger`. Add `--compete-installed` to copy other user Skills; otherwise recall is an upper bound. Codex counts a `SKILL.md` read |
47
- | "这个 MCP 能不能连上 / is this MCP catalog valid" | `skillfit mcp check <probe.json>` — read-only discovery; calls no tools |
48
- | "这个 MCP / AGENTS.md 真的有帮助吗" | Preview `skillfit eval <experiment-dir> --bench <bench> --agent <id> --trials 3 --dry-run`; follow the [configuration experiment guide](https://github.com/remote-controlled-man/skillfit/blob/f506681edd0490a7690f2a96bd5b7e589f0bd5d0/docs/guides/experiment-workflow.md#rules-and-mcp-overlays) |
49
- | "建一个 bench" | `skillfit bench init [dir]` then `skillfit bench check [dir]`; default schema 1 stays unrecorded; source supports explicit `--schema-version 2` with [claims](https://github.com/remote-controlled-man/skillfit/blob/f506681edd0490a7690f2a96bd5b7e589f0bd5d0/benches/README.md#claims-and-measurement-scope) |
50
- | "花钱前确认流水线能测到预期对照" | 0.15.0 / reviewed source: preview `node "$skillfit_source/dist/cli.js" bench self-test "$skillfit_source/benches/_self-test/example" --runs-root ./runs --run-group controls-001 --json --dry-run` from the owning workspace, then confirm with `--plan-sha <plan.sha256>`; read [self-test](https://github.com/remote-controlled-man/skillfit/blob/f506681edd0490a7690f2a96bd5b7e589f0bd5d0/docs/guides/bench-authoring.md#test-known-controls) for controls, limits and fresh output rules |
47
+ | "这个 MCP 能不能连上 / is this MCP catalog valid" | Preview `skillfit mcp check <probe.json> --dry-run`, then check explicitly; current source also selects real JSON config with `--agent <id> --server <name> [--project]`. Never calls tools; may start/connect the server. Native Codex TOML selection is unsupported |
48
+ | "添加 / 修改 / 移除一个 MCP 配置" | Preview current-source `skillfit mcp apply --agent <id> --server <name> (--from <probe.json> | --remove) [--project] --dry-run`, then use `--yes`; JSON only, native Codex TOML refuses. No server/model call |
49
+ | "卸载一个托管 Skill / 移除托管规则" | Preview current-source `skillfit uninstall --agent <id> --skill <name> [--project] --dry-run`, then use `--yes`; `--rules` removes only the managed block. Local drift refuses; no usage-based automatic removal |
50
+ | "迁移个人 rules / Skills / MCP" | Preview current-source `skillfit bundle export <new-dir> --agent <codex|kimi-code> [--skill <name> ...] [--allow-symlink-root <dir> ...] [--mcp <name> ...] --dry-run`, then export with `--yes`; run the generated `setup.mjs --dry-run` before `--yes`. Same-Agent migration only; MCP accepts only structurally credential-free JSON declarations, never native Codex TOML. Skill links require explicit containing roots and stay inside the selected Skill; default refuses. No server/model call |
51
+ | "这个 MCP / AGENTS.md 真的有帮助吗" | Preview `skillfit eval <experiment-dir> --bench <bench> --agent <id> --trials 3 --dry-run`; follow the [configuration experiment guide](https://github.com/remote-controlled-man/skillfit/blob/17772db9b2f112a1e25d0284a76cf38860f7790b/docs/guides/experiment-workflow.md#rules-and-mcp-overlays) |
52
+ | "建一个 bench" | `skillfit bench init [dir]` then `skillfit bench check [dir]`; default schema 1 stays unrecorded; source supports explicit `--schema-version 2` with [claims](https://github.com/remote-controlled-man/skillfit/blob/17772db9b2f112a1e25d0284a76cf38860f7790b/benches/README.md#claims-and-measurement-scope) |
53
+ | "花钱前确认流水线能测到预期对照" | 0.15.0 / reviewed source: preview `node "$skillfit_source/dist/cli.js" bench self-test "$skillfit_source/benches/_self-test/example" --runs-root ./runs --run-group controls-001 --json --dry-run` from the owning workspace, then confirm with `--plan-sha <plan.sha256>`; read [self-test](https://github.com/remote-controlled-man/skillfit/blob/17772db9b2f112a1e25d0284a76cf38860f7790b/docs/guides/bench-authoring.md#test-known-controls) for controls, limits and fresh output rules |
51
54
  | "做代码修改 case" | `bench init <dir> --kind command --dry-run`, then apply within the authorized scope; replace the teaching case with the real fixture, prompt, verifier and oracle |
52
55
  | "给 Agent 看 case 校验失败原因" | `bench check <dir> --json` — offline gate IDs, evidence and remediation; this is the integrity result, not calibration |
53
56
  | "先测 case 难度" | Version 0.11.0: `bench check <dir> --calibrate --agent <id> --task <id> --trials 1 --max-calls 1 --run-group <fresh-name> --json --dry-run`; calibrate only within authorized spending |
54
57
  | "查看或管理 case" | `bench list <dir> --json`, `bench show <dir> <id> --json`; preview `bench edit <dir> <id> --set field=value --json` or `bench remove <dir> <id> --json` |
55
58
  | "只测几个 case" | Repeat `eval --task <id>` or set request `taskIds`; source also supports task selection for calibration/trigger; preview the selected budget and keep validation independent |
56
- | "把结果交给另一台机器复现" | Preview `report eval <run-dir> --export <new-dir> --json`, then apply within the authorized scope; read the [portable package contract](https://github.com/remote-controlled-man/skillfit/blob/f506681edd0490a7690f2a96bd5b7e589f0bd5d0/docs/reference/evaluation-reports.md) for matching inputs, stopped costs and sharing review |
59
+ | "把结果交给另一台机器复现" | Preview `report eval <run-dir> --export <new-dir> --json`, then apply within the authorized scope; read the [portable package contract](https://github.com/remote-controlled-man/skillfit/blob/17772db9b2f112a1e25d0284a76cf38860f7790b/docs/reference/evaluation-reports.md) for matching inputs, stopped costs and sharing review |
57
60
  | "把这次翻车存成任务" | `skillfit bench add <bench> --freeze --task <id> --prompt "..." --verifier-cmd "<cmd>"` |
58
61
  | "帮我起草 verifier" | same but `--decompose --agent <id>` — an agent drafts verifier + oracle; admitted only if the NOP + oracle gates pass |
59
62
 
@@ -71,13 +74,28 @@ commands and eval; local paths win. Editing still needs an owned local directory
71
74
  Git-root benches are supported since 0.12.0, with metadata excluded consistently.
72
75
  Keep `--runs-root` outside the bench/Skill/runtime and Git metadata; bad layouts
73
76
  are rejected at preview, including aliases. See the
74
- [first-run guide](https://github.com/remote-controlled-man/skillfit/blob/f506681edd0490a7690f2a96bd5b7e589f0bd5d0/docs/guides/first-real-eval.md).
77
+ [first-run guide](https://github.com/remote-controlled-man/skillfit/blob/17772db9b2f112a1e25d0284a76cf38860f7790b/docs/guides/first-real-eval.md).
78
+
79
+ For a first revision comparison, npm 0.16.1 and newer provide `--prepare`; check `eval --help`.
80
+ When available, preview `eval <new-skill> --baseline-skill <old-skill> --prepare
81
+ <fresh-workspace> --from-commit <fix-sha> --source-dir <repo> --prompt-file
82
+ <issue-request> --agent <id> --dry-run`. This validates two complete same-name,
83
+ different-byte Skills and mines the fix plus its tests without model calls.
84
+ Apply within existing local-write authorization using `--yes`; creation executes
85
+ trusted offline verifier/oracle commands, with `--verifier-cmd` retained for later
86
+ runs (default `node --test`). Failed gates retain the workspace as blocked. No
87
+ agent configuration is changed or isolated. The generated request uses one
88
+ balanced development pair with a two-call ceiling; optional spending-budget and
89
+ executor-timeout flags are copied into it. Preview the returned request separately
90
+ and confirm its exact digest only within authorized spending. This entry does not
91
+ prepare independent validation or relax the adoption policy. npm 0.16.0 and
92
+ earlier do not include this preparation entry.
75
93
 
76
94
  Since 0.12.0, `--freeze` selects tracked ordinary files inside Git; outside Git,
77
95
  explicit `--include <file-or-dir>` selections are required. Narrow large fixtures
78
96
  before importing. For `--decompose`, preview and authorize its single call within
79
97
  existing spending permission. Failed/interrupted drafts retain costs and inputs;
80
- never retry implicitly. See [drafting records](https://github.com/remote-controlled-man/skillfit/blob/f506681edd0490a7690f2a96bd5b7e589f0bd5d0/docs/guides/bench-authoring.md).
98
+ never retry implicitly. See [drafting records](https://github.com/remote-controlled-man/skillfit/blob/17772db9b2f112a1e25d0284a76cf38860f7790b/docs/guides/bench-authoring.md).
81
99
 
82
100
  Current-source schema 2 requires explicit `--claim` values for add/freeze/from-commit;
83
101
  claims edits use a JSON array and never upgrade schema 1 implicitly. Preview and
@@ -109,7 +127,7 @@ Dry previews execute no verifier/oracle/agent. Inspect the environment's nested
109
127
  `status`: a generated `planned` result can still be blocked by a missing CLI.
110
128
  Login always remains offline unknown. Live calibration/eval block hard case or
111
129
  environment failures; warnings and unknown evidence are not interchangeable.
112
- See [shared planning](https://github.com/remote-controlled-man/skillfit/blob/f506681edd0490a7690f2a96bd5b7e589f0bd5d0/docs/guides/experiment-workflow.md).
130
+ See [shared planning](https://github.com/remote-controlled-man/skillfit/blob/17772db9b2f112a1e25d0284a76cf38860f7790b/docs/guides/experiment-workflow.md).
113
131
 
114
132
  Calibration has one no-Skill baseline arm and defaults to two trials; trigger
115
133
  has one installed arm, defaults to five and skips unlabeled selected tasks.
@@ -216,7 +234,7 @@ historical adoption requirement; a declaration mismatch is an integrity error.
216
234
  source checkout; source-development validation uses OS temporary directories.
217
235
  Exclude outputs from that project's Git history; the CLI does not edit its ignore rules.
218
236
  Keep derived analysis/scratch outside sealed batches; never edit/prune indexed
219
- receipts. Follow the [workflow](https://github.com/remote-controlled-man/skillfit/blob/f506681edd0490a7690f2a96bd5b7e589f0bd5d0/docs/guides/experiment-workflow.md#retain-and-clean-up)
237
+ receipts. Follow the [workflow](https://github.com/remote-controlled-man/skillfit/blob/17772db9b2f112a1e25d0284a76cf38860f7790b/docs/guides/experiment-workflow.md#retain-and-clean-up)
220
238
  for explicit manual retention/cleanup. This CLI has no automatic GC or generic
221
239
  custom process-metric collector.
222
240
  - `bench init` / `bench add` show a plan before writing; `bench edit/remove` default