CI gates
Detection and replay tell you about failures. Release gates stop them from shipping. A gate runs your candidate agent version against Lumni’s regression library in CI and blocks the deploy if a known failure comes back.
What a gate checks
Section titled “What a gate checks”- Known failures. Does the candidate reproduce any failure in the regression
library? If a
false_successyou already fixed comes back, the gate catches it. - Regression tests. The replay cases promoted from past incidents run against the new version.
- Policy checks. Does the candidate violate a guardrail you’ve defined?
Fail-open by default
Section titled “Fail-open by default”Wiring it in
Section titled “Wiring it in”Add a step to your pipeline that submits the candidate version and reads back a verdict. Conceptually:
- name: Lumni release gate run: | lumni gate \ --version "$GITHUB_SHA" \ --suite regression \ --fail-open # default; omit --block to stay advisoryThe gate exits non-zero only when it’s configured to block and a known failure reproduces. Otherwise it annotates the build and moves on.
The payoff
Section titled “The payoff”A gate turns every incident into a permanent guarantee: once a failure is in the regression library, the same bug can’t ship twice. That’s the loop that closes — detect → diagnose → replay → gate.