feat(web): 顯示 Backup DR 治理證據
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / tests (push) Has been cancelled
Code Review / ai-code-review (push) Has been cancelled

This commit is contained in:
Your Name
2026-06-05 00:30:01 +08:00
parent 5dd274253d
commit b54477fdb6
8 changed files with 487 additions and 29 deletions

View File

@@ -5,30 +5,30 @@
"program_status": {
"overall_completion_percent": 100,
"current_priority": "P1",
"current_task_id": "P1-103",
"next_task_id": "P1-104",
"current_task_id": "P1-104",
"next_task_id": "P1-105",
"read_only_mode": true
},
"rollups": {
"total_items": 18,
"total_items": 19,
"by_priority": {
"P1": 16,
"P1": 17,
"P2": 1,
"P3": 1
},
"by_status": {
"planned": 7,
"done": 11
"done": 12
},
"by_gate_status": {
"read_only_allowed": 15,
"read_only_allowed": 16,
"production_change_blocked": 1,
"cost_approval_required": 1,
"blocked_by_evidence": 1
},
"by_owner_agent": {
"hermes": 10,
"openclaw": 7,
"openclaw": 8,
"nemotron": 1
}
},
@@ -280,6 +280,33 @@
],
"next_review": "P1-103"
},
{
"item_id": "AUTO-P1-104",
"priority": "P1",
"status": "done",
"workstream_id": "WS4",
"source_asset_id": "backup_dr_readiness_matrix",
"source_signal_kind": "ui_visibility_gap",
"title": "在 AwoooP / governance UI 加備份證據",
"owner_agent": "openclaw",
"recommended_action": "在 automation inventory tab 顯示 Backup / DR 目標、readiness matrix、通知政策、blocked / action-required 與 success-noise suppression 證據。",
"action_class": "execute_read_only",
"gate_status": "read_only_allowed",
"risk_level": "high",
"evidence_refs": [
"apps/web/src/app/[locale]/governance/tabs/automation-inventory-tab.tsx",
"GET /api/v1/agents/backup-dr-target-inventory",
"GET /api/v1/agents/backup-dr-readiness-matrix",
"GET /api/v1/agents/backup-notification-policy"
],
"acceptance_criteria": [
"顯示 Backup / DR 證據但不提供 backup、restore、offsite sync、credential marker、schedule 或 workflow 操作",
"顯示 ready、action-required、blocked、success suppressed 與 immediate escalation rollup",
"desktop 與 390px mobile 無橫向溢出",
"成功備份仍不得即時送 Telegram / AwoooP 洗版"
],
"next_review": "P1-104"
},
{
"item_id": "AUTO-P1-201",
"priority": "P1",

View File

@@ -4,8 +4,8 @@
"program_status": {
"overall_completion_percent": 100,
"current_priority": "P1",
"current_task_id": "P1-103",
"next_task_id": "P1-104",
"current_task_id": "P1-104",
"next_task_id": "P1-105",
"read_only_mode": true
},
"status_taxonomy": {
@@ -425,7 +425,7 @@
"display_name": "備份與 DR 自動化",
"completion_percent": 67,
"status": "in_progress",
"next_task_id": "P1-104"
"next_task_id": "P1-105"
},
{
"workstream_id": "WS5",
@@ -451,9 +451,9 @@
{
"workstream_id": "WS8",
"display_name": "產品 UI",
"completion_percent": 75,
"completion_percent": 82,
"status": "in_progress",
"next_task_id": "P1-104"
"next_task_id": "P1-305"
}
],
"tasks": [
@@ -620,7 +620,18 @@
"title": "對齊備份通知政策",
"output": "docs/evaluations/backup_notification_policy_2026-06-04.json",
"gate_status": "read_only_allowed",
"next_action": "完成P1-104 在 AwoooP / governance UI 加備份證據。"
"next_action": "完成P1-104 Backup / DR 證據 UI 已推進。"
},
{
"task_id": "P1-104",
"priority": "P1",
"status": "done",
"completion_percent": 100,
"owner_agent": "openclaw",
"title": "在 AwoooP / governance UI 加備份證據",
"output": "/zh-TW/governance?tab=automation-inventory",
"gate_status": "read_only_allowed",
"next_action": "完成P1-105 定義復原演練批准包。"
},
{
"task_id": "P1-201",
@@ -810,6 +821,12 @@
"ref": "GET /api/v1/agents/backup-notification-policy",
"result": "備份通知政策只讀 API 已新增,不送通知、不執行備份/restore/offsite sync、不寫 credential marker、不改排程或 workflow。"
},
{
"evidence_id": "backup_dr_evidence_ui",
"kind": "browser",
"ref": "/zh-TW/governance?tab=automation-inventory",
"result": "P1-104 Backup / DR 證據 UI 已接入 automation inventory tab本地 desktop 與 390px mobile 驗證 Backup / DR 證據、準備度矩陣、通知政策、成功抑制、即時升級、Gitea 與 SignOz disruptive guard 可見無載入錯誤horizontalOverflow <= 0。"
},
{
"evidence_id": "package_supply_chain_inventory_schema",
"kind": "schema",