Data engineer. I optimize pipelines and processes, and write about what I learn doing it. Ideas start the argument, intuition shortens it, data ends it.

Can the Knowledge Store Answer With Open-Weight Models? Two Match Claude After One Fix

Can open-weight models compete with frontier models when they answer for a knowledge assistant over a derived store? The previous post tested dks, my prototype of the derived knowledge store, on 74 questions about real company documentation. It calls a model in two places: once to read the pages and turn them into records, and again to answer questions from those records. On Claude models, claude-haiku-5-5 reads and claude-sonnet-5-5 answers. This post keeps the records and swaps the answering model. The same 74 questions went to claude-sonnet-5-5 and to open-weight models. Two of them, kimi-k3 and glm-5p3, scored close to Sonnet at about two thirds and two fifths of its cost, and took two to five times as long. Getting there took one fix to how dks shows the conversation history: before it, every open model lost about a fifth of its answers to the same format slip. ...

November 19, 2026 · 10 min

Does a Derived Knowledge Store Answer Well? A First Test on Real Documentation

Can an assistant answer questions about company documentation correctly from records extracted from it? The previous post proposed a derived knowledge store and said that nothing in the design had been built or tested. I built a prototype of it, called dks, and ran it on real company documentation: three wiki spaces, 74 questions, and a judge model from another vendor rating every answer. In the first run, the judge rated about two thirds of the answers fully correct, and most of the rest partial. These are interim results. ...

November 12, 2026 · 8 min

Every Layer Between You and the Model Discounts Your Instructions

When you write an agent’s instructions, how much of what the model reads did you write? For about four weeks I evaluated Cortex Code CLI, Snowflake’s terminal coding agent, as the runtime for two agents from this series: the debugging agent and a case-study writer. It runs Claude models through Snowflake, and it reads agent definitions from the same .claude/agents/ folder Claude Code does. The agents kept their files and their model, Sonnet 4.6. The plan I wrote going in said the CLI was architecturally very close to Claude Code, and that most components would port directly. ...

October 23, 2026 · 8 min

The Satellite Registry: Generating a History-Blink Model from a List

The previous post left one entity with seven sources, five link-key branches and four satellites. Every satellite reads the same STAGE model, keeps its sources’ rows through src_filter, and carries the same payload. This post is about the model that joins them back together, and about the second list it needs. The model is the history blink. For every link key and every snapshot date it returns one row with the attributes active on that date. The attributes sit in four satellites, and each source belongs to exactly one of them, so a link key has rows in only one. Every column is therefore COALESCE(sat_a.col, sat_b.col, sat_c.col, sat_d.col), and whichever satellite holds the key supplies the value. There are 32 shared columns. Written by hand, that is 32 four-way COALESCEs and four joins, and all of them change when a satellite is added or removed. ...

October 22, 2026 · 8 min

The Scaffolding Agent: Four Rules I Built It By

What does an agent need before it can build part of a data warehouse, rather than debug one? When I started on the scaffolding agent, my answer was four things: A clearly defined goal: what the agent is responsible for, and what it is not. The work split into well-defined workflows. A design adjusted to the models available. Realistic expectations. The debugging agent investigates a failure someone has already seen. The scaffolding agent writes models that do not exist yet. ...

October 16, 2026 · 9 min

Heterogeneous Sources in Data Vault 2.0: A Different Link Key Shape per Source

When the sources feeding one entity disagree on which columns identify a row, what do you hash into the link key? The satellite-splitting post splits a wide entity by how often its columns change. That’s the right axis when every row means the same thing and only the volatility differs. It’s the wrong axis when one logical entity is fed by several source systems that populate different columns and disagree on which of them drive the key. ...

October 15, 2026 · 8 min

The Debugging Agent: A Map, a Memory, and the Rules Real Failures Wrote

Debugging a Data Vault warehouse is tedious. A wrong number in a mart can come from any of nine layers, and the walk back from the symptom to the cause runs through all of them. In a team, new sources land and old ones get reworked every month: in seven of the first nine months of 2026, more than 20 distinct load, PSA and stage models were touched, and in one month 102, out of 2,146 dbt models in total. The documentation describing how any of it works tends to be out of date by the time someone needs it. ...

October 14, 2026 · 11 min

Splitting a Satellite by Change Frequency: What the Refactor Bought

When one wide satellite carries columns that change at very different rates, how much does splitting it save? The split itself is textbook Data Vault. A satellite whose columns move at different tempos gets broken into several satellites grouped by change frequency, so a measure that changes daily stops rewriting columns that have not moved in a year. I did not invent that, and the classification I used was drawn by judgement, not measured. What I have is the before-and-after full-refresh timing for a real entity, model by model. The headline is 16% faster. Most of it did not come from the satellites. ...

October 7, 2026 · 8 min

Three-Tier Quality Gates in Data Vault: Catch Bad Data Three Times

A data-quality test that fails everywhere tells you nothing. When a single dbt build goes red and the failure could be a changed source, a broken landing transformation, or an ambiguous hash key, you’ve learned only that something is wrong, and you still have to go find out what. The point of testing is to know, the moment it breaks, which thing broke. Meaning, this invested time in writing tests pays off when it is time to debug. ...

September 30, 2026 · 9 min

Do We Even Need One Tool? Standardise the Flow, Not the Platform

Sooner or later the documentation platform comes up for replacement. A licence renews at a number somebody finally reads, an acquisition leaves two systems where there was one, or the thing is simply old enough that nobody defends it any more. The evaluation that follows has a familiar shape. A better editor. Search that works. A permissions model that matches the org chart. An assistant bolted on that answers questions about your own content. The candidates are better than the incumbent, because years have passed since it was chosen. ...

September 28, 2026 · 12 min