Commit Graph

64 Commits

Author SHA1 Message Date
OoO
d2d6bcd263 重整 PPT 視覺 QA 產線首屏
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s
2026-05-19 11:37:18 +08:00
OoO
583e318295 補 PPT 視覺 QA 背景狀態
All checks were successful
CD Pipeline / deploy (push) Successful in 1m6s
2026-05-19 09:06:11 +08:00
OoO
60bc8bf2e2 補 PPT 視覺 QA runtime checklist
All checks were successful
CD Pipeline / deploy (push) Successful in 1m6s
2026-05-19 01:24:07 +08:00
OoO
4a6f6a2007 補 PPT 報表覆蓋矩陣
All checks were successful
CD Pipeline / deploy (push) Successful in 1m4s
2026-05-19 01:09:58 +08:00
OoO
c08f76f315 補 PPT AiderHeal 執行狀態
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s
2026-05-19 00:49:06 +08:00
OoO
2de9386a40 修正 PPT AiderHeal 派工
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s
2026-05-19 00:23:32 +08:00
OoO
dddafc579b 強化 PPT 視覺問題追蹤
All checks were successful
CD Pipeline / deploy (push) Successful in 1m6s
2026-05-19 00:16:21 +08:00
OoO
f51dc173f7 補 PPT 視覺 QA 診斷摘要
All checks were successful
CD Pipeline / deploy (push) Successful in 1m8s
2026-05-19 00:04:27 +08:00
OoO
aa8c2c7148 補強 PPT 視覺 QA 補跑與全類型審核
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s
2026-05-18 20:57:34 +08:00
OoO
be0dd41472 新增 PPT 審核歷史同頁回放
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s
2026-05-18 20:40:25 +08:00
OoO
0609194ef5 修正 PPT 預覽抽屜標題選擇器
All checks were successful
CD Pipeline / deploy (push) Successful in 1m3s
2026-05-18 20:33:38 +08:00
OoO
b8fe5f0c58 新增 PPT 同頁 PDF 預覽抽屜
All checks were successful
CD Pipeline / deploy (push) Successful in 1m4s
2026-05-18 20:28:49 +08:00
OoO
9a88b32e90 新增 PPT 本頁批次預熱
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s
2026-05-18 20:15:26 +08:00
OoO
48d71c711b 新增 PPT 預覽快取預熱操作
All checks were successful
CD Pipeline / deploy (push) Successful in 1m7s
2026-05-18 20:03:19 +08:00
OoO
7e2f1ac671 標示 PPT 預覽快取狀態
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s
2026-05-18 19:48:14 +08:00
OoO
d946c1abab 讓 PPT 異常隊列可重跑報表
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s
2026-05-18 19:32:28 +08:00
OoO
9981bc9d22 強化 PPT 異常優先隊列
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s
2026-05-18 19:21:44 +08:00
OoO
b5511e818f 優化 PPT 產線工作隊列
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s
2026-05-18 19:13:50 +08:00
OoO
ebbf7bc063 優化 PPT 產線健康總覽
All checks were successful
CD Pipeline / deploy (push) Successful in 1m6s
2026-05-18 19:00:18 +08:00
OoO
1262017261 優化 PPT 最近預覽入口
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
2026-05-18 16:07:55 +08:00
OoO
217aa4fd6d 微調 PPT 產線狀態文案
All checks were successful
CD Pipeline / deploy (push) Successful in 1m10s
2026-05-18 15:57:13 +08:00
OoO
d2d8dbab65 強化 PPT 產線與線上預覽
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
2026-05-18 15:44:11 +08:00
OoO
cb02cd350f feat: schedule full ppt auto generation cadence
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
2026-05-18 14:22:09 +08:00
OoO
c420d48263 Fix PPT auto generation and analytics fallbacks
Some checks failed
CD Pipeline / deploy (push) Failing after 26s
2026-05-18 11:52:31 +08:00
OoO
f2aece5b71 perf: 外部化觀測台圖表腳本
All checks were successful
CD Pipeline / deploy (push) Successful in 1m9s
2026-05-18 09:30:34 +08:00
OoO
ff49d31f73 fix: 強化 AI 觀測台新版視覺規範
All checks were successful
CD Pipeline / deploy (push) Successful in 1m9s
2026-05-17 22:50:18 +08:00
OoO
626a2ed50a fix: guard ppt audit file integrity and disable preview on corrupted files 2026-05-15 14:17:33 +08:00
OoO
0b415d965b feat: 补齐 ppt_history 的 DB-backed 檔案回填並保留開啟/下載
All checks were successful
CD Pipeline / deploy (push) Successful in 59s
2026-05-15 14:14:07 +08:00
OoO
40d4d01007 feat: add ppt file view/download actions in observability audit page
All checks were successful
CD Pipeline / deploy (push) Successful in 58s
2026-05-15 14:11:04 +08:00
OoO
34b1fdf829 fix: align ppt audit history UI and reporting flow
All checks were successful
CD Pipeline / deploy (push) Successful in 59s
2026-05-15 14:08:15 +08:00
OoO
8a7eed3505 整理觀測台顯示字典
All checks were successful
CD Pipeline / deploy (push) Successful in 1m8s
2026-05-13 19:59:30 +08:00
OoO
250dd58172 統一觀測台新版工作台規範
All checks were successful
CD Pipeline / deploy (push) Successful in 59s
2026-05-13 19:39:33 +08:00
OoO
bc47f79a77 重整觀測台總覽新版視覺
All checks were successful
CD Pipeline / deploy (push) Successful in 58s
2026-05-13 19:19:59 +08:00
OoO
b6e65733a7 收斂觀測台手機字體與視覺契約
All checks were successful
CD Pipeline / deploy (push) Successful in 59s
2026-05-13 18:47:14 +08:00
OoO
b21b40cae2 fix(observability): soften frontend error copy
All checks were successful
CD Pipeline / deploy (push) Successful in 1m2s
2026-05-05 21:58:49 +08:00
OoO
ccd26415f3 fix(observability): 導入標題尺度 token 與 modal 樣式
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
2026-05-05 14:54:17 +08:00
OoO
668d98cd3c fix(observability): 清理硬編碼樣式與圖表容器
Some checks failed
CD Pipeline / deploy (push) Failing after 9m49s
2026-05-05 14:41:00 +08:00
OoO
3b9a74773c fix(observability): 補齊精修樣式提交
Some checks are pending
CD Pipeline / deploy (push) Has started running
2026-05-05 14:20:49 +08:00
OoO
be986b8b97 fix(observability): 缺表時改為安全空狀態
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
2026-05-05 14:19:09 +08:00
OoO
e28f604ec6 fix(observability): 收斂標題尺度與商業卡片排版
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
2026-05-05 14:14:24 +08:00
OoO
4afcf3376b fix(observability): 統一標題字型並卡片化商業建議
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
2026-05-05 14:09:41 +08:00
OoO
c38f22e67a fix(observability): 修復戰情頁安全降級與樣式掛載
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
2026-05-05 14:02:29 +08:00
OoO
6f8fdc14ba fix(observability): 提升側欄子選單可讀性
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
2026-05-05 13:56:26 +08:00
OoO
9b908ca426 fix(observability): 套用商業戰情頁觀測台樣式
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
2026-05-05 13:53:40 +08:00
OoO
c57b8f40ee feat(observability): 收尾 Agent 與商業戰情頁
All checks were successful
CD Pipeline / deploy (push) Successful in 7m39s
2026-05-05 13:36:31 +08:00
OoO
054685826a feat(observability): 重塑 AI 觀測台戰情室 UI
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
2026-05-05 13:17:42 +08:00
OoO
df2311d4f0 feat(p55): 3 個圓餅圖補齊 — promotion_review/ppt_audit/budget
All checks were successful
CD Pipeline / deploy (push) Successful in 7m39s
S-1: promotion_review 蒸餾池 30d doughnut
- 取代原 col-md-2 卡片網格
- 8 種狀態各自分色:
  pending(灰) / awaiting_review(黃) / approved(綠) /
  rejected_quality(紅) / rejected_hallucination(深紅) /
  rejected_duplicate(橘) / rejected_human(暗紅) / expired(灰)
