Commit Graph

146 Commits

Author SHA1 Message Date
OG T
8bfb71c2b5 docs(logbook): Wave 3 ESLint i18n Plugin 啟用記錄
All checks were successful
E2E Health Check / e2e-health (push) Successful in 17s
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 18:55:16 +08:00
OG T
dd526684ab feat(ai): Phase 22 OpenClaw + Nemotron 協作架構 (ADR-044)
All checks were successful
E2E Health Check / e2e-health (push) Successful in 17s
統帥批准實作「仲裁-執行分工」架構:
- OpenClaw = 仲裁者 (Why + Risk Level)
- Nemotron = 執行者 (How + kubectl Command)

新增功能:
- config.py: ENABLE_NEMOTRON_COLLABORATION Feature Flag
- openclaw.py: generate_incident_proposal_with_tools()
- openclaw.py: _call_nemotron_tools() Nemotron 呼叫
- telegram_gateway.py: TelegramMessage Nemotron 欄位
- telegram_gateway.py: format_with_nemotron() 雙區塊格式
- decision_manager.py: 整合協作方法
- proposal_service.py: 整合協作方法

觸發條件:
- LOW 風險 → 僅 OpenClaw
- MEDIUM/HIGH/CRITICAL → OpenClaw + Nemotron 雙軌

首席架構師審查: 83/100 條件通過

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 18:52:53 +08:00
OG T
9dd9e6325b docs(logbook): Wave 4 E2E Hardening 完成記錄
All checks were successful
E2E Health Check / e2e-health (push) Successful in 17s
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 16:19:07 +08:00
OG T
d91958eab7 docs(qa): #127 Sentry Replay 效能評估報告
All checks were successful
E2E Health Check / e2e-health (push) Successful in 16s
Lighthouse 測試結果:
- Performance Score: 84% 
- LCP: 4.4s (需優化,非 Replay 問題)
- FCP: 0.9s 
- CLS: 0  優秀
- TBT: 10ms  優秀

結論: Sentry Replay 採用 Lazy Loading,對初始載入影響極低

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 16:13:44 +08:00
OG T
d5c1d75238 docs(logbook): 更新 #126 + Phase 22 P0 完成記錄
All checks were successful
E2E Health Check / e2e-health (push) Successful in 16s
- #126 Frontend Replay UI (`2f02f15`)
- Phase 22 P0 leWOOOgo 模組化修復 (`8313a37`)
- 新增 3 個 Service 層: OpenClaw/GitHub/Health

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 16:07:44 +08:00
OG T
52177d7096 docs: 更新 ARCHITECTURE_MEMORY + ADR-041
All checks were successful
E2E Health Check / e2e-health (push) Successful in 16s
- ARCHITECTURE_MEMORY: 新增 Service 層架構說明
- ADR-041: 更新 Phase 21 定期報告狀態

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 16:06:51 +08:00
OG T
2f02f1523a feat(web): #126 Frontend Replay UI 整合
All checks were successful
E2E Health Check / e2e-health (push) Successful in 18s
- 新增 useUXAudit hook (5 分鐘自動刷新)
- 新增 UXAuditCard 組件 (健康度 + Replay 連結)
- 整合到錯誤追蹤頁面
- i18n: zh-TW + en 翻譯

功能:
- UX 健康度評分 (good/moderate/poor)
- 有錯誤的 Replay 連結
- 憤怒點擊/死亡點擊統計
- Replay Dashboard 快捷連結

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 16:04:44 +08:00
OG T
268b944d5c docs: Phase 18 首席架構師審查 + ADR-043
All checks were successful
E2E Health Check / e2e-health (push) Successful in 24s
2026-03-31 Claude Code (首席架構師)

審查結果:
- 初審: 91/100 OUTSTANDING (條件通過)
- P0 修復後: 95/100 OUTSTANDING

ADR-043: FailureWatcher 與 DecisionManager 協調
- 優先級規則: DecisionManager > FailureWatcher
- 資源鎖定機制 (Redis)
- Approval 衝突檢查
- 來源標記審計

