更新 Claude 盤點接手記憶

This commit is contained in:
OoO
2026-05-13 16:16:40 +08:00
parent b7ba54a88f
commit 0c89fbea63

View File

@@ -61,6 +61,8 @@
- `routes/price_comparison_routes.py` 的 MOMO crawler TODO 已接到既有 `services.momo_crawler.search_momo_products()`;未手動上傳 MOMO 商品時會自動抓 MOMO再交給比價服務。
- 未引用的根層 `templates/list.html` Phase 4 placeholder 已刪除,真實缺貨清單 route 使用 `vendor_stockout_list_v2.html`(或 `ui=legacy` 時的 `vendor_stockout/list.html``tests/test_phase3f_cleanup_contracts.py` 會防止根層 placeholder 回來。
- AI 觀測台 V3 排版規範已補強:`scripts/check_responsive_overflow.js` 會把視覺 overflow offenders 視為失敗,並允許表格/圖表在 `.obs-table-shell``.obs-chart-frame` 等局部容器內滾動;`observability-system.css` / `web/static/css/observability-system.css` 已同步新增 bounded table/chart/mobile containmentCSS mirror 與 `quick_review.sh --observability-qa --skip-production` 均通過。
- app.py/BP 路由雙寫已完成收斂active `@app.route` 為 0`USE_MODULAR_ROUTES` 與舊 routes registry shim 已不存在;`tests/test_phase3f_cleanup_contracts.py::test_app_py_stays_blueprint_only_for_routes` 會防止 route decorator 回到 `app.py`
- AI 觀測台 badge/chip 對比規範已補強:`.momo-observability-mode` 內的 badge、pill 與 nested surface 會改走亮底、8px radius、無負字距、可換行且不再殘留低對比 legacy dark-hero 樣式CSS mirror、`quick_review.sh --observability-ui``quick_review.sh --observability-qa --skip-production` 均通過。
- Telegram `momo:eig:<event_id>` callback 已在 `routes/openclaw_bot_routes.py``services/telegram_bot_service.py` 實作並有 webhook 測試覆蓋,不是未實作缺口。
- Telegram `date_*` / `goal_*` 不是死 callback handler按鈕先送 `await:*` 進入輸入等待狀態,使用者下一則文字才由 pending action 消費;`tests/test_openclaw_bot_menu_keyboards.py``tests/test_openclaw_bot_routes_webhook.py` 已覆蓋。
- `services/ai_automation_smoke_service.py` 不是死 service`run_scheduler.py` 每日 09:10 掛 `run_ai_smoke_daily_summary_task()`,該 task 會呼叫 `send_smoke_daily_summary()``tests/test_ai_automation_smoke_service.py``tests/test_ai_automation_metrics.py` 已覆蓋。
@@ -185,3 +187,7 @@
- `ca97840` 守住 Agent Actions 動態白名單邊界
- `ba140f1` 移除未引用缺貨清單佔位模板
- `9af9592` 修正 AI 觀測台 V3 排版規範
- `a305b26` 記錄觀測台 V3 排版守門
- `830661b` 守住 app.py 不再新增路由
- `c50180f` 補齊 AI 觀測台 badge 對比規範
- `b7ba54a` 更新 ADR-017 模組化現況