- 左圓餅 + 右表格雙視角

S-2: ppt_audit 30d 結果 doughnut
- 取代部分 col-md-2 卡片佈局
- 通過(綠)/失敗(黃)/錯誤(紅)/跳過(灰) 圓餅
- 6 個 KPI 卡併入右側 col-6 grid(總筆數/通過率/通過/issue/失敗/錯誤)
- 統一視覺語言:「圖+表」雙視角

S-3: budget 當月各 provider 成本 doughnut
- 新加 query:ai_calls.cost_usd GROUP BY provider 月初至今
- 8 個 provider 分色(本地 Ollama 綠系 vs 付費 LLM 橘紫系)
- 左圓餅 + 右表格(供應商/成本/佔比)+ 總計列

chart.js 視覺化從 7 個 → 10 個:
- hourly trend line
- 30d cost stacked bar
- 三主機 sparkline × 3
- RAG feedback doughnut
- KPI sparkline × 3 (calls/cost/errors)
- verdict doughnut
- heal 7d trend
- **promotion_review status doughnut(新)**
- **ppt_audit pass/fail doughnut(新)**
- **provider cost doughnut(新)**

Phase 38→55 累計 20 commits / 10 觀測頁 / 10 chart.js / DB 100%。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 01:15:58 +08:00
OoO
90e8366a8d feat(p54): chart.js 視覺微調 — KPI sparkline + verdict 圓餅 + heal 趨勢
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
R-1: ai_calls KPI 卡片加 24h sparkline
- 呼叫次數卡片下加 24px 高 mini line chart(藍)
- 成本卡片下加 sparkline(黃)
- 錯誤次數卡片下加 sparkline(紅)
- Token / 平均耗時 / RAG 命中卡片改顯示「平均 tk/call」「cache 命中數」「RAG 命中率%」
- 整排 KPI 從乾巴巴數字 → 含 24h 趨勢視覺
- 共用 chart.js dataset,無新 query