P1 待改進 (Phase 19):
- DI 注入模式統一
- 整合測試覆蓋
- Trace ID 記錄

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 12:24:54 +08:00
OG T
9aa76ecf75 docs: 更新 Skills + LOGBOOK (K0 完成 + OTEL gRPC/HTTP 區分)
All checks were successful
E2E Health Check / e2e-health (push) Successful in 15s
Skills v2.4:
- OTEL gRPC (24317) vs HTTP (24318) 端點明確區分
- K8s API 用 gRPC,CI/CD 用 HTTP

LOGBOOK:
- K0.1/3/4/6/7 低風險項目完成
- #33 Sentry + OTEL 修復

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 12:23:10 +08:00
OG T
219525f64f fix(k8s): #33 Sentry + OTEL 修復
All checks were successful
E2E Health Check / e2e-health (push) Successful in 17s
修復項目:
1. SENTRY_DSN: K8s secret 已修補 (空值 → 正確 DSN)
2. OTEL_EXPORTER_OTLP_ENDPOINT: 24318 → 24317 (gRPC 端口)

驗證結果:
- sentry_initialized 
- OTEL export 無錯誤 
- Session Replay 配置 

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 12:18:06 +08:00
OG T
d956a2dc4e docs: Phase 18 全部完成 (40 tests)
All checks were successful
E2E Health Check / e2e-health (push) Successful in 15s
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 12:17:31 +08:00
OG T
10430effaa feat(api): Phase 18.6 E2E 測試驗證 (40 tests)
Some checks failed
E2E Health Check / e2e-health (push) Failing after 24s
2026-03-31 Claude Code (統帥批准)

新增測試:
- TestFailureClassification: 10 tests
  - 超時/K8s/網路/權限/資源/未知錯誤分類

- TestRiskAssessment: 10 tests
  - CRITICAL/MEDIUM/LOW 風險等級評估

- TestRepairSuggestion: 6 tests
  - 各類型錯誤的修復建議

- TestSeverityMapping: 3 tests
  - OpenClaw 嚴重度→風險等級映射

- TestRepairActionExtraction: 6 tests
  - AI 建議→可執行動作提取

- TestFailureClassificationKeywords: 5 tests
  - 分類關鍵字配置驗證

Phase 18 完成:
 18.1 AuditLog 擴展
 18.2 FailureWatcher Service
 18.3 K8s Executor 整合
 18.4 OpenClaw 深度分析
 18.5 Telegram 修復卡片
 18.6 E2E 測試驗證 (40 tests)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 12:16:54 +08:00
OG T
9a2b1d6653 feat(cicd): Phase 22.0 CD Pipeline 加入 pytest 測試步驟
All checks were successful
E2E Health Check / e2e-health (push) Successful in 15s
- 在 Build 前執行 API 測試 (禁止 Mock - feedback_no_mock_testing.md)
- 使用 uv 加速依賴安裝
- 測試超時 60 秒保護
- 更新 LOGBOOK 進度

Phase 22 審查修復進度:
- P0-1: CD Secrets 注入 
- P0-2: NVIDIA 模型修正 
- 22.0: CI pytest 
- 22.4: 命名清理 

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 12:14:02 +08:00
OG T
f769d80c2d docs: Phase 18.3 完成 - K8s Executor 整合
All checks were successful
E2E Health Check / e2e-health (push) Successful in 16s
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 12:11:25 +08:00
OG T
15fa77f9b8 docs: Phase 18 進度更新 (18.1-18.2 完成)
All checks were successful
E2E Health Check / e2e-health (push) Successful in 17s
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 12:03:14 +08:00
OG T
bcd33e854f docs: ADR-042 前端效能優化模式 (DOM Bypass + Optimistic Updates)
All checks were successful
E2E Health Check / e2e-health (push) Successful in 16s
新增 ADR-042:
- Pattern 1: DOM Bypass (繞過 React 渲染,100x 效能提升)
- Pattern 2: Optimistic Updates (0ms UI 延遲 + 失敗回滾)
- Pattern 3: SSE Incremental Updates (增量更新,減少 API 請求)
- Pattern 4: AbortController (防止記憶體洩漏)

