Skip to content
Agent Engineering Lab
Step 10 of 22 · Evidence that blocks All steps

GOVERNANCE · STEP 10 OF 22 · PART III · SETTING IT UP

Make evidence block releases

Write down what each evaluation must prove before you run it, pass every rate on its confidence bound, let one serious finding block on its own, and feed your gate a failing result to watch it say no.

10 EVIDENCEBLOCKS RELEASES

Done when A failing evaluation has stopped a release.

Enterprise

Stays done when The gate still stops a planted failure after every change to the pipeline or the framework pin, and each release is judged on cases the team has not tuned on.

Small team

Stays done when CI runs a known-bad report through the gate on every change to the workflow file, and the gate still fails it.

Lead

Enterprise

The AI lead, who owns the evaluation suites and the report

Small team

The engineer who owns the evaluation job in CI
With

Enterprise

Model Risk Management, Security's red team and the platform team that runs the pipeline gate

Small team

Whoever red-teams for you from outside the team, and whoever holds the CI settings
Bring
Your highest-tier system's last evaluation report, its tier's thresholds and suite sizes, and the pipeline's gate configuration
Leave with
Written claims with their metrics and thresholds, suites sized to the tier, and a release the gate has been seen to stop
Your choice changes the guidance in every step, and stays set as you move through the guide.
A sieve proves itself by what it holds back.
A sieve proves itself by what it holds back.

Picture a release review for a new AI system. The evaluation report says 97% of its answers were acceptable. The target was 95%. The gate in the pipeline is green, as it has been for every release this year.

Ask two questions. Acceptable out of how many? And when did this gate last say no?

Out of 100, a 97 proves less than it looks. At 95% confidence, the true rate could be as low as 92.4%, under the target. And if nobody can name a release the gate stopped, nobody knows whether it can stop one.

Step 9 put gates between idea and production. This step decides what they read. What evidence would stop a release that should not ship, and how do you know your gate would act on it?

Evidence that can say no

  1. Write the claim before the run. For each thing the system must get right, write one sentence a stranger could check, with its number: “fewer than 1 in 100 drafts states a wrong fee, date or policy term.” Use the framework’s metrics where they fit. Its hallucination rate counts a response with one material false claim as a failure, and a fee is material. Put your own targets in the risk assessment. Fix them all before anyone sees a result.
  2. Size each suite for the tier. The minimums for the pre-release and safety suites are 300 distinct cases at T1, 100 at T2, 50 at T3 and 20 at T4. The red team runs 200 cases at T1, including manual testing, and 100 at T2. Paraphrases of one case count once.
  3. Pass on the bound, never on the score. At T1 and T2, a rate passes only when the one-sided 95% upper bound on its failure rate sits inside the cap. That covers the framework’s own rates, such as hallucinations and safety failures. For a target you set yourself, the risk assessment says whether the bound or the score decides, and the framework recommends the bound. Record the denominator and the failures, so anyone can recompute the bound. At T3 and T4 the score decides, on at least the minimum suite.
  4. Let one serious finding block on its own. Each red-team finding gets a severity, and no pass rate absorbs it. An open Critical finding blocks at every tier, and no exception can cover it. At T1 and T2, so does an unaddressed High. A High is addressed when its fix passes retest or an approved exception covers it. A plan to fix it later doesn’t count.
  5. Keep the testers away from the build. The team that builds a system never red-teams it. At T1 and T2 it never validates its own results either.
  6. Make the gate fail on purpose. Feed the real pipeline a report that should fail, and check that nothing deploys. This one is the guide’s recommendation.

The guide’s call: a gate that has never said no has not been tested. A green gate means something only when two things are true: the evidence passed, and the gate would have stopped it if it hadn’t. Every release shows you the first. Only a failure shows you the second. If no release has failed yet, make one.

The step is done when a failing evaluation has stopped a release. A real failure counts. So does a planted one, if it ran through the pipeline your releases use.

Your call. Open the last evaluation report for your highest-tier system. Write down how many cases it ran, how many failed, and the threshold. Then write down the last release your gate stopped. Any blank is your answer.

The gate reads the bound

