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

This commit is contained in:
Your Name
2026-05-20 10:38:02 +08:00
parent e7691a1f15
commit 4a24d3e4fc
2 changed files with 38 additions and 2 deletions

View File

@@ -75,7 +75,43 @@ Screenshot:
**Production deploy / smoke**
```text
Pending推 Gitea main 後驗證 dedupe API group 已含 archive_history key並以 production Work Items 確認頁面無 console / page error。
Code commit:
edb6daef feat(governance): attach km archive history to dedupe groups
Deploy marker:
e7691a1f chore(cd): deploy edb6dae [skip ci]
Gitea Actions:
2567 CD -> tests success / build-and-deploy success / post-deploy-checks success
2568 Code Review -> success
2569 Type Sync -> success
GET https://awoooi.wooo.work/api/v1/health
-> healthy, prod, mock_mode=false
GET /api/v1/ai/governance/km-review-drafts/dedupe?limit=100
-> schema_version=km_review_draft_dedupe_v1
-> total_review_drafts=100
-> event_group_total=47
-> duplicate_draft_total=53
-> groups=47
-> groups_with_archive_history_key=47
-> groups_with_non_empty_archive_history=0
Work Items production smoke:
-> navVisible=true
-> kmPanelVisible=true
-> dedupeVisible=true
-> historyVisible=true
-> emptyVisible=true
-> historyRowVisible=false
-> consoleErrors=0
-> pageErrors=0
-> failedResponses=[]
-> screenshot=/tmp/awoooi-t98-km-archive-history-group-production.png
Boundary:
-> groups_with_non_empty_archive_history=0 / historyRowVisible=false 是目前正確狀態,因為本輪沒有對 production KM 做 owner confirm 封存;只要後續 owner confirm 寫入 archive / recheck dispatchdedupe group 自己會帶出 history row不再依賴 queue size=20。
```
**目前整體進度**

View File

@@ -2365,7 +2365,7 @@ Phase 6 完成後
- UIWork Items 前端優先讀 `group.archive_history`;若 API 尚未升級或 group 無 history再 fallback 到 T97 的 queue item 匹配。這把「封存 / 回測歷史」從旁路分頁猜測改成 dedupe group 自帶證據。
- 邊界T98 仍是 read-only read model不自動寫 KM、不封存 production KM、不改 owner approval / fingerprint guard。
- Local verification`py_compile` okruff ok治理 endpoint 單檔 `39 passed`;治理 endpoint / dispatcher / Hermes worker tests `62 passed`Work Items Next lint ok`tsc --noEmit` oki18n JSON parse okshared-types regenerate 後無 diffproduction build 成功產出 90/90 static pages`git diff --check` pass。Local Playwright live production API bridge 對 dedupe response 注入 1 筆 archive_history row確認 `Hermesowner 確認封存` 與 fingerprint 顯示blockedWrites=0截圖 `/tmp/awoooi-t98-km-archive-history-row-local.png`
- Productionpending推 Gitea main 後驗證 dedupe API group 已含 archive_history key,並以 production Work Items 確認頁面無 console / page error
- Production`edb6daef feat(governance): attach km archive history to dedupe groups` 已推 Gitea maindeploy marker `e7691a1f chore(cd): deploy edb6dae [skip ci]`Gitea runs `2567` CD、`2568` Code Review、`2569` Type Sync 全 success。Production health healthy/prod/mock_mode=false。`GET /ai/governance/km-review-drafts/dedupe?limit=100``total_review_drafts=100``event_group_total=47``duplicate_draft_total=53``groups=47``groups_with_archive_history_key=47``groups_with_non_empty_archive_history=0`。Work Items production smoke 顯示 nav、KM healthcheck panel、KM 草稿去重視圖、封存 / 回測歷史區塊與 empty statepageErrors=0 / consoleErrors=0 / failedResponses=[],截圖 `/tmp/awoooi-t98-km-archive-history-group-production.png`。目前 non-empty history 為 0 是正確狀態,因為本輪沒有對 production KM 做 owner confirm 封存;只要後續 owner confirm 寫入 archive / recheck dispatchdedupe group 自己會帶出 history row不再依賴 queue size=20
- 目前進度更新:前端 AI 自動化管理介面同步約 98.7%;治理告警可讀性 / 可處置性約 99.0%AI Agent ownership 可追溯性約 98.2%KM healthcheck 派工可追蹤性約 99.7%Hermes KB growth 草稿 / owner review 閉環約 99.6%;完整 AI 自動化管理產品化約 97.5%。
---