Skip to content

Commit 78457e5

Browse files
committed
chore(release): v1.7.3 —— 上游纯代码修复同步 + 工具计数一致性检查
版本号:7 份声明文件 1.7.2 -> 1.7.3(只动 "version" 行,未重排 JSON,已 diff 确认)。 内容见 RELEASE-NOTES.zh.md v1.7.3 条目: - 同步上游 Windows SessionStart hook 分发修复与 find-polluter.sh 三处路径 bug - audit 新增 Category 5 工具计数一致性检查(+24 项,已验证会拦漂移) - 修 bash 3.2 下 CJK 报错信息乱码(3 处) - .gitignore 补新工具安装产物;官网计数 20 -> 22 - 简繁 README 亮点更新至 v1.7.3,补上 Windows 修复一条 发版前门禁 - scripts/audit.sh: 153 pass / 0 fail(3 warn 为上游漂移,见 #19) - scripts/verify-release.sh: 82 pass / 0 fail - npm publish --dry-run: 1.7.3 / 106 文件 / 457.6 kB
1 parent 073a743 commit 78457e5

10 files changed

Lines changed: 55 additions & 9 deletions

File tree

‎.claude-plugin/marketplace.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{
1010
"name": "superpowers-zh",
1111
"description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留),支持 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 22 款工具",
12-
"version": "1.7.2",
12+
"version": "1.7.3",
1313
"source": "./",
1414
"author": {
1515
"name": "jnMetaCode",

‎.claude-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "superpowers-zh",
33
"description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留),支持 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 22 款工具",
4-
"version": "1.7.2",
4+
"version": "1.7.3",
55
"author": {
66
"name": "jnMetaCode",
77
"url": "https://github.com/jnMetaCode"

‎.codex-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "superpowers-zh",
3-
"version": "1.7.2",
3+
"version": "1.7.3",
44
"description": "AI 编程超能力中文增强版:头脑风暴、subagent 驱动开发、规划、TDD、调试、代码审查、收尾工作流,附 4 个中文 skills 沉淀。",
55
"author": {
66
"name": "jnMetaCode",

‎.cursor-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "superpowers-zh",
33
"displayName": "Superpowers 中文版",
44
"description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留),支持 Cursor / Claude Code / Hermes Agent / Claw Code / Qoder 等 22 款工具",
5-
"version": "1.7.2",
5+
"version": "1.7.3",
66
"author": {
77
"name": "jnMetaCode",
88
"url": "https://github.com/jnMetaCode"

‎.kimi-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "superpowers-zh",
3-
"version": "1.7.2",
3+
"version": "1.7.3",
44
"description": "AI 编程超能力中文增强版:头脑风暴、subagent 驱动开发、规划、TDD、调试、代码审查、收尾工作流,附 4 个中文 skills 沉淀。",
55
"author": {
66
"name": "jnMetaCode",

‎README.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Chinese community edition of [superpowers](https://github.com/obra/superpowers)
1616
>
1717
> 🌍 Also available in [English](https://aiolaola.com/en?utm_source=github&utm_campaign=superpowers) · [日本語](https://aiolaola.com/ja?utm_source=github&utm_campaign=superpowers) · [Español](https://aiolaola.com/es?utm_source=github&utm_campaign=superpowers) · [한국어](https://aiolaola.com/ko?utm_source=github&utm_campaign=superpowers) · [繁體中文](https://aiolaola.com/zh-Hant?utm_source=github&utm_campaign=superpowers)
1818
19-
> 🆕 **v1.7.2 更新亮点**([完整 Release Notes →](RELEASE-NOTES.zh.md))
19+
> 🆕 **v1.7.3 更新亮点**([完整 Release Notes →](RELEASE-NOTES.zh.md))
20+
> - 🪟 **Windows bootstrap 修复** —— SessionStart hook 改经 Git Bash 分发(同步上游),hook 不加载 skill 就是死重
2021
> - 🧩 新增 **Cline** 与 **Kilo Code** 两款 VS Code 扩展(工具数 20 → 22)—— 按 rules 常驻开销做了专门设计,索引仅 4.5 KB
2122
> - 🔧 检测落空时会扫 PATH 给出**可直接复制的 `--tool` 命令**,不再只报「未检测到」
2223
> - 📦 README 补上 **Plugin Marketplace 安装方式**(`claude plugin marketplace add`,升级只需一条命令)

‎README.zh-Hant.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Chinese community edition of [superpowers](https://github.com/obra/superpowers)
1616
1717
> 📖 **免費配套學習** → [從零學會 AI 編程](https://aiolaola.com/?utm_source=github&utm_campaign=superpowers):180 節免費實操課 + 《AI 編程實戰三卷書》線上閱讀 + 實戰社群 · superpowers 裝好後配上方法論效率翻倍 · 永久免費
1818
19-
> 🆕 **v1.7.2 更新亮點**([完整 Release Notes →](RELEASE-NOTES.zh.md))
19+
> 🆕 **v1.7.3 更新亮點**([完整 Release Notes →](RELEASE-NOTES.zh.md))
20+
> - 🪟 **Windows bootstrap 修復** —— SessionStart hook 改經 Git Bash 分發(同步上游),hook 不載入 skill 就是死重
2021
> - 🧩 新增 **Cline** 與 **Kilo Code** 兩款 VS Code 外掛(工具數 20 → 22)—— 針對 rules 常駐開銷做了專門設計,索引僅 4.5 KB
2122
> - 🔧 偵測落空時會掃 PATH 給出**可直接複製的 `--tool` 命令**,不再只報「未偵測到」
2223
> - 📦 README 補上 **Plugin Marketplace 安裝方式**(`claude plugin marketplace add`,升級只需一條命令)

‎RELEASE-NOTES.zh.md‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,50 @@
66
77
---
88

9+
## v1.7.3 (2026-08-07)
10+
11+
### 🐛 同步上游两处纯代码修复(对齐 v6.1.1 → v6.2.0 时挑出)
12+
13+
两个文件在我们这边都与上游 v6.1.1 **字节一致**(从未汉化改动),因此可直接取上游版 —— 无需翻译、无需 eval。
14+
15+
- **`hooks/hooks.json` 加 `"shell": "bash"`**(上游 `5151e7a`):SessionStart hook 在 Windows 上原先不经 Git Bash 分发。我们的 hooks.json 与上游除这一行外完全相同。这条直接改善 Windows 用户的 bootstrap 可靠性 —— **bootstrap 不加载,skill 就是死重**。
16+
- **`skills/systematic-debugging/find-polluter.sh`**(上游 `6015d37`、`c8921b5`):修三个真 bug,已逐个实测新旧版对比:
17+
- pattern 带 `./` 前缀时匹配不到(`find .` 输出 `./` 前缀路径):旧 1 个 → 新 2 个
18+
- `-path` 的 `**/` 无法匹配零层目录,`src/**/*.test.ts` 漏掉 `src/top.test.ts`:旧 1 个 → 新 2 个
19+
- 完全无匹配时计数为 1 而非 0(`echo` 空串仍算一行):旧 1 → 新 0
20+
21+
### 🧪 新增工具计数一致性检查(audit Category 5,+24 项)
22+
23+
加一款工具要同步简繁 README(各 6 处)、`package.json`、`CLAUDE.md`、`site/build.mjs`(三语言 15 处)、3 份 plugin manifest —— v1.7.2 全靠人工 grep 才没漏。现在从 installer 的 `TARGETS` 推导期望值并逐处断言,另加两条结构性检查:README 工具表行数必须等于宣称数、Category 2 实际测试的工具数必须等于宣称数(**宣称了就必须测**)。
24+
25+
已验证会拦:把标题改成 23 款、删掉一行工具表,两种漂移都被抓到。
26+
27+
口径写进注释:`TARGETS` 是「安装目标」共 21 个;Copilot CLI 与 CC 共用 `.claude/skills`(别名映射过去)不占独立条目,但文案里作为独立产品单独计数,所以「文案数 = TARGETS 数 + 1 = 22」。
28+
29+
### 🐛 修 bash 3.2 下 CJK 报错信息乱码
30+
31+
macOS 自带 bash 3.2.57 解析标识符时不识别多字节字符,`$file「` 会把「的首字节 `0xE3` 吞进变量名,导致变量展开为空且字符被截断。报错信息变成「计数不一致: ����= ��应为 22」—— **只在检查失败时才暴露,写检查的人看不到**。
32+
33+
复现:`bash -c 'f=README.md; echo "文件: $f「标签」结束"'` → `文件: ��标签」结束`
34+
35+
修法是给紧跟 CJK 标点的变量加花括号。全仓扫描 `$var` 紧跟非 ASCII 字节的模式,命中 3 处(audit.sh 2 处、verify-release.sh 1 处 —— 后者因为检测项一直全通过,从没暴露过)。
36+
37+
### 🧹 其他
38+
39+
- `.gitignore` 补上 `.cline/`、`.clinerules/`、`.kilocode/` —— 与 `.trae/`、`.qoder/` 一致,避免在本仓库内自测安装器留下未跟踪文件。
40+
- 官网 `site/build.mjs` 工具计数 20 → 22,三语言 FAQ 枚举补入 Cline、Kilo Code(v1.7.2 发了但站点没跟)。
41+
42+
### ✅ 验证
43+
44+
- `scripts/audit.sh`:**153 pass / 0 fail**(3 项 warn 为上游漂移,见 #19)
45+
- `scripts/verify-release.sh`:**82 pass / 0 fail**
46+
- SessionStart hook 冒烟:退出码 0,输出正确的 SessionStart JSON
47+
- npm 包端到端:pack → 从 tarball 安装 → 真实跑安装器 → 卸载零残留
48+
49+
> ⚠️ audit 的上游漂移 warn 从 2 条变 3 条(新增 `using-git-worktrees`),且 `executing-plans` / `finishing-a-development-branch` 的上游 H 值有变化 —— 这是本次 `git fetch upstream` 把对比基准从旧快照更新到 **v6.2.0** 导致的,不是代码改动引起。
50+
51+
---
52+
953
## v1.7.2 (2026-08-07)
1054

1155
### 🆕 新增 Cline 与 Kilo Code 适配(工具数 20 → 22,关 #112、#88)

‎gemini-extension.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "superpowers-zh",
33
"description": "AI 编程超能力中文版 — TDD、调试、代码审查等经过实战验证的工作方法论",
4-
"version": "1.7.2",
4+
"version": "1.7.3",
55
"contextFileName": "GEMINI.md"
66
}

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "superpowers-zh",
3-
"version": "1.7.2",
3+
"version": "1.7.3",
44
"engines": {
55
"node": ">=20.0.0"
66
},

0 commit comments

Comments
 (0)