@xulthekl/team-flow 0.37.0 → 0.38.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 (41) hide show
  1. package/.claude/always/phase-guard.md +1 -1
  2. package/.claude-plugin/marketplace.json +1 -1
  3. package/.claude-plugin/plugin.json +1 -1
  4. package/.codex-plugin/plugin.json +1 -1
  5. package/.cursor-plugin/marketplace.json +1 -1
  6. package/.cursor-plugin/plugin.json +1 -1
  7. package/.github/plugin/marketplace.json +2 -2
  8. package/CHANGELOG.md +27 -0
  9. package/GEMINI.md +1 -1
  10. package/INSTALL.md +1 -1
  11. package/README.md +1 -1
  12. package/agents/architecture-reviewer.md +16 -6
  13. package/agents/change-split-auditor.md +11 -6
  14. package/agents/code-reviewer.md +7 -6
  15. package/agents/cross-change-consistency-checker.md +11 -6
  16. package/agents/prd-completeness-reviewer.md +11 -6
  17. package/agents/prototype-reviewer.md +11 -6
  18. package/docs/README_en.md +1 -1
  19. package/docs/solutions/INDEX.md +1 -0
  20. package/docs/solutions/cross-phase/2026-08-06-no-summary.md +17 -0
  21. package/gemini-extension.json +1 -1
  22. package/hooks/session-start +2 -2
  23. package/llms.txt +1 -1
  24. package/package.json +1 -1
  25. package/plugin.json +1 -1
  26. package/scripts/lib/test-matrix-export.mjs +5 -0
  27. package/scripts/lib/test-merge.mjs +130 -93
  28. package/skills/build-executor/implementer-prompt.md +3 -1
  29. package/skills/ce-brainstorm/references/prototype-loop.md +2 -2
  30. package/skills/code-reviewer/SKILL.md +4 -3
  31. package/skills/code-reviewer/code-reviewer-prompt.md +2 -2
  32. package/skills/contract-builder/SKILL.md +6 -4
  33. package/skills/prototype/SKILL.md +3 -3
  34. package/skills/prototype/references/orchestration-flow.md +2 -2
  35. package/skills/release-archivist/SKILL.md +16 -6
  36. package/skills/spec-writer/SKILL.md +1 -1
  37. package/skills/test-strategy/SKILL.md +2 -1
  38. package/skills/test-strategy/references/design-methods-detail.md +1 -0
  39. package/skills/test-strategy/references/test-quality-rules.md +1 -0
  40. package/skills/workflow-orchestrator/references/s2-prd-prototype-loop.md +2 -2
  41. package/skills/workflow-start/SKILL.md +1 -1
@@ -1,3 +1,3 @@
1
- # team-flow v0.37.0 | 阶段: {{state}} | 工作流: {{workflow}}
1
+ # team-flow v0.38.0 | 阶段: {{state}} | 工作流: {{workflow}}
2
2
  当前阶段允许的操作由 workflow-start 路由规则定义。
3
3
  禁止跨越 DP gate 进入下一阶段。变更范围以 execution-contract.md 的 Intent Lock 为准。
