release-skill 0.8.0 → 0.9.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.
Files changed (144) 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 +65 -7
  7. package/INSTALL.md +14 -2
  8. package/INSTALL.zh-CN.md +12 -2
  9. package/README.md +51 -31
  10. package/README.zh-CN.md +33 -20
  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/error-codes.json +1 -1
  14. package/adapters/claude/bin/foundation-resource-binding.json +1 -1
  15. package/adapters/claude/bin/prebuild-manifest.json +8 -4
  16. package/adapters/claude/bin/prebuilds/darwin-arm64/bound_read.darwin-arm64.node +0 -0
  17. package/adapters/claude/bin/prebuilds/darwin-x64/bound_read.darwin-x64.node +0 -0
  18. package/adapters/claude/bin/prebuilds/linux-arm64-gnu/bound_read.linux-arm64-gnu.node +0 -0
  19. package/adapters/claude/bin/prebuilds/linux-x64-gnu/bound_read.linux-x64-gnu.node +0 -0
  20. package/adapters/claude/bin/registry.json +22 -1
  21. package/adapters/claude/bin/release-skill-local-finish.mjs +4 -0
  22. package/adapters/claude/bin/release-skill.bundle.mjs +7152 -4231
  23. package/adapters/claude/bin/rules.json +1 -1
  24. package/adapters/claude/schemas/release-plan.schema.json +43 -5
  25. package/adapters/claude/schemas/release-run.schema.json +35 -1
  26. package/adapters/claude/skills/release-finish/SKILL.md +65 -0
  27. package/adapters/claude/skills/release-verify/SKILL.md +6 -1
  28. package/adapters/claude/src/schemas/filesystem-tree-observation.schema.json +55 -0
  29. package/adapters/claude/src/schemas/host-verification-result.schema.json +2 -2
  30. package/adapters/claude/src/schemas/plugin-verification-request.schema.json +374 -0
  31. package/adapters/claude/src/schemas/plugin-verification-result.schema.json +799 -0
  32. package/adapters/claude/src/schemas/watchdog-termination-envelope.schema.json +16 -0
  33. package/adapters/codex/.codex-plugin/plugin.json +2 -2
  34. package/adapters/codex/bin/error-codes.json +1 -1
  35. package/adapters/codex/bin/foundation-resource-binding.json +1 -1
  36. package/adapters/codex/bin/prebuild-manifest.json +8 -4
  37. package/adapters/codex/bin/prebuilds/darwin-arm64/bound_read.darwin-arm64.node +0 -0
  38. package/adapters/codex/bin/prebuilds/darwin-x64/bound_read.darwin-x64.node +0 -0
  39. package/adapters/codex/bin/prebuilds/linux-arm64-gnu/bound_read.linux-arm64-gnu.node +0 -0
  40. package/adapters/codex/bin/prebuilds/linux-x64-gnu/bound_read.linux-x64-gnu.node +0 -0
  41. package/adapters/codex/bin/registry.json +22 -1
  42. package/adapters/codex/bin/release-skill-local-finish.mjs +4 -0
  43. package/adapters/codex/bin/release-skill.bundle.mjs +7152 -4231
  44. package/adapters/codex/bin/rules.json +1 -1
  45. package/adapters/codex/schemas/release-plan.schema.json +43 -5
  46. package/adapters/codex/schemas/release-run.schema.json +35 -1
  47. package/adapters/codex/skills/release-finish/SKILL.md +72 -0
  48. package/adapters/codex/skills/release-verify/SKILL.md +6 -1
  49. package/adapters/codex/src/schemas/filesystem-tree-observation.schema.json +55 -0
  50. package/adapters/codex/src/schemas/host-verification-result.schema.json +2 -2
  51. package/adapters/codex/src/schemas/plugin-verification-request.schema.json +374 -0
  52. package/adapters/codex/src/schemas/plugin-verification-result.schema.json +799 -0
  53. package/adapters/codex/src/schemas/watchdog-termination-envelope.schema.json +16 -0
  54. package/adapters/kimi/.kimi-plugin/plugin.json +1 -1
  55. package/adapters/kimi/bin/error-codes.json +1 -1
  56. package/adapters/kimi/bin/foundation-resource-binding.json +1 -1
  57. package/adapters/kimi/bin/prebuild-manifest.json +8 -4
  58. package/adapters/kimi/bin/prebuilds/darwin-arm64/bound_read.darwin-arm64.node +0 -0
  59. package/adapters/kimi/bin/prebuilds/darwin-x64/bound_read.darwin-x64.node +0 -0
  60. package/adapters/kimi/bin/prebuilds/linux-arm64-gnu/bound_read.linux-arm64-gnu.node +0 -0
  61. package/adapters/kimi/bin/prebuilds/linux-x64-gnu/bound_read.linux-x64-gnu.node +0 -0
  62. package/adapters/kimi/bin/registry.json +22 -1
  63. package/adapters/kimi/bin/release-skill-local-finish.mjs +4 -0
  64. package/adapters/kimi/bin/release-skill.bundle.mjs +7152 -4231
  65. package/adapters/kimi/bin/rules.json +1 -1
  66. package/adapters/kimi/schemas/release-plan.schema.json +43 -5
  67. package/adapters/kimi/schemas/release-run.schema.json +35 -1
  68. package/adapters/kimi/skills/release-finish/SKILL.md +72 -0
  69. package/adapters/kimi/skills/release-verify/SKILL.md +6 -1
  70. package/adapters/kimi/src/schemas/filesystem-tree-observation.schema.json +55 -0
  71. package/adapters/kimi/src/schemas/host-verification-result.schema.json +2 -2
  72. package/adapters/kimi/src/schemas/plugin-verification-request.schema.json +374 -0
  73. package/adapters/kimi/src/schemas/plugin-verification-result.schema.json +799 -0
  74. package/adapters/kimi/src/schemas/watchdog-termination-envelope.schema.json +16 -0
  75. package/adapters/workbuddy/.codebuddy-plugin/plugin.json +1 -1
  76. package/adapters/workbuddy/bin/error-codes.json +1 -1
  77. package/adapters/workbuddy/bin/foundation-resource-binding.json +1 -1
  78. package/adapters/workbuddy/bin/prebuild-manifest.json +8 -4
  79. package/adapters/workbuddy/bin/prebuilds/darwin-arm64/bound_read.darwin-arm64.node +0 -0
  80. package/adapters/workbuddy/bin/prebuilds/darwin-x64/bound_read.darwin-x64.node +0 -0
  81. package/adapters/workbuddy/bin/prebuilds/linux-arm64-gnu/bound_read.linux-arm64-gnu.node +0 -0
  82. package/adapters/workbuddy/bin/prebuilds/linux-x64-gnu/bound_read.linux-x64-gnu.node +0 -0
  83. package/adapters/workbuddy/bin/registry.json +22 -1
  84. package/adapters/workbuddy/bin/release-skill-local-finish.mjs +4 -0
  85. package/adapters/workbuddy/bin/release-skill.bundle.mjs +7152 -4231
  86. package/adapters/workbuddy/bin/rules.json +1 -1
  87. package/adapters/workbuddy/schemas/release-plan.schema.json +43 -5
  88. package/adapters/workbuddy/schemas/release-run.schema.json +35 -1
  89. package/adapters/workbuddy/skills/release-finish/SKILL.md +65 -0
  90. package/adapters/workbuddy/skills/release-verify/SKILL.md +6 -1
  91. package/adapters/workbuddy/src/schemas/filesystem-tree-observation.schema.json +55 -0
  92. package/adapters/workbuddy/src/schemas/host-verification-result.schema.json +2 -2
  93. package/adapters/workbuddy/src/schemas/plugin-verification-request.schema.json +374 -0
  94. package/adapters/workbuddy/src/schemas/plugin-verification-result.schema.json +799 -0
  95. package/adapters/workbuddy/src/schemas/watchdog-termination-envelope.schema.json +16 -0
  96. package/bin/error-codes.json +1 -1
  97. package/bin/foundation-resource-binding.json +1 -1
  98. package/bin/prebuild-manifest.json +8 -4
  99. package/bin/prebuilds/darwin-arm64/bound_read.darwin-arm64.node +0 -0
  100. package/bin/prebuilds/darwin-x64/bound_read.darwin-x64.node +0 -0
  101. package/bin/prebuilds/linux-arm64-gnu/bound_read.linux-arm64-gnu.node +0 -0
  102. package/bin/prebuilds/linux-x64-gnu/bound_read.linux-x64-gnu.node +0 -0
  103. package/bin/registry.json +22 -1
  104. package/bin/release-skill-cli.mjs +126 -1
  105. package/bin/release-skill-local-finish.mjs +4 -0
  106. package/bin/release-skill.bundle.mjs +7152 -4231
  107. package/bin/rules.json +1 -1
  108. package/package.json +4 -4
  109. package/platform-manifest.json +30 -4
  110. package/schemas/release-plan.schema.json +43 -5
  111. package/schemas/release-run.schema.json +35 -1
  112. package/skills/release-finish/SKILL.md +65 -0
  113. package/skills/release-verify/SKILL.md +6 -1
  114. package/skills-src/release-finish/SKILL.md +65 -0
  115. package/skills-src/release-verify/SKILL.md +6 -1
  116. package/src/commands/approve.mjs +14 -2
  117. package/src/commands/distribute.mjs +562 -321
  118. package/src/commands/post-release-local.mjs +611 -0
  119. package/src/commands/postverify.mjs +262 -155
  120. package/src/commands/prepare.mjs +83 -57
  121. package/src/commands/publish.mjs +11 -10
  122. package/src/commands/reconcile.mjs +11 -10
  123. package/src/commands/setup.mjs +26 -13
  124. package/src/commands/ship.mjs +45 -12
  125. package/src/commands/verify.mjs +81 -18
  126. package/src/core/adoption-assessment.mjs +0 -3
  127. package/src/core/approval.mjs +11 -8
  128. package/src/core/foundation-plugin-verification.mjs +247 -0
  129. package/src/core/hooks.mjs +0 -16
  130. package/src/core/plan.mjs +19 -11
  131. package/src/core/postpublish-approval.mjs +12 -2
  132. package/src/core/postpublish-bundle.mjs +51 -13
  133. package/src/core/postpublish.mjs +146 -6
  134. package/src/core/preset-executor.mjs +53 -0
  135. package/src/core/proposal-inbox.mjs +91 -27
  136. package/src/core/recovery.mjs +27 -12
  137. package/src/core/skill-resource-closure.mjs +8 -4
  138. package/src/producers/build-adapters.mjs +10 -1
  139. package/src/producers/foundation-resource-projection.mjs +3 -3
  140. package/src/schemas/filesystem-tree-observation.schema.json +55 -0
  141. package/src/schemas/host-verification-result.schema.json +2 -2
  142. package/src/schemas/plugin-verification-request.schema.json +374 -0
  143. package/src/schemas/plugin-verification-result.schema.json +799 -0
  144. package/src/schemas/watchdog-termination-envelope.schema.json +16 -0
