新增市場情報 queue writer run readiness
All checks were successful
CD Pipeline / deploy (push) Successful in 1m3s

This commit is contained in:
OoO
2026-05-19 11:40:55 +08:00
parent 21053aeb50
commit 1274dadfa1
9 changed files with 744 additions and 52 deletions

View File

@@ -186,6 +186,7 @@ EwoooC 目前已有 MOMO EDM / 節慶活動資料、`promo_products`、PChome
- 2026-05-19 追加 candidate queue writer post-write smoke`services.market_intel.candidate_queue_writer_postwrite_smoke``/api/market_intel/manual_sample_review/candidate_queue_writer_postwrite_smoke` 依 transaction preview dedupe key 只讀查詢 `market_alert_review_queue`,供 CLI 真寫入後確認 row 是否落地。UI 預設 `execute=false` 不連 DB人工 smoke 即使 `execute=true` 也只讀查詢,不寫 DB、不 commit、不掛 scheduler。
- 2026-05-19 追加 candidate queue writer operator drill`services.market_intel.candidate_queue_writer_operator_drill``/api/market_intel/manual_sample_review/candidate_queue_writer_operator_drill` 組裝 reviewed sample、備份、read-only preflight、CLI writer、post-write smoke 的操作員順序與 gate。此 drill 只輸出可稽核操作計畫API/UI 不讀 approval token、不執行 CLI、不連 DB、不寫 queue、不 commit、不掛 scheduler。
- 2026-05-19 追加 candidate queue writer run package`services.market_intel.candidate_queue_writer_run_package``/api/market_intel/manual_sample_review/candidate_queue_writer_run_package` 整理正式 CLI 小流量寫入前的 payload manifest、required artifacts、command bundle、operator signoff 與 rollback plan。此 package 只輸出可稽核證據包預覽API/UI 不產檔、不讀 approval token、不執行 CLI、不連 DB、不寫 queue、不 commit、不掛 scheduler。
- 2026-05-19 追加 candidate queue writer run readiness`services.market_intel.candidate_queue_writer_run_readiness``/api/market_intel/manual_sample_review/candidate_queue_writer_run_readiness` 檢查正式 CLI 小流量寫入前的 reviewed sample 路徑、備份路徑、preflight 輸出、migration live smoke、shell-only token acknowledgement 與禁止 token 進 API。此 readiness 只輸出操作員證據缺口API/UI 不產檔、不讀 approval token、不執行 CLI、不連 DB、不寫 queue、不 commit、不掛 scheduler。
### Phase 4Coupang / Shopee Adapter