feat(shipping-process-gates): 落地全门禁中断恢复并消除双真相

纳入 Execution/Gate/Attempt 模型与迁移、Worker/API/前端恢复卡片与 Admin 诊断,
Gate 阻断时清零旧 action_buttons,异常摘要统一脱敏,并为运维筛选与 Attempt Diff 补齐入口。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
hugoandCursor committed 2026-08-01 13:08:32 +08:00
1 parent b352c281d5
commit 323928626b
92 files changed
+11930 -458

No files matched your search

+78 -1
View File
@@ -39,7 +39,8 @@
"shippingOrderDocumentProfiles": "文件範本",
"shippingFieldAssets": "欄位資產庫",
"shippingOrderSchema": "訂單 Schema",
"shippingAudit": "運行與稽核中心"
"shippingAudit": "運行與稽核中心",
"shippingProcessGates": "門禁診斷"
},
"shippingOrderExtractionRuns": {
"eyebrow": "唯讀執行診斷",
@@ -3580,5 +3581,81 @@
"chainTruncated": "(已截斷)",
"eventHash": "事件雜湊",
"previousEventHash": "前序雜湊"
},
"shippingProcessGates": {
"title": "Process Gate 診斷",
"subtitle": "唯讀檢視 Execution 門禁軌道、阻斷狀態與 Attempt 歷史,供維運排查恢復鏈路。",
"refresh": "重新整理",
"loading": "載入中…",
"empty": "暫無 Execution",
"loadFailed": "載入 Execution 列表失敗",
"detailFailed": "載入 Execution 詳情失敗",
"attemptsFailed": "載入 Attempt 失敗",
"detailTitle": "Execution 診斷",
"executionNo": "Execution 編號",
"status": "狀態",
"allStatuses": "全部狀態",
"currentGate": "當前 Gate",
"nextAction": "主動作",
"updatedAt": "更新時間",
"actions": "操作",
"viewDetail": "檢視詳情",
"viewAttempts": "檢視 Attempt",
"viewSnapshots": "檢視輸入/輸出快照",
"total": "共 {count} 條",
"previous": "上一頁",
"next": "下一頁",
"gates": "Gate 軌道",
"gateCode": "Gate 編碼",
"gateStatus": "Gate 狀態",
"blockingReason": "阻斷原因碼",
"blockingReasonDetail": "阻斷原因詳情",
"gateDiagnostics": "目前 Gate 診斷",
"findings": "Findings",
"effectiveResult": "有效結果",
"attempts": "Attempt 列表",
"noAttempts": "暫無 Attempt",
"taskNo": "任務編號",
"caseNo": "覆核 Case",
"scrollHint": "表格可左右滑動查看完整欄位",
"filterGate": "Gate 編碼篩選",
"filterReason": "阻斷原因碼篩選",
"filterParty": "責任方篩選",
"filterSearch": "關鍵字搜尋",
"filterFrom": "更新時間起",
"filterTo": "更新時間止",
"applyFilters": "套用篩選",
"resetFilters": "重設篩選",
"findingsStructured": "結構化 Findings",
"severity": "嚴重級別",
"field": "欄位",
"party": "責任方",
"reason": "原因碼",
"message": "說明",
"noFindings": "暫無 Finding",
"attemptDiff": "{scope}:新增 {added}、刪除 {removed}、變更 {changed}",
"auditLink": "可在審計中心檢視該 Execution 的 process_gate_ 事件",
"openAudit": "開啟審計中心",
"responsibleParty": "責任方",
"blockingReasonCode": "阻斷原因碼",
"statusLabels": {
"active": "進行中",
"blocked": "已阻斷",
"waiting_external": "等待外部",
"completed": "已完成",
"failed": "失敗",
"cancelled": "已取消",
"pending": "待處理",
"queued": "已排隊",
"running": "執行中",
"passed": "已通過",
"blocked_retryable": "可重試阻斷",
"blocked_manual": "需人工處理",
"failed_terminal": "終態失敗",
"invalidated": "已失效",
"skipped": "已跳過",
"succeeded": "成功",
"superseded": "已替代"
}
}
}