Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_data-quality-gates

Data quality gates and contracts

14 COMPONENTS · 12 FLOWS · UPDATED 2026-11-21
GITHUB README / PR PREVIEW CARD
[![Data quality gates and contracts — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_data-quality-gates/opengraph-image)](https://archos.sageideas.dev/d/dgm_data-quality-gates)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_data-quality-gates)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_data-quality-gates" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Data quality gates and contracts — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  engineer_0[("Source team engineer")]
  source_1[("Source system")]
  analyst_2[("Data analyst")]
  ci_3["CI runner"]
  registry_4[("Schema registry")]
  ingestion_5["Ingestion"]
  raw_6[("Raw layer")]
  dbt_7["Data transformation framework"]
  enriched_8[("Enriched layer")]
  dq_9["Data quality check"]
  curated_10[("Curated layer")]
  tsdb_11[("Time-series database (TSDB)")]
  alerting_12[("Alerting")]
  capacity_13["Capacity card"]
  source_1 -->|"1. Loads with JWT · HTTPS"| ingestion_5
  ingestion_5 -->|"2. Appends rows · HTTPS"| raw_6
  raw_6 -->|"3. Supplies rows · SQL"| dbt_7
  dbt_7 -->|"4. Writes models · SQL"| enriched_8
  enriched_8 -->|"5. Feeds checks · SQL"| dq_9
  dq_9 -->|"6. Gates publish · SQL"| curated_10
  curated_10 -->|"7. Serves queries · SQL"| analyst_2
  ingestion_5 -->|"Fetches schema · HTTPS"| registry_4
  engineer_0 -->|"Opens change · HTTPS"| ci_3
  ci_3 -->|"Checks schema · HTTPS"| registry_4
  tsdb_11 -->|"Scrapes failures · HTTPS"| dq_9
  tsdb_11 -->|"Feeds alerts · HTTP"| alerting_12

COMPONENT STACK (14)

  • Source team engineerSTATEFUL
    Changes the contract in a pull request
  • Source systemSTATEFUL
    Owns the data and its contract
  • Data analystSTATEFUL
    Queries published tables
  • CI runnerSTATELESS
    Tests the contract on every pull request
  • Schema registrySTATEFUL
    Holds contract schemas; refuses incompatible ones
  • IngestionSTATELESS
    Refuses batches that break the contract
  • Raw layerSTATEFUL
    Append-only rows, exactly as received
  • Data transformation frameworkSTATELESS
    Builds models; its tests gate the build
  • Enriched layerSTATEFUL
    Cleaned rows waiting for checks
  • Data quality checkSTATELESS
    Runs the rules; a failure blocks publishing
  • Curated layerSTATEFUL
    Business-ready tables; last good copy kept
  • Time-series database (TSDB)STATEFUL
    Stores failed-check counts over time
  • AlertingSTATEFUL
    Pages on-call when checks fail
  • Capacity cardSTATELESS
    Illustrative inputs, not measured

REQUEST & DATA FLOW (12)

  1. Source system → Ingestion (Loads with JWT)[HTTPS]
  2. Ingestion → Raw layer (Appends rows)[HTTPS]
  3. Raw layer → Data transformation framework (Supplies rows)[SQL]
  4. Data transformation framework → Enriched layer (Writes models)[SQL]
  5. Enriched layer → Data quality check (Feeds checks)[SQL]
  6. Data quality check → Curated layer (Gates publish)[SQL]
  7. Curated layer → Data analyst (Serves queries)[SQL]
  8. Ingestion → Schema registry (Fetches schema)[HTTPS]
  9. Source team engineer → CI runner (Opens change)[HTTPS]
  10. CI runner → Schema registry (Checks schema)[HTTPS]
  11. Time-series database (TSDB) → Data quality check (Scrapes failures)[HTTPS]
  12. Time-series database (TSDB) → Alerting (Feeds alerts)[HTTP]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →