新增市場情報 AI summary Telegram dispatch archive
All checks were successful
CD Pipeline / deploy (push) Successful in 1m22s

This commit is contained in:
OoO
2026-05-20 11:40:13 +08:00
parent c2528c1339
commit 6bf05ec2f1
9 changed files with 1182 additions and 92 deletions

View File

@@ -220,6 +220,7 @@ EwoooC 目前已有 MOMO EDM / 節慶活動資料、`promo_products`、PChome
- 2026-05-20 追加 candidate queue review AI summary persistence Telegram dispatch run readiness`services.market_intel.candidate_queue_review_ai_summary_persistence_telegram_dispatch_run_readiness``/api/market_intel/manual_sample_review/candidate_queue_review_ai_summary_persistence_telegram_dispatch_run_readiness` 在 dispatch run package 後檢查 message preview、run package、dispatch receipt artifact path、manual command review、Telegram token shell-only 與 no-side-effect 確認。此 readiness 只允許放行到人工 Telegram dispatch 後的 receipt reviewAPI/UI 不讀 approval/Telegram token、不呼叫 LLM、不開 DB、不寫檔、不派送 Telegram、不更新 `review_state`、不 commit、不掛 scheduler。
- 2026-05-20 追加 candidate queue review AI summary persistence Telegram dispatch run receipt`services.market_intel.candidate_queue_review_ai_summary_persistence_telegram_dispatch_run_receipt``/api/market_intel/manual_sample_review/candidate_queue_review_ai_summary_persistence_telegram_dispatch_run_receipt` 審核人工 Telegram 派送後貼回的 message id、channel、summary hash、receipt artifact 與 token 外洩風險。此 receipt 只允許放行到後續 Telegram dispatch closeoutAPI/UI 不讀 approval/Telegram token、不呼叫 LLM、不補發或重送 Telegram、不開 DB、不寫檔、不更新 `review_state`、不 commit、不掛 scheduler。
- 2026-05-20 追加 candidate queue review AI summary persistence Telegram dispatch closeout`services.market_intel.candidate_queue_review_ai_summary_persistence_telegram_dispatch_closeout``/api/market_intel/manual_sample_review/candidate_queue_review_ai_summary_persistence_telegram_dispatch_closeout` 在人工 Telegram receipt 通過後整理 closeout artifact、receipt archive、message visibility、duplicate dispatch 與 post-closeout monitoring gate。此 closeout 只允許放行到後續封存/報表 gateAPI/UI 不讀 approval/Telegram token、不呼叫 LLM、不補發或重送 Telegram、不開 DB、不寫檔、不更新 `review_state`、不 commit、不掛 scheduler。
- 2026-05-20 追加 candidate queue review AI summary persistence Telegram dispatch archive`services.market_intel.candidate_queue_review_ai_summary_persistence_telegram_dispatch_archive``/api/market_intel/manual_sample_review/candidate_queue_review_ai_summary_persistence_telegram_dispatch_archive` 在 closeout 通過後整理 message id、channel、summary hash、receipt/closeout/message preview/archive artifact path 與 duplicate/monitoring audit manifest。此 archive 只輸出封存預覽並放行到後續 archive summary / 報表輸入 gateAPI/UI 不讀 approval/Telegram token、不呼叫 LLM、不補發或重送 Telegram、不開 DB、不寫檔、不更新 `review_state`、不 commit、不掛 scheduler。
### Phase 4Coupang / Shopee Adapter

View File

@@ -24,6 +24,7 @@
- 2026-05-20 追記:同步背景 PChome feeder 人工覆核回饋採納後的 `services/competitor_price_feeder.py` 行數;此處只更新 inventory不變更 feeder 行為。
- 2026-05-20 追記:同步背景 PChome 比價人工覆核閉環後的 `services/competitor_intel_repository.py` 行數;此處只更新 inventory不變更競品情報 repository 行為。
- 2026-05-20 追記:同步背景 PChome identity / price direction 更新後的 `services/marketplace_product_matcher.py` 行數;此處只更新 inventory不變更商品比對行為。
- 2026-05-20 追記:同步背景 PChome crawler 搜尋韌性擴充後的 `services/pchome_crawler.py` 行數;此處只更新 inventory不變更 PChome crawler 行為。
## 達到或超過 800 行檔案清單
@@ -53,6 +54,7 @@
| 972 | `services/marketplace_product_matcher.py` | P2 marketplace matcher | identity parsing / unit-comparable scoring / persistence normalization |
| 865 | `routes/daily_sales_routes.py` | P2 Daily Sales Blueprint | route glue / export helpers / daily query and formatting service |
| 844 | `services/ollama_service.py` | P2 Ollama client | host health / request client / fallback policy / response parsing |
| 849 | `services/pchome_crawler.py` | P2 PChome crawler | search fetch / parsing / fallback source handling / rate limit policy |
| 1042 | `services/code_review_pipeline_service.py` | P2 Code review pipeline service | scan orchestration / finding normalization / persistence adapter |
| 953 | `routes/export_routes.py` | P2 Export flow | export command/router glue / file path / download orchestration |
| 816 | `services/ppt_vision_service.py` | P2 PPT vision QA service | runtime state / queue status / model probe / audit execution 分離 |