Built-in Checks guard every Sync; skipping one needs a written reason

Every flow must be guarded by fixed rules, not by the user remembering to add them. So every Sync table gets built-in Checks by default: listed tables and key/cursor columns exist before anything is copied; after the load the primary key is unique and never empty; a Full Refresh leaves the Warehouse with the same row count as the Source; an Incremental Sync never loses Warehouse rows and its cursor never goes backwards. The rules are pure functions over measured table facts (same facts, same verdict, no AI). A failed Check fails its Step and stops every later Step. A user can skip a Check for one table only with skip_checks plus a non-empty reason, and adops validate lists every skip.

Breaking Change detection (schema snapshot vs the last successful run) and user-declared Checks (not_null, accepted_values, min_rows, freshness) build on this and come next.

Considered Options: user-declared checks only (new flows would run unguarded); built-in Checks that can never be skipped (a Source that deletes rows on purpose would fail every run).

Amended by ADR-0017 (2026-11-28): an Incremental Sync from a document Source gets one more built-in Check, which fails when documents lack the cursor field. Child tables get the key Checks and "rows written equal list items read" instead of "no row loss" and "row count matches the Source", which a normal edit of a list would fail or the Source cannot measure.

Amended by ADR-0021 (2026-12-05): every Sync table also gets the built-in volume_anomaly Check in stage and prod runs. It fails when a load writes at least 1,000 rows and more than 10x the median of the table's last 10 loaded, non-backfill loads, or, for a Full Refresh table whose median is at least 1,000, fewer than a tenth of it. It needs 5 past loads, skips only the table an adops backfill rewinds, and is skipped like the others with skip_checks and a reason.