Agentic DataOps

An open-source, self-hosted tool for moving data into a warehouse, transforming it, and pushing results back out, operated interactively through the user's AI assistant.

Language

Pipelines

Pipeline: A version-controlled definition of a chain of Steps that run together on a schedule or on demand. Avoid: job, DAG, flow, workflow

Schedule: How often a Pipeline runs by itself, written once in the Pipeline file (in plain words such as daily at 02:00, or cron) and read in the Project's time zone. It is used by both stage and prod and starts the whole Pipeline. dev and Branch Environments never run on a Schedule. A run that is due while the same Pipeline is still running is skipped. Avoid: cron, trigger, timer

Server: The always-on Linux machine that runs one Environment's Schedules (one for stage, one for prod) from its Project folder, a Git clone. It does not pull from Git: on a merge or release, its Self-hosted runner validates the new version, moves the folder to it and reloads the Server (ADR-0016). Its Dagster page is bound to 127.0.0.1 because Dagster's open-source page cannot be limited to "Run now" and "Pause" (ADR-0014 clarification). Avoid: host, VM, worker, runner (when meaning the Server itself; the GitHub agent on it is the Self-hosted runner)

Self-hosted runner: GitHub's runner program installed on a Server machine, labelled adops-stage or adops-prod, that runs the Project's workflow jobs there so they reach that Server's Warehouse with the secrets in its .env. Avoid: agent, CI worker, Server (the Server is the machine and its Dagster)

Run all: adops run --all: running every Pipeline of the Project one after another, each after the Pipelines it has a Pipeline Dependency on (name order breaks ties), stopping at the first failure. Branch runs and stage/prod deploys use it. Avoid: full run, run everything, batch

Pipeline Dependency: Pipeline X waits for Pipeline Y in Run all when a dbt project used by X's Transform reads a Source table that Y's Sync loads. Pipelines that depend on each other (a cycle, e.g. two Pipelines sharing one dbt project) load first, then build: every member's Steps before its first Transform run, then the rest, each part as its own locked run. Only Run all follows it; Server schedules do not. It does not make a Branch run --all of two Pipelines that share one Source correct. Avoid: pipeline order, upstream pipeline

Step: One unit of work inside a Pipeline: a Sync, a Transform, or a Reverse Sync. Avoid: task, node, op

Project: A user's own Git repository holding their Pipelines, dbt models and Environment settings, created by adops init. Avoid: workspace, repo (when meaning this), app

Source: An external system data is copied from, such as an application database. Avoid: input, connector (a connector is the code, the Source is the configured system)

Verified Source: A kind of Source covered by the tool's full end-to-end test suite in CI. Avoid: supported, official, certified

Connector Test Suite: One shared set of tests (tests/connectors) that every Source type other than Postgres runs against a real database: Full Refresh, Incremental Sync, built-in Checks, Breaking Changes, an unreachable Source and test-connection. A test is written once and runs for each Source type. Avoid: integration tests, driver tests

Connector Job: A CI job that runs the Connector Test Suite for one Source type against a real database service. It does not run Docker, Dagster or dbt, and it is separate from the Docker e2e jobs. Avoid: e2e job, matrix entry

Community Source: A kind of Source that can be used through PyAirbyte but is not covered by the tool's tests. Avoid: unsupported, experimental, beta

Warehouse: The analytical database where synced and transformed data lives. Avoid: destination (ambiguous with Reverse Sync targets), DWH, cache

Sync: Copying selected tables/streams from a Source into the Warehouse (through dlt for Verified Sources, PyAirbyte for Community Sources). A document database's collection counts as a table; its nested fields become columns and its lists become child tables. Avoid: ingestion run, extract, load, import

Incremental Sync: A Sync that copies only rows changed since the last run, found by a cursor column such as updated_at; it does not see deleted rows. Avoid: delta load, append sync

Full Refresh: A Sync that copies a whole table every run, replacing the previous copy. Avoid: reload, snapshot sync

CDC Sync: A Sync that reads the Source database's own change log, so it also captures deletes. Avoid: replication, streaming sync

