docs(governance): record km archive history rollout [skip ci]

This commit is contained in:
Your Name
2026-05-20 10:05:49 +08:00
parent 8a3069755d
commit d19f6ad7a9
2 changed files with 41 additions and 2 deletions

View File

@@ -2356,7 +2356,7 @@ Phase 6 完成後
- UI`/awooop/work-items` 的 KM 草稿去重卡片新增固定「封存 / 回測歷史」區塊。尚無 owner archive / stale ratio recheck dispatch 時顯示明確空狀態;有 history row 時顯示 Hermes executor、dispatch status、workflow stage、archived count、dry-run fingerprint 與 stale ratio snapshot。executor 以 i18n 顯示 `Hermesowner 確認封存` / `Hermesstale ratio 回測`,不再只露 raw id。
- 邊界T97 只讀取既有 dispatch audit不自動寫 KM、不封存 production KM、不放寬 T96 fingerprint guard。這是 AwoooP operator observability不是新的自動改寫權限。
- Local verification`py_compile` okruff ok治理 endpoint / dispatcher / Hermes worker tests `62 passed`Work Items Next lint ok`tsc --noEmit` oki18n JSON parse okshared-types regenerate 後無 diff`NEXT_PUBLIC_API_URL=https://awoooi.wooo.work pnpm --dir apps/web run build` 成功產出 90/90 static pages`git diff --check` pass。Local Playwright live production API bridge只允許 GET確認 nav、KM healthcheck panel、KM 草稿去重視圖、封存 / 回測歷史區塊、empty state 可見blockedWrites=0截圖 `/tmp/awoooi-t97-km-archive-history-local.png`
- Productionpending推 Gitea main 後以正式 production domain 驗證 Work Items nav、KM 草稿去重、封存 / 回測歷史空狀態或 history rows
- Production`14697ba2 feat(governance): surface km archive audit history` 已推 Gitea mainGitea runs `2559` CD、`2560` Code Review、`2561` Type Sync 全 success。Production health healthy/prod/mock_mode=false。`GET /ai/governance/queue?dispatch_status=all&event_type=knowledge_degradation&size=20``total=205``table_pending=false`sample item 已含 `dry_run_plan_fingerprint` / `archived_count` / `stale_ratio_snapshot` 欄位。`GET /ai/governance/km-review-drafts/dedupe?limit=100``total_review_drafts=100``event_group_total=45``duplicate_draft_total=55`。Work Items production smoke 顯示 nav、KM healthcheck panel、KM 草稿去重視圖、封存 / 回測歷史區塊與 empty statepageErrors=0 / consoleErrors=0 / failedResponses=[],截圖 `/tmp/awoooi-t97-km-archive-history-production.png`。目前 `historyRowVisible=false` 是正確狀態,因為本輪沒有對 production KM 做 owner confirm 封存;一旦 owner confirm 寫入 archive / recheck dispatch該區塊會顯示 history row。
- 目前進度更新:前端 AI 自動化管理介面同步約 98.6%;治理告警可讀性 / 可處置性約 98.9%AI Agent ownership 可追溯性約 98.0%KM healthcheck 派工可追蹤性約 99.7%Hermes KB growth 草稿 / owner review 閉環約 99.5%;完整 AI 自動化管理產品化約 97.3%。
---