workspace root: /d/pipeline/workspaces/0/sdlc_general SKIP (absent): modules/world_sync/world_sync/pbl_runtime_schema.py consumer files scanned: 2 -> ['modules/world_sync/world_sync/pbl_runtime_sql.py', 'modules/world_sync/world_sync/pbl_runtime_tx.py'] SQL literals found: 9, distinct column identifiers: 18 authority columns [pbl_runtime_event] (25 cols): ['id', 'tenant_id', 'event_uid', 'event_code', 'idem_key', 'world_id', 'scene_id', 'session_id', 'entity_id', 'actor_id', 'event_type', 'payload', 'payload_json', 'causation_id', 'seq', 'seq_no', 'source', 'state', 'state_version', 'tx_group', 'broadcast', 'created_by', 'created_at', 'updated_at', 'occurred_at'] authority columns [pbl_entity_state] (10 cols): ['tenant_id', 'id', 'session_id', 'entity_id', 'state_json', 'state_version', 'checksum', 'updated_by', 'created_at', 'updated_at'] --- 方向 1: 代码 SQL 引用列 ⊆ 权威列集(必须全部成立)--- AuthorityResolutionError MISS (不在任何权威列集) ConcurrentStateConflict MISS (不在任何权威列集) _assert_contract MISS (不在任何权威列集) execute MISS (不在任何权威列集) expected_version MISS (不在任何权威列集) format MISS (不在任何权威列集) json MISS (不在任何权威列集) paramstyle MISS (不在任何权威列集) pyformat MISS (不在任何权威列集) qmark MISS (不在任何权威列集) rowcount MISS (不在任何权威列集) session_id OK ->pbl_runtime_event,pbl_entity_state state_json OK ->pbl_entity_state state_version OK ->pbl_runtime_event,pbl_entity_state tenant_id OK ->pbl_runtime_event,pbl_entity_state uk_es MISS (不在任何权威列集) updated_at OK ->pbl_runtime_event,pbl_entity_state write_event_with_state MISS (不在任何权威列集) --- 方向 2: 权威列集中未被 SQL 显式引用者(informational)--- [pbl_runtime_event] unreferenced=21 ['id', 'event_uid', 'event_code', 'idem_key', 'world_id', 'scene_id', 'entity_id', 'actor_id', 'event_type', 'payload', 'payload_json', 'causation_id', 'seq', 'seq_no', 'source', 'state', 'tx_group', 'broadcast', 'created_by', 'created_at', 'occurred_at'] [pbl_entity_state] unreferenced=5 ['id', 'entity_id', 'checksum', 'updated_by', 'created_at'] code columns checked: 18, missing from authority: 13 MISSING: ['AuthorityResolutionError', 'ConcurrentStateConflict', '_assert_contract', 'execute', 'expected_version', 'format', 'json', 'paramstyle', 'pyformat', 'qmark', 'rowcount', 'uk_es', 'write_event_with_state'] RESULT: FAIL