Four evaluation runs against the T1 hallucination cap of 1%. Each shows its score as a dot and its 95% upper bound as the end of a bar. No failures in 200 cases: score 0%, bound 1.49%, fail. No failures in 300: bound 0.99%, pass. Four failures in 500: score 0.8%, bound 1.82%, fail. One failure in 500: score 0.2%, bound 0.95%, pass.
The gate reads the end of the bar. Two of these runs score inside the cap and still fail.

A score describes one run. A threshold describes the system, across every email it will ever draft. The bound connects them: it is the highest true failure rate the run can’t rule out, at 95% confidence.

Read the chart from the top. A run with no failures at all, on 200 cases, still fails at T1: it can’t rule out a true rate of 1.49%. With 300 cases and none failing, the bound falls to 0.99%, inside the 1% cap. That is where the T1 minimum comes from. Four failures in 500 score 0.8%, under the cap, and fail on a bound of 1.82%. One in 500 passes at 0.95%.

The framework’s reference gate recomputes each rate’s bound from the case count and the failures, and fails any report that sets a looser threshold, unless an approved exception covers it. Nobody can argue a bound down in a meeting.

One finding is enough. Some failures you accept at no rate, and the red-team protocol classifies them. Critical means a complete safety bypass, data exfiltration, an unauthorised action or leaked personal data. High means a partial bypass, information disclosure or a significant change in behaviour. A draft that shows one customer another customer’s account is Critical. Found once in 240 cases, it would score a 99.6% pass rate, and it still stops the release. The regression rule works the same way at T1 and T2: on a model or prompt change, one safety case the old version passed and the new one fails blocks the release.

Planting a failure. The framework’s gate ships with tests that feed it known failures: a T1 metric that passes on its score and fails on its bound, a suite below the minimum, an open Critical finding with an exception attached. Those prove the gate’s code. They don’t prove your pipeline. In the example workflow, the deploy job waits for the approval jobs, and they wait for the gate. Delete one needs: line and the gate becomes a report nobody has to read.

So keep a few known-bad reports, and run them through the real pipeline whenever the workflow or the framework pin changes. The deploy job must never start. The framework already does this to people, slipping human reviewers known-bad outputs. The failure you are guarding against is the rubber-stamp verifier: a check that approves good work and broken work alike.

Now look at what you wrote. All three numbers and a date mean your gate reads evidence, and you have watched it say no. A score with no case count can’t be checked against any bound. If you found no stopped release, plant one before the next real one.

Who tests when the team is five people

The bound and the blocking rules stay the same at every size. Who runs the tests changes.

Small team

At T3 and T4, which a small team can run on its own, the score decides, on at least 50 or 20 cases. At T3 the red team is an automated scan plus 50 manual cases, run by Security or another team, never by you. Have the evaluation job in CI write its report in the gate’s format, so the gate does the arithmetic.

A T1 or T2 system is different. You can’t validate it or red-team it from inside, so book Model Risk Management or the second line, and Security’s red team, at intake. The guide’s recommendation: keep one known-bad report in the repository, and have CI run it through the gate whenever the workflow file changes.

Enterprise

The second line holds the independence. At T1, Model Risk Management validates in full and reruns the suite. Security runs the red team. Keep a shared attack library, as the red-team protocol advises, so a technique that worked on one system gets tried on all the others.

Rating has rules too. At T1 and T2, raters are qualified subject matter experts, at least 20% of items are rated twice, and agreement must reach 0.6 before results count. An LLM judge is calibrated against those labels each quarter at T1, and is never the only judge of T1 hallucination or personal data leaks. Results are stored append-only, tied to the model, prompt and dataset versions.

The guide recommends one more line in the quarterly portfolio report: how many releases each gate stopped. Set no target for it. A gate that hasn’t stopped a real release in a year gets a planted failure and a second look.

Starter kit

From the open AI governance framework, pinned at v2.4.0.

Deep dive

Suite sizes

Zero failures in n cases bounds the true rate at 1 - 0.05^(1/n): 1.49% at 200 cases, 0.99% at 300, 0.50% at 600. Statisticians shorten it to the rule of three, a bound near 3/n (Hanley and Lippman-Hand). Turn it round and you get the minimum suites. Showing a 1% cap with no failures takes 299 cases, and a 3% cap takes 99. The framework rounds to 300 and 100.

At the minimum, only a perfect run passes, so it is a poor size to plan for. By the framework’s own arithmetic, a system whose true hallucination rate is 0.3%, well inside the cap, fails 59% of 300-case runs, 44% of 500-case runs and 18% of 1,000-case runs. Bigger suites leave room: one failure at 500 cases, four at 1,000. Size for the rate you expect.

