release-skill 0.9.23 → 0.9.24
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/.claude-plugin/plugin.json +1 -1
- package/.codebuddy-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +2 -2
- package/.cursor-plugin/plugin.json +1 -1
- package/.kimi-plugin/plugin.json +1 -1
- package/.qoder-plugin/plugin.json +1 -1
- package/CHANGELOG.md +28 -0
- package/INSTALL.md +2 -2
- package/INSTALL.zh-CN.md +2 -2
- package/README.md +22 -30
- package/README.zh-CN.md +21 -26
- package/adapters/claude/.claude-plugin/plugin.json +1 -1
- package/adapters/claude/bin/release-skill.bundle.mjs +839 -1029
- package/adapters/claude/skills/release-help/SKILL.md +2 -2
- package/adapters/codex/.codex-plugin/plugin.json +2 -2
- package/adapters/codex/bin/release-skill.bundle.mjs +839 -1029
- package/adapters/codex/skills/release-help/SKILL.md +2 -2
- package/adapters/cursor/.cursor-plugin/plugin.json +1 -1
- package/adapters/cursor/bin/release-skill.bundle.mjs +839 -1029
- package/adapters/cursor/skills/release-help/SKILL.md +2 -2
- package/adapters/kimi/.kimi-plugin/plugin.json +1 -1
- package/adapters/kimi/bin/release-skill.bundle.mjs +839 -1029
- package/adapters/kimi/skills/release-help/SKILL.md +2 -2
- package/adapters/qoder/.qoder-plugin/plugin.json +1 -1
- package/adapters/qoder/bin/release-skill.bundle.mjs +839 -1029
- package/adapters/qoder/skills/release-help/SKILL.md +2 -2
- package/adapters/workbuddy/.codebuddy-plugin/plugin.json +1 -1
- package/adapters/workbuddy/bin/release-skill.bundle.mjs +839 -1029
- package/adapters/workbuddy/skills/release-help/SKILL.md +2 -2
- package/bin/release-skill.bundle.mjs +839 -1029
- package/package.json +1 -1
- package/platform-manifest.json +4 -4
- package/references/05-evidence-and-errors.md +2 -2
- package/scripts/build-bundle.mjs +2 -1
- package/scripts/sync-public-files.mjs +1 -1
- package/skills/release-help/SKILL.md +2 -2
- package/skills-src/release-help/SKILL.md +2 -2
- package/src/artifacts/producer-registry.mjs +4 -3
- package/src/commands/prepare.mjs +5 -30
- package/src/core/baseline.mjs +9 -1
- package/src/core/redact.mjs +12 -5
- package/src/core/source-authority.mjs +28 -3
- package/src/npm/npm-entry-closure.mjs +71 -9
- package/src/producers/build-adapters.mjs +2 -1
- package/src/producers/render-public-assets.mjs +2 -1
- package/src/producers/sync-skills.mjs +2 -1
- package/src/snapshot/frozen.mjs +19 -14
- package/src/core/run-retention.mjs +0 -227
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "release-skill",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.24",
|
|
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.9.
|
|
22
|
+
"Prepare a release plan for version 0.9.24.",
|
|
23
23
|
"Help me understand the release workflow."
|
|
24
24
|
]
|
|
25
25
|
}
|
package/.kimi-plugin/plugin.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
<!-- release-skill:changelog:start version=0.9.24 locale=en baseline=sha256:17152a17c71bea35445f03040022e41c7fb5a77be0024c049f96d3fb6b0053bb -->
|
|
4
|
+
## [0.9.24] - 2026-10-02
|
|
5
|
+
|
|
6
|
+
0.9.24 is a local source candidate. Production prepare no longer deletes run directories. captureBaseline accepts a git status listing up to 64 MiB. Frozen commit dates treat a Git Z reading and the plan +00:00 form as the same UTC instant before comparison. The three Foundation dependencies stay pinned to 0.22.0. This note is not evidence of publication, real-host acceptance, consumer installation verification, or independent acceptance.
|
|
7
|
+
|
|
8
|
+
### Security
|
|
9
|
+
|
|
10
|
+
- Hub publication remains a compare-and-swap operation bound to the observed branch head. A partial Hub publication is never rolled back or force-pushed automatically.
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Skill Family Hub remains the central marketplace. After release verification, its release entry still uses the existing GitHub Git Data API through the postVerify Hook.
|
|
15
|
+
|
|
16
|
+
### Removed
|
|
17
|
+
|
|
18
|
+
- Production prepare no longer runs the run-retention cleanup. It keeps the directories already present under .release-skill/runs/, including sealed failed prepares and finished lineages. src/core/run-retention.mjs is not part of the public file list.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- captureBaseline reads git status with a 64 MiB maxBuffer, the same bound computeWorkspaceDigest already uses. A status listing larger than Node's default 1 MiB no longer fails that capture.
|
|
23
|
+
- Frozen commit verification still requires the author and committer instants to equal the plan freeze timestamp. Git may return the same UTC instant as Z, and the plan form stays +00:00. Both sides pass through normalizeGitTimestamp before comparison. A different instant still fails.
|
|
24
|
+
|
|
25
|
+
### Upgrade Notes
|
|
26
|
+
|
|
27
|
+
Compared with 0.9.23, this candidate needs no configuration migration. Prepare no longer reclaims disk by deleting old run directories; those directories remain until an operator removes them outside this command. An installation still using the old release-skill standalone marketplace should remove it and use the ifoohoo/skill-family-hub repository with the Hub-qualified plugin id release-skill@skill-family-hub. This file describes the local source candidate. Publication, host loading, and acceptance remain separate later authorizations.
|
|
28
|
+
<!-- release-skill:changelog:end version=0.9.24 locale=en -->
|
|
29
|
+
|
|
30
|
+
|
|
3
31
|
<!-- release-skill:changelog:start version=0.9.23 locale=en baseline=sha256:f8bd83211dfe0baa2fc5f55f90498973ef3050f5c78871db22d3784db0ae7442 -->
|
|
4
32
|
## [0.9.23] - 2026-09-26
|
|
5
33
|
|
package/INSTALL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[简体中文](INSTALL.zh-CN.md)
|
|
4
4
|
|
|
5
|
-
<!-- release-skill:release-version: 0.9.
|
|
5
|
+
<!-- release-skill:release-version: 0.9.24 -->
|
|
6
6
|
## Prerequisites
|
|
7
7
|
|
|
8
8
|
- Node.js `>=22.22.2 <23` (22.22.2 or newer, and below 23)
|
|
@@ -125,7 +125,7 @@ tag pinned to the exact version (never the bare repository URL, which installs
|
|
|
125
125
|
the latest release or default branch), confirm the trust prompt, then reload:
|
|
126
126
|
|
|
127
127
|
```
|
|
128
|
-
/plugins install https://github.com/ifoohoo/release-skill/releases/tag/release-skill-v0.9.
|
|
128
|
+
/plugins install https://github.com/ifoohoo/release-skill/releases/tag/release-skill-v0.9.24
|
|
129
129
|
/plugins reload
|
|
130
130
|
```
|
|
131
131
|
|
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.9.
|
|
5
|
+
<!-- release-skill:release-version: 0.9.24 -->
|
|
6
6
|
## 前置条件
|
|
7
7
|
|
|
8
8
|
- Node.js `>=22.22.2 <23`(22.22.2 及以上,且低于 23)
|
|
@@ -113,7 +113,7 @@ release-skill 当前只采用并验证 Kimi Code 的交互式 TUI 路径,**无
|
|
|
113
113
|
(切勿使用裸仓库地址,它会安装最新 release 或默认分支),确认信任提示后重新加载:
|
|
114
114
|
|
|
115
115
|
```
|
|
116
|
-
/plugins install https://github.com/ifoohoo/release-skill/releases/tag/release-skill-v0.9.
|
|
116
|
+
/plugins install https://github.com/ifoohoo/release-skill/releases/tag/release-skill-v0.9.24
|
|
117
117
|
/plugins reload
|
|
118
118
|
```
|
|
119
119
|
|
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.9.
|
|
5
|
+
<!-- release-skill:release-version: 0.9.24 -->
|
|
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,37 +14,34 @@ 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.9.
|
|
17
|
+
**0.9.24** (2026-10-02)
|
|
18
18
|
|
|
19
|
-
0.9.
|
|
19
|
+
0.9.24 is a local source candidate. Production prepare no longer deletes run directories. captureBaseline accepts a git status listing up to 64 MiB. Frozen commit dates treat a Git Z reading and the plan +00:00 form as the same UTC instant before comparison. The three Foundation dependencies stay pinned to 0.22.0. This note is not evidence of publication, real-host acceptance, consumer installation verification, or independent acceptance.
|
|
20
20
|
|
|
21
21
|
**Security**
|
|
22
22
|
|
|
23
23
|
- Hub publication remains a compare-and-swap operation bound to the observed branch head. A partial Hub publication is never rolled back or force-pushed automatically.
|
|
24
24
|
|
|
25
|
-
**Added**
|
|
26
|
-
|
|
27
|
-
- setup --assess-adoption, assess --offline, and verify-records accept an optional --conclusion-output <absolute-path>. On a successful write, the command exclusively creates one new family proof and keeps the original domain status and exit code; conclusionPath is added only then. Omitting the option writes no proof file.
|
|
28
|
-
- read-proof --proof-root <root> --proof <relative> --json reads one existing release-skill proof under that root. It does not rescan the target, follow details, or turn a failed or incomplete check into a pass.
|
|
29
|
-
- When the declared scope is complete, ASSESSED means the static readiness check finished. Under the same condition, CONSISTENT means the supplied historical records agree, and historicalTerminalStatus stays as recorded. A native pass code is not a professional pass while that scope is incomplete. PUBLISHED and VERIFIED still use the existing conditions of the publish and verify phases.
|
|
30
|
-
- Exclusive writing and professional-conclusion schema checks call Foundation 0.22.0. Reading also uses Foundation to keep the proof path inside the given root. Release-skill keeps the domain mapping for the three entries.
|
|
31
|
-
|
|
32
25
|
**Changed**
|
|
33
26
|
|
|
34
27
|
- Skill Family Hub remains the central marketplace. After release verification, its release entry still uses the existing GitHub Git Data API through the postVerify Hook.
|
|
35
28
|
|
|
29
|
+
**Removed**
|
|
30
|
+
|
|
31
|
+
- Production prepare no longer runs the run-retention cleanup. It keeps the directories already present under .release-skill/runs/, including sealed failed prepares and finished lineages. src/core/run-retention.mjs is not part of the public file list.
|
|
32
|
+
|
|
36
33
|
**Fixed**
|
|
37
34
|
|
|
38
|
-
-
|
|
39
|
-
-
|
|
35
|
+
- captureBaseline reads git status with a 64 MiB maxBuffer, the same bound computeWorkspaceDigest already uses. A status listing larger than Node's default 1 MiB no longer fails that capture.
|
|
36
|
+
- Frozen commit verification still requires the author and committer instants to equal the plan freeze timestamp. Git may return the same UTC instant as Z, and the plan form stays +00:00. Both sides pass through normalizeGitTimestamp before comparison. A different instant still fails.
|
|
40
37
|
|
|
41
38
|
**Upgrade Notes**
|
|
42
39
|
|
|
43
|
-
Compared with 0.9.
|
|
40
|
+
Compared with 0.9.23, this candidate needs no configuration migration. Prepare no longer reclaims disk by deleting old run directories; those directories remain until an operator removes them outside this command. An installation still using the old release-skill standalone marketplace should remove it and use the ifoohoo/skill-family-hub repository with the Hub-qualified plugin id release-skill@skill-family-hub. This file describes the local source candidate. Publication, host loading, and acceptance remain separate later authorizations.
|
|
44
41
|
<!-- release-skill:managed:end id=latest-release -->
|
|
45
42
|
|
|
46
43
|
<!-- release-skill:capability:external-write-boundary -->
|
|
47
|
-
> **Current boundary:** v0.9.
|
|
44
|
+
> **Current boundary:** v0.9.24 is the current source candidate. This README
|
|
48
45
|
> records intended scope and verification boundaries; it is not evidence of
|
|
49
46
|
> publication, consumer-installation verification, or independent acceptance.
|
|
50
47
|
> Release availability must be established from the corresponding release records
|
|
@@ -68,7 +65,7 @@ Compared with 0.9.22, this candidate needs no additional configuration migration
|
|
|
68
65
|
> publish global preflight.
|
|
69
66
|
|
|
70
67
|
<!-- release-skill:capability:safe-first-command -->
|
|
71
|
-
> **Production path verified since the v0.1.1 milestone; v0.9.
|
|
68
|
+
> **Production path verified since the v0.1.1 milestone; v0.9.24 is the current
|
|
72
69
|
> source candidate. Its README does not establish publication,
|
|
73
70
|
> consumer-installation verification, or independent acceptance.**
|
|
74
71
|
> The npm-installed CLI is the supported user entry. Source checkout
|
|
@@ -78,6 +75,10 @@ Compared with 0.9.22, this candidate needs no additional configuration migration
|
|
|
78
75
|
> - npm install: `npm install -g release-skill` → `release-skill help`
|
|
79
76
|
> - source checkout: `node "$RELEASE_SKILL_HOME/packages/release-skill/bin/release-skill.mjs" help`
|
|
80
77
|
|
|
78
|
+
<a id="release-terms"></a>
|
|
79
|
+
|
|
80
|
+
A release unit is a release object with independently configured version, public files, and distribution targets. A release plan is a record for review before approval, linking target versions, frozen artifacts, and proposed external actions; see the [human review and approval steps](#release-plan-review).
|
|
81
|
+
|
|
81
82
|
### 0.8.0 scope and verification boundaries
|
|
82
83
|
|
|
83
84
|
For `prepare --workflow config`, public-byte comparison selects the branch:
|
|
@@ -97,7 +98,7 @@ checkpoints remain intact and use matching-version recovery. Evidence v1 stays
|
|
|
97
98
|
read-only; v2 uses a closed top level with phase extensions in `details`.
|
|
98
99
|
Summaries and recovery suggestions are diagnostic, never publication authority.
|
|
99
100
|
|
|
100
|
-
The current 0.9.
|
|
101
|
+
The current 0.9.24 candidate includes the narrow R-05 Hook cache v2 consumer
|
|
101
102
|
path, the public `postverify` path, and the stable isolated install-tree record
|
|
102
103
|
path (A2/A3). It also adds the explicit-input `verify-records` command and a
|
|
103
104
|
self-contained Qoder projection, first-class Cursor packaging, and the
|
|
@@ -201,7 +202,7 @@ This scope summary is not a remote publication record or a consumer upgrade inst
|
|
|
201
202
|
|
|
202
203
|
## Quick start
|
|
203
204
|
|
|
204
|
-
|
|
205
|
+
The release unit and release plan are defined [above](#release-terms); the review steps are the [human review and approval steps](#release-plan-review).
|
|
205
206
|
|
|
206
207
|
### Selecting a release scope
|
|
207
208
|
|
|
@@ -340,7 +341,7 @@ observes the complete frozen payload in a fresh local installation. Real
|
|
|
340
341
|
marketplace installation and host invocation remain non-blocking post-release
|
|
341
342
|
manual tasks; the system does not verify their completion.
|
|
342
343
|
|
|
343
|
-
|
|
344
|
+
The release unit and release plan are defined [above](#release-terms); the review steps are the [human review and approval steps](#release-plan-review).
|
|
344
345
|
|
|
345
346
|
```bash
|
|
346
347
|
release-skill ship --root "$PROJECT" --target-version 1.2.3 --json
|
|
@@ -350,11 +351,7 @@ release-skill ship --root "$PROJECT" --approve --actor "$ACTOR" --json
|
|
|
350
351
|
During development, `release-skill hooks validate` runs declared hooks and
|
|
351
352
|
writes the same content-bound cache receipts that `prepare` consumes.
|
|
352
353
|
|
|
353
|
-
Run these steps in order.
|
|
354
|
-
prepare pipeline is local-only and never invokes remote publish adapters; configured
|
|
355
|
-
hooks and gates remain arbitrary unsandboxed processes and can perform local or remote
|
|
356
|
-
side effects. Step 4 is therefore local-only only when those processes are absent or
|
|
357
|
-
separately audited and explicitly acknowledged. Steps 5-9 require explicit human gates.
|
|
354
|
+
Run these steps in order. The `help` call in step 1, the default `setup` diagnosis in step 2 without `--write`, and the `assess` call shown in step 3 are read-only diagnoses. When step 2 explicitly runs `setup --write --confirm-setup`, it creates project configuration; that same step also creates, writes, and deletes local temporary session files. Those are local writes, not remote publication. In step 4, release-skill's own prepare pipeline is local-only and never invokes remote publish adapters; configured hooks and gates remain arbitrary unsandboxed processes and can perform local or remote side effects. Step 4 is therefore local-only only when those processes are absent or separately audited and explicitly acknowledged. Steps 5-9 require explicit human gates.
|
|
358
355
|
|
|
359
356
|
```bash
|
|
360
357
|
CLI=(release-skill) # or: CLI=(node "$RELEASE_SKILL_HOME/packages/release-skill/bin/release-skill.mjs")
|
|
@@ -919,13 +916,8 @@ verify an exact current installation offline; Codex reinstalls when its list
|
|
|
919
916
|
does not expose an installation root. Existing frozen installation actions
|
|
920
917
|
and the Qoder and Cursor paths remain supported without duplicate execution.
|
|
921
918
|
|
|
922
|
-
Production `prepare`
|
|
923
|
-
|
|
924
|
-
only superseded complete run lineages and sealed failed prepare directories
|
|
925
|
-
that have no valid plan or external-write trace. The current plan, the newest
|
|
926
|
-
complete lineage, and every non-terminal, partial, corrupt, ambiguous, or
|
|
927
|
-
out-of-bounds lineage remain protected. Retention failures never change the
|
|
928
|
-
prepare result.
|
|
919
|
+
Production `prepare` keeps the run directories already present under
|
|
920
|
+
`.release-skill/runs/`, including sealed failed prepares and finished lineages.
|
|
929
921
|
|
|
930
922
|
New `codebuddy-plugin` project configurations must declare `marketplace`
|
|
931
923
|
explicitly so product families cannot silently inherit another family's Hub.
|
package/README.zh-CN.md
CHANGED
|
@@ -2,43 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) · 安装指南:[中文](INSTALL.zh-CN.md) / [English](INSTALL.md)
|
|
4
4
|
|
|
5
|
-
<!-- release-skill:release-version: 0.9.
|
|
5
|
+
<!-- release-skill:release-version: 0.9.24 -->
|
|
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.9.
|
|
11
|
+
**0.9.24** (2026-10-02)
|
|
12
12
|
|
|
13
|
-
0.9.
|
|
13
|
+
0.9.24 是一个本地源码候选。生产 prepare 不再删除运行目录。captureBaseline 可以接收不超过 64 MiB 的 git status 列表。冻结提交日期在比较前把 Git 读出的 Z 与计划中的 +00:00 视为同一 UTC 时刻。Foundation 三个依赖继续固定为 0.22.0。本说明不代表已经发布、完成真实宿主验收、完成消费者安装验证或通过独立验收。
|
|
14
14
|
|
|
15
15
|
**安全**
|
|
16
16
|
|
|
17
17
|
- Hub 发布仍绑定已观察的分支头执行比较后写入。部分发布时不回滚、不覆盖已成功的远端步骤,也不自动强推。
|
|
18
18
|
|
|
19
|
-
**新增**
|
|
20
|
-
|
|
21
|
-
- `setup --assess-adoption`、`assess --offline` 和 `verify-records` 可以附加 `--conclusion-output <absolute-path>`。写入成功时,命令排他创建一份新的本族证明,并保留原领域状态和退出码;结果这时才带 `conclusionPath`。未传该参数时不写证明文件。
|
|
22
|
-
- `read-proof --proof-root <root> --proof <relative> --json` 只读取该根下已有的 release-skill 证明。读取不重新检查目标,不跟随 `details`,也不把失败或未完成的检查变成通过。
|
|
23
|
-
- 声明范围已经完成时,`ASSESSED` 表示静态准备度检查完成。同一条件下,`CONSISTENT` 表示所给历史记录一致,`historicalTerminalStatus` 保持原值。范围尚未完成时,原生通过码不算专业通过。`PUBLISHED` 和 `VERIFIED` 继续使用发布阶段和验证阶段各自的通过条件。
|
|
24
|
-
- 证明的排他写入和 professional-conclusion 结构校验调用 Foundation 0.22.0。读取时同样由 Foundation 把证明路径限制在给定根目录内。三个入口的领域映射仍留在 release-skill。
|
|
25
|
-
|
|
26
19
|
**变更**
|
|
27
20
|
|
|
28
21
|
- Skill Family Hub 继续作为统一市场。发布验证完成后,postVerify Hook 仍使用既有 GitHub Git Data API 更新 Hub 的发布条目。
|
|
29
22
|
|
|
23
|
+
**移除**
|
|
24
|
+
|
|
25
|
+
- 生产 prepare 不再执行 run-retention 清理。它保留 .release-skill/runs/ 中已有的目录,包括封口失败的 prepare 和已经结束的谱系。src/core/run-retention.mjs 不再属于公开文件清单。
|
|
26
|
+
|
|
30
27
|
**修复**
|
|
31
28
|
|
|
32
|
-
-
|
|
33
|
-
-
|
|
29
|
+
- captureBaseline 读取 git status 时使用 64 MiB maxBuffer,与 computeWorkspaceDigest 已有的上限相同。状态列表超过 Node 默认的 1 MiB 时,这次采集不再因此失败。
|
|
30
|
+
- 冻结提交校验仍要求作者和提交者时刻等于计划冻结时间。Git 可能把同一 UTC 时刻读成 Z,计划形式仍是 +00:00。两边都先经过 normalizeGitTimestamp 再比较。不同的时刻仍然失败。
|
|
34
31
|
|
|
35
32
|
**升级说明**
|
|
36
33
|
|
|
37
|
-
本候选相对 0.9.
|
|
34
|
+
本候选相对 0.9.23 无需迁移配置。prepare 不再通过删除旧运行目录回收磁盘;这些目录会保留,直到操作者在该命令之外移除。若安装仍使用独立的 `release-skill` 市场,应将其移除,改用 ifoohoo/skill-family-hub 仓库与 Hub 限定插件名 release-skill@skill-family-hub。本文件只说明本地源码候选;正式发布、宿主加载和验收留待后续单独授权。
|
|
38
35
|
<!-- release-skill:managed:end id=latest-release -->
|
|
39
36
|
|
|
40
37
|
<!-- release-skill:capability:external-write-boundary -->
|
|
41
|
-
> **当前边界:** v0.9.
|
|
38
|
+
> **当前边界:** v0.9.24 只是当前源码候选。本 README 记录预期范围与验证边界,
|
|
42
39
|
> 不代表已经发布、完成消费者安装验证或通过独立验收。
|
|
43
40
|
> 版本可用性以对应发布记录及发布后验证结果为准。
|
|
44
41
|
> v0.4.1 是更早的已发布里程碑(v0.2.2 曾处于已发布状态,后因平台验证收敛修复而更新)。
|
|
@@ -54,13 +51,17 @@ release-skill 帮助维护者回答三个问题:准备发布什么、还有哪
|
|
|
54
51
|
> 远端唯一性检查在 `publish` 全局预检执行。
|
|
55
52
|
|
|
56
53
|
<!-- release-skill:capability:safe-first-command -->
|
|
57
|
-
> **生产路径自 v0.1.1 里程碑起已完成真实生产验证;v0.9.
|
|
54
|
+
> **生产路径自 v0.1.1 里程碑起已完成真实生产验证;v0.9.24 是当前源码候选,本 README 不证明该候选已经发布、完成消费者安装验证或通过独立验收。**
|
|
58
55
|
> npm 安装的 CLI 是受支持的用户入口;源码 checkout 保留为开发/贡献者路径。
|
|
59
56
|
>
|
|
60
57
|
> **第一条命令:**
|
|
61
58
|
> - npm 安装:`npm install -g release-skill` → `release-skill help`
|
|
62
59
|
> - 源码 checkout:`node "$RELEASE_SKILL_HOME/packages/release-skill/bin/release-skill.mjs" help`
|
|
63
60
|
|
|
61
|
+
<a id="release-terms"></a>
|
|
62
|
+
|
|
63
|
+
发布单元是独立配置版本、公开文件和分发目标的发布对象。发布计划是供批准前审阅的记录,将目标版本、冻结产物和拟执行的外部动作关联起来;详见[人工审阅与批准步骤](#release-plan-review)。
|
|
64
|
+
|
|
64
65
|
### 0.8.0 范围与验证边界
|
|
65
66
|
|
|
66
67
|
`prepare --workflow config` 按公开字节是否变化分支:
|
|
@@ -72,7 +73,7 @@ marketplace 委托目标工作区发布的边界不变。
|
|
|
72
73
|
|
|
73
74
|
旧 production 计划缺少 `sourceAuthority` 时,在外部写入前拒绝。未发生外部写入的计划必须重新 prepare 并批准新摘要,不能补写旧计划或迁移批准。已有 `PARTIAL` 保留检查点,走匹配版本的恢复路径。evidence v1 只读;v2 顶层封闭,阶段扩展放在 `details`。摘要和恢复建议只作诊断,不构成发布权威。
|
|
74
75
|
|
|
75
|
-
当前 0.9.
|
|
76
|
+
当前 0.9.24 候选包含窄范围的 R-05 Hook cache v2 消费路径、公开 `postverify`
|
|
76
77
|
路径和稳定隔离安装树记录路径(A2/A3),并增加只接受显式输入的 `verify-records`
|
|
77
78
|
命令、自包含 Qoder 投影、Cursor 正式打包,以及基于 Foundation 的宿主核验桥。
|
|
78
79
|
Skill Family Hub 仍是唯一市场来源。
|
|
@@ -157,7 +158,7 @@ CodeBuddy 映射为兼容的 `workbuddy`。`observed` 与 `payloadMatches` 只
|
|
|
157
158
|
|
|
158
159
|
## 快速开始
|
|
159
160
|
|
|
160
|
-
|
|
161
|
+
发布单元和发布计划的定义见[上文](#release-terms),审阅步骤见[人工审阅与批准步骤](#release-plan-review)。
|
|
161
162
|
|
|
162
163
|
### 选择本轮发布范围
|
|
163
164
|
|
|
@@ -275,7 +276,7 @@ hook 授权等待态。受限的 postPublish hook 仍须独立批准,计划批
|
|
|
275
276
|
观察完整冻结载荷。真实市场安装和宿主调用仍是发布完成后的非阻塞人工后续任务,
|
|
276
277
|
系统不核验其完成结果。
|
|
277
278
|
|
|
278
|
-
|
|
279
|
+
发布单元和发布计划的定义见[上文](#release-terms),审阅步骤见[人工审阅与批准步骤](#release-plan-review)。
|
|
279
280
|
|
|
280
281
|
```bash
|
|
281
282
|
release-skill ship --root "$PROJECT" --target-version 1.2.3 --json
|
|
@@ -285,10 +286,7 @@ release-skill ship --root "$PROJECT" --approve --actor "$ACTOR" --json
|
|
|
285
286
|
开发阶段可运行 `release-skill hooks validate`;它会执行声明的 hooks,并写入
|
|
286
287
|
`prepare` 可复用的内容绑定收据。
|
|
287
288
|
|
|
288
|
-
按以下顺序执行。步骤 1
|
|
289
|
-
且不会调用远端发布适配器;配置的 hook 和 gate 仍是可产生本地或远端副作用的任意无沙箱进程。
|
|
290
|
-
只有这些进程不存在,或已单独审计并显式确认副作用时,步骤 4 才能视为“仅本地”。步骤 5-9
|
|
291
|
-
需要显式人工门禁。
|
|
289
|
+
按以下顺序执行。步骤 1 的 `help`、步骤 2 不带 `--write` 的默认 `setup` 诊断,以及步骤 3 所示的 `assess`,是只读诊断。步骤 2 显式执行 `setup --write --confirm-setup` 时,会在项目中创建配置;同一步骤还会创建、写入并删除本地临时会话文件,这些操作属于本地写入,不涉及远端发布。步骤 4 中,release-skill 自身的 prepare 流水线仅在本地写入,且不会调用远端发布适配器;配置的 hook 和 gate 仍是可产生本地或远端副作用的任意无沙箱进程。只有这些进程不存在,或已单独审计并显式确认副作用时,步骤 4 才能视为“仅本地”。步骤 5-9 需要显式人工门禁。
|
|
292
290
|
|
|
293
291
|
```bash
|
|
294
292
|
CLI=(release-skill) # 或:CLI=(node "$RELEASE_SKILL_HOME/packages/release-skill/bin/release-skill.mjs")
|
|
@@ -764,10 +762,7 @@ GitHub Release 和受控终端交互,保留三个代理变量;只有仓库 U
|
|
|
764
762
|
精确当前安装;Codex 列表没有安装根时仍须正式重装。旧安装动作与 Qoder、Cursor
|
|
765
763
|
路径继续可用,身份一致的重复目标只执行一次。
|
|
766
764
|
|
|
767
|
-
生产 prepare
|
|
768
|
-
它只删除已被更新完整谱系取代的终态运行目录,以及没有有效计划或外部写入迹象的封口
|
|
769
|
-
失败 prepare。当前计划、最近完整谱系,以及所有非终态、部分成功、损坏、含糊或越界
|
|
770
|
-
谱系都受保护。清理失败不会改变 prepare 结果。
|
|
765
|
+
生产 prepare 保留 `.release-skill/runs/` 中已有的运行目录,包括封口失败的 prepare 和已经结束的谱系。
|
|
771
766
|
|
|
772
767
|
新的 `codebuddy-plugin` 项目配置必须显式声明 `marketplace`,避免不同产品线误用同一市场;`marketplaceSource`(消费者添加市场所用的 URL)仍可按需声明。只有已经冻结、且未携带该字段的历史计划会继续按旧规则解释为 `artifact-skill-set`,以保证 reconcile 可以重放原计划。
|
|
773
768
|
|