State alignment asks whether the surface (what the user sees), the record (authoritative row in the database), and the session (ephemeral checkpoint) all describe the same step of a workflow. Drift enables skipping, duplicate submission, or wrong-branch transitions.
Pages#
| Page | Focus |
|---|---|
| Surface vs version | Client step counter vs server workflow version |
| Record status | Row status fields vs side effects already executed |
| Session checkpoint | Session keys that gate steps without DB corroboration |