24 lines
1.9 KiB
Plaintext
24 lines
1.9 KiB
Plaintext
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 statement literals kept: 6, distinct column identifiers: 5
|
||
identifier filter layers: L1 statement-gate+docstring-exclusion, L2 known_non_column=40, L3 stopwords=66, L4 shape_rules=3
|
||
|
||
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 引用列 ⊆ 权威列集(必须全部成立)---
|
||
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
|
||
updated_at OK ->pbl_runtime_event,pbl_entity_state
|
||
|
||
--- 方向 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: 5, missing from authority: 0
|
||
RESULT: PASS
|