fix(web): restore en security mirror messages
Some checks failed
Code Review / ai-code-review (push) Successful in 11s
CD Pipeline / tests (push) Successful in 1m25s
CD Pipeline / build-and-deploy (push) Successful in 4m15s
CD Pipeline / post-deploy-checks (push) Has been cancelled

This commit is contained in:
Your Name
2026-06-13 13:47:34 +08:00
parent 6936f7a4cd
commit b557a4b53e
2 changed files with 88 additions and 5 deletions

View File

@@ -4141,9 +4141,12 @@
"agents": "Agent 數",
"workload": "工作量",
"done": "已完成",
"waitingApproval": "待審核",
"recommendations": "AI 建議",
"approval": "需審核",
"autoEnabled": "自動執行"
"autoEnabled": "自動執行",
"liveDelivery": "實發報告",
"liveOptimization": "自動優化"
},
"flags": {
"daily": "日報: {value}",
@@ -4158,12 +4161,15 @@
"labels": {
"sections": "章節 {count}",
"liveDelivery": "實發 {count}",
"workUnits": "work units {count}",
"workUnits": "工作單位 {count}",
"doneRatio": "完成比例",
"doneDetail": "{done}/{total} 已完成;{approval} 待審核",
"targets": "佈建 {count}",
"capabilities": "能力 {count}",
"liveRuntime": "live runtime {count}",
"targets": "佈建目標 {count}",
"capabilities": "可委派能力 {count}",
"reportSections": "報告章節 {count}",
"ownedRecommendations": "分析建議 {count}",
"waitingApproval": "待審核 {count}",
"liveRuntime": "24h runtime 作業 {count}",
"approvalRequired": "需審核: {value}"
},
"riskTiers": {
@@ -4722,6 +4728,68 @@
"high": "高風險",
"critical": "關鍵阻擋"
}
},
"ownerApprovedResultCaptureDryRun": {
"title": "P2-106 統帥批准後結果捕捉 dry-run",
"source": "{generated} · {current} → {next}",
"packetTitle": "批准包",
"truthTitle": "no-write dry-run 真相",
"metrics": {
"overall": "P2-106 進度",
"templates": "捕捉模板",
"scoreFixtures": "評分 fixture",
"gates": "dry-run 閘門",
"actions": "操作選項",
"approvals": "需批准",
"blocked": "阻擋閘門",
"approvedGap": "批准缺口",
"failedCandidates": "失敗候選",
"ownerApprovals": "已收批准",
"previewGenerated": "預覽產出",
"liveWrites": "正式寫入"
},
"flags": {
"contractLoaded": "P2-105 契約: {value}",
"ownerApproval": "需統帥批准: {value}",
"previewAllowed": "允許預覽: {value}",
"resultWrite": "結果寫入: {value}",
"scoreWrite": "評分寫入: {value}",
"learningWrite": "學習寫入: {value}",
"telegramSend": "Telegram 發送: {value}",
"secretRead": "機密讀取: {value}"
},
"labels": {
"ownerFields": "批准欄位 {count}",
"forbiddenInputs": "禁止輸入 {count}",
"fingerprint": "指紋 {value}",
"candidateCount": "24h 候選 {value}",
"requiredInputs": "必填輸入 {count}",
"previewOutputs": "預覽輸出 {count}",
"writeEnabled": "寫入啟用: {value}",
"runtimeWriter": "runtime 寫入器: {value}",
"minimumScore": "最低分 {value}",
"fixtureOnly": "僅 fixture: {value}",
"runtimeScoreWrite": "runtime 評分寫入: {value}",
"evidenceHash": "evidence: {value}",
"runtimeWrite": "runtime 寫入: {value}"
},
"statuses": {
"ready_for_dry_run": "可 dry-run",
"approval_required": "需批准",
"blocked_by_policy": "政策阻擋"
},
"gateStatuses": {
"ready": "可審查",
"approval_required": "需批准",
"blocked_by_policy": "政策阻擋"
},
"actionTypes": {
"review": "審查",
"collect_evidence": "收集證據",
"approve_dry_run": "批准 dry-run",
"reject_or_rework": "退回重整",
"promote_to_next_gate": "推進下一閘門"
}
}
}
},

View File

@@ -33984,3 +33984,18 @@ production browser smoke:
**邊界**
- 本輪是 GitOps source 修正,不手動建立 Job、不手動刪 CronJob、不 `kubectl patch` live、不重啟 Pod。
- 下一個 gateArgoCD sync 到新 revision 後,下一次 03:00 官方 `km-vectorize` 必須成功更新 `lastSuccessfulTime`若失敗failed Job / Pod / log 必須保留可查。
## 2026-06-13 — security mirror en message drift closure
**背景**
- `security-mirror-progress-guard.py --root .` 反覆被 `web_messages.en.full_site_traditional_chinese_mirror` 擋住。
- Guard 明確要求 `apps/web/messages/en.json``apps/web/messages/zh-TW.json` 整份一致;這是 IwoooS / AwoooP 安全治理頁目前的繁中鏡像策略,不是翻譯工作。
**修正內容**
- 將 `apps/web/messages/en.json` 機械同步為 `apps/web/messages/zh-TW.json`
- 未修改 route、runtime env、K8s、Nginx、Docker、firewall 或任何 secret。
**驗證**
- `python3 scripts/security/security-mirror-progress-guard.py --root .``SECURITY_MIRROR_PROGRESS_GUARD_OK`
- `pnpm --filter @awoooi/web typecheck`:通過。
- `git diff --check``doc-secrets-sanity-check.py docs .gitea``source-control-owner-response-guard.py --root .`:通過。