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
@@ -40,7 +40,8 @@
"shippingOrderDocumentProfiles": "Doc Templates",
"shippingFieldAssets": "Field Assets",
"shippingOrderSchema": "Order Schema",
"shippingAudit": "Audit center"
"shippingAudit": "Audit center",
"shippingProcessGates": "Process gate diagnostics"
},
"shippingOrderExtractionRuns": {
"eyebrow": "READ-ONLY RUN DIAGNOSTICS",
@@ -3712,5 +3713,81 @@
"chainTruncated": " (truncated)",
"eventHash": "Event hash",
"previousEventHash": "Previous hash"
},
"shippingProcessGates": {
"title": "Process Gate diagnostics",
"subtitle": "Read-only Execution gate track, blocking status, and Attempt history for recovery troubleshooting.",
"refresh": "Refresh",
"loading": "Loading…",
"empty": "No executions",
"loadFailed": "Failed to load executions",
"detailFailed": "Failed to load execution detail",
"attemptsFailed": "Failed to load attempts",
"detailTitle": "Execution diagnostics",
"executionNo": "Execution no.",
"status": "Status",
"allStatuses": "All statuses",
"currentGate": "Current gate",
"nextAction": "Primary action",
"updatedAt": "Updated at",
"actions": "Actions",
"viewDetail": "View detail",
"viewAttempts": "View attempts",
"viewSnapshots": "View input/output snapshots",
"total": "{count} total",
"previous": "Previous",
"next": "Next",
"gates": "Gate track",
"gateCode": "Gate code",
"gateStatus": "Gate status",
"blockingReason": "Blocking reason code",
"blockingReasonDetail": "Blocking reason detail",
"gateDiagnostics": "Selected gate diagnostics",
"findings": "Findings",
"effectiveResult": "Effective result",
"attempts": "Attempts",
"noAttempts": "No attempts",
"taskNo": "Task no.",
"caseNo": "Review case",
"scrollHint": "Scroll horizontally to see all columns",
"filterGate": "Filter by gate code",
"filterReason": "Filter by blocking reason",
"filterParty": "Filter by responsible party",
"filterSearch": "Keyword search",
"filterFrom": "Updated from",
"filterTo": "Updated to",
"applyFilters": "Apply filters",
"resetFilters": "Reset filters",
"findingsStructured": "Structured findings",
"severity": "Severity",
"field": "Field",
"party": "Party",
"reason": "Reason",
"message": "Message",
"noFindings": "No findings",
"attemptDiff": "{scope}: +{added} / -{removed} / ~{changed}",
"auditLink": "View process_gate_ audit events for this execution in the audit center",
"openAudit": "Open audit center",
"responsibleParty": "Responsible party",
"blockingReasonCode": "Blocking reason code",
"statusLabels": {
"active": "Active",
"blocked": "Blocked",
"waiting_external": "Waiting external",
"completed": "Completed",
"failed": "Failed",
"cancelled": "Cancelled",
"pending": "Pending",
"queued": "Queued",
"running": "Running",
"passed": "Passed",
"blocked_retryable": "Retryable block",
"blocked_manual": "Needs manual action",
"failed_terminal": "Terminal failure",
"invalidated": "Invalidated",
"skipped": "Skipped",
"succeeded": "Succeeded",
"superseded": "Superseded"
}
}
}