feat: add dynamic pipeline detection for team sessions v5 architecture

Backend:
- Fix readLegacyFiles to handle { name, prefix }[] role format
- Add roles backfill in getEffectiveTeamMeta when meta.json exists
- Ensure pipeline_stages and roles flow correctly to API response

Team Skills:
- Add pipeline metadata initialization to all 16 team skill coordinator roles
- Each skill now reports pipeline_stages and roles to meta.json at session init

Documentation:
- Update command references and component documentation
- Add numerical-analysis-workflow skill spec
- Sync zh/en translations for commands and components
This commit is contained in:
catlog22
2026-03-04 14:52:07 +08:00
parent b203ada9c5
commit f389e3e6dd
56 changed files with 2007 additions and 201 deletions

View File

@@ -253,7 +253,7 @@ memory/
- [Claude Commands](../commands/claude/)
- [Codex Skills](./codex-index.md)
- [功能文档](../features/)
- [功能文档](../features/spec)
## 统计数据

View File

@@ -73,16 +73,16 @@ Phase 6: Readiness Check -> readiness-report.md + spec-summary.md
**规范文档**(必读):
| 文档 | 用途 | 优先级 |
|------|------|--------|
| [specs/document-standards.md](specs/document-standards.md) | 文档格式、frontmatter、命名约定 | **P0 - 执行前必读** |
| [specs/quality-gates.md](specs/quality-gates.md) | 每阶段质量关卡标准和评分 | **P0 - 执行前必读** |
| [specs/document-standards.md](/skills/specs/document-standards) | 文档格式、frontmatter、命名约定 | **P0 - 执行前必读** |
| [specs/quality-gates.md](/skills/specs/quality-gates) | 每阶段质量关卡标准和评分 | **P0 - 执行前必读** |
**模板文件**(生成前必读):
| 文档 | 用途 |
|------|------|
| [templates/product-brief.md](templates/product-brief.md) | 产品简报文档模板 |
| [templates/requirements-prd.md](templates/requirements-prd.md) | PRD 文档模板 |
| [templates/architecture-doc.md](templates/architecture-doc.md) | 架构文档模板 |
| [templates/epics-template.md](templates/epics-template.md) | Epic/Story 文档模板 |
| [templates/product-brief.md](/skills/templates/product-brief) | 产品简报文档模板 |
| [templates/requirements-prd.md](/skills/templates/requirements-prd) | PRD 文档模板 |
| [templates/architecture-doc.md](/skills/templates/architecture-doc) | 架构文档模板 |
| [templates/epics-template.md](/skills/templates/epics-template) | Epic/Story 文档模板 |
**输出结构**:
```plaintext
@@ -230,16 +230,16 @@ Artifacts N×Role Synthesis 1×Role
**核心规范**(必读):
| 文档 | 用途 | 优先级 |
|------|------|--------|
| [../_shared/SKILL-DESIGN-SPEC.md](../_shared/SKILL-DESIGN-SPEC.md) | 通用设计规范 — 定义所有 Skills 的结构、命名、质量标准 | **P0 - 关键** |
| [specs/reference-docs-spec.md](specs/reference-docs-spec.md) | 参考文档生成规范 — 确保生成的 Skills 有适当的基于阶段的参考文档 | **P0 - 关键** |
| [_shared/SKILL-DESIGN-SPEC.md](/skills/_shared/SKILL-DESIGN-SPEC) | 通用设计规范 — 定义所有 Skills 的结构、命名、质量标准 | **P0 - 关键** |
| [specs/reference-docs-spec.md](/skills/specs/reference-docs-spec) | 参考文档生成规范 — 确保生成的 Skills 有适当的基于阶段的参考文档 | **P0 - 关键** |
**模板文件**(生成前必读):
| 文档 | 用途 |
|------|------|
| [templates/skill-md.md](templates/skill-md.md) | SKILL.md 入口文件模板 |
| [templates/sequential-phase.md](templates/sequential-phase.md) | 顺序阶段模板 |
| [templates/autonomous-orchestrator.md](templates/autonomous-orchestrator.md) | 自治编排器模板 |
| [templates/autonomous-action.md](templates/autonomous-action.md) | 自治动作模板 |
| [templates/skill-md.md](/skills/templates/skill-md) | SKILL.md 入口文件模板 |
| [templates/sequential-phase.md](/skills/templates/sequential-phase) | 顺序阶段模板 |
| [templates/autonomous-orchestrator.md](/skills/templates/autonomous-orchestrator) | 自治编排器模板 |
| [templates/autonomous-action.md](/skills/templates/autonomous-action) | 自治动作模板 |
**执行流程**:
```plaintext

View File

@@ -77,15 +77,15 @@
**规范文档**(必读):
| 文档 | 用途 | 优先级 |
|------|------|--------|
| [specs/review-dimensions.md](specs/review-dimensions.md) | 审查维度定义和检查点 | **P0 - 最高** |
| [specs/issue-classification.md](specs/issue-classification.md) | 问题分类和严重程度标准 | **P0 - 最高** |
| [specs/quality-standards.md](specs/quality-standards.md) | 审查质量标准 | P1 |
| [specs/review-dimensions.md](/skills/specs/review-dimensions) | 审查维度定义和检查点 | **P0 - 最高** |
| [specs/issue-classification.md](/skills/specs/issue-classification) | 问题分类和严重程度标准 | **P0 - 最高** |
| [specs/quality-standards.md](/skills/specs/quality-standards) | 审查质量标准 | P1 |
**模板文件**(生成前必读):
| 文档 | 用途 |
|------|------|
| [templates/review-report.md](templates/review-report.md) | 审查报告模板 |
| [templates/issue-template.md](templates/issue-template.md) | 问题记录模板 |
| [templates/review-report.md](/skills/templates/review-report) | 审查报告模板 |
| [templates/issue-template.md](/skills/templates/issue-template) | 问题记录模板 |
**执行流程**:
```
@@ -234,5 +234,5 @@ const query = 'SELECT * FROM users WHERE username = ?';
await db.query(query, [username]);
```
**Reference**: [specs/review-dimensions.md](specs/review-dimensions.md) - Security section
**Reference**: [specs/review-dimensions.md](/skills/specs/review-dimensions) - Security section
```

View File

@@ -440,7 +440,7 @@ Explore → Document → Log → Analyze → Correct Understanding → Fix → V
## 相关文档
- [Claude Skills](./claude-index.md)
- [功能文档](../features/)
- [功能文档](../features/spec)
## 最佳实践