@@ -9,7 +9,7 @@
9
9
  {
10
10
  "name": "release-skill",
11
11
  "source": "./",
12
- "version": "0.8.0",
12
+ "version": "0.9.0",
13
13
  "description": "Safe preparation and frozen GitHub/npm production publishing with full happy end verification",
14
14
  "author": {
15
15
  "name": "广州市风荷科技有限公司"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-skill",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
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.8.0",
3
+ "version": "0.9.0",
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.8.0",
3
+ "version": "0.9.0",
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.8.0.",
22
+ "Prepare a release plan for version 0.9.0.",
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.8.0",
3
+ "version": "0.9.0",
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,25 +1,83 @@
1
1
  # Changelog
2
2
 
3
- <!-- release-skill:changelog:start version=0.8.0 locale=en baseline=sha256:9f03d331f89e4b0f5c3578d853f10e2ee42396ad626540c58ab3bdd48dafac79 -->
3
+ <!-- release-skill:changelog:start version=0.9.0 locale=en baseline=sha256:80f51046ce63386f75ed1a2b869cf3245732e9a1b040e11eb8942dba5f7c8fed -->
4
+ ## [0.9.0] - 2026-08-28
5
+
6
+ 0.9.0 is a local source candidate for multi-unit postPublish plans and optional post-release local finishing. This note records the intended scope and verification boundaries; it is not evidence of publication, consumer-installation verification, or independent acceptance. Release availability must be established from the corresponding release records and post-publish verification results.
7
+
8
+ ### Security
9
+
10
+ - release-finish requires a plan-digest confirmation and a VERIFIED run from the same release lineage before any host command. Host updates use a restricted environment; Claude/Codex exact results are bound to the real installed payload, and every host fails closed when the identity evidence its protocol can provide is insufficient.
11
+
12
+ ### Added
13
+
14
+ - Plan version 3 freezes postPublish declarations per release unit as an ordered array. Each declaration carries its own targets, hooks, approval binding, execution bundle, checkpoints, and postVerify continuation while explicit plan versions 1 and 2 retain their established single-declaration behavior.
15
+ - A new release-finish workflow derives a read-only local checklist from the frozen plan and VERIFIED run. After explicit user confirmation it can update Claude and Codex, drive the Kimi TUI and verify the resulting installation, or confirm that CodeBuddy/WorkBuddy already matches the frozen identity; CodeBuddy/WorkBuddy updates that cannot pin the frozen ref remain manual. None of these local actions changes the published release terminal state.
16
+
17
+ ### Changed
18
+
19
+ - The distribute and postVerify phases preflight every declaration before the first external write, then re-observe mutable remote proposal state during execution. Checkpoint identifiers are namespaced by release unit, and an earlier hook failure skips all later-unit work.
20
+ - PostPublish hook identifiers are unique across the complete plan. Prepare, setup, approval, distribute, and postVerify consume the same validation rule before side effects.
21
+
22
+ ### Fixed
23
+
24
+ - Prevent a later unit's missing bundle or deterministic proposal conflict from being discovered only after an earlier unit has already written remotely.
25
+ - Preserve PARTIAL when a checkpoint has succeeded before a later failure, and preserve BLOCKED when no external checkpoint succeeded.
26
+ - Prevent duplicate target names and duplicate hook identifiers from collapsing evidence or approval identity across release units.
27
+
28
+ ### Upgrade Notes
29
+
30
+ Prepare a new 0.9.0 plan to use plan version 3; do not edit or upgrade frozen older plans. Plan versions 1 and 2 remain readable only through their explicit compatibility path. release-finish is optional local follow-up, not publication evidence: branch merges, Kimi trust prompts, and local host changes still require explicit user consent, and unsupported exact-ref updates remain manual. Hook cache v2, safe full-tree inventory, the Audit offline release-record verifier, and mandatory public-marketplace host invocation gates remain outside this version.
31
+ <!-- release-skill:changelog:end version=0.9.0 locale=en -->
32
+
33
+
34
+ <!-- release-skill:changelog:start version=0.8.1 locale=en baseline=sha256:c1dcef984b85d6da26cba7f15225d03f1cbaedc510a7c63149306d49a2c5532e -->
35
+ ## [0.8.1] - 2026-08-27
36
+
37
+ 0.8.1 is a local source candidate. This note records its intended scope and verification boundaries; it is not evidence of publication, consumer-installation verification, or independent acceptance. Release availability must be established from the corresponding release records and post-publish verification results. The fresh 0.8.1 coordinate avoids overwriting the different public bytes already published as v0.8.0.
38
+
39
+ ### Security
40
+
41
+ - The occupied v0.8.0 tag and npm coordinate are not overwritten or reused. v0.8.1 receives a newly frozen plan, approval, tag, package, release, and post-publish verification lineage.
42
+
43
+ ### Changed
44
+
45
+ - Pin all three Foundation dependencies to released 0.13.0 packages. Packaging uses the existing generators for runtime resources, native files, legal materials, host profiles, and plugin-verification contracts.
46
+ - Reuse Foundation runPluginVerification for complete local payload observation of frozen Kimi and CodeBuddy bundled-family plugins. CodeBuddy maps to Foundation's compatible workbuddy host. Marketplace installation and host invocation remain explicit manual follow-ups; Foundation observations do not replace release-domain gates or three-role README acceptance.
47
+ - Evidence v2 closes the top level and stores phase extensions in typed details. Evidence v1 remains read-only. Summaries, producer versions, and recovery suggestions are diagnostic, never publication authority.
48
+
49
+ ### Fixed
50
+
51
+ - Config branch A keeps zero external actions and no sourceAuthority, even with a configured public source receipt. Production branch B and docs production freeze plan.sourceAuthority and retain remote consistency checks. Marketplace delegation is unchanged.
52
+ - Fixes cover installed host surfaces, release-run lineage, Git hooks in frozen checkouts, pure configuration checks before long hooks, and adoption assessment. Focused self-tests verify their stated cases but do not establish publication, consumer installation, or independent candidate acceptance.
53
+ - FAILED summaries, compatibility details, and returned errors now project the same domain recovery result when current-run evidence is available. Existing fallbacks, unknown without evidence, and successful verify null suggestions remain unchanged.
54
+
55
+ ### Upgrade Notes
56
+
57
+ Old production plans missing sourceAuthority and checker v4 plans must not be silently upgraded; when no external writes occurred, prepare again and approve the new digest. Do not migrate old approvals or evidence. Preserve existing PARTIAL checkpoints and use matching-version recovery. Hook cache v1 is unchanged; old full-test evidence is not imported. R-02 safe full-tree inventory, R-05 Hook cache v2, R-10 implementation, real Kimi/WorkBuddy public-marketplace installation and invocation gates, and the Audit public offline release-record verifier are excluded.
58
+ <!-- release-skill:changelog:end version=0.8.1 locale=en -->
59
+
60
+
61
+ <!-- release-skill:changelog:start version=0.8.0 locale=en baseline=sha256:3c6e847e287cd7d0f56929466bd7e71c1da208c53063a04f94c81fa6804217a9 -->
4
62
  ## [0.8.0] - 2026-08-26
5
63
 
6
- The local 0.8.0 candidate completed independent acceptance on 2026-08-26. This summary records version scope and verification boundaries; it is not a publication record or a consumer upgrade instruction. Local acceptance does not establish remote publication or consumer-installation verification. Release availability must be established from the corresponding release records and post-publish verification results.
64
+ 0.8.0 is a local source candidate. This note records its intended scope and verification boundaries; it is not evidence of publication, consumer-installation verification, or independent acceptance. Release availability must be established from the corresponding release records and post-publish verification results.
7
65
 
8
66
  ### Changed
9
67
 
10
- - Pin all three Foundation dependencies to released 0.12.0 packages. Packaging uses the existing generators for runtime resources, native files, and legal materials. The generated outputs were included in local independent acceptance, limited to the accepted inputs and environment.
11
- - Reuse existing Foundation APIs for ship state writes, baseline configuration replacement, temporary workspaces, and README result reads and digests. This removes duplicated mechanisms; Harness source is unchanged between 0.11.0 and 0.12.0. Candidate host verification does not replace production gates or the three-role README acceptance.
68
+ - Pin all three Foundation dependencies to released 0.13.0 packages. Packaging uses the existing generators for runtime resources, native files, legal materials, host profiles, and plugin-verification contracts.
69
+ - Reuse Foundation runPluginVerification for complete local payload observation of frozen Kimi and CodeBuddy bundled-family plugins. CodeBuddy maps to Foundation's compatible workbuddy host. Marketplace installation and host invocation remain explicit manual follow-ups; Foundation observations do not replace release-domain gates or three-role README acceptance.
12
70
  - Evidence v2 closes the top level and stores phase extensions in typed details. Evidence v1 remains read-only. Summaries, producer versions, and recovery suggestions are diagnostic, never publication authority.
13
71
 
14
72
  ### Fixed
15
73
 
16
74
  - Config branch A keeps zero external actions and no sourceAuthority, even with a configured public source receipt. Production branch B and docs production freeze plan.sourceAuthority and retain remote consistency checks. Marketplace delegation is unchanged.
17
- - Fixes cover installed host surfaces, release-run lineage, Git hooks in frozen checkouts, pure configuration checks before long hooks, and adoption assessment. These fixes were included in local independent acceptance, limited to the accepted inputs and environment. Focused self-tests do not establish candidate acceptance.
18
- - FAILED summaries, compatibility details, and returned errors now project the same domain recovery result when current-run evidence is available. Existing fallbacks, unknown without evidence, and successful verify null suggestions remain unchanged. These fixes were included in local independent acceptance, limited to the accepted inputs and environment.
75
+ - Fixes cover installed host surfaces, release-run lineage, Git hooks in frozen checkouts, pure configuration checks before long hooks, and adoption assessment. Focused self-tests verify their stated cases but do not establish publication, consumer installation, or independent candidate acceptance.
76
+ - FAILED summaries, compatibility details, and returned errors now project the same domain recovery result when current-run evidence is available. Existing fallbacks, unknown without evidence, and successful verify null suggestions remain unchanged.
19
77
 
20
78
  ### Upgrade Notes
21
79
 
22
- Old production plans missing sourceAuthority and checker v4 plans must not be silently upgraded; when no external writes occurred, prepare again and approve the new digest. Do not migrate old approvals or evidence. Preserve existing PARTIAL checkpoints and use matching-version recovery. Hook cache v1 is unchanged; old full-test evidence is not imported. R-02 safe full-tree inventory, R-05 Hook cache v2, R-10 implementation, real Kimi/WorkBuddy production gates, and the Audit public offline release-record verifier are excluded.
80
+ Old production plans missing sourceAuthority and checker v4 plans must not be silently upgraded; when no external writes occurred, prepare again and approve the new digest. Do not migrate old approvals or evidence. Preserve existing PARTIAL checkpoints and use matching-version recovery. Hook cache v1 is unchanged; old full-test evidence is not imported. R-02 safe full-tree inventory, R-05 Hook cache v2, R-10 implementation, real Kimi/WorkBuddy public-marketplace installation and invocation gates, and the Audit public offline release-record verifier are excluded.
23
81
  <!-- release-skill:changelog:end version=0.8.0 locale=en -->
24
82
 
25
83
 
package/INSTALL.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [简体中文](INSTALL.zh-CN.md)
4
4
 
5
- <!-- release-skill:release-version: 0.8.0 -->
5
+ <!-- release-skill:release-version: 0.9.0 -->
6
6
  ## Prerequisites
7
7
 
8
8
  - Node.js 22.0.0 or later
@@ -114,10 +114,16 @@ tag pinned to the exact version (never the bare repository URL, which installs
114
114
  the latest release or default branch), confirm the trust prompt, then reload:
115
115
 
116
116
  ```
117
- /plugins install https://github.com/ifoohoo/release-skill/releases/tag/release-skill-v0.8.0
117
+ /plugins install https://github.com/ifoohoo/release-skill/releases/tag/release-skill-v0.9.0
118
118
  /plugins reload
119
119
  ```
120
120
 
121
+ After the release has reached `VERIFIED`, the optional `release-finish` workflow
122
+ can perform the same TUI interaction only after explicit user confirmation. It
123
+ then re-reads Kimi's managed installation root and requires the version, tag,
124
+ revision, and Git commit to match the frozen plan. This local check is not part
125
+ of `verify` and does not alter the `VERIFIED` release state.
126
+
121
127
  No receipt or attestation is required. The `attest` command remains available
122
128
  only for frozen plans created by older versions that lack the
123
129
  `humanConsumersStrategy: manualFollowUps` marker.
@@ -145,6 +151,12 @@ reports `verifiedBySystem: false`. Install from the bundled-family marketplace
145
151
  `ifoohoo/release-skill` after publishing. No receipt or attestation is required
146
152
  for new plans; `attest` exists only for old frozen-plan compatibility.
147
153
 
154
+ The optional `release-finish` workflow can inspect the CodeBuddy/WorkBuddy list
155
+ after explicit confirmation. It reports `ALREADY_CURRENT` only when the listed
156
+ marketplace, version, and frozen commit all match. Because the CLI cannot pin a
157
+ ref, a mismatch remains `MANUAL_REQUIRED`; release-finish does not update to an
158
+ unbound latest version.
159
+
148
160
  For a single session from a source checkout you can also point CodeBuddy at the
149
161
  generated plugin directory with `--plugin-dir <path>/adapters/workbuddy`; the
150
162
  adapter never references files outside its own directory.
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.8.0 -->
5
+ <!-- release-skill:release-version: 0.9.0 -->
6
6
  ## 前置条件
7
7
 
8
8
  - Node.js 22.0.0 或更高版本
@@ -104,10 +104,15 @@ Kimi Code 有交互式插件市场,但**没有可脚本化的非交互安装
104
104
  (切勿使用裸仓库地址,它会安装最新 release 或默认分支),确认信任提示后重新加载:
105
105
 
106
106
  ```
107
- /plugins install https://github.com/ifoohoo/release-skill/releases/tag/release-skill-v0.8.0
107
+ /plugins install https://github.com/ifoohoo/release-skill/releases/tag/release-skill-v0.9.0
108
108
  /plugins reload
109
109
  ```
110
110
 
111
+ 发布达到 `VERIFIED` 后,可选的 `release-finish` 工作流可以在用户明确同意后执行
112
+ 同一套 TUI 操作。随后它会重新读取 Kimi 的受管安装根,并要求版本、标签、修订号和
113
+ Git 提交与冻结计划一致。这个本机检查不属于 `verify`,也不会改变已经完成的
114
+ `VERIFIED` 发布状态。
115
+
111
116
  新计划无需收据或人工证明。`attest` 命令仅兼容缺少
112
117
  `humanConsumersStrategy: manualFollowUps` 标记的旧冻结计划。
113
118
 
@@ -129,6 +134,11 @@ codebuddy CLI 可以添加市场并安装插件,但 **`plugin marketplace add`
129
134
  不检查安装并返回 `verifiedBySystem: false`。发布后从 bundled-family 市场
130
135
  `ifoohoo/release-skill` 安装即可。新计划无需收据或人工证明;`attest` 只兼容旧冻结计划。
131
136
 
137
+ 可选的 `release-finish` 工作流会在用户明确同意后读取 CodeBuddy/WorkBuddy 的安装
138
+ 列表。只有市场、版本和冻结提交全部一致时才报告 `ALREADY_CURRENT`。由于 CLI 无法
139
+ 钉死 ref,不匹配时仍返回 `MANUAL_REQUIRED`;release-finish 不会改装到一个未绑定的
140
+ latest 版本。
141
+
132
142
  源码检出后也可以用 `--plugin-dir <path>/adapters/workbuddy` 把 CodeBuddy 指向
133
143
  生成的插件目录做单会话使用;适配器不引用自身目录之外的任何文件。
134
144
 
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.8.0 -->
5
+ <!-- release-skill:release-version: 0.9.0 -->
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,31 +14,39 @@ 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.8.0** (2026-08-26)
17
+ **0.9.0** (2026-08-28)
18
18
 
19
- The local 0.8.0 candidate completed independent acceptance on 2026-08-26. This summary records version scope and verification boundaries; it is not a publication record or a consumer upgrade instruction. Local acceptance does not establish remote publication or consumer-installation verification. Release availability must be established from the corresponding release records and post-publish verification results.
19
+ 0.9.0 is a local source candidate for multi-unit postPublish plans and optional post-release local finishing. This note records the intended scope and verification boundaries; it is not evidence of publication, consumer-installation verification, or independent acceptance. Release availability must be established from the corresponding release records and post-publish verification results.
20
+
21
+ **Security**
22
+
23
+ - release-finish requires a plan-digest confirmation and a VERIFIED run from the same release lineage before any host command. Host updates use a restricted environment; Claude/Codex exact results are bound to the real installed payload, and every host fails closed when the identity evidence its protocol can provide is insufficient.
24
+
25
+ **Added**
26
+
27
+ - Plan version 3 freezes postPublish declarations per release unit as an ordered array. Each declaration carries its own targets, hooks, approval binding, execution bundle, checkpoints, and postVerify continuation while explicit plan versions 1 and 2 retain their established single-declaration behavior.
28
+ - A new release-finish workflow derives a read-only local checklist from the frozen plan and VERIFIED run. After explicit user confirmation it can update Claude and Codex, drive the Kimi TUI and verify the resulting installation, or confirm that CodeBuddy/WorkBuddy already matches the frozen identity; CodeBuddy/WorkBuddy updates that cannot pin the frozen ref remain manual. None of these local actions changes the published release terminal state.
20
29
 
21
30
  **Changed**
22
31
 
23
- - Pin all three Foundation dependencies to released 0.12.0 packages. Packaging uses the existing generators for runtime resources, native files, and legal materials. The generated outputs were included in local independent acceptance, limited to the accepted inputs and environment.
24
- - Reuse existing Foundation APIs for ship state writes, baseline configuration replacement, temporary workspaces, and README result reads and digests. This removes duplicated mechanisms; Harness source is unchanged between 0.11.0 and 0.12.0. Candidate host verification does not replace production gates or the three-role README acceptance.
25
- - Evidence v2 closes the top level and stores phase extensions in typed details. Evidence v1 remains read-only. Summaries, producer versions, and recovery suggestions are diagnostic, never publication authority.
32
+ - The distribute and postVerify phases preflight every declaration before the first external write, then re-observe mutable remote proposal state during execution. Checkpoint identifiers are namespaced by release unit, and an earlier hook failure skips all later-unit work.
33
+ - PostPublish hook identifiers are unique across the complete plan. Prepare, setup, approval, distribute, and postVerify consume the same validation rule before side effects.
26
34
 
27
35
  **Fixed**
28
36
 
29
- - Config branch A keeps zero external actions and no sourceAuthority, even with a configured public source receipt. Production branch B and docs production freeze plan.sourceAuthority and retain remote consistency checks. Marketplace delegation is unchanged.
30
- - Fixes cover installed host surfaces, release-run lineage, Git hooks in frozen checkouts, pure configuration checks before long hooks, and adoption assessment. These fixes were included in local independent acceptance, limited to the accepted inputs and environment. Focused self-tests do not establish candidate acceptance.
31
- - FAILED summaries, compatibility details, and returned errors now project the same domain recovery result when current-run evidence is available. Existing fallbacks, unknown without evidence, and successful verify null suggestions remain unchanged. These fixes were included in local independent acceptance, limited to the accepted inputs and environment.
37
+ - Prevent a later unit's missing bundle or deterministic proposal conflict from being discovered only after an earlier unit has already written remotely.
38
+ - Preserve PARTIAL when a checkpoint has succeeded before a later failure, and preserve BLOCKED when no external checkpoint succeeded.
39
+ - Prevent duplicate target names and duplicate hook identifiers from collapsing evidence or approval identity across release units.
32
40
 
33
41
  **Upgrade Notes**
34
42
 
35
- Old production plans missing sourceAuthority and checker v4 plans must not be silently upgraded; when no external writes occurred, prepare again and approve the new digest. Do not migrate old approvals or evidence. Preserve existing PARTIAL checkpoints and use matching-version recovery. Hook cache v1 is unchanged; old full-test evidence is not imported. R-02 safe full-tree inventory, R-05 Hook cache v2, R-10 implementation, real Kimi/WorkBuddy production gates, and the Audit public offline release-record verifier are excluded.
43
+ Prepare a new 0.9.0 plan to use plan version 3; do not edit or upgrade frozen older plans. Plan versions 1 and 2 remain readable only through their explicit compatibility path. release-finish is optional local follow-up, not publication evidence: branch merges, Kimi trust prompts, and local host changes still require explicit user consent, and unsupported exact-ref updates remain manual. Hook cache v2, safe full-tree inventory, the Audit offline release-record verifier, and mandatory public-marketplace host invocation gates remain outside this version.
36
44
  <!-- release-skill:managed:end id=latest-release -->
37
45
 
38
46
  <!-- release-skill:capability:external-write-boundary -->
39
- > **Current boundary:** v0.8.0 is the current source candidate. It completed independent
40
- > local acceptance on 2026-08-26, limited to the accepted inputs and environment. Local acceptance
41
- > does not establish remote publication or consumer-installation verification.
47
+ > **Current boundary:** v0.9.0 is the current source candidate. This README
48
+ > records intended scope and verification boundaries; it is not evidence of
49
+ > publication, consumer-installation verification, or independent acceptance.
42
50
  > Release availability must be established from the corresponding release records
43
51
  > and post-publish verification results.
44
52
  > v0.4.1 was an earlier published milestone;
@@ -60,9 +68,9 @@ Old production plans missing sourceAuthority and checker v4 plans must not be si
60
68
  > publish global preflight.
61
69
 
62
70
  <!-- release-skill:capability:safe-first-command -->
63
- > **Production path verified since the v0.1.1 milestone; v0.8.0 is the current
64
- > source candidate. Its local acceptance does not establish remote publication
65
- > or consumer-installation verification.**
71
+ > **Production path verified since the v0.1.1 milestone; v0.9.0 is the current
72
+ > source candidate. Its README does not establish publication,
73
+ > consumer-installation verification, or independent acceptance.**
66
74
  > The npm-installed CLI is the supported user entry. Source checkout
67
75
  > is the development/contributor fallback.
68
76
  >
@@ -91,16 +99,16 @@ Summaries and recovery suggestions are diagnostic, never publication authority.
91
99
 
92
100
  This version excludes R-02 safe full-tree inventory, R-05 Hook cache v2,
93
101
  R-10 historical-release verification implementation, real Kimi/WorkBuddy
94
- production gates, and an Audit public offline release-record verifier.
95
- Foundation dependencies are pinned to the three released 0.12.0 packages.
96
- State writes, baseline replacement, temporary workspaces, and README result
97
- reads and digests reuse existing Foundation APIs. Harness source is unchanged
98
- between 0.11.0 and 0.12.0; candidate host verification does not replace
99
- production gates or three-role README acceptance.
100
- Foundation's candidate `runHostVerification` and `verifyHostVerificationBindings`
101
- APIs do not decide domain PASS/FAIL, isolate authentication, freeze model identity,
102
- or disable host tools. The executable digest is only a pre-launch observation;
103
- member snapshots cover only declared members at the two observation times.
102
+ public-marketplace installation and invocation gates, and an Audit public
103
+ offline release-record verifier.
104
+ Foundation dependencies are pinned to the three released 0.13.0 packages.
105
+ For new bundled-family Kimi/CodeBuddy plans, verify calls the released
106
+ `runPluginVerification` entry with the complete frozen payload and records a
107
+ minimal `install-only` observation receipt. Kimi maps to `kimi-code`; CodeBuddy
108
+ maps to the compatible `workbuddy` host. `observed` and `payloadMatches` are
109
+ mechanism facts, not remote publication or release-domain VERIFIED facts.
110
+ Standalone marketplace sources, real marketplace installation, and host
111
+ invocation remain manual follow-ups.
104
112
  This scope summary is not a remote publication record or a consumer upgrade instruction.
105
113
 
106
114
  <!-- release-skill:maturity:distribute-v1 -->
@@ -165,7 +173,9 @@ This scope summary is not a remote publication record or a consumer upgrade inst
165
173
  > audited and explicitly acknowledged. Production publishing uses
166
174
  > `ship --target-version <ver> → ship --approve --actor <name>`.
167
175
  > The `ship` command runs hooks and gates automatically; the only human gate is plan approval.
168
- > Kimi/CodeBuddy installations are non-blocking manual follow-up tasks (not verified by system).
176
+ > For bundled-family Kimi/CodeBuddy releases, Foundation first observes the
177
+ > complete frozen payload in a fresh local installation. Real marketplace
178
+ > installation and host invocation remain non-blocking manual follow-up tasks.
169
179
 
170
180
  ## Table of contents
171
181
 
@@ -222,7 +232,9 @@ See [INSTALL.md](INSTALL.md) for CodeBuddy, Codex, and Kimi Code commands.
222
232
  For routine releases, use the durable fast path. It persists authoritative
223
233
  paths and resumes safely, so a normal run needs at most one human gate: the
224
234
  frozen plan approval. `ship` runs configured hooks and verification gates
225
- automatically. Kimi/CodeBuddy installations are non-blocking post-release
235
+ automatically. For bundled-family Kimi/CodeBuddy releases, Foundation first
236
+ observes the complete frozen payload in a fresh local installation. Real
237
+ marketplace installation and host invocation remain non-blocking post-release
226
238
  manual tasks; the system does not verify their completion.
227
239
 
228
240
  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).
@@ -716,6 +728,13 @@ verification is automated. Kimi Code and CodeBuddy/WorkBuddy are returned as
716
728
  `manualFollowUps` with `verifiedBySystem: false`; their completion is not a
717
729
  condition for the automated release to reach `VERIFIED`.
718
730
 
731
+ After `VERIFIED`, the optional `release-finish` workflow can update Claude and
732
+ Codex from the frozen marketplace identity, drive Kimi's TUI and re-check its
733
+ managed installation, or confirm an already exact CodeBuddy/WorkBuddy entry.
734
+ It requires explicit user confirmation, does not change release status, and
735
+ leaves CodeBuddy/WorkBuddy mismatches for manual handling because that CLI
736
+ cannot pin the frozen ref.
737
+
719
738
  A `codebuddy-plugin` distribution may optionally declare `marketplace` (and
720
739
  `marketplaceSource`, the URL consumers use to add the marketplace) to override
721
740
  the default unified marketplace `artifact-skill-set`; undeclared distributions
@@ -741,9 +760,10 @@ declaration is narrowed to concrete targets.
741
760
  - no overwrite of branches/tags/releases or npm unpublish; create-only refs use
742
761
  `--force-with-lease=<ref>:` solely as an atomic compare-and-set assertion that
743
762
  the ref is absent, while existing branches use an ordinary non-force push;
744
- - no automated Kimi or CodeBuddy/WorkBuddy marketplace install checkpoint
745
- these installations remain explicit post-release team tasks and the system
746
- does not verify their completion;
763
+ - no Kimi or CodeBuddy/WorkBuddy marketplace install checkpoint in the release
764
+ state machine optional release-finish can drive and re-check Kimi locally,
765
+ or confirm an already exact CodeBuddy/WorkBuddy entry, but those results do
766
+ not become publication evidence;
747
767
  - no promise of Windows or broad multi-platform native write support;
748
768
  - no hidden commit, push, tag, release, or package publication.
749
769
 
package/README.zh-CN.md CHANGED
@@ -2,36 +2,44 @@
2
2
 
3
3
  [English](README.md) · 安装指南:[中文](INSTALL.zh-CN.md) / [English](INSTALL.md)
4
4
 
5
- <!-- release-skill:release-version: 0.8.0 -->
5
+ <!-- release-skill:release-version: 0.9.0 -->
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.8.0** (2026-08-26)
11
+ **0.9.0** (2026-08-28)
12
12
 
13
- 0.8.0 的本地候选于 2026-08-26 完成独立验收。本说明记录版本范围与验证边界,不构成远端发布记录或消费者升级指引。本地验收不证明对应版本已完成远端发布或消费者安装验证;版本可用性以对应发布记录及发布后验证结果为准。
13
+ 0.9.0 是多发布单元 postPublish 计划和可选发布后本机收尾能力的本地源码候选。本说明记录预期范围与验证边界,不代表已经发布、完成消费者安装验证或通过独立验收。版本是否可用,须以对应的生产发布记录和发布后验证结果为准。
14
+
15
+ **安全**
16
+
17
+ - release-finish 在执行宿主命令前,要求确认计划摘要,并核对同一发布血缘的 VERIFIED run。宿主更新只传入受限环境;Claude/Codex 的精确结果绑定真实安装载荷,各宿主在自身协议能够提供的身份依据不足时都会失败关闭。
18
+
19
+ **新增**
20
+
21
+ - 计划版本 3 按发布单元冻结有序的 postPublish 声明数组。每项声明分别绑定目标、Hook、批准、执行包、检查点和 postVerify 后续动作;显式的计划版本 1、2 继续保持既有单声明语义。
22
+ - 新增 release-finish 工作流。它从冻结计划和同一血缘的 VERIFIED run 派生只读本机收尾清单;用户明确同意后,可更新 Claude 和 Codex、驱动 Kimi TUI 并复验安装结果,或确认 CodeBuddy/WorkBuddy 已经精确匹配冻结身份。CodeBuddy/WorkBuddy 无法钉死冻结 ref 时仍转人工处理;这些本机动作都不改变已经完成的发布终态。
14
23
 
15
24
  **变更**
16
25
 
17
- - Foundation 三包精确依赖已发布的 0.12.0。打包通过既有生成器携带运行资源、原生文件和法律材料。生成物已纳入本地独立验收,结论限于已验收的输入与环境。
18
- - ship 状态写入、基线配置替换、临时工作区及 README 结果读取和摘要计算改用 Foundation 既有 API,删除重复机制。Harness 的 0.11.0 与 0.12.0 源码相同。候选宿主验证不能替代生产门禁或 README 三角色验收。
19
- - evidence v2 顶层封闭,阶段扩展进入受类型约束的 details;evidence v1 保持只读。摘要、生产者版本和恢复建议只作诊断,不构成发布权威。
26
+ - distribute postVerify 在首次外部写入前预检全部声明,执行时重新观察可能变化的远端 proposal 状态。检查点 ID 按发布单元区分;前一项 Hook 失败后,后续单元全部跳过。
27
+ - 整份计划中的 postPublish Hook ID 必须唯一。prepare、setup、批准、distribute postVerify 在副作用发生前复用同一条校验规则。
20
28
 
21
29
  **修复**
22
30
 
23
- - config 场景 A 保持零外部动作、不生成 sourceAuthority,即使配置了公开来源收据也不例外。production 场景 B 与 docs production 冻结 plan.sourceAuthority,保留远端一致性检查。marketplace 委托发布的边界不变。
24
- - 修复覆盖实际安装宿主表面、发布运行血缘、冻结副本中的 Git Hook、长 Hook 前纯配置检查和接入评估。这些修复已纳入本地独立验收,结论限于已验收的输入与环境。聚焦自测不代表候选验收通过。
25
- - 有本次证据时,FAILED 摘要、兼容 details 与返回错误已接齐同一次领域恢复计算结果。既有回退、无证据时的 unknown 和成功 verify 的 null 建议保持不变。这些修复已纳入本地独立验收,结论限于已验收的输入与环境。
31
+ - 修复后续单元缺执行包或存在确定性 proposal 冲突时,前序单元已经写入远端的问题。
32
+ - 任一检查点成功后发生后续失败时保留 PARTIAL;没有外部检查点成功时保持 BLOCKED。
33
+ - 避免不同发布单元使用同名 target 或重复 Hook ID 时,证据与批准身份发生碰撞。
26
34
 
27
35
  **升级说明**
28
36
 
29
- sourceAuthority 的旧 production 计划和 checker v4 计划不得静默升级;未发生外部写入时须重新 prepare 并批准新摘要,不迁移旧批准或证据。已有 PARTIAL 保留检查点,走匹配版本的恢复路径。Hook cache v1 不变,不导入旧 full-test 证据。本版不包含 R-02 安全整树盘点、R-05 Hook cache v2、R-10 产品实现、真实 Kimi/WorkBuddy production 门禁或 Audit 公开离线发布记录验证器。
37
+ 使用计划版本 3 时须重新生成 0.9.0 计划,禁止修改或升级已经冻结的旧计划。计划版本 1、2 只通过显式兼容路径读取。release-finish 是可选的本机后续动作,不构成发布证据:分支合并、Kimi 信任提示和本机宿主修改仍须用户明确同意;宿主不支持精确 ref 更新时继续转人工处理。本版不包含 Hook cache v2、安全整树盘点、Audit 离线发布记录验证器或强制的公开市场宿主调用门禁。
30
38
  <!-- release-skill:managed:end id=latest-release -->
31
39
 
32
40
  <!-- release-skill:capability:external-write-boundary -->
33
- > **当前边界:** v0.8.0 是当前源码候选,已于 2026-08-26 完成本地独立验收。
34
- > 结论限于已验收的输入与环境;本地验收不证明对应版本已完成远端发布或消费者安装验证。
41
+ > **当前边界:** v0.9.0 只是当前源码候选。本 README 记录预期范围与验证边界,
42
+ > 不代表已经发布、完成消费者安装验证或通过独立验收。
35
43
  > 版本可用性以对应发布记录及发布后验证结果为准。
36
44
  > v0.4.1 是更早的已发布里程碑(v0.2.2 曾处于已发布状态,后因平台验证收敛修复而更新)。
37
45
  > v0.1.1 已完成 GitHub 与 npm 的
@@ -46,7 +54,7 @@ release-skill 帮助维护者回答三个问题:准备发布什么、还有哪
46
54
  > 远端唯一性检查在 `publish` 全局预检执行。
47
55
 
48
56
  <!-- release-skill:capability:safe-first-command -->
49
- > **生产路径自 v0.1.1 里程碑起已完成真实生产验证;v0.8.0 是当前源码候选,本地验收不证明对应版本已完成远端发布或消费者安装验证。**
57
+ > **生产路径自 v0.1.1 里程碑起已完成真实生产验证;v0.9.0 是当前源码候选,本 README 不证明该候选已经发布、完成消费者安装验证或通过独立验收。**
50
58
  > npm 安装的 CLI 是受支持的用户入口;源码 checkout 保留为开发/贡献者路径。
51
59
  >
52
60
  > **第一条命令:**
@@ -64,11 +72,9 @@ marketplace 委托目标工作区发布的边界不变。
64
72
 
65
73
  旧 production 计划缺少 `sourceAuthority` 时,在外部写入前拒绝。未发生外部写入的计划必须重新 prepare 并批准新摘要,不能补写旧计划或迁移批准。已有 `PARTIAL` 保留检查点,走匹配版本的恢复路径。evidence v1 只读;v2 顶层封闭,阶段扩展放在 `details`。摘要和恢复建议只作诊断,不构成发布权威。
66
74
 
67
- 本版不包含 R-02 安全整树盘点、R-05 Hook cache v2、R-10 历史发布验证的产品实现、真实 Kimi/WorkBuddy production 门禁或 Audit 公开离线发布记录验证器。本范围说明不构成远端发布记录或消费者升级指引。
68
-
69
- Foundation 三包精确依赖已发布的 0.12.0。状态写入、基线替换、临时工作区及 README 结果读取和摘要计算复用 Foundation 既有 API。Harness 的 0.11.0 与 0.12.0 源码相同;候选宿主验证不能替代生产门禁或 README 三角色验收。
75
+ 本版不包含 R-02 安全整树盘点、R-05 Hook cache v2、R-10 历史发布验证的产品实现、真实 Kimi/WorkBuddy 公开市场安装与调用门禁或 Audit 公开离线发布记录验证器。本范围说明不构成远端发布记录或消费者升级指引。
70
76
 
71
- Foundation 的候选接口 `runHostVerification` `verifyHostVerificationBindings` 不决定领域 PASS/FAIL,也不隔离认证、冻结模型身份或禁用宿主工具。可执行文件摘要只记录启动前的观察;成员快照只覆盖两次观察时声明的成员。
77
+ Foundation 三包精确依赖已发布的 0.13.0。新生成的 Kimi/CodeBuddy 同仓计划在 verify 阶段调用正式 `runPluginVerification`,把完整冻结载荷交给 Foundation,并记录最小的 `install-only` 观察收据。Kimi 映射为 `kimi-code`,CodeBuddy 映射为兼容的 `workbuddy`。`observed` `payloadMatches` 只表示机制观察结果,不代表远端已发布或 release-skill 已完成领域验证。独立市场来源、真实市场安装和宿主调用仍是人工后续任务。
72
78
 
73
79
  <!-- release-skill:maturity:distribute-v1 -->
74
80
  <!-- release-skill:capability:distribute -->
@@ -123,7 +129,8 @@ Foundation 的候选接口 `runHostVerification` 和 `verifyHostVerificationBind
123
129
  > 显式确认其副作用时,才可以把 `prepare` 视为”仅本地”。生产发布使用
124
130
  > `ship --target-version <ver> → ship --approve --actor <name>`。
125
131
  > `ship` 自动执行 hooks 和门禁,唯一的人工门禁是计划批准。
126
- > Kimi/CodeBuddy 安装是非阻塞的人工后续任务(系统不核验)。
132
+ > Kimi/CodeBuddy 的同仓发布先由 Foundation 在新鲜本地目录观察完整冻结载荷。
133
+ > 真实市场安装和宿主调用仍是非阻塞的人工后续任务。
127
134
 
128
135
  ## 目录
129
136
 
@@ -179,7 +186,8 @@ CodeBuddy、Codex 和 Kimi Code 的完整命令见 [INSTALL.zh-CN.md](INSTALL.zh
179
186
 
180
187
  日常发布优先使用可恢复的快速路径。它会持久化所有权威文件路径,正常流程只需
181
188
  一次可读的冻结计划批准。`ship` 自动执行配置中的 hooks 和验证门禁,不进入
182
- hook 授权等待态。Kimi/CodeBuddy 安装是发布完成后的非阻塞人工后续任务,
189
+ hook 授权等待态。Kimi/CodeBuddy 的同仓发布先由 Foundation 在新鲜本地目录
190
+ 观察完整冻结载荷。真实市场安装和宿主调用仍是发布完成后的非阻塞人工后续任务,
183
191
  系统不核验其完成结果。
184
192
 
185
193
  发布计划是供批准前审阅的记录,将目标版本、冻结产物和拟执行的外部动作关联起来;详见[人工审阅与批准步骤](#release-plan-review)。
@@ -612,6 +620,11 @@ release-skill ship --root "$PROJECT" --hook-approval "$HOOK_APPROVAL_PATH" --jso
612
620
 
613
621
  每个适配器闭包都自带 CLI、skills 和 schemas 副本,安装后无需外部依赖即可运行。Claude/Codex 验证是自动化的;Kimi Code 和 CodeBuddy/WorkBuddy 以 `manualFollowUps` 返回并标记 `verifiedBySystem: false`,其完成情况不阻塞自动发布进入 `VERIFIED`。
614
622
 
623
+ 发布达到 `VERIFIED` 后,可选的 `release-finish` 工作流可以按冻结市场身份更新 Claude
624
+ 和 Codex、驱动 Kimi TUI 并复查受管安装,或确认 CodeBuddy/WorkBuddy 已经精确匹配。
625
+ 它要求用户明确同意,不改变发布状态;由于 CodeBuddy/WorkBuddy CLI 无法钉死冻结
626
+ ref,不匹配时仍转人工处理。
627
+
615
628
  `codebuddy-plugin` 分发可以可选地声明 `marketplace`(以及 `marketplaceSource`,即消费者添加市场所用的 URL)来覆盖默认统一市场 `artifact-skill-set`;未声明的分发保持默认值,冻结计划字节不变。
616
629
 
617
630
  每个 npm 分发在 `prepare` 时都会针对精确封装的 tarball 静态校验
@@ -628,7 +641,7 @@ release-skill ship --root "$PROJECT" --hook-approval "$HOOK_APPROVAL_PATH" --jso
628
641
  - 不声称已经替项目完成真实生产 canary,不声称已完成真实插件市场验证;
629
642
  - `prepare --online` 只观察 bound 前序基线;目标唯一性由 publish 全局预检完成;
630
643
  - 不覆盖已有 branch/tag/Release,不 unpublish npm;
631
- - 不提供 Kimi 或 CodeBuddy/WorkBuddy marketplace 自动安装检查点——这些安装是发布后明确的团队待办,系统不核验其完成结果;
644
+ - 发布状态机不提供 Kimi 或 CodeBuddy/WorkBuddy marketplace 安装检查点——可选的 release-finish 可以在本机驱动并复查 Kimi,或确认 CodeBuddy/WorkBuddy 已经精确匹配,但这些结果不构成发布证据;
632
645
  - 不承诺 Windows 或广泛的跨平台原生写入;
633
646
  - 不会隐藏地 commit、push、打 tag、创建 Release 或发布包。
634
647
 
@@ -9,7 +9,7 @@
9
9
  {
10
10
  "name": "release-skill",
11
11
  "source": "./",
12
- "version": "0.8.0",
12
+ "version": "0.9.0",
13
13
  "description": "Safe preparation and frozen GitHub/npm production publishing with full happy end verification",
14
14
  "author": {
15
15
  "name": "广州市风荷科技有限公司"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-skill",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Safe preparation and frozen GitHub/npm production publishing with full happy end verification",
5
5
  "author": {
6
6
  "name": "广州市风荷科技有限公司"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "kind": "skill-family.contracts.error-codes",
4
- "contractsVersion": "1.12.0",
4
+ "contractsVersion": "1.13.0",
5
5
  "policy": {
6
6
  "format": "^SFC[0-9]{4}$",
7
7
  "ranges": [