DATA OPS

Drift Triage Agent: BigQuery Diff to Owned Linear Issue

An agent investigates each detected BigQuery schema change against the dbt contract, decides whether and how to fix it.

CategoryData Ops
Enginepaperclip
Difficultyadvanced
Triggerschedule
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerMorning schedule starts drift sweep
  • ActionRead live BigQuery schemas for contracted modelsGoogle BigQueryBigQuery
  • LogicAgent compares to dbt contract and isolates real driftOpenAI
  • LogicAgent drafts remediation plan and infers owning teamOpenAI
  • OutputOpen routed Linear issue with plan and severityLinearLinear

What it does

This is an agent-driven sentinel that does more than report a diff. When it finds BigQuery columns that no longer match the dbt contract, it reasons about each change: a dropped column might need the contract relaxed, a new column might warrant adoption, a retype might require a casting layer. It writes a concrete remediation plan and opens a Linear issue assigned to the team that owns the affected model.

When to use it

Choose this over a plain diff-and-file workflow when your drift needs judgment, not just detection. It suits teams that want a draft plan and a routed owner ready in their issue tracker each morning rather than a raw list of column deltas to interpret themselves.

How it works

  1. 1A morning schedule starts the drift sweep.
  2. 2The agent reads live BigQuery schemas for contracted models.
  3. 3It compares each table to its dbt contract and isolates real drift.
  4. 4For each change it drafts a remediation recommendation and infers the owning team.
  5. 5It opens a Linear issue per affected model with the plan, severity, and assignee.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect BigQueryDatasets, queries, schemas.
  2. 2
    Connect LinearIssues, projects, cycles, triage.
  3. 3
    Connect OpenAIModels, embeddings, files.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.