Heavy read: A Sync table read larger than the Project's limit (by default more than 1 million rows or documents, or 1 GB), from any Source (ADR-0018). It runs only when its Pipeline entry carries a written approval reason, committed through Git and recording the size it was approved for. The approval must be renewed once the table grows past three times that size. Only one runs per Server at a time, and a Branch Environment reads only a slice of it. Any run over the limit, including an unplanned big Incremental Sync, is written batch by batch into a hidden copy that replaces the visible table only once every batch has passed; only a Full Refresh or a first run needs the approval. Avoid: big sync, large load, expensive query

Child table: The Warehouse table made from a list inside a document collection's documents (for example orders__items), one row per list item. Its key is the parent document's key plus the item's position in the list, unless the Pipeline names its own key (such as the parent key plus sku). Avoid: nested table, sub-table, array table

Breaking Change: A change to a Source table's shape (renamed or dropped column, changed type) since the last successful run. It halts the whole Sync Step before any Warehouse table changes, and every later Step, until resolved. In dev it is resolved by running accept-schema by hand; in stage, prod and Branch Environments, by a committed Accepted-change record, which dev's accept-schema writes. A Branch Environment can also be hand-accepted with accept-schema --branch <name>, which writes no record. An added column is not a Breaking Change. For a document database, a field seen with a new type is always a Breaking Change, but a field missing from the documents read counts as dropped only on a Full Refresh; a field present in only some documents is never one. Avoid: schema drift (covers harmless changes too), schema error

Accepted-change record: A YAML file in pipelines/accepted/, committed through Git, that names one Pipeline table and the Breaking Changes accepted for it, written as <column> dropped or <column> retyped (<from> -> <to>). Its id is the file name. Each Environment applies a record at most once, and records are never removed. accept-schema in dev writes one (as does any other --env, read-only); it can also be written by hand and checked with adops validate. Avoid: schema approval, migration, waiver

accept-schema: The command (adops accept-schema <pipeline> <table>) that accepts an intended Breaking Change. In dev it writes an Accepted-change record and saves the table's current shape as dev's baseline. With any other --env it only reads that Environment and writes the record. With --branch <name> it saves the Branch Environment's baseline under stage's Warehouse lock and writes no record. The Assistant's accept_schema tool runs it in dev only. Avoid: approve schema, schema migrate

Transform: Turning Warehouse data into new tables using dbt models and their tests. Avoid: model run, job

Reverse Sync: Copying data from the Warehouse back into an operational database. Avoid: reverse ETL, writeback, activation

Reverse Sync target: The existing table in an operational Postgres database that a Reverse Sync writes to, matched row by row on a key column. adops never creates it. Avoid: destination, sink

Diff: The rows a Reverse Sync would insert, update or delete to make its target match the dbt result, matched by key. Rows missing from the dbt result are deleted only when the Step sets delete_missing: true; otherwise they are kept and reported. The Preview and the real write use the same Diff. Avoid: changeset, delta, plan

Max-change guard: The max_change Check: it stops a Reverse Sync when the rows it would update or delete exceed a set share of the target's rows (half by default). An empty target always passes. Avoid: circuit breaker, blast-radius limit

Check: A fixed rule run before or after a Step that gives the same pass or fail for the same data (for example: the primary key is unique, no rows were lost). A failed Check fails its Step and stops every later Step; a Check can be skipped for one table only with a written reason. Avoid: test, assertion, validation, data quality rule

Preview: A Reverse Sync run that reports the changes it would make, with a sample, without writing anything. Only the Environments named exactly stage and prod write; every other Environment, including every Branch Environment, gets a Preview. Avoid: dry run, simulation, plan

Environments

Environment: A fully separate place a Pipeline runs, with its own Warehouse location and secrets: dev, stage or prod. Avoid: stage (as a generic word), target, profile

Branch Environment: A disposable Environment for a single Git branch or pull request, built from stage's settings by adops run --branch and removed with adops drop-branch when it is no longer needed. It lives in Branch Schemas in stage's Warehouse. Avoid: preview env, ephemeral env, sandbox

Branch Schema: One of a Branch Environment's schemas in stage's Warehouse, named br_<branch>__<schema> (e.g. br_add_refunds__analytics), beside stage's own schema of the same kind. Avoid: env schema, branch database

