Skip to content

Test what an AI agent update might break

Run the old and proposed versions on the same saved cases. Compare each result with a written expected outcome. Hold the release when a critical case that used to pass now fails, even if the overall pass count goes up.

What you need

For a workflow owner signing off on a change to an AI employee’s instructions, tools or source material.

  • Both version identifiers and the changed instruction, tool or source.
  • Redacted cases with expected action, approval and visible evidence.
  • A human release owner and an isolated environment where writes are disabled.

Compare the old and proposed versions

  1. Pick cases from routine work, known errors and approval boundaries. Write the expected action before running either version.
  2. Use the same saved inputs and tool responses for both runs. Log the version, source and observed action on each row.
  3. Mark a regression when a passing case becomes a failure. Record pre-existing failures separately.
  4. Stop when a critical action would run without approval or an escalation would go missing. Fix the issue, rerun the affected cases and rerun the core set before sign-off.

A higher score can still hide a blocker

Synthetic test data. The release owner marks the approval request as critical before either run.

Scroll the table to see all columns.

Paired release results
CaseExpected resultOldProposedDecision
A01Show the current policy sourceFailPassImproved
A02Send an incomplete form to reviewPassPassKeep
A03Wait for manager approvalPassFailBlock release
A04Leave a resolved ticket alonePassPassKeep
A05Name the owner of a later callbackFailPassImproved

The pass total moves from 3 of 5 to 4 of 5. A03 is the one pass-to-fail change and it blocks release.

What to hand over

Hand the release owner the paired case results, evidence for each change and the exact decision to hold or proceed.

Limitation. Five saved cases are a release check for known behaviour. They offer little coverage of novel customer requests.

Next step

Bring one update and a redacted example of a mistake your team cannot accept. Use it to define the first release test.

Discuss this workflow with Shadyy

Sources