fix(web): 同步 P2-411 繁中鏡像文案
Some checks failed
Code Review / ai-code-review (push) Successful in 14s
CD Pipeline / tests (push) Successful in 1m41s
CD Pipeline / build-and-deploy (push) Successful in 5m30s
CD Pipeline / post-deploy-checks (push) Successful in 2m10s
Ansible / Reboot Recovery Contract / validate (push) Has been cancelled

This commit is contained in:
Your Name
2026-06-19 02:43:47 +08:00
parent ecc0ef3d3f
commit 55948abd44
2 changed files with 66 additions and 36 deletions

View File

@@ -4148,46 +4148,46 @@
}
},
"actionOwnerEventBus": {
"title": "P2-411 Owner Acceptance / 交接事件總線",
"subtitle": "{current} → {next}owner 驗收 lane {lanes};阻擋中的 runtime 操作 {blocked}。",
"title": "P2-411 負責人回覆驗收 / 交接事件總線",
"subtitle": "{current} → {next}負責人驗收通道 {lanes};阻擋中的執行期操作 {blocked}。",
"badges": {
"mode": "no-write 事件總線",
"mode": "無寫入事件總線",
"events": "交接事件 {count}",
"live": "live total {count}"
"live": "正式寫入總數 {count}"
},
"metrics": {
"overall": "完成度",
"lanes": "Owner 驗收 lane",
"lanes": "負責人驗收通道",
"medium": "中風險",
"high": "高風險",
"critical": "Critical",
"critical": "極高風險",
"events": "交接事件",
"rag": "RAG 提案",
"gates": "Verifier gates",
"fields": "Owner 欄位",
"live": "Live 寫入"
"gates": "驗證關卡",
"fields": "負責人欄位",
"live": "正式寫入"
},
"sections": {
"lanes": "Owner acceptance lanes",
"boundaries": "No-write 邊界",
"lanes": "負責人驗收通道",
"boundaries": "無寫入邊界",
"events": "交接事件",
"rag": "RAG 記憶提案",
"gates": "Verifier gates",
"truth": "事件總線 truth"
"gates": "驗證關卡",
"truth": "事件總線事實"
},
"labels": {
"fields": "owner 欄位 {count}",
"sideEffects": "side effects {count}",
"eventBus": "事件總線 publish",
"publishTotal": "publish total {count}",
"fields": "負責人欄位 {count}",
"sideEffects": "副作用 {count}",
"eventBus": "事件總線發布",
"publishTotal": "發布總數 {count}",
"ragWrite": "RAG / KM 寫入",
"ragDetail": "proposal {count}",
"ragDetail": "提案 {count}",
"telegram": "Telegram 實發",
"queueBotWorker": "queue {queue} / bot {bot} / worker {worker}",
"proposal": "status {status}",
"generated": "generated {generated}",
"redaction": "redaction {value}",
"ownerAccepted": "owner accepted {count}"
"queueBotWorker": "佇列 {queue} / Bot {bot} / worker {worker}",
"proposal": "狀態 僅提案不寫入",
"generated": "產生時間 {generated}",
"redaction": "脫敏 {value}",
"ownerAccepted": "已接受 {count}"
},
"agents": {
"openclaw": "OpenClaw",
@@ -4198,23 +4198,23 @@
"devops": "DevOps"
},
"riskTiers": {
"low": "low",
"medium": "medium",
"high": "high",
"critical": "critical"
"low": "低風險",
"medium": "中風險",
"high": "高風險",
"critical": "極高風險"
},
"statuses": {
"blocked_no_external_response": "no external response",
"blocked_missing_fields": "missing fields",
"candidate_only_no_write": "candidate only"
"blocked_no_external_response": "尚無外部回覆",
"blocked_missing_fields": "缺少欄位",
"candidate_only_no_write": "僅候選不寫入"
},
"stages": {
"owner_response_hold": "owner hold",
"owner_response_rejection": "owner rejection",
"candidate_ready_no_write": "candidate ready",
"handoff_request": "handoff request",
"rag_memory_proposal": "RAG proposal",
"no_send_rehearsal": "no-send rehearsal"
"owner_response_hold": "負責人回覆暫停",
"owner_response_rejection": "負責人回覆拒收",
"candidate_ready_no_write": "候選就緒不寫入",
"handoff_request": "交接請求",
"rag_memory_proposal": "RAG 記憶提案",
"no_send_rehearsal": "不發送演練"
}
},
"hostRunawayAiops": {

View File

@@ -1,3 +1,33 @@
## 2026-06-19P2-411 繁中鏡像 drift 收斂
**背景**:平行 Session 已完成 P2-411 Owner Acceptance Event Bus 的治理卡片繁中化,但 `apps/web/messages/en.json` 的同一段 mirror 文案仍保留英文 owner / runtime / verifier / live / status 詞彙,導致 `security-mirror-progress-guard.py` 阻擋 `web_messages.en.full_site_traditional_chinese_mirror`。依全站繁中鐵律,`zh-TW` 與目前鏡像內容都必須維持繁體中文,不能把英文工作代號或內部流程語當成前端可見文案。
**完成內容**
- 同步 `apps/web/messages/en.json``governance.automationInventory.actionOwnerEventBus` 段落為繁中鏡像。
- 收斂 36 個 drift 欄位,包含 title、subtitle、badge、metric、section、label、risk tier、status 與 stage。
- 保留必要技術名稱 `OpenClaw``Hermes``NemoTron``SRE``DevOps``Telegram``RAG / KM`,其餘使用者可見流程文案全改為繁中。
**驗證**
- `apps/web/messages/en.json` / `apps/web/messages/zh-TW.json` JSON parse 通過。
- `governance.automationInventory.actionOwnerEventBus` mirror `diff_count=0`
- `SECURITY_MIRROR_PROGRESS_GUARD_OK`
- `TELEGRAM_ALERT_READABILITY_GUARD_OK tests=10 ai_lanes=6 host_lanes=6 runtime_gate=0`
- `TELEGRAM_NOTIFICATION_EGRESS_NO_NEW_BYPASS_GUARD_OK current=18 baseline=18 new=0 sendDocument=0 runtime_gate=0`
- `TELEGRAM_NOTIFICATION_EGRESS_OWNER_RESPONSE_ACCEPTANCE_OK candidates=11 workflow=6 ops=4 api=1 accepted=0 runtime_gate=0`
- `IWOOOS_CONFIG_CONTROL_GUARD_OK`
- `DOC_SECRET_SANITY_OK scanned_files=934`
- `git diff --check` 通過。
- `pnpm --filter @awoooi/web typecheck` 因隔離 worktree 未安裝 `node_modules``tsc` 不存在而未執行完成;本段未修改 TypeScript。
**完成度同步**
- P2-411 繁中鏡像修復:`100%`
- 全站繁中 mirror guard 阻擋:已解除。
- P2-411 production readback`0%`,本段不是正式站部署驗證。
- Event bus publish / RAG write / KM write / PlayBook trust write / Gateway queue write / Telegram send / Bot API call / worker dispatch / receipt production write / host write / kubectl action / destructive operation全部仍 `0 / false`
- IwoooS headline仍維持 `64%`active runtime gate 仍 `0`
**邊界**:本段只修復 i18n mirror drift 與 guard 可讀性,不新增 runtime worker、不觸發 Telegram、不呼叫 Bot API、不寫入 DB、不改 Nginx、不讀 live secret、不 SSH、不 reload、不部署主機設定。
## 2026-06-19P2-411 Owner Acceptance Event Bus 本地完成
**背景**P2-409 已把 high / critical 動作固定成 Owner Review QueueP2-410 已把 AI Agent 分類、拒收、no-send preview、high-risk pause 與 verifier receipt 固定成行動審計帳本;下一步必須讓 OpenClaw、Hermes、NemoTron 的接手、學習與 owner acceptance 不只停在敘述,而是有可讀回的 no-write event bus 基線。此段仍不得把「可視化」誤解成 event bus publish、RAG write、Telegram send 或 production write 已放行。