release-skill 0.2.4 → 0.2.5

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 (40) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.codebuddy-plugin/plugin.json +1 -1
  4. package/.codex-plugin/plugin.json +2 -2
  5. package/.kimi-plugin/plugin.json +1 -1
  6. package/CHANGELOG.md +24 -0
  7. package/INSTALL.md +4 -4
  8. package/INSTALL.zh-CN.md +4 -4
  9. package/README.md +16 -14
  10. package/README.zh-CN.md +16 -14
  11. package/adapters/claude/.claude-plugin/marketplace.json +1 -1
  12. package/adapters/claude/.claude-plugin/plugin.json +1 -1
  13. package/adapters/claude/bin/release-skill.bundle.mjs +1375 -607
  14. package/adapters/claude/schemas/release-plan.schema.json +91 -0
  15. package/adapters/claude/schemas/release-run.schema.json +85 -0
  16. package/adapters/codex/.codex-plugin/plugin.json +2 -2
  17. package/adapters/codex/bin/release-skill.bundle.mjs +1375 -607
  18. package/adapters/codex/schemas/release-plan.schema.json +91 -0
  19. package/adapters/codex/schemas/release-run.schema.json +85 -0
  20. package/adapters/kimi/.kimi-plugin/plugin.json +1 -1
  21. package/adapters/kimi/bin/release-skill.bundle.mjs +1375 -607
  22. package/adapters/kimi/schemas/release-plan.schema.json +91 -0
  23. package/adapters/kimi/schemas/release-run.schema.json +85 -0
  24. package/adapters/workbuddy/.codebuddy-plugin/plugin.json +1 -1
  25. package/adapters/workbuddy/bin/release-skill.bundle.mjs +1375 -607
  26. package/adapters/workbuddy/schemas/release-plan.schema.json +91 -0
  27. package/adapters/workbuddy/schemas/release-run.schema.json +85 -0
  28. package/bin/release-skill.bundle.mjs +1375 -607
  29. package/package.json +1 -1
  30. package/schemas/release-plan.schema.json +91 -0
  31. package/schemas/release-run.schema.json +85 -0
  32. package/scripts/sync-public-files.mjs +20 -9
  33. package/src/adapters/plugin-marketplace.mjs +82 -3
  34. package/src/commands/prepare.mjs +74 -0
  35. package/src/commands/publish.mjs +62 -0
  36. package/src/commands/verify.mjs +151 -1
  37. package/src/core/plan.mjs +29 -0
  38. package/src/core/skill-resource-closure.mjs +425 -0
  39. package/src/platforms/codebuddy.mjs +16 -3
  40. package/src/platforms/kimi.mjs +36 -9
@@ -9,7 +9,7 @@
9
9
  {
10
10
  "name": "release-skill",
11
11
  "source": "./",
12
- "version": "0.2.4",
12
+ "version": "0.2.5",
13
13
  "description": "Safe preparation and frozen GitHub/npm production publishing with full happy end verification"
14
14
  }
