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

+69 -3
View File
@@ -182,11 +182,57 @@
"adminViewOnlyShort": "唯讀",
"lastActivity": "最後活動",
"terminateReason": "終止原因",
"workflowItem": "Workflow Item",
"workflowItem": "檔案處理項",
"downloadExcel": "下載發貨 Excel",
"manualUploadEndNote": "Excel 已產生,請下載後在貨代平台上傳,並在本系統登記憑據。",
"waitingManualUploadNote": "Excel 已產生,請下載後在貨代平台上傳,並在本系統登記憑據。"
},
"processGate": {
"title": "待處理事項",
"currentGate": "目前處理環節",
"blockingMessage": "需要處理的原因",
"reasonCode": "處理原因",
"diagnosticHint": "處理建議",
"noAction": "目前沒有可執行的處理操作",
"versionMissing": "目前資訊已更新,請重新整理後再試",
"navigationMissing": "缺少跳轉所需的任務或覆核資訊,請重新整理後再試",
"genericBlocking": "目前步驟需要人工處理",
"unknownStep": "目前步驟",
"continueAction": "繼續處理",
"actionSubmitted": "操作已提交",
"submitting": "提交中…",
"actionCodes": {
"retry_with_latest_rules": "依最新規則重試",
"open_inventory_source_review": "開啟庫存源覆核",
"open_order_review": "開啟訂單覆核",
"open_profile_review": "開啟模板覆核",
"edit_order_fields": "編輯訂單欄位",
"confirm_customer": "確認客戶",
"adjudicate_duplicate": "處理重複訂單",
"resolve_field_conflicts": "解決欄位衝突",
"open_inventory_match_review": "開啟庫存匹配覆核",
"open_shortage_review": "開啟缺貨覆核",
"upload_inventory_file": "上傳庫存檔案",
"adopt_rule_suggestion": "採用規則建議",
"keep_manual_inventory_decision": "保留人工決定",
"retry_task_creation": "重試建立任務",
"retry_inventory_preparation": "重試庫存準備",
"regenerate_excel_artifact": "重新產生 Excel",
"regenerate_manual_upload_todo": "重新產生待上傳待辦"
},
"reasons": {
"freeze_not_ready": "訂單尚未滿足建單/凍結條件",
"profile_not_auto_freeze_approved": "文件模板未通過自動建單審批",
"profile_manual_confirmation_required": "文件模板需要人工確認",
"customer_unresolved": "客戶尚未識別",
"customer_ambiguous": "客戶識別存在歧義",
"field_conflict": "欄位存在衝突,需人工裁決",
"duplicate_unresolved": "重複訂單尚未處理",
"require_manual_review": "需要人工覆核",
"no_inventory_source_candidates": "未找到可用庫存源",
"inventory_source_unavailable": "庫存源不可用"
}
},
"myTodos": {
"title": "我的待辦",
"subtitle": "跨會話聚合待複核、異常與待人工上傳登記事項。",
@@ -238,8 +284,28 @@
"empty": "暫無事件記錄",
"detail": "查看詳情",
"sourceTask": "任務事件",
"sourceWorkflow": "Workflow 事件",
"workflowEvent": "Workflow 事件"
"sourceWorkflow": "檔案處理記錄",
"workflowEvent": "檔案處理記錄",
"updated": "處理狀態已更新",
"actors": {
"user": "業務人員",
"system": "系統",
"admin": "管理員"
}
},
"workflowStatus": {
"created": "已建立",
"queued": "等待處理",
"extracting": "正在識別",
"pending_review": "待覆核",
"waiting_manual_upload": "待人工上傳",
"failed": "處理失敗",
"completed": "已完成",
"closed": "已結束"
},
"workflowReasons": {
"user_cancelled": "已由使用者取消",
"completed": "處理已完成"
},
"stpFacts": {
"title": "STP 履約進度",