refactor(shipping-notice): 进度信号统一为 15 阶 stage 契约码并透传阻断原因

- 后端进度写入 step_key 全量切换为 15 阶契约 stage 码
- 投影层清除 CheckPoint stepN_* 遗留别名与子串/前缀启发式,阶段信号按契约码精确匹配
- 建单前 Case 摘要透传草稿首要阻断原因
- 前端标签/归一化/处理卡片同步契约码,阻断原因按 i18n 优先展示
- 修复正式下游回看时 activeCase 刻意为空导致队列定位与接收解析上下文静默跳过
- 同步更新投影/门禁/工作台/RPA 流程测试
This commit is contained in:
hugo committed 2026-09-17 15:54:53 +08:00
1 parent d1adbe5ec5
commit 18af972d20
34 files changed
+903 -111

No files matched your search

+2 -2
View File
@@ -91,7 +91,7 @@ def test_fetch_gate_positions_batched(app):
user_id=user.id,
conversation_id=session.session_id,
status='waiting_review',
stage='step5_match_inventory',
stage='inventory_matching',
progress_version=1,
)
ot_b = ShippingOrderTask(
@@ -345,7 +345,7 @@ def test_sql_todo_category_prefers_gate_inventory_sufficiency(app):
user_id=user.id,
conversation_id=session.session_id,
status='waiting_review',
stage='step5_match_inventory',
stage='inventory_matching',
progress_version=1,
)
db.session.add(ot)