Short answer
On the bot machine, schedule python -m scripts drift --flow … --out-dir … for each critical flow (weekly is enough for many teams; nightly for release-critical paths). Alert on non-zero exit; leave re-record for a human with --approve.
Steps
- List critical flows — Help-centre top articles, launch demo, and any path you show prospects. One YAML per flow.
- Script a batch — A shell loop that runs drift for each file and writes reports under
output/drift/$(date +%F)/. - Schedule it —
cron,launchd, or your agent’s nightly job. Example: weekly Sunday evening on the Mac Mini that already has the browser profile. - Alert on failure — Email, Slack, or ticket with exit code, flow path, and failed step index from the report. Silence on success.
- Triage, then approve — Fix product or selectors; only then
rerecord --approve. Unattended re-record is out of scope for a reason. - Review the calendar — After a major redesign week, run an extra full batch before publishing docs.
What not to automate in v1
Do not auto-publish MP4s to production CMS from cron. Do not store production passwords in the job definition. Do not treat a flaky timeout as “ignore and green.”