02 — System Diagram

🔍 Open the Interactive Diagram Viewer — pan, zoom, per-area tabs, the full ERD and a focus mode.

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

flowchart TD
  P[WarrantyPolicy]
  T[CoverageTerm]
  E[WarrantyEntitlement]
  C[WarrantyCandidate]
  CL[WarrantyClaim]
  EV[WarrantyEvidence]
  SN[ClaimUsageSnapshot]
  R[WarrantyRecovery]
  RC[RepairCycle]

  P --> T
  P --> E
  E --> C
  C --> CL
  E --> CL
  CL --> EV
  CL --> SN
  CL --> R
  P -- post-repair --> RC

The physical-component flow across the network

sequenceDiagram
  participant W as Work Management
  participant AR as Asset Register
  participant L as Asset Lifecycle
  participant X as Warranty
  participant F as SAP AP
  W->>AR: work.component_removed (via the orchestrator)
  AR->>X: asset.component_removed (warranty review)
  X->>L: lifecycle.component_exposure (direct, read-only)
  X->>W: warranty.candidate_detected (work order flagged)
  Note over X: create_claim -> supplier decision -> recovery approved
  F->>X: finance.supplier_credit_memo_posted (credit memo names the recovery)
  Note over X: recovery posted, claim recovered