Files
syops/docs/features/shipping-notice/unified-progress-formal-edit-final-acceptance.md
T
hugoandCursor 84a881b554 feat(shipping-notice): 落地 XFA 统一视觉拆分确认门禁与处理投影收敛
闭合拆分预览令牌单次消费、样本 checksum 绑定与确认审计;正式提取改为 bindings-only。
同步统一标注工作台交互,并补齐进度投影/任务中心与迁移文档。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 10:21:25 +08:00

59 lines
3.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 统一进度与正式任务编辑 — 全阶段最终验收合规报告
> **日期**:2026-08-05(勘误 2026-08-05 晚)
> **方案**:15 阶统一进度 + 确认后原地正式任务编辑 + Schema 策略 + change_effect + 审计
> **总结论(勘误)**:阶段 0–6 **契约与正式编辑**已落地;但「统一进度」曾被误实现为四页面同一网格 UI。
> **当前口径**:统一的是后端业务进度事实、Gate、动作意图与审计;四页面必须差异化 Presenter。
> **页面命名**:原「复核工作台」→ **订单处理工作台**(单 OT 从复核到上传连续处理);原「任务工作台」→ **任务中心**(多任务列表)。
## 勘误清单(相对本文件初版「已达标」声明)
| 项 | 状态 |
| --- | --- |
| status/stage/gate/action 不变量 + `stage_nodes` | 已补 `processing_projection_invariants` |
| Extraction Run completed ≠ 全流程 completed | 已修正映射 |
| 四页面差异化 Presenter(非同网格 density) | 已挂 Chat/Sidebar/Review/Workbench Presenter |
| 中性阶段名 / 复核页隐藏「进入复核」 | 已改 i18n + surface 过滤 |
| Excel Artifact ready 冻结 / 全量 15 阶状态机写链 | Excel ready 已直查 Artifact;确认前客户/查重/库存源 stage 写链已接入;履约 Excel/上传回写 OT;Candidate 前早期 stage 写入 Run.progress_summary_json.processing_stage;OT 进度写入口强制 `order_task_progress_changed` 审计;Notice→stage 领域映射已抽离;投影读路径以 OT.stage/status 为准(不再用 Notice 覆盖) |
## 阶段总览
| 阶段 | 主题 | 验收文档 | 结论 |
| --- | --- | --- | --- |
| 0 | 契约冻结(15 阶 / 动作意图) | stage0-acceptance | 契约通过;运行态继续收敛 |
| 1 | Projection 写读 / 库存源硬门禁 | stage1-acceptance | 通过 |
| 2 | 进度呈现 / ActionBar | stage2-acceptance | **勘误**:不得再要求「四页面同网格」 |
| 3 | 原地 formal_task 编辑 | stage3-acceptance | 通过 |
| 4 | change_effect 下游失效 | stage4-acceptance | 通过 |
| 5 | 正式编辑审计矩阵 | stage5-acceptance | 通过 |
| 6 | 跨面契约 + Dify 说明 | stage6-acceptance | 通过 |
## 正式达标标准对照
| # | 标准 | 结果 |
| --- | --- | --- |
| 1 | 四页面消费同一 ShippingProcessingProjection | 通过(阶段 1–2) |
| 2 | 15 阶顺序一致(库存源前置) | 通过 |
| 3 | 页面差异化呈现(非同组件缩放) | **勘误后**:ChatSummary / SidebarInline / ReviewStrip / WorkbenchGrouped |
| 4 | Gate/按钮由 ActionPresentation(含页面语境) | 复核页隐藏 open_order_review |
| 5 | 建单后订单处理台原地切换 | 通过(阶段 3) |
| 6 | 编辑对象切换为正式任务 | 通过 |
| 7 | 默认只读,Schema 放行才可写 | 通过 |
| 8 | 库存影响字段回退匹配 | 通过(阶段 4) |
| 9 | Excel ready 冻结边界 | **BE-09**:ready Artifact + 路径 + version 指纹 |
| 10 | 无库存源不得建单 | 通过(阶段 1) |
| 11–12 | 解析恢复 / 对话删除恢复 | 既有能力;本方案未回归阻断 |
| 13–15 | 审计完整 / 不可改删 / 哈希链 | 正式编辑矩阵已补;全账本既有 |
| 16–17 | 文档/i18n/测试同步 | 本批已更新;全量 CI 以环境为准 |
## Dify
见 [unified-progress-formal-edit-dify-config.md](./unified-progress-formal-edit-dify-config.md):**无需修改画布**。
## 已知非阻断项
- 候选快照历史 UI 仍为占位
- require_revision 无专门前端提示条
- editable_until=excel_ready 完整导出 E2E 建议发布前人工抽检
- ~~任务中心内嵌 ShippingTaskWorkbench~~(**UI-04 已收口**:任务中心仅列表+深链;履约登记挂在订单处理工作台 TaskTodoPanel)