thread-master/docs/product/demand-radar/TESTING-AND-GAPS.md

25 lines
1.3 KiB
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.

# Testing & GapsT604
## 已覆蓋
| 層 | 指令 | 狀態 |
|----|------|------|
| radar domain/repo/usecase | `go test ./internal/module/radar/...` | 通過 |
| job schedule | `go test ./internal/module/job/...` | 通過 |
| 後端 build | `make build` | 通過 |
| 前端 tokens | `npm run check:tokens` | 通過 |
| 前端 unit | `npm run test` | 49 passed |
| 前端 build | `npm run build` | 通過 |
| 判定閘門 | `docs/product/demand-radar/JUDGE-ACCURACY.md` | 可進 M3 |
## 已知缺口(後續)
1. **真實 ExaChrome 抽樣**M2 整合測以 fake hits 為主;上線前需對真實 Threads 樣本再跑 T535 流程。
2. **回覆 Outbox 真入隊**`MarkReplyUsed(channel=outbox)` 已過 AccountHealth throttle 閘並記 `sent_channel`;完整寫入既有 Outbox 佇列/自動發佈仍可再加深。
3. **CRM stats 三維聚合加深**sourceswon 骨架已回termvariant 轉換率需成交與 MarkUsed 樣本累積後再算率。
4. **已補2026-08**Today 摘要卡、手機底欄 radar 主四格、watches 立即巡、FollowUp contact brief、contact 詳情商機、ScanFollowUps worker tick、scout promote API+UI、MarkReplyUsed、FollowUp AI 草稿、CRM Harbor Desk 頁。
## 命名紅線
全域禁用 `lead` 指銷售線索APIUI 一律 OpportunityContact。