P2_WP00_REQUIREMENTS.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. {
  2. "schema_version": "1.0",
  3. "work_package": "P2-WP00",
  4. "title": "范围与第二业务域基线",
  5. "baseline_status": "ENGINEERING_BASELINED",
  6. "second_business_domain": {
  7. "code": "spare_parts_material_master",
  8. "name": "备品备件/物料主数据",
  9. "selection_status": "DEFAULT_BASELINE",
  10. "selection_rationale": "与设备运行维护存在业务关联,但对象、标准、质量规则和责任关系不同,可用于验证平台通用化且不重复建设设备域。",
  11. "enterprise_confirmation_gate": "P2-WP12 企业复制验收前,由企业确认实际业务域、负责人、数据源和脱敏样本。",
  12. "governance_objects": [
  13. {
  14. "id": "OBJ-MATERIAL",
  15. "name": "物料主数据",
  16. "business_key": "material_code",
  17. "required_fields": [
  18. "material_code",
  19. "material_name",
  20. "category_code",
  21. "base_uom",
  22. "status"
  23. ]
  24. },
  25. {
  26. "id": "OBJ-MATERIAL-CATEGORY",
  27. "name": "物料分类",
  28. "business_key": "category_code",
  29. "required_fields": [
  30. "category_code",
  31. "category_name",
  32. "parent_category_code",
  33. "status"
  34. ]
  35. },
  36. {
  37. "id": "OBJ-STORAGE-LOCATION",
  38. "name": "仓库与库位",
  39. "business_key": "warehouse_code+location_code",
  40. "required_fields": [
  41. "warehouse_code",
  42. "location_code",
  43. "location_name",
  44. "status"
  45. ]
  46. },
  47. {
  48. "id": "OBJ-INVENTORY-BALANCE",
  49. "name": "库存余额",
  50. "business_key": "material_code+warehouse_code+location_code+snapshot_at",
  51. "required_fields": [
  52. "material_code",
  53. "warehouse_code",
  54. "location_code",
  55. "quantity",
  56. "snapshot_at"
  57. ]
  58. },
  59. {
  60. "id": "OBJ-SUPPLIER-MATERIAL",
  61. "name": "供应商物料映射",
  62. "business_key": "supplier_code+supplier_material_code",
  63. "required_fields": [
  64. "supplier_code",
  65. "supplier_material_code",
  66. "material_code",
  67. "status"
  68. ]
  69. },
  70. {
  71. "id": "OBJ-EQUIPMENT-COMPATIBILITY",
  72. "name": "设备备件适配关系",
  73. "business_key": "material_code+equipment_type_code",
  74. "required_fields": [
  75. "material_code",
  76. "equipment_type_code",
  77. "compatibility_status",
  78. "evidence_source"
  79. ]
  80. }
  81. ],
  82. "sources": [
  83. {
  84. "id": "SRC-MATERIAL-POSTGRES",
  85. "name": "物料主数据关系库",
  86. "type": "PostgreSQL",
  87. "scope": "物料、分类、计量单位和状态",
  88. "read_mode": "只读元数据与受控样本",
  89. "readiness": "LOCAL_TEMPLATE_READY_ENTERPRISE_SAMPLE_REQUIRED"
  90. },
  91. {
  92. "id": "SRC-INVENTORY-MYSQL",
  93. "name": "库存与库位关系库",
  94. "type": "MySQL",
  95. "scope": "仓库、库位、库存余额和快照时间",
  96. "read_mode": "只读元数据与受控样本",
  97. "readiness": "LOCAL_TEMPLATE_READY_ENTERPRISE_SAMPLE_REQUIRED"
  98. },
  99. {
  100. "id": "SRC-SUPPLIER-FILE",
  101. "name": "供应商物料映射文件",
  102. "type": "受控 CSV/XLSX",
  103. "scope": "供应商编码、供应商物料编码和平台物料编码",
  104. "read_mode": "脱敏文件导入",
  105. "readiness": "SCHEMA_BASELINED_ENTERPRISE_SAMPLE_REQUIRED"
  106. }
  107. ],
  108. "terms_and_code_sets": [
  109. {
  110. "id": "TERM-MATERIAL-CATEGORY",
  111. "name": "物料分类术语与代码集",
  112. "type": "TERM_AND_CODE_SET",
  113. "owner_role": "material_domain_owner"
  114. },
  115. {
  116. "id": "CODE-UOM",
  117. "name": "计量单位代码集",
  118. "type": "CODE_SET",
  119. "owner_role": "material_data_steward"
  120. },
  121. {
  122. "id": "CODE-MATERIAL-STATUS",
  123. "name": "物料生命周期状态代码集",
  124. "type": "CODE_SET",
  125. "owner_role": "material_data_steward"
  126. },
  127. {
  128. "id": "TERM-SPARE-PART-CRITICALITY",
  129. "name": "备件关键度术语",
  130. "type": "TERM",
  131. "owner_role": "material_domain_owner"
  132. }
  133. ],
  134. "quality_rule_samples": [
  135. {
  136. "id": "QR-MAT-001",
  137. "name": "物料编码必填",
  138. "dimension": "COMPLETENESS",
  139. "target_object": "OBJ-MATERIAL"
  140. },
  141. {
  142. "id": "QR-MAT-002",
  143. "name": "物料编码全局唯一",
  144. "dimension": "UNIQUENESS",
  145. "target_object": "OBJ-MATERIAL"
  146. },
  147. {
  148. "id": "QR-MAT-003",
  149. "name": "物料名称与规格完整",
  150. "dimension": "COMPLETENESS",
  151. "target_object": "OBJ-MATERIAL"
  152. },
  153. {
  154. "id": "QR-MAT-004",
  155. "name": "计量单位符合代码集",
  156. "dimension": "VALIDITY",
  157. "target_object": "OBJ-MATERIAL"
  158. },
  159. {
  160. "id": "QR-MAT-005",
  161. "name": "物料分类引用有效",
  162. "dimension": "REFERENTIAL_INTEGRITY",
  163. "target_object": "OBJ-MATERIAL"
  164. },
  165. {
  166. "id": "QR-MAT-006",
  167. "name": "库存快照新鲜度",
  168. "dimension": "FRESHNESS",
  169. "target_object": "OBJ-INVENTORY-BALANCE"
  170. },
  171. {
  172. "id": "QR-MAT-007",
  173. "name": "库存数量非负",
  174. "dimension": "VALIDITY",
  175. "target_object": "OBJ-INVENTORY-BALANCE"
  176. },
  177. {
  178. "id": "QR-MAT-008",
  179. "name": "设备备件适配关系可追溯",
  180. "dimension": "TRACEABILITY",
  181. "target_object": "OBJ-EQUIPMENT-COMPATIBILITY"
  182. }
  183. ],
  184. "workflow_samples": [
  185. {
  186. "id": "WF-MAT-001",
  187. "name": "物料主数据纠错审批",
  188. "trigger": "用户提交物料字段纠错",
  189. "owner_role": "material_data_steward",
  190. "review_role": "material_domain_owner"
  191. },
  192. {
  193. "id": "WF-MAT-002",
  194. "name": "物料质量问题整改",
  195. "trigger": "质量规则产生违规记录",
  196. "owner_role": "material_data_steward",
  197. "review_role": "phase2_acceptance_owner"
  198. },
  199. {
  200. "id": "WF-MAT-003",
  201. "name": "术语与代码集变更",
  202. "trigger": "术语、分类或计量单位发生变更",
  203. "owner_role": "material_domain_owner",
  204. "review_role": "phase2_product_owner"
  205. }
  206. ]
  207. },
  208. "responsibility_assignments": [
  209. {
  210. "role": "phase2_product_owner",
  211. "accountability": "第二阶段范围、优先级、指标和变更控制",
  212. "binding_status": "PLATFORM_ASSIGNED",
  213. "person_name": null
  214. },
  215. {
  216. "role": "material_domain_owner",
  217. "accountability": "第二业务域对象、术语、标准和业务验收",
  218. "binding_status": "ENTERPRISE_TO_ASSIGN",
  219. "person_name": null
  220. },
  221. {
  222. "role": "material_data_steward",
  223. "accountability": "物料数据样本、质量规则和整改运营",
  224. "binding_status": "ENTERPRISE_TO_ASSIGN",
  225. "person_name": null
  226. },
  227. {
  228. "role": "phase2_technical_owner",
  229. "accountability": "架构、契约、迁移、安全和发布门禁",
  230. "binding_status": "PLATFORM_ASSIGNED",
  231. "person_name": null
  232. },
  233. {
  234. "role": "phase2_acceptance_owner",
  235. "accountability": "验收用例、缺陷门禁和移交结论",
  236. "binding_status": "ENTERPRISE_TO_ASSIGN",
  237. "person_name": null
  238. }
  239. ],
  240. "requirements": [
  241. {
  242. "id": "P2-WP00-R01",
  243. "name": "确认第二业务域与责任角色",
  244. "priority": "P0",
  245. "module_ids": [
  246. "P2-11",
  247. "CAT-03",
  248. "GOV-03",
  249. "GOV-04"
  250. ],
  251. "owner_role": "phase2_product_owner",
  252. "sample_refs": [
  253. "OBJ-MATERIAL",
  254. "OBJ-MATERIAL-CATEGORY",
  255. "OBJ-INVENTORY-BALANCE",
  256. "material_domain_owner",
  257. "material_data_steward"
  258. ],
  259. "acceptance_criterion": "默认第二业务域、治理对象和责任角色已经固化;企业姓名在正式复制验收前绑定,不虚构人员。",
  260. "status": "BASELINED"
  261. },
  262. {
  263. "id": "P2-WP00-R02",
  264. "name": "建立对象、来源、术语、质量和任务样本",
  265. "priority": "P0",
  266. "module_ids": [
  267. "CAT-03",
  268. "SEM-04",
  269. "DQA-02",
  270. "WFC-08"
  271. ],
  272. "owner_role": "material_data_steward",
  273. "sample_refs": [
  274. "SRC-MATERIAL-POSTGRES",
  275. "TERM-MATERIAL-CATEGORY",
  276. "QR-MAT-001",
  277. "QR-MAT-008",
  278. "WF-MAT-001"
  279. ],
  280. "acceptance_criterion": "至少三类对象、一个来源、一组术语、五条质量规则和一个跨责任流程均有稳定编号与验收用途。",
  281. "status": "BASELINED"
  282. },
  283. {
  284. "id": "P2-WP00-R03",
  285. "name": "固化验收指标和容量裁剪线",
  286. "priority": "P0",
  287. "module_ids": [
  288. "GOV-10",
  289. "GOV-11"
  290. ],
  291. "owner_role": "phase2_acceptance_owner",
  292. "sample_refs": [
  293. "P2-M01",
  294. "P2-M13",
  295. "P2-WP12",
  296. "P2-WP13"
  297. ],
  298. "acceptance_criterion": "所有核心结果均有指标、目标和不可裁剪门禁,容量不足时不会取消复制、权限、安全、迁移和验收。",
  299. "status": "BASELINED"
  300. },
  301. {
  302. "id": "P2-WP00-R04",
  303. "name": "建立第二阶段分支和需求追踪",
  304. "priority": "P0",
  305. "module_ids": [
  306. "PLT-16",
  307. "PLT-17"
  308. ],
  309. "owner_role": "phase2_technical_owner",
  310. "sample_refs": [
  311. "codex/dataops-phase2-platformization",
  312. "P2-WP00-R01",
  313. "P2-WP00-R05"
  314. ],
  315. "acceptance_criterion": "第二阶段在独立分支执行,每项需求可追溯到功能台账模块、样本、责任角色和验收标准。",
  316. "status": "BASELINED"
  317. },
  318. {
  319. "id": "P2-WP00-R05",
  320. "name": "固定第一阶段接口、迁移和数据状态",
  321. "priority": "P0",
  322. "module_ids": [
  323. "PLT-09",
  324. "PLT-10",
  325. "PLT-16",
  326. "PLT-17",
  327. "PLT-26"
  328. ],
  329. "owner_role": "phase2_technical_owner",
  330. "sample_refs": [
  331. "v0.2.0-phase1",
  332. "OPENAPI-219",
  333. "ALEMBIC-20260730-360",
  334. "LOCAL-DATA-SNAPSHOT"
  335. ],
  336. "acceptance_criterion": "第一阶段发布提交、OpenAPI、迁移、发布副本和本地数据状态均由哈希或精确计数固定。",
  337. "status": "BASELINED"
  338. }
  339. ],
  340. "acceptance_metrics": [
  341. {
  342. "id": "P2-M01",
  343. "definition": "第二业务域核心对象入账率",
  344. "target": ">=95%"
  345. },
  346. {
  347. "id": "P2-M02",
  348. "definition": "来源身份和版本可追溯率",
  349. "target": "100%"
  350. },
  351. {
  352. "id": "P2-M03",
  353. "definition": "增量采集变更识别准确率",
  354. "target": ">=99%"
  355. },
  356. {
  357. "id": "P2-M04",
  358. "definition": "核心字段血缘覆盖率",
  359. "target": ">=90%"
  360. },
  361. {
  362. "id": "P2-M05",
  363. "definition": "核心术语、标准和代码集责任覆盖率",
  364. "target": ">=95%"
  365. },
  366. {
  367. "id": "P2-M06",
  368. "definition": "通用质量规则模板复用率",
  369. "target": ">=80%"
  370. },
  371. {
  372. "id": "P2-M07",
  373. "definition": "质量问题按流程闭环率",
  374. "target": ">=85%"
  375. },
  376. {
  377. "id": "P2-M08",
  378. "definition": "四类统一任务状态可追溯率",
  379. "target": "100%"
  380. },
  381. {
  382. "id": "P2-M09",
  383. "definition": "数据事故责任与影响覆盖率",
  384. "target": "100%"
  385. },
  386. {
  387. "id": "P2-M10",
  388. "definition": "数据产品合同和合格证完整率",
  389. "target": "100%"
  390. },
  391. {
  392. "id": "P2-M11",
  393. "definition": "Agent 越权动作阻断率",
  394. "target": "100%"
  395. },
  396. {
  397. "id": "P2-M12",
  398. "definition": "Agent 关键动作审计覆盖率",
  399. "target": "100%"
  400. },
  401. {
  402. "id": "P2-M13",
  403. "definition": "第二业务域核心功能修改设备域专用代码次数",
  404. "target": "0"
  405. },
  406. {
  407. "id": "P2-M14",
  408. "definition": "安装、迁移、升级和回滚演练",
  409. "target": "各至少1次"
  410. }
  411. ],
  412. "capacity_cut_line": {
  413. "p0_must_keep": [
  414. "P2-WP00",
  415. "P2-WP01",
  416. "P2-WP02",
  417. "P2-WP03",
  418. "P2-WP04",
  419. "P2-WP06",
  420. "P2-WP07",
  421. "P2-WP10",
  422. "P2-WP11",
  423. "P2-WP12",
  424. "P2-WP13"
  425. ],
  426. "p1_reducible": [
  427. "P2-WP08 数据产品治理缩减为一个真实合同与合格证场景",
  428. "P2-WP09 Agent 治理缩减为只读与建议级验证场景"
  429. ],
  430. "never_remove": [
  431. "P2-WP12",
  432. "P2-WP13",
  433. "权限门禁",
  434. "安全门禁",
  435. "迁移回滚",
  436. "真实验收"
  437. ]
  438. }
  439. }