Quality and Audit Workflow

Last modified by Robert Schaub on 2025/12/18 12:03

Quality & Audit Workflow
This diagram shows quality gates and audit processes.

erDiagram
 TECHNICAL_USER {
 string SystemID PK
 }
 AUDITOR {
 string ModeratorID PK
 }
 MAINTAINER {
 string ModeratorID PK
 }
 CLAIM_VERSION {
 string VersionID PK
 }
 VERDICT_VERSION {
 string VersionID PK
 }
 QUALITY_GATE_LOG {
 string LogID PK
 string EntityVersionID FK
 enum GateType "SourceQuality,ContradictionSearch,UncertaintyQuant,StructuralIntegrity"
 boolean Passed
 json Details
 datetime ExecutedAt
 }
 AUDIT_RECORD {
 string AuditID PK
 string ModeratorID FK
 string EntityVersionID FK
 enum EntityType "Claim,Verdict"
 enum Outcome "Pass,Fail"
 json Feedback
 datetime AuditedAt
 }
 AUDIT_POLICY {
 string PolicyID PK
 string ModeratorID FK
 enum RiskTier "A,B,C"
 float SamplingRate
 json Rules
 }
 TECHNICAL_USER ||--o{ QUALITY_GATE_LOG : "executes"
 QUALITY_GATE_LOG }o--|| CLAIM_VERSION : "validates"
 QUALITY_GATE_LOG }o--|| VERDICT_VERSION : "validates"
 AUDITOR ||--o{ AUDIT_RECORD : "creates"
 AUDIT_RECORD }o--|| CLAIM_VERSION : "audits"
 AUDIT_RECORD }o--|| VERDICT_VERSION : "audits"
 MAINTAINER ||--o{ AUDIT_POLICY : "configures"