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

+17 -2
View File
@@ -248,7 +248,8 @@
"SHIPPING_NOTICE_INTAKE_PARSE_TIMEOUT": "Shipping notice parsing timed out. Retry or remove and upload again.",
"SHIPPING_NOTICE_INTAKE_STAGE2_PERSIST_FAILED": "Saving preprocessed email or attachment documents failed. Retry parsing.",
"SHIPPING_NOTICE_INTAKE_ATTACHMENTS_INCOMPLETE": "Shipping notice attachments are incomplete. Retry parse or remove and upload again.",
"SHIPPING_NOTICE_INTAKE_ALREADY_CONSUMED": "Shipping notice intake has already been consumed.",
"SHIPPING_NOTICE_INTAKE_ALREADY_CONSUMED": "This file is already being handled. View the existing result instead of submitting it again.",
"SHIPPING_NOTICE_ORDER_EXTRACTION_ALREADY_CONSUMED": "This file already has an order-processing result. View it or use recognition again.",
"SHIPPING_NOTICE_INTAKE_EXPIRED": "Shipping notice intake has expired.",
"SHIPPING_NOTICE_INTAKE_INVALID_STATUS": "Current intake status does not allow this operation.",
"SHIPPING_NOTICE_DUPLICATE_RESOLUTION_REQUIRED": "A duplicate shipping notice was detected. Choose how to proceed.",
@@ -370,6 +371,8 @@
"SHIPPING_REVIEW_DRAFT_VERSION_MISMATCH": "The draft was updated in another window. Refresh and try again.",
"SHIPPING_REVIEW_FIELD_INVALID": "The review field is not in this order's frozen schema.",
"SHIPPING_REVIEW_INVENTORY_CANDIDATES_INVALID": "Manual inventory source candidates are invalid. Select enabled sources and provide a reason.",
"SHIPPING_REVIEW_INVENTORY_ROUTING_ADOPT_INVALID": "Cannot adopt the rule suggestion: this line has no valid pending rule result.",
"SHIPPING_REVIEW_INVENTORY_ROUTING_KEEP_INVALID": "Cannot keep the manual result: this line has no pending rule suggestion.",
"SHIPPING_REVIEW_BUILD_ELIGIBILITY_BLOCKED": "Build eligibility failed. Resolve blocking issues or inventory candidates before confirming.",
"SHIPPING_REVIEW_LINE_NOT_FOUND": "The order line was not found or was deleted.",
"SHIPPING_REVIEW_DOCUMENT_NOT_FOUND": "The review PDF does not exist or is not accessible.",
@@ -397,6 +400,18 @@
"SHIPPING_REVIEW_QUALITY_COMMENT_REQUIRED": "A comment is required when the quality issue reason is Other.",
"SHIPPING_NOTICE_SESSION_WORK_ITEM_CLOSE_REASON_REQUIRED": "A reason is required to cancel this work item.",
"SHIPPING_NOTICE_SESSION_WORK_ITEM_LOCK_VERSION_INVALID": "The work item version is invalid. Refresh and try again.",
"SHIPPING_NOTICE_SESSION_WORK_ITEM_VERSION_CONFLICT": "The work item was updated by another operation. Refresh and try again."
"SHIPPING_NOTICE_SESSION_WORK_ITEM_VERSION_CONFLICT": "The work item was updated by another operation. Refresh and try again.",
"SHIPPING.PROCESS_EXECUTION_NOT_FOUND": "The process execution was not found.",
"SHIPPING.PROCESS_GATE_NOT_FOUND": "The process gate was not found.",
"SHIPPING.PROCESS_GATE_ACTION_INVALID": "The process gate recovery action is invalid.",
"SHIPPING.PROCESS_GATE_ACTION_FORBIDDEN": "The request includes forbidden execution control fields.",
"SHIPPING.PROCESS_GATE_ACTION_NOT_ALLOWED": "This action is not the allowed primary recovery action for the current gate.",
"SHIPPING.PROCESS_GATE_VERSION_MISMATCH": "The gate version changed. Refresh and try again.",
"SHIPPING.PROCESS_GATE_BUSY": "The gate is already running. Try again shortly.",
"SHIPPING.PROCESS_GATE_ALREADY_PASSED": "This gate has already passed.",
"SHIPPING.PROCESS_GATE_ATTEMPT_NOT_FOUND": "The process gate attempt was not found.",
"SHIPPING.PROCESS_GATE_PERMISSION_DENIED": "You do not have permission to access or recover this gate.",
"SHIPPING.PROCESS_GATE_IDEMPOTENCY_REQUIRED": "The recovery request is missing an idempotency key.",
"SHIPPING.PROCESS_GATE_IDEMPOTENCY_CONFLICT": "The idempotency key conflicts with a different gate request. Retry with a new key."
}
}