add-coder 0.3.22 → 0.3.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "add-coder",
3
- "version": "0.3.22",
3
+ "version": "0.3.23",
4
4
  "private": false,
5
5
  "description": "[codein2027](https://github.com/xiaomingming92/codein2027) - A complete scaffolding for building the ADD programming paradigm, the implementation layer for AI code governance. Core principle: Audit as Infrastructure. Breaks the black-box programming process and cross-session amnesia, evolving programming paradigms into an auditable, traceable, and convergent new era. npx-ready.\n\n[codein2027](https://github.com/xiaomingming92/codein2027) 快速构建 ADD 编程范式的完整脚手架——AI 代码治理的落地方案。以「审计即基础设施」为核心,彻底打破编程过程黑盒与跨轮失忆,让编程范式进化为可审计、可追溯、可收敛的新时代。npx 即用,人人可体验。",
6
6
  "repository": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "_version": "0.3.22",
2
+ "_version": "0.3.23",
3
3
  "adapters/claude/hooks/doc-format-guard.sh": "ec59ad3f",
4
4
  "adapters/claude/hooks/lib/common.sh": "4f3e64ad",
5
5
  "adapters/claude/hooks/lib/context-inject.sh": "cfc8c65e",
@@ -225,7 +225,7 @@
225
225
  "core/scripts/mcp-server/tools/plan.ts": "477fd80d",
226
226
  "core/scripts/mcp-server/tools/quality.ts": "c4634453",
227
227
  "core/scripts/mcp-server/tools/registrar.ts": "efd81b3a",
228
- "core/scripts/mcp-server/tools/review.ts": "4d72ca19",
228
+ "core/scripts/mcp-server/tools/review.ts": "370f84f2",
229
229
  "core/scripts/mcp-server/types.ts": "6c5e60bc",
230
230
  "core/scripts/mcp-server.ts": "99cc6833",
231
231
  "core/skills/add-paradigm/SKILL.md": "5d4fa389",
@@ -58,7 +58,9 @@ export function registerReviewTools(server: ToolRegistrar) {
58
58
  .replace(/-review-.*$/, "")
59
59
  .replace(/-implementation.*$/, "")
60
60
  .replace(/-runtime.*$/, "")
61
- if (pn && !derivedPlan.includes(pn)) continue
61
+ // [2026-08-09 修复] 过滤方向颠倒:derivedPlan 是前缀,pn 是完整 planName({prefix}-plan-v{n}),
62
+ // 应为 pn.includes(derivedPlan);原实现 derivedPlan.includes(pn) 永远 false → 传入 planName 时全部跳过
63
+ if (pn && !pn.includes(derivedPlan)) continue
62
64
 
63
65
  // 查找匹配的 PlanRecord:PlanRecord.planName 格式为 {planPrefix}-plan-v{n}
64
66
  // 而 derivedPlan 为 {planPrefix}(从 review 文件名中去掉了 -review-v{n})