fix(web): remove internal handoff copy from product pages
All checks were successful
CD Pipeline / tests (push) Successful in 1m21s
Code Review / ai-code-review (push) Successful in 14s
CD Pipeline / build-and-deploy (push) Successful in 4m31s
CD Pipeline / post-deploy-checks (push) Successful in 1m53s

This commit is contained in:
Your Name
2026-06-01 15:12:34 +08:00
parent f6a7a614ac
commit b937edadf3
4 changed files with 349 additions and 303 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,25 @@
## 2026-06-01前台產品文案去內部交接語氣
**背景**
- 前台頁面仍殘留 `S2.xxx``專業建議``回應「...」``這裡只...` 等內部交接或對話式語氣。
- 產品頁應呈現能力、狀態、證據與下一步,不應把工作溝通內容直接寫給使用者看。
**本次調整**
- `apps/web/messages/zh-TW.json` / `apps/web/messages/en.json`
- 收斂首頁 AI 自動化流程、完成項、專業圖像化視圖文案。
- 收斂安全合規與 IwoooS 入口文案,移除內部 session 編號與交接語氣。
- `en.json` 維持與 `zh-TW.json` 完全繁中鏡像。
- `scripts/security/security-mirror-progress-guard.py`
- 將 product voice guard 擴大到首頁、IwoooS、安全合規三個前台入口。
- 阻擋 `S2.``回應「``專業建議``這裡``Codex``Claude` 等內部工作語言再次進入產品文案。
**進度邊界**
- 這是產品文案與體驗品質修正,不改變 runtime gate、資安成熟度或 AI 自動修復能力數據。
- 內部工作紀錄仍放在 LOGBOOK / docs / run evidence不再放進前台產品敘事。
## 2026-06-01IwoooS 高層快照層文案產品化修正
**背景**

View File

@@ -244,8 +244,32 @@ def validate(root: Path) -> None:
web_messages_en,
web_messages_zh,
)
product_voice_sections = [
web_messages_zh["dashboard"]["homeCommandMap"],
web_messages_zh["dashboard"]["automationDelivery"],
web_messages_zh["dashboard"]["automationDiagrams"],
web_messages_zh["securityCompliance"],
web_messages_zh["iwooos"],
]
iwooos_visible_text = "\n".join(collect_string_values(web_messages_zh["iwooos"]))
product_visible_text = "\n".join(
text for section in product_voice_sections for text in collect_string_values(section)
)
for forbidden in [
"S2.",
"回應「",
"專業建議",
"本輪",
"這裡",
"到底",
"空泛",
"不再只",
"卡在哪",
"初期框架",
"Claude",
"Codex",
"交辦",
"對話",
"不用讀",
"不用翻對話",
"使用者最",
@@ -270,7 +294,7 @@ def validate(root: Path) -> None:
"目前卡點",
"主要卡點",
]:
assert_text_not_contains("web_messages.zh-TW.iwooos.product_voice", iwooos_visible_text, forbidden)
assert_text_not_contains("web_messages.zh-TW.product_voice", product_visible_text, forbidden)
for text in [
"IwoooSVisualCommandDashboard",
'data-testid="iwooos-visual-command-dashboard"',