learntodriveai.dev/Data Engineering/Warehouse Architecture: Data Products, Quality, Governance, and Observability as One System
Data EngineeringProject 167 units

Warehouse Architecture: Data Products, Quality, Governance, and Observability as One System

Ingrid HalvorsenHead of Data and Research · Salmon aquaculture company · Bodø, Norway
Slack · from Ingrid
The research team should see everything. Sales should not see fish health details. Regulatory data must be auditable.
Chat with Ingrid

What you hand back

  • A consumer inventory for four groups
  • A warehouse architecture document
  • Four representative data products, built
  • A quality architecture with its untested areas
  • A governance architecture covering access and retention
  • An observability design and board cost forecast

7 units

  1. Unit 1: The Follow-Up and the Consumer Inventory

    Read Ingrid's follow-up, then interview each of the four consumer groups to build the consumer inventory.

    Open unit 1
  2. Unit 2: The Warehouse Architecture Document

    Write the warehouse architecture document, setting data product boundaries and deciding which dimensions are shared or separate.

    Open unit 2
  3. Unit 3: Building the Transformation Architecture

    Build the transformation architecture and four representative data products, choosing an engine for each against its actual workload.

    Open unit 3
  4. Unit 4: Building the Quality Architecture

    Build the quality architecture, deciding what is tested, where and at what cost, and what is left untested.

    Open unit 4
  5. Unit 5: Building the Governance Architecture

    Build the governance architecture so masking, access roles, retention and audit work together for the regulatory window.

    Open unit 5
  6. Unit 6: Building the Observability Architecture and the Cost Forecast

    Build the observability architecture and the cost forecast Ingrid will take to the board.

    Open unit 6
  7. Unit 7: Architecture-Coherence Verification, Handoff, and Close

    Check the four data products agree with each other, hand the integrated warehouse back to Ingrid, and close.

    Open unit 7
Read the full brief

Ingrid Halvorsen needs the Nordfjord warehouse structured for four consumer groups with conflicting needs — site biologists, the research team, sales and export, and regulatory.

The discipline skills: warehouse architecture as data product boundary decisions across consumers; shared-vs-separate dimension judgments as the highest-consequence schema decisions of the track; transformation engine choice per data product against actual computation shape; quality, governance, and observability designed together as one integrated system; cost forecasting as a board input; knowing what NOT to monitor as part of the architecture.

The AI-direction lesson: AI builds each data product coherently in isolation and silently introduces cross-product inconsistency — the biologist dim_site rolls up by region, the regulatory dim_site rolls up by jurisdiction, both pass their own tests, and the same site_id resolves to different regions across products. The same shape repeats across quality, governance, and observability. Decomposition has to happen at two levels at once — per data product and across data products — and the architectural coherence is what only you can hold.

Your Role

You are the warehouse architect for Nordfjord. You design the data product boundaries, the transformation strategy, the quality architecture, the governance architecture, and the observability architecture as one system. You write the architecture documents each consumer group can sign off on, build representative data products as the proof, run a cross-product reconciliation pass, and hand the integrated warehouse back to Ingrid.

The scaffolding has thinned again. There is no architecture template, no per-data-product checklist, no decomposition template, and no colleague who reviews the architecture. Ingrid hands over the consumer groups and a constraint set; everything else is yours. Your repository carries forward — dbt, BigQuery, Dagster, the streaming and CDC pipelines from last project, the path-scoped CLAUDE.md, your MCP setup, your hooks. You extend it; you do not start over.

The AI relationship sits one register higher again. You decompose the warehouse problem before AI writes any code, supply the architectural constraints each piece must respect, and verify coherence across what four consumer-domain agents produce. No colleague reviews the warehouse this time — JT Thompson covered the ingestion side; the architecture is yours. (Sigrid Aune, an analytics-engineering consultant, is reachable on demand for a narrow sanity check on whether a shared dimension stays consistent across your four data products — she volunteers nothing and reviews nothing.)

What's New

Last project you designed the ingestion architecture for Nordfjord — per-source pattern decisions across 12 sites, the schema registry as a first-class deliverable, per-source-family agents with selective MCP, JT Thompson reviewing at architecture moments.

This project the comparison axis disappears. The ingestion landscape is operational; you consume from the landing zone it built. Genuinely new: four consumer groups with conflicting needs as the central design problem. Per-consumer-domain agents — biologist, research, sales-export, regulatory — replacing per-source-family agents, with connectivity now configured for handoff. Cross-data-product reconciliation tests as the warehouse's coherence proof. A cost forecast Ingrid will use to defend the data platform budget to the board. And no colleague reviewing the work — you are the only architect.

The hard part: cross-product silent failures live at the boundaries no single agent owns. Shared dimensions drift between products; materialization strategies fit each product in isolation but burn the budget across the warehouse; tests pass inside each product while the cross-product reconciliation is unwritten; masking is correct at the consumer layer and a debug-friendly intermediate view leaks the raw vet name; a 180-day backfill fires thousands of false-positive trend alerts; every model gets a freshness sensor and alert fatigue mutes the real failures.

Tools

  • dbt, Soda Core, BigQuery, Dagster, Kafka, Debezium, Confluent Schema Registry, DuckDB, PostgreSQL, MinIO, Docker Compose, GitHub Actions, Claude Code, Codex CLI, MCP — all carrying forward. The streaming and CDC pipelines from last project keep feeding the landing zone; you do not redesign them.
  • PySpark — on the table, not assumed. The research team's "historical, statistical" product is where a second engine tempts; whether it earns one is decided against the computation shape and the volumes in the landing zone, not against the word "research".
  • BigQuery INFORMATION_SCHEMA.JOBS — the cost-forecasting baseline. The capability is new even though the warehouse is the same.

Materials

You'll receive:

  • A project governance file (CLAUDE.md) — Nordfjord warehouse-phase context: client, the four consumer groups, carry-forward state from the ingestion architecture, verification targets, commit convention.
  • A consumer-needs prompt sheet (consumer-needs-prompts.md) — starting questions worth asking each consumer group. Hidden constraints surface only on targeted questions.
  • A site register (site-profiles.csv) — the 12 sites with connectivity, type, region and pen count; dim_site is built from it.
  • A harvest-and-certification extract (harvest-certifications.csv) — the sales-export team's September 2026 harvest batches with certification and export health certificates; the source for the sales data product.
  • A landing-zone seed script (scripts/seed-landing-zone.py) — only used if your existing BigQuery from last project is not available. It loads a fixed snapshot (1-30 September 2026) plus the harvest extract.
  • Ingrid's follow-up Slack message — in the chat at project start, in the same #data-architecture channel.

Deliberately not provided: any template for the warehouse, quality, governance, or observability architecture documents. No per-data-product checklist. No integration-test scaffolding. The hooks/ folder carries forward from your P15 repository, and the P15 landing zone is the data this warehouse is built on.

Materials · 5 files
Start Project 16

You work at a computer with a terminal. Signed in, your place is saved.