更新 Skills 01:
- v1.6 版本更新
- 新增效能優化模式章節
- 參考 ADR-042

首席架構師審查: 96-98/100 OUTSTANDING

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 11:36:21 +08:00
OG T
e176e063d4 fix(web): #19 Action Logs AbortController 防止記憶體洩漏
All checks were successful
E2E Health Check / e2e-health (push) Successful in 17s
- 新增 AbortController ref 追蹤請求
- fetchLogs: 每次新請求前取消前一次
- fetchStats: 共用 AbortController signal
- useEffect cleanup: unmount 時取消所有請求
- AbortError 正確忽略 (非錯誤狀態)

首席架構師審查: 98/100 OUTSTANDING (前端 P2)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 11:30:39 +08:00
OG T
723e8ef251 feat(api): Phase 21.3 Weekly Report (ADR-041)
All checks were successful
E2E Health Check / e2e-health (push) Successful in 16s
- 新增 WeeklyReportMessage dataclass (telegram_gateway.py)
- 新增 WeeklyReportService (整合 StatsService + K3sMonitor)
- 新增 CronJob (每週五 18:00 台北)
- 新增 API 端點 (/stats/weekly/preview, /stats/weekly/report)

Phase 21 定期報告機制全部完成!
- 21.1 Daily E2E Schedule 
- 21.2 K3s Telegram Report 
- 21.3 Weekly Report 

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 11:28:46 +08:00
OG T
b2e41ebac6 feat(api): Phase 21.2 K3s Status Telegram Report (ADR-041)
All checks were successful
E2E Health Check / e2e-health (push) Successful in 19s
- 新增 K3sStatusMessage dataclass (telegram_gateway.py)
- 新增 K3sMonitorService (Prometheus 數據收集)
- 新增 CronJob (每日 09:00 台北)
- 新增 API 端點 (/stats/k3s/status, /stats/k3s/report)

Phase 21 定期報告機制 (統帥已批准)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 11:25:27 +08:00
OG T
ce6b1b1c64 docs: 更新 LOGBOOK - #17 i18n Hydration 完成
前端 P1 改進全部完成:
- #15 SSE + 樂觀更新 (8c8664c)
- #16 DOM Bypass (0b87018)
- #17 i18n Hydration (f25e94e)

首席架構師審查: 96/100 OUTSTANDING

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 11:23:38 +08:00
OG T
f2aa9a7c41 feat(ci): Phase 21.1 Daily E2E Schedule (ADR-041)
Some checks failed
E2E Health Check / e2e-health (push) Failing after 23s
- 新增每日 00:00 台北自動執行 (cron: '0 16 * * *')
- 新增失敗時 Telegram 通知
- 更新 LOGBOOK 追蹤狀態

Phase 21 定期報告機制 (統帥已批准)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 11:19:26 +08:00
OG T
f25e94e8c4 fix(web): #17 i18n Hydration 防護 (NEXT_LOCALE Cookie)
Phase D #17: 修復 i18n 語系切換 Hydration 當機

問題: Client/Server 渲染語系落差導致 Hydration Mismatch
解法: Middleware 強制綁定 NEXT_LOCALE Cookie

實作內容:
- 從 URL 路徑提取當前語系
- 強制設定 NEXT_LOCALE cookie (1年 TTL)
- 確保 Server/Client 語系一致

@see QA Report 3.1 節

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 11:18:53 +08:00
OG T
c3a2e7745b docs: 更新 LOGBOOK - #15 #16 前端 P1 完成
- #16 ThinkingTerminal DOM Bypass (0b87018)
- #15 SSE + Optimistic Updates (8c8664c)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 11:13:43 +08:00
OG T
b31e079e41 docs: 更新 LOGBOOK - Phase A/B/C P1 完成 (97/100)
Some checks failed
CD Pipeline / build-and-deploy (push) Successful in 3m42s
E2E Health Check / e2e-health (push) Has been cancelled
- LOGBOOK: Phase A/B/C 首席架構師審查 OUTSTANDING
- Skills: DevOps Commander 更新
- ADR-033: K3s HA 架構補充

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-31 11:03:10 +08:00
OG T
5a3f539fe5 docs: 全面更新 Memory/Skills/LOGBOOK
Some checks failed
E2E Health Check / e2e-health (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
2026-03-30 ogt: 首席架構師審查 94/100 後狀態同步

更新項目:
- project_current_status.md: 今日完成總覽
- LOGBOOK.md: sudoers NOPASSWD 修復
- feedback_ai_fallback_order.md: NVIDIA 優先順序
- feedback_cd_security_nopasswd.md: 新增安全鐵律
- MEMORY.md: 新增索引
- 02-lewooogo-backend-core.md v2.3: AI Fallback 章節

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-30 01:42:08 +08:00
OG T
bf3a21d88e docs: 首席架構師審查 94/100 OUTSTANDING
Some checks failed
E2E Health Check / e2e-health (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
- Skills v2.2: 新增 Phase 19.4 API 整合模式
- ADR-030: 補充 §5.3 Playbook 自動狀態轉換閾值
- LOGBOOK: 更新審查結果

審查範圍: 18 commits (Phase 19.4 + ADR-039 + AI 仲裁)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-30 01:38:41 +08:00
OG T
4f06115497 docs: 首席架構師審查 - 前端內網 IP 禁令 (90/100)
Some checks failed
E2E Health Check / e2e-health (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
審查結果:
- P0 安全修復: sudo 密碼改用 secret 
- P1 識別: Sentry DSN build-arg 待處理
- P2 識別: 3 項次要問題已記錄

已更新:
- Skills 01 v1.5: 前端建置禁止內網 IP
- Skills 04 v2.1: CD 安全規範 + 內網 IP 禁令
- ADR-022: 新增前端內網 IP 禁令章節
- MEMORY.md: 新增審查記錄索引

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-30 01:32:48 +08:00
OG T
3c3294de4b docs: 更新 LOGBOOK - 首席架構師審查 (78→85/100)
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
E2E Health Check / e2e-health (push) Has been cancelled
2026-03-30 ogt: AI 仲裁修復 + P0 安全修復

變更:
- AI Fallback: NVIDIA 優先
- CI/CD 告警簡化
- P0 sudo 密碼明文修復

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-30 01:32:15 +08:00
OG T
9145faf24b docs: 前端內網 IP 禁令 - RCA + Hard Rule v1.6
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
E2E Health Check / e2e-health (push) Has been cancelled
事故: 2026-03-30 瀏覽器區域網路權限對話框
根因: CD 用 http://192.168.0.125:32334 建置 NEXT_PUBLIC_API_URL

已更新:
- CLAUDE.md: 新增 🔴🔴🔴 前端內網 IP 禁令章節
- HARD_RULES.md: v1.6 新增 Frontend Internal IP 規則
- LOGBOOK.md: RCA 事故回顧

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-30 01:28:38 +08:00
OG T
1b89ef399c docs: 更新 ARCHITECTURE_MEMORY + MASTER_EXECUTION_SCHEDULE
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-30 01:21:23 +08:00
OG T
998b5a7b5f docs: ADR-039 重編號為 ADR-040 + LOGBOOK 更新
ADR 變更:
- ADR-039 (gitea-cicd-migration) 保留給 Gitea CI/CD 遷移
- 原 ADR-039 (global-autorepair-governance) 改為 ADR-040

LOGBOOK:
- 新增 Phase 19.4 Terminal Service API 整合記錄
- 更新當前狀態

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-30 01:20:50 +08:00
OG T
78082052ee docs: 更新 ADR-039 Gitea 遷移狀態為已完成
All checks were successful
CD Pipeline / build-and-deploy (push) Successful in 3m36s
E2E Health Check / e2e-health (push) Successful in 16s
- Telegram CI/CD 告警驗證通過 (Raw Logs 200 OK)
- GitHub Actions 已停用
- Gitea 主倉運作正常

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-30 01:08:49 +08:00
OG T
97b2e059bc docs: ADR-039 完成 - Gitea CI/CD 遷移成功
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
E2E Health Check / e2e-health (push) Has been cancelled
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-30 01:07:51 +08:00
OG T
25e69e6870 feat(cicd): ADR-039 完成 - GitHub Actions 停用,Gitea 主倉
Some checks failed
E2E Health Check / e2e-health (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled
- 停用所有 GitHub Actions workflows (.disabled)
- 更新 CLAUDE.md 添加 Gitea CI/CD 章節
- 更新 LOGBOOK.md 記錄遷移狀態
- Gitea 版本: 1.25.5
- Runner 版本: v0.3.1 (host 網絡模式)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-30 01:07:32 +08:00
OG T
322a79a889 docs(review): complete chief architect review for adr-038 & adr-039
All checks were successful
CD Pipeline / build-and-deploy (push) Successful in 4m16s
E2E Health Check / e2e-health (push) Successful in 21s
2026-03-29 23:56:34 +08:00
OG T
3eb3051a73 fix(ci): 修復 docker socket 重複掛載 (1774793847)
Some checks failed
CD Pipeline / build-and-deploy (push) Failing after 3m22s
E2E Health Check / e2e-health (push) Failing after 11s
2026-03-29 22:17:27 +08:00
OG T
f5b19cf108 feat(learning): 實作 Playbook 信心度調整機制 (ADR-030)
- 新增 _promote_playbook: 高評分提升信心度 +0.1
- 新增 _demote_playbook: 低評分降低信心度 -0.15
- 新增 find_by_source_incident: 按 incident_id 查詢 Playbook
- 新增 adjust_confidence: 信心度調整 + 狀態自動轉換
- 新增 Playbook.failure_rate 屬性

自動狀態轉換:
- ai_confidence >= 0.9 + DRAFT → 自動 APPROVED
- ai_confidence < 0.3 + failure_rate > 50% → 自動 DEPRECATED

測試: 13 案例全部通過

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-29 22:10:49 +08:00
OG T
d6b8224942 feat(cicd): ADR-039 Gitea CI/CD 遷移
2026-03-29 Claude Code (統帥授權):
- 新增 .gitea/workflows/cd.yaml (Build → Harbor → K8s)
- 新增 .gitea/workflows/e2e-health.yaml (E2E 健康檢查)
- 新增 ADR-039 文檔記錄遷移決策

方案 B: GitHub → Gitea CI/CD 遷移
- Gitea 作為主倉和 CI/CD
- GitHub 降級為只讀備份

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-29 21:51:45 +08:00
OG T
feafaa90a1 fix(ci): E2E Verification 添加重試機制
Some checks failed
CI / Pre-flight (push) Has been cancelled
CI / Lint & Type Check (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / API Lint (push) Has been cancelled
CI / API Test (push) Has been cancelled
CI / Ollama Model Test (push) Has been cancelled
CI / OpenAPI Validate (push) Has been cancelled
CI / Docker Verify (api) (push) Has been cancelled
CI / Docker Verify (web) (push) Has been cancelled
2026-03-29 Claude Code:
- E2E 腳本也添加 3 次重試
- 間隔 5 秒
- 更新 LOGBOOK 記錄

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-29 21:44:55 +08:00
OG T
4c169c2f75 docs: 更新 LOGBOOK - E2E Health Check 修復進度
- 記錄 8 項問題與修復
- HMAC Secret 注入 + rollout restart
- VIP 暫時繞過,待後續診斷

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-29 21:43:02 +08:00
OG T
4707102498 feat(telegram): 實作 6 種新訊息模板 (ADR-038)
2026-03-29 ogt: Telegram 訊息模板完整實作

新增訊息類型:
- SentryErrorMessage: Sentry 錯誤通知 (含 Stack Trace)
- ResourceWarnMessage: 資源耗盡警告 (含 CPU/Memory/Disk)
- RepairReportMessage: 自動修復每日報告
- DailySummaryMessage: 每日系統狀態摘要
- DeploySuccessMessage: CD 部署成功通知
- RateLimitMessage: API 限額警告

新增發送方法:
- send_sentry_error()
- send_resource_warning()
- send_repair_report()
- send_daily_summary()
- send_deploy_success()
- send_rate_limit_warning()

新增按鈕:
- Sentry: [🔍 查看詳情] [🔕 靜默 1h]
- Resource: [ 自動擴展] [🔕 靜默 1h]

測試: 14 測試案例全部通過

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-29 21:23:07 +08:00
OG T
fecfc6b4af docs: 更新 LOGBOOK - NVIDIA RCA 模組化重構完成
2026-03-29 ogt: 反映模組化重構完成狀態

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-29 20:54:31 +08:00
OG T
04bfff9d19 refactor(ai): 模組化重構 - NVIDIA chat 移至 NvidiaProvider
符合 feedback_lewooogo_modular_enforcement.md 規範:
- 移除 openclaw.py 中的 _call_nvidia() (重複邏輯)
- 新增 NvidiaProvider.chat() 方法
- 更新 INvidiaProvider Protocol
- openclaw.py 改用 get_nvidia_provider().chat()
- 測試移至 test_nvidia_chat.py

架構層次:
- Router → Service → Provider (正確)
- 禁止 Service 層重複實作已存在的 Provider 功能

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-29 20:49:23 +08:00
OG T
1eb0be8f3f docs: 新增 Telegram 訊息模板規範 v1.0
定義 12 種訊息類別:
- 6 種已實作 (Incident/CI/PR/Exec/Heartbeat/Silence)
- 6 種待實作 (Sentry/Resource/Repair/Daily/Deploy/RateLimit)

包含:
- 完整模板格式
- 按鈕功能對照表
- Emoji 使用規範
- 字元限制規則
- 實作優先級 (P1: 5h, P2: 5h, P3: 1h)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-29 20:44:16 +08:00
OG T
31a6f2785d docs: 更新 LOGBOOK - NVIDIA RCA 整合 + 首席架構師審查
- 新增 NVIDIA RCA 整合記錄 (74→85/120)
- P0/P1 修復清單
- ConfigMap 變更記錄
- Memory 更新清單

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-29 20:36:41 +08:00
OG T
2fde0b5724 docs: 更新 LOGBOOK - Lint 清零 + E2E 診斷詳細紀錄
- Lint 61→0 完全清零,記錄 React Hook 依賴修復模式
- E2E Health Check 診斷進度 (VIP 可達,NodePort 待查)
- 新增 useMemo 包裝物件依賴的標準模式

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-29 20:29:43 +08:00
OG T
6a8e1bfdd1 feat(cicd): Gitea Mirror B2 備份策略
- 新增 Gitea remote (192.168.0.110:3001/wooo/awoooi)
- CD 成功後自動 mirror to Gitea
- 新增 GITEA_MIRROR_TOKEN GitHub Secret
- 更新 LOGBOOK 紀錄

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-29 20:28:21 +08:00
OG T
5a8edd692d docs: 更新 LOGBOOK - Lint 清理完成 2026-03-29 16:43:49 +08:00
OG T
d68917cdac docs: Wave 3 i18n 清零完成 - 40+ 違規全部修復
- TECHNICAL_DEBT_PHASE2.md: 更新為  全部完成狀態
- LOGBOOK.md: 新增 Wave 3 完成紀錄

修復清單:
- status-orb.tsx: 狀態標籤 i18n
- OmniTerminal.tsx: SSE 連線狀態 i18n
- sse-states.ts: 連線狀態 label 改 i18n key
- thinking-terminal.tsx: 終端機 UI 全面 i18n
- live-host-card.tsx: 移除 hardcoded 預設值

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-29 16:35:47 +08:00
OG T
590b5c2bd5 docs: P1 修復完成 - 91/100 → 95/100
5/5 P1 修復項目全部完成:
- RAG Provider DI 模式一致性
- Worker PDB (已存在)
- RAG 測試 9 項
- Grafana Config 快取
- Embedding 維度配置化

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-29 16:24:25 +08:00