Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Test the AI step/Regression runs and drift monitoring
Reference · Test the AI step

Regression runs and drift monitoring

Part of Test the AI step. Install the skill and your agent reads this page when it needs the depth.

What triggers a full regression run

Release gate

Check Blocks the release when
Critical errors Any new one
Automatic-slice precision Falls more than 1 point, or below the target
Any category or branch Falls more than 5 points
Flipped cases, pass to fail Any not read and explained
Output-shape failures Above 0.5%
"Unclear" rate Leaves its agreed band
Holdout versus tuning set Gap of 6 points or more
Cost per run, 95th percentile latency Above budget

The report

  1. Set version, prompt version, model version, settings, date of the baseline it is compared with.
  2. The release gate table with each result.
  3. Every case that flipped from pass to fail: the input reference, the expected value, the new output, the cause.
  4. Cases that flipped from fail to pass, in one line each.
  5. Flaky cases (passed some of the 3 runs, not all).
  6. The verdict: release, release with a named risk accepted by the owner, or blocked.

Drift signals in production

Set each baseline from the first 4 weeks of live traffic.

Signal Alert when
Human override rate in the review queue Doubles, or rises 3 points week over week
"Unclear" and fallback rate Rises 5 points over baseline
Output-shape failures Above 1% in a day
Output mix Any category moves more than 10 points week over week
Input mix (length, language, new senders or templates) A new template or source passes 5% of volume
Cost per run, 95th percentile latency Up 50%
Weekly sample of 30 automatic cases Any critical error, or more than 1 other error

The override rate is the most direct signal: it is people telling you the step is wrong. Make overriding easy and record a reason with each one.

The weekly review

Worked case: a model upgrade that looked better

Worked case: drift from one sender

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.