記錄 V10.116 視覺契約追更

This commit is contained in:
OoO
2026-05-13 18:48:32 +08:00
parent c10e6a45e7
commit 5706e19d14
2 changed files with 13 additions and 0 deletions

View File

@@ -63,6 +63,7 @@
- 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` 均通過。
- AI 觀測台 rendered visual contract 已入庫:`scripts/check_observability_visual_contract.sh` 會用 Playwright 檢查 10 頁 × desktop/tablet/mobile 的 title typography、surface radius/background、chip contrast、hero height 與水平 overflowV10.116 main 版 local server 驗證 30 項 PASS。測未部署變更時必須帶 localhost `--base-url`,打 production fail 可能只是正式站尚未部署該版。
- 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` 已覆蓋。
@@ -191,3 +192,5 @@
- `830661b` 守住 app.py 不再新增路由
- `c50180f` 補齊 AI 觀測台 badge 對比規範
- `b7ba54a` 更新 ADR-017 模組化現況
- `b6e6573` 收斂觀測台手機字體與視覺契約
- `c10e6a4` 記錄觀測台視覺契約守門

View File

@@ -96,6 +96,16 @@
- focused frontend / Phase 3f pytest。
- 本段只記錄 main repo 推版與本機 QA未在本段宣稱正式環境已完成 V10.115 部署驗證。
## 2026-05-13 V10.116 main 追更
- main 已補 AI 觀測台 rendered visual contract
- `scripts/check_observability_visual_contract.js`
- `scripts/check_observability_visual_contract.sh`
- `./scripts/quick_review.sh --observability-visual`
- `scripts/check_observability_suite.sh` 在 production smoke 後有第 4 步;`--skip-production` 時會明確 skip rendered visual contract。
- 觀測台手機密度與商業情報頁 title/chip 對比已補強,`templates/admin/business_intel.html` 的 H1 已有 `biz-title` classV10.116 main 版的 local rendered contract 已覆蓋 10 頁 × desktop/tablet/mobile 30 項 PASS。
- 本段只記錄 main repo 推版與本機 QA未在本段宣稱正式環境已完成 V10.116 部署驗證。
## 重要使用提醒
- 不要用 `file://.../templates/*.html` 預覽 Jinja 模板。它需要 Flask route 注入 `url_for()`、context 與 session。