docs(shipping-notice): 同步状态契约与工作台设计

This commit is contained in:
hugo committed 2026-09-07 09:46:41 +08:00
1 parent 7a9fac2f8a
commit 6787216ad0
14 files changed
+1584 -999

No files matched your search

@@ -72,6 +72,7 @@
- **业务用户**仅可见 `PROCESS_GATE_BUSINESS_USER_ACTION_CODES`;技术重试不对业务投影。
- 库存源路由额外动作:`adopt_rule_suggestion`、`keep_manual_inventory_decision`。
- **禁止**业务用户人工选择/切换 PDF Profile;`open_profile_review` 仅导航至只读模板区。
- **禁止跨 Gate 内嵌产物(2026-09-06)**:Worker Gate 的产物工作(生成 Excel、货代 RPA)必须在本 `gate_code` 的 Attempt 内执行;禁止在上游 Gate Attempt 内通过 `try_auto_chain_after_match` / 直接 workflow 调用完成下游职责。`_orchestrator_internal_dispatch` 仅表示「已在本 Attempt 内直跑本 Gate workflow」,不得用来在 `inventory_matching` Attempt 内生成 Excel。开心路径:`match pass → complete → enqueue → artifact_generation Attempt → generate_excel(_task_payload)`。`SHIPPING_NOTICE_AUTO_GENERATE_EXCEL_ENABLED` / `SHIPPING_NOTICE_AUTO_UPLOAD_ENABLED` 只控制是否自动入队对应 Attempt,不表示在 match 内直跑。
---