Step Fingerprint: A hash of everything that defines a Step: its definition in the Pipeline file and, for a Transform, every file of its dbt project. stage saves one per Step after the Step's Checks pass. Avoid: checksum, version, hash (alone)

Changed Step: A Step whose Step Fingerprint differs from the one saved by stage's last successful run. A Branch Environment rebuilds the first Changed Step and every Step after it. Avoid: dirty Step, modified Step

Defer: What a Branch Environment does with a Step that has not changed: it skips the Step and reads stage's result instead. A Branch where no Step changed defers every Step and uses stage as it is. Avoid: skip (a skipped Step is one that did not run because an earlier one failed), reuse, cache

Drop: Removing a Branch Environment with adops drop-branch <branch>: every Branch Schema starting with exactly br_<branch>__ and its local dlt state. stage's own schemas are never dropped. Not to be confused with a Drop (volume), a load far smaller than a table's Load Baseline. Avoid: delete, clean up, teardown

Promotion: Moving a reviewed change from one Environment to the next (Branch Environment → stage → prod) through Git. Avoid: deploy (when meaning this), release, push to prod

Fork PR: A pull request whose branch lives in a copy of the repository under another account. It gets only adops validate, on a GitHub-hosted machine, with no secrets and no Branch run; GitHub's fork approval setting, not the workflow, keeps its code off the Servers. Avoid: external PR, untrusted PR

Environment Warehouse: An Environment's or Branch Environment's Warehouse, opened for one purpose: a run (waiting for the Warehouse lock and holding it until the run ends), a read (trying the lock once and answering busy if a run holds it) or a repair (waiting for the whole Warehouse). It is opened by a named opener (a person, the Server or the Assistant), and it keeps the Step Fingerprints, Deploy State, Load Records, schema snapshots and Alerted State under that Environment's name. A Branch Environment's Warehouse is stage's Warehouse: it takes stage's lock and reads stage's Step Fingerprints, but its own tables live in its Branch Schema. Avoid: warehouse connection, session, context

Warehouse lock: The lock every Warehouse-writing run takes on one Warehouse before it writes. On DuckDB it is one lock per Warehouse file, so one run at a time. On Postgres a run of one Pipeline takes that Pipeline's Pipeline Lock, and runs of different Pipelines go on at once; adops drop-branch and saving the Settings Marker take it for the whole Warehouse and wait for every running Pipeline. A run waits up to 30 minutes for it, then fails without retry. Branch runs and Drop use stage's lock. Avoid: mutex, run lock, concurrency limit

Pipeline Lock: The Postgres form of the Warehouse lock for one Pipeline, known by its name:: two runs of the same Pipeline (a Branch run included, in stage's Warehouse) never hold it at once, while other Pipelines keep running. A run waits up to 30 minutes for it, then fails without retry. Avoid: pipeline mutex, per-pipeline lock

dbt Lock: The one lock per Postgres Warehouse a Transform Step holds while dbt builds, taken after its run's Pipeline Lock, so only one Transform builds the dbt project at a time; Syncs of other Pipelines keep running. A Transform waits up to 30 minutes for it, then fails with TransformBusyError (another Transform is building the dbt project on this Warehouse; try again when it finishes), not retried. DuckDB needs none. Avoid: transform lock, build lock

Run Liveness Lock: A lock an adops run or adops backfill holds in the Server's Dagster database for as long as its process lives, so the Server can tell a live run from one whose process was killed. Only runs on a Postgres-backed Dagster database take it; those runs are tagged adops/liveness. Avoid: run lock (that is the Warehouse lock), heartbeat (that is the Server's ping to an outside monitor)

Dead Run Sensor: The adops_dead_run_check sensor on the stage and prod Server. Every ADOPS_DEAD_RUN_CHECK_SECONDS (default 60) it looks at each adops/liveness run still shown as running; when no process holds its Run Liveness Lock, it marks the run failed and sends one alert (a run whose process stopped was marked failed). It never touches a run the Server itself started. Avoid: watchdog, reaper, zombie check

Retention Period: How long the stage and prod Server keeps Dagster run history: ADOPS_RUN_HISTORY_DAYS days (default 30), counted from when a run finished. Set in .env, not in adops.yaml. Avoid: TTL, history limit

History Purge: The adops_history_purge sensor on the stage and prod Server. Every hour it deletes up to 200 runs that finished before the Retention Period, with their event logs and Step output, and Schedule ticks older than it. It never deletes a queued or running run and starts no run of its own. Avoid: cleanup job, vacuum

Rollback: Running adops server-rollback on a stage or prod Server: current is pointed back at the release folder deployed before it, and that Environment's Step Fingerprints and Deploy State are cleared, so the next deploy reruns every Pipeline. Only code is switched back; Warehouse data, Sync cursors and dbt models stay as the newer release left them. It refuses, changing nothing, when there is no older release, the older release needs different Server config, a run is unfinished or the Warehouse lock is held. Avoid: revert, undo deploy, restore

Heartbeat: The ping the stage and prod Server sends while it is alive: the adops_heartbeat sensor GETs the URL in ADOPS_HEARTBEAT_URL once a minute, so an outside dead-man's-switch service the user picks reports a dead daemon, container or VM. The URL is read from .env on every tick and masked like a secret; with it unset nothing is sent, and a failed ping shows only its error type. Avoid: health check, Run Liveness Lock, uptime probe

Disk Alert: The one alert the stage and prod Server sends through its alert webhook when the disk holding the Server folder reaches ADOPS_DISK_ALERT_PERCENT used (1–99, default 85, rounded up as df shows it). Later checks stay silent until use drops below that level, which sends one Recovery Notice. Whether an alert is outstanding is kept by the adops_disk_alert sensor, so a daemon restart does not alert again. The alert carries only the used percent and the level, never a path. Avoid: disk warning, storage alarm, low-space alert

dlt State Folder: The local folder .adops/dlt/<env> where dlt keeps an Environment's state, the Incremental cursors included. A Branch Environment has its own (.adops/dlt/br_<branch>), stamped with stage's Warehouse. A Pending Load Package left in it is replayed or dropped by the next Sync; a drop prints Dropped an unfinished load for <table>: … under the Step. Avoid: dlt cache, pipeline folder

