docs(logbook): record AI agent professional judgment rollout [skip ci]

This commit is contained in:
Your Name
2026-06-26 08:44:31 +08:00
parent 2fa5a13742
commit 450d733304

View File

@@ -34,6 +34,47 @@
**邊界**:本段只新增 status-chain read model 與前端放行合約;不 SSH、不重啟服務、不執行 Ansible apply、不發 Telegram、不寫 KM、不改 PlayBook trust、不改排程、不讀 secret、不開 runtime gate。
## 2026-06-26AI Agent 專業判斷矩陣正式上線:判斷依據、信心、建議與 Gate 可見化
**背景**:使用者要求不只看到 AI Agent 有工作量與協作證據,還要能看見每個 Agent 的專業判斷:它為什麼這樣判斷、依據哪些證據、信心如何、下一步建議是什麼、哪些 gate 阻擋正式執行。本段延續 `AI Agent 協作與學習證據流`,補上 `AI Agent 專業判斷矩陣`,並明確標示 deploy marker + production readback 才算正式上線。
**完成**
- `automation-inventory``AI Agents 全域控管總盤` 新增 `AI Agent 專業判斷矩陣`
- 新矩陣顯示 4 位 Agent 的專業判斷:
- `OpenClaw`仲裁、風險分級、乾跑證據、owner packet、高風險接受度與 owner review gate。
- `Hermes`:日報 / 週報 / 月報、回執、圖表、RAG / KM 摘要、no-send preview 與 Telegram live / Bot API 實送 gate。
- `NemoTron`市場版本雷達、no-write replay、scorecard、版本漂移比較、shadow confidence 與 provider / production write gate。
- `Security / SRE`權限模型、runtime 寫入邊界、Verifier、高風險 rollback 條件與 runtime / write blocked gate。
- 新增可見資料邊界:只讀取治理快照與脫敏證據;`deploy marker + production readback` 才算上線非產品對話、secrets、Telegram token、runtime write 全部不展示、不送出。
- 本段只使用既有 committed snapshot rollup不新增假資料、不讀 secret、不拉外部 runtime、不把內部工作視窗短訊、本機路徑或原始對話內容顯示到前端。
**Commit / Deploy**
- Code commit`c172c6ff feat(governance): expose AI agent professional judgment`
- 邊界補強 commit`6458a54e feat(governance): clarify AI judgment evidence boundary`
- Deploy truth 補強 commit`229e7fc8 feat(governance): surface AI judgment deploy truth boundary`
- Deploy marker`5d41fe26 chore(cd): deploy 229e7fc [skip ci]`
- `k8s/awoooi-prod/kustomization.yaml` 指向 web/api image tag `229e7fc8cdf1775ee2c1d240e14600a4375da9b8`
- Gitea Actionscode-review `#3442` 成功CD `#3441` tests 成功 `1m40s`、build-and-deploy 成功 `5m22s`、post-deploy-checks 成功 `2m49s`
**驗證**
- `node` JSON parse`apps/web/messages/zh-TW.json``apps/web/messages/en.json` 通過。
- i18n mirror`I18N_JSON_MIRROR_OK leaves=13939`
- `git diff --check`:通過。
- Changed-file sensitive scan未命中內部工作短訊、本機絕對路徑、授權檔名、授權標頭、Telegram 機器人憑證、私鑰格式。
- `pnpm --filter @awoooi/web typecheck`:通過。
- `pnpm --filter @awoooi/web exec eslint 'src/app/[locale]/governance/tabs/automation-inventory-tab.tsx'`:通過。
- Production desktop readback`/zh-TW/governance?tab=automation-inventory&_v=229e7fc8-professional-judgment-prod-desktop-final``1440x1000` 可見 `AI Agent 專業判斷矩陣``OpenClaw``Hermes``NemoTron``Security / SRE``判斷依據 / 信心 / 建議 / Gate``deploy marker + production readback 才算上線``正式寫入與 Telegram 實送邊界``provider / production write 阻擋``Telegram live / Bot API 實送`console error `0`、敏感外洩 `0`、token regex 命中 `0`、水平溢位 `0`
- Production mobile readback`/zh-TW/governance?tab=automation-inventory&_v=229e7fc8-professional-judgment-prod-mobile-final``390x844` 可見同一批必要文字console error `0`、敏感外洩 `0`、token regex 命中 `0`、水平溢位 `0`
**完成度同步**
- AI Agent 專業判斷矩陣 source-side`100%`
- 正式站桌機 / 手機讀回:`100%`
- 可見專業判斷角色:`4/4`
- 本輪只提升「專業判斷可視化、證據邊界、deploy truth 可見度」;產品總治理完成度仍依 `CODEX-START-HERE` 與 scorecard`42.2%`,不得宣稱全自動接管完成。
- Runtime / Telegram / production write 仍維持 gate-controlled正式執行 `0`、Telegram live send `0`、Bot API direct `0`、production write `0`、secret read `0`、destructive operation `0`
**邊界**:本段只完成治理視圖、脫敏可視化、正式站讀回與 LOGBOOK不 SSH、不 Ansible apply、不 kubectl write、不發 Telegram、不讀 secret、不切 provider、不升級套件、不執行 shadow-canary 寫入。
## 2026-06-26AwoooP 受控執行前檢正式上線:批准後先看可走哪條安全路由
**背景**:使用者指出 Telegram 告警與 AwoooP approval 批准後仍常停在「需人工判斷」,即使不能立即自動修復,也必須讓 operator 看見 AI 已準備到哪一步、是否已有 allowlisted route 候選、哪些前置條件仍阻擋 runtime apply。本段接在 `Owner 放行閉環任務板` 之後,補上受控執行前檢,而不是再把「需人工」寫成抽象文字。