Skip to content

chore: release v1.4.0 — 上游漂移 P0 全量修复 + 防回归基建#32

Merged
jnMetaCode merged 1 commit into
mainfrom
chore/release-v1.4.0
May 12, 2026
Merged

chore: release v1.4.0 — 上游漂移 P0 全量修复 + 防回归基建#32
jnMetaCode merged 1 commit into
mainfrom
chore/release-v1.4.0

Conversation

@jnMetaCode
Copy link
Copy Markdown
Owner

你要解决什么问题?

跟 PR #28 + #30 + #31 一起构成 v1.4.0 的完整内容——本 PR 只做发布层(版本号 bump + plugin manifest 同步 + release notes),不动任何 skill 内容、不动 installer、不动 hooks。

为什么需要一个独立的 release PR: 上游 fork 的发布流程是 "skill/fix PR 单独 merge → release commit 单独 bump version + 写 release notes"(参见 6c1fe58 chore: release v1.3.0 提交模式)。本 PR 严格按此模式走。

这个 PR 做了什么改变?

版本号 1.3.0 → 1.4.0

  • package.json 1.3.0 → 1.4.0
  • .claude-plugin/plugin.json 1.3.0 → 1.4.0
  • .claude-plugin/marketplace.json plugins.0.version 1.3.0 → 1.4.0
  • .cursor-plugin/plugin.json 1.3.0 → 1.4.0
  • .codex-plugin/plugin.json 1.3.0 → 1.4.0
  • gemini-extension.json 1.1.6 → 1.4.0(顺带修复长期漂移)

工具链顺带修复:

  • scripts/sync-plugin-version.js 的 TARGETS 加入 gemini-extension.json —— 这是 gemini-extension.json 长期卡在 1.1.6 的根因(在 .version-bump.json 列了但 sync-plugin-version.js 的 TARGETS 漏掉了)
  • package.json 的 `version` 钩子 git add 列表加上 `gemini-extension.json`

RELEASE-NOTES.zh.md 新增 v1.4.0 段(78 行):

按"上游同步"性质分组列出本次 release 的 9 项修复:

明确标注每项的上游 ref + 本 fork PR 号 + 不在范围的项(executing-plans 扩写、中国特色技能路由等主动选择)。

这个改变适合放在核心库中吗?

适合。版本号管理是 release 流程的核心环节,6 个 plugin manifest 全部对齐 + gemini-extension.json 长期漂移修复,对所有走 marketplace / extension 安装的用户都有效。

你考虑了哪些替代方案?

  1. 把 release 内容塞到 PR chore(skills): 同步上游 P0 漂移修复(hooks-cursor + brainstorm + code-reviewer 引用) #30:违反 fork 的发布流程惯例(chore: release 应该独立 commit)。Pass。
  2. 不修 gemini-extension.json,等下个 release:该文件已经卡在 1.1.6 几个月,趁本 release 一起追上,避免漂移积累。这个 1 行 sync-plugin-version.js 改动 + 1 行 package.json git add 改动,scope 是合理的"顺带修工具链 bug"。
  3. 现方案:版本 bump + 工具链修 + release notes 一起

这个 PR 是否包含多个不相关的改变?

否。三件事通过共同性质绑定:"v1.4.0 release prep"。版本号 bump 必然牵动 6 个 manifest;gemini-extension.json 的 sync-plugin-version.js 修复正是为了让"版本号 bump"这件事一次性正确完成(否则 gemini-extension 又会被漏掉)。release notes 文档化本次发布内容。

已有的 PR

⚠️ merge 顺序敏感:本 PR 必须最后 merge(在 #28 / #30 / #31 之后),否则 release notes 引用的 PR 在 git log 里还没出现。

测试环境

工具 工具版本 模型 模型版本/ID
Claude Code latest Claude Opus claude-opus-4-7

本地验证:

评估

不适用 —— 本 PR 是 release prep(版本号 + 工具链 + 文档),不改任何 skill 内容、不影响模型行为

严格性

  • 这不是 skill 内容改变,无需对抗式压力测试
  • 没有修改任何精心调优的 skill 内容
  • 修改的是 fork 自有版本管理 / release notes

人工审核

  • 提交前已有人工审核过 diff(8 文件 86 +/7 -)
  • 完整文本 review 待你在 GitHub PR diff 视图 inline 评论

推荐 merge 顺序

1. PR #28(worktree v5.1.0 安全修复)  ←  纯 skill 内容
2. PR #30(P0 漂移 + code-reviewer 整合)  ←  纯 skill 内容
3. PR #31(audit script + CI)  ←  基建独立
4. PR #27(文案漂移)  ←  你定夺,可选
5. PR #34(本 PR:release v1.4.0)  ←  最后做 release commit
6. 你手动:git tag v1.4.0 + git push --tags + npm publish

跟 PR #28 + #30 + #31 一起构成 v1.4.0 的完整内容。本 PR 仅做发布层
(版本号 bump + plugin manifest 同步 + release notes),不动 skill 内容。

版本号 1.3.0 → 1.4.0:
- package.json
- .claude-plugin/plugin.json + marketplace.json
- .cursor-plugin/plugin.json
- .codex-plugin/plugin.json
- gemini-extension.json(之前卡在 1.1.6,本次顺带追上)

工具链小修:
- scripts/sync-plugin-version.js TARGETS 加入 gemini-extension.json
  (之前漏掉,是 gemini-extension.json 长期卡在老版本的根因)
- package.json 的 version 钩子 git add 列表加上 gemini-extension.json

RELEASE-NOTES.zh.md 新增 v1.4.0 段,按"上游同步"性质分组列出 9 项
修复内容,明确标注每项的上游 ref + 本 fork PR 号。

注意:本 PR 应在 #28 + #30 + #31 merge 之后才 merge —— 顺序错了
会导致 release notes 描述的 PR 在 git log 里还没有。

不影响:
- 上游 marketplace 安装路径(仍按主站路径正常工作)
- 现有 npm 用户向后兼容(npx superpowers-zh 仍可用)
@jnMetaCode jnMetaCode merged commit c5b4fa4 into main May 12, 2026
1 check passed
@jnMetaCode jnMetaCode deleted the chore/release-v1.4.0 branch May 12, 2026 10:14
jnMetaCode added a commit that referenced this pull request May 12, 2026
冲突解决:3 个 plugin manifest(plugin.json / marketplace.json / cursor-plugin/plugin.json)
的 description 字段保留 PR #27 的修复('14 翻译 + 4 中国原创 + 2 上游历史保留'),
version 字段保留 main 的 1.4.0(来自 PR #32 release)。

逻辑上 PR #27 的修复跟 v1.4.0 release 不冲突 —— 描述字段修正版本号无关。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant