# Phase 2 Technical Debt - i18n 違憲代碼清單 > **Wave 3 清零完成 ✅** > 掃描日期: 2026-03-20 > 最後更新: 2026-03-29 > 總計違規: 40+ 處 → **已全部修復 ✅** --- ## ✅ 高優先級 (已全部完成) ### 1. agent/approval-card.tsx ✅ - 已使用 `useTranslations('approval')`, `tRisk`, `tBlast`, `tDryRun` ### 2. agent/data-pincer.tsx ✅ - 使用 `labelKey` + `t(config.labelKey)` 模式 ### 3. status-orb.tsx ✅ - 使用 `statusI18nKey` + `t(statusI18nKey[status])` ### 4. layout/header.tsx ✅ - 使用 `tConnection(connectionStatus)` ### 5. dashboard/connection-status.tsx ✅ - 使用 `connectionLabelKeys` + `t(labelKey)` --- ## ✅ 中優先級 (已全部完成) ### 6. agent/thinking-terminal.tsx ✅ - 2026-03-29 Wave 3 修復 - DependencyPathVisualizer: `t('blastRadius')` / `t('rootCauseChain')` - ServiceChainVisualizer: `t('upstreamImpact')` / `t('downstreamDependencies')` / `t('dependsOn')` / `t('calls')` - FinOpsVisualizer: `t('finopsAnalysis')` / `t('wastedPerMonth')` / `t('realizable')` / `t('freed')` - ThinkingTerminal: `t('title')` / `t('executing')` / `t('initiate')` / `t('waiting')` / `t('stream')` / `t('events')` ### 7. dashboard/live-host-card.tsx ✅ - 2026-03-29 移除未使用的 baselineLabel 預設值 --- ## ✅ 低優先級 (已全部完成) ### 8. Locale Hardcoding ✅ - connection-status.tsx: 已使用 `useLocale()` 動態取得語系 ### 9. 技術識別符 (保持原樣) ✅ - 服務名稱/IP/API 路徑不需 i18n 化 --- ## 已修復清單 ✅ | 檔案 | 修復內容 | 日期 | |------|----------|------| | `sidebar.tsx` | Logo `mix-blend-multiply` + brand i18n | - | | `demo/page.tsx` | Mock data i18n | - | | `approval-card.tsx` | 完全 i18n 化 | - | | `host-card.tsx` | CPU/Memory 標籤 i18n | - | | `status-orb.tsx` | 狀態標籤 i18n | 2026-03-29 | | `OmniTerminal.tsx` | SSE Live/Offline i18n | 2026-03-29 | | `sse-states.ts` | 連線狀態 label 改 i18n key | 2026-03-29 | | `thinking-terminal.tsx` | 終端機 UI 全面 i18n | 2026-03-29 | | `live-host-card.tsx` | 移除 hardcoded 預設值 | 2026-03-29 | --- ## Phase 6 架構債 (新增 2026-03-22) > **來源**: `docs/ARCHITECTURE_CODE_REVIEW.md` | 類別 | 項目 | 現狀 | 目標 | |------|------|------|------| | 狀態持久化 | MultiSigEngine | In-Memory | Redis Hash | | 狀態持久化 | TopologyGraph | In-Memory | Neo4j | | 水平擴展 | SSE 廣播 | 單實例 | Redis Pub/Sub | 詳見 `docs/ARCHITECTURE_CODE_REVIEW.md` 第 5 章。 --- *最後更新: 2026-03-22*