You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Peter Sherman edited this page Jan 6, 2026
·
1 revision
Because Autoschematic's state model is bidirectional, it can be tested in a semi-automated fashion
by using a set of "world states", each essentially corresponding to a snapshot of desired state in a prefix P at a given time.
After applying each snapshot, we check the current (remote) state in order to determine how
well it matches our desired state.
Starting with the repo at HEAD,
git switch fuzz-scratch-{uuid}
git restore --source=world-state-{n} --staged --worktree -- .
autoschematic apply
autoschematic check-drift
The drift as reported by check-drift is termed residual drift and represents how well the connector(s) under test obey a bidirectional model. The set of world-states in a connector's test suite ought to form an exhaustive