From 0aa064ab43f73420fef86a89403add83a338f59e Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 13 Jun 2026 11:38:35 +0800 Subject: [PATCH] =?UTF-8?q?docs(logbook):=20=E8=A8=98=E9=8C=84=20P2-105=20?= =?UTF-8?q?redaction=20=E6=AD=A3=E5=BC=8F=E9=A9=97=E8=AD=89=20[skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/LOGBOOK.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index 562b9d56c..a3a85c3ef 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -33765,3 +33765,40 @@ production browser smoke: - frontend public env policy:`85%`;仍需後續 owner review 清理 legacy manifest/env 名稱與舊 workflow origin,不得未批准改 K8s Secret、workflow 或 runtime env。 - IwoooS overall 仍維持 `64%`;active runtime gate 仍為 `0`。 - 不能把本次 publicenv remediation 解讀成 DR scorecard 完成、credential escrow evidence 完成、Kali active scan 批准、runtime execution 授權、workflow 修改授權或 full-stack green。 + +## 2026-06-13 — P2-105 Critic / Reviewer result capture 與公開證據遮罩正式收斂 + +**修正內容**: +- `2afb7c0a fix(governance): harden agent evidence redaction`:強化公開證據遮罩,補齊 Agent API client 端遞迴遮罩、automation inventory 頁面本地遮罩、P2-105 舊版重複區塊移除與行動版寬度保護。 +- `92781655 fix(api): redact report automation evidence response`:讓 `GET /api/v1/agents/agent-report-automation-review` 在 API response 層套用公開遮罩,不只依賴前端保險。 +- `apps/web/messages/zh-TW.json` 同步移除不適合公開顯示的原始證據字樣,改用繁中治理語彙。 + +**Gitea / CD**: +- Redaction hardening deploy marker:`a6944683 chore(cd): deploy 2afb7c0 [skip ci]`。 +- API response redaction deploy marker:`00d99402 chore(cd): deploy 9278165 [skip ci]`。 +- 最終 production image: + - `awoooi-api=192.168.0.110:5000/awoooi/api:92781655f4498d1bd0c7689302c087a53f890c47`,`ready=2/2`。 + - `awoooi-web=192.168.0.110:5000/awoooi/web:92781655f4498d1bd0c7689302c087a53f890c47`,`ready=2/2`。 + +**驗證**: +- Targeted pytest:`41 passed`,包含 public redaction、P2-105 result capture、runtime verifier evidence、candidate dry-run evidence、report automation review API。 +- `pnpm --filter @awoooi/web typecheck`:通過。 +- `git diff --check`:通過。 +- Production health:`status=healthy`、`environment=prod`、`mock_mode=false`;`api/postgresql/redis/ollama/openclaw/signoz/ollama_gcp_a/ollama_gcp_b=up`。`ollama_local` 仍是既有 fallback cooldown / 502 狀態,不阻擋本輪 API/Web 上線。 +- `GET /api/v1/agents/agent-report-automation-review`:`schema_version=ai_agent_report_automation_review_v1`、`current_task_id=P2-403J`、`next_task_id=P2-403K`、`overall_completion_percent=100`、敏感證據詞掃描 `0`。 +- `GET /api/v1/agents/agent-critic-reviewer-result-capture`:`schema_version=ai_agent_critic_reviewer_result_capture_v1`、`current_task_id=P2-105`、`next_task_id=P2-106`、`overall_completion_percent=100`、敏感證據詞掃描 `0`。 + +**正式站 Browser DOM smoke**: +- URL:`https://awoooi.wooo.work/zh-TW/governance?tab=automation-inventory&_v=92781655-final-redaction`。 +- 內容存在:`AI Agent 自動化盤點`、`OpenClaw`、`Hermes`、`NemoTron`、`P2-105`、`P2-106`、`P2-403J`、`P2-403K`、日報 / 週報 / 月報、Telegram、風險自動化政策。 +- DOM 掃描:敏感證據詞 `0`、頁面錯誤字樣 `0`、horizontal overflow `0`。 +- In-app browser screenshot 通道仍逾時於 `Page.captureScreenshot`;此為截圖通道問題,DOM / API 驗證已通過。 + +**目前狀態**: +- P2-105 result capture 公開顯示與 API 回傳遮罩:`100%`。 +- NemoTron / OpenClaw / Hermes 自動化盤點頁可見度:`100%`(只讀治理顯示)。 +- Runtime 寫入、Telegram 實發、secret 讀取、生產自動優化仍未啟動;中低風險自動化與高風險審核仍需 P2-106 之後的 owner-approved result capture / verifier gate 才能前進。 + +**下一步**: +1. P2-106:owner-approved result capture dry-run,將 Critic / Reviewer score 與 route decision 寫入前的審核資料包固定下來。 +2. P2-403K / P2-403L:維持日週月報、Telegram receipt、verifier result 與中低風險自動化 guard 的只讀證據收斂。