The job
Releases change controls, copy, and empty states. Agent Docu’s drift check replays the saved script without capture. A failure is product signal: broken at step N, plus a screenshot of where the bot stopped.
Suggested workflow
- Keep flow files next to the docs or in the same repo as the skill.
- Run drift-check on a schedule or in a release checklist.
- If it fails, decide: product bug, intentional UI change, or flaky selector.
- Update the script if the UI intentionally changed; approve re-record.
- Attach the drift report or new MP4 to the release notes / docs PR.
Selector discipline
Exact-match selectors (role=button[name="…"], quoted text="…") make copy changes visible. Substring selectors can survive wording edits and defeat drift detection — the skill docs warn against them on purpose.