docs(governance): record km archive fingerprint rollout [skip ci]
This commit is contained in:
@@ -72,16 +72,71 @@ Screenshot:
|
||||
/tmp/awoooi-t96-km-archive-fingerprint-local.png
|
||||
```
|
||||
|
||||
**Production deploy / smoke(完成)**:
|
||||
|
||||
```text
|
||||
Code commit:
|
||||
584d2a77 feat(governance): bind km archive confirm to dry-run fingerprint
|
||||
|
||||
Deploy marker:
|
||||
5fe9f725 chore(cd): deploy 584d2a7 [skip ci]
|
||||
|
||||
Gitea Actions:
|
||||
2554 CD -> tests success / build-and-deploy success / post-deploy-checks success
|
||||
2555 -> completed / success
|
||||
2556 -> completed / success
|
||||
|
||||
GET https://awoooi.wooo.work/api/v1/health
|
||||
-> healthy, prod, mock_mode=false
|
||||
|
||||
Production API guard smoke:
|
||||
GET /api/v1/ai/governance/km-review-drafts/dedupe?limit=100
|
||||
-> total_review_drafts=100
|
||||
-> event_group_total=43
|
||||
-> duplicate_draft_total=57
|
||||
|
||||
POST archive-duplicates dry_run=true, owner_approved=false
|
||||
-> status=200
|
||||
-> status=dry_run
|
||||
-> writes_km=false
|
||||
-> writes_governance_audit=false
|
||||
-> dry_run_plan_fingerprint=sha256:* (length 71)
|
||||
-> stale_ratio_recheck_status=dry_run
|
||||
|
||||
POST archive-duplicates dry_run=false, owner_approved=true, no fingerprint
|
||||
-> status=403
|
||||
-> detail=dry_run_plan_fingerprint from a dry-run preview is required before archiving
|
||||
|
||||
POST archive-duplicates dry_run=false, owner_approved=true, fake fingerprint
|
||||
-> status=409
|
||||
-> detail=dry_run_plan_fingerprint does not match the latest dedupe plan
|
||||
|
||||
Production frontend smoke:
|
||||
-> nav visible
|
||||
-> KM draft dedupe view visible
|
||||
-> confirmDisabledBefore=true
|
||||
-> confirmEnabledAfterPreview=true
|
||||
-> previewShowsFingerprint=true
|
||||
-> dryRunRequestOnlyFirst=true
|
||||
-> confirmCarriesFingerprint=true
|
||||
-> blockedExactlyOneConfirmWrite=true
|
||||
-> pageErrors=0 / consoleErrors=0
|
||||
-> screenshot=/tmp/awoooi-t96-km-archive-fingerprint-production.png
|
||||
|
||||
Dry-run / blocked-write guard:
|
||||
-> duplicate_draft_total before=57 / after=57
|
||||
```
|
||||
|
||||
**目前整體進度**:
|
||||
|
||||
- AwoooP 告警可觀測鏈:約 99.1%。
|
||||
- 低風險自動修復閉環:約 95%。
|
||||
- 前端 AI 自動化管理介面同步:約 98.4%。
|
||||
- 治理告警可讀性 / 可處置性:約 98.7%。
|
||||
- AI Agent ownership 可追溯性:約 97.6%。
|
||||
- 前端 AI 自動化管理介面同步:約 98.5%。
|
||||
- 治理告警可讀性 / 可處置性:約 98.8%。
|
||||
- AI Agent ownership 可追溯性:約 97.8%。
|
||||
- KM healthcheck 派工可追蹤性:約 99.6%。
|
||||
- Hermes KB growth 草稿 / owner review 閉環:約 99.3%。
|
||||
- 完整 AI 自動化管理產品化:約 97.0%。
|
||||
- Hermes KB growth 草稿 / owner review 閉環:約 99.4%。
|
||||
- 完整 AI 自動化管理產品化:約 97.1%。
|
||||
|
||||
## 2026-05-20|T95 KM duplicate archive two-step safety
|
||||
|
||||
|
||||
@@ -2347,7 +2347,8 @@ Phase 6 完成後
|
||||
- UI:Work Items confirm payload 帶回 preview response 的 fingerprint;若前端狀態缺 fingerprint,UI 直接要求重跑 preview。Preview card 直接顯示 plan fingerprint。
|
||||
- 邊界:T96 local smoke 沒有送任何成功的 `dry_run=false` 到 production;confirm POST 在 Playwright 層攔截,只驗證 payload 帶 fingerprint。
|
||||
- Local verification:`py_compile` ok;ruff ok;治理 endpoint / dispatcher / Hermes worker tests `61 passed`;Work Items Next lint ok;`tsc --noEmit` ok;i18n JSON parse ok;shared-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 smoke 確認 confirm preview 前 disabled、preview 後 enabled、preview 顯示 fingerprint、confirm payload 帶 fingerprint、confirm write 被測試層攔截、pageErrors=0 / consoleErrors=0,截圖 `/tmp/awoooi-t96-km-archive-fingerprint-local.png`。
|
||||
- 目前進度更新:前端 AI 自動化管理介面同步約 98.4%;治理告警可讀性 / 可處置性約 98.7%;AI Agent ownership 可追溯性約 97.6%;KM healthcheck 派工可追蹤性約 99.6%;Hermes KB growth 草稿 / owner review 閉環約 99.3%;完整 AI 自動化管理產品化約 97.0%。
|
||||
- Production:`584d2a77 feat(governance): bind km archive confirm to dry-run fingerprint` 已推 Gitea main;deploy marker `5fe9f725 chore(cd): deploy 584d2a7 [skip ci]`;Gitea runs `2554` CD、`2555`、`2556` completed success。Production health healthy/prod/mock_mode=false。API guard smoke:dry-run 回 `dry_run_plan_fingerprint=sha256:*`、`writes_km=false`、`writes_governance_audit=false`;缺 fingerprint 的 confirm 回 `403`;fake fingerprint 回 `409`;duplicate total 前後仍為 57。Work Items production smoke 顯示 nav、KM 草稿去重視圖、preview fingerprint;confirm request 帶 fingerprint 並被測試層攔截,pageErrors=0 / consoleErrors=0,截圖 `/tmp/awoooi-t96-km-archive-fingerprint-production.png`。
|
||||
- 目前進度更新:前端 AI 自動化管理介面同步約 98.5%;治理告警可讀性 / 可處置性約 98.8%;AI Agent ownership 可追溯性約 97.8%;KM healthcheck 派工可追蹤性約 99.6%;Hermes KB growth 草稿 / owner review 閉環約 99.4%;完整 AI 自動化管理產品化約 97.1%。
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user