release-skill 0.3.0 → 0.4.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.
- package/.claude-plugin/marketplace.json +6 -2
- package/.claude-plugin/plugin.json +2 -2
- package/.codebuddy-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +4 -4
- package/.kimi-plugin/plugin.json +3 -3
- package/CHANGELOG.md +36 -3
- package/INSTALL.md +34 -110
- package/INSTALL.zh-CN.md +17 -83
- package/LICENSE +183 -18
- package/NOTICE +4 -2
- package/README.md +61 -75
- package/README.zh-CN.md +48 -63
- package/adapters/claude/.claude-plugin/marketplace.json +6 -2
- package/adapters/claude/.claude-plugin/plugin.json +2 -2
- package/adapters/claude/bin/release-skill.bundle.mjs +157 -231
- package/adapters/claude/schemas/release-plan.schema.json +7 -0
- package/adapters/claude/schemas/release-run.schema.json +43 -0
- package/adapters/claude/skills/release-help/SKILL.md +5 -5
- package/adapters/claude/skills/release-prepare/SKILL.md +6 -15
- package/adapters/claude/skills/release-publish/SKILL.md +5 -6
- package/adapters/claude/skills/release-reconcile/SKILL.md +2 -2
- package/adapters/claude/skills/release-setup/SKILL.md +6 -0
- package/adapters/claude/skills/release-verify/SKILL.md +4 -6
- package/adapters/codex/.codex-plugin/plugin.json +4 -4
- package/adapters/codex/bin/release-skill.bundle.mjs +157 -231
- package/adapters/codex/schemas/release-plan.schema.json +7 -0
- package/adapters/codex/schemas/release-run.schema.json +43 -0
- package/adapters/codex/skills/release-help/SKILL.md +5 -5
- package/adapters/codex/skills/release-prepare/SKILL.md +6 -15
- package/adapters/codex/skills/release-publish/SKILL.md +5 -6
- package/adapters/codex/skills/release-reconcile/SKILL.md +2 -2
- package/adapters/codex/skills/release-setup/SKILL.md +6 -0
- package/adapters/codex/skills/release-verify/SKILL.md +4 -6
- package/adapters/kimi/.kimi-plugin/plugin.json +3 -3
- package/adapters/kimi/bin/release-skill.bundle.mjs +157 -231
- package/adapters/kimi/schemas/release-plan.schema.json +7 -0
- package/adapters/kimi/schemas/release-run.schema.json +43 -0
- package/adapters/kimi/skills/release-help/SKILL.md +5 -5
- package/adapters/kimi/skills/release-prepare/SKILL.md +6 -15
- package/adapters/kimi/skills/release-publish/SKILL.md +5 -6
- package/adapters/kimi/skills/release-reconcile/SKILL.md +2 -2
- package/adapters/kimi/skills/release-setup/SKILL.md +6 -0
- package/adapters/kimi/skills/release-verify/SKILL.md +4 -6
- package/adapters/workbuddy/.codebuddy-plugin/plugin.json +2 -2
- package/adapters/workbuddy/bin/release-skill.bundle.mjs +157 -231
- package/adapters/workbuddy/schemas/release-plan.schema.json +7 -0
- package/adapters/workbuddy/schemas/release-run.schema.json +43 -0
- package/adapters/workbuddy/skills/release-help/SKILL.md +5 -5
- package/adapters/workbuddy/skills/release-prepare/SKILL.md +6 -15
- package/adapters/workbuddy/skills/release-publish/SKILL.md +5 -6
- package/adapters/workbuddy/skills/release-reconcile/SKILL.md +2 -2
- package/adapters/workbuddy/skills/release-setup/SKILL.md +6 -0
- package/adapters/workbuddy/skills/release-verify/SKILL.md +4 -6
- package/bin/release-skill-cli.mjs +45 -48
- package/bin/release-skill.bundle.mjs +157 -231
- package/package.json +2 -2
- package/references/01-state-machine.md +1 -1
- package/references/06-adapter-contract.md +6 -5
- package/schemas/release-plan.schema.json +7 -0
- package/schemas/release-run.schema.json +43 -0
- package/skills/release-help/SKILL.md +5 -5
- package/skills/release-prepare/SKILL.md +6 -15
- package/skills/release-publish/SKILL.md +5 -6
- package/skills/release-reconcile/SKILL.md +2 -2
- package/skills/release-setup/SKILL.md +6 -0
- package/skills/release-verify/SKILL.md +4 -6
- package/skills-src/release-help/SKILL.md +5 -5
- package/skills-src/release-prepare/SKILL.md +6 -15
- package/skills-src/release-publish/SKILL.md +5 -6
- package/skills-src/release-reconcile/SKILL.md +2 -2
- package/skills-src/release-setup/SKILL.md +6 -0
- package/skills-src/release-verify/SKILL.md +4 -6
- package/src/adapters/npm.mjs +31 -0
- package/src/commands/approve.mjs +8 -6
- package/src/commands/hooks.mjs +4 -8
- package/src/commands/prepare.mjs +13 -50
- package/src/commands/publish.mjs +0 -8
- package/src/commands/reconcile.mjs +3 -37
- package/src/commands/ship.mjs +55 -77
- package/src/commands/verify.mjs +56 -19
- package/src/core/skill-resource-closure.mjs +7 -1
package/LICENSE
CHANGED
|
@@ -1,22 +1,187 @@
|
|
|
1
|
-
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction, and
|
|
10
|
+
distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by the
|
|
13
|
+
copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all other
|
|
16
|
+
entities that control, are controlled by, or are under common control with
|
|
17
|
+
that entity. For the purposes of this definition, "control" means (i) the
|
|
18
|
+
power, direct or indirect, to cause the direction or management of such
|
|
19
|
+
entity, whether by contract or otherwise, or (ii) ownership of fifty percent
|
|
20
|
+
(50%) or more of the outstanding shares, or (iii) beneficial ownership of
|
|
21
|
+
such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising
|
|
24
|
+
permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation source, and
|
|
28
|
+
configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical transformation
|
|
31
|
+
or translation of a Source form, including but not limited to compiled object
|
|
32
|
+
code, generated documentation, and conversions to other media types.
|
|
33
|
+
|
|
34
|
+
"Work" shall mean the work of authorship, whether in Source or Object form,
|
|
35
|
+
made available under the License, as indicated by a copyright notice that is
|
|
36
|
+
included in or attached to the work (an example is provided in the Appendix
|
|
37
|
+
below).
|
|
38
|
+
|
|
39
|
+
"Derivative Works" shall mean any work, whether in Source or Object form,
|
|
40
|
+
that is based on (or derived from) the Work and for which the editorial
|
|
41
|
+
revisions, annotations, elaborations, or other modifications represent, as a
|
|
42
|
+
whole, an original work of authorship. For the purposes of this License,
|
|
43
|
+
Derivative Works shall not include works that remain separable from, or merely
|
|
44
|
+
link (or bind by name) to the interfaces of, the Work and Derivative Works
|
|
45
|
+
thereof.
|
|
46
|
+
|
|
47
|
+
"Contribution" shall mean any work of authorship, including the original
|
|
48
|
+
version of the Work and any modifications or additions to that Work or
|
|
49
|
+
Derivative Works thereof, that is intentionally submitted to Licensor for
|
|
50
|
+
inclusion in the Work by the copyright owner or by an individual or Legal
|
|
51
|
+
Entity authorized to submit on behalf of the copyright owner. For the purposes
|
|
52
|
+
of this definition, "submitted" means any form of electronic, verbal, or
|
|
53
|
+
written communication sent to the Licensor or its representatives, including
|
|
54
|
+
but not limited to communication on electronic mailing lists, source code
|
|
55
|
+
control systems, and issue tracking systems that are managed by, or on behalf
|
|
56
|
+
of, the Licensor for the purpose of discussing and improving the Work, but
|
|
57
|
+
excluding communication that is conspicuously marked or otherwise designated
|
|
58
|
+
in writing by the copyright owner as "Not a Contribution."
|
|
59
|
+
|
|
60
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on
|
|
61
|
+
behalf of whom a Contribution has been received by Licensor and subsequently
|
|
62
|
+
incorporated within the Work.
|
|
63
|
+
|
|
64
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this
|
|
65
|
+
License, each Contributor hereby grants to You a perpetual, worldwide,
|
|
66
|
+
non-exclusive, no-charge, royalty-free, irrevocable copyright license to
|
|
67
|
+
reproduce, prepare Derivative Works of, publicly display, publicly perform,
|
|
68
|
+
sublicense, and distribute the Work and such Derivative Works in Source or
|
|
69
|
+
Object form.
|
|
70
|
+
|
|
71
|
+
3. Grant of Patent License. Subject to the terms and conditions of this
|
|
72
|
+
License, each Contributor hereby grants to You a perpetual, worldwide,
|
|
73
|
+
non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this
|
|
74
|
+
section) patent license to make, have made, use, offer to sell, sell, import,
|
|
75
|
+
and otherwise transfer the Work, where such license applies only to those
|
|
76
|
+
patent claims licensable by such Contributor that are necessarily infringed by
|
|
77
|
+
their Contribution(s) alone or by combination of their Contribution(s) with
|
|
78
|
+
the Work to which such Contribution(s) was submitted. If You institute patent
|
|
79
|
+
litigation against any entity (including a cross-claim or counterclaim in a
|
|
80
|
+
lawsuit) alleging that the Work or a Contribution incorporated within the Work
|
|
81
|
+
constitutes direct or contributory patent infringement, then any patent
|
|
82
|
+
licenses granted to You under this License for that Work shall terminate as of
|
|
83
|
+
the date such litigation is filed.
|
|
84
|
+
|
|
85
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or
|
|
86
|
+
Derivative Works thereof in any medium, with or without modifications, and in
|
|
87
|
+
Source or Object form, provided that You meet the following conditions:
|
|
88
|
+
|
|
89
|
+
(a) You must give any other recipients of the Work or Derivative Works a copy
|
|
90
|
+
of this License; and
|
|
91
|
+
|
|
92
|
+
(b) You must cause any modified files to carry prominent notices stating that
|
|
93
|
+
You changed the files; and
|
|
94
|
+
|
|
95
|
+
(c) You must retain, in the Source form of any Derivative Works that You
|
|
96
|
+
distribute, all copyright, patent, trademark, and attribution notices from the
|
|
97
|
+
Source form of the Work, excluding those notices that do not pertain to any
|
|
98
|
+
part of the Derivative Works; and
|
|
99
|
+
|
|
100
|
+
(d) If the Work includes a "NOTICE" text file as part of its distribution,
|
|
101
|
+
then any Derivative Works that You distribute must include a readable copy of
|
|
102
|
+
the attribution notices contained within such NOTICE file, excluding those
|
|
103
|
+
notices that do not pertain to any part of the Derivative Works, in at least
|
|
104
|
+
one of the following places: within a NOTICE text file distributed as part of
|
|
105
|
+
the Derivative Works; within the Source form or documentation, if provided
|
|
106
|
+
along with the Derivative Works; or, within a display generated by the
|
|
107
|
+
Derivative Works, if and wherever such third-party notices normally appear.
|
|
108
|
+
The contents of the NOTICE file are for informational purposes only and do not
|
|
109
|
+
modify the License. You may add Your own attribution notices within Derivative
|
|
110
|
+
Works that You distribute, alongside or as an addendum to the NOTICE text from
|
|
111
|
+
the Work, provided that such additional attribution notices cannot be
|
|
112
|
+
construed as modifying the License.
|
|
113
|
+
|
|
114
|
+
You may add Your own copyright statement to Your modifications and may provide
|
|
115
|
+
additional or different license terms and conditions for use, reproduction, or
|
|
116
|
+
distribution of Your modifications, or for any such Derivative Works as a
|
|
117
|
+
whole, provided Your use, reproduction, and distribution of the Work otherwise
|
|
118
|
+
complies with the conditions stated in this License.
|
|
119
|
+
|
|
120
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any
|
|
121
|
+
Contribution intentionally submitted for inclusion in the Work by You to the
|
|
122
|
+
Licensor shall be under the terms and conditions of this License, without any
|
|
123
|
+
additional terms or conditions. Notwithstanding the above, nothing herein
|
|
124
|
+
shall supersede or modify the terms of any separate license agreement you may
|
|
125
|
+
have executed with Licensor regarding such Contributions.
|
|
126
|
+
|
|
127
|
+
6. Trademarks. This License does not grant permission to use the trade names,
|
|
128
|
+
trademarks, service marks, or product names of the Licensor, except as required
|
|
129
|
+
for reasonable and customary use in describing the origin of the Work and
|
|
130
|
+
reproducing the content of the NOTICE file.
|
|
131
|
+
|
|
132
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
|
|
133
|
+
writing, Licensor provides the Work (and each Contributor provides its
|
|
134
|
+
Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
135
|
+
KIND, either express or implied, including, without limitation, any warranties
|
|
136
|
+
or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
137
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
138
|
+
appropriateness of using or redistributing the Work and assume any risks
|
|
139
|
+
associated with Your exercise of permissions under this License.
|
|
140
|
+
|
|
141
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in
|
|
142
|
+
tort (including negligence), contract, or otherwise, unless required by
|
|
143
|
+
applicable law (such as deliberate and grossly negligent acts) or agreed to in
|
|
144
|
+
writing, shall any Contributor be liable to You for damages, including any
|
|
145
|
+
direct, indirect, special, incidental, or consequential damages of any
|
|
146
|
+
character arising as a result of this License or out of the use or inability to
|
|
147
|
+
use the Work (including but not limited to damages for loss of goodwill, work
|
|
148
|
+
stoppage, computer failure or malfunction, or any and all other commercial
|
|
149
|
+
damages or losses), even if such Contributor has been advised of the
|
|
150
|
+
possibility of such damages.
|
|
151
|
+
|
|
152
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work
|
|
153
|
+
or Derivative Works thereof, You may choose to offer, and charge a fee for,
|
|
154
|
+
acceptance of support, warranty, indemnity, or other liability obligations
|
|
155
|
+
and/or rights consistent with this License. However, in accepting such
|
|
156
|
+
obligations, You may act only on Your own behalf and on Your sole
|
|
157
|
+
responsibility, not on behalf of any other Contributor, and only if You agree
|
|
158
|
+
to indemnify, defend, and hold each Contributor harmless for any liability
|
|
159
|
+
incurred by, or claims asserted against, such Contributor by reason of your
|
|
160
|
+
accepting any such warranty or additional liability.
|
|
161
|
+
|
|
162
|
+
END OF TERMS AND CONDITIONS
|
|
163
|
+
|
|
164
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
165
|
+
|
|
166
|
+
To apply the Apache License to your work, attach the following boilerplate
|
|
167
|
+
notice, with the fields enclosed by brackets "[]" replaced with your own
|
|
168
|
+
identifying information. (Don't include the brackets!) The text should be
|
|
169
|
+
enclosed in the appropriate comment syntax for the file format. We also
|
|
170
|
+
recommend that a file or class name and description of purpose be included on
|
|
171
|
+
the same "printed page" as the copyright notice for easier identification
|
|
172
|
+
within third-party archives.
|
|
2
173
|
|
|
3
174
|
Copyright (c) 2026 release-skill contributors
|
|
4
175
|
Copyright (c) 2026 广州市风荷科技有限公司
|
|
5
176
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
SOFTWARE.
|
|
177
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
178
|
+
you may not use this file except in compliance with the License.
|
|
179
|
+
You may obtain a copy of the License at
|
|
180
|
+
|
|
181
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
182
|
+
|
|
183
|
+
Unless required by applicable law or agreed to in writing, software
|
|
184
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
185
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
186
|
+
See the License for the specific language governing permissions and
|
|
187
|
+
limitations under the License.
|
package/NOTICE
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
# Notice
|
|
2
2
|
|
|
3
|
-
release-skill is an open-source project released under the
|
|
3
|
+
release-skill is an open-source project released under the Apache License,
|
|
4
|
+
Version 2.0.
|
|
4
5
|
|
|
5
6
|
## Maintenance
|
|
6
7
|
|
|
7
8
|
release-skill is maintained by 广州市风荷科技有限公司 (Guangzhou Fenghe
|
|
8
9
|
Technology Co., Ltd.), together with the release-skill contributors. Copyright
|
|
9
10
|
in the project is held by the release-skill contributors and 广州市风荷科技
|
|
10
|
-
有限公司 as stated in the LICENSE file. The
|
|
11
|
+
有限公司 as stated in the LICENSE file. The 0.4.1 license change does not by
|
|
12
|
+
itself assign or transfer those historical rights. The transfer of the public GitHub
|
|
11
13
|
repository to the `ifoohoo` organization is an administrative change of the
|
|
12
14
|
hosting location and maintenance identity; it does not by itself constitute a
|
|
13
15
|
copyright assignment or transfer.
|
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.
|
|
5
|
+
<!-- release-skill:release-version: 0.4.1 -->
|
|
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,27 +14,20 @@ 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.
|
|
17
|
+
**0.4.1** (2026-08-03)
|
|
18
18
|
|
|
19
|
-
v0.
|
|
20
|
-
|
|
21
|
-
**Added**
|
|
22
|
-
|
|
23
|
-
- **Resumable ship orchestration**: the new `ship` command persists the active release state and resumes prepare, approval, publish, reconcile, and verification without rebuilding authority from conversational context.
|
|
24
|
-
- **Reusable hook receipts**: `hooks validate` executes declared hooks through the same content-bound cache used by prepare, so unchanged checks do not need to run again.
|
|
25
|
-
- **Verified manual attestations**: `attest` validates a reported Kimi or CodeBuddy installation against the exact frozen plugin payload before recording consumer evidence.
|
|
26
|
-
- **Git transport preflight**: production publishing selects one repository-consistent HTTPS or SSH transport before any remote write and blocks conflicting remote identities.
|
|
19
|
+
v0.4.1 is the unreleased source candidate that migrates release-skill to Apache License 2.0 and aligns public author metadata while preserving repository ownership and historical attribution.
|
|
27
20
|
|
|
28
21
|
**Changed**
|
|
29
22
|
|
|
30
|
-
- **
|
|
31
|
-
- **
|
|
32
|
-
- **
|
|
33
|
-
- **Compact prepare output**: JSON output references the immutable plan by path and digest instead of embedding the full plan.
|
|
23
|
+
- **Open-source license**: package, plugin manifests, README, LICENSE, and NOTICE now consistently use Apache-2.0.
|
|
24
|
+
- **Identity separation**: project author and developer metadata names 广州市风荷科技有限公司, while the `ifoohoo` repository and Marketplace owner coordinates remain unchanged.
|
|
25
|
+
- **Historical attribution**: existing contributor and company copyright notices remain; metadata and license changes do not assert a copyright transfer.
|
|
34
26
|
<!-- release-skill:managed:end id=latest-release -->
|
|
35
27
|
|
|
36
28
|
<!-- release-skill:capability:external-write-boundary -->
|
|
37
|
-
> **Current boundary:** v0.
|
|
29
|
+
> **Current boundary:** v0.4.1 is the current source candidate; v0.4.0 remains
|
|
30
|
+
> the latest published release (v0.2.2 previously held
|
|
38
31
|
> published status before the platform verification convergence fix was added).
|
|
39
32
|
> v0.1.1 completed a real production release to GitHub and npm — the first
|
|
40
33
|
> production-verified milestone — followed by
|
|
@@ -52,8 +45,8 @@ v0.3.0 streamlines production releases into a resumable orchestration with reusa
|
|
|
52
45
|
> publish global preflight.
|
|
53
46
|
|
|
54
47
|
<!-- release-skill:capability:safe-first-command -->
|
|
55
|
-
> **Production path verified since the v0.1.1 milestone; v0.
|
|
56
|
-
> release.** The npm-installed CLI is the supported user entry. Source checkout
|
|
48
|
+
> **Production path verified since the v0.1.1 milestone; v0.4.1 is the current
|
|
49
|
+
> source candidate and v0.4.0 is the latest published release.** The npm-installed CLI is the supported user entry. Source checkout
|
|
57
50
|
> is the development/contributor fallback.
|
|
58
51
|
>
|
|
59
52
|
> **Start here:**
|
|
@@ -63,10 +56,15 @@ v0.3.0 streamlines production releases into a resumable orchestration with reusa
|
|
|
63
56
|
<!-- release-skill:maturity:v0.1-boundary -->
|
|
64
57
|
<!-- release-skill:maturity:boundary -->
|
|
65
58
|
> **Safe defaults:** the recommended path is `help → assess → prepare --offline →
|
|
66
|
-
> human review`.
|
|
67
|
-
>
|
|
68
|
-
>
|
|
69
|
-
>
|
|
59
|
+
> human review`. `help` and `assess` are read-only. The release-skill-owned part of
|
|
60
|
+
> `prepare --offline` writes only under `.release-skill/` and does not call remote
|
|
61
|
+
> publish adapters, but configured hooks and gates are unsandboxed processes: they
|
|
62
|
+
> may write outside the project, access credentials, make network calls, or publish.
|
|
63
|
+
> Treat `prepare` as local-only only when those processes are absent or separately
|
|
64
|
+
> audited and explicitly acknowledged. Production publishing uses
|
|
65
|
+
> `ship --target-version <ver> → ship --approve --actor <name>`.
|
|
66
|
+
> The `ship` command runs hooks and gates automatically; the only human gate is plan approval.
|
|
67
|
+
> Kimi/CodeBuddy installations are non-blocking manual follow-up tasks (not verified by system).
|
|
70
68
|
|
|
71
69
|
## Table of contents
|
|
72
70
|
|
|
@@ -119,32 +117,24 @@ See [INSTALL.md](INSTALL.md) for CodeBuddy, Codex, and Kimi Code commands.
|
|
|
119
117
|
### Main workflow
|
|
120
118
|
|
|
121
119
|
For routine releases, use the durable fast path. It persists authoritative
|
|
122
|
-
paths and resumes safely, so a normal run needs at most
|
|
123
|
-
|
|
124
|
-
|
|
120
|
+
paths and resumes safely, so a normal run needs at most one human gate: the
|
|
121
|
+
frozen plan approval. `ship` runs configured hooks and verification gates
|
|
122
|
+
automatically. Kimi/CodeBuddy installations are non-blocking post-release
|
|
123
|
+
manual tasks; the system does not verify their completion.
|
|
125
124
|
|
|
126
125
|
```bash
|
|
127
126
|
release-skill ship --root "$PROJECT" --target-version 1.2.3 --json
|
|
128
|
-
release-skill ship --root "$PROJECT" --
|
|
129
|
-
release-skill ship --root "$PROJECT" --approve-plan <planDigest> --actor "$ACTOR" --json
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
If interactive consumers are required, `ship` returns every Kimi/CodeBuddy
|
|
133
|
-
requirement at once. After installing/reloading, record the human fact without
|
|
134
|
-
editing JSON and rerun `ship`:
|
|
135
|
-
|
|
136
|
-
```bash
|
|
137
|
-
release-skill attest --root "$PROJECT" --platform kimi --plugin my-plugin \
|
|
138
|
-
--result passed --actor "$ACTOR" --install-path /actual/managed/plugin/path
|
|
139
|
-
release-skill ship --root "$PROJECT" --json
|
|
127
|
+
release-skill ship --root "$PROJECT" --approve --actor "$ACTOR" --json
|
|
140
128
|
```
|
|
141
129
|
|
|
142
|
-
During development, `release-skill hooks validate
|
|
143
|
-
|
|
144
|
-
content-bound cache receipts that `prepare` consumes.
|
|
130
|
+
During development, `release-skill hooks validate` runs declared hooks and
|
|
131
|
+
writes the same content-bound cache receipts that `prepare` consumes.
|
|
145
132
|
|
|
146
|
-
Run these steps in order. Steps 1-
|
|
147
|
-
|
|
133
|
+
Run these steps in order. Steps 1-3 are read-only. In step 4, release-skill's own
|
|
134
|
+
prepare pipeline is local-only and never invokes remote publish adapters; configured
|
|
135
|
+
hooks and gates remain arbitrary unsandboxed processes and can perform local or remote
|
|
136
|
+
side effects. Step 4 is therefore local-only only when those processes are absent or
|
|
137
|
+
separately audited and explicitly acknowledged. Steps 5-9 require explicit human gates.
|
|
148
138
|
|
|
149
139
|
```bash
|
|
150
140
|
CLI=(release-skill) # or: CLI=(node "$RELEASE_SKILL_HOME/packages/release-skill/bin/release-skill.mjs")
|
|
@@ -208,41 +198,35 @@ ACTOR=your-name
|
|
|
208
198
|
```
|
|
209
199
|
4. **prepare** — local snapshot and plan freeze:
|
|
210
200
|
```bash
|
|
211
|
-
"${CLI[@]}" prepare --root "$PROJECT" --offline
|
|
212
|
-
--acknowledge-hook-side-effects \
|
|
213
|
-
--acknowledge-gate-side-effects --json
|
|
201
|
+
"${CLI[@]}" prepare --root "$PROJECT" --offline --json
|
|
214
202
|
```
|
|
215
|
-
Omit an acknowledgement only when that project config has no corresponding
|
|
216
|
-
hook or snapshot gate. Never grant either acknowledgement before reviewing
|
|
217
|
-
the configured executable, arguments, working directory, and side effects.
|
|
218
203
|
5. **Human review:** inspect `planPath`, `externalActions`, `targetVersion`, and `planDigest`.
|
|
219
204
|
6. **prepare --production** — freeze the production plan:
|
|
220
205
|
```bash
|
|
221
|
-
PLAN_JSON=$("${CLI[@]}" prepare --root "$PROJECT" --online --production
|
|
222
|
-
--acknowledge-hook-side-effects \
|
|
223
|
-
--acknowledge-gate-side-effects --json)
|
|
206
|
+
PLAN_JSON=$("${CLI[@]}" prepare --root "$PROJECT" --online --production --json)
|
|
224
207
|
PLAN_PATH=$(printf '%s\n' "$PLAN_JSON" | jq -r '.planPath')
|
|
225
208
|
PLAN_DIGEST=$(printf '%s\n' "$PLAN_JSON" | jq -r '.planDigest')
|
|
226
209
|
```
|
|
227
|
-
7. **approve** — human approval
|
|
210
|
+
7. **approve** — human approval (digest auto-read from plan, 24-hour expiry):
|
|
228
211
|
```bash
|
|
229
212
|
APPROVAL_JSON=$("${CLI[@]}" approve --plan "$PLAN_PATH" \
|
|
230
|
-
--
|
|
213
|
+
--actor "$ACTOR" --json)
|
|
231
214
|
APPROVAL_PATH=$(printf '%s\n' "$APPROVAL_JSON" | jq -r '.approvalPath')
|
|
232
215
|
```
|
|
216
|
+
`--actor` is an unauthenticated local audit string. It is not identity
|
|
217
|
+
verification, a signature, or proof that a particular human approved the plan;
|
|
218
|
+
use an external authenticated approval system when that assurance is required.
|
|
233
219
|
8. **publish** — remote writes start here:
|
|
234
220
|
```bash
|
|
235
221
|
PUBLISH_JSON=$("${CLI[@]}" publish --root "$PROJECT" \
|
|
236
|
-
--plan "$PLAN_PATH" --approval "$APPROVAL_PATH"
|
|
237
|
-
--confirm-production "$PLAN_DIGEST" --json)
|
|
222
|
+
--plan "$PLAN_PATH" --approval "$APPROVAL_PATH" --json)
|
|
238
223
|
PUBLISH_RUN_PATH=$(printf '%s\n' "$PUBLISH_JSON" | jq -r '.runPath')
|
|
239
224
|
```
|
|
240
225
|
`PUBLISHED` is **not** the terminal state.
|
|
241
226
|
9. **verify** — consumer install check:
|
|
242
227
|
```bash
|
|
243
228
|
"${CLI[@]}" verify --root "$PROJECT" \
|
|
244
|
-
--plan "$PLAN_PATH" --run "$PUBLISH_RUN_PATH"
|
|
245
|
-
--acknowledge-gate-side-effects --json
|
|
229
|
+
--plan "$PLAN_PATH" --run "$PUBLISH_RUN_PATH" --json
|
|
246
230
|
```
|
|
247
231
|
|
|
248
232
|
The handoff example requires `jq`. Without it, copy the returned JSON fields
|
|
@@ -257,12 +241,10 @@ When `publish` succeeds at some checkpoints but fails at others, the run enters
|
|
|
257
241
|
RECONCILE_JSON=$("${CLI[@]}" reconcile --root "$PROJECT" \
|
|
258
242
|
--run "$PUBLISH_RUN_PATH" \
|
|
259
243
|
--plan "$PLAN_PATH" \
|
|
260
|
-
--approval "$APPROVAL_PATH"
|
|
261
|
-
--confirm-production "$PLAN_DIGEST" --json)
|
|
244
|
+
--approval "$APPROVAL_PATH" --json)
|
|
262
245
|
RECONCILE_RUN_PATH=$(printf '%s\n' "$RECONCILE_JSON" | jq -r '.runPath')
|
|
263
246
|
"${CLI[@]}" verify --root "$PROJECT" \
|
|
264
|
-
--plan "$PLAN_PATH" --run "$RECONCILE_RUN_PATH"
|
|
265
|
-
--acknowledge-gate-side-effects --json
|
|
247
|
+
--plan "$PLAN_PATH" --run "$RECONCILE_RUN_PATH" --json
|
|
266
248
|
```
|
|
267
249
|
|
|
268
250
|
`reconcile` queries the actual remote state, skips already-consistent steps,
|
|
@@ -300,9 +282,12 @@ but blocks a lost or reverted README by path. It never merges, switches
|
|
|
300
282
|
branches, pushes, or creates a PR.
|
|
301
283
|
|
|
302
284
|
**Write safety:** `setup` is read-only by default (create-once after digest
|
|
303
|
-
confirmation). `prepare` writes only under
|
|
304
|
-
|
|
305
|
-
|
|
285
|
+
confirmation). Release-skill's own `prepare` pipeline writes only under
|
|
286
|
+
`.release-skill/` and does not invoke remote publish adapters. Project hooks and
|
|
287
|
+
gates are acknowledged processes without an OS sandbox; they may write outside the
|
|
288
|
+
project, access credentials, make network calls, or publish. `publish` is the
|
|
289
|
+
release-skill-owned production write entry and requires both approval and the current
|
|
290
|
+
plan digest.
|
|
306
291
|
|
|
307
292
|
## Documentation
|
|
308
293
|
|
|
@@ -482,9 +467,9 @@ hooks:
|
|
|
482
467
|
envAllowlist: []
|
|
483
468
|
```
|
|
484
469
|
|
|
485
|
-
Hooks run
|
|
486
|
-
|
|
487
|
-
|
|
470
|
+
Hooks run when `prepare` is invoked; the command call itself authorizes
|
|
471
|
+
execution. Gates are the controlled extension point for release calibration
|
|
472
|
+
(see `references/02-project-config.md`).
|
|
488
473
|
|
|
489
474
|
## Skills
|
|
490
475
|
|
|
@@ -492,7 +477,7 @@ point for release calibration (see `references/02-project-config.md`).
|
|
|
492
477
|
- `release-setup`: read-only discovery, human calibration, and create-once configuration.
|
|
493
478
|
- `release-assess`: read-only release readiness report.
|
|
494
479
|
- `release-prepare`: local snapshot and reviewable release plan.
|
|
495
|
-
- `release-publish`: approved
|
|
480
|
+
- `release-publish`: approved frozen GitHub+npm publishing; the internal digest is checked automatically.
|
|
496
481
|
- `release-reconcile`: evidence-based PARTIAL recovery with human intervention on conflicts.
|
|
497
482
|
- `release-verify`: post-publish verification; only `VERIFIED` is the happy end.
|
|
498
483
|
|
|
@@ -506,14 +491,15 @@ closures. A release unit declares what reaches users via `distributions`:
|
|
|
506
491
|
| `npm` | npm package with CLI entry | `npm install -g release-skill` |
|
|
507
492
|
| `claude-plugin` | self-contained closure under `adapters/claude/` | automated marketplace checkpoint |
|
|
508
493
|
| `codex-plugin` | self-contained closure under `adapters/codex/` | automated marketplace checkpoint |
|
|
509
|
-
| `kimi-plugin` | self-contained closure (no scriptable install API) |
|
|
510
|
-
| `codebuddy-plugin` | generated `adapters/workbuddy/` with `.codebuddy-plugin/plugin.json` |
|
|
494
|
+
| `kimi-plugin` | self-contained closure (no scriptable install API) | non-blocking post-release manual task |
|
|
495
|
+
| `codebuddy-plugin` | generated `adapters/workbuddy/` with `.codebuddy-plugin/plugin.json` | non-blocking post-release manual task |
|
|
511
496
|
|
|
512
497
|
Each adapter closure bundles its own CLI, skills, and schemas for zero external
|
|
513
498
|
dependency after installation. `publish` only publishes frozen Git objects and
|
|
514
499
|
npm tarballs, then checks remote commit/tree/tag integrity. Claude/Codex
|
|
515
|
-
verification is automated
|
|
516
|
-
|
|
500
|
+
verification is automated. Kimi Code and CodeBuddy/WorkBuddy are returned as
|
|
501
|
+
`manualFollowUps` with `verifiedBySystem: false`; their completion is not a
|
|
502
|
+
condition for the automated release to reach `VERIFIED`.
|
|
517
503
|
|
|
518
504
|
For every npm distribution, `prepare` statically checks the exact packed
|
|
519
505
|
tarball against concrete `package.json` entry targets. `publish` and
|
|
@@ -534,12 +520,12 @@ declaration is narrowed to concrete targets.
|
|
|
534
520
|
- no overwrite of branches/tags/releases or npm unpublish; create-only refs use
|
|
535
521
|
`--force-with-lease=<ref>:` solely as an atomic compare-and-set assertion that
|
|
536
522
|
the ref is absent, while existing branches use an ordinary non-force push;
|
|
537
|
-
- no automated CodeBuddy/WorkBuddy marketplace install checkpoint —
|
|
538
|
-
|
|
539
|
-
|
|
523
|
+
- no automated Kimi or CodeBuddy/WorkBuddy marketplace install checkpoint —
|
|
524
|
+
these installations remain explicit post-release team tasks and the system
|
|
525
|
+
does not verify their completion;
|
|
540
526
|
- no promise of Windows or broad multi-platform native write support;
|
|
541
527
|
- no hidden commit, push, tag, release, or package publication.
|
|
542
528
|
|
|
543
529
|
## License
|
|
544
530
|
|
|
545
|
-
|
|
531
|
+
Apache License 2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
|