thread-master/docs/product/haixun-console/tasks/T021-seed-example-play.md

44 lines
782 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# T021 — Seed example play root→cast→lead
> Status: `todo`
> Milestone: `M9`
> Est. change: `~100 lines`
## Goal
seed 內含示範串root(lead) → reply(cast) → reply(lead),方便一進 Studio/Outbox 就看懂互回。
## Depends on
- T008, T013
## Inputs
- Spec 驗收 3、requirements 範例劇本
## Outputs
### 程式變更
| 路徑 | 動作 | 說明 |
|------|------|------|
| `apps/web/src/data/mock/seed.ts` | edit | 範例 play + 可選 outbox |
### 行為變更
- 首次 seed 可看到三步對話語意
## Out of scope
- AI 產文
## Acceptance
- [ ] 清 localStorage 後重登,仍有範例(或文件說明 clear key
- [ ] 範例第三步 account 為 lead
- [ ] `npm run build` 通過
```bash
cd apps/web && npm run build
```