skill-family-engineering-kit 0.22.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/CHANGELOG.zh-CN.md +21 -0
- package/README.md +18 -18
- package/README.zh-CN.md +18 -18
- package/data/capability-catalog/capability-catalog.en.json +13 -7
- package/data/capability-catalog/capability-catalog.json +8 -3
- package/data/capability-catalog/capability-catalog.zh-CN.json +13 -7
- package/docs/agents/capability-catalog.en.json +13 -7
- package/docs/agents/capability-catalog.json +8 -3
- package/docs/agents/capability-catalog.zh-CN.json +13 -7
- package/docs/en/help/index.html +6 -0
- package/docs/en/quickstart/index.html +1 -0
- package/docs/help/index.html +6 -0
- package/docs/public/status/index.html +3 -3
- package/docs/quickstart/index.html +1 -0
- package/docs/reference/api/engineering-kit/index.html +11 -8
- package/docs/search/search_index.json +1 -1
- package/package.json +3 -3
- package/release-notes/0.23.0.yaml +23 -0
- package/src/cli.mjs +90 -0
- package/src/index.mjs +7 -2
- package/src/professional-conclusion.mjs +278 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
<!-- release-skill:changelog:start version=0.23.0 locale=en baseline=sha256:6220b2be13af0cfb071f46ab481b1ecec5d1f0ce176cbb8cb6cc28ea9d0a7e3d -->
|
|
4
|
+
## [0.23.0] - 2026-09-26
|
|
5
|
+
|
|
6
|
+
Engineering Kit 0.23.0 keeps the four top-level commands and adds family proof creation and proof reading for a complete static professional review. This note records the local lockstep candidate only; it does not claim remote publication or real-host acceptance.
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- Adds `check proof-create`, which projects one caller-supplied static review result into a single exclusive Foundation conclusion. It checks the review structure and writes the family result; it does not scan the target again, authenticate authorship, or overwrite an existing conclusion.
|
|
11
|
+
- Adds `check proof`, which reads one existing Foundation-family proof and explains its public code. It does not scan the target, follow paths inside `details`, or authenticate authorship.
|
|
12
|
+
- Records `FOUNDATION_STATIC_CLEAR` only when every applicable selected static item passes, `FOUNDATION_STATIC_FINDINGS` when a real finding is present, and `FOUNDATION_STATIC_INCOMPLETE` when coverage is unfinished, evidence is insufficient, or every selected item is not applicable. Existing `ENGINEERING_*` codes stay limited to the previous declaration branches.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Moves the package coordinate to 0.23.0 together with Contracts, Harness, and the adoption Plugin. The Contracts specification remains 1.20.0, and this package adds no new contract object or Harness mechanism.
|
|
17
|
+
|
|
18
|
+
### Upgrade Notes
|
|
19
|
+
|
|
20
|
+
Pin all three Foundation packages to exactly 0.23.0. The Kit projects and reads the family result; the engineering judgment stays with `foundation-engineering-check`. Remote publication and real-host verification are outside this note.
|
|
21
|
+
<!-- release-skill:changelog:end version=0.23.0 locale=en -->
|
|
22
|
+
|
|
23
|
+
|
|
3
24
|
<!-- release-skill:changelog:start version=0.22.0 locale=en baseline=sha256:5eeae7aaee659b91fd9d412ff5a0651d49e90fbcb020ffdb335d25845d590ef3 -->
|
|
4
25
|
## [0.22.0] - 2026-09-18
|
|
5
26
|
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# 变更日志
|
|
2
2
|
|
|
3
|
+
<!-- release-skill:changelog:start version=0.23.0 locale=zh-CN baseline=sha256:4192d7adcff64a7411acab5ef402d9baa657bcb1db6f41c4ed3b33c2303e25bc -->
|
|
4
|
+
## [0.23.0] - 2026-09-26
|
|
5
|
+
|
|
6
|
+
Engineering Kit 0.23.0 保持四个顶层命令,并增加完整静态专业审阅所需的本族证明出证和读取。本说明只记录本地锁步候选,不表示已经远端发布,也不表示真实宿主已经接受。
|
|
7
|
+
|
|
8
|
+
### 新增
|
|
9
|
+
|
|
10
|
+
- 增加 `check proof-create`。它把调用方提供的一份静态审阅结果投影成一份排他的 Foundation 结论,只检查审阅结构并写入本族结果;不再次扫描目标,不鉴定作者,也不覆盖已有结论。
|
|
11
|
+
- 增加 `check proof`。它读取一份已有的本族证明并解释公开领域码;不扫描目标,不追随 `details` 里的路径,不鉴定作者。
|
|
12
|
+
- 全部适用且选中的静态项通过时记录 `FOUNDATION_STATIC_CLEAR`;存在真实发现时记录 `FOUNDATION_STATIC_FINDINGS`;覆盖未完成、证据不足,或选中项全部不适用时记录 `FOUNDATION_STATIC_INCOMPLETE`。既有 `ENGINEERING_*` 仍只表示原来的局部声明检查。
|
|
13
|
+
|
|
14
|
+
### 变更
|
|
15
|
+
|
|
16
|
+
- 包坐标与 Contracts、Harness 和采用 Plugin 一起前移到 0.23.0。Contracts 规格仍是 1.20.0。本包不新增合同对象,也不新增 Harness 机制。
|
|
17
|
+
|
|
18
|
+
### 升级说明
|
|
19
|
+
|
|
20
|
+
三个 Foundation 包须一起精确锁定到 0.23.0。Kit 负责投影和读取本族结果;工程判断仍由 `foundation-engineering-check` 作出。远端发布和真实宿主验证不在本说明范围内。
|
|
21
|
+
<!-- release-skill:changelog:end version=0.23.0 locale=zh-CN -->
|
|
22
|
+
|
|
23
|
+
|
|
3
24
|
<!-- release-skill:changelog:start version=0.22.0 locale=zh-CN baseline=sha256:1926982b72cf2756963b204c22c9bfdf2969d690d3b336cf9bdc098fe4d256a0 -->
|
|
4
25
|
## [0.22.0] - 2026-09-18
|
|
5
26
|
|
package/README.md
CHANGED
|
@@ -4,28 +4,28 @@
|
|
|
4
4
|
|
|
5
5
|
# skill-family-engineering-kit
|
|
6
6
|
|
|
7
|
-
<!-- release-skill:release-version: 0.
|
|
7
|
+
<!-- release-skill:release-version: 0.23.0 -->
|
|
8
8
|
|
|
9
9
|
An engineering toolkit used in development and CI. There are **exactly four** top-level commands, and no fifth:
|
|
10
10
|
|
|
11
11
|
<!-- release-skill:managed:start id=latest-release -->
|
|
12
|
-
**0.
|
|
12
|
+
**0.23.0** (2026-09-26)
|
|
13
13
|
|
|
14
|
-
Engineering Kit 0.
|
|
14
|
+
Engineering Kit 0.23.0 keeps the four top-level commands and adds family proof creation and proof reading for a complete static professional review. This note records the local lockstep candidate only; it does not claim remote publication or real-host acceptance.
|
|
15
15
|
|
|
16
16
|
**Added**
|
|
17
17
|
|
|
18
|
-
- Adds
|
|
19
|
-
- Adds
|
|
18
|
+
- Adds `check proof-create`, which projects one caller-supplied static review result into a single exclusive Foundation conclusion. It checks the review structure and writes the family result; it does not scan the target again, authenticate authorship, or overwrite an existing conclusion.
|
|
19
|
+
- Adds `check proof`, which reads one existing Foundation-family proof and explains its public code. It does not scan the target, follow paths inside `details`, or authenticate authorship.
|
|
20
|
+
- Records `FOUNDATION_STATIC_CLEAR` only when every applicable selected static item passes, `FOUNDATION_STATIC_FINDINGS` when a real finding is present, and `FOUNDATION_STATIC_INCOMPLETE` when coverage is unfinished, evidence is insufficient, or every selected item is not applicable. Existing `ENGINEERING_*` codes stay limited to the previous declaration branches.
|
|
20
21
|
|
|
21
22
|
**Changed**
|
|
22
23
|
|
|
23
|
-
-
|
|
24
|
-
- Publishes the 0.22.0 capability catalog with the new `foundation.harness.file-set-recovery` entry projected from Contracts 1.20.0.
|
|
24
|
+
- Moves the package coordinate to 0.23.0 together with Contracts, Harness, and the adoption Plugin. The Contracts specification remains 1.20.0, and this package adds no new contract object or Harness mechanism.
|
|
25
25
|
|
|
26
26
|
**Upgrade Notes**
|
|
27
27
|
|
|
28
|
-
Pin all three Foundation packages to exactly 0.
|
|
28
|
+
Pin all three Foundation packages to exactly 0.23.0. The Kit projects and reads the family result; the engineering judgment stays with `foundation-engineering-check`. Remote publication and real-host verification are outside this note.
|
|
29
29
|
<!-- release-skill:managed:end id=latest-release -->
|
|
30
30
|
|
|
31
31
|
## Governance Check (0.22.0)
|
|
@@ -68,7 +68,7 @@ Kit is the "engineering stage" layer, depending on the Harness and Contracts. It
|
|
|
68
68
|
|
|
69
69
|
## Installation and Minimal Example
|
|
70
70
|
|
|
71
|
-
Version 0.
|
|
71
|
+
Version 0.23.0 is the local source candidate and is not yet formally published. Version 0.22.0 remains the published package. Build all three tarballs into one temporary directory and install those exact files for a candidate check:
|
|
72
72
|
|
|
73
73
|
```sh
|
|
74
74
|
pack_dir="$(mktemp -d)"
|
|
@@ -76,21 +76,21 @@ pack_dir="$(mktemp -d)"
|
|
|
76
76
|
(cd packages/skill-family-harness-node && pnpm pack --pack-destination "$pack_dir")
|
|
77
77
|
(cd packages/skill-family-engineering-kit && pnpm pack --pack-destination "$pack_dir")
|
|
78
78
|
mkdir "$pack_dir/consumer" && (cd "$pack_dir/consumer" && npm init -y)
|
|
79
|
-
(cd "$pack_dir/consumer" && npm install "$pack_dir/skill-family-contracts-0.
|
|
79
|
+
(cd "$pack_dir/consumer" && npm install "$pack_dir/skill-family-contracts-0.23.0.tgz" "$pack_dir/skill-family-harness-node-0.23.0.tgz" "$pack_dir/skill-family-engineering-kit-0.23.0.tgz")
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
-
After
|
|
82
|
+
After 0.23.0 is formally published, use the registry coordinate:
|
|
83
83
|
|
|
84
84
|
```sh
|
|
85
|
-
npm install --save-dev skill-family-engineering-kit@0.
|
|
86
|
-
npm exec --package=skill-family-engineering-kit@0.
|
|
87
|
-
npm exec --package=skill-family-engineering-kit@0.
|
|
88
|
-
npm exec --package=skill-family-engineering-kit@0.
|
|
89
|
-
npm exec --package=skill-family-engineering-kit@0.
|
|
90
|
-
npm exec --package=skill-family-engineering-kit@0.
|
|
85
|
+
npm install --save-dev skill-family-engineering-kit@0.23.0
|
|
86
|
+
npm exec --package=skill-family-engineering-kit@0.23.0 -- skill-family-kit --help
|
|
87
|
+
npm exec --package=skill-family-engineering-kit@0.23.0 -- skill-family-kit scaffold --root <empty-dir> --project-id my-project
|
|
88
|
+
npm exec --package=skill-family-engineering-kit@0.23.0 -- skill-family-kit adopt-plan --root <repo> --list-capabilities --all --scope all --locale en --uses ./uses.json
|
|
89
|
+
npm exec --package=skill-family-engineering-kit@0.23.0 -- skill-family-kit projection --root <repo>
|
|
90
|
+
npm exec --package=skill-family-engineering-kit@0.23.0 -- skill-family-kit check --root <repo>
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
The four commands above cover skeleton generation, read-only inventory, managed projection, and diagnostics respectively; a zero-install form is available via `npm exec --package=skill-family-engineering-kit@0.
|
|
93
|
+
The four commands above cover skeleton generation, read-only inventory, managed projection, and diagnostics respectively; a zero-install form is available via `npm exec --package=skill-family-engineering-kit@0.23.0 -- skill-family-kit --help`.
|
|
94
94
|
|
|
95
95
|
### Three adoption journeys
|
|
96
96
|
|
package/README.zh-CN.md
CHANGED
|
@@ -5,28 +5,28 @@
|
|
|
5
5
|
|
|
6
6
|
# skill-family-engineering-kit
|
|
7
7
|
|
|
8
|
-
<!-- release-skill:release-version: 0.
|
|
8
|
+
<!-- release-skill:release-version: 0.23.0 -->
|
|
9
9
|
|
|
10
10
|
开发与 CI 阶段使用的工程工具包。**恰好四个**顶层命令,没有第五个:
|
|
11
11
|
|
|
12
12
|
<!-- release-skill:managed:start id=latest-release -->
|
|
13
|
-
**0.
|
|
13
|
+
**0.23.0** (2026-09-26)
|
|
14
14
|
|
|
15
|
-
Engineering Kit 0.
|
|
15
|
+
Engineering Kit 0.23.0 保持四个顶层命令,并增加完整静态专业审阅所需的本族证明出证和读取。本说明只记录本地锁步候选,不表示已经远端发布,也不表示真实宿主已经接受。
|
|
16
16
|
|
|
17
17
|
**新增**
|
|
18
18
|
|
|
19
|
-
-
|
|
20
|
-
-
|
|
19
|
+
- 增加 `check proof-create`。它把调用方提供的一份静态审阅结果投影成一份排他的 Foundation 结论,只检查审阅结构并写入本族结果;不再次扫描目标,不鉴定作者,也不覆盖已有结论。
|
|
20
|
+
- 增加 `check proof`。它读取一份已有的本族证明并解释公开领域码;不扫描目标,不追随 `details` 里的路径,不鉴定作者。
|
|
21
|
+
- 全部适用且选中的静态项通过时记录 `FOUNDATION_STATIC_CLEAR`;存在真实发现时记录 `FOUNDATION_STATIC_FINDINGS`;覆盖未完成、证据不足,或选中项全部不适用时记录 `FOUNDATION_STATIC_INCOMPLETE`。既有 `ENGINEERING_*` 仍只表示原来的局部声明检查。
|
|
21
22
|
|
|
22
23
|
**变更**
|
|
23
24
|
|
|
24
|
-
-
|
|
25
|
-
- 随 0.22.0 发布新的能力目录,按 Contracts 1.20.0 投影新增 `foundation.harness.file-set-recovery` 条目。
|
|
25
|
+
- 包坐标与 Contracts、Harness 和采用 Plugin 一起前移到 0.23.0。Contracts 规格仍是 1.20.0。本包不新增合同对象,也不新增 Harness 机制。
|
|
26
26
|
|
|
27
27
|
**升级说明**
|
|
28
28
|
|
|
29
|
-
三个 Foundation 包须一起精确锁定到 0.
|
|
29
|
+
三个 Foundation 包须一起精确锁定到 0.23.0。Kit 负责投影和读取本族结果;工程判断仍由 `foundation-engineering-check` 作出。远端发布和真实宿主验证不在本说明范围内。
|
|
30
30
|
<!-- release-skill:managed:end id=latest-release -->
|
|
31
31
|
|
|
32
32
|
## 本地未发布治理检查
|
|
@@ -67,7 +67,7 @@ Kit 是「工程阶段」层,依赖 Harness 与 Contracts。它只做四件事
|
|
|
67
67
|
|
|
68
68
|
## 安装和最小示例
|
|
69
69
|
|
|
70
|
-
0.22.0
|
|
70
|
+
0.23.0 是尚未正式发布的本地源码候选;0.22.0 是已发布包。候选验证先把三个包分别打入同一个临时目录,再安装这三个精确 tarball:
|
|
71
71
|
|
|
72
72
|
```sh
|
|
73
73
|
pack_dir="$(mktemp -d)"
|
|
@@ -75,21 +75,21 @@ pack_dir="$(mktemp -d)"
|
|
|
75
75
|
(cd packages/skill-family-harness-node && pnpm pack --pack-destination "$pack_dir")
|
|
76
76
|
(cd packages/skill-family-engineering-kit && pnpm pack --pack-destination "$pack_dir")
|
|
77
77
|
mkdir "$pack_dir/consumer" && (cd "$pack_dir/consumer" && npm init -y)
|
|
78
|
-
(cd "$pack_dir/consumer" && npm install "$pack_dir/skill-family-contracts-0.
|
|
78
|
+
(cd "$pack_dir/consumer" && npm install "$pack_dir/skill-family-contracts-0.23.0.tgz" "$pack_dir/skill-family-harness-node-0.23.0.tgz" "$pack_dir/skill-family-engineering-kit-0.23.0.tgz")
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
0.23.0 正式发布后,再使用对应的 registry 坐标:
|
|
82
82
|
|
|
83
83
|
```sh
|
|
84
|
-
npm install --save-dev skill-family-engineering-kit@0.
|
|
85
|
-
npm exec --package=skill-family-engineering-kit@0.
|
|
86
|
-
npm exec --package=skill-family-engineering-kit@0.
|
|
87
|
-
npm exec --package=skill-family-engineering-kit@0.
|
|
88
|
-
npm exec --package=skill-family-engineering-kit@0.
|
|
89
|
-
npm exec --package=skill-family-engineering-kit@0.
|
|
84
|
+
npm install --save-dev skill-family-engineering-kit@0.23.0
|
|
85
|
+
npm exec --package=skill-family-engineering-kit@0.23.0 -- skill-family-kit --help
|
|
86
|
+
npm exec --package=skill-family-engineering-kit@0.23.0 -- skill-family-kit scaffold --root <empty-dir> --project-id my-project
|
|
87
|
+
npm exec --package=skill-family-engineering-kit@0.23.0 -- skill-family-kit adopt-plan --root <repo> --list-capabilities --all --scope all --locale zh-CN --uses ./uses.json
|
|
88
|
+
npm exec --package=skill-family-engineering-kit@0.23.0 -- skill-family-kit projection --root <repo>
|
|
89
|
+
npm exec --package=skill-family-engineering-kit@0.23.0 -- skill-family-kit check --root <repo>
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
以上四条命令分别覆盖生成骨架、只读盘点、受管投影与诊断;零安装形式可用 `npm exec --package=skill-family-engineering-kit@0.
|
|
92
|
+
以上四条命令分别覆盖生成骨架、只读盘点、受管投影与诊断;零安装形式可用 `npm exec --package=skill-family-engineering-kit@0.23.0 -- skill-family-kit --help`。
|
|
93
93
|
|
|
94
94
|
### 三条采用旅程
|
|
95
95
|
|
|
@@ -1184,11 +1184,13 @@
|
|
|
1184
1184
|
},
|
|
1185
1185
|
{
|
|
1186
1186
|
"id": "foundation.kit.check",
|
|
1187
|
-
"intent": "Diagnose only, do not fix: retain the nine legacy check classes and
|
|
1187
|
+
"intent": "Diagnose only, do not fix: retain the nine legacy check classes and the explicit declared version branch, and provide family proof reading plus exclusive projection of Skill review results; ENGINEERING_* remains a local declared result, and proof/proof-create are local unpublished entry points.",
|
|
1188
1188
|
"useWhen": [
|
|
1189
1189
|
"Need to surface engineering inconsistencies without auto-modifying",
|
|
1190
1190
|
"Need to narrow a legacy check via --only",
|
|
1191
|
-
"Need to compare declared text or JSON version sources and mirrors without scanning undeclared units"
|
|
1191
|
+
"Need to compare declared text or JSON version sources and mirrors without scanning undeclared units",
|
|
1192
|
+
"Need to read one family professional proof and receive pass, not_pass, or unavailable",
|
|
1193
|
+
"Need to project a Skill review JSON into an exclusive professional conclusion"
|
|
1192
1194
|
],
|
|
1193
1195
|
"doNotUseWhen": [
|
|
1194
1196
|
"Need auto-fix (forbidden; check writes no fixes)",
|
|
@@ -1197,18 +1199,22 @@
|
|
|
1197
1199
|
"prerequisites": [],
|
|
1198
1200
|
"inputs": [
|
|
1199
1201
|
"Legacy --only values: contracts|drift|closure|version|docs|git|identity|boundary|platform",
|
|
1200
|
-
"Declared version input: policy declared, only version, and project-manifest engineering.releaseUnits"
|
|
1202
|
+
"Declared version input: policy declared, only version, and project-manifest engineering.releaseUnits",
|
|
1203
|
+
"Proof-read input: --proof-root and a contained --proof",
|
|
1204
|
+
"proof-create input: --review-root, --review-input, and paired --conclusion-root plus --conclusion-output"
|
|
1201
1205
|
],
|
|
1202
1206
|
"outputs": [
|
|
1203
1207
|
"Findings list; exit code findings=1, mechanism=2",
|
|
1204
|
-
"Optional
|
|
1208
|
+
"Optional local ENGINEERING_* conclusion path from the runCommand check and checkEntriesAction wrappers when an explicit output root and relative path are provided",
|
|
1209
|
+
"Proof read returns status pass, not_pass, or unavailable, with exits 0, 1, and 2",
|
|
1210
|
+
"proof-create returns a FOUNDATION_STATIC_* conclusion path; CLEAR exits 0, FINDINGS and INCOMPLETE exit 1"
|
|
1205
1211
|
],
|
|
1206
1212
|
"sideEffects": [
|
|
1207
|
-
"runChecks
|
|
1208
|
-
"
|
|
1213
|
+
"runChecks and readProfessionalProof are read-only; the declared branch does not spawn, probe Git, or execute target content",
|
|
1214
|
+
"runCommand check, checkEntriesAction, and proof-create may exclusively create one conclusion under an explicitly supplied existing output root; they create no parent and overwrite nothing"
|
|
1209
1215
|
],
|
|
1210
1216
|
"failureSemantics": [
|
|
1211
|
-
"findings exit code 1; mechanism rejection exit code 2"
|
|
1217
|
+
"findings exit code 1; mechanism rejection, unreadable, or uninterpretable proofs exit code 2"
|
|
1212
1218
|
],
|
|
1213
1219
|
"invariants": [
|
|
1214
1220
|
"CHECK_CLASSES is a closed set of nine legacy classes, not expanded",
|
|
@@ -786,7 +786,10 @@
|
|
|
786
786
|
"runChecks (packages/skill-family-engineering-kit/src/check.mjs)",
|
|
787
787
|
"runCommand check wrapper (packages/skill-family-engineering-kit/src/index.mjs)",
|
|
788
788
|
"runCoreCheck (packages/skill-family-engineering-kit/src/core-check.mjs)",
|
|
789
|
-
"isContainedDeclaration (packages/skill-family-engineering-kit/src/core-check.mjs)"
|
|
789
|
+
"isContainedDeclaration (packages/skill-family-engineering-kit/src/core-check.mjs)",
|
|
790
|
+
"readProfessionalProof (packages/skill-family-engineering-kit/src/professional-conclusion.mjs)",
|
|
791
|
+
"createProfessionalProof (packages/skill-family-engineering-kit/src/professional-conclusion.mjs)",
|
|
792
|
+
"publishProfessionalConclusion (packages/skill-family-engineering-kit/src/professional-conclusion.mjs)"
|
|
790
793
|
],
|
|
791
794
|
"sourceRefs": [
|
|
792
795
|
"packages/skill-family-engineering-kit/src/check.mjs",
|
|
@@ -797,11 +800,13 @@
|
|
|
797
800
|
"positiveTestRefs": [
|
|
798
801
|
"packages/skill-family-engineering-kit/test/check.test.mjs",
|
|
799
802
|
"packages/skill-family-engineering-kit/test/core-check.test.mjs",
|
|
800
|
-
"packages/skill-family-engineering-kit/test/check-equivalence.test.mjs"
|
|
803
|
+
"packages/skill-family-engineering-kit/test/check-equivalence.test.mjs",
|
|
804
|
+
"packages/skill-family-engineering-kit/test/professional-conclusion.test.mjs"
|
|
801
805
|
],
|
|
802
806
|
"negativeTestRefs": [
|
|
803
807
|
"packages/skill-family-engineering-kit/test/check.test.mjs",
|
|
804
|
-
"packages/skill-family-engineering-kit/test/core-check.test.mjs"
|
|
808
|
+
"packages/skill-family-engineering-kit/test/core-check.test.mjs",
|
|
809
|
+
"packages/skill-family-engineering-kit/test/professional-conclusion.test.mjs"
|
|
805
810
|
]
|
|
806
811
|
},
|
|
807
812
|
{
|
|
@@ -1183,11 +1183,13 @@
|
|
|
1183
1183
|
},
|
|
1184
1184
|
{
|
|
1185
1185
|
"id": "foundation.kit.check",
|
|
1186
|
-
"intent": "只诊断不修复:保留九类 legacy
|
|
1186
|
+
"intent": "只诊断不修复:保留九类 legacy 检查和显式 declared 版本分支,并提供本族证明读取与 Skill 审阅结果的排他投影;ENGINEERING_* 仍是局部声明结果,proof/proof-create 是本地未发布入口",
|
|
1187
1187
|
"useWhen": [
|
|
1188
1188
|
"需要发现工程不一致但不自动修改",
|
|
1189
1189
|
"需要按 --only 缩小 legacy 检查范围",
|
|
1190
|
-
"需要比较声明的文本或 JSON 版本来源与镜像,不扫描未声明单元"
|
|
1190
|
+
"需要比较声明的文本或 JSON 版本来源与镜像,不扫描未声明单元",
|
|
1191
|
+
"需要读取一份本族专业证明并得到 pass、not_pass 或 unavailable",
|
|
1192
|
+
"需要把 Skill 审阅 JSON 投影成排他专业结论"
|
|
1191
1193
|
],
|
|
1192
1194
|
"doNotUseWhen": [
|
|
1193
1195
|
"需要自动修复(禁止,check 不写修复)",
|
|
@@ -1196,18 +1198,22 @@
|
|
|
1196
1198
|
"prerequisites": [],
|
|
1197
1199
|
"inputs": [
|
|
1198
1200
|
"legacy --only 取值:contracts|drift|closure|version|docs|git|identity|boundary|platform",
|
|
1199
|
-
"declared 版本输入:policy declared、only version 与项目清单 engineering.releaseUnits"
|
|
1201
|
+
"declared 版本输入:policy declared、only version 与项目清单 engineering.releaseUnits",
|
|
1202
|
+
"proof 读取输入:--proof-root 与根内 --proof",
|
|
1203
|
+
"proof-create 输入:--review-root、--review-input,以及成对的 --conclusion-root 与 --conclusion-output"
|
|
1200
1204
|
],
|
|
1201
1205
|
"outputs": [
|
|
1202
1206
|
"发现清单;退出码 findings=1、mechanism=2",
|
|
1203
|
-
"runCommand check
|
|
1207
|
+
"runCommand check 与 checkEntriesAction 包装入口在显式提供输出根与相对路径时返回可选局部 ENGINEERING_* 结论路径",
|
|
1208
|
+
"proof 读取返回 status 为 pass、not_pass 或 unavailable,对应退出 0、1、2",
|
|
1209
|
+
"proof-create 返回 FOUNDATION_STATIC_* 结论路径;CLEAR 退出 0,FINDINGS 与 INCOMPLETE 退出 1"
|
|
1204
1210
|
],
|
|
1205
1211
|
"sideEffects": [
|
|
1206
|
-
"runChecks 只读;declared 分支不启动进程、不探测 Git、不执行目标内容",
|
|
1207
|
-
"
|
|
1212
|
+
"runChecks 与 readProfessionalProof 只读;declared 分支不启动进程、不探测 Git、不执行目标内容",
|
|
1213
|
+
"runCommand check、checkEntriesAction 与 proof-create 可在显式提供的既有输出根内独占创建一份结论;不建父目录、不覆盖"
|
|
1208
1214
|
],
|
|
1209
1215
|
"failureSemantics": [
|
|
1210
|
-
"findings 退出码 1;mechanism
|
|
1216
|
+
"findings 退出码 1;mechanism 拒绝、读不到或无法解释的证明退出码 2"
|
|
1211
1217
|
],
|
|
1212
1218
|
"invariants": [
|
|
1213
1219
|
"CHECK_CLASSES 仍为九类 legacy 闭集,不扩张",
|
|
@@ -1184,11 +1184,13 @@
|
|
|
1184
1184
|
},
|
|
1185
1185
|
{
|
|
1186
1186
|
"id": "foundation.kit.check",
|
|
1187
|
-
"intent": "Diagnose only, do not fix: retain the nine legacy check classes and
|
|
1187
|
+
"intent": "Diagnose only, do not fix: retain the nine legacy check classes and the explicit declared version branch, and provide family proof reading plus exclusive projection of Skill review results; ENGINEERING_* remains a local declared result, and proof/proof-create are local unpublished entry points.",
|
|
1188
1188
|
"useWhen": [
|
|
1189
1189
|
"Need to surface engineering inconsistencies without auto-modifying",
|
|
1190
1190
|
"Need to narrow a legacy check via --only",
|
|
1191
|
-
"Need to compare declared text or JSON version sources and mirrors without scanning undeclared units"
|
|
1191
|
+
"Need to compare declared text or JSON version sources and mirrors without scanning undeclared units",
|
|
1192
|
+
"Need to read one family professional proof and receive pass, not_pass, or unavailable",
|
|
1193
|
+
"Need to project a Skill review JSON into an exclusive professional conclusion"
|
|
1192
1194
|
],
|
|
1193
1195
|
"doNotUseWhen": [
|
|
1194
1196
|
"Need auto-fix (forbidden; check writes no fixes)",
|
|
@@ -1197,18 +1199,22 @@
|
|
|
1197
1199
|
"prerequisites": [],
|
|
1198
1200
|
"inputs": [
|
|
1199
1201
|
"Legacy --only values: contracts|drift|closure|version|docs|git|identity|boundary|platform",
|
|
1200
|
-
"Declared version input: policy declared, only version, and project-manifest engineering.releaseUnits"
|
|
1202
|
+
"Declared version input: policy declared, only version, and project-manifest engineering.releaseUnits",
|
|
1203
|
+
"Proof-read input: --proof-root and a contained --proof",
|
|
1204
|
+
"proof-create input: --review-root, --review-input, and paired --conclusion-root plus --conclusion-output"
|
|
1201
1205
|
],
|
|
1202
1206
|
"outputs": [
|
|
1203
1207
|
"Findings list; exit code findings=1, mechanism=2",
|
|
1204
|
-
"Optional
|
|
1208
|
+
"Optional local ENGINEERING_* conclusion path from the runCommand check and checkEntriesAction wrappers when an explicit output root and relative path are provided",
|
|
1209
|
+
"Proof read returns status pass, not_pass, or unavailable, with exits 0, 1, and 2",
|
|
1210
|
+
"proof-create returns a FOUNDATION_STATIC_* conclusion path; CLEAR exits 0, FINDINGS and INCOMPLETE exit 1"
|
|
1205
1211
|
],
|
|
1206
1212
|
"sideEffects": [
|
|
1207
|
-
"runChecks
|
|
1208
|
-
"
|
|
1213
|
+
"runChecks and readProfessionalProof are read-only; the declared branch does not spawn, probe Git, or execute target content",
|
|
1214
|
+
"runCommand check, checkEntriesAction, and proof-create may exclusively create one conclusion under an explicitly supplied existing output root; they create no parent and overwrite nothing"
|
|
1209
1215
|
],
|
|
1210
1216
|
"failureSemantics": [
|
|
1211
|
-
"findings exit code 1; mechanism rejection exit code 2"
|
|
1217
|
+
"findings exit code 1; mechanism rejection, unreadable, or uninterpretable proofs exit code 2"
|
|
1212
1218
|
],
|
|
1213
1219
|
"invariants": [
|
|
1214
1220
|
"CHECK_CLASSES is a closed set of nine legacy classes, not expanded",
|
|
@@ -786,7 +786,10 @@
|
|
|
786
786
|
"runChecks (packages/skill-family-engineering-kit/src/check.mjs)",
|
|
787
787
|
"runCommand check wrapper (packages/skill-family-engineering-kit/src/index.mjs)",
|
|
788
788
|
"runCoreCheck (packages/skill-family-engineering-kit/src/core-check.mjs)",
|
|
789
|
-
"isContainedDeclaration (packages/skill-family-engineering-kit/src/core-check.mjs)"
|
|
789
|
+
"isContainedDeclaration (packages/skill-family-engineering-kit/src/core-check.mjs)",
|
|
790
|
+
"readProfessionalProof (packages/skill-family-engineering-kit/src/professional-conclusion.mjs)",
|
|
791
|
+
"createProfessionalProof (packages/skill-family-engineering-kit/src/professional-conclusion.mjs)",
|
|
792
|
+
"publishProfessionalConclusion (packages/skill-family-engineering-kit/src/professional-conclusion.mjs)"
|
|
790
793
|
],
|
|
791
794
|
"sourceRefs": [
|
|
792
795
|
"packages/skill-family-engineering-kit/src/check.mjs",
|
|
@@ -797,11 +800,13 @@
|
|
|
797
800
|
"positiveTestRefs": [
|
|
798
801
|
"packages/skill-family-engineering-kit/test/check.test.mjs",
|
|
799
802
|
"packages/skill-family-engineering-kit/test/core-check.test.mjs",
|
|
800
|
-
"packages/skill-family-engineering-kit/test/check-equivalence.test.mjs"
|
|
803
|
+
"packages/skill-family-engineering-kit/test/check-equivalence.test.mjs",
|
|
804
|
+
"packages/skill-family-engineering-kit/test/professional-conclusion.test.mjs"
|
|
801
805
|
],
|
|
802
806
|
"negativeTestRefs": [
|
|
803
807
|
"packages/skill-family-engineering-kit/test/check.test.mjs",
|
|
804
|
-
"packages/skill-family-engineering-kit/test/core-check.test.mjs"
|
|
808
|
+
"packages/skill-family-engineering-kit/test/core-check.test.mjs",
|
|
809
|
+
"packages/skill-family-engineering-kit/test/professional-conclusion.test.mjs"
|
|
805
810
|
]
|
|
806
811
|
},
|
|
807
812
|
{
|
|
@@ -1183,11 +1183,13 @@
|
|
|
1183
1183
|
},
|
|
1184
1184
|
{
|
|
1185
1185
|
"id": "foundation.kit.check",
|
|
1186
|
-
"intent": "只诊断不修复:保留九类 legacy
|
|
1186
|
+
"intent": "只诊断不修复:保留九类 legacy 检查和显式 declared 版本分支,并提供本族证明读取与 Skill 审阅结果的排他投影;ENGINEERING_* 仍是局部声明结果,proof/proof-create 是本地未发布入口",
|
|
1187
1187
|
"useWhen": [
|
|
1188
1188
|
"需要发现工程不一致但不自动修改",
|
|
1189
1189
|
"需要按 --only 缩小 legacy 检查范围",
|
|
1190
|
-
"需要比较声明的文本或 JSON 版本来源与镜像,不扫描未声明单元"
|
|
1190
|
+
"需要比较声明的文本或 JSON 版本来源与镜像,不扫描未声明单元",
|
|
1191
|
+
"需要读取一份本族专业证明并得到 pass、not_pass 或 unavailable",
|
|
1192
|
+
"需要把 Skill 审阅 JSON 投影成排他专业结论"
|
|
1191
1193
|
],
|
|
1192
1194
|
"doNotUseWhen": [
|
|
1193
1195
|
"需要自动修复(禁止,check 不写修复)",
|
|
@@ -1196,18 +1198,22 @@
|
|
|
1196
1198
|
"prerequisites": [],
|
|
1197
1199
|
"inputs": [
|
|
1198
1200
|
"legacy --only 取值:contracts|drift|closure|version|docs|git|identity|boundary|platform",
|
|
1199
|
-
"declared 版本输入:policy declared、only version 与项目清单 engineering.releaseUnits"
|
|
1201
|
+
"declared 版本输入:policy declared、only version 与项目清单 engineering.releaseUnits",
|
|
1202
|
+
"proof 读取输入:--proof-root 与根内 --proof",
|
|
1203
|
+
"proof-create 输入:--review-root、--review-input,以及成对的 --conclusion-root 与 --conclusion-output"
|
|
1200
1204
|
],
|
|
1201
1205
|
"outputs": [
|
|
1202
1206
|
"发现清单;退出码 findings=1、mechanism=2",
|
|
1203
|
-
"runCommand check
|
|
1207
|
+
"runCommand check 与 checkEntriesAction 包装入口在显式提供输出根与相对路径时返回可选局部 ENGINEERING_* 结论路径",
|
|
1208
|
+
"proof 读取返回 status 为 pass、not_pass 或 unavailable,对应退出 0、1、2",
|
|
1209
|
+
"proof-create 返回 FOUNDATION_STATIC_* 结论路径;CLEAR 退出 0,FINDINGS 与 INCOMPLETE 退出 1"
|
|
1204
1210
|
],
|
|
1205
1211
|
"sideEffects": [
|
|
1206
|
-
"runChecks 只读;declared 分支不启动进程、不探测 Git、不执行目标内容",
|
|
1207
|
-
"
|
|
1212
|
+
"runChecks 与 readProfessionalProof 只读;declared 分支不启动进程、不探测 Git、不执行目标内容",
|
|
1213
|
+
"runCommand check、checkEntriesAction 与 proof-create 可在显式提供的既有输出根内独占创建一份结论;不建父目录、不覆盖"
|
|
1208
1214
|
],
|
|
1209
1215
|
"failureSemantics": [
|
|
1210
|
-
"findings 退出码 1;mechanism
|
|
1216
|
+
"findings 退出码 1;mechanism 拒绝、读不到或无法解释的证明退出码 2"
|
|
1211
1217
|
],
|
|
1212
1218
|
"invariants": [
|
|
1213
1219
|
"CHECK_CLASSES 仍为九类 legacy 闭集,不扩张",
|
package/docs/en/help/index.html
CHANGED
|
@@ -1865,6 +1865,11 @@
|
|
|
1865
1865
|
<td>The single natural-language adoption-diagnosis Skill. It reads caller-provided exact-version facts, capability-catalog query results, and <code>adopt-plan</code> results, then reports a full match, partial match, candidate match, no match, or a missed existing capability</td>
|
|
1866
1866
|
</tr>
|
|
1867
1867
|
<tr>
|
|
1868
|
+
<td>Run a complete static engineering review or read an existing Foundation proof</td>
|
|
1869
|
+
<td><code>foundation-engineering-check</code></td>
|
|
1870
|
+
<td>The static engineering-review Skill in the same Plugin. It reviews selected engineering declarations, public capability adoption, and call boundaries, then projects a shared conclusion with <code>check proof-create</code>. Read an old proof with <code>check proof</code>. Passing the two mechanical version and entry branches is not a full-family pass</td>
|
|
1871
|
+
</tr>
|
|
1872
|
+
<tr>
|
|
1868
1873
|
<td>Inventory an existing project and compare it with the reference skeleton</td>
|
|
1869
1874
|
<td><code>planAdoption({ root, allowGitSpawn: false })</code> or <code>adopt-plan --no-git-spawn</code></td>
|
|
1870
1875
|
<td>Read-only output covering the write set, conflicts, risks, and migration completion conditions. The reference skeleton is not a mandatory directory standard for every project</td>
|
|
@@ -2047,6 +2052,7 @@
|
|
|
2047
2052
|
<h2 id="Project-Routing">Project Routing<a class="headerlink" href="#Project-Routing" title="Permanent link">¶</a></h2>
|
|
2048
2053
|
<ul>
|
|
2049
2054
|
<li>Published-capability fit / duplicate proposed mechanism → <code>foundation-adoption-review</code>.</li>
|
|
2055
|
+
<li>Complete static engineering review / read an existing Foundation proof → <code>foundation-engineering-check</code>.</li>
|
|
2050
2056
|
<li>Publishing remote state / npm publish → release-skill.</li>
|
|
2051
2057
|
<li>Tasks / retries / rework / acceptance → loop-agent.</li>
|
|
2052
2058
|
<li>Artifact relationships / version-lock → artifact-graph.</li>
|
|
@@ -1896,6 +1896,7 @@
|
|
|
1896
1896
|
<p>Choose the entry point before running a command:</p>
|
|
1897
1897
|
<ul>
|
|
1898
1898
|
<li>If the input is a natural-language requirement and it is unclear whether Foundation already covers it, call the single <code>foundation-adoption-review</code> Skill. Supply an explicit exact Foundation version, a same-version capability-catalog query result, and an <code>adopt-plan</code> result. The Skill diagnoses read-only; it does not install, initialize, run <code>check</code>, or probe qualification.</li>
|
|
1899
|
+
<li>If the target root needs a complete static engineering review, or an existing Foundation proof must be read, call <code>foundation-engineering-check</code>. It reviews selected engineering declarations, public capability adoption, and call boundaries, then projects a shared conclusion with <code>check proof-create</code>. Read an old proof with <code>check proof</code>. Passing the two mechanical version and entry branches is not a full Foundation pass.</li>
|
|
1899
1900
|
<li>If the capability ID is known and the target is an empty directory, use <code>scaffold</code>.</li>
|
|
1900
1901
|
<li>If an existing project needs an inventory of structure, conflicts, and migration conditions, start with read-only <code>adopt-plan</code>. Decide later whether to authorize <code>projection</code> or let the project modify existing files itself.</li>
|
|
1901
1902
|
<li>If declarations must be compared with physical files, use <code>check</code>. It performs static governance checks without running target Skills, business scripts, or hooks.</li>
|
package/docs/help/index.html
CHANGED
|
@@ -1865,6 +1865,11 @@
|
|
|
1865
1865
|
<td>唯一的自然语言采用诊断 Skill。它读取调用方提供的精确版本、能力目录查询结果和 <code>adopt-plan</code> 结果,给出完整匹配、部分匹配、候选匹配、无匹配或漏看已有能力</td>
|
|
1866
1866
|
</tr>
|
|
1867
1867
|
<tr>
|
|
1868
|
+
<td>需要对目标做完整静态工程审阅或读取已有 Foundation 证明</td>
|
|
1869
|
+
<td><code>foundation-engineering-check</code></td>
|
|
1870
|
+
<td>同一 Plugin 内的静态工程审阅 Skill。它按所选范围审阅工程声明、公共能力采用和调用边界,再用 <code>check proof-create</code> 投影共同结论;读取旧证明用 <code>check proof</code>。版本与入口两个机械分支通过不等于全族通过</td>
|
|
1871
|
+
</tr>
|
|
1872
|
+
<tr>
|
|
1868
1873
|
<td>需要盘点存量项目与参考骨架的结构差异</td>
|
|
1869
1874
|
<td><code>planAdoption({ root, allowGitSpawn: false })</code> 或 <code>adopt-plan --no-git-spawn</code></td>
|
|
1870
1875
|
<td>只读输出写集、冲突、风险和迁移完成条件;参考骨架不是所有项目必须复制的目录规范</td>
|
|
@@ -2047,6 +2052,7 @@
|
|
|
2047
2052
|
<h2 id="项目路由">项目路由<a class="headerlink" href="#项目路由" title="Permanent link">¶</a></h2>
|
|
2048
2053
|
<ul>
|
|
2049
2054
|
<li>精确版本中的能力是否适用 / 现有方案是否重复 → <code>foundation-adoption-review</code>。</li>
|
|
2055
|
+
<li>完整静态工程审阅 / 读取已有 Foundation 证明 → <code>foundation-engineering-check</code>。</li>
|
|
2050
2056
|
<li>发布远端状态 / npm 发布 → release-skill。</li>
|
|
2051
2057
|
<li>任务 / 重试 / 返工 / 验收 → loop-agent。</li>
|
|
2052
2058
|
<li>制品关系 / 版本锁 → artifact-graph。</li>
|
|
@@ -1792,17 +1792,17 @@
|
|
|
1792
1792
|
<tbody>
|
|
1793
1793
|
<tr>
|
|
1794
1794
|
<td><code>skill-family-contracts</code></td>
|
|
1795
|
-
<td>0.
|
|
1795
|
+
<td>0.23.0</td>
|
|
1796
1796
|
<td><a href="https://github.com/ifoohoo/skill-family-contracts">ifoohoo/skill-family-contracts</a></td>
|
|
1797
1797
|
</tr>
|
|
1798
1798
|
<tr>
|
|
1799
1799
|
<td><code>skill-family-harness-node</code></td>
|
|
1800
|
-
<td>0.
|
|
1800
|
+
<td>0.23.0</td>
|
|
1801
1801
|
<td><a href="https://github.com/ifoohoo/skill-family-harness-node">ifoohoo/skill-family-harness-node</a></td>
|
|
1802
1802
|
</tr>
|
|
1803
1803
|
<tr>
|
|
1804
1804
|
<td><code>skill-family-engineering-kit</code></td>
|
|
1805
|
-
<td>0.
|
|
1805
|
+
<td>0.23.0</td>
|
|
1806
1806
|
<td><a href="https://github.com/ifoohoo/skill-family-engineering-kit">ifoohoo/skill-family-engineering-kit</a></td>
|
|
1807
1807
|
</tr>
|
|
1808
1808
|
</tbody>
|
|
@@ -1896,6 +1896,7 @@
|
|
|
1896
1896
|
<p>先判断需要哪种入口:</p>
|
|
1897
1897
|
<ul>
|
|
1898
1898
|
<li>只有一段自然语言需求,还不确定 Foundation 是否已经覆盖时,调用唯一的 <code>foundation-adoption-review</code> Skill。向它提供明确的 Foundation 精确版本、同版本能力目录查询结果和 <code>adopt-plan</code> 结果;它只读分析,不安装、不初始化、不运行 <code>check</code> 或资格探测。</li>
|
|
1899
|
+
<li>需要对目标根做完整静态工程审阅,或读取已有 Foundation 证明时,调用 <code>foundation-engineering-check</code>。它按所选范围审阅工程声明、公共能力采用和调用边界,再用 <code>check proof-create</code> 投影共同结论;读取旧证明用 <code>check proof</code>。版本与入口两个机械分支通过不等于完整 Foundation 通过。</li>
|
|
1899
1900
|
<li>已经知道能力 ID,准备初始化空目录时,使用 <code>scaffold</code>。</li>
|
|
1900
1901
|
<li>已有项目需要盘点结构、冲突和迁移条件时,先使用只读 <code>adopt-plan</code>。得到计划后再决定是否授权 <code>projection</code> 或由项目自己修改存量文件。</li>
|
|
1901
1902
|
<li>已有声明需要与物理文件核对时,使用 <code>check</code>。它执行静态治理检查,不运行目标 Skill、业务脚本或 hooks。</li>
|