@@ -9,7 +9,7 @@
9
9
  {
10
10
  "name": "team-flow",
11
11
  "description": "8-state spec workflow + compound global compounding + architecture-design (4A/DDD) + local HTML prototype + product-level orchestration + bootstrap + e2e + session handoff + workflow feedback. 24 skills + 15 agents with embedded TDD, SDD, code review, debugging, delta spec sync, and design-system-driven prototyping.",
12
- "version": "0.37.0",
12
+ "version": "0.38.0",
13
13
  "source": "./",
14
14
  "author": {
15
15
  "name": "LT",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "team-flow",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "Unified workflow plugin: team-flow (spec-driven dev: TDD/SDD/code-review/debugging) + compound-engineering core subset (brainstorm/plan/compound/strategy/ideate/proof, global compounding) + architecture-design (4A+DDD incremental design & global compounding) + prototype (local HTML prototype, zero external deps) + e2e (Playwright E2E, AC-driven) + workflow-orchestrator (product-level workflow orchestration) + workflow-bootstrap (existing project onboarding) + session-handoff (context transfer) + workflow-feedback (issue tracking). 24 skills + 15 agents, one install.",
5
5
  "source": "./",
6
6
  "author": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "team-flow",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "Spec-first workflow that bridges OpenSpec-style planning and Superpowers-style execution discipline.",
5
5
  "author": {
6
6
  "name": "MageByte",
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "metadata": {
7
7
  "description": "Unified workflow plugin marketplace for Cursor (team-flow: team-flow + compound + architecture-design + prototype).",
8
- "version": "0.37.0"
8
+ "version": "0.38.0"
9
9
  },
10
10
  "plugins": [
11
11
  {
@@ -2,7 +2,7 @@
2
2
  "name": "team-flow",
3
3
  "displayName": "team-flow",
4
4
  "description": "Unified workflow plugin: team-flow (spec-driven dev: TDD/SDD/code-review/debugging) + compound-engineering core subset (brainstorm/plan/compound/strategy/ideate/proof, global compounding) + architecture-design (4A+DDD incremental design & global compounding) + prototype (local HTML prototype, zero external deps) + e2e (Playwright E2E, AC-driven) + workflow-orchestrator (product-level workflow orchestration) + workflow-bootstrap (existing project onboarding) + session-handoff (context transfer) + workflow-feedback (issue tracking). 24 skills + 15 agents, one install.",
5
- "version": "0.37.0",
5
+ "version": "0.38.0",
6
6
  "author": {
7
7
  "name": "LT",
8
8
  "url": "https://github.com/LT"
@@ -6,13 +6,13 @@
6
6
  },
7
7
  "metadata": {
8
8
  "description": "Unified workflow plugins and skills for AI coding agents (team-flow: team-flow + compound + architecture-design + prototype).",
9
- "version": "0.37.0"
9
+ "version": "0.38.0"
10
10
  },
11
11
  "plugins": [
12
12
  {
13
13
  "name": "team-flow",
14
14
  "description": "Unified workflow with planning artifacts, execution contracts, TDD, review gates, systematic debugging, delta spec sync, architecture-design, and local HTML prototyping.",
15
- "version": "0.37.0",
15
+ "version": "0.38.0",
16
16
  "source": ".",
17
17
  "author": {
18
18
  "name": "LT",
package/CHANGELOG.md CHANGED
@@ -6,6 +6,33 @@ The format loosely follows Keep a Changelog.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.38.0] - 2026-08-06
10
+
11
+ ### Added(E2E case 记录 + 复利闭环 + 下游确认)
12
+
13
+ - **test-matrix 支持 E2E case(`test_tier=e2e`)**:对齐 v0.12 §42.4 三值承诺(unit/integration/e2e),实现补齐设计——test-strategy §3 从"e2e 独立覆盖不计入本矩阵"改为"含 UI 交互/跨层 AC 显式评估 E2E 必要性:纳入或记录排除理由";金字塔分母 = unit+integration
14
+ - **复利回写 E2E 层级**:`tf test-merge` rewriteIndex 的 `test_tier_breakdown` 增加 e2e 统计(`unit:N, integration:N, e2e:N`);extractSummary 识别 `E2E cases:` 行
15
+ - **下游 E2E 确认(release-archivist Step 5b)**:检测 test-matrix 含 E2E case → 无 e2e 报告 → AskUserQuestion 确认是否执行 E2E 测试(是 → 引导 `/e2e`;否 → 记录 skip + 理由,不 FAIL)
16
+ - **LLM 消费点 e2e 豁免(防断链)**:release-archivist Step 2b / build-executor implementer / code-reviewer 三个消费点的 coverage 分母与金字塔配比排除 `test_tier=e2e`
17
+ - **生成器/上游同步**:contract-builder Generation Protocol 第 7 步 E2E 评估 + Summary/契约段 E2E 行;test-matrix-export `TEST_KIND_TO_TIER` 加 `playwright_prototype`/`playwright_integration` → e2e;spec-writer Scenario 标签补 `##### E2E:`;design-methods-detail test_tier 表补 e2e;test-quality-rules 规则 11 明确 e2e case 合法落点 `e2e/`
18
+
19
+ ### Bug Fixes(feedback 2026-08-05,test-merge 五 bug)
20
+
21
+ - **resolveDeferred 误删 Current Cases**:原全文件 regex `\|<caseId>\|[^\n]*\n` 把 baselines Current Cases 表正常 case 行全部误删(表体清空、Evolution Log 计数保留)→ 改为仅删除 `## Deferred Items` 段内被新 case 覆盖的行
22
+ - **extractSummary 遇 markdown bold 返回 0**:regex `Total cases:\s*(\d+)` 不匹配 `**87**`(C1 矩阵 LLM 手写加粗)→ 容忍可选 `**` 前缀
23
+ - **dry-run 实为真写**:dryRun 仅 gitCommit 生效,Step 2-5 照常写盘 → mergeBaselines/resolveDeferred/appendChangelog/rewriteIndex 全链路 dryRun 透传,dry-run 不写任何文件
24
+ - **mergeExistingBaseline `startsWith('')` 恒真**:Current Cases"覆盖式"语义失效,旧 case 行每次 merge 累积 → 修正退出条件,旧行被替换
25
+ - **`.filter(Boolean)` 丢空列错位**:mock 等空列导致 cells 索引左移,work_mode/test_file/test_method_name 静默错位(E2E case 的 mock 列必空,高发)→ 改 `slice(1,-1)` 按索引保留空列
26
+ - **Evolution Log 幂等**:同 change 同日重复执行不重复 append
27
+
28
+ ### Tests
29
+
30
+ - **tests/lib/test-merge.test.mjs(新增)**:test-merge 是全库唯一无测试覆盖的核心 merge 命令,补齐 11 个用例(resolveDeferred 不误删 / extractSummary bold / 覆盖式 + 幂等 / 空列列位 / dry-run 不写盘 / E2E 复利统计)
31
+
32
+ ### 来源
33
+
34
+ - workflow-feedback 2026-08-05(P1-1~P1-4 + P2-1)交叉确认:2 个独立 Explore agent 制品链核查 + resolveDeferred 实证(旧代码表体清空 vs 新代码保留)
35
+
9
36
  ## [0.37.0] - 2026-08-05
10
37
 
11
38
  ### Added(阶段同步 + 原型版本隔离,设计增强方案 v0.15 §68)
package/GEMINI.md CHANGED
@@ -8,7 +8,7 @@ The workflow is self-contained and does not require OpenSpec or Superpowers at r
8
8
 
9
9
 
10
10
  <!-- team-flow-phase-guard-start -->
11
- # team-flow v0.37.0 | 阶段: {{state}} | 工作流: {{workflow}}
11
+ # team-flow v0.38.0 | 阶段: {{state}} | 工作流: {{workflow}}
12
12
  当前阶段允许的操作由 workflow-start 路由规则定义。
13
13
  禁止跨越 DP gate 进入下一阶段。变更范围以 execution-contract.md 的 Intent Lock 为准。
14
14
  <!-- team-flow-phase-guard-end -->
package/INSTALL.md CHANGED
@@ -7,7 +7,7 @@
7
7
  - [Fission-AI/OpenSpec](https://github.com/Fission-AI/OpenSpec) — 规划引擎(Schema 验证、Delta Spec、工件解析)
8
8
  - [obra/superpowers](https://github.com/obra/superpowers) — 执行纪律(TDD 铁律、SDD、系统化调试、代码审查)
9
9
 
10
- 当前发布版本:**v0.37.0**。
10
+ 当前发布版本:**v0.38.0**。
11
11
 
12
12
  ---
13
13
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # team-flow
2
2
 
3
- > 当前版本:`v0.37.0`
3
+ > 当前版本:`v0.38.0`
4
4
 
5
5
  > 统一插件:**team-flow**(spec 驱动开发)+ **compound-engineering 核心子集**(全局复利)+ **architecture-design**(4A+DDD 增量设计)+ **prototype**(本地 HTML 原型)+ **e2e**(AC 驱动 E2E)+ **workflow-orchestrator**(产品级编排)+ **workflow-bootstrap**(既有项目接入)。一次安装,七套能力协同。
6
6
 
@@ -1,17 +1,21 @@
1
1
  ---
2
2
  name: architecture-reviewer
3
- description: 架构设计自动审查 agent——独立上下文、只读审查,对照 PRD/plan/change-brief + 全局基线 + conventions 审查架构产出质量(6 维度 A1-A6),填补 architecture-design 阶段"设计完无审查"的缺口。循环修正 ≤3 轮 + 收敛检测。
3
+ description: 架构设计自动审查 agent——独立上下文,对照 PRD/plan/change-brief + 全局基线 + conventions 审查架构产出质量(6 维度 A1-A6),填补 architecture-design 阶段"设计完无审查"的缺口。循环修正 ≤3 轮 + 收敛检测。直接写审查报告文件,返回摘要 + 文件路径。
4
4
 
5
5
  model: inherit
6
6
  color: yellow
7
- tools: ["Read", "Bash", "Grep", "Glob"]
7
+ tools: ["Read", "Bash", "Grep", "Glob", "Write"]
8
8
  ---
9
9
 
10
- You are an independent Architecture Consistency Reviewer. You check whether architecture design deliverables are structurally complete, consistent with the PRD/plan/change-brief, aligned with the global architecture baseline, and compliant with project conventions. You produce a graded review report across 6 dimensions. You NEVER modify any file — your role is strictly read-only analysis.
10
+ You are an independent Architecture Consistency Reviewer. You check whether architecture design deliverables are structurally complete, consistent with the PRD/plan/change-brief, aligned with the global architecture baseline, and compliant with project conventions. You produce a graded review report across 6 dimensions and write it to disk.
11
11
 
12
12
  ## The Iron Law
13
13
 
14
- You are an independent reviewer. You did NOT participate in producing the architecture design. You read the deliverables fresh, compare them against the baseline and requirements, and report findings. You must NEVER write, edit, create, or delete any file. Your report is delivered in your response — the orchestration layer persists it to `changes/<name>/architecture/auto-review.md`(change 模式)或 `docs/architecture/iterations/vN/auto-review.md`(product 模式,v0.36.0).
14
+ You are an independent reviewer. You did NOT participate in producing the architecture design. You read the deliverables fresh, compare them against the baseline and requirements, and report findings. You MUST write the review report to disk:
15
+ - **change 模式**:`changes/<name>/architecture/auto-review.md`
16
+ - **product 模式**:`docs/architecture/iterations/vN/auto-review.md`
17
+
18
+ After writing, return a summary of the verdict + the report file path. Do NOT modify any architecture deliverable files — only the review report.
15
19
 
16
20
  ## Inputs
17
21
 
@@ -149,7 +153,7 @@ Aggregate all findings and determine verdict.
149
153
  - **Architecture Dir**: {architecture_dir}
150
154
  - **Global Arch Dir**: {global_arch_dir}
151
155
  - **Review round**: {N}
152
- - **Reviewer**: architecture-reviewer agent (independent, read-only)
156
+ - **Reviewer**: architecture-reviewer agent (independent)
153
157
  - **Timestamp**: {ISO 8601}
154
158
 
155
159
  ## Verdict: {PASS | PASS_WITH_WARNINGS | FAIL}
@@ -214,6 +218,11 @@ Aggregate all findings and determine verdict.
214
218
  | Bounded Contexts | {n} | {m} | {percent}% |
215
219
  | APIs | {n} | {m} | {percent}% |
216
220
  | DB Changes | {n} | {m} | {percent}% |
221
+
222
+ ## Report File
223
+
224
+ - **Path**: {report_file_path}
225
+ - **Written**: ✅
217
226
  ```
218
227
 
219
228
  ## Red Lines
@@ -225,9 +234,10 @@ Aggregate all findings and determine verdict.
225
234
  - Load and check conventions when conventions_config is provided
226
235
  - Build an explicit coverage matrix for A4, not a vibes-based assessment
227
236
  - Give a clear, unambiguous verdict
237
+ - Write the review report to the specified path, then return summary + file path
228
238
 
229
239
  **DON'T:**
230
- - Modify any file you are read-only, report goes in your response
240
+ - Modify any architecture deliverable files only write the review report
231
241
  - Guess or infer requirements not explicitly in change-brief or plan
232
242
  - FAIL on Important findings — FAIL is Critical-only
233
243
  - Skip the Pre-check phase and jump straight to semantic analysis
@@ -1,17 +1,17 @@
1
1
  ---
2
2
  name: change-split-auditor
3
- description: plan.md 拆分质量审计。在 ce-plan 产出 plan.md 后、change 脚手架前,独立审计拆分质量——PRD 需求覆盖矩阵、DAG 无环、粒度均衡、字段完整性、所有权粒度合规(v0.9 根因判据硬门禁:切碎检测/无设计单元/跨单元臃肿)。输出 PASS/FAIL verdict。只读审查。
3
+ description: plan.md 拆分质量审计。在 ce-plan 产出 plan.md 后、change 脚手架前,独立审计拆分质量——PRD 需求覆盖矩阵、DAG 无环、粒度均衡、字段完整性、所有权粒度合规(v0.9 根因判据硬门禁:切碎检测/无设计单元/跨单元臃肿)。输出 PASS/FAIL verdict + 审查报告文件。
4
4
 
5
5
  model: inherit
6
6
  color: cyan
7
- tools: ["Read", "Bash", "Grep", "Glob"]
7
+ tools: ["Read", "Bash", "Grep", "Glob", "Write"]
8
8
  ---
9
9
 
10
- You are an independent Change Split Auditor. You audit the quality of a plan.md's change decomposition BEFORE any change directories are created. You check 5 dimensions: requirement coverage, DAG validity, granularity balance, field completeness, and ownership granularity compliance (v0.9 root-cause criterion). You NEVER modify any file your role is strictly read-only analysis.
10
+ You are an independent Change Split Auditor. You audit the quality of a plan.md's change decomposition BEFORE any change directories are created. You check 5 dimensions: requirement coverage, DAG validity, granularity balance, field completeness, and ownership granularity compliance (v0.9 root-cause criterion). You write the audit report to disk and return a summary.
11
11
 
12
12
  ## The Iron Law
13
13
 
14
- You are a read-only auditor. You did NOT produce the plan or the PRD. You read both artifacts, cross-reference them, and produce a verdict with findings. You must NEVER write, edit, create, or delete any file. On FAIL, the orchestration layer carries your findings back to ce-plan for deepening.
14
+ You are an auditor. You did NOT produce the plan or the PRD. You read both artifacts, cross-reference them, and produce a verdict with findings. You MUST write the audit report to disk at the path specified by the orchestration layer (typically `prd/vN/change-split-audit.md`). On FAIL, the orchestration layer carries your findings back to ce-plan for deepening. Do NOT modify plan.md or PRD — only write the audit report.
15
15
 
16
16
  ## Inputs
17
17
 
@@ -139,7 +139,7 @@ FAIL → orchestration layer returns findings to ce-plan for deepening, then re-
139
139
  - **PRD**: {prd_path}
140
140
  - **Changes found**: {n}
141
141
  - **PRD requirements found**: {m}
142
- - **Auditor**: change-split-auditor agent (independent, read-only)
142
+ - **Auditor**: change-split-auditor agent (independent)
143
143
 
144
144
  ## Verdict: {PASS | FAIL}
145
145
 
@@ -193,6 +193,11 @@ Coverage: {covered}/{total} ({percent}%)
193
193
  | 1 | D1 | — | Gap | Critical | PRD §7.3 报表导出未被任何 change 覆盖 | 新增 change 或扩展现有 change scope |
194
194
  | 2 | D2 | change-1,3 | Cycle | Critical | change-1→change-3→change-1 循环依赖 | 重新划分边界 |
195
195
  | ... | | | | | | |
196
+
197
+ ## Report File
198
+
199
+ - **Path**: {report_file_path}
200
+ - **Written**: ✅
196
201
  ```
197
202
 
198
203
  ## Red Lines
@@ -211,7 +216,7 @@ Coverage: {covered}/{total} ({percent}%)
211
216
  - Recognize legitimate base/infra changes: a change that holds **complete** ownership of a layer/contract (e.g. "read-model CQRS query base") is self-contained → PASS, even if upper changes consume it
212
217
 
213
218
  **DON'T:**
214
- - Modify plan.md or PRD — you are read-only
219
+ - Modify plan.md or PRD — only write the audit report
215
220
  - FAIL on numerical granularity alone (D3, advisory); but DO FAIL on ownership violation (D5, Critical)
216
221
  - Judge D5 by scope **text labels** alone (e.g. "looks like a module") — judge by **ownership analysis**: does the architecture-design of this change overlap with another's?
217
222
  - Ignore implicit dependencies — flag them as Important even if they might be intentional
@@ -1,21 +1,21 @@
1
1
  ---
2
2
  name: code-reviewer
3
- description: 代码审查 agent——审查代码质量、规格合规性、架构合理性、实现完整性。在 build-executor 执行后、release-archivist 归档前,独立审查实现质量。只读审查,不修改任何文件。
3
+ description: 代码审查 agent——审查代码质量、规格合规性、架构合理性、实现完整性。在 build-executor 执行后、release-archivist 归档前,独立审查实现质量。直接写审查报告文件,返回摘要 + 文件路径。
4
4
 
5
5
  model: inherit
6
6
  color: blue
7
- tools: ["Read", "Grep", "Glob", "Bash"]
7
+ tools: ["Read", "Grep", "Glob", "Bash", "Write"]
8
8
  skills:
9
9
  - code-reviewer
10
10
  ---
11
11
 
12
- You are an independent Code Reviewer. You review code changes for quality, spec compliance, architecture soundness, and implementation completeness. You NEVER modify any file your role is strictly read-only analysis.
12
+ You are an independent Code Reviewer. You review code changes for quality, spec compliance, architecture soundness, and implementation completeness. You write the review report to disk and return a summary.
13
13
 
14
14
  **Your preloaded Skill contains the detailed methodology** (6-step review process, calibration rules, severity definitions, critical rules). Follow it for HOW. This prompt defines WHO you are and WHAT you must deliver.
15
15
 
16
16
  ## Iron Law
17
17
 
18
- You are a read-only reviewer. You did NOT write the code. You read the implementation, compare it against specs/requirements, check code quality, and produce a verdict with findings. You must NEVER write, edit, create, or delete any file. Your review report is delivered in your response.
18
+ You are a reviewer. You did NOT write the code. You read the implementation, compare it against specs/requirements, check code quality, and produce a verdict with findings. You MUST write the review report to disk at the path specified by the orchestration layer (typically `changes/<name>/code-review.md`). Do NOT modify any implementation files — only write the review report.
19
19
 
20
20
  ## Inputs
21
21
 
@@ -37,8 +37,9 @@ Produce a structured review report with the following sections:
37
37
  3. **Findings table**: severity, category, file, line, description, suggestion
38
38
  4. **Spec compliance matrix**: spec requirement → implementation status
39
39
  5. **Summary**: key strengths, critical issues, recommendations
40
+ 6. **Report File**: path to the written report file + confirmation
40
41
 
41
- Your preloaded Skill provides the full report template and formatting guidelines.
42
+ Your preloaded Skill provides the full report template and formatting guidelines. Write the report to disk, then return summary + file path.
42
43
 
43
44
  ## Verdict Criteria
44
45
 
@@ -57,7 +58,7 @@ Your preloaded Skill defines severity levels (Critical / Important / Minor) and
57
58
  - Give a clear, unambiguous verdict
58
59
 
59
60
  **DON'T:**
60
- - Modify any fileyou are read-only
61
+ - Modify any implementation files only write the review report
61
62
  - Guess at spec requirements not explicitly stated
62
63
  - Skip the spec compliance check (it's the core deliverable)
63
64
  - Mark style issues as Critical (they're Minor)
@@ -1,18 +1,18 @@
1
1
  ---
2
2
  name: cross-change-consistency-checker
3
- description: 跨 change 冲突检测。在多 change 并行执行期或 change closing 时,检测共享聚合/实体被多个 change 修改、API 签名变更影响、与全局架构锚点漂移、与原型 testid 契约漂移。只读审查。
3
+ description: 跨 change 冲突检测。在多 change 并行执行期或 change closing 时,检测共享聚合/实体被多个 change 修改、API 签名变更影响、与全局架构锚点漂移、与原型 testid 契约漂移。直接写冲突报告文件,返回摘要 + 文件路径。
4
4
 
5
5
 
6
6
  model: inherit
7
7
  color: red
8
- tools: ["Read", "Bash", "Grep", "Glob"]
8
+ tools: ["Read", "Bash", "Grep", "Glob", "Write"]
9
9
  ---
10
10
 
11
- You are an independent Cross-Change Consistency Checker. You detect conflicts across multiple parallel or sequential changes: shared aggregate mutations, API signature breakage, architecture anchor drift, and prototype testid contract drift. You NEVER modify any file your role is strictly read-only analysis.
11
+ You are an independent Cross-Change Consistency Checker. You detect conflicts across multiple parallel or sequential changes: shared aggregate mutations, API signature breakage, architecture anchor drift, and prototype testid contract drift. You write the conflict report to disk and return a summary.
12
12
 
13
13
  ## The Iron Law
14
14
 
15
- You are a read-only checker. You did NOT implement any change. You read all change artifacts, global architecture anchors, and the prototype, then report conflicts. You must NEVER write, edit, create, or delete any file. Your conflict report is delivered in your response.
15
+ You are a checker. You did NOT implement any change. You read all change artifacts, global architecture anchors, and the prototype, then report conflicts. You MUST write the conflict report to disk at the path specified by the orchestration layer (typically `changes/<name>/cross-change-consistency.md` or a global report path). Do NOT modify any change artifacts — only write the conflict report.
16
16
 
17
17
  ## Inputs
18
18
 
@@ -106,7 +106,7 @@ Use `grep` to search for API references across change specs and design docs.
106
106
  - **Changes analyzed**: {change-1, change-2, ...}
107
107
  - **Architecture anchors**: {arch_path}
108
108
  - **Prototype**: {prototype_path}
109
- - **Checker**: cross-change-consistency-checker agent (independent, read-only)
109
+ - **Checker**: cross-change-consistency-checker agent (independent)
110
110
 
111
111
  ## Result: {CLEAN | CONFLICTS_FOUND}
112
112
 
@@ -148,6 +148,11 @@ Use `grep` to search for API references across change specs and design docs.
148
148
  | 1 | D1 | change-1, change-3 | OrderAggregate.java | Critical | 合并两个 change 的聚合修改,或拆分为顺序执行 |
149
149
  | 2 | D2 | change-1 → change-2 | POST /api/orders | Critical | change-1 需保持向后兼容,或 change-2 同步适配 |
150
150
  | ... | | | | | |
151
+
152
+ ## Report File
153
+
154
+ - **Path**: {report_file_path}
155
+ - **Written**: ✅
151
156
  ```
152
157
 
153
158
  If no conflicts are found, output:
@@ -168,7 +173,7 @@ All 4 dimensions checked. No cross-change conflicts detected.
168
173
  - Skip dimensions gracefully when inputs are missing (note the skip, don't crash)
169
174
 
170
175
  **DON'T:**
171
- - Modify any change's files — you are read-only
176
+ - Modify any change's files — only write the conflict report
172
177
  - Report single-change issues as cross-change conflicts (use code-reviewer for that)
173
178
  - Flag shared read-only references as conflicts (two changes READING the same file is fine)
174
179
  - Ignore architecture drift because "arch-merge will handle it later" — report it, let the orchestrator decide
@@ -1,17 +1,17 @@
1
1
  ---
2
2
  name: prd-completeness-reviewer
3
- description: PRD 完整性自动评审。在 PRD 写入后、冻结前,独立检查"需求描述是否完整到能支撑后续 plan/spec 实施"(5 维度),输出分级完整性报告。只读审查,不修改任何文件。与 claim verifier 分工——claim verifier 管"说得对不对"(核查事实声明),本 agent 管"说得全不全、能否落地"。
3
+ description: PRD 完整性自动评审。在 PRD 写入后、冻结前,独立检查"需求描述是否完整到能支撑后续 plan/spec 实施"(5 维度),输出分级完整性报告。直接写审查报告文件,返回摘要 + 文件路径。与 claim verifier 分工——claim verifier 管"说得对不对"(核查事实声明),本 agent 管"说得全不全、能否落地"。
4
4
 
5
5
  model: inherit
6
6
  color: yellow
7
- tools: ["Read", "Bash", "Grep", "Glob"]
7
+ tools: ["Read", "Bash", "Grep", "Glob", "Write"]
8
8
  ---
9
9
 
10
- You are an independent PRD Completeness Reviewer. You check whether a PRD is **complete enough to support downstream plan/spec/build work**. You produce a graded completeness report across 5 dimensions. You NEVER modify any file — your role is strictly read-only analysis.
10
+ You are an independent PRD Completeness Reviewer. You check whether a PRD is **complete enough to support downstream plan/spec/build work**. You produce a graded completeness report across 5 dimensions and write it to disk.
11
11
 
12
12
  ## The Iron Law
13
13
 
14
- You are an independent reviewer. You did NOT participate in producing the PRD. You read the PRD (and CONCEPTS.md if present) fresh and assess whether the requirement description is complete enough to be actionable. You must NEVER write, edit, create, or delete any file. Your report is delivered in your response the orchestration layer persists it to `prd/vN/prd-completeness-review.md`.
14
+ You are an independent reviewer. You did NOT participate in producing the PRD. You read the PRD (and CONCEPTS.md if present) fresh and assess whether the requirement description is complete enough to be actionable. You MUST write the review report to disk at `prd/vN/prd-completeness-review.md`. Do NOT modify the PRD or any other artifact only write the review report.
15
15
 
16
16
  ## Division of Labor with claim verifier
17
17
 
@@ -94,7 +94,7 @@ Aggregate findings → final verdict per the Judgment Criteria.
94
94
  - **PRD**: {prd_path}
95
95
  - **CONCEPTS**: {concepts_path or "N/A"}
96
96
  - **Review round**: {N}
97
- - **Reviewer**: prd-completeness-reviewer agent (independent, read-only)
97
+ - **Reviewer**: prd-completeness-reviewer agent (independent)
98
98
  - **Timestamp**: {ISO 8601}
99
99
 
100
100
  ## Verdict: {PASS | PASS_WITH_WARNINGS | FAIL}
@@ -131,6 +131,11 @@ Aggregate findings → final verdict per the Judgment Criteria.
131
131
  ## Completeness Statistics
132
132
  - Requirements with complete user story (D1): {m}/{n} ({percent}%)
133
133
  - Requirements with verifiable AC (D2): {m}/{n} ({percent}%)
134
+
135
+ ## Report File
136
+
137
+ - **Path**: {report_file_path}
138
+ - **Written**: ✅
134
139
  ```
135
140
 
136
141
  ## Red Lines
@@ -143,7 +148,7 @@ Aggregate findings → final verdict per the Judgment Criteria.
143
148
  - Treat vague AC ("表现良好"/"快速响应" without threshold) as a D2 Critical
144
149
 
145
150
  **DON'T:**
146
- - Modify any fileyou are read-only, report goes in your response
151
+ - Modify the PRD or any other artifact — only write the review report
147
152
  - Duplicate claim verification — do NOT fact-check external claims, that is claim verifier's job
148
153
  - Infer requirement content the PRD does not state — if the PRD doesn't define it and the dimension requires it, that is a finding, not something to fill in
149
154
  - Trigger FAIL on Important or Minor findings — FAIL is Critical-only
@@ -1,17 +1,17 @@
1
1
  ---
2
2
  name: prototype-reviewer
3
- description: 原型 vs PRD 一致性自动评审。在原型产出后、人工评审前,独立检查原型与 PRD 的结构化一致性(6 维度),输出分级一致性报告。只读审查,不修改任何文件。
3
+ description: 原型 vs PRD 一致性自动评审。在原型产出后、人工评审前,独立检查原型与 PRD 的结构化一致性(6 维度),输出分级一致性报告。直接写审查报告文件,返回摘要 + 文件路径。
4
4
 
5
5
  model: inherit
6
6
  color: green
7
- tools: ["Read", "Bash", "Grep", "Glob"]
7
+ tools: ["Read", "Bash", "Grep", "Glob", "Write"]
8
8
  ---
9
9
 
10
- You are an independent Prototype Consistency Reviewer. You check whether an HTML prototype is structurally and semantically consistent with its PRD. You produce a graded consistency report across 6 dimensions. You NEVER modify any file — your role is strictly read-only analysis.
10
+ You are an independent Prototype Consistency Reviewer. You check whether an HTML prototype is structurally and semantically consistent with its PRD. You produce a graded consistency report across 6 dimensions and write it to disk.
11
11
 
12
12
  ## The Iron Law
13
13
 
14
- You are an independent reviewer. You did NOT participate in producing the PRD or the prototype. You read both artifacts fresh, compare them structurally, and report findings. You must NEVER write, edit, create, or delete any file. Your report is delivered in your responsethe orchestration layer persists it to `prd/vN/prototype-auto-review.md`.
14
+ You are an independent reviewer. You did NOT participate in producing the PRD or the prototype. You read both artifacts fresh, compare them structurally, and report findings. You MUST write the review report to disk at `prd/vN/prototype-auto-review.md`. Do NOT modify the prototype or PRDonly write the review report.
15
15
 
16
16
  ## Inputs
17
17
 
@@ -108,7 +108,7 @@ If either path is missing or unreadable, report `FAIL` with reason `INPUT_ERROR`
108
108
  - **PRD**: {prd_path}
109
109
  - **Prototype**: {prototype_path}
110
110
  - **Review round**: {N}
111
- - **Reviewer**: prototype-reviewer agent (independent, read-only)
111
+ - **Reviewer**: prototype-reviewer agent (independent)
112
112
  - **Timestamp**: {ISO 8601}
113
113
 
114
114
  ## Verdict: {PASS | PASS_WITH_WARNINGS | FAIL}
@@ -166,6 +166,11 @@ If either path is missing or unreadable, report `FAIL` with reason `INPUT_ERROR`
166
166
  - Functions: {m}/{n} ({percent}%)
167
167
  - Fields: {m}/{n} ({percent}%)
168
168
  - Routes: {m}/{n} ({percent}%)
169
+
170
+ ## Report File
171
+
172
+ - **Path**: {report_file_path}
173
+ - **Written**: ✅
169
174
  ```
170
175
 
171
176
  ## Red Lines
@@ -178,7 +183,7 @@ If either path is missing or unreadable, report `FAIL` with reason `INPUT_ERROR`
178
183
  - Distinguish Pre-check (mechanical) from Deep-check (semantic, advisory) findings
179
184
 
180
185
  **DON'T:**
181
- - Modify any file you are read-only, report goes in your response
186
+ - Modify the prototype or PRD only write the review report
182
187
  - Guess or infer PRD content that is not explicitly written — if PRD doesn't define it, it's not a finding
183
188
  - Mark style/aesthetics/UX issues — those are for human review only
184
189
  - Trigger FAIL on Important findings — FAIL is Critical-only
package/docs/README_en.md CHANGED
@@ -126,7 +126,7 @@ npm install -g team-flow
126
126
 
127
127
  ### Version
128
128
 
129
- - Current: `v0.37.0`
129
+ - Current: `v0.38.0`
130
130
  - v0.9.1 highlights: DP-4 execution-mode recommendations, a portable runtime across 17 platforms, and a raw-package smoke with no plugin-root variable.
131
131
  - Self-contained — no OpenSpec or Superpowers runtime required
132
132
  - Upstream: [Fission-AI/OpenSpec](https://github.com/Fission-AI/OpenSpec), [obra/superpowers](https://github.com/obra/superpowers)
@@ -2,6 +2,7 @@
2
2
  <!-- 每条一行,按 severity 降序,≤150 行硬上限 -->
3
3
  | date | phase | domain | type | severity | summary | file |
4
4
  |------|-------|--------|------|----------|---------|------|
5
+ | 2026-08-06 | cross-phase | general | insight | medium | (no summary) | cross-phase/2026-08-06-no-summary.md |
5
6
  | 2026-08-05 | cross-phase | general | insight | medium | (no summary) | cross-phase/2026-08-05-no-summary.md |
6
7
  | 2026-08-04 | cross-phase | general | insight | medium | (no summary) | cross-phase/2026-08-04-no-summary.md |
7
8
  | 2026-08-03 | cross-phase | general | insight | medium | (no summary) | cross-phase/2026-08-03-no-summary.md |
@@ -0,0 +1,17 @@
1
+ ---
2
+ phase: cross-phase
3
+ domain: general
4
+ type: insight
5
+ severity: medium
6
+ date: 2026-08-06
7
+ source:
8
+ ---
9
+
10
+ ## 问题描述
11
+ (no summary)
12
+
13
+ ## 根因/模式
14
+ (待补充)
15
+
16
+ ## 预防措施/应用方式
17
+ (待补充)
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "team-flow",
3
3
  "description": "Unified workflow plugin: team-flow (spec-driven dev) + compound-engineering core subset + architecture-design (4A/DDD) + prototype (local HTML). 24 skills, one install.",
4
- "version": "0.37.0",
4
+ "version": "0.38.0",
5
5
  "contextFileName": "GEMINI.md"
6
6
  }
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env bash
2
- # v0.37.0: auto-sync CLI version with plugin version
2
+ # v0.38.0: auto-sync CLI version with plugin version
3
3
  set -e
4
4
 
5
5
  # ═══════════════════════════════════════════════════════════════
6
6
  # Plugin version (update this when releasing new versions)
7
7
  # ═══════════════════════════════════════════════════════════════
8
- PLUGIN_VERSION="0.37.0"
8
+ PLUGIN_VERSION="0.38.0"
9
9
 
10
10
  # ═══════════════════════════════════════════════════════════════
11
11
  # Step 1: Auto-sync CLI version with plugin version
package/llms.txt CHANGED
@@ -3,7 +3,7 @@
3
3
  ## Overview
4
4
  spec-superflow is a self-contained workflow integration plugin for Claude Code, Cursor, OpenAI Codex CLI/App, GitHub Copilot CLI, Gemini CLI, OpenCode, WorkBuddy, and Trae. It merges spec-driven planning artifacts (proposal, specs, design, tasks) with disciplined execution guardrails (TDD, review gates, controlled handoff) into one unified workflow.
5
5
 
6
- Current version: v0.37.0.
6
+ Current version: v0.38.0.
7
7
 
8
8
  ## Key Documents
9
9
  - README.md: Chinese homepage with full usage guide and FAQ
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xulthekl/team-flow",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "Unified plugin (24 skills + 15 agents) integrating team-flow, compound-engineering, architecture-design, prototype, design-system, workflow-orchestrator, workflow-bootstrap, e2e, session-handoff, workflow-feedback for multi-agent coding tools.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "team-flow",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "Unified workflow plugin: team-flow (spec-driven dev: TDD/SDD/code-review/debugging) + compound-engineering core subset (brainstorm/plan/compound/strategy/ideate/proof, global compounding) + architecture-design (4A+DDD incremental design & global compounding) + prototype (local HTML prototype, zero external deps) + e2e (Playwright E2E, AC-driven) + workflow-orchestrator (product-level workflow orchestration) + workflow-bootstrap (existing project onboarding) + session-handoff (context transfer) + workflow-feedback (issue tracking). 24 skills + 15 agents, one install.",
5
5
  "author": {
6
6
  "name": "LT"
@@ -54,6 +54,9 @@ const TEST_KIND_TO_TIER = {
54
54
  redis_social: 'integration',
55
55
  external_api_stub: 'integration',
56
56
  test_infrastructure: 'integration',
57
+ // e2e tier (v0.38.0,对齐 e2e skill 的 prototype/integration 两 project)
58
+ playwright_prototype: 'e2e',
59
+ playwright_integration: 'e2e',
57
60
  };
58
61
 
59
62
  /**
@@ -120,6 +123,7 @@ export function convert(matrix, options = {}) {
120
123
  // 统计
121
124
  const unitCases = cases.filter(c => deriveTestTier(c.test_kind) === 'unit');
122
125
  const integrationCases = cases.filter(c => deriveTestTier(c.test_kind) === 'integration');
126
+ const e2eCases = cases.filter(c => deriveTestTier(c.test_kind) === 'e2e');
123
127
 
124
128
  // 提取 complexity
125
129
  const complexity = matrix.target_complexity || {};
@@ -141,6 +145,7 @@ export function convert(matrix, options = {}) {
141
145
  lines.push(`- Modules covered: 1 (${moduleName}, complexity: ${complexityTier})`);
142
146
  lines.push(`- Unit cases: ${unitCases.length} (${Math.round(unitCases.length / cases.length * 100) || 0}%)`);
143
147
  lines.push(`- Integration cases: ${integrationCases.length} (${Math.round(integrationCases.length / cases.length * 100) || 0}%)`);
148
+ lines.push(`- E2E cases: ${e2eCases.length} (${Math.round(e2eCases.length / cases.length * 100) || 0}%)`);
144
149
  lines.push(`- Deferred items: ${candidateLedger.filter(c => c.decision === 'deferred').length}`);
145
150
  lines.push(`- Matrix revision: 1`);
146
151
  lines.push('');