Genesis Prover measures two database estates, compares them, and proves
whether a delivered change meets its specification — with every difference
either licensed by a rule a person ratified, licensed by a disclosed platform
assumption, or left as an open finding a person decides.
schema_inventory obligation rather than treating object counts
as row comparisons; its fields and evidence are documented in the
register_obligation contract.
Connection access and run provenance are separate; the estate API reference
defines how direct estate calls preserve agent transport and audit identity while opening
saved connections as the authenticated human, including endpoint-specific reuse rules.
Characterization resume state follows that same exact resolved transport identity. The
opaque identity scope includes the bot and authenticated user pair, so an interrupted
scan can resume only its own staged measurement progress; another identity never sees
or consumes those rows.
For the per-member run summaries returned by multi-member scans, see the
characterize reference.
For Databricks sources, Prover scan reads use an internal 64 MB response ceiling and
bound eligible degeneracy probes at the source; see Databricks scan behavior.
Who does what. It is largely agents that run the Prover — registering
estates, launching measurements, authoring specifications, proposing dispositions.
It is people who look at the results and press the approve buttons. These pages
are written for that person. Where you would reasonably wonder how something gets
started, the answer is “an agent starts it”; the exact calls live in the agent-facing
reference described at the end of this page.
Readiness tells you what happened
Before characterization, estate preflight reports access, ETL understanding, and clonability as separate readiness lights. A raw estate may be markedsource_only=true:
because no Genesis transform produces its data, it has no ETL light and can be ready
without code assets. If the ETL agent turn reaches its configured wall-clock budget, the
light reports a timeout and points to the budget setting rather than treating the partial
reply as a format error. SQLite members are supported by the CLONABILITY check; see the
estate API reference for the probe
details and response fields. The
Advanced Settings page lists the budget.
Attaching code assets does not pin them: it records their locations until the agent calls
prover_estate(action="clone_code_assets"). When registration or an edit returns that verb in
next, the agent
must clone the git repositories or capture the Databricks revisions before
characterization. For a SOURCE with no transform code, the response suggests declaring
source_only=true; that declaration is explicit, not inferred from an empty asset list.
See estate registration and code assets
for the agent workflow and clone-fault recovery behavior. Estate member
connections must also work outside an individual user’s chat turn; see
Databricks App signed-in user connections
for a connection mode Prover refuses as an estate basis.
App mode
The Prover also records app migrations asapp_proof runs: a registered Foundry
Workshop app is sealed into an app spec, then its GenesisApp or hand-built Databricks App
rebuild is checked at sampled inputs. These runs appear in the same Prover workspace and findings ledger as database
proofs. The summary reports widget coverage, open clauses, sampled values, and whether
checks are verified, verified_with_indeterminate, or not_verified; an accepted gap
does not count as a pass. For hand-built apps, provenance tracing follows call aliases and
judges a workspace REST request by the SQL it submits to /api/2.0/sql/statements; other
workspace REST responses are marked not checked because they cannot be traced to a table.
App discovery treats a value as input-dependent when any pair of source readings at the
discovery inputs differs under the proof’s comparison tolerance.
For a table the source app displays, a rebuilt app that leaves
out a source column is not covered, even if every column it returns matches. The proof
names each omitted column as open and not compared; regenerate the app query to return it
or accept it as unchecked. data_differs points to the landed data, while app_wrong and
not_shown point to the rebuild. The Foundry app guide
explains grid-format and default-sort checks, filter controls, viewer-bound values, page
checks, screenshot judgments, and their
effect on app-proof verdicts, including when landed data must match Foundry on the
compared columns before a mismatch is attributed to the app. A deployed app whose hostname
is not yet resolvable can delay a read while DNS is retried; see that guide for the wait
and retry behavior. A server response showing that the app failed is an app_wrong
finding; a page no instrument could read remains unverified. See the guide for the page
and action verdicts. If Genesis has no
browser, it can read server-rendered pages over HTTP, including GenesisApps; the page
records inspected_by and skipped checks, and the run summary groups them under
page_instruments. An HTTP agreement is not a browser match because drawing and layout
checks were not made; see the Foundry app guide
for the instrument-specific verdicts.
Button or tab actions that set a variable the rebuild cannot compute are left open rather
than compared; this applies when no query computes that variable and no app parameter
supplies it.
Workshop stepper steps, disabled conditions, and tab-switch controls now contribute to
the app proof; see the Foundry app guide.
Recorded app-proof summaries also include input_response checks for Workshop layers.
App proof obligations preserve supplied-value stated_by metadata; see the
Foundry migration guide
for how the app spec records a person-provided layer.
When a supplied Foundry recording and a separate proof instance are passed to prove_app,
the run also compares each replayed action outcome and resulting state as a
scenario_match check; the proof instance and replay workflow are described in the
Foundry app guide.
An optional per_person plan adds checks from a second, person-supplied Databricks test
identity: whether the listed actions are refused as Foundry refused them and whether table
widgets show that identity the same rows. This requires a deployed Databricks proof instance
for refusals and a deployed target for row views; unavailable checks remain not_checked,
not passing. Read summary.per_person and the per_person findings for their results and
reasons. See the Foundry app guide
for the plan format and workflow.
For optional viewer-read checks, see the
prove_app reference.
For how AppKit ported actions are handled in Genesis previews and deployed-app replay,
see the Foundry app guide.
For recording replay coverage and proof-instance access requirements, see the
Foundry app guide.
When foundry_describe_app reads an embedded Notepad document, its text is included
in the rebuilt page’s content check.
If the source app differs from the sealed definition, the run distinguishes a
republished or edited source from the same definition compiled differently by a newer
build. Either kind caps an otherwise verified status at
verified_with_indeterminate; re-describe and seal the source to compare like with like.
Older seals without a definition digest or version report the cause as unknown.
When Foundry is unavailable, an exported Workshop bundle can be registered as a
foundry_bundle source. Prover compiles the bundle and compares the rebuilt app’s values
with the bundle’s compiled SQL on the target warehouse; it does not read Foundry, so this
is spec_conformance, not app-against-app proof. A difference is reported as app_wrong;
the proof does not determine whether the target data matches the original Workshop app.
Every run carries this caveat: “This proof shows the app faithfully serves the queries
compiled from the Workshop definition. It does not show those queries return what the
Workshop app shows in Foundry; no Foundry values were available.”
Bundle-backed proof can also cover tables split across schemas under one catalog: the
source estate records its schema map and the target declares its additional landed schemas.
See the app-mode tool reference
for the locator fields.
The migration workflow is in the Foundry app guide;
the agent verbs and parameters, including the option to skip action save rehearsals, are
in the app-mode tool reference.
That reference also documents summary-only polling with get_run(detail="summary").
For sampled-input verdict detail on a recorded app proof, request include_by_input=true
from its run-detail API; the API reference
describes the returned record and its size limits.
The data-work proving skill
The optionalprove-data-work skill is the end-to-end playbook for proving data
built to a written definition: a migration, cutover, rebuild or replatform, a dbt
build, a pipeline output, or a new gold, mart or reporting layer. It explains when
to use the Prover instead of hand-written row counts, how to choose the cross-engine
settings, and how to read a comparison into a punchlist without treating
indeterminate or errored as a clean result. For a copy leg whose data already landed,
register and characterize both whole estates before authoring one spec. Put each
keep-but-don’t-count table in excluded_objects on every estate that contains it. Give
row identity only as row_identity; write renames into the spec and pass them to the proof
as schema_map, column_map, and object_map. Other requirements become clarifications;
ask all questions before commissioning at most one repair round. If an exclusion arrives
after sealing, update the full excluded_objects list on each estate that holds the table,
then characterize both estates again. A person’s acceptance does not change the grade’s
own verdict, but it counts toward the comparison’s Proven status and is reported
separately from checked data. The skill gives the full order.
For each proof round, the skill reads the finished run’s short form and posts the verdict,
what changed, and the next step with the review link; the review page remains the place for
the full blocking list and findings.
The agent works through findings before asking a person: a request that authorizes a named
target also authorizes non-destructive fixes within that target, so the agent can apply them
and prove again without asking for another approval. A destructive fix held for confirmation
is bundled with the round’s other such fixes into one ask, after taking a backup. Progress is
measured on tables compared in both the current and previous proof; findings on newly
compared tables count as new coverage, not as a failure to improve. After three consecutive
proofs with no reduction on the previously compared tables, the agent stops and reports what
remains in plain language. It asks a person only to accept a validated business difference
they can understand. The supporting
relaying-to-people.md file gives the decision test and wording. Foundry app proof summaries
also report who wrote each logic override entry; see Restoring person-supplied Workshop logic.
In a Genesis thread, activate it with
manage_context(action='ADD_CONTEXT', active_skills='prove-data-work'). An
external MCP caller can read it through
genesis(action='read_skill', skill_name='prove-data-work', relative_path='SKILL.md').
SKILL.md holds the core rules and identifies the supplementary files to read when needed:
the-path.md for running a step, reading-results.md for comparisons, grades.md for grade
reports, approvals.md for requests, getting-the-verbs.md for MCP or HTTP calls, and
relaying-to-people.md before relaying an answer or asking a person. In a Genesis thread,
read a listed file with read_assigned_skill_file; an external MCP caller uses
read_skill with the file path as relative_path. See Context Tools
for the assigned-skill reader details.
The skill is optional: the plan_estate_comparison plan and the Prover’s verbs work
without it, and their responses identify the skill when it is useful.
In Genesis, specification calls from prove-data-work are wrapped by prover_spec; its
contract is in the Prover tool
reference.
The two Prover skills were previously named prove-a-migration and plan-a-migration.
Those names still load, as thin pointer skills that keep the migration trigger words and
send the agent to prove-data-work and plan-data-work. The pointers carry none of the
doctrine, so a thread or caller that uses an old name should load the new one.
The data-work planning skill
prove-data-work verifies one comparison. A migration or spec-driven build may need
several comparisons in a required order, and the companion plan-data-work skill is the
recipe book for working out which ones. It applies to migrations as well as builds such as
a dbt model or reporting layer checked against a written definition. For layered work, it
teaches the general source-layer, ETL and target-layer shape, the named shapes seen so far,
and a method for deriving a recipe for a project that matches none of them. For each it
gives the proof sequence, what must be declared before the first proof, and the rule that
the deliverable is a durable pipeline on the target rather than hand-assembled copies.
There is no separate planning agent: the same agent plans the sequence and then runs each proof through
prove-data-work. The main skill keeps the shared sequence in one read and points to
supporting files for the chat and onboarding routes, target runtimes, Data Vault, Genesis
Flows and measured gotchas only when those topics apply.
For a migration driven directly in chat (rather than by a migrate_and_prove Mission),
the skill checks access and execution readiness and settles the remaining setup together
at the start: repository and branch, run-name prefix, decision-makers, sign-off owner, and
deliverable audience, format, length, and house style. It keeps phases in fresh threads
using a concise committed carry-over file, with collateral work handed to its own thread.
A thread goal must be set again when work moves to a new thread.
For dbt, add a Prover check of the build process itself, such as compilation or dbt run,
only when the ticket makes it a requirement; otherwise cite the build receipt in the
report. A required target-side check can read dbt/run_receipts/<run_id>.json from the
runtime’s storage path with read_text or read_json_auto and assert success, the
invocation run_id, and the project_sha256 and model sha256 values for the current
files. Use a source-side expectation stated by the ticket, not a source measurement. This
works only when the target engine can read the Genesis host’s files, such as file-backed
DuckDB; on warehouse targets, report the ticket’s process criterion as checked by the
receipt rather than by the spec.
Activate it the same way:
manage_context(action='ADD_CONTEXT', active_skills='plan-data-work'), or
genesis(action='read_skill', skill_name='plan-data-work', relative_path='SKILL.md')
from outside.
The data-work skills direct the agent to take its own next step in the same turn: repair
its own spec defect and act on choices already covered by the sponsor’s standing rule,
including whether to open an adjudication. Required readiness items and business questions
that only the person can answer still wait for them; the agent authors the spec, including
any mapping it proposes, and discloses that mapping and its evidence in the readout rather
than asking the person to ratify the spec. For a review decision without a standing rule,
the person must ask for it or include it in a goal, Blueprint, or mission; an agent records
which basis it acted under.
Readiness withholds another conversation’s answers and documents by default; ask the person
here, and set include_other_conversations=true only if they ask you to use that record.
Confirm any answer from it before relying on or repeating it. See the
readiness tool reference for
the response details and how the pair’s latest proof can supply the migration shape when
no sealed spec is named.
Data-fidelity checks in the skills
When planning or proving spec-driven data work, profile each source column for missing-value markers that its declared type does not reveal, such as'', '-',
'N/A', '-1', or text 'inf'. Record each discovered marker and its required
target representation in the mapping before handing it to the spec-author seat; an
unreconciled count is not explained until the rows causing the difference are found.
Choose conversions from the measured source values rather than the declared type, and
verify every cast: a successful conversion can produce a misleading value such as 0.0
or Infinity. When the agent proposes a mapping, it tells the person which columns it
matched and on what evidence so they can correct an assumption.
Fresh licensing evidence
Questions about a comparison’s licensing audit or audit trail, what licensed a difference, why the result should be trusted, or what a provenance label means must be answered from stored evidence, not earlier assistant prose. On every such turn, including repeats and follow-ups, activateprove-data-work with
manage_context(action='ADD_CONTEXT', active_skills='prove-data-work'), then make a
fresh prover_findings(action="read_comparison", args={"diff_hash": …, "include": ["license_audit"]}) call before answering.
Use each raw provenance label exactly as returned; do not translate it into a friendly
name or infer a rule explanation from it. The Prover toolkit reference
covers the audit projection and its bounded evidence contract.
When no Prover-page comparison context was supplied, the chat can use its own proof
record only when the thread identifies exactly one distinct, successfully completed
comparison. If there is no such comparison, more than one, or the record cannot be
validated, the chat does not guess which audit to read. Supply valid Prover context from
the relevant comparison to identify it explicitly.
Anything labelled Planned on these pages is designed but not in the product
today. Everything else describes Genesis as it currently ships.
The flow
Read it as one sentence: measure both sides, compare them, grade the specification against that comparison, settle what can be settled mechanically, and put the remainder in front of a person.One proof, with or without a specification
A Prover proof is one thing, whether or not a specification is attached. The comparison always runs — the two estates are measured against each other and every difference is enumerated, specification or no specification. When a sealed specification is attached, the same proof also grades it. And whatever the specification did not explain still goes to review. That is the important guarantee. A specification narrows what a person has to decide by hand. It never shrinks what was measured, and it never closes a difference nobody licensed. If the comparison could not determine a reading, a plan clause that licenses it does not make it explained: it remains indeterminate and is not subtracted from the unexplained comparison count. For how theprove report handles a comparison that matched no objects before presenting
the grade, see the prove tool reference.
When a graded drop_constraint item is confirmed as implemented, a missing-key reading is
not an open finding if that item names every key the reading found missing. Keys the spec
does not account for remain findings; an unconfirmed item or one failed by a sealed check
does not close the reading.
The proof page and Replay
The Work → Proofs list puts the run’s origin, conversation anchor, standing, verdict word and comparison counts on each row. Its thread link lands on the tool call that launched the run or the message that delivered its completion notice. A folded investigation turn opens to reveal the target, which highlights briefly. Standing iscurrent when all signals were measured and none applies;
otherwise the first applicable state in this order wins: superseded, reopened,
engine_changed, data_moved, acceptance_lapsed. It is null when it could not
be measured.
An acceptance_lapsed row can include lapses_not_checked when some expired
acceptances were beyond the page’s checking budget; the list calls these out as
not checked. If unchecked lapses are the only possible signal, standing stays
null rather than claiming current.
Verdict words are Verified, Accepted, Not verified, and Not enough evidence;
an acceptance is never a verification. The counts are matched, accepted,
unexplained and not checked. The list’s run fields are opt-in on the
estate-runs API.
On a Not enough evidence card, the checks-not-run count matches the Checks
view and includes readings with no step that can settle them; those reasons are
shown inside the count. The card leads with this count before empty tables, which
remain named in its explanation. These readings are not assigned to a person as
decisions: agent-fixable readings are left for re-reading, re-measuring, or an
agent’s waiver package, while readings with no possible step are identified
inside the count.
The comparison’s proof page shows its comparison picture alongside the proof history;
when there is no picture to show, the page omits the empty picture box. New See the proof
links from chat cards, Mission summaries, and agent replies open the comparison’s run page
with the full-window replay already open on the picture selected by its grade; the
proof_snapshot reference
documents the selection. Closing the replay leaves the reader on that run page; previously
sent links to the old proof page continue to open that page. During replay, the scan caption
shows the full scan total and the measured count advances as tables appear, so a paused
replay does not imply zero measured tables or claim the entire scan is already complete.
Its status is the
comparison’s current result, with one of four values:
not_compared is used only when a fresh column-summary read pairs no table and the
comparison has no errored reads. It is not a clean proof or a list of missing-table findings:
the status line asks the agent to propose the needed schema map, or an object_map when a
rename is available, and prove again. A stale or unread pairing, or an unread error count,
does not clear findings as not_compared. A pairing from the approved plan can also identify
one-sided tables that belong together; those tables are shown as paired by the plan but not
compared here, not as missing. They remain open until a comparison or a grade under that
pairing accounts for them.
When a fresh summary pairs no table and the comparison has no errored reads, a grade that
would otherwise read Verified or Accepted does not make the comparison Proven.
Unless the standing spec grade answers for that comparison, the proof page reads
not_yet_proven and says the target was not compared; the Mission proof list and chat card
likewise do not report Proven. A spec pairing whose obligations compared the paired
tables is not treated as a comparison that compared nothing.
See comparison-card guidance
for when a spec grade answers for a nothing-compared comparison.
When an unverified grade leaves new target columns unaccounted for, the proof page names
those columns by table and column in the open problem. It groups any standing acceptances
beside that problem and says whether this grade counts each group toward Proven; an
acceptance on another grade, an expired acceptance, or a record that is not the person’s
own does not count here. Accept the columns on this grade to settle them. If a carried
acceptance is withdrawn on the comparison where it was originally given, the page explains
why the item is open again and offers the current comparison’s accept action, or the newest
comparison’s when this one has been replaced. It names an author only when that person’s
acceptance counted on the review immediately before withdrawal; an acceptance that never
counted is not attributed as the reopened item’s acceptance. That explanation is
display-only and does not count as an acceptance.
A person’s direct disposition at their review door counts on a graded comparison only for
the review they were shown when they ruled. A ruling made on an earlier review can carry
onto a later grade only when it is the same comparison pair and spec and the unchanged
evidence meets the review-carry rules; the proof page labels it carried from an earlier
grade. Otherwise it is listed as recorded but not counted. Accepting such an entry binds
the ruling to the review shown now; the page withholds that action when reading the current
review is unavailable or when the page is showing a past moment.
For when a chat card shows the finished grade as unverified guidance for an undeclared
target shape, including comparisons where some tables paired, see
comparison-card guidance.
Live cards keep checking a running comparison every 30 seconds for the first 10 reads, then
every 5 minutes while the card is shown and the run remains active. A finished comparison whose
grade is still running is checked on the same schedule. A card says Proving only when a
current read says the run or grade is still in progress; while that read is pending it says
Loading proof…, and after a failed read it says The proof didn’t load with a retry
action. A failed or refused run is not shown as Proving. During replay, the card reads the
comparison as of the replay’s current moment, rather than showing a later live result.
When several apply, proving takes precedence over not_compared, followed by
not_yet_proven and proven. No status waits on a person. The page’s status_line states what the result stands on;
breakdown.open.agent_fixable counts work the agent fixes and proves again, while
breakdown.open.to_waive counts work only a waiver settles. next_step gives the
agent’s next action (fix_and_rerun, propose_waiver_package,
await_waiver_answer, or propose_map); next_steps gives the action for each open item. Once a
waiver request is open, its items wait for the person’s answer, after which the
agent proves again. Acceptance counts toward Proven but never as checked or
matched. The Proven status line includes platform-rule matches in its checked total and
labels how many of those checks came from platform rules. The headline’s one-sided table
counts include tables whose names are omitted from the bounded detail list. The older
verdict.state remains for compatibility; use status to report the comparison result.
When the column summary can identify them, the status line describes open work as
differing columns and rows held on one side rather than counting every reading;
its breakdown continues to count readings. For an ungraded comparison, row-paired
indeterminate readings on differing columns remain open differences; only readings on
agreeing columns move to checked. It also names tables held on only
one side, columns and whole-row checks Prover could not judge, and row gaps not
yet counted by pairing.
When compare_rows labels a source history as current-only beside a target that keeps
current rows, the fix list names how many keys appear only in that history. They remain
open, but are not counted as fixes: an approved plan can explain them by declaring the
current-only history. A type difference licensed by the row check is likewise not an
open type-only fix; the status says how many types are still to fix, while the headline
continues to count all differing types.
The proof page and chat card use the comparison’s same standing grade; a standing
Human Review approval does not select a different grade to show.
The proof page and card also expose the grade-time reading and whether today’s result differs;
the proof API documents recorded,
regrade_differs, and the as_of replay query.
For the live reading, the footer labels the current moment As of now.
After a row pairing moves the comparison counts, the headline makes both readings explicit:
it reports the live count with the proof-time count and what the row check settled, for
example, 44 unexplained (52 when proved; 4 settled by the row check, 4 more found by it).
The headline keeps what the row check settled separate from what it found differing, even
when those counts cancel in the unexplained total. The card’s About this result note
shows the recorded count and movement beside its counts row.
The stored recorded tally is unchanged; when no pairing moved the counts, the existing
recorded tally remains the headline.
For the chat comparison card’s bounded face, supporting detail, and full view, see the
chat guide. A rebuild checked against its spec rather
than column by column reports that reason without a column share. After an agent runs
prover_run(action="compare_rows"),
the full view also shows the rows paired by key, each column’s raw and normalized match
rates, and example value pairs. If a key repeats, the card still shows the rates for keys
paired one-to-one and names the duplicate rows separately; see the
tool reference for pairing
statuses and details. History comparisons can also name an open end written two ways,
inclusive ends one day, second, or microsecond before the next version starts, overlapping
or gapped validity periods, multiple current versions, changed historical
values, and a reissued internal id. Such explanations require an approved plan declaration
or exact detection; a label alone does not close a difference. Until rows are paired, the
card says that they have not been paired. A
catalog quick check is labeled as such because it does not compare values. When row
pairing cannot verify a merge, split, or column move, the chat card names it, explains
why it was not checked, and says its tables remain open; the
tool reference describes
the count and retry behavior.
When a person has accepted every eligible undecided part, requested change, or drift item, the
comparison can read Proven; see Roles and Approvals
for the eligibility rules. A differing table reads as accounted for only when the comparison’s
standing grade is readable, finished, and Verified; a Proven status alone, or acceptance on a
grade that does not verify this comparison, does not settle its differing tables. The status
line names who accepted and how many, without presenting those items as checks. The page needs
attention again when the first decision expires. The older
proof API verdict.accepted field remains available for the underlying acceptance
record; it does not replace the comparison’s status.
Each check shows the picture for the comparison it checked. The picture is a
scrubbable Venn-theater recording: move through it to see how each check came out
and how the result changed after a fix. Finished checks show a short result beside
their history marker. The Venn opens on Checks, the view that replays those
results; Columns remains one click away and shows the comparison’s final
column state. Expand the picture to fill the window; its Replay controls remain
available. The Flow picture starts loading as the page opens.
In Flow, a reading is marked as accepted by a person only when its standing review
grant counts toward the same grade’s Proven result. Acceptances from another grade
or expired grants do not mark a reading as accepted here.
Flow also ties a measured likely rename to its unaccounted target column. This is a
suggestion from the check, not an accepted mapping; it does not change the column’s
state or counts.
The Venn also reports check counts for each finding family. Its run total is
split into differ, passed, and not_judged; comparison readings and matches
are counted by comparison class, while a grade’s own obligations appear under
obligation_failed. A compact card keeps referential differences, failed
reference checks, and references omitted from its short list in its final count.
Reference-check error text is redacted for secrets, credentials, and email addresses in
comparison details and exports, including results recorded before redaction was added;
the failure markers, verdict, and counts are unchanged. See the final-scene API
response.
When the proof page has a finished grade, it also carries that grade’s check tally and
owner questions. Questions settled since the grade ran remain listed with their answer
time and answerer, but do not count as open; the same reading appears on the comparison
card.
In a Mission’s Prover tab, the thread’s own Prover cards are mirrored. At live, the flipper
also includes a Not yet proven card for a proof blocked on decisions waiting on the person;
while those decisions are open, it opens on that card. This decisions stop is live-only and
does not appear in a replay of the thread’s earlier state. Otherwise, the flipper opens on the
most recently run or changed proof, or the last proof when all are proven. In replay, it follows
the time bar and opens on the proof most recently run or changed by that
point. Unsent decision answers stay with their thread as the flipper changes proof cards;
another thread has its own answers. The Prover tab remains
available throughout replay when the recording contains proofs; before the first proof, it
shows that no proof has run yet at that point. With multiple cards, a compact ‹ n/N ›
flipper sits in the card header and steps through eligible proof cards. Its hover text gives
the position, proven count, and pair. The tab counts proven proofs from eligible cards; a
validation run without a card is listed with a link to Mission Outputs. See [comparison cards in chat]
(/docs/Genesis-Prover/Agents-And-The-API#comparison-cards-in-chat) for which runs appear.
The Venn labels every region with its count, draws unused source tables in gray
rather than as failures, and places the platform-rules disc inside the overlap.
The target caption counts compared target tables; it does not show zero just
because no compared table is set apart as outside the plan’s scope.
In the Flow picture, a side the plan does not use still shows its table count and
says none used, rather than implying the flow contains no tables on that side.
Overlapping dashed strands share one trunk; connector lines route around markers,
same-name labels stay distinct, and all plan ticks are shown.
In Checks, each table is counted once, check callouts sit clear of the clusters,
and each scan is named; one-sided table crescents identify their table. A check that
could not be run has a heavy ring, and the dashed legend line is labeled Couldn’t
check. Column titles stay within their panels. The Columns picture is a tile grid
with one square per column, naming every table and problem column. Its legend lists one
unit per line, grouped by Source and Target, with color-blind-safe distinctions; its
headline count adds up to the marks shown. The default proof_snapshot is a labelled still without viewer controls;
see its tool reference for
the viewer option.
Mission Debrief’s Replay the proof button opens this same labelled replay viewer
instead of drawing a second picture. Use proof_snapshot to export the Venn or Flow
picture as a PNG; its parameters and destinations are documented in the
proof_snapshot tool reference.
When a proof was run from a conversation that you can open, the page includes a
Ran in link back to that thread. New tables the plan builds are named as new in
the summary, separately from the count of tables compared.
For a proven comparison, the stamp carries the verdict and the headline says what
matches, with the compared-table and row counts when available. Differences a rule
explains remain visible as expected differences, but are not counted as problems in
the Mission summary. Differing tables settled by the proof read as accounted for in the
headline and table lead, while still showing that they differ; the checked totals and grade
do not change. On the run page, the proof verdict is presented before the
blockers, so the outcome is visible before the details that still prevent the run
from completing.
The page title names the two estates; when both sides share a database name, it uses the
plan title when one reads as a name, distinct schema labels when available, or the estate
names when the estates differ. An ungraded, unplanned comparison of the same member of one
estate is a stability check, not a migration; it names its two measurement dates instead.
Side names avoid raw Foundry folder or dataset ids: the proof uses the estate name when
available, or describes the resource in words, and labels source and target when both
sides would otherwise have the same name. When more than three loaded tables stand behind
the title, it gives their count and makes the complete table list available with the title.
When Prover cannot judge readings and has a reason to report, the summary says why. A
stability check with no unexplained differences does not offer a run-page review; when
drift remains, the page offers the review. The title does not list tables inline; when
each side’s tables have
one distinct schema, side labels distinguish those schemas. The Checked against section shows the plan’s
required columns and structural changes, followed by its data checks and any
result the grade can substantiate. Tables the owner left unassessed are marked
Left out by owner decision (not checked) and are not included in its comparison
unlicensed or difference counts; their readings are counted separately as left_out in
the whole element denominator and are not counted against Clean. A source table a
scoped plan without a target model never names is shown
as Not part of this plan (not checked) when absent from the target, not as a
missing table. An output
with no finding attached and no source table paired to it is shown as loaded
rather than as only in the target; a grade verified for this comparison labels
it Loaded as the plan asks, otherwise Loaded by the build.
The proof page’s Problems list puts each issue from its story in the order first caught
and shows its current state and, when known, how it went away. The response fields and exact
state meanings are in the proof API reference.
When a plan includes a garbled-text check, its row shows the set version and per-column
counts for the target and source, alongside how many rows each side examined. The counts
show which columns contain known mojibake patterns without exposing text values; the source
is context only and does not change the target verdict. If the source could not be read, the
page marks that separately. The check recognizes known patterns, not every possible
corruption: dropped bytes may leave nothing to match, while intentional replacement or
control characters, a deliberate £, and the database’s collation can affect counts. See the
register_obligation contract
for how to declare this check.
The What happened history is limited to this comparison’s estate pair: it shows that
pair’s earlier comparisons, checks, reviews, and fix requests, not activity from another
estate using the same databases.
When a proof page is read as of a past moment, What happened includes only records
already recorded by then. A check or run that had started but not finished is shown as
still running at that moment, without its later outcome; approvals made afterward are
not included.
On the proof page, select a red table result to read the explanation of what is wrong.
The explanation offers the available next steps: ask the agent to fix it or open its
approval package. A nonzero unexplained count on a comparison card opens these proof-page
explanations in a new tab.
In the chat Prover view, a finished grade that measured the comparison’s own
population supplies the explained, unexplained, and indeterminate counts, even
when another failed check means the grade is not Verified. Otherwise the view
uses the comparison’s own counts.
When rows are compared as whole sets rather than paired by a key, the page distinguishes a
source with no declared key from a declared key that was not used and a comparison where no
row identity was chosen. A key chosen for a comparison that did not form a row pair is
identified as chosen but not compared; the page does not describe either case as a source
with no keys.
The grade can enumerate at most 500 differences on the proof page. If that list is cut
short, a table it does not name is Not confirmed rather than a match; the page says how
many differences were counted when that total is available. A table the grade’s scope
reading says did not meet its expectation is shown as differing even when the difference
list does not name it. Individual checks that passed can still show Passed when another
check failed, but those passes do not make the overall grade verified.
For an ungraded comparison, readings the Prover could not judge are not described as
matches: the page says how many readings were undecided and, when the run recorded their
causes, explains why (for example, a reading could not be measured). When the run lists every
undecided reading and identifies its table, the page marks that table as not judged rather
than as a match. When every remaining undecided reading can be settled only by rescanning,
the page gives the rescan as the next step rather than asking a person
to decide. For example, when the two sides used different comparison-tool versions, it
says to rescan both sides with the same version. For an object_unmeasured finding on a
content_digest or column_content_digest reading, it instead recommends measuring
content again, not rescanning the target. A transient failure remains agent work. When
recorded evidence shows that a checksum refusal is non-retryable, that the same read failed
on the previous measurement too under the same measurement library and columns, or that
the current build still cannot fingerprint the column’s type, Prover asks for a person’s
decision instead of another measurement. A grouped evidence-gap question is offered only
when every open reading in the group needs a person’s decision; if any reading can still
be settled by measuring again, the group remains agent work. The person can accept the
unmeasured content without a check, with a reason and expiry. This records an exception,
not a checksum or verification of the data.
The open-question count follows the plan’s current record when it is available: questions
the grade listed that have since been settled no longer count as open. A legacy grade that
recorded neither a question count nor a list uses the plan’s current open questions.
The What happened story can also say which keys, indexes, or check rules the target
gained or lost between two checks, when both target snapshots recorded those constraints.
The story does not attribute the change to a person. In What this check doesn’t show,
the page names source foreign keys when present because this comparison does not compare
foreign-key constraints; an uncaptured constraint type is not presented as an absent one.
When Prover infers a dimension key because no declared single-column key is available,
it can also match the shared parts of the paired table names: for example,
a_dim_customer and b_dim_customer can identify dim_customer_id on both sides.
When a sealed plan relies on standing agent decisions that no person has reviewed,
the proof page also shows each decision’s title and full statement, the person’s
words, and worked examples. References in the statement are named for the records
they point to instead of exposing raw identifiers; the statement’s other wording
is preserved. A cited decision appears only when its estate is visible to the
reader and, when the decision answers a run’s question, only when the reader can
open that run. Otherwise the decision is omitted. The Queue’s Agents decided for you group summarizes those records;
see Requests for that list.
When a plan line cites a decision, the proof names that decision by its title, including
decisions a person made, rather than referring to it generically.
The story names Prover’s own agent seats as Prover; agents outside those seats,
such as Eve, keep their agent names.
When an agent starts a proof run for itself, the proof page identifies the agent by name
and what woke it, for example, Started by Gennie (woken by a room message). A person’s
identity carried by a woken turn does not make the run one the agent performed for that
person. Wake labels can name a room message, agent mail, a run notice, or a Docs comment;
a delivery containing both a room message and agent mail names both. ran_by identifies
the agent, and started_by gives the wake; started_by is null for other runs. See the
proof API reference for the response
fields.
For a plan no person approved, the proof page also identifies who wrote it and, when
it continues an earlier plan, what checks, planned changes or tables were dropped.
It compares against the nearest earlier plan approved by a person, or the oldest plan
the page could verify and show when none was approved. The page marks the lineage
untraced when it cannot verify or show the complete history. This is transparency
about the plan’s origin, not an approval gate. When the owner answered questions, the
page says so and distinguishes those answers from signing the plan; agent documents are
described as lacking separate sign-off rather than saying no person confirmed the plan.
When the plan was written from canonical documents whose exact versions a person ratified,
the origin line names those documents and who approved them; this does not mean the person
approved the plan itself. A person-approved plan does not show this section.
For a proof graded against a plan sealed from a Mission’s person-approved plan, the run page
also names who approved that Mission plan when the approval record and seal can be verified,
even if the grading spec does not carry its own ratified_by name.
In a Mission Debrief, a proof with at least two checks also lists those checks oldest first.
Each check links to its proof page, and What changed opens the differences recorded for
that check and the one before it. See the [proof summaries API reference]
(/docs/Genesis-API/API-Reference#estate-endpoints) for the run fields and their interpretation.
Mission summary rows now carry the proof page’s status, status_line, and breakdown; use
them instead of inferring the result from the older stamp. The API also supplies
completion-time counter snapshots for local replay, current source-object coverage, and
elapsed wall-clock span; the reference defines their time and missing-history behavior.
The agent-facing prove operation now provides that one trigger: it takes both
characterization snapshots and an optional sealed specification, returning one
proof run that owns the comparison and, when attached, the grade. Grading remains
separately repeatable for a repaired specification against an existing comparison;
that path does not re-measure the databases. Before any comparison exists, an
obligation-only grade is also possible with tiers=["derivational"]; see the
grade tool reference. Use prove
when the first run should compare the estates and grade structural items as well.
A succeeded, sealed spec_conformance grade can also be cited as server-checked
project evidence through project_note.
For a sealed-connection refusal, follow the proposed retry described in the
grade tool reference.
Databricks characterization connections
support Service Principal (OAuth M2M) credentials for headless Prover scans and
validations; see Databricks connection behavior
for token refresh behavior during long-running validations.
How agents drive the Prover
When a grade names a comparison made without its spec
A sealed specification that declares atarget_model is graded over a comparison made
under that model. This is the same comparison that prove(spec_hash=...) makes: the model
licenses the declared target mappings and scope that the structural grade reads. If a
caller uses compare and then calls grade with that comparison’s diff_hash, Genesis
compares the pair again under the sealed model and grades the replacement comparison.
The grade provenance records comparison_recomputed_under_spec, including the replaced
diff_hash, the target_model_hash, and the spec that declared it.
If that recomputation creates a new comparison, its listing title comes first from the
grade run’s recorded title. Otherwise, it inherits the replaced comparison’s title unless
that title was explicitly recorded under a different kind. A title recorded without a
spec is not carried onto a spec-measured comparison; a title minted before title kinds
were recorded is carried forward, preserving the name shown for that older comparison.
The new comparison records an inherited title under the graded spec, so later re-grades
can match that kind. When no eligible title exists, the recomputation has no business title
and the card keeps its technical label. Consent-triggered re-runs preserve the original
comparison’s title and its recorded spec kind. This keeps a title attached to the kind of
comparison it names across re-grade and consent re-evaluation.
The recomputation carries forward the original comparison’s caller-declared column_map,
so renamed columns remain paired instead of appearing as missing and surplus. It also
carries the comparison’s recorded row_identity_declared key and resolves it under the
model as prove(spec_hash=..., row_identity=...) would. For a derived target, that means
the key is resolved against the derived target’s driving input. If the key no longer pairs
rows one-to-one under the model — for example, its target column is unavailable or its
values repeat — the recomputation withholds that pair as indeterminate rather than
guessing or refusing the whole grade. If the original comparison never recorded target
terms for a key that paired no rows, those terms are not invented; the pair is withheld.
Mapping an input onto a model-declared DERIVED target is not treated as row correspondence:
the model builds that target from its declared inputs. This keeps compare-then-grade aligned
with prove(spec_hash=...) instead of presenting the input rows under the derived target’s name.
The grade reports the key and failure at
comparison_recomputed_under_spec.row_identity.<object>.reason.
That fallback is real warehouse work: both estates are read again, plus the model’s hub
keys where applicable. If a pinned comparison’s basis says it paired rows on a caller-
declared key but its record does not contain that key, recomputation still returns a
conflict rather than silently dropping the declaration; prove the pair with the spec and
row_identity together. A comparison already made under the sealed model, and grades
without a model, keep their previous cost and behavior. Specs in one grade set must agree
on one target model; conflicting models are refused before grading.
Move a finished comparison
A finished comparison can be handed to another Genesis server without rerunning the measurement. An agent exports the comparison bundle, and an agent on the receiving server validates and imports it; the receiving server keeps the originaldiff_hash
and review decision, including the original reviewer and timestamp. This is a transfer
of the measured result, not a second opinion from newly scanned databases.
The bundle carries the rows needed to render the card and connection references, not
warehouse data or credentials. If the receiving server already has an estate for the
same database boundary, it matches at most one imported estate to each existing row,
preferring an existing row whose id is already carried by the bundle. If no target row is
available for an imported estate, Genesis writes it under its own id instead of sharing a
row already matched to another estate; the transfer reports that outcome as a warning.
Every finding the comparison displayed is carried with it, including recurring findings
first seen in another comparison; their recorded review decisions remain visible after import.
Use the validation step before import when the target may already contain part of the
comparison, and choose an explicit conflict mode for visible collisions. Comparison
export also applies the caller’s run visibility; see the export endpoint
for refusal and decision-filtering behavior. Caller-visibility refusals are documented
with the transfer endpoints. The agent-facing
export_comparison and import_comparison tools (in a Genesis thread, the prover_run
actions export and import) and the REST endpoints are documented
in the tool reference, which
also lists import validation refusals, and
API reference.
covers what that one trigger means for the person reading the result.
Grading stays separately repeatable, and that is deliberate rather than
duplication. When a specification is repaired — a clause corrected, an ambiguity
settled, a missing obligation added — it is re-graded against the comparison that
already exists, without characterizing the databases again. Re-reading two real
warehouses in full is the expensive part; re-reading a corrected specification against a
comparison already on disk is not. A grade’s obligation checks do still query the two
live databases at the moment you ask, so a grade covering both halves describes two
moments and reports which — see
How a run works.
For a value check with no declared relation, a re-grade matches its finding by the one
table and the columns the check reads there, not by the check id or its output-column
aliases. A waiver can therefore follow a renamed check when those reads stay the same. If
the check reads multiple tables, no table, or no columns from its one table, it keeps its
check-id identity instead.
The six components
1. Estates and characterization
An estate is a database you have registered with the Prover, under a name and a scope — which catalogs, schemas and objects are in bounds. Characterizing it is the measurement: the Prover connects and reads the estate first-hand, in one session, recording as it goes. For statistics-based key discovery on an immutable snapshot, see thesource_modeling_tools reference.
When an inferred rule is proposed again under another scan candidate, the review queue
can show that an earlier active approval already decides it; see the candidate response
in the API reference. For reviewer correction and
reopening behavior, see the review_inferences workflow.
For PostgreSQL, key enumeration and declared-constraint reads use pg_catalog rather
than information_schema. A connection using a read-only role can therefore expose
declared primary and unique keys, foreign keys, and check constraints even when
PostgreSQL’s information_schema constraint views hide them from that role. This makes
the declarations available to Prover metadata reads; it does not change access to table
data.
Azure Synapse connections use the mssql dialect, but declared primary and unique keys
are NOT ENFORCED; Prover withholds them instead of treating them as proven row identity.
Measure uniqueness or ratify a key before relying on it. See SQL Server connection
requirements for Synapse database and
sandbox limitations.
SQL Server measurements read values in the form a warehouse load sees: timestamp
fractions are truncated to the comparison precision, legacy datetime uses its displayed
millisecond value, and binary/varbinary values compare as hexadecimal bytes. SQL Server
geography and geometry compare through well-known text, including Z and M coordinates;
the text does not carry an SRID, so when both sides are SQL Server spatial columns Prover
abstains rather than claiming equality. Re-scan both estates before comparing measurements
made before and after the SQL Server measurement update.
Keyed comparisons canonicalize temporal and binary values across engines. A naive timestamp
is read as a UTC wall clock and an offset timestamp is converted to UTC. A timestamp used
as a key is compared at every fraction digit either side stores: each side’s key hash uses a
type-appropriate full-precision representation, padded to a shared width, and renders an
aware timestamp as its UTC wall clock. If a dialect cannot render the key whole, the row walk compares it;
when a key stored beyond the driver’s six-digit precision cannot be checked whole by a hash,
the result is INDETERMINATE rather than a pass (key_precision_unverified). Timestamp
values outside the key still use microsecond precision by default, or a rule’s stated
ts_precision when coarser. Date objects, midnight timestamps, and ISO date text on a DATE
key normalize as the same date; a time-bearing timestamp is left intact. A column stored as
binary on either side can match the same bytes landed as hexadecimal text; two text columns
remain text comparisons. If a row is identified under a different timestamp key, the result
can name the changed key column in key_column_differences.
On Databricks and Foundry, the driver reports timestamp for both instants and
TIMESTAMP_NTZ wall clocks. When a profiled column has that shared spelling, Prover reads
its stored type with a second read-only query; a stored TIMESTAMP_NTZ is treated as a naive
wall clock, not an instant. The query returns at most one row, but the warehouse may still
need to compute the full side query when it sorts, groups, deduplicates, or uses a window
function. If the stored type cannot be read, Prover warns and keeps the driver’s spelling;
cancellation and query-budget limits still stop the run.
When the target stores a timestamp key at fewer fractional digits than the source, Prover
checks whether distinct source key values collapse to one key at the target precision. A
collapse is a lost version and makes the comparison FAIL; collapsed_key_versions reports
the counts and, when available, an example. If the grouped counts cannot be read, the key is
listed as unmeasured in key_precision_narrowed rather than being reported as safe.
For estate registration semantics, including archived-name reuse and legacy duplicate
scope cleanup, see the estate registration API
reference.
Recorded scope removals
An agent’s correction of an object wrongly included in an estate is recorded on that estate with the object, reason, agent and the person’s approval. Restoring the exclusion marks the removal record restored; later grades no longer carry it. A grade taken while a removal stands lists it inscope_removals, gives its count in scope_removal_count, and
states it in the headline. If the object’s latest
grade on a comparison using the estate failed a check, the removal is flagged and the next
grade adds an open question asking the owner whether the object belonged in the migration.
That question keeps the grade from reading as plain Verified until a person resolves
it, in one of two ways: put the object back in scope, or confirm the removal was right
(“Confirm this removal” on the estate page). A confirmed removal is still listed on every
later grade, as confirmed by that person, but raises no question. Only a person can
confirm; an agent cannot. A direct call naming no agent cannot remove scope with sign-in
off; see the agent removal contract
for the first-schema-pin exception and full refusal conditions. At spec-author sealing,
standing removals
are checked across the run’s source and target sides, with unreadable estate lookups failing
closed; see spec-author identity and constitution
for the database boundary and the claims that block a seal.
Two properties make a characterization evidence rather than a report:
- It enumerates with witnesses. Alongside the object list, the Prover records the
principal it connected as, the exact catalog mechanism it used, what that principal
could and could not see, and whether the enumeration was provably complete. An
estate you were not permitted to read fully says so, rather than looking small.
If the visibility witness itself cannot be read, the characterization records that
witness as unavailable and continues measuring the objects already in scope. The
Prover withholds the completeness claim unless a separate dialect-specific probe
establishes it; a refused or failed witness is not treated as proof that the estate
is empty or complete. Databricks estate inventories include Unity Catalog
METRIC_VIEWobjects as views. For a metric view, the Prover reads its definition to identify measures and profiles its dimensions; measure columns are kept with the exclusionall_measurements:read_through_MEASURE()_not_profiledbecause their values must be read throughMEASURE(). If the definition cannot identify the measures, no columns on that view are profiled and the object and columns record that the measures were unidentified. A check that usesMEASURE()can still carry evidence for a measure. - It measures from a closed, versioned library. A fixed set of statistics — row
counts, per-column counts, minima, maxima, distinct counts and maximum lengths,
bounded top-value samples, and checksums over stable key ranges. Because the
library is versioned, a snapshot is only ever compared against another taken under
the same definitions. The current measurement library is
estatechar.measure.v24. In v24, a Foundry dataset with more than one column the engine will not checksum (such as two columns of Foundry’s OffsetDateTime type) still checksums its other columns. Before v24, the engine’s refusal of the second such column left every column of the dataset unmeasured. Re-characterize both estates before comparing a pre-v24 snapshot with a v24 snapshot. In v23, a grouped read of a view’s value counts and top values that comes back without every requested group is discarded and read again one column at a time. Before v23, Snowflake could return such a read without an error for a text column, leaving that column’s value counts empty and its top values doubled, so a correctly migrated view read as different. Re-characterize both estates before comparing a pre-v23 snapshot with a v23 snapshot. In v22, the whole-row checksum orders a table’s columns by name ignoring letter case, so a table copied between engines that store names in different cases (Postgresorder_date, SnowflakeORDER_DATE) checksums equal when its rows are equal. Re-characterize both estates before comparing a pre-v22 snapshot with a v22 snapshot. In v21, Databricks, Foundry and DuckDB fold top-levelMAPvalues into the whole-row checksum by sorted entries, so entry order alone does not change that checksum; nested maps and other engines keep their prior behavior. Re-characterize both estates before comparing a pre-v21 snapshot with a v21 snapshot. BigQueryJSONvalues are now read throughto_json_stringfor value checksums, while SQLNULLremainsNULL. For a BigQuery-to-BigQuery comparison, keyed checks and value comparisons can also read JSON columns through canonical JSON text; the value walk decodes that text before comparing values. Their text lengths, null counts, and distinct counts remain unread because engines render JSON and count JSON nulls differently. This does not bump v21: BigQuery refused the earlier value checksum statements, so no previous measurement exists to disagree with a new one. A resumed scan retries once a BigQuery JSON table whose prior checksums failed. In v20, a Databricks declarative pipeline’s materialized view is measured with a whole-row digest as a table is. Top-levelMAPcolumns on Databricks, Foundry, and DuckDB also receive a content checksum over entries sorted by key; nestedMAPvalues remain without a checksum. Do not compare a pre-v20 snapshot with a v20 snapshot: re-characterize both estates first. In v18, a BigQuery view that Prover can confirm returns the same rows on every read gets the whole-row check, BigQuery TIME columns can participate in compatible whole-row checks, and BigQuery view text is compared more precisely; view and BigQuery TIME measurements differ. Do not compare a pre-v18 snapshot with a v18 snapshot: re-characterize both estates first. In v17, a view’s measurement records why its whole-row check did not run; only view measurements differ. Do not compare a pre-v17 snapshot with a v17 snapshot: re-characterize both estates first. In v16, Databricks metric-view measures are no longer profiled as ordinary columns; only Databricks metric-view snapshots have different stored measurements. Do not compare a pre-v16 snapshot with a v16 snapshot: re-characterize both estates first. In v15, Foundry timestamps began preserving fractional seconds through microsecond precision. This corrects a legacy Spark formatting issue that could render.602as.000602and drop microseconds. Foundry measurements derived from timestamps with a sub-second part can therefore differ from earlier scans. In v14, the library began removing a view’s line comments before it stores the view’s text, so a comment can no longer hide the rest of the view from the logic it is checked against. Since v13, a SQLite column of a class that renders as the warehouses do (integer, text, UUID, boolean and float) is folded into the same checksum family as Databricks and Snowflake, so those columns’ values are compared across engines. A float compares as equal only inside the canonical window[1e-8, 1e15); outside it each engine keeps its own spelling, which can read as a false difference but never as a false match. A pre-v13 snapshot must not be compared with a v13 snapshot, so re-characterize both estates before comparing them. Other dialects retain their existing measurement bytes. For a SQLiteNUMERICorDECIMAL(p,s)column, the Prover can also compare its content digest with an integer or scale-0 decimal counterpart: SQLite reads both with its integer expression. This exception also applies to whole-table checksums only when every digest-bearing column is paired comparably. For cross-family comparisons, the exception does not cover a SQLite decimal paired with a float or fractional-scale column; those digest recipes remain indeterminate rather than being treated as a value difference. A column digest can also be compared across the SQLite and MD5-window families when either column is allNULLor has no rows, regardless of its declared type. This exception does not hide values on the other side: the digests still differ if that side contains values.
DATETIME columns are formatted from their timezone-less wall-clock values
without converting them to TIMESTAMP; the resulting text matches the UTC rendering
of the same wall clock on other engines. BigQuery TIME columns are cast to their
native text before canonicalization. These forms let Prover build timestamp and row
digests without passing DATETIME or TIME to BigQuery functions that do not accept
those types. Across BigQuery and another engine, equal JSON text is not proof of equal
JSON data: a SQL NULL and JSON null, or a JSON array and a string with the same
characters, can render alike. An equal JSON column or whole-table checksum that folds
BigQuery JSON text is therefore indeterminate across engines unless a ratified
json_content_comparable rule covers it.
Databricks characterizations record tags:not_captured:databricks as an object-level
exclusion because they do not read Unity Catalog tags. This covers both object and column
tags: the exclusion means tags were not captured, not that the object has none. Palantir
Foundry scans do not receive this exclusion because they do not use Unity Catalog.
When a catalog does not report a column’s declared nullability, the Prover records the
column-level exclusion nullability:not_captured:<dialect>; the declaration was not
captured, so the comparison does not treat it as nullable or non-nullable.
The result is content-addressed over the measurements and the instant they were taken
at, so a snapshot names one reading unambiguously and two people can confirm they are
looking at the same one. It also means scanning an estate that has not moved produces a
new snapshot rather than reproducing the previous one: a reading is a reading, and the
Prover never quietly hands back an older one in its place. Comparing two such readings is
how you learn the estate did not move. The exception is a scan that was interrupted and
relaunched: it continues the reading it had started rather than beginning a fresh one,
reusing staged table readings only after confirming the current version or allowed
data-neutral history still vouches for them and that the rows were not filtered by a row
policy, where the engine can establish those facts. On versioned engines, a changed or
unconfirmed table is measured again; on engines without a version that covers every
change, the resume window alone bounds reuse. The scan keeps its original instant.
The [characterize tool reference]
(/docs/Genbot-Toolkit/Additional-Tool-Groups#characterize) documents its resume summary.
A new rescan still seals a new snapshot, but on Databricks it can also carry measurements
across certain data-neutral Delta commits; see the characterize tool reference
for the conditions and summary fields. It measures changed or unprovable tables again, along with dependent
tables whose foreign-key parents were remeasured; other database engines measure every
object again. estate_char.characterization.carry_forward_enabled defaults to true; see
the Configuration Reference.
Each new snapshot records which objects were carried and their source snapshot, while the
run summary reports the carried and remeasured counts and the reasons for remeasurement.
The characterize tool reference
documents the summary fields and the option to force selected objects to be measured again.
Characterization is not only about the data. Alongside the data pass, the Prover can
measure an estate’s access surface (who is granted what), its consumption
surface (the views and registered consumer queries that read from it, and whether
they still return what they returned), and its logic surface (the models and
tests a dbt project declares). Scanning covers the whole source estate by default: a
scan is never silently narrowed to a subset, and every schema it drops is recorded
with the reason it was dropped.
When large tables need a bounded read, register_estate and characterize accept an
optional scan budget; see the tool reference
for its shape and defaults. Sampling is an explicit statistical observation, not a full
check: the budget is part of the snapshot boundary, so scans under different budgets are
not interchangeable. Estate drift compares budgeted snapshots only when their budgets
match; when the budget cannot be established, it does not compare a known budget against
an unknown one. Readiness uses the latest finished scan read in full rather than a sampled
scan.
The Prover uses the same qualified-name scheme for objects as the
Digital Twin and Context Graph, so
an object in a characterization lines up with the same object in the graph.
Vertica is supported as a source dialect. Its catalog reads use v_catalog for schemas,
tables, views, columns, and keys; Vertica has no information_schema. The Prover cannot pin
later statements to a repeatable-read snapshot on Vertica, so a characterization observes
the estate as it stands rather than a transaction-wide snapshot. In system-diff keyed row
reads, Vertica NULL key values sort first so the ordered reads agree with cursor and merge
ordering; the query spells this out because Vertica rejects NULLS FIRST in a query’s
ORDER BY.
palantir_foundry is supported as a source dialect. Foundry exposes Spark SQL over
datasets but does not expose an INFORMATION_SCHEMA, so Genesis obtains the object,
column, and completeness-witness rows through the connection’s catalog provider
instead of issuing SQL catalog queries; the measurement pass still runs through
Foundry’s SQL surface. A Foundry dataset is addressed as one backtick-quoted dataset
RID or path, not as a three-part catalog.schema.table name. Foundry has no SQL
time-travel form, so the characterization is disclosed with pin mechanism none;
the dataset transaction RIDs observed during the scan are retained as watermark
evidence.
For an estate boundary, database can identify a listed Foundry space by its RID,
display name, or path name (the space path without surrounding slashes, such as
doug-c7fd12 for the space named doug).
For the route-fallback counts and outcome details in a Foundry run’s terminal summary,
including error terminals, see the characterize tool reference.
Foundry characterization uses the elapsed budget in
connectors.palantir_foundry_measurement_budget_seconds (default 3600 seconds,
enabled by default). It starts before the scope and catalog walks. If it expires,
completed measurements remain in the snapshot and any unfinished or remaining
datasets are recorded as named indeterminate results with the budget reason; a
named estate scan reports partial if a member is truncated. The budget is
an overall deadline, not a hard stop: it is checked between requests and narrows
each request’s timeout to the time remaining, but a response whose bytes keep
arriving or the HTTP adapter’s connection retries inside a request can run past
it. Backend-owned Foundry characterization runs stay heartbeated while the scan
is active.
While another Foundry dataset still needs measuring,
connectors.palantir_foundry_scan_timeout_seconds (default 900 seconds) also
limits how long a dataset may go without a SQL read finishing. The allowance is
counted from when the dataset starts or its last read finishes; each request’s
timeout is narrowed to the time left. If no read finishes within that allowance,
no further SQL attempt starts for that dataset and it is deferred while the scan
continues. A dataset that keeps finishing reads keeps reading, and the last dataset
keeps the remainder of the overall budget. This is a no-progress limit, not a hard
wall-clock stop: a response whose bytes keep arriving or the HTTP adapter’s own
connection retries inside one request can run past it. Completed measurements
remain available when the same scope is rerun, and a deferred dataset is read again.
A wide dataset’s column statistics are read eight columns per read. The batches are
bound to the dataset’s committed head transaction, read before the first batch and
after the last; the two marker reads add four Foundry REST requests for a wide dataset.
If the head moved, or the batches returned different row counts, the dataset is left
unmeasured rather than combining statistics from two versions. A dataset whose
committed head cannot be read keeps one statistics read.
The timed-out dataset is recorded as an indeterminate result and counted
in objects_read_timed_out; objects_done excludes it, and the scan is partial.
Successfully measured progress is retained for a rerun of the same scope, which reads
the timed-out dataset again. If it keeps timing out, increase
connectors.palantir_foundry_scan_timeout_seconds (default 900 seconds), wait until
Foundry is less busy, narrow the scope, or prove the partial snapshot while naming the
datasets it did not measure wherever you report the result.
Foundry SQL result caps
Foundry’sfoundry-sql-server:preview role can return the first 1,000 rows as an
ordinary successful result, with no indication that rows were cut off. The Prover
refuses an unbounded SQL result containing exactly 1,000 rows as
foundry_result_may_be_capped, rather than letting a possibly truncated read count
as a match or a passing comparison. An outermost literal LIMIT of 1,000 or fewer
rows is considered bounded and is not refused for this reason.
When such a result is ambiguous, the connection runs SELECT id FROM range(1001) once
per SQL route for that scan or comparison. Foundry reads can be served by the public SQL
route or the legacy data-proxy route, and a probe only speaks for reads served by the
route it ran on. A result over 1,000 establishes that the route can return more than the
preview cap. A probe that returns 1,000 or fewer rows leaves the ambiguous read refused,
and so does a probe that Foundry served over the other route. If Foundry rejects the
probe, the Prover instead checks each ambiguous read by counting that read’s statement up
to its 1,001st row: exactly 1,000 accepts the read, while any other count or an
unsuccessful count refuses it. A statement that cannot be counted soundly is refused
without that count. The probe costs one Spark job on the Foundry tenant per route, only
when an ambiguous result first occurs on that route, plus one more for each ambiguous
read whose probe lands on the other route; after a rejected probe, each countable
ambiguous read costs one extra Spark query.
Because the read and count are separate queries, a change to the dataset between them
can affect the result. Granting foundry-sql-server:read on the project removes the
cap. These checks establish whether returned rows are capped; Palantir has not
confirmed whether the preview role also caps rows scanned, which they do not establish.
Foundry SQL declared result types
When the public Foundry SQL route returns Arrow results, the Prover uses the declared column types carried in the stream metadata. This lets it measure boolean columns and retain their column statistics instead of losing the whole scan when the public route rejects a bare boolean expression or untypedNULL projection.
For an empty result whose declared type is not established as matching the legacy
route, Genesis runs that statement once on the legacy route to confirm the profile
type. This can add one Spark job; if the legacy route cannot confirm the types or
names different columns, the comparison is refused rather than guessed.
Foundry catalog and declared keys
Foundry catalog enumeration also reads keys the platform declares: the dataset schema’sprimaryKey on master, and primaryKey expectation checks on dataset
outputs in the published sandboxes of Pipeline Builder pipelines found in the walked
space. A pipeline check contributes a key only when its columns are plain column
references and every named column exists on the dataset’s master schema. Genesis
does not measure uniqueness or infer keys from column names; a key not declared by the
source must be established through a ratified correspondence rule.
The catalog scan reads each distinct Pipeline Builder pipeline’s sandbox listing and,
when it has a published sandbox, reads that sandbox’s definition: up to two additional
Foundry REST requests per distinct pipeline. These reads are skipped when no dataset is
in scope. Draft checks are not treated as declarations, and pipelines outside the walked
space are not read. If a declaration cannot be read or resolved against the dataset
schema, or a relevant schema or pipeline definition cannot be read, the scan records
that limitation rather than treating the key as absent.
For each in-scope dataset, the scan also makes one Foundry job-spec request to record
whether Foundry builds it and, when it does, the producer: a Pipeline Builder pipeline
RID or jobspec:<rid>. If Foundry does not serve the job spec, the build status is
unknown; the Prover does not infer that the dataset is either a source or a built output.
The request adds one REST round trip per in-scope dataset, and rejected Foundry
credentials still fail the scan. The measured object exposes this producer as built_by
when one is identified; other dialects and datasets without readable producer evidence
omit the field.
During a forward comparison, a built_by output is licensed as absent and does not make its
source schema require a schema_map only when no declaration or ratified correspondence
establishes where the output lands, and no unratified addressing proposal would place it on
an object the target holds. Once a target placement is established, or an unratified
proposal points to a target object, the build record no longer excuses its absence.
Foundry nested-column digests
When Foundry declares the complete shape, the Prover can compute content digests forARRAY and STRUCT columns, including nested arrays and structs. It sorts
the outer array’s elements for the digest and uses the struct’s declared field
order. A bare or incompletely declared nested type has no digest. A MAP at
any depth also has no digest because Foundry does not guarantee map-key order;
the Prover withholds that content comparison rather than treating it as a match.
Foundry datasets without a schema
When Foundry reports that an in-scope dataset has no schema, the Prover reads its raw files through the Foundry files API instead of trying to measure it with Spark SQL. It pins the listing and every file read only to the branch’s head transaction when that transaction isCOMMITTED. Checking the head and its status takes two Foundry requests;
each is a single attempt with no retry or wait on Retry-After. The listing adds one
request per 100 files, and each file adds one full-file transfer.
If the head is an OPEN transaction (a write in progress), has no transaction, or its
status is not confirmed as committed, the files remain unmeasured for that scan rather
than being read from an in-progress write. The measurement is bounded to 1,000 files and
128 MiB total; an unreadable file, a file whose read disagrees with Foundry’s listed size,
an empty dataset, or a dataset over either limit also remains unmeasured rather than being
treated as a match. A later characterization can measure the files after a committed head
is available.
The source record stores each file’s path, byte length, and SHA-256 over its original
bytes. On a Databricks target, the Prover compares that record with a table containing
exactly the two string columns document and file_path; one full table scan computes
the UTF-8 byte length and SHA-256 of each document, returning only paths and digests.
No newline, whitespace, encoding, or Unicode normalization is applied. Equal file paths
and bytes produce a match; a missing, extra, or changed file produces one
file_content finding. If the target shape cannot be read, or either side could not be
measured, or the target dialect cannot hash the landed documents on-engine, the
comparison remains indeterminate. Recharacterize both estates to create these file-level
measurements; earlier snapshots do not contain them.
When a dataset is scoped as same and the source was measured with no columns and a
file_content record, the Prover does not attempt a row comparison. It applies the
platform class object_not_row_comparable and compares the files by path, byte length,
and SHA-256: matching files meet the requirement, while changed, missing, or extra files
are findings. An unreadable or unmeasured side remains indeterminate. The scope verdict
exposes the class in license_class; the grade lists successfully matched objects in
not_row_comparable. The class is based on measured shape, not the dataset’s name, so
there is no per-object class registration.
For a changed entry on that measured schemaless source, when the target is in the landed
file shape (document and file_path), the Prover compares the source and target files by
path, byte length, and SHA-256. A byte-for-byte match is not_implemented; a changed,
missing, or extra file is implemented. If the files could not be compared, the verdict is
indeterminate. The verdict also identifies the object_not_row_comparable class in
license_class.
Because a file-backed dataset is still held and measured by the source scan, a spec
cannot declare it new with add_table when the locus identifies that dataset or the
latest target scan identifies its matching landing. finalize_spec refuses the
item; see the spec-author tool
reference for how to
revise the draft.
Planned. Deeper integration in which a Twin scan feeds estate registration
directly is part of the design. Today the two share the naming scheme; the Prover
measures the database itself, through its own registered connection, and does not
depend on a Twin scan having run.
2. Comparison — the system diff
A comparison takes two characterizations — normally the source system and the target it was migrated into — and enumerates every difference between them. This is the migration scenario: objects that moved, objects that were renamed, objects that were relocated into a different schema, columns whose types changed, values that no longer agree. The system diff supports DuckDB-to-DuckDB comparisons. DuckDB is not supported as a cross-engine comparison pair; its same-engine results carry declared, not proven, evidence. When a connector reports that a comparison read was cut short, the result includesconnector_truncation: reads counts affected reads, rows_omitted totals reported
omitted rows, and fields_truncated counts reads that shortened fields. This preserves
the connector’s truncation signal, which cannot be recovered from the returned rows alone.
Keyless profiles
When a paired view has no usable row key and Prover cannot compare its rows one by one, it can still compare a full-scan profile: row count, each paired column’s null count, and other measures available on both sides (distinct count, minimum and maximum value, and shortest and longest rendered value). A whole-object fingerprint is also compared when both sides hold a compatible fold; the profile takes that fingerprint on Databricks, Snowflake, SQL Server, and DuckDB. These readings are automatic and do not require a configuration setting. If the profile runs and all its readings match, the grade reports the object as checked by profile, not accepted; a differing measure remains a finding. If the profile cannot run, it does not report the object as checked by profile. Aftercompare_rows reads the same keyless profile, its matched tables also count as checked by
profile on the comparison’s proof page; a differing profile takes precedence over a grade’s
earlier match. The status count and each table’s label use the same combined reading, and a
profile match is still checked evidence, not acceptance.
When a keyless profile differs, the comparison may also name the differing
whole rows, but those names are explanatory labels, not accepted differences.
The configured scan limit and the names returned by compare_rows are described
in the row-pairing tool reference.
For keyed comparisons on BigQuery, a FLOAT64 key containing NaN is not decided by the
single grouped comparison query, because BigQuery groups NaNs together while the row walk
cannot pair them that way. The Prover falls back to the walk. If the walk finishes without
needing to order a NaN against a non-null key, it reports the NaN key as a difference; if it
must make that ordering, the comparison is undecided unless another check has already proved
a difference.
When no catalog declares a row key, the comparison can propose a key when both scans show
one same-named, non-null column with a distinct value for every row. If several columns
qualify, Prover proposes one only when a column name identifies it as a key. The proposal
appears as row_keys_inferred in comparison counts and is passed in the offered
row_identity for a re-proof; it is not a declaration, and the live probe still checks it
on both sides. If it repeats or contains nulls, that table falls back to whole-set
comparison; remove that key from the next row_identity call. Composite keys are not
inferred.
For a start-dated history with no end column, Prover can recognize the business key and
start date when the source has multiple versions per key and the target keeps exactly the
latest version for each key. It pairs those current source versions against the target and
labels older source versions as current-only rows. This is an inferred explanation, not an
acceptance: the closed versions remain visible as differences and are never marked
explained.
When both snapshots record known, different Prover measurement-library versions, prove
refuses the pair before running a comparison because its values would be withheld. The
refusal identifies the stale snapshot or snapshots and offers characterize calls to
re-scan them under the current build, then prove the new pair. If only one side is stale,
the other snapshot can be kept; if both are on different older versions, re-scan both. An
existing comparison with mismatched measurement versions marks the affected tables not
compared and names the side or sides to re-scan rather than treating their values as
matches.
For a fast structural check before characterizing both estates, use the catalog-only
precheck action: it
compares table and column presence, types, nullability, and row counts, but not values.
Use a full Prover comparison when value equality is the question.
When a full comparison samples a table, its estimated statistics are not exact evidence
of matching or differing values. Check column_reads in the
comparison tool reference
to see which tables and columns were sampled and how to interpret those readings.
When the standing grade’s sealed specification describes rebuilding the target
from the source, the comparison column summary follows the spec’s carried-column
mapping instead of pairing tables and columns by name. When those table names
differ, the summary identifies the target table and shows the source table name
beside it. Derived and otherwise
uncarried columns are not compared; if no carried columns can be compared, the
summary is omitted with the reason. If Genesis cannot read the grade’s spec
pairing, it also withholds name-by-name results until that read succeeds. The
compare_rows action refuses rebuild comparisons because same-name row pairing
does not describe them. See the
compare_rows tool reference
for the refusal behavior.
On an engine that re-reads the whole table for every keyset page, such as BigQuery,
Genesis estimates a row-by-row walk before it continues. The default limit is
system_diff.max_projected_walk_hours (1.0 hour), and the guard is applied
automatically. If the estimate exceeds the limit, or the row count or first-page
timing cannot be read, the walk is not run: a comparison that would otherwise pass
reports INDETERMINATE with walk_projection_refused (a mismatch already confirmed
still reports FAIL), with a plain-language cost estimate and how to allow the walk.
When BigQuery refuses the row count or the first page with a reason of its own, the
refusal names that statement, its side, BigQuery’s reason, the job, the attempts and
whether the statement was sent (statement_refused) instead of an unknown cost. The
BigQuery transient statement failures are retried up to 3 times by default, with
exponential backoff starting at 2 seconds and capped at 60 seconds; each pause is
randomized within the upper half of its backoff step. Configure this with system_diff.transient_retries (default 3) and
system_diff.transient_retry_base_seconds (default 2.0). Retries do not spend the
comparison’s query budget. If retries are exhausted, the advice follows what failed: a
transient reason may clear on a re-run; a connection check that failed before the statement
was sent points at the connection; a refused first page is the check’s statement to fix,
which an explicit go would send again; a refused row count is one an explicit go skips,
walking without a cost estimate.
A single comparison query that succeeds on one shared connection avoids the
page-by-page walk. When it cannot be used, the limit still applies, and the refusal says
why (one_statement_refused): the two sides are read through two connections, a column
is stored as different types on the two sides or as a type with no exact form, or the
warehouse refused the single comparison query or answered it incompletely. The check’s
reason carries the same sentence. When the sides are read through two connections, the
refusal also says whether anything else would still stop a single comparison query on
one connection, such as a column stored as two types; only when nothing else does would
binding both sides to one connection that can read both tables let the warehouse try
them in a single comparison query. See the
Configuration Reference to set a different limit.
BigQuery applies a per-statement bytes cap to every statement a comparison or reconcile
re-check sends—not just the single comparison query and timestamp-key precision checks,
but also row-by-row walk pages, bisection bounds and key hashes, probes, checksums, and
watermark lookups. system_diff.max_bytes_billed_per_statement defaults to
1099511627776 bytes (1 TiB) and applies automatically on BigQuery; raise it in
configuration and rerun when a statement legitimately exceeds the cap. BigQuery sends
the cap as maximum_bytes_billed and refuses an over-cap statement before scanning, so
it bills nothing for that statement. Snowflake, Databricks, and Postgres have no
per-statement bytes cap, so their statements are bounded by
system_diff.query_timeout_minutes instead. A capped single comparison query is not
replaced by a row-by-row walk. If a statement needed for the comparison is refused, the
comparison stops there: unread data is not checked, a would-be PASS is INDETERMINATE
with truncation_reason: bytes_cap_exceeded, and the reason and bytes_cap details
identify the refused statement, side, connection, cap, and job; a mismatch already
confirmed remains FAIL. A re-check stopped by a refusal names no key as passing. An
optional naming pass may be skipped without changing the verdict. For a narrowed
timestamp key, a refused version count marks the key unmeasured with
unmeasured_reason: bytes_cap_exceeded. If only the example lookup is refused, the
measured collapse remains a FAIL, with example_unmeasured_reason: bytes_cap_exceeded.
Mission-generated old-warehouse specs
When an approved Mission plan binds a proof pair as a rebuild, the resolved source snapshot must contain no objects beyond those selected by that plan. Genesis refuses the proof when the source includes unplanned objects, or when it cannot read enough plan or snapshot data to establish the scope; register the intended source objects in the plan and retry. When amigrate_and_prove Mission compares its rebuilt warehouse with the old warehouse
named in its approved plan, Prover can generate and bind that comparison’s spec from the
two measured snapshots. This applies when the Mission has no earlier graded spec for the
pair; a spec already graded for the pair remains the one used. To use the generated spec,
prove the snapshots without spec_hash or row_identity; Prover supplies the row keys from
the plan. Write a spec for this pair only when Prover says none could be generated or the
plan directs you to. A warehouse registered through another
connection is accepted only when its record has the same connection type, host, and port
as the plan’s source connection; otherwise Prover refuses the comparison with
mission_plan_connection_mismatch. Register that side on the plan’s source connection and
prove again. A row key that is a float or a measure such as a price or quantity is refused
before comparison; use a business ID that can pair the rows. A same-named key column typed
in incompatible families across the two sides is also refused. The generated spec pairs
tables by their names, including names that differ by case, spaces, underscores, or a
schema folded into the table name. For versioned tables it pairs rows on shared ID columns
and Valid From; for other tables it uses a shared ID whose measured counts show it is
unique and non-null on both sides, or compares whole rows when there is no such key.
Engine-issued integer ... Key surrogate keys are declared as renumberings, accepted only
when Prover verifies a one-to-one mapping. Integer ... Lineage Key and ... Lineage ID
columns are left out of row comparison and must still be set on every rebuilt row. All
other differences remain findings.
When the comparison itself pairs fewer tables than the governing spec or approved plan,
Prover uses that table pairing to avoid calling its source and target counterparts missing.
A row paired only by the approved plan is explicitly not compared here and keeps the
proof open until it is compared; a standing graded spec’s pairing can account for its own
paired rows. This does not claim that the current comparison measured those tables.
If a recognized old-warehouse cutoff or lineage table supplies its last load, the spec
excludes that reference table. When the rebuilt tables share one target schema, the generated
spec maps the cutoff table’s separate schema to it so the reference remains out of scope.
For each table pair with a usable date anchor on both sides,
it returns as_of_window_rules to measure both sides up to the cutoff. A versioned table
uses its start date; a fact table can use a date-typed ... Date Key. Tables with no such
anchor on either side remain whole. Existing snapshots can satisfy a required window without
a rescan when exhaustive measurements show the anchor’s maximum is at or before the cutoff
and there are no null anchors, and any existing window preserves the full range through the
cutoff; the run records this evidence in
data.mission_plan.windows_reasoning. Otherwise, prove refuses with
mission_plan_windows_missing and gives a literal characterize call for each side that
must be measured again in refusal.mission_plan.recharacterize. Run those calls with their
as_of_window_rules, then prove the new snapshots without spec_hash or row_identity.
This is the Mission’s next step, not a question for a person; ask for help only if a scan
fails or the plan has no cutoff. Without a recognized cutoff, all rows are compared. No
shared table or ambiguous table pairing prevents generation. With a cutoff, an anchor
available on only one side also prevents generation; use an explicit spec if the comparison
cannot be generated.
For the Mission workflow and the call to make after Prover returns windows, see the
approved chat migration blueprint.
When a comparison has the same registered estate on both sides and has neither a plan nor a
grade, Prover reads it as a stability check: whether that estate changed between its two
measurements. The proof page names the estate and the measurement dates (or times when both
were measured on the same day) instead of showing the same estate as both source and target.
It says whether Prover found a change, found no change, or could not confirm either. A
planned or graded comparison remains a check against its plan, even when both sides name the
same estate.
Rewritten views and behavior proofs
When a view’s definition differs on the target,which_proof_applies explains what this
comparison read for it. A view written the same on both sides needs no behavior proof,
though data findings on it still need resolving. For rewritten views, resolve data findings
first: data_differs means differences remain, while data_explained_by_rule means a
person must decide whether the rule-explained differences are acceptable.
A behaviour proof remains optional, and no verdict or certification requires one. Fuzzing is
off by default; see Behaviour Fuzzing.
data_matched_behavior_not_tested means the view’s data matched, its behaviour was not tested,
and nothing is open on it. data_matched_fuzz_failed_advisory means the data matched but a
recorded fuzz run did not pass; that result is advisory and blocks nothing. Neither kind says
the definitions behave the same on other data. The Behaviour Fuzzing
page explains the optional run evidence. data_not_compared means the comparison did not
compare both the view’s rows and its values, so fix that and prove again. When sending a diagnosed
build defect back, use the one-tool prover_repair_tools group rather than adding the
larger source_contract_tools group; see its
tool group reference.
A comparison stored before this change can still read needs_behavior_proof,
behavior_proof_failed or behavior_proof_did_not_run. None of them asks for anything;
comparing the pair again reads the view by its data. To explain a run that did not pass, read
its behavior_proof_run_id with get_run. If the kind is behavior_proof_passed_data_not_compared,
fix the value coverage (for example by re-characterizing or declaring row identity), then
prove again. behavior_proof_passed means this comparison read a passing proof; a proof
that passed after this comparison was computed is not included. The complete field shape is
in the [read_comparison reference]
(/docs/Genbot-Toolkit/Additional-Tool-Groups#read_comparison).
which_proof_applies is explanatory only; it
does not change the comparison verdict.
When fuzzer.enabled is true (boolean, default false), a comparison can attach an
unexpired Prover Fuzzer seal to a rewritten view pair only when both seal pipelines are
views named as that pair and both recorded view texts normalize to the comparison snapshots’
definitions. The seal’s commissioner must also be able to use both snapshot connections.
A seal created after the comparison is
picked up only when the pair is compared again. On a data-matched view card, a differing
batch is called out as advisory evidence, while evidence that every sealed batch was judged
the same is described as evidence on that data, not proof on all data. The view stays
data_matched_behavior_not_tested, and the seal changes no verdict or licence. Its id
appears as fuzzer_seal_id, not as a behavior-proof run; the card reads seal findings live.
This setting is separate from
estate_char.fuzz.enabled, which controls behavior-proof runs. See the
Prover Fuzzer agent guide for seal
availability and the toolkit reference
for how seals are created.
When a view’s entry names a licensing fuzz run, behavior_proof_level and
behavior_proof_cases give the highest passed level and its case count. The run’s full
record shows per-level coverage, kill rate and findings. Older comparison records may still
carry test_case_coverage, the claims made for a retired test-case proof; those claims do
not themselves establish a license. See Behaviour Fuzzing.
A claim made against another version of the view’s text is listed as not credited and does
not count as covered. Prover assigns a case by its output_relation (schema and name); when
that matches no view in the comparison, it falls back to the case’s dbt target_node model
name only if exactly one view pair matches. Check not_credited for
claims that identify no single situation and not_matched for coverage claims from cases
assigned to neither view. The API reference describes the response fields and list limits.
For value columns compared by row key, string and uuid values must match exactly
even when a numeric tolerance is configured. Digit-only text such as 0012 does not
match 12 through numeric conversion; identical values still match.
For paired FLOAT / DOUBLE columns, a difference in the measured value digest or
categorical distribution can trigger a live re-read on both sides. The Prover checks
that each read still reproduces its snapshot digest, then compares the sorted non-null
value multisets when each side has at most 2,000,000 values. Values match when
abs(source - target) <= max(1e-12 * max(abs(source), abs(target)), 1e-300); NaN and
infinity compare exactly. A tolerance-only result is licensed, never a silent
match, under platform:float_relative_tolerance, and its reading reports the largest
relative difference (plus the number of near-zero pairs decided by the absolute floor).
If the live read cannot be verified, the sides have different counts, the value limit
is exceeded, or any pair is outside the tolerance, the existing difference remains.
FLOAT / DOUBLE boundary values use the same tolerance. The float tolerance does not
apply to integers, DECIMAL / NUMERIC, text, dates, or timestamps. When both sides
are typed as integer or decimal, Prover compares values exactly without converting
them through a double; a declared tolerance for those values uses exact arithmetic,
with no float noise floor. When an exact decimal source is re-stored as a float, a boundary
value can also be proven equal when the float rounds back to the exact source value at the
source scale under both common rounding rules and preserves the source’s significant digits;
a real loss at that scale remains a difference. These additional reads happen during the comparison:
each candidate object gets an aggregate digest check and each candidate column gets a
full value read on both sides. Each side’s column is capped at 2,000,000 non-null values,
and all live float and TIME value reads together are capped at 10,000,000 values per
comparison. An unread float column remains a difference, and its detail says the
tolerance was not checked and why; the run’s float_tolerance_read records each requested
column, whether both sides were read, and each unread side’s cause and reason. Reads are
bracketed by digest checks before and after the values are fetched, so a table that changes
during the read is not used.
The organisation-approved standard technical pack licenses five other kinds of
unobservable differences when the measurements prove them: a wider integer or decimal
type, a longer varying-text type, two spellings of the same declared type and size,
timestamp formatting, and extra timestamp precision. For widening, longer text, and
timestamps, both sides’ values must have exact matching measurements; a timestamp must
also keep the same kind of time and offset, and the values must match at the source’s
precision. Equivalent type spellings require both sides’ values to have been read, but
their values are still decided by their own readings. Narrower types, decimal rounding,
changed text values (including case, whitespace, or NULL versus empty string), changed
encoding, and time-zone shifts remain differences. The pack does
not widen float tolerance: the existing 1e-12 rule remains, and column order is not
compared. Each licensed reading records the standard pack ruling and its measured basis.
When a keyed comparison identifies a column whose differing values were rounded or
truncated to fewer decimal places, its evidence can name the scale, method, and affected
row count in differing_column_kinds; the comparison still fails on those differences.
Before the key-ordered float walk, the Prover can also use a tolerance digest as a skip
gate. It runs only when both sides’ key uniqueness was probed and both dialects support
the digest. Each compared column must either be a FLOAT / DOUBLE pair with relative
tolerance of at least 2e-14, or have compatible exact renders on both sides. The first
case folds values to 15 significant digits; the minimum tolerance ensures that equal
digests cannot hide a difference the walk would report. The exact case is available for
supported types on the same dialect when both profiled types have injective renders in the
same family. Databricks supports exact renders for text, integer, decimal, boolean, date,
same-type floating-point, and timestamp families; BigQuery supports text and integer types;
Foundry does not use this exact arm. If
any compared column uses an exact render, every key must also have compatible exact renders
or the gate declines. Exact renders are checked against stored types as well as profiles,
and NaNs or a type mismatch make the digest inconclusive.
The gate issues one full-scan aggregate query per side. If the row counts and digests agree
and no row contains an unfoldable value, the Prover skips the paged key-ordered walk. A
digest difference with exact key renders can trigger a bucket drill-down: one more aggregate
query per side checks per-key buckets, and a validated result lets the walk read only differing
buckets. The drill-down is declined when fewer than four walk pages would be needed, more
than half the buckets differ, or the bucket results cannot be validated; the full walk then
runs. An unreadable result, ineligible contract, or unfoldable value also leaves the walk in
place. Neither gate changes a verdict. For a 1.66-million-row comparison with 50
eligible columns at the default 5,000-row page size, this can replace 2,664 page queries
with two aggregate queries.
When the gate runs, the comparison result’s tolerance_digest records its status and
columns; declined explains an ineligible gate, and exact_columns lists columns handled
by exact renders. A skipped_walk result records float_significant_digits: 15 when any
column was folded; an all-exact result has no such field. Statuses are not_eligible,
differs, unreadable, unfoldable_values, and skipped_walk. The [comparison tool reference]
(/docs/Genbot-Toolkit/Additional-Tool-Groups#read_comparison) describes where to read the
comparison result. In a stored grade, the check’s tolerance_digest carries this record
only when the gate skipped the row walk and the comparison evidence is readable. It is
absent when the row walk decides the check, or when that comparison is unreadable.
A source TIME column stored as text on the target can be licensed under the seeded
assumption time_as_canonical_text (platform:time_as_canonical_text) for BigQuery, or
for a SQL Server-to-Databricks pair. SQL Server’s source rendering preserves fractional
digits; an all-zero fractional part is folded away (for example,
12:30:00.0000000 becomes 12:30:00), while non-zero fractions remain. Databricks has
no TIME type, so this can cover a source TIME to target text (STRING) type change. The comparison reads both
sides’ non-null values live and licenses the column_type reading only when null counts
agree, every target value is canonical HH:mm:ss text, and the target values match the
source TIME renderings as a multiset. A malformed or different value, a dropped fraction,
or a source dialect whose TIME rendering is not proven lossless leaves the difference
unlicensed. Each side is capped at 2,000,000 values, with the shared 10,000,000-value
comparison budget above. Live row and non-null counts are checked on both sides, and the
target’s exact value digest is checked before and after the value read; a text column with
no exact snapshot digest cannot be licensed. If either side cannot be read, the finding
says the TIME values were not checked and why; the run records the requested columns and
unread reasons under time_text_read. This proves the value multiset, not row-key
equality. The comparison tool reference
describes where to read the run disclosure.
For BigQuery-to-BigQuery comparisons, paired TIME columns can also participate in a
compatible whole-row check. This lets the row check detect TIME values swapped between
rows instead of leaving the whole-row checksum undecided. This is separate from the
time_as_canonical_text assumption above, which compares a BigQuery TIME column with
text on the target.
For a cross-engine comparison, a paired column without a tested shared rendering (such as
TIME) is left out of the whole-table digest when its engine-specific text could explain a
digest difference. A forward comparison re-reads both tables over the other paired columns,
so a value swap in those columns can still be detected rather than hidden by the undecided
rendering. If that re-read matches row for row, the whole-table finding is indeterminate for
the excluded columns; if it cannot be completed, the result says the row pairing was not
checked either.
A person can also accept value drift in a column on a pair’s graded comparison. On a later
forward comparison, Prover reads those acceptances from the pair’s latest graded review; they
are not caller-supplied settings. An acceptance applies only when every value-drift difference
and evidence gap for that column has been accepted. Prover leaves that column out of the
whole-table re-read, and settles the table’s digest only if the remaining columns match on
both sides. The table is then reported as matching apart from the accepted column, not as
proof that its values match. Structural differences such as type or nullability do not by
themselves license excluding a column. The comparison disclosure names each excluded
accepted column and its acceptance; see read_comparison.
An acceptance given under an earlier plan can also exclude a column from the whole-table
re-read when the newest graded comparison is under a different spec. This applies only to
the digest exclusion, not to carrying individual review items: the source and target column
pairing must still match the one accepted, the newer review must not hold an item for that
column, and the newest spec must not contradict the accepted value drift. Checks or keys that
read the column across both sides, renames, and unclassifiable structural items block this
use; prose, accepted differences, one-side invariants, and structural declarations that
explicitly change the column’s values do not. The disclosure identifies the earlier spec
when it accounts for an excluded column.
For an append_only comparison, the Prover distinguishes a duplicated load from rows
appended between the two reads. When an exhaustive, unsampled reading has a native
distinct count and no NULLs for an eligible single-column declared key, the Prover
checks that key on both sides. If the side with more rows repeats key values, it records
relied_on.basis: "duplicated_key_surplus" with the row and distinct counts,
duplicate_rows, row_surplus, and accounts_for_surplus instead of attributing the
difference to observation skew. For a row_count comparison, measured repeated rows
are sufficient; for other comparison kinds, they must account for the whole row
surplus. When the comparison can read the grown side, relied_on.sample_keys and the
finding detail can name up to five repeated key values as text, capped at 200 characters
each. A bounded, key-ordered query runs only for planned duplicated-load candidates; these
examples are illustrative and never decide the finding. Missing, sampled, or otherwise
ineligible key evidence remains indeterminate, and a failed sample read leaves the counts
as the evidence.
The Prover also rules out append skew when both readings have the same row count and the
same measured maximum on the same append-only anchor column. It records
relied_on.basis: "append_only_same_extent" with the anchor column, row_count,
anchor_max, and skew_seconds. A value permutation within that unchanged extent therefore
remains visible as drift even when the reads are seconds apart. This evidence is unavailable
if either side lacks the anchor, row count, or measured maximum, if the anchor columns differ,
or if the counts or maxima disagree; in those cases it does not rule out skew.
On engines that report table versions, Prover can also read the current version of a table
when the snapshot reads alone leave an observation-skew finding unresolved. If that version
matches the version the snapshot proves, it can establish that side’s measurement held
unchanged across the other read; the decided element records
relied_on.basis: "table_version_unchanged" and the evidence for each side. These are
selective catalog reads, at most 200 tables per side and one version read per table. Engines
that report no version add no catalog read. This evidence only settles the comparison’s
observation timing; it does not claim the table stayed unchanged outside the proven interval.
BigQuery base tables use an equality-only version based on catalog row count and
last-modified time, with a visible-row count check. Views, external tables, tables with
streaming-buffer rows, and readings filtered by a row access policy do not provide a usable
version; BigQuery versions name no commit timestamp.
For a mutable object with no mutation-stamp or change-stamp evidence, the finding detail
states that this is an absence of evidence, not proof that the object was quiet. Do not
present the missing stamp as proof that no change occurred. When a persisted change stamp
and the earlier read time differ in timezone awareness, the Prover does not assign a zone
to the timezone-less value: it proves the stamp was at or before the read only when it is
at least 14 hours earlier, a margin that covers every real UTC offset. A stamp within that
margin does not prove quietness, so the comparison continues to abstain. If the proof uses
this margin, the decided element’s relied_on records offset_margin_hours: 14 and
offset_margin_sides, which names what needed the margin (see below). When both timestamps have the same timezone awareness, they are compared directly.
The same margin applies when a stamp shows movement. If a caller declares both estates
static but a change stamp follows the earlier read by more than 14 hours despite a
timezone-awareness mismatch, the declaration is refused and the comparison continues to
abstain. A stamp inside that margin does not prove movement, so the declaration still
decides. The refusal’s relied_on records the same two margin fields. A declaration’s
timezone-less quiet_since covers a timezone-aware read only when it is at least 14 hours
earlier. In every case offset_margin_sides names what needed the margin: source or
target for that side’s change stamp (both can appear), or quiet_since for the
declaration’s own instant.
When Foundry verification supplies the translator’s lineage record for columns fed by
an unseeded random function, their value, content, and count readings that remain
unlicensed are indeterminate with cause
non_reproducible_by_construction: the values are drawn afresh on both sides, so the
reading is neither a difference nor a match. A person’s licence still takes precedence,
and structural readings such as type or presence remain comparable. The comparison
records relied_on.basis: "declared_lineage_record" and excludes those columns from the
whole-table digest, which is decided over the other columns. This lineage input is
documented in the Foundry migration tool guide.
When one side of a pair is a BigQuery view, Prover runs the whole-row check on it, which
compares every row as a whole so that values swapped between two rows show, only when it
can be sure the view returns the same rows each time it is read. That means Prover could
read and parse the view’s definition, every function it calls is a built-in Prover confirms
is repeatable for the same input, it has no sample or limit, and it reads only
tables included in the same scan, none of them an external table. Prover also asks
BigQuery’s catalog about the columns behind the view. A view does not get the check when
it reads the clock (such as CURRENT_DATE()), a random value, who is reading, a
user-defined function, another view, or a column under a data policy, policy tag, or
data-governance tag (such as a masked column). Nor does it when it sums or averages (over floating-point FLOAT64
values, rounding can change with the order rows are added in, and Prover does not check a
column’s type, so every SUM and AVG is refused), or when anything in it can depend on
BigQuery’s default time zone, which can be changed: a date or time function that would
read the zone and does not name one, a cast of a column to anything but a number, a
boolean or bytes, or text joined from a timestamp. A view on another engine, a view whose definition could not be
read, a metric view, a view with no columns read, and a view larger than the scan budget
do not get it either. The exception is a Databricks MATERIALIZED_VIEW from a declarative
pipeline, enumerated with pipeline_dataset: its rows are stored and change on pipeline
refresh, so Prover digests it like a table without checking whether its body is repeatable.
The scan-budget and columns-read exclusions still apply; plain views are unchanged, and
streaming tables are enumerated as tables. Nothing is reported when the check could add nothing: both sides have
a single column, and its checksum was read. A view measured before v17 records no reason and stays
silent. In every other case the comparison reports the whole-row check as not run,
with cause view_whole_row_not_run and the reason in words. The exception is when the
whole-row check failed on the other side of the pair: the comparison then reports that
failure (for example object_unmeasured, which measuring again can repair) and also names
the view’s reason. Checks of single columns cannot see values swapped between rows, so a
pass on such a view is not a full proof. To prove it fully, compare a table copy of the
view, or accept the gap when keyed row checks compared every column row by row. When
the check cannot run on a view by design and every column of the view matched, with
nothing else open on it, the grade records the check as not applicable, with its
reason, instead of leaving it undecided: it asks nobody and needs no waiver. A view
none of whose columns was read, or whose definition could not be read, still waits on
a person, as does a view whose contents were not read in full (sampled, partly read, or
counted over other rows than its columns) or that holds no rows, and a
table’s whole-row check is never treated this way.
When present, the conformance report’s view_whole_row_not_applicable summary
lists each such view with object_name, target_object, and the check’s reason.
Each entry also carries cause: "view_whole_row_not_applicable" for structured handling.
When missing and surplus column names differ only by case and separators (for example,
flight_id and flightId), the comparison may add one leading, unlicensed
addressing_incoherence finding when each name has exactly one candidate on the other
side. Case-only differences are excluded because identifier folding already handles them;
ambiguous candidates are not grouped. The finding is a text-only rename suggestion: each
column still remains missing or surplus, and its content is not compared until the caller
declares the pair in column_map.
The comparison can suggest value-based column renames; see the
comparison result reference
for evidence and acceptance. For caller-declared row-key outcomes, see the
proof API contract.
The result’s unwitnessed_by_identity disclosure counts unlicensed findings with no
witness rows because no row identity was declared for their objects. Relay its sentence
and declare row_identity to localize those findings rather than treating the absent
witness rows as an evidence gap.
See the proof endpoint reference
for caller-declared key behavior.
Keyed verifier phases that need reads from both estates issue those reads
concurrently. During localization, page fetches overlap when both streams need a
page and the query budget covers the pair, reducing elapsed time for comparisons
whose key streams advance in lockstep.
For keyed specification checks, the engine can also infer a key’s family from the
projection itself. A bare quoted literal is string, a bare integer literal is int,
and a CASE expression is accepted when every THEN branch and its ELSE are literals
of the same family; a CASE without ELSE, mixed families, non-literal branches, and
other numeric literals state no family. A checksum projection that contains only key
columns returns indeterminate_reason: "checksum_key_only": it verifies key membership,
not content, and is attributed to the specification as written rather than treated as a
clean content proof.
For a SQL obligation, a non-empty compare_columns declaration limits the grade to those
non-key value columns. Other columns returned by the query are context, not compared
values. A declared column missing from a result is not silently replaced by a context
column; the comparison errors. With no declared columns, every returned non-key column is
compared. For an all-zero COUNT(*) - COUNT([DISTINCT] expression) check, the degeneracy
probe also checks that the filtered query population contains rows, replacing the count
expression with COUNT(*) while retaining the filter. A zero duplicate count over rows
can therefore confirm uniqueness; an empty population cannot.
The comparison keeps the evidence attached to what was actually measured. When
unpaired objects have matching row counts and boundary measurements on at least
two columns, Human Review can link them as a rename hypothesis even when their
names share no fragment; the review member records whether the link came from
measured_agreement or only a shared_object_name. Ambiguous candidates remain
unpaired rather than being guessed.
Every recorded comparison also discloses object_presence and not_measured from that
run. object_presence is the authoritative object-by-object answer: it names every source
object the target lacks or whose presence is undetermined, then bounds the list of present
and surplus objects at 200 while keeping exact counts and omitted totals. not_measured
lists the run’s indeterminate and errored readings with their causes, up to 200, and
points to read_comparison for the remainder. Both fields are null on a comparison saved
before the disclosures existed; that is unknown, not proof of complete presence or complete
measurement. On a withheld comparison, do not infer presence from the withheld one-to-one
readings: the disclosure marks them as withheld and undetermined. object_presence.not_built
separately names declared derived targets the build lacks; these are computed tables, not
source objects, and are not included in the source-object counts.
Addressing is still one-to-one unless the sealed specification declares a general
target mapping: object_map renames only, so a null or empty target is refused rather than
used to declare an input-only table. Declare that table through the sealed specification’s
target model. An object_map value may use a one-element list as an alternative spelling
for one target, but a list naming several targets is refused instead of choosing one. A
row-identity declaration may likewise name renamed key columns per
side, positionally, so row witnesses can be paired when the business key itself
changed spelling. A version-2 target_model is the explicit mapping exception: it
can declare one legacy object split across several images or several legacy objects
merged into one non-hub image.
The target_model’s split and derived object names bind under the comparison’s
case_insensitive_object_names policy. When it is enabled, a declared name such as
Application.Cities can bind to the unique application.cities object in a Databricks
snapshot; if more than one target name matches after case is ignored, the mapping is
refused as ambiguous.
For a proof graded against a sealed spec, keyed checks can also provide the object pairing
for renamed tables when the proof omits schema_map, object_map, and declared_relations,
and a derived schema relocation pairs no objects. See the POST /api/estate/proofs
contract for the eligibility
conditions and the recorded derivation.
Declared target mappings and Data Vault shapes
A sealed specification may carry an optionaltarget_model declaration. Its default
schema_version: "1" describes a Data Vault target: it requires vault conventions and
at least one hub, and names the hubs, links, satellites, their derived metadata columns,
declared ghost keys, and each legacy object’s split. schema_version: "2" describes a
general mapping instead. It may use plain target images with no vault role, or annotate
the images it names as hubs, links, and satellites to enable the corresponding vault
checks. The proof reads this block only after verifying the spec seal; it is not a
caller-supplied comparison mode. When validation refuses an unsupported Data Vault
shape, the message explains what to declare instead; see the design_raw_vault
refused-shape guidance.
The version-2 target_model is one object, not a list of descriptive rows. If an agent
passes rows shaped like {target, derivation, sources, grain, rule}, put them under the
object’s derived array: use object for the target, derivation for the rule, and
columns for the complete delivered column list. See the [register_target_model tool]
(/docs/Genbot-Toolkit/Additional-Tool-Groups#register_target_model) for the validation
response and the tool contract.
At seal time, target-side SQL is checked relation by relation against the mapping’s
declared columns, including schema-specific declarations. See the [author_spec contract]
(/docs/Genbot-Toolkit/Additional-Tool-Groups#author_spec) for the refusal and resolution
rules. On Snowflake, the seal reads each relation’s stored column names, so a correctly
quoted identifier is not refused as a missing column. T-SQL relation names may also use
brackets, including names with spaces such as [Fact].[Payment Method]; the seal recognizes
the full bracketed relation when checking reads and evidence.
Keep legacy-parity tables exact
In a layered target, keep each table that mirrors the legacy system an exact replica: legacy names and columns only, with no added key, renamed column, or conformed attribute. Put new keys, renames, and added attributes in the conformed layer built from those parity tables, and prove that layer against its definition. Confirm this split in readiness item 3 before building. A lift-and-shift with no conformed layer is different: declare its renames withobject_map or schema_map.
If a supplied target already adds fields to a parity table, record that mismatch in the
plan before the build. The specification needs an add_table item with must_match for
the table, an add_column item with its own change_expectation for each added column,
and a keyed row check covering every legacy column. Without those explicit checks, the
parity table cannot be graded as implemented.
Engine-pair renderings
Target-model obligations stay engine-neutral when their identifiers render the same across the supported dialects. If a relation or column needs engine-specific quoting, the seat renders that mapping for the run’s placed source-to-target engine pair. A run without a placed target cannot seal that quoted rendering; place the target for the run or use plain identifiers. The rendering records its engine pair, and grading it on a different pair refuses the check rather than running SQL whose quoted names may mean something else. Re-seal from a run placed on the grading pair. The SQL Server-to-Databricks standard pack automatically covers integer and floating-point widening (R3), decimal spellings with the same numeric value but different trailing zeros (R16), andbinary(n) landing as Databricks binary (R17). These rules
cover type or rendering differences only; values remain compared. UTC-offset folds (R18
and R19) apply only when the target fingerprint reports exactly UTC or Etc/UTC,
respectively. Spatial rule R20 replaces R15 as the default binding for geography or
geometry landing as text: it covers the type name only, and each value reading still
compares the well-known text. A person’s existing decision about R15 remains in force.
For Vertica-to-Snowflake comparisons, platform type rules cover Vertica varchar(n) and
char(n) landing as equal-length Snowflake VARCHAR(n), matching NUMERIC(p,s) and
NUMBER(p,s), Vertica integers and Snowflake NUMBER(38,0), and 64-bit floats. Vertica
TIMESTAMP maps to TIMESTAMP_NTZ; TIMESTAMPTZ maps to TIMESTAMP_TZ or
TIMESTAMP_LTZ, at microsecond precision. These rules cover type spellings and declared
dimensions only; values are still compared. The Vertica pair is currently
declared, not proven by a live Vertica golden run, so its comparison grade discloses
that evidence tier.
In a version-2 mapping, several legacy objects may feed one non-hub image: that image is
the declared merge. Each image column still receives exactly one legacy column, while
the comparison accounts for the union of columns carried by all of its legacy feeders.
The same mapping can declare a computed target with derived: each entry names the target
object, its legacy sources, the columns it must hold, a human-readable derivation,
and optional grain. In a layered build, layer_sources names the build’s layer directly
below that target; use layer_sources: [] when the target is computed straight from its
legacy sources. A target the build gives a placeholder row on purpose (a dimension’s
unknown member) declares it as unknown_member: {"column": "<key column>", "values": ["<key value>"]}; the seal then refuses a target-side domain invariant over that target that
the member breaks (invariant_over_declared_unknown_member). A derived target is checked for presence and declared columns, and each
source is licensed into that target with provenance: "model:derived"; its row content is
not compared to any one source table because the target is computed. The first item in
sources is the target’s driving input: declare the target’s row key on that legacy input,
using the per-side form when names differ, so the key pairs the input rows with the derived
target for witness localization. Witnesses compare the key and the target columns the model
carries under the input’s names; other target columns are computed and are not compared cell
by cell. Column-presence findings are filed on the derived target itself: object_name and
target_object name the target, not the legacy input that answered for it. When the key has
several columns, witness rows are ordered and paged on the complete
composite key rather than on any one position. If the target is
absent, the missing finding names the derived target as both object_name and
target_object; it is not counted as a missing source object. A legacy source used only by
derived targets need not exist under its own name in the target when at least one declared
derived target that consumes it is held. If none of those targets is held, the source is
also reported missing under its own name. The exception is a declared target or a declared
layer_sources object whose base name is the same: that layer object counts as the held
target image. A version-2 mapping may contain only derived targets, so splits can be empty
when every target is computed.
A layer_sources object is a target-side build layer, not a source input. Do not give it
input scope: leave it out of scope, as a layered spec does, or use same only when the
source also holds that object.
For a legacy object carried by a split, a caller can declare a row key for one image
using the per-side row_identity form with an image member; see the
row_identity request field for its payload shape.
The target terms name columns on that image. When the split has exactly one image, image
may be omitted and the key pairs with that sole image. For a split with several images, name
the image as it appears in the target inventory or by its uniquely resolving model name; an
image not declared for the split, a missing image on a multi-image split, or an image on an
object the model does not split is refused. The key applies only to findings for its named
image. Its witnesses compare the key and the columns the split carries from the legacy input
into that image, under the image’s column names; sibling images continue to be evaluated
independently without that key.
For split detection without a declared row key, see the measured link-key behavior in the
compare_rows tool reference.
Every derived target with legacy sources must also have a membership or recompute
obligation that reads the target on its target side and reconciles it to at least one of
those sources on the source side, end to end through any layer between. A check against
layer_sources may be included, but cannot replace the legacy-source reconciliation: two
layers can share the same defect. A hand-entered table that reads no legacy input is a
constant target and declares sources: [] (the field is still required); do not name an
input it does not read. Give it no layer_sources, and anchor its rows with a membership
or recompute obligation whose target side reads the table and whose source side states
the pipeline’s rows as a constant that reads no relation, with stated_expectation and
requirement_source.kind: "pipeline_definition". The comparison checks the table’s
presence and declared columns under its own name; this obligation confirms its rows, rather
than reconciling it to a legacy input. During authoring, a target already present in the
source estate with no declared layer_sources is refused with
layered_source_undeclared; a derived target with legacy sources but no legacy-source
reconciliation is refused with unanchored_derived_target. A constant target without its
pipeline-definition row check is also refused; none of these refusals seals the specification.
For these checks, “already present in the source estate” means held within the estate’s
declared member scope over the source connection and catalog, including its schema and object
pins—not every relation visible in a shared catalog. A same-catalog build output outside that
scope can therefore be new, including a derived or hand-entered constant target. If no source
estate is named or readable, or no member matches the source connection and catalog, the seat
uses whole-catalog behavior.
For the compiled-grade 409 when a sealed mapping cannot bind to its snapshots, see the
API grade response.
The authoring-time mapping_source_outside_source refusal is described in the
author_spec contract.
For an additional obligation comparing two derived tables, keep the comparison on the
target side: use source_sql for a constant expected row (for example,
SELECT 1 AS grp, 0 AS mismatches) keyed on grp, and use target_sql to count rows where
the derived tables disagree. This does not replace the required reconciliation to a legacy
source. On a run whose target is separate from the source, a source_sql that reads a
declared build output can be refused at sealing; see the [author_spec contract]
(/docs/Genbot-Toolkit/Additional-Tool-Groups#author_spec).
An image name must use one spelling throughout the mapping; a bare name and its
schema-qualified form are refused as ambiguous. A merge declared by the mapping and a
delta’s object_merge operation must agree on the image and sources. If the declarations
disagree, the merge is refused and the run records addressing_incoherence; the involved
object_missing and object_surplus readings remain indeterminate rather than being
treated as absence or newly created data.
Object-name matching treats a dot inside a double-quoted identifier as part of that name,
not as a schema separator: main."a.b" and "a.b" can name the same object, while
"a.b" and "x.b" do not.
The Prover does not take a whole-table digest for a declared split image because its
columns are compared individually against the legacy columns they carry. That
not_compared_by_design reading is reported as a design disclosure, not an unresolved
difference, and never blocks approval. A declared derived target is different: its rows
are computed and nothing compares its contents cell by cell against the source. Its
derived_target_not_compared reading remains a blocker unless the grade’s sealed-coverage
rules confirm the table; when it stays unchecked, the grade explains why. See the grade
response details.
Each image in a declared split is evaluated as its own finding coordinate. If the same
legacy object and column appear on two target images, the Prover keeps those readings in
separate findings keyed by their target images, so one image’s deviation or review status
does not settle its sibling. When a later comparison encounters a finding created before
that image-specific key was available, reconciliation matches it to the image named in
its stored evidence before applying the new verdict.
Reconciliation only treats an absent row_count finding on a split object as re-observed
when the current run actually counted rows for the finding’s image. A satellite, link,
merged image, or any other image whose rows were not counted therefore remains
not_exercised instead of closing as resolved merely because the finding is absent from
the run.
The same protection applies to every finding kind under a declared model mapping. The run
records, per legacy object, which comparison kinds it decided and which image or derived
target it read. An open finding remains not_exercised when that kind was not decided on
the object, or when the run read a different target, so silence cannot close an unmeasured
bronze image, silver target, or derived-target reading.
At-rest comparisons also record which objects they actually compared. An absent
per-pair finding is not re-verified when its object was not compared; a comparison
that paired no objects therefore cannot close those per-pair findings as resolved.
Inventory findings remain governed by the full inventory check, while a dangling-reference
finding is re-verified only when the comparison observed references.
When a version-2 split has exactly one image, that image has no vault role, and no other
source object feeds it through a split, merge, derived target, or ordinary one-to-one
pairing, the image is treated as the legacy object’s sole carried image. The Prover
compares their row counts; equal counts match, while a difference is an unlicensed
row_count finding. Where both tables were digested, it also compares their content over
the columns paired by the declared mapping, and compares the values of each paired column
individually. SQLite supports both the per-column value checks and the comparable
whole-table content fold. Columns present on only one side are excluded from the digest
comparison and reported separately as missing or surplus. If a digest cannot be compared,
the content result is withheld rather than treated as a match. If either row-count
measurement is indeterminate, the row-count result is indeterminate instead of clean.
Model-declared renumbering is measured on the sole image with the same rules as a
one-to-one pair. When a mapping is verified, the renumbered column is excluded from
ordinary value comparison and its renumbering verdict is recorded separately. If a
declared row key fails on the image, the comparison does not fall back to pairing rows
by other columns.
A named renumbering column can also be set aside when an exhaustive, unsampled read
shows a non-zero, equal row count on both sides and every value is unique and non-NULL.
The comparison records the counts without reading a value mapping; the rest of the
table is decided by a whole-table re-read without that column. This establishes only
that each side’s key is unique, not which value belongs to which row: swapping keys
between rows is not tested. If either side has duplicate values, NULLs, a sampled count,
or a different row count, the column stays in the ordinary comparison.
With a model, the comparison does not force a legacy table into one arbitrary target
table. A hub image is compared on the declared business key, excluding only the ghost
rows the model names. For each legacy object carried onto a hub, the model generates a
current-state obligation: the legacy row is compared with the hub joined to the latest
row of each declared satellite, keyed by the legacy business key. For each declared
junction split onto a link, it generates a link-membership obligation: the source pairs
are resolved through the declared legacy references to participating business keys and
compared with the link’s pairs after joining its hubs. The comparison uses the link’s full
business key, including dependent child columns carried from the junction, so a child filed
under the wrong hub key differs on both sides. These obligations use business keys, not
derived hash keys, so they prove the data rather than the hash rendering.
For every other image with a usable declared key, the model also generates an M-<image>
row-membership obligation: satellites are keyed on the business keys of the hub or link they
describe, links loaded from a hub’s own legacy object are keyed on their participating business
keys, plain images use the key declared by their history, and a merged image with no vault role
uses the key declared by every feeder. These checks compare distinct key sets, so they catch a
carried row that was skipped or invented without mistaking a satellite’s multiple historical rows
for a membership failure. An image without a usable key is listed in unrendered with the reason
it cannot be checked; a sole image carried one for one remains covered by the current-state
row-count and carried-column content comparisons against its legacy object. An attributed row-count
or content difference fails the image’s declared must_match structural item; without an item,
the difference remains drift, while a must_differ item explains it. Declare must_match when the
image must remain unchanged, or write a membership obligation for it. If a rendered membership
check is INDETERMINATE solely because its target
has rows with NULL keys and its source has none, the grade records a decided FAIL: the rendered
model keeps those rows, so they are orphans no legacy key derives. Other causes of an indeterminate
check remain undecided.
Generated obligation ids normally use object names without their schemas, but retain a schema
when the model declares the same base name in multiple schemas. If composed ids collide, the
colliding checks are rerendered with schema-qualified object names; any collision that remains
refuses the model because one id must name one check.
In a split’s references map, each value names the referenced split and column as
<split source>.<column>. Spell the split exactly as declared, including its schema: for a split
named main.branch, its branch_id reference is main.branch.branch_id. A declared link that
renders no membership check cannot be sealed; the spec-author seal also checks hand-written
population checks against historized links. See the finalize_spec refusal guidance.
For a link loaded from a split, its rendered membership check reads pairs from the current
source rows and each history relation declared for a satellite image in that split. The
history relation must carry the legacy columns used by the link check; otherwise mapping
registration reports the missing columns. This lets an insert-only link retain relationships
that changed in later source rows without treating those earlier pairs as target-only drift.
Link business-key registration also requires each participating hub to receive one key
part in participant order, and measures each readable link key on its junction. A key that
repeats or contains NULL is returned to the proposer with source counts and guidance to
add the dependent child that identifies one junction row, because the resulting LNK-*
check could only be INDETERMINATE; see the register_target_model contract
for the exact refusal behavior and measurement cost. During authoring, an unavailable or
unsupported source is reported as unmeasured rather than treated as unique.
A historized image can declare the relation that holds its source history under history:
{"relation": "<source history relation>", "batch_column": "<batch or effective-from column>"}.
The relation is expected to hold the legacy row for each key in each load batch (or each
version of an SCD2 audit); a non-vault historized image also declares its legacy key columns
under key. register_target_model renders one history obligation, named H-<image>,
which counts the source’s consecutive states per key and compares that count with the
rows the target image holds. This is the source of truth for history grading: the current
state table alone cannot reveal how many states the load should have written. If an image
has no readable history source, the grade lists it in history_not_testable rather than
presenting its history as matched; add the upstream landing batches, change feed, or
snapshots to the image declaration and re-register the mapping.
The completed grade persists each such object and its reason in
obligation_verdicts.history_not_testable. Its verdict headline also names the count and up to
five affected objects, then points the reader to that list for the explanation, so an untested
history is not read as a matched history.
A satellite with no history source whose versions a decided check of the spec’s own counts (a
hand-written check that reads that satellite’s load-date column and no other satellite, and
counts its rows per key, such as a check that one stated rename produced a second version) is
not counted there. It is listed in obligation_verdicts.history_tested_by_checks with the check
and its verdict, and the headline says that check tested part of its history and no declared
history source tested the rest.
When a history relation is not otherwise named by a split or derived target, the comparison
also treats it as a declared input: if it resolves in the source and no target object shares
its base name, it is read as a no-image split; a same-named target remains an ordinary
one-to-one comparison.
Derived vault columns are disclosed as model metadata, and a legacy column carried into
no image is an explicit split_column_unaccounted finding. A declared image that the
generator cannot reach is named as an unreachable shape instead of being silently treated
as matched. The run records target_model_hash and live split-key evidence so the result
identifies the declaration and the read it used.
The seal also checks that every authored obligation can run on the declared target shape.
Before a spec is sealed, its target-side SQL is prepared against the empty catalog of
objects and columns declared by target_model; an obligation that names a missing table or
column is refused with unrunnable_on_target_model rather than producing a specification
that can never grade successfully. The author must rewrite the target query to follow the
declared mapping and re-register it; finalize_spec
describes the refusal and repair guidance. Specs without a target_model are unchanged.
DuckDB’s missing-table and missing-schema catalog errors are recognized as missing relations
during this preparation. For keyed-obligation validation and repair guidance, see the
register_obligation contract.
A keyed check comparing a column only one of its queries returns is refused with
check_compared_column_not_returned, because the grade reads every compared column from both.
The authoring seal also refuses invariants with no counted constraint, undecidable structural
items on carried columns, and excluded scope entries for objects the mapping delivers; see
that guidance for the findings and repairs.
Comparison expectations that cannot cover the keys their target checks grade can also be
refused at sealing; see author_spec seal checks.
For cross-engine targets, see author_spec target connection preparation.
The authoring bind check for a declared target-side invariant uses that target connection;
see the register_obligation contract
for behavior when the connection cannot be opened.
When Readiness paired a target estate with the source, pass that estate’s id as
target_estate_id on the authoring call; the author_spec reference
covers target placement and the seal refusal when no target is placed.
When a chat prover_run(action="prove") call includes spec_hash but omits target_connection_id, Prover uses
the target connection recorded in the sealed spec’s commissioned placement. If the seat
recorded a source or target catalog but no target connection, Prover uses the source
connection for the target; otherwise, pass target_connection_id explicitly.
For the author-seat setup and carried-scope seal precheck on connection-commissioned runs,
including how an unnamed warehouse database is handled, see the
author_spec reference.
The model must also license the vault metadata that the load derives rather than carries
from a legacy column. Put a satellite’s hash-diff column under that satellite’s
hash_diff, and put other load-derived columns — such as a status satellite’s
is_deleted, an effectivity satellite’s is_active, or a hub’s last-seen date — under
the owning hub, link, or satellite’s metadata_columns. A Medallion layer table carried
whole from a legacy table declares the load metadata it adds (a bronze table’s load id and
load timestamp) under its own image’s metadata_columns, so it is still compared one to
one on content. An undeclared derived column is
reported as an unlicensed column_surplus reading. A hub’s placeholder or ghost rows
are likewise non-data only when their hash-key values are declared in that hub’s
ghost_keys; otherwise they remain data and increase the hub’s row and business-key
readings. When one of these declarations is missing, the finding detail names the model
key and entity to add before rerunning the comparison. String-valued ghost_keys use the
target engine’s quoting.
A version-2 image with no vault role can also declare columns belonging to the target
design that are not carried from any legacy column. Put each column and its design type in
the image’s new_columns, for example "new_columns": {"FUND_SHARES": "DECIMAL(18,6)"}.
These are distinct from load bookkeeping in metadata_columns; a new column cannot also be
carried or declared as metadata. They are not supported on version-1 mappings or images
assigned a vault role. When multiple splits feed one image, their declarations for a new
column must use the same type. A present declared column is licensed as a
column_surplus with provenance model:new_column; its reading detail includes the
design-declared type rather than treating the column as load metadata.
Mapping proposals also declare target-only columns as new_columns when the target catalog
provides one unambiguous, nonblank type. Catalog matching prefers exact spelling, then uses
a case-insensitive match only when exactly one catalog column matches. A missing, blank, or
ambiguous catalog type leaves that column in metadata_columns without inventing a type.
When the existing target model assigns the image a Data Vault role, the authoring seat keeps
those target-only columns in metadata_columns, since vault images do not accept
new_columns.
At registration, the seat returns a finding to the proposer rather than accepting distinct
split-image or derived-target names that differ only by case and identify the same target
object. This check applies when the mapping is registered, not when an older sealed model is
read, so a model sealed before this check remains readable.
Scope may name an image directly, including one with no source-side object of the same name.
The grade reads that entry through the mapping’s pre-image or pre-images and judges only the
named image: new and changed are implemented when it is on the target and
not_implemented when absent; same is implemented_differently because the mapping
restructures its pre-image; excluded is implemented when absent and
implemented_differently when present.
When an author-seat run uses a SQLite connection, its brief includes SQLite-specific
instructions for hash_key and hash_diff rules. Genesis registers
genesis_md5_sum60(text) on each SQLite connection it opens, so the seat can compute the
rule input’s MD5 suffix per row and compare it with the stored hash’s final 15 hexadecimal
digits in a sealed check. It does not have to leave an MD5 rule unchecked just because
SQLite lacks a built-in md5() function. This guidance is included automatically for
SQLite runs; no setting is required.
Model usage for specification authoring is recorded as system work in Pulse Costs under
usage_category=prover and usage_subcategory=spec_author. This recording is automatic;
it does not depend on the retired features.cost_accounting setting. See the
author_spec reference.
A migration’s column rename can be declared in column_map on
prover_run(action="prove") or prover_run(action="compare"); the comparison then
reports column_renamed and compares the values. Without a spec-declared rename, omitting
the map leaves differently named columns separate, except when the comparison is not
already case-insensitive and no explicit column fold or case-exact addressing rule applies:
a name differing only by letter case pairs when exactly one column on each side has that
ASCII-lowered name and neither already has a partner. That case-only pair is compared as
one column and reported as an unlicensed column_renamed; the pairing does not explain or
license the rename. Ambiguous spellings are not paired this way. For
non-reproducible lineage records, the Prover also matches a renamed column by either its
own name or its paired name, so the record is recognized in both forward and backward
comparisons. With a sealed spec, applicable same-object rename_column items now supply
the proof’s map rather than merely validating a caller-supplied map; the API reference
explains how that map is bound to the pair and how unbuilt or relocated renames are
handled. A rename is verified only when the comparison actually paired its old and
new columns; a declared rename the comparison did not pair remains indeterminate,
even when the column names are present. A rename accounts for the name move, not a
changed value or type. When a migration plan approves column renames, its sealed
spec must declare every approved rename as must_differ rename_column items and
must not declare an unapproved rename; otherwise it does not bind to that approved
plan. When a plan records no column renames, its spec may declare a rename only when the
Foundry landing itself makes it by normalizing the source column name to the exact target
name on a selected table; it cannot use a proof declaration to authorize an arbitrary rename.
See
[column_map in the proof API]
(/docs/Genesis-API/API-Reference#post-api-estate-proofs) for request and summary details,
and the system-diff field
for the map shape and comparison rules.
For this response shape, see the estate API reference.
When a declared mapping leaves legacy tables out of account, the run adds an
unaccounted_sources guidance block beside the comparison verdicts. It names the
source-side tables from table-level object_missing readings that no split carries
and no derived target uses; a source already named by a split or derived target is
not listed. For a mapping made only of derived targets (a computed gold or silver
layer), register_target_model also checks the live table listing for each source
schema it reads and refuses the mapping until every legacy table is accounted for.
That live check judges tables within the declared source estate’s membership scope;
tables outside it are not treated as unaccounted. With no readable source estate scope,
all listed tables remain in the check.
This catches a table that a correct build would otherwise appear not to have loaded.
For each named table, either declare it as an input-only split with no images when the
target loads it nowhere, or name it among the sources of the derived target that uses
it, then re-register the mapping. The block includes the source/images
declarations to use for input-only tables and the mapping’s next-step text. SQLite
engine-owned catalog tables are excluded from this inventory.
A version-1 or version-2 mapping may instead list unrelated tables nobody assessed in
unassessed: {"objects": ["..."], "basis": "<the owner's ruling>"}. Quote the owner’s
ruling for basis. The declaration is one object; the same shape is also accepted inside
a one-item list, or as a list of {"object": "<source table>", "basis": "<the owner's ruling>"}
entries when every entry gives the same non-empty basis. A bare list of table names is refused:
it does not record the owner’s decision. Refusals show the required shape and an example.
This says nothing about whether those tables were loaded or disposed of;
unlike a split with "images": [], it does not claim someone checked that the target
loads a table nowhere. A listed table cannot also be used by the mapping, named by the
spec’s scope or a structural item, or read by an obligation. Qualification does not exempt
a read: if bronze.t is unassessed, an obligation that reads cat.bronze.t or
other.bronze.t still names that table. The spec must declare a scope; otherwise
finalization refuses the model. For a mapping made only of derived targets, this is the way
to account for source tables outside the feed without asserting their disposal.
The comparison records these tables in unassessed_sources and leaves their table-level
object_missing readings unlicensed but outside findings about the build; a same-named
target table remains unpaired. Candidate mapping requests are not offered when either the
source table or a table with the candidate target’s name is listed as unassessed; the
candidate reports no_request_reason: "unassessed". To request that mapping, first revise
the model to assess the table. If an already-sealed spec is registered from outside Genesis,
the same contradictions are reported as advisory findings without blocking registration;
see the compiled-spec registration API.
See the tool contract for the
seal refusals and the proof API
for the summary record.
If the target catalog looks like a Data Vault but the sealed spec has no target_model,
the run adds an undeclared_target_shape guidance block. It identifies hubs named with
the hub_ prefix, links named with lnk_, and satellites named with sat_, msat_,
esat_, or csat_, along with load-date and record-source columns. It deliberately does
not classify pit_ or brg_ tables because the target model has no role for those
query-assist tables. The guidance provides a minimal model skeleton to complete from the
mapping document and explains how to declare it. On this
path the one-to-one unlicensed and indeterminate readings are withheld from published
findings and named by class and verdict, because they are readings of an undeclared
pairing rather than evidence about the build. The same guidance key is used for a
non-vault pair whose objects are unpaired on both
sides: it names the unpaired source and target objects, reports shared column names only
as an observation, and supplies an empty mapping skeleton. Those readings are withheld
only when nothing paired; if another object did pair, the guidance is shown beside the
real findings. The persisted comparison remains intact,
but its published unlicensed and indeterminate counts count only published readings;
the run summary records the published unlicensed count explicitly as
unlicensed_published. Summaries written before that key existed derive it from
unlicensed and withheld_unlicensed.
the withheld counts are exposed as summary.comparison_counts.withheld_unlicensed and
summary.comparison_counts.withheld_indeterminate. The GET /api/estate/runs full and
card projections also expose decoded headline counts; see the
estate run API contract.
When a verdict has withheld readings, surfaces render its published and withheld counts
together, including 0 published · N withheld (undeclared target shape); when none of
that verdict’s readings were withheld, the headline does not add a 0 withheld count.
Withheld readings are not unexplained differences or undecided readings, and the result
is not treated as a green comparison. Targets that are not vault-shaped retain the
ordinary one-object-to-one-object behavior. A comparison whose
readings were withheld because nothing paired sets nothing_compared: true in its review
population and cannot be approved; declare the mapping, reseal the specification, and
run the proof again. Under a declared mapping, each target object and declared column that
the comparison finds is counted as a comparison, even when it finds no difference. A
declared mapping that still records zero matched comparisons therefore needs investigation:
check that the target snapshot is the build the mapping describes and that the mapping uses
the target names as the build spells them, then re-prove. A grade’s own checks do not change
that comparison-level result; see the [Prover approval guidance]
(/docs/Genesis-Prover/Agents-And-The-API#comparison-cards-in-chat) for the cause-specific
remedies.
When a sealed specification grades a comparison with withheld readings, the grade keeps
conformance.drift_count as the measured total but uses conformance.published_drift for
the drift published as unexplained. conformance.withheld_drift reports the measured drift
readings withheld because the target shape was undeclared, or null when none were
withheld. Withheld drift is named in the not-verified headline with the same declaration
guidance; it is not presented as unexplained drift to investigate.
The grade summary also reports conformance.withheld_indeterminate for indeterminate
readings withheld by the comparison, or null when none were withheld. The graded review
sets these readings aside rather than counting them as undecided, matching the ungraded
summary.comparison_counts.withheld_indeterminate count.
For the card and review page, a source-only table named as an input by the grade’s sealed
spec is credited as read from; a reader-visible Mission plan governing the comparison can
also supply that credit. The same credit drives the comparison status and the blockers for
an undeclared target shape, so credited source tables are omitted from its no-declared-target
blocker. A reader-specific view does not use a plan they cannot see or a sealed spec they
cannot see.
Every measured element the Prover compares comes back as exactly one of four verdicts,
and the fourth is the one that makes the other three trustworthy:
For categorical value-count comparisons, a rendering recipe split, an unknown
engine, or a known measurement-library version that this build does not reproduce
can make the two hashed value domains impossible to line up. The Prover reports
that limitation as
indeterminate with cause="categorical_recipe_mismatch"
instead of claiming a value change it did not measure. In the version case,
relied_on.basis is recipe_version_foreign and identifies the version that
measured both sides. Case-folded column pairings remain visible as licensed
column_relocated elements, and licensed summaries identify which comparison and
provenance accounted for each licensed element.
The agent-facing comparison surface also exposes errored for a read that failed before
it produced a measurement. It is UNMEASURED, never clean; see How agents drive the
Prover for the
handling and the complete read contract.
Every completed comparison also publishes value_coverage, so verdict totals are not
mistaken for proof that data values were compared. Its columns and objects blocks
count, respectively, paired column value digests and paired whole-table checksums:
readings is the measured denominator, compared includes match, licensed, and
unlicensed, and not_compared includes indeterminate and errored, with
not_compared_by_cause naming the reasons. A column with no value digest on one side is
in neither count. statement is the sentence to relay, and basis defines the counting
rule. When digest fold recipes differ between the two engines, digest_families names
the source and target recipes and the statement says that values were not compared; a
re-fold cannot repair that mismatch because each side must be read with its own recipe.
The block is null for comparisons recorded before this disclosure, which means
unknown—not “all values compared.” When recharacterize is present, follow its
snapshot-specific re-scan guidance before treating its readings as settled. For
instrument_version_mismatch, the block names the snapshot ids to re-characterize;
re-characterize every side named in recharacterize.estates before comparing again. For
measured_by_defective_reader, see the cause explanation and re-scan guidance in
read_comparison. If the block is null, the affected
side’s measurement version was not recorded, so its value is not comparable yet. See the
comparison response contract.
When a run’s next recommends several scans, next.args gives the first characterize
call and next.why lists the remaining calls to make before the follow-up proof.
Every stored comparison also records the diff engine that computed it as
diff_engine_version and diff_engine_digest. An unpinned comparison reuses only a
comparison recorded by the current engine; a comparison from a retired engine, or one
written before engine identity was recorded, is skipped and recomputed. A grade pinned
to a retired-engine diff_hash recomputes that comparison on the same stored snapshots
under the current engine — nothing is rescanned — and grades the result. The grade says
so under provenance.comparison_recomputed_under_engine, naming the comparison it was
given, the one it graded and both engines. The grade response contract
defines when an approval carries or is superseded, including when a revised spec changes
the result, and the returned disclosure. The
retired comparison’s own run page and comparison card then say the same — its approval was
superseded by that run — and link to the comparison the run graded, where the review now
lives. A carried approval is not a new decision: the new comparison’s run page says it
was carried from the earlier comparison, names who approved it and when they did (never
the moment the regrade finished), and links that comparison; the retired comparison’s run page
says where its approval was carried and links the new one. Credit follows only the same
person’s standing grant through the carried chain; a later grant elsewhere does not revive
an original that person withdrew. The review credits the grant that counts, not an uncounted
copy. A changed review population does not by itself revoke an acceptance: it carries only
when that finding’s evidence is unchanged; new or changed findings do not inherit it. Three
retired comparisons are refused with a 409 instead of recomputed: one over a snapshot
measured under an older measurement library (the refusal names the snapshot to
re-characterize, because only a rescan can bring it current); one made under a declared
target model the graded spec does not declare; and one that paired rows on a declared row
key its record does not hold. The last two cannot be reproduced by a recompute; run the
comparison again (for a model, prove with the spec attached) and grade the new one.
Grades expose the recorded engine as comparison_engine_version; null means the
comparison predates engine recording and does not imply the current engine.
A column content check whose digest was requested but could not be read is published as
an indeterminate column_content_digest finding with cause="object_unmeasured".
Its detail identifies the side whose column content checksum was unread, so an absent
digest is not mistaken for equal values. Columns that were never asked to fold, and
sampled scans already disclosed at object grain, remain silent. When a content-only
re-fold cannot be tied to a stored whole-table fold, the indeterminate detail identifies
which side was unanswered and why, such as a missing re-read or witness, a different set of
columns, or a table that changed since measurement.
When an engine refuses a whole-table content fold, the proof’s indeterminate reason
identifies the refusing engine and its error class when available (otherwise its
exception type). The full engine message is not included, because it can contain a
data value.
If that refusal names a column whose statistics the engine also refused, and at least
one other column remains, characterization retries the table’s content fold without the
named column. If a retry names another refused column, it retries without that column too,
until a fold answers or a refusal names no further excluded column. The table count and
checksums for the remaining columns can then still be compared; excluded columns remain
unmeasured and are reported as indeterminate, with their Foundry user-defined types named
when the catalog supplies them. Each retry costs one additional table read, up to one per
refused column. Unrelated failures such as a timeout do not trigger this fallback.
The part worth understanding is how a difference becomes licensed, because that
is where the Prover differs from a comparison tool.
The Prover is default-deny. A difference is licensed only when something explicit
covers it:
A declared intended change
The record of what this transition means to change — a rename, a relocation, an
object introduced, an object retired, a repair, a derivation. Each carries its
strength, so the Prover knows what carries through the change and what has to be
dropped. Dropping is always disclosed, never silent.
A ratified correspondence rule
A bounded, reviewable licence for variance the platforms cause rather than the
implementers — how two engines render a decimal, fold a case, or enforce a
declared key. Each rule is scoped to specific measurement classes, carries
just-inside cases it must accept and just-outside cases it must reject, and
climbs a provenance ladder as evidence accumulates.
statement, its scope, basis,
whether it was seeded by Prover or earned by an engine probe, and the covered
readings by comparison. Typical examples are Snowflake’s upper-cased unquoted names,
the proven bigquery->databricks type spellings and value renderings, the exact SQLite
type spellings proven for Databricks and Snowflake, and an identical collation ordering
measured from both engines. These assumptions do not change the comparison or its hash;
they explain what the licensed count rests on.
For a SQLite source, the seeded exact-spelling assumptions are INTEGER and INT →
Databricks bigint, REAL → Databricks double, and TEXT and VARCHAR(n) →
Databricks string; for Snowflake they are INTEGER and INT → NUMBER(38,0),
REAL → FLOAT, TEXT → TEXT(16777216), and VARCHAR(n) → TEXT(16777216).
Each mapping is its own assumption, based on the live SQLite, Databricks, and Snowflake
golden run; the SQLite TEXT to Snowflake mapping also rests on Snowflake’s documented
full length of 16,777,216, which is the size recorded for a VARCHAR declared without
one. Narrowing types, representation changes, and cross-class landings remain findings:
for example, Databricks int or float, Snowflake NUMBER(10,0) or scaled NUMBER,
and text or numeric landings in the wrong class are not licensed. The Snowflake
full-length target licenses a same-base declared-width difference only when the source
column’s measured longest value, in characters, fits within 16,777,216; if that value was
not measured, the difference remains a finding. SQLite does not enforce the declared
length in VARCHAR(n), so its Snowflake mapping licenses only that full-length target;
a shorter declared width such as TEXT(50) or TEXT(10) remains a finding.
Declared type mappings preserve meaningful parameters. A bare source rule can
cover an explicitly unlimited spelling such as geography(max) when the target
also remains unlimited, but a narrower target is still a difference. For exact
numeric types, a target with fewer whole-number digits or less scale than the
source is a narrowing and is not covered by a base-type match alone.
PostgreSQL sources also receive built-in platform-type assumptions for Snowflake and
Databricks. These are applied automatically to declared-type readings; they are not
proposed rules and do not require pack seeding or ratification. A mapping licenses only
the same type: PostgreSQL VARCHAR(n) matches the same target length, PostgreSQL
NUMERIC(p,s) matches the same precision and scale (NUMBER, NUMERIC, and DECIMAL
are equivalent spellings on Snowflake), and unbounded PostgreSQL text matches Databricks
STRING or Snowflake TEXT(16777216) only when its measured longest value fits. The
target’s chosen longer or shorter bound, a constrained type for unbounded source text,
unconstrained PostgreSQL NUMERIC, and cross-class or narrowing mappings remain findings.
PostgreSQL integer types map to Snowflake’s sole integer spelling, NUMBER(38,0);
PostgreSQL DOUBLE PRECISION and REAL map to Snowflake FLOAT (all are 64-bit there),
while Databricks DOUBLE and FLOAT preserve their respective 64-bit and 32-bit source
types. PostgreSQL timestamps and times map only when time-zone semantics and fractional
precision are preserved; timestamp-without-time-zone does not map to the Databricks
session-time-zone TIMESTAMP. These pair-specific assumptions use ids beginning
platform_type:postgres->snowflake: or platform_type:postgres->databricks: and can be
withdrawn for an estate pair like other rule-borne assumptions.
When the comparison’s case-insensitive object-name policy is off, the Prover assumes the
target platform’s own identifier fold by default: Snowflake folds unquoted identifiers to
upper, and Databricks folds them to lower. It uses that assumption only when the source
and target are the ASCII, single-case spellings of the same dotted identifier; mixed-case,
non-ASCII, and ambiguous fold candidates remain findings rather than being silently paired.
The broader case-insensitive policy remains an explicit comparison option, and takes
precedence when enabled. The platform-fold license can be withdrawn for an estate pair when
the comparison relied on it; the next comparison then reports the folded-name differences
as missing and surplus rather than pairing them. For the target platform’s withdrawn fold,
those findings name the platform license in would_be_licensed_by and contribute to that
withdrawal’s findings_returned; withdrawing a source platform case does not tag forward
findings.
The same withdrawal applies to an engine-earned collation ordering when the comparison’s
probes produced identical orderings. If that license is withdrawn, a measured text minimum
or maximum that still depends on ordering returns as indeterminate, with detail naming the
withdrawal and boundary. A minimum the empty-string rule can decide remains a finding
because it does not rely on the ordering. Restoring the license allows the boundaries to be
compared as content again.
For text columns measured on SQL Server, Databricks, Snowflake, or PostgreSQL, the Prover
also captures minimum and maximum values under a named binary ordering. When a collation
correspondence is unavailable, those readings can still establish a match when both sides
return the same boundary, or a difference when the pair could not result from equal data
under the two engines’ respective orderings. A pair that equal data could explain under
both orderings remains undecided; the Prover does not guess. Binary boundaries are not
collected from sampled scans, and unsupported or refused reads leave the existing
collation-based result unchanged.
When the target reports declared primary and unique keys as informational rather than
enforced, a missing target declaration can also be licensed by a seeded platform
assumption — but only after the key’s uniqueness was checked. The Prover records
basis: "unenforced_key_uniqueness_checked" and, for each covered key, whether it was
declared_row_identity_probed_unique or measured_unique; the latter requires an
exhaustive, unsampled target read with no nulls and a distinct count equal to the row
count. A multi-column declared key can also be measured by reading distinct key tuples
from the target. A target whose key-enforcement status is enforced or unknown remains an
unlicensed finding. A ratified correspondence rule still takes precedence over this
platform assumption.
The same platform limitation can explain a missing source unique index on a target
that records unique declarations without enforcing them (Snowflake), or cannot declare
them (Databricks). The comparison must verify each index key unique on the target rows it
compared: either the key is the declared row identity and was probed unique on both sides,
or it is a single column checked by an exhaustive, unsampled target read, or a composite
key checked by a live target read of distinct key tuples. The measured key must have no
NULLs and its distinct count must equal the snapshot’s row count; a changed row count,
duplicates, NULLs, or an unavailable read leaves the finding unlicensed. The evidence
appears in the element’s relied_on with basis: "unique_verified_on_compared_rows"; it
does not cover rows loaded later. Non-unique indexes, unverified composite keys, and targets whose
enforcement is enforced or unknown remain findings.
A rewritten in-database view definition is licensed when the view’s data matched on this
comparison. With no fuzz run licensing it, the forward-only assumption is
translated_view_data_matched: its data matched and its behaviour was not tested. When a fuzz
run on record that tested that view pair licenses it, the assumption is the one below. A proof
must identify the source relation it read and, when the target adapter records its own
relation (currently snowflake_sql), that relation must be the compared target view. A
proof of another rewrite between the same database sides does not license this view. Setup
and validation refuse a Snowflake proof whose profiles resolve a tested view to the same
live object; non-rehearsal campaigns enforce the same guard. When the target relation is unavailable, the proof is not
credited for views whose source and
target are in the same database, where the sides alone cannot distinguish rewrites. Each
side is the snapshot’s database on its connection; the run’s source and target profiles
must identify those same respective sides. Matching connections alone is not enough: a
proof against another database on either connection, or a profile that does not identify
its database, cannot license the view. Profiles must record a database for an adapter that
supports side matching: postgres_dbt and mssql_sql use database, snowflake_sql
resolves its configured name to Snowflake’s stored name (unquoted names are upper-cased;
quoted names are verbatim), bigquery_sql uses project, and databricks_sql,
databricks_notebook_sql, databricks_repo_sql, and databricks_pipeline_sql use catalog
without regard to case. The comparison records the proof run and the data readings in
relied_on; if either half is missing, or the view has any non-matching, indeterminate,
or errored data reading, its different body remains a finding. This forward-only
assumption has id translated_view_behavior_proven.
For a given view pair, the newest-started finished proof that tested it decides; a proof of
another pair neither replaces nor blocks it. A fuzz run that does not meet the licensing
conditions, or a retired migration_validation run even when it passed, supersedes earlier
evidence but does not license the rewrite. Both this license and the unique-index limitation
appear in the comparison’s assumptions disclosure and can be withdrawn for the estate pair.
For a Databricks target produced by a declarative pipeline, the comparison can also
disclose two pipeline-expectation assumptions. pipeline_width_expectation covers a
source VARCHAR(n) read as target STRING only when the deployed pipeline’s own
published dataset declares the matching width expectation with action FAIL UPDATE.
pipeline_not_null_expectation covers a source NOT NULL read as nullable only when
that dataset has the matching single-column IS NOT NULL expectation with action
FAIL UPDATE. Evidence is tied to the behavior proof’s deployed update and exact
repository revision; the update must still be the pipeline’s latest and must predate
the target measurement. The comparison names the update, source file, and expectation
in relied_on.
WARN and DROP ROW do not license either difference. If the target is not Databricks,
the update is no longer current, evidence cannot be matched to the measured target, or
any source-file digest differs, these differences remain findings.
When Foundry’s job-spec record says a source dataset is built, its absence from the
target is licensed by the seeded source_built_output assumption: the translated
pipeline is expected to produce that output, rather than the transport copying it. The
reading’s relied_on identifies the producer and source platform. A Foundry dataset
whose job spec could not be read, or whose record does not identify a producer, keeps
an object_missing finding. The corresponding target-side object_surplus is licensed
when the target Foundry record identifies its producer. A built dataset present on both
sides is paired and compared normally. Other source dialects do not supply this build
provenance.
For temporal comparisons, a sealed spec can declare source.wall_clock_zone or
target.wall_clock_zone when a side stores naive date-times as wall clocks. Use an IANA
zone name such as America/New_York, and record the matching
source.wall_clock_zone_declared_by and source.wall_clock_zone_declared_at fields (or
the corresponding target fields); the declaration time must be an ISO timestamp with
an offset. When either side declares a zone, the keyed walk places every compared
timestamp without an offset in its side’s declared zone, or in UTC on a side with no
declared zone; values already carrying an offset are unchanged. A bare DATE is not
placed. An ambiguous or skipped local time names no single instant and does not match.
Without a declared zone, naive values are read as UTC, and that choice appears in the
proof’s assumption list. The zone declaration is disclosed with its side and declaration
time, but no declarer is credited because the seal’s caller-provided name is not a
verified identity. If one side has multiple distinct declared zones, each zone remains a
separate disclosed assumption rather than one replacing the other. Zone-aware comparisons
must use KEYED_TOLERANCE: checksum and
AGGREGATE methods are refused because they do not apply the declared zone. Timestamp
keys, and keys whose type cannot be measured on both sides, are also refused when a zone
is declared because the keyed walk cannot use that zone to pair them; use a measured,
non-timestamp key or declare no zone.
The page’s assumptions list also includes what the comparison’s standing grade
relied on, even when no proof run stamped the list. Grade assumptions describe the
grade’s own reading; they do not increase the comparison’s licensed_by_assumption
count or make a comparison reading licensed.
The same disclosure carries licensed_by_assumption, the number of licensed readings
covered by at least one assumption, issues_not_covered_by_assumption, the remaining
non-match readings, and assumptions_sentence, a one-line summary. Report the latter
two counts after accounting for assumptions rather than presenting covered readings as
findings. When a run predates assumption recording or its run record is unavailable,
all four fields are null, which means unknown; an empty assumptions list means the
comparison recorded that it relied on none.
An operator can withdraw a rule-borne assumption, the platform-fold license, or the
engine-earned collation license for one estate pair from the comparison review surface or
a chat comparison card, or an agent can call prover_spec(action="withdraw_assumption"). The
withdrawal applies
to later comparisons of that pair: a rule-borne assumption’s covered readings return as
findings naming it in would_be_licensed_by, while the two licenses change the comparison
behavior described above. The prior comparison remains historically unchanged, but a
sign-off whose pass relied on that assumption reads reopened until the withdrawal is
restored. Restoration is available to a person for any withdrawal; the agent tool can
restore only an agent withdrawal. A later sealed specification cites the withdrawals in its
provenance rather than changing the specification’s bytes. See the assumption withdrawal
API and
the withdraw_assumption and restore_assumption tools.
The Prover takes the withdrawal ids and their attribution records from one snapshot when
it keys a proof or comparison. That same snapshot controls the rules and the withdrawal
bylines recorded for the run, so a restore or re-withdraw that lands while the run is being
admitted cannot change either which withdrawals apply or who the run credits.
On Snowflake, withdrawal and restoration use a guarded MERGE because the ledger has no
advisory transition lock. If the pair’s standing changes between the check and the write,
the operation is refused rather than appended; read the assumption’s current standing
again before acting.
Everything else is the unlicensed residual: an open finding, in front of a
person.
That residual can reach the Adjudicator even when the proof has no sealed
specification. A no-spec compare has a system_diff subject of its own, so
adjudication reads the comparison’s unlicensed, indeterminate, and errored
elements instead of treating an empty grading envelope as a clean result. The
comparison also reports its full five-way census — match, licensed,
unlicensed, indeterminate, and errored — so no_findings with
clean_comparison means the measured comparison contained only matches and
licensed differences, not that the comparison had no elements. See the estate
API reference
for the subject resolution and response fields.
A platform-only migration envelope is different from a failed or empty
specification grade. With no specification and no caller declaration, it is labelled
No specification attached yet, opens no findings or human decision handoff, and
tells the reader to attach a specification and grade the comparison. A caller can
instead pass change_expectation to declare the migration’s shape: must_match means
a lift-and-shift, so a clean comparison is the answer to that premise and its next
call is propose for a human decision; must_differ says that the target should change,
but licenses nothing without a specification, so a clean comparison still points to
author_spec. The proof summary preserves this declaration as
declared_change_expectation, including the calling identity that made it. When a
specification is attached, change_expectation must restate the shape every structural
item declares; the sealed specification owns that shape and a disagreement is refused.
Once specifications exist, only grades for the newest recorded specification are
eligible to become the comparison’s displayed chapter. The newest specification is the
one named by the most recently started grade that names a specification; older-spec
grades are superseded for this display. If that newest spec’s grade measured nothing,
the comparison opens with no chapter rather than falling back to an older grade. Within
that spec, the newest authored grade is displayed whether it verified or not; verification
does not keep an older grade above a newer one. If the displayed grade is not verified
but an earlier grade of the same spec verified, the review identifies that earlier grade.
For a derived target column with no source namesake, the structural check abstains, but
the item is verified in scope when every sealed check for it passes.
Opening the comparison card does not launch a grade; grading requires an explicit
request. See POST /api/estate/migration-envelope/grade.
The claim card says
the item is where the spec puts it, with the shape it declares; its values are confirmed
only by the checks the spec declares. It identifies those clauses and passing checks
without claiming independent behavioral confirmation.
An observed open finding is not necessarily outstanding: a person can approve or
waive a difference without making it disappear. In the findings read, the
settlement axis distinguishes an accounted-for difference from an unsettled one;
use its settled value and basis when explaining what remains. The estate API
reference defines the row and comparison summaries.
An approval is therefore a state of the measured comparison, not merely a historical
review event. API consumers should use ruling_rollup.review_decision as the
revalidated approval state; its population-matching rules are defined in the estate
API reference.
Three rules hold on the licensing side and are worth knowing before you review
anything:
- A proposal never binds by itself. A correspondence rule licenses variance only after a named person ratifies it for this transition. A rule that is qualified but not bound to your transition licenses nothing in it.
- A declaration has a human principal. The measurement tool records the signed-in person, names the acting agent when the declaration comes through a bot turn, and refuses scheduled or bot-only calls without a signed-in user; see the tool reference.
- A rule that is refuted is retired, not quietly downgraded. The history stays readable.
- A diagnosis never closes a finding. Deciding what a difference is — even licensing or waiving it — records your conclusion. The finding discharges only when a later comparison over the same pair no longer exhibits the difference. Closure is independent re-verification, never assertion.
3. Spec conformance — the spec agent and the grade
Everything above works with no specification at all. Attaching one is how you move from “here is what differs” to “here is whether we delivered what the ticket asked for”. When a source column declaredNOT NULL is nullable in the target, the grade records a
declaration difference the data satisfies rather than unexplained drift only when both
measurements are exhaustive, unsampled, non-empty, and report null_count: 0 for that
column. A rule, license, or spec attribution other than must_match keeps its existing
account; a must_match attribution alone does not explain the declaration difference.
For add_column, rename_column, and type_change items that declare expected_type, the
structural check compares the target’s declared type with that declaration rather than
searching for the expected text anywhere in the observed type. Text and decimal synonyms are
matched as the same type only when any declared length, precision, and scale also match; a
bare declaration accepts an unparameterized spelling or Snowflake’s documented default.
Fixed-width CHAR and national-character types are not collapsed into variable-width VARCHAR.
Other types must keep the same base token and satisfy the existing spelling match. This is
separate from the platform type assumptions used by system-diff comparisons.
For automatic grade filing on Foundry migration projects, see
checked project records.
The spec agent turns a ticket into a sealed specification. It works in one
thread with read-only access to the estate, and it builds the artifact a piece at a
time: structural items — what should have changed, at what locus — and derivational
obligations, the value-level expectations expressed as checks. Three properties
matter to whoever will trust the result:
- Its claims are checked as it writes them. An obligation’s query is validated
against the live estate at the moment the agent registers it, so an invented
table name is rejected while the agent is still authoring, rather than surfacing
as a broken grade later. Where the agent settles an ambiguity by measuring the
estate, the grounding query is re-run by the tool, so the number in the
specification is a measurement rather than the model’s assertion. Comparison
checks that restate a value instead of measuring their asserted object are also
refused; see the
register_obligationrefusal guidance. - It works under a pinned constitution. The doctrine the agent authors under is pinned by name, version and content hash, and the tools refuse to run when that pin is not in force. A specification authored under no doctrine would be indistinguishable afterwards from a constrained one, so the product does not allow it to exist.
- It repairs prior seals in place. A repair round seeds itself from the previous
sealed specification and edits it, rather than starting empty and reconstructing it
from a description — which is how details quietly go missing between rounds. The
clause ledger is matched to the repair round’s document, with moved clauses following
their wording; see the
load_prior_specreference for the returned entries and open-clause handling. - It writes only what the diff cannot see. Its constitution states what the system diff already measures on every proof — object presence, column presence, types, row counts with row identity, value distributions, keys — and instructs the agent not to restate any of it. A hand-written restatement doubles a finding at best, and at worst contradicts the diff’s own measurement. What is left for the agent is what only judgment finds: business rules, semantic invariants, cross-table consistency and derived-value rules. The exception is an absolute: the diff compares the two estates, so it can say the row counts agree but never that either equals a figure the ticket names — a stated count, type or domain stays the specification’s to check. And a comparison the diff could not take is not one it passed: it skips wherever either side is unmeasurable, so where it abstained only an obligation in the specification delivers a verdict.
add_column item on that same
table, a structural must_match item on the table does not treat that declared shape
change as an unexplained move. The added column pairs with no source column, so the table’s
confirming keyed check does not compare it against a source value; the add_column item is
graded separately. The declaration only excuses an unambiguous target column that matches
the declared name, so other added columns still count as shape movement.
A row-value difference on a table does not reopen its definition clauses, which state a
column’s existence, declared type, nullability, or key. The value difference remains its own
review item and still keeps the comparison from Verified. Structural differences such as
a missing column, changed type or nullability, or a changed key still hold open the clauses
that name the affected column or key; a value obligation remains subject to every reading of
its object.
For a column that picks one row per entity by an order that can tie, a keyed
membership or recompute obligation can declare a tie_key. With
tie_break: "unspecified", the source query supplies all tied candidates and the
build passes if its value is one of them; a value outside that set still fails. The
grade records the engine verdict and candidates not taken in the obligation’s
tie_key evidence. A separate check on the entity row key must still prove the
population and leave the picked column out of its comparisons. See the
register_obligation contract
for the declaration shape and sealing requirements.
Checkable value changes
A structural item can type a column’s value change withvalue_transform instead of
leaving the transformation as prose. It applies only to transform_values and
modify_etl_derivation items whose change_expectation is must_differ and whose
locus names a column (schema.table.column). The accepted forms are
shift:<signed amount><s|m|h|d> (such as shift:-9h),
tz_convert:<from>-><to> between fixed-offset zones (such as
tz_convert:+09:00->UTC), and the scalar functions abs, upper, lower, and
trim. A region zone such as America/New_York is not a fixed offset and is not
accepted. A shift on a column known to be DATE is refused because it produces a
time value that a stored date cannot represent.
At sealing, Genesis builds a keyed check comparing the declared function applied to
the source value with the target value on every row. The table needs row_identity
in its scope entry; inputs may name at most one source column, and if it names none,
the source is the same column at the target locus. The check is rendered for
PostgreSQL, Snowflake, Databricks, and DuckDB. Each check reads the source table and
the target table once when graded. A missing row identity, multiple column inputs, or
an unsupported engine prevents the spec from sealing.
The grade does not accept a declared transform as proof by itself. For an order-preserving
shift, a moved minimum or maximum is explained only when it equals the shifted source
boundary. Other moved value readings are explained by this item only when the generated
row check passes; a failed or unbound check leaves them unlicensed by this item. A transform
never licenses a changed NULL count or distinct count.
When a sealed spec has a rendered value_transform check bound to a target column, the
whole-table content checksum leaves that column out and, when needed, re-folds over the
other comparable columns. The column’s own keyed check still decides whether the declared
transform holds; excluding it from the checksum does not license the change. If these
transformed columns are the only exclusions, an unavailable re-fold or no remaining columns
to fold leaves the original checksum difference as drift rather than introducing an
indeterminate result.
The same checksum exclusion applies to an author’s transform_values item without
value_transform when a sealed membership or recompute check compares that item’s column
as a row-by-row output or key across every row of its table. This also works when the item’s
locus names the source relation rather than the target: a declared compare_columns output
must read that same column from that source relation over every row in source_sql, and read
the same column over every row from exactly one target relation with the same table name and
at least as much qualification in target_sql. The exclusion is then keyed to the relation
named by the target-side check. A filtered check, a check that reads the column only inside an
aggregate, or one with no unique matching target relation does not qualify. The check decides
the declared value change; it does not license it, and columns it does not compare remain in
the checksum.
For a keyed obligation, tolerance may be an absolute number or an object with abs
(a fixed amount), rel (a fraction of the larger compared value), or both; values
match within the larger bound. relative_tolerance is the separate relative-bound
spelling. column_tolerances maps names in compare_columns to bounds that replace
the check-level bounds for those columns. When the source engine catalog identifies a
compared column as a 32-bit float, matching values may also agree at float32 precision: a
float32 target agrees when both values round to the same float32, while a 64-bit target must
equal that float32 value exactly. This does not round a 64-bit source down to match a float32
target; the declared or default tolerance still applies. Registrar check-level bounds, the
default for FLOAT and DOUBLE columns, and the exact-zero override are described in the
obligation registration guide.
Verification evidence records each column with a declared tolerance and whether it applied
the bound or compared exactly; an applied source-float32 comparison also records
precision: "float32" and compared: "within tolerance at single precision (float32)".
See the
verification response contract.
Accepted changes backed by aggregate checks
For an accepted re-issued surrogate key, a passing linkedself_consistency
check can remove the key from Accepted, not checked when its target-side
aggregate counts both duplicate and NULL keys and the expected side states zero.
The approved Mission plan must name the key, its measured type must be an exact
whole-number type, and the target tables must be confirmed unchanged from their
measurement through grading. A read of a count alone, a check against a different
table, or a key declared only by an agent does not qualify.
A passing membership check can similarly back a foreign key repointed to that
approved key when its target query resolves the child value through a LEFT join
and compares the parent’s key value. The grade also requires an independently
passing zero-orphan count for the same join, a measured unique and non-NULL parent
key, and a unique, non-NULL child row-pairing key. Both checks must use the
measured target rows. These narrow proofs do not cover other changed values or a
rule-restated constant; those still need a check that reads the values or an
appropriate domain check.
Rules beyond the diff in a fresh Registrar round
Fresh Registrar rounds add seal requirements for value agreement on derived outputs and for applicable platform-declared rules; classic tooling and repair rounds are unchanged. The Registrar tool reference explains how the author supplies those checks and handles catalog declarations the system cannot verify.Ticket-stated target criteria and output schemas
Constitution v9.44 treats a ticket’s stated requirements about the built target as stated criteria even though the target does not exist during authoring. Materialization (such as a table or view), output column order, delivered row order, and repeat-run behavior are registered as target-side obligations; theirtarget_sql is evaluated after the build, and
the source side records the ticket’s stated value with stated_expectation. These criteria
must not be recorded as open rule_unstated clauses.
For a new scope entry, the author can record the schema the ticket names in
stated_schema. If it matches the delivered schema, or the target’s known default schema
prefixed to that name (for example, product_analytics delivered as
main_product_analytics), the grade does not raise the named_output_schema_unconfirmed
relocation advisory. In a case otherwise eligible for that advisory, if the ticket names
no schema or the seal omits stated_schema, the advisory remains. A same-named relation in
the target’s default schema still produces named_output_not_proved: recording the schema
does not resolve a shadow.
The authoring field and its validation are documented in the
spec-author tool reference.
Target-side relation names in a grade
When a grade names a comparison with a source-to-target object or schema map, its target-side checks read relations through that comparison’s pairing. A target relation already present under the check’s written name is left alone; a unique mapped relation is read under its target name. If the pairing maps a check’s relation to more than one target table, the check is refused with the ambiguous names rather than grading an arbitrary table. Source-side checks keep their source names. If the comparison is unknown, has no mapping, or its mapping cannot be read, checks run with their declared names. This lets a source-named check grade a rebuilt target whose schema or table names changed without treating the old name as a missing target object.Target column type assertions
An author-seat caller can supplytarget_column_types as assertions tied to source clauses.
The run summary retains those declarations, the commissioned target_engine, a
target_type_screening status (declared_columns_only or engine_unknown), and any
target_type_findings; the seat also receives the declarations with the engine context.
Screening identifies the engine from registered connection metadata only: it does not
read target DDL or data. The assertions are not evidence that the workspace supports a type.
On Databricks, recognized zone-free TIME types produce native_time_support_unverified;
time-zone-bearing TIME types produce time_zone_offset_unencodable, because the supported
HH:mm:ss text encoding cannot preserve their offset. An unrecognized type whose base token
is TIME or TIMETZ produces time_type_unrecognized. For the separate seal-time storage gate, see
the author_spec contract.
SQLite time-text checks also compare the value’s byte width with an eight-character time
literal. This prevents text with trailing bytes hidden after a NUL from passing because
SQLite’s LENGTH and GLOB stop at the NUL.
A one-line ticket is a valid specification brief. “Migrate the SALES database to the
target system as-is; the data values must match” pins no output relation, no column, no
derivation and no domain, so the agent seals the smallest sealable specification —
the row-set claim its constitution requires — and the diff carries the rest. The
constitution states what that shape is; this page deliberately does not repeat the
counts. That is the right answer for a
lift-and-shift, where the only claim is that the data values survive the move. A ticket
that states a business rule, a derivation, a domain, a reshape or a new mart gets a
correspondingly larger specification, because each of those is something the diff cannot
measure.
Migration-plan approval details are in
Migration intake tools.
Author-seat commissions also preflight the ticket against the estates’ latest available
scans; the tool contract
explains how known connection names, unchanged-value wording, and accepted finding ids affect
that check.
For the author-seat intake rule requiring ticket-named source documents to be handed over or
explicitly excluded by the person, see the author_spec contract.
An acceptance of an unexpected difference is also refused when its reason or quoted words
cite a document the graded specification never received; hand it over and re-author and
re-grade before asking the person to decide. The author_spec contract describes how to record a person’s exclusion.
For author-seat runs, the submitter can keep operator background (build history, reloads,
or earlier findings) separate from requirements. Context is not graded: the seal refuses
an obligation supported only by that background, and a written_by check requires the
requirements to name its job, notebook, or pipeline mechanism. A repair carries forward
each check only when the same obligation id retains the part that check grades; see the
author_spec input contract.
The same mechanism check applies when a spec is authored directly in chat or through the
CLI’s seat verbs, without a commissioned seat-run row. In that path, a newly authored
written_by obligation is refused because no recorded ticket or asset requirement names
the mechanism. If the owner’s requirements specify a producer, commission the spec through
author_spec with those requirements; otherwise remove the mechanism demand and record
the build details as substrate with register_substrate. A carried obligation in a repair
is evaluated under its prior commission.
Finalizing runs the full artifact validation and seals the specification: it is
content-addressed, so it is tamper-evident and can be named unambiguously afterwards.
When a sealed specification is authored outside Genesis and registered for grading, the
caller can hand over the uploaded file or its exact text instead of retyping the parsed
object; the compiled-spec API reference
describes the three forms and the byte measurement returned by registration. For the
direct tool-call text limit, see the register_spec tool reference.
Repairs are tracked as a chain rather than an overwrite: a repair round produces a
new sealed specification that names the one it was repaired from, so the lineage
of a specification across rounds stays readable.
For a repair registration with a declared parent, omitting round_n makes the store
allocate the next round after both the parent’s round and its existing children. Thus a
repair of round 1 is round 2, and separate repairs of the same parent receive distinct
round numbers. See the
compiled-spec API reference
for when to omit round_n and the explicit value limits.
The author-seat contract explains
how repairs retain prior owner questions, checks and still-standing rulings, and when changed
facts allow them to be raised again.
When a repair takes an object out of the specification without claiming whether it arrives,
the scope entry must be withdrawn; excluded instead claims the object must not arrive.
The author-seat contract describes the repair instruction and how its completion report
flags scope entries that were not withdrawn.
On Snowflake, registration claims a repair round in the write; see the compiled-spec API
reference for
how concurrent registrations of the same round are resolved.
Planned. Making the estate store the sealed specification’s source of truth —
with the file on disk demoted to a debug artifact and a seal failing outright if
registration fails — is the design of record. Today a specification is sealed to
disk and then registered by hash so it can be served; a registration failure is
reported loudly but does not unseal the specification.
For an identity-platform
new scope entry, presence of a model in a non-default
schema does not by itself prove the output a consumer reads by its bare name. When
the target scan knows its connection’s default schema and that schema already holds
a same-named relation, the grade returns implemented_differently with cause
named_output_not_proved: the consumer reads the old relation, not the build. When
the default schema holds no such relation and the delivered schema follows the
<default>_<custom> naming pattern, the grade raises the non-blocking advisory
named_output_schema_unconfirmed unless the sealed stated_schema records the
ticket’s schema as delivered or as the custom suffix. A scope or correspondence that
already names the bare-name relation is not flagged.
The default schema is recorded only by a pinned scan that reads the live catalog
when its dialect reports one; that scan also retains same-named relations from
other schemas for this check. Recharacterize the target with a pinned scan to
supply this evidence. SQLite does not report a default schema, and unpinned or
earlier scans do not carry the probe, so this finding is not produced when the
target default is unknown.
For a same scope object whose whole-table digest recipes cannot be compared across
engines, passing row checks can verify the object instead. The checks must be full-table
membership checks that pair the same rows on the same key on both sides, and they must
compare every column whose digest cannot be compared on that key. Each remaining column
must have a comparable digest that agrees or a moved digest accounted for by an accepted
difference. When these conditions hold, the grade reports the object as implemented and
names it in row_checked; otherwise its verdict remains indeterminate. The grade
headline says this verification was by row checks, not by digest.
A behaviour test of a rewritten view is optional. Planning and running fuzz tests are off by default while they are being redesigned (estate_char.fuzz.enabled=false); see Behaviour Fuzzing.
For a deployed Databricks Job, call
preflight_databricks_job_contract
(prover_run(action="preflight_job")) to read its canonical hash, contract version, run
identity, and parameter formats.
Databricks Job and Run reads used by these checks follow paginated responses; an
incomplete response is refused instead of being hashed, pinned, or treated as
complete evidence.
Each target can retain separate specs for different case sets; re-authoring the same
target and case-id set replaces that spec’s effective version rather than dropping
other case sets. See the tool reference for the submission and conflict rules.
Only implemented satisfies completeness. An indeterminate item un-verifies the
run rather than quietly passing it, which is the whole point of having a fourth
reading at all.
For a changed structural item, a declared column type change counts as implemented
even when the source and target values produce the same content digest. A type
difference that the comparison licensed as a rendering, or that the specification’s
type_mapping rule accepts, does not count as the requested change; it is the engine’s
spelling of the same logical type. A mapping that can lose fractional values on landing
in a scale-zero numeric type is conditional: it accepts only source columns measured to
contain no fractional values. A mapping into a type that holds fractions, such as
NUMERIC -> DOUBLE, needs no condition: a type licence reaches only the column_type
reading, never a value by itself. When a passing keyed row check compares the same column
row by row, the type rule can also license that column’s column_content_digest,
column_distinct_count, column_max_length, column_min_value, column_max_value, and
categorical_value_counts readings: the check proves the values survived the ruled landing.
The finding records both the type rule and the passing check. This does not license a null
count, another column’s readings, or a value summary without both the licensed type reading
and the passing row check. Any loss of integer precision or exact fractional representation
changes values, which remain subject to the value readings; an expectation that whole
numbers land as integers belongs in the seal’s obligations, not in the type licence. The
compiled-grade API reference
describes the live-source measurement and its provenance.
Grades run in two tiers. The structural tier grades the specification’s
structural items against the comparison; it is the tier that resolves the comparison,
so its findings get the durable numbers a person cites in a review. The
derivational tier grades every obligation against the two live databases, and
each obligation comes back pass, fail or unverified — a result the
instrument cannot vouch for renders neutral, never green and never red.
The conformance verdict carries requested_changes and confirmed_changes beside its
headline. The run envelope and its cards use these grade-owned counts directly:
requested_changes counts the sealed envelope’s items and scope entries, while
confirmed_changes is the legacy count of confirmed grade items. For the current
items_matched_in_scope and items_passing meanings, including why they differ from
confirmed_changes, see the grade response reference.
Do not rebuild the card’s denominator from the scope entries; the grade judges the items,
and its own counts keep the headline and card aligned.
A same scope entry is met when the object is unchanged or when at least one moved
column-content digest is fully accounted for by an accepted-difference rule, all other
content changes are also accounted for, and no column was added or removed. For a value
substitution, the rule must account for the entire column-digest change; a partial
explanation does not make the object the same. The digest’s null-count change must also
agree with that substitution: replacing values with NULL must add exactly the number of
substituted values, while any other substitution must leave the null count unchanged.
Unexplained changes or undecided content also prevent this accepted-difference treatment.
An unlicensed column_surplus on a same object remains drift when no spec item names that
column; an object-level item does not explain a column the source never had.
When the comparison leaves no unlicensed or undecided whole-object difference, a value
column named by a must_differ item and not by a must_match item can be excluded from the
same scope comparison. This lets a table whose only move is a declared changing column
count as same; the item and its checks determine whether that column changed as required.
An unlicensed or undecided whole-object difference still prevents the scope entry from
being same.
For same scope entries and structural must_match items, a content digest that moved
only because paired FLOAT / DOUBLE values were licensed equal within the comparison’s
platform float tolerance counts as unchanged. The comparison must license every moved
column digest under the float tolerance alone; when the whole-object digest moved, its
re-fold without those columns must also match. The grade names the tolerance licence and,
when recorded, the largest relative difference. An unlicensed or non-float change still
counts as a move. This tolerance does not change must_differ grading. See
the comparison tolerance rules for how values are read
and licensed.
A structural must_match item on an object can also remain implemented when content moved
only through declared non-reproducible columns. A spec declares a value column this way
when a must_differ or unconstrained value item names it and no must_match item also
names it. For every other paired column, the content digest must be comparable and either
match or be licensed under the platform float tolerance; at least one such column must
remain. Columns declared non_reproducible_by_construction by the comparison’s lineage
record can qualify too. If the whole-object digest moved and all moved declarations come
from that lineage record, the comparison’s re-read without those columns must fold
identically; a differing or undecidable re-read leaves the item implemented_differently.
The grade basis names the excluded columns and their declarations. This object-level rule
does not apply to an item on a split object, which is graded against its images.
When an object’s whole-object digest moves because an unconstrained column’s values
land on different rows while that column’s own content digest stays the same, the fold
alone cannot establish that the other columns kept their row pairings. The object-level
must_match item remains indeterminate until keyed row checks confirm those pairings;
the random column does not by itself make the table pass.
Whole-object fingerprints also encode how rows were framed for the read, including
declared key columns and their ranges. When source and target use different frame
shapes, the different roots alone do not decide whether the rows changed; Prover
compares their total row counts and summed frame checksums instead. A changed total
remains a content difference. If a side’s frames missed rows or its checksums cannot
be totaled, the whole-object reading is indeterminate rather than a false change or
match.
For an unconstrained item, the structural oracle checks that the target column is present
but does not judge whether its random values match or differ from the source. Only linked
domain checks that assert that target column decide the item: a passing check confirms it,
and a failed check marks it not implemented. With neither, the item remains undecided.
The grade summary’s always-present values_unconstrained array discloses each such column,
the cited source evidence, the checks that proved or failed it, and the item’s status; it is
empty when the spec declares no unconstrained columns. See constitution v9.48 authoring
requirements
for the seal rules.
An object-level item on a split legacy object is decided by its matching new or
changed scope entries, because the item applies to the object across its declared images.
Removal items are not settled this way: an arriving image contradicts a claim that the
object was removed. The item is settled only when every matching entry has the same decisive
verdict (implemented or not_implemented); an abstaining or disagreeing entry, or no
matching entry, leaves it indeterminate. For an implemented non-removal item other than
add_table, presence alone is insufficient: the item must declare a change_expectation
and have at least one passing sealed check attributed to its spec_id. Those check ids appear as its
confirming checks, and the grade records that its content was confirmed by checks. A
not_implemented entry settles the item as not implemented without that content
confirmation. When a matching scope entry settles an implemented add_table, it is met by
its scope entry and does not also appear as a prover_detection_gap: the split-object
comparison grades the declared images, so it cannot detect the faithful carry itself as a
difference.
An implemented, undetected must_match item is also not a prover_detection_gap when it
is not a removal. must_match claims that the locus arrived unchanged, so no difference in
the blind comparison is consistent with the claim rather than a missed change.
A changed scope entry can also be met when its content digest is unchanged or could not
be compared, if a drop_constraint item confirms the declared key removal there. Every
item on that entry that states a change must be a declaration-only change, and each item
there must be confirmed as implemented; a content-changing item cannot be stood in for by
a dropped key. A failed structural item or a sealed check that failed on the target table
also prevents the declaration from meeting the scope. A missing or unmeasured check does
not by itself block a key removal confirmed by the structural item; the grade still needs
the declaration evidence from the check fold. See
the register_structural guidance
for how to name the key in the item.
An item that may change content but whose locus resolves to neither estate can affect any
scope entry. If declaration evidence would otherwise make that entry implemented or
indeterminate, the grade leaves it indeterminate: the unplaced change may also belong to
that object, so the declaration is not known to be the whole change.
A failed sealed check is not hidden by structural abstention. When an obligation fails
without a license, the finished grade names it in verdict.failed_checks, changes the
headline to Not verified, and records its mismatch count, compared-row count, and
up to three sample keys when the check localized mismatches. A key count stopped by the
engine’s cap is shown as at least N, with mismatched_keys_overflow reporting additional
keys found past that cap; neither value claims an exact full-population count. If the target lacks a
column the check reads, no key was localized: mismatched_key_count is null,
missing_target_columns names the column or columns, and unchecked_source_rows gives
the source rows the check could not check. Its rendered sentence names the missing
column and says how many source rows could not be checked, rather than presenting that
population as a mismatch count. When a missing column is one the check tests, Prover
runs it again without projections that read the missing columns, when that rewrite can
preserve the rows being compared. present_columns records that partial comparison’s
verdict, row count, mismatched-key count, differing columns, and a sample of mismatched
keys. A missing column the check tests still fails the check; matching present columns
do not erase that failure. A missing column the check only reads is listed in
untested_missing_columns and does not count as a tested column. When a tested missing
column has exactly one measured target-column candidate whose values match on every
compared key, Prover offers it in rename_suggestions as a likely rename. This is only
a suggestion: the missing column remains a failure and the target column stays
unaccounted if the candidate was unaccounted; a person must declare any rename.
If the source population cannot be
counted, the check remains ERROR, with the measured missing column named in its
error. An item for the missing target column also fails even if the check’s present
columns pass. For localized failures, the sentence also says whether
keys are one-sided or differing, names differing columns, and shows sampled source/target
values. When checksum-based localization finds differing keys, the verifier makes a
best-effort keyed read of up to five sampled rows from each side and compares the hashed
columns individually, so the evidence can name the columns and their values. These extra
reads are diagnostic only; they do not change the checksum verdict. When keys occur only
on each side and no paired row differs, it states the counts
present only on the source and only on the target, then says every key present on both
sides matches. If localization stopped at the engine’s cap, the sentence says “every
localized key present on both sides matches” and presents each count as “at least N.”
When the result names keys for both sides, examples identify up to two keys present only
on each side; otherwise, each quoted key is described as “on one side only” without
guessing which side. A one-row differing check reports the compared column and both
values directly. When the compared expression resolves to a table column, a failed-check
reason names that column rather than the check’s SQL alias. When a source-side projection computes a compared column, the review
identifies the sample as what the spec asked the target to hold rather than a source
reading; the response’s source_derived field is described in the comparison review
population reference.
The not-verified headline leads with failed checks instead of leaving them after the
structural clauses. When failed items are attributed to those checks, their grouped
failed-item clause leads, followed by the failed-check clause, checks with no verdict,
and any remaining structural qualification. Each named check in the grouped failed-item
clause is followed by its item count (for example, OBL-X (2 items)); with a total, a single-check clause
reads N of M changes failed, caused by 1 check (OBL-X, 2 items). The failed-check clause names
every check when there are five
or fewer; above five, it names five and summarizes the rest as and N more, with every
remaining check named and sized in verdict.failed_checks. A named check carries its
mismatch and compared-row counts when available. If the engine refused a keyed comparison, its size
comes from the key probe instead: observed duplicated keys and rows with NULL keys, by side.
A duplicate-key count recorded as a lower bound is prefixed with at least. When the
probe can name every duplicated key on either side
(up to 1,000 keys), the verifier sets those keys aside on both sides and compares the
remaining keys, whatever order the rows are in. A failed check then reports its compared
mismatch count and the set-aside duplicate-key count together. If that comparison finds no
other mismatch, the duplicate keys still prevent a passing verdict; the check is
INDETERMINATE rather than PASS. A NULL key pairs with the other side’s NULL key and is
compared like any other value, with its count still reported. An integer key pairs with a
double key by value on the key-ordered walk. Other key-identity failures still refuse the
comparison.
For a failed recompute check, the sentence may also name likely causes: a source filter
the target did not apply, or a join that picked another row. This is diagnostic only and
does not change the failed verdict. The probe runs after the grade is recorded and is enabled
by default with prover.recompute_cause_probe.enabled: true; it runs only when both sides
use Databricks, which can enforce the probe’s server-side statement deadline. It skips a
check whose rows_compared exceeds prover.recompute_cause_probe.max_rows (default
1000000), and all probes for one grade share
prover.recompute_cause_probe.budget_seconds (default 300). When it cannot establish a
cause within those limits, the sentence says what the probe did not try.
Unverified changes distinguish three causes: no spec check covers them, checks on them did
not check the rebuilt data, or checks on them reached no verdict. A source-side invariant
checks the source rather than the rebuilt estate, and a written_by check identifies the
writer rather than checking table contents; neither can confirm a target item. If the
coverage counters are incoherent, the headline says coverage cannot be read instead of
presenting those counts.
For target-side invariant results when the rebuilt relation lacks a constrained
column, including the partial reading on columns it holds, see the
verification response contract.
Any requested change whose item verdict is fail or unverified keeps the grade
Not verified, even when the grade’s own verdict status would otherwise read verified.
Separately, a full grade that would otherwise be verified is also refused when a
requested change remains unconfirmed: its status is not_verified, its headline leads
with “Not verified — no passing spec check confirmed,” and its verified claims are
cleared to match the run outcome. This refusal does not change an amber
verified_with_indeterminate grade or a subset grade; see completed-run
reporting for how
those outcomes are reported.
The comparison run page uses this same rule as the comparison card in chat.
All runs also distinguishes grades held off Verified only by a scope
question from grades with failed or undecided checks. The compact run-row fields behind this
summary are documented in the estate run API contract.
For how a keyed check with target-only duplicate keys is classified, see the grade tool
reference.
The same failure is added to the comparison’s Human Review population as a
missing_requirement blocker under obligation_failed, so a reviewer can act on the
check even when the structural tier has no item at that locus. Licensed failures are
not included. See the disposition-package tool reference
for the conditions under which package approval settles a failed-check blocker. For
a must_match item whose table or column exists only in the target —
including a Data Vault hub, link, satellite, or a whole derived table — the structural
oracle abstains because there is no source namesake or content baseline; the sealed
checks are the evidence that decides it, just as they are for a derived target column.
When a derived table is listed in derived_checked, an implemented-but-undetected item at
that table or one of its columns is covered by those checks rather than reported as a
prover_detection_gap.
The run’s headline is one of three, and the middle one exists deliberately:
An unattributed difference is drift, and drift keeps the verdict open.
4. The adjudicator
The Adjudicator is a seat that settles findings against the rules and rulings already in force — reproducing what the finding claims before judging it, and citing what it judged under. It has no instruments of its own: it judges, and it never runs a measurement or builds anything. Provider failures are surfaced before seat startup; see the provider preflight setting and API response contract. Theempty_response cause means the provider answered the readiness check without
text. For its retry remedy, see the Consult tool guidance.
Its behaviour is governed by one operator setting, estate_char.adjudicator.mode:
For the verdict-by-verdict routing, returned send-back fields, and retry behavior, see
the Adjudicator tool reference.
Reading an unrecognised or unreadable configuration lands on
silent, deliberately:
the failure a wrong guess must never cause is a finding leaving the open count
because of an unreviewed agent verdict.
The Adjudicator is also structurally separated from the work it judges. It holds no
licensing tools, no build tools and no way to hand work off — one write channel, for
its own typed verdicts. And a verdict that a finding stands must cite an entry
that actually exists in that proceeding’s register: a citation of something fictional
is refused rather than accepted on the seat’s word.
For a conformance run, the seat’s subject is both durable finding ledgers: the
obligation ledger and the type_family ledger. Each open durable row is briefed as
its own finding, retaining its durable_id and locus; a type-family finding also
keeps the declared expected type alongside the observed type when both were
recorded. This keeps the seat from ruling on one ledger while silently dropping the
other.
See the endpoint reference for no_findings_basis.
The Adjudicator also uses the spec-author seat’s
estate_char.spec_author.no_progress_seconds bound when reconciling a live proceeding;
see In-product spec author settings
for the lifecycle contract. The reconcile sweep judges only when the Adjudicator’s owning
runtime can be read. It asks that runtime’s hard-stop to stop a stalled turn, retries a
refused request under estate_char.spec_author.stall_stop_attempts and
estate_char.spec_author.stall_stop_retry_seconds, and cancels the proceeding’s handoff
before writing the proceeding failed; if the handoff still reads live, the proceeding
stays running for a later sweep rather than leaving two lifecycles active.
5. The consult agents
Some disagreements are not about the measurement — they are about what the ticket meant. Prover Consult rules on exactly one of those at a time: a proposed explanation for a difference, a competing reading of the ticket, or a claim that the check itself is malformed. It measures the dispute with read-only queries against the two named databases and returns a verdict with its probes attached. Who asks matters. A ruling is requested by an estate-working agent — the side that disputes a finding — not by the Adjudicator, which holds no way to invoke Consult and no way to hand work off. Keeping the requester and the judge apart is what stops one seat both raising and settling the same dispute. A consult ruling never licenses a finding by itself. What it does to the board is an operator setting,estate_char.consult.apply_mode:
A ruling an agent or a service asked for is approved or declined through its Action
Review request, opened with Ask for approval on the finding, never directly on the
finding. See Roles and approvals.
An unreadable configuration reads as
advisory rather than the shipped default,
deliberately: the failure a wrong guess must never cause is a finding leaving the
open count on an agent ruling nobody ratified.
Two design choices make a consult ruling worth reading:
- The requester never describes the finding. The caller brings its position and which finding it disputes; everything else — the finding’s rationale, the computed values, the check itself, the databases, the ticket — is read from the ledger. A caller that could describe the finding could describe it favourably.
- Consult is never shown whether the build passes. No verifier outcome, no benchmark score, no prior review decision reaches it. Its ruling has to be grounded in the ticket and in measurable data.
6. The human review surface
This is where a person’s work actually happens, and it is the one place a signature is recorded. The Prover workspace opens on All runs. Open a comparison to review its evidence and make decisions on that comparison’s run page. The run page leads with the proof verdict, calls the approved specification the plan, and keeps diagnostic counts andMEM-* codes inside one disclosure so the result comes first.
Each All runs row uses the comparison card’s status and proportion bar, so its verdict
and bar segments match the card when you open it. A status the server cannot read appears as
Unknown; it is not a different card verdict.
On the run page, an evidence-gap package that settles several findings counts as one
decision, and its row says how many clauses or findings that decision covers; other
blockers remain counted as items. The Venn and flow view open with only tables involved
in the proof. Use each view’s switch to include the rest of the source and target schemas
when you need the wider inventory. A finished failed proof highlights its failing table in
red in the Venn. The Venn offers this switch when a specified grade is
plain verified (not verified_with_indeterminate), has no drift, and every scope entry
is implemented without a cause; it keeps the other tables visible whenever the grade has
a problem. On planned grades, the Venn appears immediately while the Flow view loads, then
the page switches to Flow. The flow view names undecided
output columns and the reason each remains undecided. Lines for a declared copied table
trace from its target columns back to the source columns it carries; a failed check’s line
points to its affected output column. On a fresh authoring round, Genesis can also fill
missing structural inputs from attached loader procedures, allowing Flow to show their
source lineage; see the finalize_spec contract
for the limits. When every spec check passes, differences found before the
spec was applied are folded under a closed Differences found before any spec was
applied disclosure; open it to see the count and assumptions.
- Use Show rules and rulings on a comparison’s run page to qualify or ratify correspondence rules; the retired Human Review tabs and estate-wide Ratifications panel are no longer separate destinations.
- Comparison history lists recent runs, review actions and requirements registrations, who recorded each one, and links back to conversations for registered agents when the reader may open them. See the comparison history API for entry details and truncation behavior.
- Ask buttons continue the newest eligible caller-owned conversation, recorded for a registered agent; if none is found, they start a new conversation. See the latest-conversation API for the ownership and fallback rules.
- For comparison title presentation and legacy behavior, see Comparison cards in chat.
- A Prover agent can also start an evidence request on a finding; see the
request_evidencetool reference for its requirements, response, and sign-in-dependent Action Review flow. - Pending asks are now answerable directly on the run page in a Mission question card.
Nothing is preselected, and only answers the person chooses are recorded; other questions
remain open. A shared question appears once even when it covers multiple evidence-gap
packages. The card can also ask once about tables that exist only in the new system and
are not named by the plan; accepting records the person’s exception for 90 days by default,
while leaving it open records nothing. A question about an object the agent removed after
a failed check can be answered there too: Confirm removal records that it stays out,
and Put it back in scope restores it for checking after the source is scanned again.
For a requested table change whose columns differ, the card names columns missing from
either side and explains that the plan or the built target needs to agree before verification
can proceed; the person can accept the table as it is or leave the question open.
When the review marks a requested change
implemented_differently, the change is present on the target, and at least one sealed check passed with none failed, errored, or unmeasured, the next step is the person’s choice to accept it as landed or have the agent implement the requested change and prove again. Acceptance records the request as it landed; it does not turn a failed check or an open definition clause into a pass. When the person accepts with Accept as expected in the card or in the conversation, Prover treats that phrase as the person’s acceptance rather than as a description of the items; an eligible acceptance can count toward Proven. If an acceptance does not count, the agent asks the person to reply Accept as expected in the same thread rather than sending them to Work, a queue, or a review page. For recording the person’s yes on review items—including differences before a spec is graded—seeaccept_finding. Skipping an open clause requires an expiry date, while owner questions require the same permission as the owner’s decision card. See the answer endpoint. Proposed-rule sign-offs in the pending list are limited to rules that licensed a difference in this comparison or could explain one of its still-open readings; unrelated proposals for the same estate pair remain in the rules area and sign-off queue. - Agent technical notes appear on findings but do not accept them or change the verdict; see
the
technical_noteaction. - Unlicensed failed sealed checks appear as named missing requirement blockers in
the comparison review population, with the check id, its measured mismatch count,
compared rows, and up to three sample keys. For a check with exactly readable table
groups, an item whose table matches one or more groups is blocked only when one of those
groups failed; items covered only by passing groups are not blocked. Items with no
matching group, or checks whose SQL or failure evidence cannot be grouped exactly,
retain whole-check attribution. See the
gradetool reference for the grouping conditions. The review population also lists the graded-side tables each failed check read inrelations_read, so their object count does not need to be inferred from the display location. - Rulings, Governance, Attestations and Migration validations for the estate as a whole. The Rulings tab opens on Needs confirmation (provisional rulings awaiting a person’s confirmation), with Settled conventions (the ruling library) and Improvement docket (candidate improvements filed against a finding, accepted or rejected by a person) beside it.
?view=review&validation=<run_id> address returned by the migration tools. This
is distinct from a comparison’s run page, /estate/runs/<hash>/; use the
returned link so the review is pinned to the exact validation run. Findings
created before durable finding keys were introduced remain readable, but cannot
receive a recorded diagnosis.
Legacy comparison links using ?view=review&diff=<hash> now open the proof page,
not the decision surface. Use the comparison’s run-page link when a person needs
to decide.
On a Mission’s Prover tab, a finished system-diff comparison can show the
result of its standing spec grade in place of the earlier ungraded counts, along
with the counts the grade explains and leaves unexplained or indeterminate. The
summary also groups problems that cleared by how the records say they went away.
Mission replay and comparison-panel behavior is documented under
Prover progress in missions.
In
replay, the grade appears only at or after its recorded finished_at time; a
grade without that timestamp is not shown as known at the replay cursor. Person
approvals are not replayed because the comparison card does not carry their
decision time.
Deep links to a comparison load that comparison directly by its full diff hash; opening
one does not wait for or poll the whole comparison list. A shortened comparison hash or
run id in the link is resolved against stored records, not just the recent rows already
loaded by All runs, so an older run can still open. Use at least eight lowercase hex
characters for a shortened comparison hash, or ecrun_ followed by at least eight for a
shortened run id. If a prefix is ambiguous or more than 20 stored records begin with it,
the page asks for a longer id or the full id. When a direct run link is loading, the page
waits for the run data before showing its label; it does not guess a placeholder such as
Run 1. A run-page read whose network response is lost is retried once automatically.
The detail response resolves the source and target estates and archive status for that
comparison. See the
comparison detail API
and the API reference for prefix lookup contracts.
Proposal actions do not hand out review links that no one can open. A comparison
outside the caller’s visible scope is answered as not found. For a caller with
manage_all_connections, Genesis also checks that each endpoint is attributable
to an estate connection or a scan-run connection; if an endpoint has neither,
the proposal is refused before anything is staged and the response identifies
the snapshot’s recorded connection, when available, so an administrator can
register it and re-run the comparison.
The same caller-specific visibility boundary applies to supporting reads, Prover
submissions, and actions: attestations, finding history, reconciliation episodes, ruling
questions, notes, remediation requests, comparison-scoped review operations,
improvement-docket reads, transition details, dossiers, proofless-grade review,
spec-author run status, and live progress streams are limited to subjects in that scope.
Records that cannot be placed under a visible comparison have a limited administrator
exception; see [Prover result visibility]
(/docs/Genesis-API/API-Reference#prover-result-visibility) for the route-level rules.
For episode write visibility and comparison-scoped replay and supersede behavior, see the
source-contract endpoints.
Prover tool calls also check referenced connections, snapshots, boundaries, comparisons,
execution profiles, traces, deltas, findings, and episodes against the caller’s visibility
before starting the affected workflow or write. A hidden reference is answered as unknown,
like an absent one. Run-list and run-detail tools return only runs visible to the caller.
Working through the findings means giving each open difference a diagnosis — what
it actually is. The vocabulary is deliberately small, and it separates “the migration
is wrong” from “the instrument is wrong”:
Every review write is appended to a log rather than overwriting one, which buys three
things a reviewer can rely on: each decision names its author and its moment; two
reviewers working the same comparison never silently lose each other’s writes; and
the current state is a pure reading of the log, so a display bug is never a
data-loss event.
The end of the process is the review decision — the run-level verdict on one
comparison: approved, approved with exceptions, or back to awaiting
review. On a deployment with authentication enabled it requires a genuine human,
all three values included, because resetting a verdict is as much a statement about
the run as approving it. On a stack running with authentication off it is permitted
and attributed to a self-describing local identity —
Roles and approvals
explains why, and which acts are refused outright instead.
An approved comparison can be downloaded as a signed proof report by someone who holds
ratify_source_contract: the download mints the signed statement. See the
proof-report API
for report eligibility, contents and signing setup.
The signed report does not expose a decision subject that identifies a run’s question;
it uses a generic description for that subject.
The report’s first page also shows the signed coverage profile: obligation counts by
plane and assurance grade, each grade side by side, plus named gaps. It states whether
estate enumeration finished. When enumeration is incomplete, closure verdicts are
indeterminate because an object that was never listed cannot appear in a count. A
missing or unreadable coverage profile is reported as unknown, not as zero coverage.
Rerunning checks from a report
When Appendix A has both a source and target query for at least one check, the report explains how to rerun those checks. Run each query on its respective system, match the result sets using that check’s keys, then compare the listed columns. That comparison produces the check result shown in section 2; the two query results alone do not. A rerun shows current data, which may have changed since Prover read it, and does not cover anything the report’s first-page limits say was not checked. The report also gives the check-read time separately from the structural-measurement time when those measurements were taken at different times. The report distinguishes readings set aside because the source and target tables do not line up one to one from unexplained differences. Set-aside readings are still unsettled: Prover could not compare them. Roles and approvals covers what you are attesting to when you press each button.What is not part of the product
Genesis develops the Prover against a benchmark harness — a corpus of frozen data-engineering tasks used to measure whether changes to the instrument make it better or worse. That harness is engineering instrumentation, not a product feature. It is not deployed with Genesis, it is not something you configure, and nothing on these pages depends on it.Where to go next
How a run works
Statuses in plain words, what a finished run is telling you, and what provenance
every result carries.
Roles and approvals
What lands in front of you, what each button attests to, and what changes when
authentication is off.
Worked example
A SQL Server to Databricks migration, end to end: 477 findings down to none,
and the review decision recorded over them.
docs/prover/. That is what an external code agent or a Genesis agent reads
before it acts; these pages are the product behind it and never duplicate the calls.
For current source-contract agent-tool availability, see
Additional Tool Groups.
For operational diagnosis, the HTTP API’s Prover listing responses also expose the
read-service stages that produced them through the Server-Timing response header.
This is automatic and requires no Prover setting; see the API reference’s timing
contract for the
covered endpoints, stage names, counts, and the boundary of what the timings measure.
Availability
The Prover workspace is on by default:features.show_estate in Genesis settings
defaults to true. To hide it, set features.show_estate to false in Advanced
Settings or through the config API, or set the GENESIS__FEATURES__SHOW_ESTATE=false
override, which wins over that setting and locks it; see Prover workspace
visibility. Hiding the
workspace removes only its navigation: the Prover’s API keeps answering for a
permitted caller. The ruling library that the consult modes build on is a separate
opt-in, estate_char.rulings.enabled, off by default.
Everything the Prover itself needs is configuration and connections: every Prover
setting is a Genesis setting, changed on the settings page or through the config API
and carrying a schema default, and every database the Prover reads is a registered
connection. The Prover requires nothing to be set in the deployment’s
environment, and a value it needs but does not have is a stated refusal rather than
a silent default. (Genesis-wide settings such as the sidebar flag above are part of
the platform’s general configuration layer, which is documented with the rest of
Genesis setup.)
