Files
syops/docs/superpowers/plans/2026-10-17-freight-rpa-decouple-batch-d.md
T
hugoandCursor 39fe3c05f2 feat(freight-rpa): 库存/收料改名在手/入站,报表归属RPA,类名统一FreightRpa
把 shipping 侧 inventory/receipt 词根迁到 onhand/inbound,29 张表与
枚举/权限/前端/i18n 同步改名;在手与入站报表配置及文件改由 freight_rpa
持有,发货与调拨仅按 source_code 消费;ORM 类加 FreightRpa 前缀,
上传动作改为 freight_rpa_upload。含类名与上传动作改名规格文档。

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

35 lines
1.8 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.
# Freight RPA 解耦批次 D 实施计划(权威文档收口)
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development.
**Goal:** 把权威文档中的 inventory/receipt 旧词收口为 onhand/inbound;确认 outbound 仅调拨;upload=freight_upload;不做 shipment→outbound。
**Spec:** `docs/superpowers/specs/2026-10-16-freight-rpa-decouple-and-rename-design.md`
**D6:** `docs/superpowers/` 历史 plans/specs/ADR 归档**不改写**;权威文档必改。
## Global Constraints
- 不提交(本轮用户已下令整段不提交)
- 不改 `docs/superpowers/plans|specs` 历史快照(本批新写的 batch-d 计划除外)
- 不改 ADR 编号历史正文中的决策快照句,除非 ADR 0003 已在批次 R 勘误范围内需保持一致
- shipment 履约 / contract_payment / freight_upload / 调拨 outbound 边界以 GLOSSARY 为准
## Task 1: 权威文档术语收口
**Files (must update if they still say inventory/receipt as code terms):**
- `docs/features/shipping-notice/technical.md`(inventory/receipt 代码词 → onhand/inbound;保留履约 shipment)
- `docs/features/freight-rpa/GLOSSARY.md`(核对,已纠偏则只补漏)
- `docs/features/freight-rpa/cutover-runbook.md`(核对 freight_upload)
- `scripts/freight_rpa/README.md`
- `docs/funclist.md` / `docs/demand.md` / `docs/tec.md` 中相关条目
- `docs/convention/环境变量规则.md` 中 FREIGHT_RPA_* 命名段
- `docs/adr/0003-freight-rpa-module-boundary.md`(若与现行 R→S→D 不一致则就地勘误)
Steps:
1. Grep 上述权威路径中的 `inventory`/`receipt`/`outbound_upload`/`shipment→outbound` 作为代码术语的命中。
2. 按 GLOSSARY 替换;中文「库存」可保留为 onhand 文案。
3. 自检:`docs/superpowers/` 除本批新计划外不改。
4. Stage only the doc files you change. Do not commit.