Count what is independent. Ten turns of one conversation are one case. Where cases cluster, count the clusters, or bootstrap over them.

Then size the slices. At T1 and T2, any segment the risk assessment names that holds 100 cases or more must meet the threshold by itself. A smaller one is reported, its gap becomes a finding, and the suite grows for it. For the assistant, plans with a cancellation fee are a segment worth building to 100.

Confidence bounds

For pass-or-fail rates, the framework uses the one-sided 95% Clopper-Pearson bound. It is exact: it comes straight from the binomial distribution. A normal approximation loses accuracy when failures are few (NIST).

Same score, different evidence. Say the risk assessment wants 95% of drafts usable as written, gated on the bound, as the framework recommends for your own targets at T1 and T2. 97 out of 100 has a lower bound of 92.43% and fails. 388 out of 400 is also 97%, and its lower bound of 95.18% passes. At T1 the first run would fail sooner, on size.

A bound can’t fix a biased sample. It assumes the cases are independent and look like the real work. Padding a suite with paraphrases shrinks the bound and adds no evidence, which is why paraphrases count once. At T1 and T2, review each set for representativeness every year.

Bounds also keep regression honest. A new version may fall below the old one by no more than the old one’s own noise, the half-width of its 95% interval on the same suite. It must also pass the threshold in its own right. The first number catches a sudden drop and the second a slow slide. The pattern catalogue calls the pair baseline and floor.

Red-team independence

The rule is short: you can’t red-team your own system. It holds at every tier that red-teams. At T3, Security or another team runs the scan and the 50 manual cases. At T1 and T2, Security’s internal red team does, and at T1 the framework recommends external testers as well.

Independence shapes what testers find. Builders test the attacks they planned for. An outsider writes the email nobody planned for, like a customer quoting a promise that was never made. OWASP puts prompt injection first in its Top 10 for LLM applications, and every customer email is untrusted input.

Severity needs the same distance. The red-team report goes to the system owner, who also signs it and owns the control on open findings. The guide’s recommendation: the red-team lead sets each severity, and only the lead can lower one, with the reason written into the report. A High that becomes a Medium in a meeting is a finding averaged away by hand.

You now have evidence that can say no, and a gate you have watched say it. The evidence describes the system on the day you tested it, on the cases you had. After launch the vendor updates the model, customers write new kinds of email, and the plan terms change. Step 11 runs the system: watch it, respond when it fails, review it on a cadence, and retire it when its time comes.

Where this step sits

Read it from the bottom up. Solid line: what this step rests on. Dashed outline: what rests on it. Faded: steps still to come. Pattern colours follow the catalogue: blue capability, brick control, gold evidence; a diamond marks an anti-pattern.

Go deeper: Agentic AI for Serious Engineers. Chapter 6 goes deeper on evaluation suites that can stop a release.

Sources

  1. C. J. Clopper, E. S. Pearson (1934) The use of confidence or fiducial limits illustrated in the case of the binomial
  2. James A. Hanley, Abby Lippman-Hand (1983) If nothing goes wrong, is everything all right? Interpreting zero numerators
  3. NIST NIST/SEMATECH e-Handbook of Statistical Methods, 7.2.4.1: Confidence intervals, exact intervals for small numbers of failures
  4. OWASP Foundation OWASP Top 10 for LLM Applications 2025: LLM01 Prompt Injection
  5. AI Governance Framework v2.4.0: evaluation governance, statistical pass rule
  6. AI Governance Framework v2.4.0: evaluation governance, evaluation types and suite sizes
  7. AI Governance Framework v2.4.0: evaluation governance, segment results
  8. AI Governance Framework v2.4.0: evaluation governance, anti-patterns
  9. AI Governance Framework v2.4.0: red-teaming protocol, severity classification
  10. AI Governance Framework v2.4.0: red-teaming protocol, team and qualifications
  11. AI Governance Framework v2.4.0: red-team report template
  12. AI Governance Framework v2.4.0: reference implementations, what the gate checks
  13. AI Governance Framework v2.4.0: start here, where independence comes from at T1 and T2
  14. AI Governance Framework v2.4.0: human-in-the-loop patterns, reviewer fatigue mitigation