ARCHOS 525 BLUEPRINT · /d/dgm_int-dbt-transform
dbt SQL Transformation Internals (Jinja Compiler, DAG & Slim CI)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_int-dbt-transform) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-dbt-transform)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-dbt-transform" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="dbt SQL Transformation Internals (Jinja Compiler, DAG & Slim CI) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["Git PR / Scheduler"]
n1_1["Jinja & ref Compiler"]
n2a_2[("Warehouse Pushdown")]
n2b_3["Schema & Unit Tests"]
n3_4[("Manifest & Docs Graph")]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Compile · Jinja"| n1_1
n1_1 -->|"2a. Run MERGE · SQL"| n2a_2
n1_1 -.->|"2b. dbt test · SQL"| n2b_3
n2a_2 -->|"3a. Emit json · Artifact"| n3_4
n2b_3 -->|"3b. Sync · Control"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- Git PR / SchedulerSTATELESSSQL Models + YAML Tests
- Jinja & ref CompilerSTATELESSResolves DAG + incremental SQL
- Warehouse PushdownSTATEFULExecutes 100% SQL in Snowflake/PG
- Schema & Unit TestsSTATELESSValidates PKs, enums & mocks
- Manifest & Docs GraphSTATEFULEmits lineage + Slim CI state
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Git PR / Scheduler → Jinja & ref Compiler (Compile)[Jinja]
- Jinja & ref Compiler → Warehouse Pushdown (Run MERGE)[SQL]
- Jinja & ref Compiler → Schema & Unit Tests (dbt test)[SQL]
- Warehouse Pushdown → Manifest & Docs Graph (Emit json)[Artifact]
- Schema & Unit Tests → Manifest & Docs Graph (Sync)[Control]
- Manifest & Docs Graph → Downstream & OTel (Emit /)[OTLP/API]