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
[](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_12COMPONENT STACK (14)
- Source team engineerSTATEFULChanges the contract in a pull request
- Source systemSTATEFULOwns the data and its contract
- Data analystSTATEFULQueries published tables
- CI runnerSTATELESSTests the contract on every pull request
- Schema registrySTATEFULHolds contract schemas; refuses incompatible ones
- IngestionSTATELESSRefuses batches that break the contract
- Raw layerSTATEFULAppend-only rows, exactly as received
- Data transformation frameworkSTATELESSBuilds models; its tests gate the build
- Enriched layerSTATEFULCleaned rows waiting for checks
- Data quality checkSTATELESSRuns the rules; a failure blocks publishing
- Curated layerSTATEFULBusiness-ready tables; last good copy kept
- Time-series database (TSDB)STATEFULStores failed-check counts over time
- AlertingSTATEFULPages on-call when checks fail
- Capacity cardSTATELESSIllustrative inputs, not measured
REQUEST & DATA FLOW (12)
- Source system → Ingestion (Loads with JWT)[HTTPS]
- Ingestion → Raw layer (Appends rows)[HTTPS]
- Raw layer → Data transformation framework (Supplies rows)[SQL]
- Data transformation framework → Enriched layer (Writes models)[SQL]
- Enriched layer → Data quality check (Feeds checks)[SQL]
- Data quality check → Curated layer (Gates publish)[SQL]
- Curated layer → Data analyst (Serves queries)[SQL]
- Ingestion → Schema registry (Fetches schema)[HTTPS]
- Source team engineer → CI runner (Opens change)[HTTPS]
- CI runner → Schema registry (Checks schema)[HTTPS]
- Time-series database (TSDB) → Data quality check (Scrapes failures)[HTTPS]
- Time-series database (TSDB) → Alerting (Feeds alerts)[HTTP]