新增市場情報候選活動交接預覽
All checks were successful
CD Pipeline / deploy (push) Successful in 1m3s

This commit is contained in:
OoO
2026-05-19 00:54:41 +08:00
parent c08f76f315
commit 7a6afa3055
10 changed files with 473 additions and 39 deletions

View File

@@ -176,6 +176,7 @@ EwoooC 目前已有 MOMO EDM / 節慶活動資料、`promo_products`、PChome
- 2026-05-19 追加 manual sample acceptance contract`services.market_intel.manual_sample_acceptance``/api/market_intel/manual_sample_acceptance` 定義 sample fetch 結果回來後的必要欄位、診斷欄位、驗收門檻、拒收條件、人工決策與升級順序。此階段不載入 sample result、不抓外部網站、不允許候選導入、不寫 DB、不掛 scheduler。
- 2026-05-19 追加 manual sample result review`services.market_intel.manual_sample_review``/api/market_intel/manual_sample_review` 以純函式評估操作員提供的 sample result 是否通過 Phase 48 驗收門檻並可進候選預覽。API/UI 預設不載入 sample result不抓外站、不存檔、不寫 DB、不允許候選導入、不掛 scheduler即使審核通過也只開 candidate preview gate正式 market_* 寫入仍需後續獨立批准。
- 2026-05-19 追加 manual sample review evaluate`/api/market_intel/manual_sample_review/evaluate` 提供 POST-only 即時審核入口,操作員可貼入單筆 sample result JSON 取得 PASS/BLOCK 與 candidate preview readiness。此入口不保存 payload、不回吐完整 HTML、不連外、不寫 DB、不建立候選活動、不允許候選導入、不掛 schedulerinvalid JSON 只回診斷錯誤。
- 2026-05-19 追加 manual sample candidate handoff`/api/market_intel/manual_sample_review/candidate_handoff` 將已通過審核的 sample result 轉成只讀候選活動 handoff payload包含 candidate key、平台、來源、URL、信心分級、排序與人工審核狀態。此入口保持 CSRF 保護,不保存 handoff、不建立 review queue、不寫 market_*、不允許候選導入、不掛 scheduler。
### Phase 4Coupang / Shopee Adapter