02 — System Diagram

🔍 Open the Interactive Diagram Viewer — pan, zoom, per-area tabs, the full ERD and a focus mode. AssuranceException is the hub table, so its links can be hidden to declutter the overview.

Regenerate the viewer after any DSL, menu_config.yaml or diagram_config.yaml change: python scripts/build_diagram_viewer.py assurance.

flowchart TD
  MR[MaterialityRule]
  ME[MaterialityEvaluation]
  X[AssuranceException]
  EV[GovernanceEvidence]
  R[GovernanceRisk]
  D[GovernanceDecision]
  O[GovernanceObligation]
  A[GovernanceAction]
  V[GovernanceVerification]
  C[GovernanceClosure]

  MR --> ME
  ME --> X
  X --> EV
  X --> R
  X --> D
  R --> D
  D --> O
  O --> A
  X --> V
  O --> V
  X --> C

Selective escalation across the network

sequenceDiagram
  participant S as Supplier / Purchasing / SAP AP / Lifecycle / Warranty
  participant O as Orchestrator
  participant G as Assurance
  participant W as Work Management
  S->>O: supplier.issue_opened, delivery_delayed, invoice_match_exception, life_due, claim_decided
  O->>G: deliver
  Note over G: evaluate against MaterialityRule — record MaterialityEvaluation
  G->>O: governance.exception_created (only when material)
  Note over G: risk -> decision -> obligation
  G->>O: governance.obligation_assigned (work_order_cid)
  O->>W: deliver — a dependency on the work order
  Note over G: action -> verification accepted -> closure
  G->>O: governance.exception_closed