{ "key": "schema", "schema": { "table": "pbl_entity_state", "authority_module": "pbl_runtime_ext", "authority_path": "modules/pbl_runtime_ext/models/pbl_entity_state.json", "owner": "pbls", "milestone": "M11b-2b", "decision_ref": "PM 裁决(任务 u0EO4x3ajntR41acaHj5H 问答):选 B —— 以 pbl_runtime_ext 为唯一真源", "decision_basis": [ "设计文档 docs/01-design/modules/entity.md 明确 pbl_entity_state 为 pbl_runtime_ext 侧、pbls 所有", "world_sync 仅作为单事务写入的消费方,不拥有该表结构定义权", "本任务不得反向修改 M11b-1 已批准产物" ], "structure_note": "本文件不再自带 summary/fields/indexes/codes 结构体;列集、主键、索引一律以 authority_path 指向的 pbl_runtime_ext 定义为准。world_sync 侧消费方代码(pbl_runtime_sql.py / pbl_runtime_tx.py::write_event_with_state / pbl_runtime_schema.py)以该权威结构为准,不再依赖旧的 8 列本地结构。", "consumers": [ "modules/world_sync/world_sync/pbl_runtime_sql.py", "modules/world_sync/world_sync/pbl_runtime_tx.py::write_event_with_state", "modules/world_sync/world_sync/pbl_runtime_schema.py" ], "mirror_note": "apps/scense/pkgs/world_sync/models/pbl_entity_state.json 是本文件的打包镜像,只由 modules/world_sync/scripts/sync_models_mirror.py 生成,禁止手工双写;一致性由 modules/world_sync/scripts/m11b2b_selftest.py 的 sha256 断言守护。" } }