feat(ai): verify RAG and Nemotron runtime canaries
Some checks failed
CD Pipeline / deploy (push) Has been cancelled

This commit is contained in:
ogt
2026-07-17 11:11:08 +08:00
parent 9d2b74376b
commit 95682ee3bc
26 changed files with 1459 additions and 165 deletions

View File

@@ -73,6 +73,7 @@
- 2026-05-29 追記:同步 PChome near-threshold / focused identity 回收系列後的 `services/marketplace_product_matcher.py` 行數;此處只更新 inventory不變更拆分策略。
- 2026-07-14 追記:`services/pchome_revenue_growth_service.py` 因新增可稽核比價覆蓋契約與 active-catalog scope 增至 1,366 行;此輪先完成 P0 正確性,後續 `ARCH-P1-001` 應拆出 catalog coverage query 與 metric-contract builder主 service 保留 orchestration。
- 2026-07-15 追記:`services/pchome_growth_same_item_reconciliation.py` 已達 880 行;同商品 identity verifier、exact DB readback、coverage post-verifier 與 durable receipt persistence 應在 `ARCH-P1-001` 拆成獨立 policy/verifier/repository主模組只保留 bounded orchestration。
- 2026-07-17 追記Nemotron decision-only canary 的排程執行、Telegram acknowledgement 與 durable receipt 終局已移至 `services/nemotron_decision_canary_scheduler_task.py`120 行);`run_scheduler.py` 僅保留薄委派與排程註冊,清冊同步為 1,684 行,下一步仍依序拆 task registration 與 runtime startup。
## 達到或超過 800 行檔案清單
@@ -144,7 +145,7 @@
| 1417 | `services/telegram_templates.py` | P1 templates | decision、incident、report renderer 分離 |
| 1409 | `services/import_service.py` | P1 import | acquisition、validation、writer、verifier 分離 |
| 1394 | `services/telegram_bot_service.py` | P1 bot | command、formatter、client 分離 |
| 1440 | `run_scheduler.py` | P1 scheduler entry、拆分進行中 | OpenClaw timed-job registry 已外移;下一步拆 task registration 與 runtime startup |
| 1684 | `run_scheduler.py` | P1 scheduler entry、拆分進行中 | OpenClaw timed-job registry、Nemotron canary task adapter 已外移;下一步拆 task registration 與 runtime startup |
| 1306 | `routes/system_public_routes.py` | P1 public routes | health、metrics、public projection 分離 |
| 1269 | `app.py` | P1 bootstrap、拆分進行中 | web scheduler 相容層已移到 `services/web_scheduler_compat.py`;下一步拆 extension setup |
| 1272 | `services/code_review_pipeline_service.py` | P2 code review | scan、normalize、persist、report 分離 |