15
15
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-skill",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Safe preparation and frozen GitHub/npm production publishing with full happy end verification",
5
5
  "author": {
6
6
  "name": "广州市风荷科技有限公司"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-skill",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Safe preparation and frozen GitHub/npm production publishing with full happy end verification",
5
5
  "author": {
6
6
  "name": "广州市风荷科技有限公司"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-skill",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Safe preparation and frozen GitHub/npm production publishing with full happy end verification",
5
5
  "author": {
6
6
  "name": "广州市风荷科技有限公司"
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "defaultPrompt": [
21
21
  "Assess this project for release readiness.",
22
- "Prepare a release plan for version 0.2.4.",
22
+ "Prepare a release plan for version 0.2.5.",
23
23
  "Help me understand the release workflow."
24
24
  ]
25
25
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-skill",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Safe preparation and frozen GitHub/npm production publishing with full happy end verification",
5
5
  "author": {
6
6
  "name": "广州市风荷科技有限公司"
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ <!-- release-skill:changelog:start version=0.2.5 locale=en baseline=sha256:8bd4c268f65c72efeb3866ef4bcae7d1fa902e02833e622ca66670b633b124b1 -->
4
+ ## [0.2.5] - 2026-07-28
5
+
6
+ v0.2.5 adds a built-in skill resource-closure release gate. Release Skill now validates the actual frozen and installed plugin projections instead of treating repository-level file presence as proof that every skill can resolve its resources.
7
+
8
+ ### Added
9
+
10
+ - **Skill resource-closure gate**: recursively discovers nested skills and validates skill-local references, assets, schemas, examples, and private scripts from each skill root.
11
+ - **Frozen and installed receipts**: prepare records closure receipts for every distribution surface, publish rechecks the frozen artifact before external writes, and verify requires matching receipts from real npm and plugin installation roots.
12
+ - **Adversarial path checks**: rejects current-working-directory fallbacks, source-tree backjumps, absolute machine paths, path escape, symbolic links, and non-regular resource targets.
13
+
14
+ ### Changed
15
+
16
+ - **Shared runtime resolution is explicit**: plugin-level scripts and cross-skill resources must resolve from a validated plugin root; bounded source-only build tools remain auditable exceptions.
17
+ - **Kimi Code and CodeBuddy verification tightened**: consumer verification plans now bind to actual isolated or managed plugin installation paths.
18
+ - **Legacy plan compatibility preserved**: existing frozen plans remain readable, while newly prepared plans require resource-closure evidence.
19
+
20
+ ### Fixed
21
+
22
+ - **Nested skill blind spot removed**: author, review, repair, and other nested skills are no longer skipped by resource validation.
23
+ - **Public baseline tests synchronized**: migration invariants now track the configured v0.2.4 public baseline commit.
24
+ <!-- release-skill:changelog:end version=0.2.5 locale=en -->
25
+
26
+
3
27
  <!-- release-skill:changelog:start version=0.2.4 locale=en baseline=sha256:b0ad6c897df808a11a2630d1565327ff5092e407dd004dc71bc43b954cbf88a6 -->
4
28
  ## [0.2.4] - 2026-07-28
5
29
 
package/INSTALL.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [简体中文](INSTALL.zh-CN.md)
4
4
 
5
- <!-- release-skill:release-version: 0.2.4 -->
5
+ <!-- release-skill:release-version: 0.2.5 -->
6
6
  ## Prerequisites
7
7
 
8
8
  - Node.js 22.0.0 or later
@@ -128,7 +128,7 @@ as a version-pinned **manual** install plus trusted observation/attestation:
128
128
  frozen version; otherwise do NOT issue an attestation.
129
129
 
130
130
  ```
131
- /plugins install https://github.com/ifoohoo/release-skill/releases/tag/release-skill-v0.2.4
131
+ /plugins install https://github.com/ifoohoo/release-skill/releases/tag/release-skill-v0.2.5
132
132
  /plugins reload
133
133
  ```
134
134
 
@@ -140,7 +140,7 @@ as a version-pinned **manual** install plus trusted observation/attestation:
140
140
  ```json
141
141
  {
142
142
  "platform": "kimi",
143
- "version": "0.2.4",
143
+ "version": "0.2.5",
144
144
  "planDigest": "<64-hex frozen plan digest>",
145
145
  "result": "passed",
146
146
  "actor": "<person who confirmed>",
@@ -204,7 +204,7 @@ attestation (the same capability gap and closed loop as Kimi Code):
204
204
  ```json
205
205
  {
206
206
  "platform": "codebuddy",
207
- "version": "0.2.4",
207
+ "version": "0.2.5",
208
208
  "planDigest": "<64-hex frozen plan digest>",
209
209
  "result": "passed",
210
210
  "actor": "<person who confirmed>",
package/INSTALL.zh-CN.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [English](INSTALL.md)
4
4
 
5
- <!-- release-skill:release-version: 0.2.4 -->
5
+ <!-- release-skill:release-version: 0.2.5 -->
6
6
  ## 前置条件
7
7
 
8
8
  - Node.js 22.0.0 或更高版本
@@ -112,7 +112,7 @@ release-skill 把 Kimi 安装建模为“版本钉死的手动安装 + 可信观
112
112
  必须核实已安装插件清单版本等于冻结版本;否则**不得**出具证明。
113
113
 
114
114
  ```
115
- /plugins install https://github.com/ifoohoo/release-skill/releases/tag/release-skill-v0.2.4
115
+ /plugins install https://github.com/ifoohoo/release-skill/releases/tag/release-skill-v0.2.5
116
116
  /plugins reload
117
117
  ```
118
118
 
@@ -124,7 +124,7 @@ release-skill 把 Kimi 安装建模为“版本钉死的手动安装 + 可信观
124
124
  ```json
125
125
  {
126
126
  "platform": "kimi",
127
- "version": "0.2.4",
127
+ "version": "0.2.5",
128
128
  "planDigest": "<64 位十六进制冻结计划摘要>",
129
129
  "result": "passed",
130
130
  "actor": "<确认人>",
@@ -178,7 +178,7 @@ codebuddy CLI 可以添加市场并安装插件,但 **`plugin marketplace add`
178
178
  ```json
179
179
  {
180
180
  "platform": "codebuddy",
181
- "version": "0.2.4",
181
+ "version": "0.2.5",
182
182
  "planDigest": "<64 位十六进制冻结计划摘要>",
183
183
  "result": "passed",
184
184
  "actor": "<确认人>",
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [简体中文](README.zh-CN.md) · Installation: [English](INSTALL.md) / [简体中文](INSTALL.zh-CN.md)
4
4
 
5
- <!-- release-skill:release-version: 0.2.4 -->
5
+ <!-- release-skill:release-version: 0.2.5 -->
6
6
  Release preparation for Claude Code, CodeBuddy, WorkBuddy, Codex, and Kimi Code, with human-edited files kept intact.
7
7
 
8
8
  release-skill helps a maintainer answer three questions: what will be released,
@@ -14,28 +14,30 @@ Setup surfaces only the deterministic `compactSummary` review view; the full
14
14
  report stays in a temporary session directory.
15
15
 
16
16
  <!-- release-skill:managed:start id=latest-release -->
17
- **0.2.4** (2026-07-28)
17
+ **0.2.5** (2026-07-28)
18
18
 
19
- v0.2.4 is a documentation and marketplace-source remediation release. It corrects the default marketplace source to the bundled-family repository (ifoohoo/release-skill), eliminates stale v0.1.9 residuals, improves README bilingual consistency and navigation, and strengthens anti-regression gates for version drift.
19
+ v0.2.5 adds a built-in skill resource-closure release gate. Release Skill now validates the actual frozen and installed plugin projections instead of treating repository-level file presence as proof that every skill can resolve its resources.
20
+
21
+ **Added**
22
+
23
+ - **Skill resource-closure gate**: recursively discovers nested skills and validates skill-local references, assets, schemas, examples, and private scripts from each skill root.
24
+ - **Frozen and installed receipts**: prepare records closure receipts for every distribution surface, publish rechecks the frozen artifact before external writes, and verify requires matching receipts from real npm and plugin installation roots.
25
+ - **Adversarial path checks**: rejects current-working-directory fallbacks, source-tree backjumps, absolute machine paths, path escape, symbolic links, and non-regular resource targets.
20
26
 
21
27
  **Changed**
22
28
 
23
- - **Default marketplace source corrected**: all installation documentation now uses the bundled-family repository `ifoohoo/release-skill` instead of the external marketplace `ifoohoo/artifact-skill-set`. Claude Code install command is now `/plugin marketplace add ifoohoo/release-skill` with `release-skill@release-skill`.
24
- - **README restructured for readability**: both EN and ZH READMEs now include a table of contents, Documentation navigation section, and reorganized chapter flow (Quick start moved before preservation contract). Significantly shorter than before.
25
- - **Positioning sentences completed**: README and root workspace README now list all supported platforms (Claude Code, CodeBuddy, WorkBuddy, Codex, Kimi Code).
26
- - **Anti-regression gate expanded**: `sync-version.mjs` TEXT_TARGETS now covers the safe-first-command version statement in both EN and ZH READMEs, preventing future v0.1.9-type drift.
29
+ - **Shared runtime resolution is explicit**: plugin-level scripts and cross-skill resources must resolve from a validated plugin root; bounded source-only build tools remain auditable exceptions.
30
+ - **Kimi Code and CodeBuddy verification tightened**: consumer verification plans now bind to actual isolated or managed plugin installation paths.
31
+ - **Legacy plan compatibility preserved**: existing frozen plans remain readable, while newly prepared plans require resource-closure evidence.
27
32
 
28
33
  **Fixed**
29
34
 
30
- - **v0.1.9 residual eliminated**: the safe-first-command block in both READMEs now correctly references the current version (was stuck at v0.1.9).
31
- - **Stale counting removed**: replaced fragile 'All four plugin hosts' / '四种插件宿主' with 'All supported plugin hosts' / '各插件宿主'.
32
- - **Root README boundary corrected**: clarified that README/INSTALL/CHANGELOG are human-maintained source files, while references/schemas/adapters/skills are generated artifacts.
33
- - **CONTRIBUTING updated**: added 'Do not edit generated files' section documenting the authority source and regeneration workflow for references/, schemas/, adapters/, and skills/.
34
- - **AGENTS.md language rule adjusted**: governance rules file may use English; user-facing documentation remains Chinese.
35
+ - **Nested skill blind spot removed**: author, review, repair, and other nested skills are no longer skipped by resource validation.
36
+ - **Public baseline tests synchronized**: migration invariants now track the configured v0.2.4 public baseline commit.
35
37
  <!-- release-skill:managed:end id=latest-release -->
36
38
 
37
39
  <!-- release-skill:capability:external-write-boundary -->
38
- > **Current boundary:** v0.2.4 is the current release (v0.2.2 previously held
40
+ > **Current boundary:** v0.2.5 is the current release (v0.2.2 previously held
39
41
  > published status before the platform verification convergence fix was added).
40
42
  > v0.1.1 completed a real production release to GitHub and npm — the first
41
43
  > production-verified milestone — followed by
@@ -53,7 +55,7 @@ v0.2.4 is a documentation and marketplace-source remediation release. It correct
53
55
  > publish global preflight.
54
56
 
55
57
  <!-- release-skill:capability:safe-first-command -->
56
- > **Production path verified since the v0.1.1 milestone; v0.2.4 is the current
58
+ > **Production path verified since the v0.1.1 milestone; v0.2.5 is the current
57
59
  > release.** The npm-installed CLI is the supported user entry. Source checkout
58
60
  > is the development/contributor fallback.
59
61
  >
package/README.zh-CN.md CHANGED
@@ -2,34 +2,36 @@
2
2
 
3
3
  [English](README.md) · 安装指南:[中文](INSTALL.zh-CN.md) / [English](INSTALL.md)
4
4
 
5
- <!-- release-skill:release-version: 0.2.4 -->
5
+ <!-- release-skill:release-version: 0.2.5 -->
6
6
  面向 Claude Code、CodeBuddy、WorkBuddy、Codex 和 Kimi Code 的发布准备工具,完整保留人工维护的文件内容。
7
7
 
8
8
  release-skill 帮助维护者回答三个问题:准备发布什么、还有哪些检查未通过、最终发布的内容是什么。它不重新生成、也不回写项目源文件。`prepare` 把每个配置的公开文件复制到隔离快照并验证字节——先冻结并供人工审阅,再从同一份冻结产物发布。`setup` 只显示确定性的 `compactSummary` 审阅视图,完整报告保留在临时会话目录中。
9
9
 
10
10
  <!-- release-skill:managed:start id=latest-release -->
11
- **0.2.4** (2026-07-28)
11
+ **0.2.5** (2026-07-28)
12
12
 
13
- v0.2.4 是文档与市场来源整改版本。将默认市场来源纠正为 bundled-family 仓库(ifoohoo/release-skill),消除过时的 v0.1.9 残留,改善 README 双语一致性与导航,并强化版本漂移的防复发门禁。
13
+ v0.2.5 新增内置的技能资源闭包发布门禁。Release Skill 现在检查真实冻结产物与安装投影,不再把“仓库根目录存在文件”误当成“每个技能都能解析资源”的证据。
14
+
15
+ **新增**
16
+
17
+ - **技能资源闭包门禁**:递归发现嵌套技能,并从每个技能根验证技能私有的 references、assets、schemas、examples 与 scripts。
18
+ - **冻结态与安装态收据**:prepare 为每个分发面记录闭包收据,publish 在外部写入前复核冻结制品,verify 要求真实 npm 与插件安装根产生匹配收据。
19
+ - **对抗性路径检查**:拒绝依赖当前工作目录、回跳源码树、机器绝对路径、路径逃逸、符号链接和非普通文件资源。
14
20
 
15
21
  **变更**
16
22
 
17
- - **默认市场来源纠正**:所有安装文档现使用 bundled-family 仓库 `ifoohoo/release-skill`,而非外部市场 `ifoohoo/artifact-skill-set`。Claude Code 安装命令改为 `/plugin marketplace add ifoohoo/release-skill`,安装名为 `release-skill@release-skill`。
18
- - **README 结构优化**:中英文 README 均增加目录、文档导航章节,并重组章节流程(快速开始移至保存契约之前)。相较此前显著缩短。
19
- - **定位句补全**:README 和根工作区 README 现列出所有支持平台(Claude Code、CodeBuddy、WorkBuddy、Codex、Kimi Code)。
20
- - **防复发门禁扩展**:`sync-version.mjs` TEXT_TARGETS 现覆盖中英文 README 的 safe-first-command 版本陈述,防止未来 v0.1.9 类漂移。
23
+ - **共享运行时显式解析**:插件级脚本和跨技能资源必须从已校验的插件根解析;有限的仅源码构建工具作为可审计例外保留。
24
+ - **Kimi Code CodeBuddy 验证收紧**:消费者验证计划现在绑定真实的隔离或受管插件安装路径。
25
+ - **保留旧计划兼容性**:既有冻结计划仍可读取,新生成计划必须包含资源闭包证据。
21
26
 
22
27
  **修复**
23
28
 
24
- - **消除 v0.1.9 残留**:两个 README 的 safe-first-command 块现正确引用当前版本(之前停留在 v0.1.9)。
25
- - **移除易漂移计数**:将 'All four plugin hosts' / '四种插件宿主' 替换为 'All supported plugin hosts' / '各插件宿主'。
26
- - **根 README 边界修正**:明确 README/INSTALL/CHANGELOG 是人工维护的源文件,references/schemas/adapters/skills 是生成产物。
27
- - **CONTRIBUTING 更新**:新增'不要直接编辑生成物'章节,说明 references/、schemas/、adapters/、skills/ 的权威来源和再生命令。
28
- - **AGENTS.md 语言规则调整**:治理规则文件可使用英文;面向用户的文档仍使用中文。
29
+ - **消除嵌套技能盲区**:author、review、repair 等嵌套技能不再被资源验证遗漏。
30
+ - **同步公开基线测试**:迁移不变量现与配置中的 v0.2.4 公开基线提交一致。
29
31
  <!-- release-skill:managed:end id=latest-release -->
30
32
 
31
33
  <!-- release-skill:capability:external-write-boundary -->
32
- > **当前边界:** v0.2.4 是当前发布版本(v0.2.2 曾处于已发布状态,后因平台验证收敛修复而更新)。
34
+ > **当前边界:** v0.2.5 是当前发布版本(v0.2.2 曾处于已发布状态,后因平台验证收敛修复而更新)。
33
35
  > v0.1.1 已完成 GitHub 与 npm 的
34
36
  > 真实生产发布,是首次生产验证的历史里程碑,并从冻结 Git ref 完成精确 npm
35
37
  > 安装及 Claude/Codex 消费者安装验证;"当前发布版本"与"首次生产验证里程碑"
@@ -42,7 +44,7 @@ v0.2.4 是文档与市场来源整改版本。将默认市场来源纠正为 bun
42
44
  > 远端唯一性检查在 `publish` 全局预检执行。
43
45
 
44
46
  <!-- release-skill:capability:safe-first-command -->
45
- > **生产路径自 v0.1.1 里程碑起已完成真实生产验证;v0.2.4 是当前发布版本。**
47
+ > **生产路径自 v0.1.1 里程碑起已完成真实生产验证;v0.2.5 是当前发布版本。**
46
48
  > npm 安装的 CLI 是受支持的用户入口;源码 checkout 保留为开发/贡献者路径。
47
49
  >
48
50
  > **第一条命令:**
@@ -9,7 +9,7 @@
9
9
  {
10
10
  "name": "release-skill",
11
11
  "source": "./",
12
- "version": "0.2.4",
12
+ "version": "0.2.5",
13
13
  "description": "Safe preparation and frozen GitHub/npm production publishing with full happy end verification"
14
14
  }
15
15
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-skill",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Safe preparation and frozen GitHub/npm production publishing with full happy end verification",
5
5
  "author": {
6
6
  "name": "广州市风荷科技有限公司"