How a save is checked¶
A record check is how OpenAdapt checks its own work. After an action that
changes state (clicking a Save button, editing a grid cell in place, toggling a
setting, or submitting a step in a wizard), it reads the target state back and
compares the expected values. That catches a value in the wrong field, an entry
on the wrong record, a missed keystroke, a duplicate submit, or a step that ran
before the view settled. Not every UI has a Save button, a separate post-save
screen, or a safe page reload, so OpenAdapt grades checks on a four-level
ladder from a bounded check on the settled screen up to a direct read of the
system of record. Each check returns confirmed, refuted, or
indeterminate. Only confirmed at or above the run's required level ends
VERIFIED, and every report and receipt records checked_how.
checked_how; uncertainty stops without blind retry.
Signed receipts →
Programmatic verification (openadapt.verify)¶
Any Python agent or automation script can use the same commit-boundary verifier
directly via openadapt.verify (backed by openadapt_flow.verifier) and its
uncertain-write ledger:
Each call returns a three-valued outcome (CONFIRMED, REFUTED, or
UNCERTAIN) and records uncertain writes in the local ledger so a retry cannot
silently duplicate a write.
How strong a read-back is¶
OpenAdapt ranks every check on one ladder by how independent it is of the
surface that performed the action. The Flow tier numbers run 1 (strongest) to
4; the run report and MCP result carry the checked_how code and its label;
the receipt records effect_tier_reached and effect_assurance; and Cloud's
countersignature uses its own check level:
checked_how (label) |
What it checks | How you set it up | Flow tier | Grade (effect_assurance) |
Ends VERIFIED |
Certifies through qualify |
Cloud check level |
|---|---|---|---|---|---|---|---|
system_of_record ("Checked in your system's records") |
The system of record, through its API, database, FHIR, GraphQL, file, email, or document store | effects.kind rest, graphql, fhir, sql, file, document, email, or document-hash |
1, independent_system |
independent_readback |
Yes (Standard and Regulated) |
Yes | 2 |
separate_session ("Checked in a separate session") |
The app's view in a separate, freshly signed-in, read-only browser or app session | effects.kind: ui_readback or fresh_session |
2, independent_session |
screen_readback |
Yes (Standard, and Regulated unless policy requires Tier 1) |
No | 1 |
reopened ("Reopened in the same session") |
Same-session state reset, refresh, or reopen when the UI supports idempotent re-reading | fresh_reload or demonstrated reopen; see Reload or reopen in the same session |
3, persisted_state_reacquisition |
fresh_reload or screen_readback |
Yes under Standard; COMPLETED_UNVERIFIED under Regulated |
No | 0 |
same_screen ("Checked on the screen") |
A bounded region or element on the current screen after the action settles | effects.kind: onscreen or auto-derived same_screen |
4, immediate_screen |
screen_readback |
Yes under Standard; COMPLETED_UNVERIFIED under Regulated |
No | 0 |
unchecked ("Not checked") |
No check confirmed the action | unchecked |
No | No |
Different UIs call for different rungs on this ladder:
- In-place edits, non-idempotent flows, and closed apps (
same_screen, Tier 4). Many applications have no separate post-save page or Save button (spreadsheet and grid cell edits, auto-saving fields, toggles,ApplyorCtrl+Sdialogs that stay on the same view, or queue items that leave a list), and many web portals use non-idempotentPOSTflows or multi-step wizards where reloading would re-submit or break session state. Boundedsame_screenverification is default-eligible out of the box when a target region stabilizes with the expected state after the action, reachesVERIFIEDunderStandard, and stampschecked_how: "same_screen"andeffect_assurance: "screen_readback"on the report and receipt. - Idempotent web pages and reopenable views (
reopened, Tier 3). When reloading a URL or closing and reopening a record is safe and idempotent,fresh_reloador a demonstrated reopen check resets client-side form state and re-reads the record in the same session without a second account or API token. - Separate sessions and direct backend reads (
separate_sessionTier 2,system_of_recordTier 1). Configureui_readbackwhen you want an isolated read-only session, or an API, database, FHIR, or file verifier when the system exposes one. Cloud check level 3 (counterparty_confirmed) is a counterparty artifact, such as a payer status, which Flow doesn't read directly.
A workflow can set minimum_readback to "same_screen", "reopened",
"separate_session", or "system_of_record" to enforce a stricter floor than
the profile's default. When a run has multiple writes, its report and receipt
record the weakest level reached across all of them (checked_how,
effect_tier_reached, and effect_assurance). See
Receipts.
What each result needs¶
VERIFIED under Standard. Every declared change must be confirmed on the
ladder (Tier 4 same_screen through Tier 1 system_of_record), at or above
any minimum_readback the workflow sets. Every report and receipt states
checked_how (same_screen, reopened, separate_session, or
system_of_record) so reviewers and calling agents see the exact check level.
VERIFIED under Regulated. Every declared change must be confirmed at
Tier 2 (separate_session) or Tier 1 (system_of_record), outside the session
that performed the action. The regulated policy pack raises that floor to
Tier 1 (system_of_record). A run whose saves were confirmed only at
reopened or same_screen (or below the workflow's minimum_readback) ends
COMPLETED_UNVERIFIED with below_minimum: true in report.json, never
VERIFIED.
Certification through qualification. To certify through qualify, the
normal case must be confirmed and every fault case must show nothing landed,
all at Tier 1 (system_of_record / independent_readback). A workflow
checked only through UI or screen levels can run cases where supported, though
it cannot be certified through qualify.
Cloud's countersignature. OpenAdapt Cloud countersigns a receipt only
when the run was confirmed by a Tier 1 system_of_record read.
What a record check catches¶
On 21 July 2026 we ran ten scenarios through the governed runtime against a local test system, 9 runs each, 90 runs in all. Nine scenarios were faults we injected into the save. In 72 runs the record ended up wrong: missing, partial, duplicated, on the wrong record, with other data overwritten, or with an extra write to another table. Three checks judged the same runs:
| Check | Wrong records it reported as saved |
|---|---|
| The success message on the screen | 54 of 72 |
| A read of the record through the app's REST API | 9 of 72, all extra writes to a billing table that this read didn't cover |
| A read-only SQL query over every table a save could change | 0 of 72 |
Each check also stopped 9 of the 18 runs that saved correctly, because the reply to the save never reached the client. A record check catches what its read can see, so it should cover every table a save can change. These were faults we wrote and injected into our own engine to test coverage over a fixed list; they do not represent a real-world error rate. Method and per-fault results.
How a save is approved¶
Checking a save and approving one are separate, and both are separate from admission, which happens once per workflow. The approval mode decides whether a run waits for an answer before each save:
each_item: the run waits before each save until the filled form is approved. This is whatopenadapt flow runuses unless another mode is set. Run a workflow shows how to answer.problems_only: only saves that fail a check go to a person. It turns on only after the workflow passes a readiness gate; until then, every save asks.not_gated: no pause. Runs that OpenAdapt Cloud dispatches use this, and every report records it.
An approval never replaces the record check. An approved save that the
record check can't confirm still doesn't end VERIFIED.
Why stopping is the default¶
Each check is three-valued, and both refuted and indeterminate stop the
run. An unreachable database, a timeout, or an ambiguous read is never
treated as success. The cost is that a run sometimes stops when the save was
fine; the limits page covers when that happens most. The
alternative, a run that reports success when the record is wrong, is the
failure OpenAdapt is built to prevent.