Matter Model
The proven Go-side matter model is nine legal_* tables guarded by matter gate and audit logs.
Table model
legal_audit_logslegal_clientslegal_conflict_checkslegal_matterslegal_outputslegal_partieslegal_permissionslegal_review_queuelegal_source_records
Matter gate
Before substantive legal work, the system checks active matter, authorized scope, conflict screening, engagement scope, output destination, source records, and review queue.
Audit
Native legal tool writes produce legal_audit_logs, which is stronger than relying only on chat transcripts for legal-domain operation tracing.