CURRENT
51 relations 的 identity、owner/snapshot、nullable、index intent 與 service guard 集中於此入口。
所有關係都是 logical relation;圖表不補畫候選 DDL 沒有的欄位。
分區總覽+四張子圖
先讀跨區主鏈,再依序讀 Core、Supply、Cardholder/Payment Account/order routing、immutable fact/projection/reporting。每張 card 都是候選 DDL 已存在的 relation;連線的 cardinality 與類型只描述 service guard 維護的 logical relation。
51-relation catalog
下列 catalog 保留作 identity、nullable、owner/snapshot、index intent 與 service guard 的查閱入口;視覺圖不取代 current contract。
Core · 14
currencybankagentnotification_provider_sourcecredential_referencecredential_secretagent_banksystem_groupsystem_methodrolerole_methodusersystem_configagent_system_configDomain · 37
external_api_replay_noncesuppliersupply_gatewaysupply_accountdomain_audit_logsupply_pt_policysupply_pt_revisionsupply_pt_revision_linesupply_gateway_direction_configsupply_gateway_agent_allocationsupply_eligible_factsupply_eligible_fact_correctionsupply_eligible_fact_projection_queuesupply_eligible_fact_projection_failure_attemptsupply_aggregate_projection_watermarksupply_financial_hourly_aggregatesupply_cardholdersupply_cardholder_sessionsupply_cardholder_device_tokensupply_cardholder_notificationpayment_account_applicationpayment_accountpayment_account_balance_loghouse_cardpayment_account_daily_countersupply_cardholder_daily_assignment_counteragent_api_order_claimsupply_deposit_ordersupply_withdrawal_ordersupply_order_assignment_attemptagent_callback_outboxpayment_account_reservationsupply_order_proofhouse_card_transactionsupply_withdrawal_recovery_casehouse_card_daily_counterhouse_card_deposit_reservation固定邊界
user與supply_account各自直接保存 password、TOTP、challenge 與 session state;credential_reference/credential_secret僅屬 Agent OGP/LINE integration。- HOUSE 僅在 Deposit、LINE inbound evidence、HOUSE Deposit quota/reservation 出現;Withdrawal 只使用 Payment Account reservation、assignment attempt 與 recovery case。
- 所有 relation 維持 Greenfield/no database FK、server-derived owner scope、immutable fact/correction/projector 與 Agent API claim 的 current authority。
完整性 evidence
表格完整性審核逐列記錄 identity/unique grain、owner/snapshot、必要欄位群、index intent、流程使用點與 finding boundary。
來源:concepts/target-er-model-review.md(SQL 初始化頁除外)。