Pending Load Package: The rows a Sync killed before its load finished leaves in the dlt State Folder, with the Incremental cursor already moved past them. The next Sync of that Step replays it when the current Warehouse has every one of its tables (dlt's own _dlt_ tables aside). Otherwise it drops it with dlt's abort, which moves the cursor back, prints Dropped an unfinished load for <table>: its tables are not in this Warehouse; the rows will be read again, and reads those rows from the Source again. Avoid: leftover load, stuck package

Warehouse Identity: A hash of where an Environment's Warehouse is: its type, host, port and database, or its DuckDB path as written. The user and the password variable are left out, and a DuckDB path is not resolved, so a new password or a new Server release keeps it. Each dlt State Folder records the identity it belongs to. Avoid: warehouse id, connection hash

Warehouse Switch: A change to an Environment's warehouse: block in adops.yaml that changes its Warehouse Identity, for example from Postgres to DuckDB. On the next run adops renames the old dlt State Folder to <env>.moved-<UTC time>, keeps it, prints Warehouse changed for <env>: old dlt state kept at …; starting fresh and starts dlt state afresh. A folder with no Warehouse Identity stamp (made before adops stamped them) counts as a Warehouse Switch only when none of the running Pipeline's raw tables are in the Warehouse; otherwise it is adopted and stamped. A Branch's folder is always adopted. Avoid: migration, warehouse move

Secret Reference: The name of a secret (e.g. APP_DB_PASSWORD) used in configuration in place of its value. Avoid: credential, secret (when meaning the name)

Freshness

Stale Limit: How long a Sync table may go without being Loaded before the Server sends a Stale Alert, written as stale_after: 30m, 6h or 2d on the table in the Pipeline file. It needs a Schedule on the Pipeline (otherwise stale_after needs a Schedule on this Pipeline), is checked only on the stage and prod Server, and is not part of the Step Fingerprint, so changing it never reruns a Step. Not to be confused with the freshness Check, which runs inside a run and fails the Step when a column's newest value is older than max_age_hours. Avoid: freshness (alone), SLA, staleness threshold

Loaded: A table is Loaded when its Sync Step passed its Checks in a stage or prod run, even with 0 rows. A Step that was not rerun (unchanged or deferred) does not count, so a deploy that reruns nothing does not reset the Stale Limit. Avoid: refreshed, synced, updated

Load Record: One row in adops._adops_load_history in the stage or prod Warehouse per Step per run (per table for Sync), with the run id, outcome, start and finish time and rows loaded. dev and Branch runs record nothing. A Sync table's record also carries is_backfill, true only for the table an adops backfill rewound (a Backfill Load); older rows have it empty, which counts as not a backfill. Avoid: run log (the Run Log is the printed text), audit row

Freshness Checker: The adops_freshness_check sensor on the stage and prod Server. Every ADOPS_FRESHNESS_CHECK_SECONDS (default 60) it compares each table's last Loaded time with its Stale Limit and sends a Stale Alert or Recovery Notice. A Server that is down checks nothing and sends nothing. Avoid: freshness job, monitor, watchdog

Stale Alert: The one webhook message sent when a table has not been Loaded within its Stale Limit (... is stale: last Loaded <time>, Stale Limit <limit>). No repeat follows while the table stays stale. Not to be confused with the stale-run alert, which adops server-recover sends when it marks a run left running by a Server crash as failed. Avoid: freshness failure, staleness warning

Recovery Notice: The one webhook message sent when a table that got a Stale Alert is Loaded again (... has recovered: last Loaded <time>, Stale Limit <limit>). Avoid: all-clear, resolved alert

Alerted State: What the Freshness Checker remembers per table between checks: when it first saw the table and whether a Stale Alert is outstanding. It lives in adops._adops_freshness_state in that Environment's Warehouse, not in Dagster, so stage and prod sharing one Dagster database never mix it up. Avoid: sensor cursor, alert status

Load volume

Volume Anomaly Check: The built-in volume_anomaly Check on every Sync table in stage and prod runs (ADR-0021). After the load it fails on a Spike, or, for a Full Refresh table, on a Drop (volume), judged against the table's Load Baseline. It passes with fewer than 5 past loads or when the Load Baseline cannot be read. dev and Branch runs give no result for it. A halt does not roll back the loaded rows. Skipped per table with skip_checks and a reason. Avoid: row-count alert, volume monitor, anomaly detection

Load Baseline: The rows_loaded of the last 10 Load Records with outcome loaded for the same Environment, Pipeline, Step and table, leaving out Backfill Loads, newest first. A halted load is recorded check_failed, so it never enters the Load Baseline. Avoid: history window, moving average

Spike: A load that writes at least 1,000 rows and more than 10x the Load Baseline median. It halts any Sync table, Incremental or Full Refresh. Avoid: surge, outlier

Drop (volume): A Full Refresh load that writes fewer than a tenth of the Load Baseline median, judged only when that median is at least 1,000. An Incremental table never halts on a drop. Not to be confused with Drop, which removes a Branch Environment. Avoid: shrink, data loss (that is the no_row_loss Check)

Backfill Load: The load of the one table an adops backfill rewound. It skips the Volume Anomaly Check, and its Load Record is marked is_backfill, so it never enters the Load Baseline. Every other table in the same backfill run is checked and counted as usual. Avoid: backfill run (the whole run is not exempt), reload

Repo tooling

Identifier Guard: The scripts/identifier_guard.py check in the adops tool repo. It fails when tracked docs (docs/** Markdown and JSON, and every Markdown file) contain a public IPv4 address, an EC2 or AWS private hostname, or a 12-digit AWS account id; loopback, private and documentation addresses, version strings and Canonical's AMI owner id pass. CI runs it after Lint; the .githooks/pre-commit hook runs it on staged files and also blocks values from git-ignored .env files. Hits are printed masked. Avoid: secret scanner, leak check

Actors

Assistant: The user's own AI coding tool (e.g. Claude Code) that operates the product through its MCP server and skills. Avoid: agent (ambiguous), bot

Skill: A SKILL.md file that adops init writes to .claude/skills/<name>/ and that tells the Assistant how to carry out one workflow step by step in plain words. Avoid: playbook, prompt

Analytics Agent: The optional built-in AI that answers business questions about warehouse data; it can read, never write. Avoid: agent (unqualified), chatbot