---
Spec-Type: control
Initiative: 20260410-baseline-fullcomplete
Status: draft
Owner-Session: ys-team
Write-Scope:
  - examples/baseline/.ys_team/templates/requirement.md
  - examples/baseline/.ys_team/templates/workspace.md
  - examples/baseline/.ys_team/templates/review.md
  - examples/baseline/.ys_team/templates/qa-report.md
  - .ys_team/templates/requirement.md
  - .ys_team/templates/workspace.md
  - .ys_team/templates/review.md
  - .ys_team/templates/qa-report.md
Depends-On: []
Verification: "ls examples/baseline/.ys_team/templates/ | wc -l  # 期望 7; ls .ys_team/templates/ | wc -l  # 期望 7"
---

# Baseline 完整化：补全 semi-auto/full-auto 阶段模板

## Background

`examples/baseline/` 在 manual 模式下建立，只有 3 个模板。semi-auto/full-auto 引入后，阶段间通信依赖 requirement、workspace、review、qa-report 4 个文件，但 baseline 和本仓 `.ys_team/templates/` 都没有提供对应模板。

同时，对比发现 ai-gateway 的 `_sources.md` 格式与 baseline 规范不一致（缺 source URL、版本、日期）。根因是 init/rebuild skill 执行时未参照 baseline 格式，属于 skill 层问题，超出本 spec 范围，记为后续追踪项。

## Goals

1. 在 `examples/baseline/.ys_team/templates/` 补全 4 个阶段模板（通用版本，不含项目特定命令）
2. 在 `.ys_team/templates/` 同步补全相同 4 个模板（本仓已切 full-auto）
3. qa-report 模板不包含项目特定测试命令，改为通用注释占位

## Non-Goals

- 不修改 ys-team-init / ys-team-rebuild skill（_sources.md 格式问题由后续 spec 处理）
- 不修改已有 3 个模板（control、work、roadmap-version）

## Deliverables

| 文件 | 状态 |
|------|------|
| `examples/baseline/.ys_team/templates/requirement.md` | 新增 |
| `examples/baseline/.ys_team/templates/workspace.md` | 新增 |
| `examples/baseline/.ys_team/templates/review.md` | 新增 |
| `examples/baseline/.ys_team/templates/qa-report.md` | 新增 |
| `.ys_team/templates/requirement.md` | 新增 |
| `.ys_team/templates/workspace.md` | 新增 |
| `.ys_team/templates/review.md` | 新增 |
| `.ys_team/templates/qa-report.md` | 新增 |

## Acceptance Criteria

- [ ] `examples/baseline/.ys_team/templates/` 共 7 个文件
- [ ] `.ys_team/templates/` 共 7 个文件
- [ ] qa-report.md 中没有 `uv run pytest` 等项目特定命令
- [ ] 4 个新模板的 frontmatter 与现有 control.md 风格一致

## Collaboration Summary

- Participants: 方法论架构师、产品演进负责人、交付守门人
- Reporter: 交付守门人
- Rounds: 1
- Escalations: 无
- Estimated Cost: minimal

## Verification

```bash
ls examples/baseline/.ys_team/templates/ | wc -l   # 期望 7
ls .ys_team/templates/ | wc -l                      # 期望 7
grep -r "uv run pytest" examples/baseline/           # 期望无输出
```

## Acceptance Evidence

```
examples/baseline/.ys_team/templates/ 文件数：7 ✅
.ys_team/templates/ 文件数：7 ✅
grep -r "uv run pytest" examples/baseline/：无输出 ✅
```

## Documentation Updates

无需更新 module-index.md（模板细节变化，不影响模块边界描述）

## Risks

- 极低：纯新增文件，不影响现有结构

## Rollback Plan

删除新增的 8 个文件即可回滚。

## Note

_sources.md 格式问题（ai-gateway 与 baseline 规范不一致）：根因为 ys-team-init/rebuild skill 执行时未参照 baseline 格式，应在后续 spec 中通过更新 skill 执行说明修复。
