59 lines
1.8 KiB
Markdown
59 lines
1.8 KiB
Markdown
|
|
# T071 — 全域驗證與文件收尾
|
|||
|
|
|
|||
|
|
> Status: `done`
|
|||
|
|
> Milestone: `M7`
|
|||
|
|
> Est. change: `~80 doc/test lines`
|
|||
|
|
|
|||
|
|
## Goal
|
|||
|
|
|
|||
|
|
完成後,有逐項證據證明需求、Spec 17 場景、後端與前端 gates 全部完成,文件狀態與程式一致。
|
|||
|
|
|
|||
|
|
## Depends on
|
|||
|
|
|
|||
|
|
- T052、T070
|
|||
|
|
|
|||
|
|
## Inputs
|
|||
|
|
|
|||
|
|
- 讀取 / 依賴:
|
|||
|
|
- 檔案:requirements.md、spec.md、plan.md、tasks/INDEX.md、所有相關測試
|
|||
|
|
- 既有能力 / API:backend make targets、web npm scripts、git diff/status
|
|||
|
|
- Spec 段落:全文件,特別是 §9
|
|||
|
|
|
|||
|
|
## Outputs
|
|||
|
|
|
|||
|
|
### 程式變更(預期路徑)
|
|||
|
|
|
|||
|
|
| 路徑 | 動作 | 說明 |
|
|||
|
|
|------|------|------|
|
|||
|
|
| `docs/product/scout-topic-quality/verification.md` | add | 建立需求/場景→測試/命令/結果證據矩陣。 |
|
|||
|
|
| `docs/product/scout-topic-quality/tasks/INDEX.md` | edit | 只將已驗證 tasks 標 done。 |
|
|||
|
|
| `docs/product/scout-topic-quality/README.md` | edit | 所有證據成立後才標完成。 |
|
|||
|
|
| `docs/product/demand-radar/spec.md` | edit | 僅更新與 Scout 新行為直接相關的現況描述。 |
|
|||
|
|
|
|||
|
|
### 行為變更
|
|||
|
|
|
|||
|
|
- 無新增產品行為;只收斂證據與產品真相。
|
|||
|
|
|
|||
|
|
### API / 契約(若有)
|
|||
|
|
|
|||
|
|
- 驗證 goctl 生成、102000 envelope、pagination、UTC ns、guarded job 與 token 分離。
|
|||
|
|
|
|||
|
|
## Out of scope
|
|||
|
|
|
|||
|
|
- 不為了讓 gate 變綠而弱化測試、刪除失敗案例或改動 old/。
|
|||
|
|
|
|||
|
|
## Acceptance
|
|||
|
|
|
|||
|
|
- [x] requirements 每一 P0 與 Spec 17 場景都有直接證據,無缺漏才可宣告完成。
|
|||
|
|
- [x] 指令:
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
cd apps/backend && make gen-api && make test && make test-integration && make build
|
|||
|
|
cd ../web && npm test && npm run lint && npm run build
|
|||
|
|
cd ../.. && git diff --check && git status --short
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
## Notes
|
|||
|
|
|
|||
|
|
若任何 gate 不可執行,verification 明確標為未證實,不可用「沒有看到問題」代替。
|