How it works
Decide in advance what the result will do. A pass can allow the change, a fail on a protected case can block it, and a mixed result can send it to a person. For a shipping-quote prompt, a fail on the holiday-rate cases might block, while a fail on a rare island postcode might only ask for review. The point of writing that down is that the person who liked the demo does not get to waive it in the moment. The gate is a rule about the cases.
A gate is only as honest as the cases and the grader behind it. A model judge that was never checked against people should not be the thing that blocks a release. A flaky case will block and allow the same commit on different runs, so quarantine flaky cases before they sit on a gate. When the gate sends a change to review, the reviewer needs the failing cases, not a single score. A block with no way to read why is a stuck queue, not a quality control.
A worked example
A shipping quote that must clear a gate
The rule is written before the prompt edit. If every holiday-rate case passes, the change is allowed. If any holiday-rate case that used to pass now fails, the change is blocked. If only rare postcodes fail, the change goes to a person with those cases attached. In this run the warmer prompt quotes a weekday rate for a bank holiday. The holiday cases go red, the rare-postcode cases stay green, and the gate blocks the change. The author of the prompt does not get a waiver because the demo postcode looked right. The block stays until the holiday cases pass again on the same inputs. The review path is unused this time, because the rule said block, not review.
Illustrative example, not a production trace and not a measured result.
What goes wrong
- The gate is a model judge nobody has compared with reviewers, it blocks a good prompt, and the queue sits there because arguing with the judge is the only appeal.
- The threshold is "not worse than last time" and the set was quietly shrunk, so the gate allows a change that dropped the cases it used to fail.
- A flaky holiday case sits on the block rule, the same commit is red and then green an hour later, and releases depend on which run finished last.
How to measure it
Record, for each change, whether the gate blocked, allowed, or sent it to review, and store the case ids behind that decision. A gate with no case ids is a hunch with a button.
Count how often a blocked change is later allowed with no edit to the prompt or the cases. Those are false blocks, and a gate that cries wolf will be bypassed. Record each false block too.
Further reading
How Abracadabra helps
A gate is only as good as the cases behind it. Before a block or an allow, read the sessions in the failing slice and confirm they are the job the team meant to protect.
Abracadabra does not run the eval or the simulation. Search by meaning, and by tool event, for the sessions that stopped, and use that wording when you write the case. After a change, compare task success for that task and cohort with the previous period.
Request access to read this on your own agent.