R-2: business_intel verdict 改 doughnut + 表格雙視角
- 取代原 col-md-3 卡片網格
- 左圓餅:effective(綠)/backfired(紅)/neutral(灰) 視覺比例
- 右表格:4 欄(verdict/筆數/佔比/平均 Δ)含正負色
- 與 quality_trend RAG pie chart 視覺風格統一

R-3: host_health AIOps card 加 7d 自癒成功率 sparkline
- routes/admin_observability_routes.py 新加 heal_daily query
  date_trunc('day') GROUP BY 7 天每日 success rate
- AIOps 7d card 底部加 80px 高 line chart
- Y 軸 0-100% / X 軸 7 天日期
- tooltip 顯示「ok/total 成功 (rate%)」

chart.js 視覺化從 4 個 → 7 個:
hourly trend / 30d stacked / 三主機 sparkline / RAG doughnut /
KPI sparkline × 3 / verdict doughnut / heal trend

Phase 38→54 累計 19 commits / 10 觀測頁 + topbar indicator / 7 chart.js。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 01:13:31 +08:00
OoO
2a3ea6f581 feat(p52): topbar 觀測台健康指示燈 + RAG 反饋圓餅圖
All checks were successful
CD Pipeline / deploy (push) Successful in 2m30s
P-1: topbar AI 觀測台 indicator(全頁可見)
- ewoooc_base.html topbar 加「🛰 AI 觀測台」icon button
- 紅色 badge 顯示告警數量(4 維度任一觸發即計數):
  • 三主機任一掛掉
  • 待審 episode > 0
  • 過去 1h 錯誤率 ≥ 30%
  • 預算任一 ≥ 90%
- 新 GET /observability/api/health_indicator
  輕量 JSON API(4 query 跨 host_health_probes/learning_episodes/
  ai_calls/ai_call_budgets)
- topbar polling 每 60s 自動刷新 + tooltip 顯示具體告警內容
- 全部頁面(包括 / 商品看板、所有觀測頁)topbar 都看得到健康狀態

P-2: quality_trend RAG 反饋圓餅圖(doughnut)
- 取代原本卡片網格佈局
- 1-5 星依綠→紅漸層著色(5=綠、3=黃、1=紅)
- 圓餅 + 右側表格雙視角(chart 配對 raw 數字)
- chart.js doughnut + tooltip 顯示筆數+佔比

效益:
- 統帥從任何頁面(不限觀測台)都能瞄一眼右上角看當前 AI 健康
- 快樂路徑:「正常」綠色 icon · 異常路徑:「紅色 badge + 數字」立即吸睛
- 圓餅圖比原網格更直觀「分布」感

Phase 38→52 累計 17 commits / 10 觀測頁 / DB 100% / 4 chart.js / 全頁 indicator。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 20:20:34 +08:00
OoO
e0a8d87c2c feat(p51): RAG 召回詳情新頁 + overview 三主機 24h sparkline
All checks were successful
CD Pipeline / deploy (push) Successful in 2m35s
新頁 /observability/rag_queries:補完 RAG 觀測深度
之前只看 caller 級命中率,現在能看每筆查詢的真實內容。

O-1: route + template
- 篩選:時段(1/6/24/72/168h)/ caller / saved_only flag
- 整體 KPI 4 卡:總查詢 / 命中率 / saved_call 率 / 反饋平均分
- by caller 表:每個 caller 的查詢/命中/saved/反饋細節
- 最近 50 筆查詢詳情表
- 「查 hits」按鈕 → 彈 modal 載入 ai_insights JOIN 內容預覽
  (新 endpoint /observability/rag_queries/<id>/hits 回傳 JSON)

O-2: 入口
- sidebar AI 觀測 group 加「RAG 召回詳情」(11b)
- /observability/overview 入口卡升級為 9 項

O-3: overview 三主機 24h sparkline
- 每張主機卡片下方加 60px 高 chart.js sparkline
- 折線:每小時 uptime % bucket(0-100% Y 軸隱藏,純視覺)
- routes/admin_observability_routes.py::observability_overview
  新加 host_sparkline 查詢(GROUP BY host_label, hour)
- 三主機卡片視覺化升級:原本只有「100%」字,現在加趨勢線

Phase 38→51 累計 16 commits / 10 觀測頁。
觀測台戰役從「raw stats」到「視覺方格 UI 完整體」。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 20:09:28 +08:00