AvrelDocs

Release gate

The release gate answers one question: is this hardware and this release safe to ship? It runs a set of checks on what Avrel holds about your organization and gives a verdict, APPROVED or BLOCKED, with the evidence for every check and what clears a failure.

It lives on the Release gate page, under Release in the sidebar, with your releases, test campaigns, test results and release reviews. CI pipelines reach the same gate; see Release checks in CI.

The release verdict#

The top of the Release gate page answers the question for the release running now, in four tiles. Select a tile to open what it counts.

TileWhat it shows
Release gatePass or Blocked, and how many checks fail. Opens the first failing check.
Sign-offApprovals given on the newest readiness record, out of the number it needs, and its status. Opens the record to sign.
Release reviewWhat the newest release review recommends, Ship or Hold, and for which build.
Shipped past the gateDeviations still waiting for a reason or for an approver to accept the risk.

Telemetry, test results, incident replay and the declared hardware are the evidence behind the verdict. Telemetry, incidents and hardware are under Data at the top of the sidebar: Explore, System Health and Topology.

The checks#

Every organization gets the built-in checks. Each one is blocking (a failure blocks the release) or a warning (listed, but does not block). A check that has nothing to look at yet is skipped, never passed.

CheckWhat it checks
HIL-SCHEMA-01 Declared wiring is completeThe declared hardware has at least one component, and every connection joins two declared components. See Declare your topology.
HIL-GUARD-01 Safe start-up is declared and testedThe declared hardware names a fail-safe (boot guard or watchdog) that puts every output in a safe state at start-up, and it is marked as tested on the hardware.
HIL-BOUNDARY-01 Collectors only read, never controlThe organization's collector policy says collectors only read.
HIL-RELEASE-01 Every release names a rollbackEvery recorded release names the earlier build to roll back to.
HIL-OPERATION-01 Safety rules hold in operationNo critical safety rule is broken on the latest live or imported readings.
HIL-CAMPAIGN-01 Planned tests passed on this buildEvery test planned in a test campaign on the build has passed on it. Skipped for a build with no campaign, or whose campaigns have no planned test yet.
HIL-TESTS-01 Imported test results pass for this buildThe latest imported run of each suite for the build has no failed or errored case. See Test results.
HIL-DEVIATION-01 Shipping past the gate is acceptedA warning, never a block: the release running now has no deviation still waiting for a reason or for a second approver to accept the risk. Skipped when no release is recorded.

Choose Run checks to run the gate now. Every run is kept in the audit log with each check's result, so a check's panel shows how it did in earlier runs.

Open a check to see what it checks and why, the exact inputs it evaluated, its result, what clears it, where it came from and the records it points to. Assistants get the same with get_release_check.

Checks from incidents#

Your own checks join the built-in ones, each made from something that really went wrong:

  • From an incident. On an incident in Explore, Add to release gate adds the regression check the incident analysis suggests, such as a minimum on one channel. It is replayed against the recording to show that it catches the fault.
  • From an investigation. Accepting an AI investigation adds its drafted check, marked AI-drafted, with who accepted it.
  • From another team's failure pattern. Add to release gate on a matching pattern adds the check that catches it. See Data sharing.

A check you added can be retired when it no longer applies: open it and choose Retire, with a reason that stays with the check and is shown to everyone who opens it. Restore brings it back. Built-in checks come from the suite and cannot be retired. Owners and engineers add, retire and restore checks; assistants cannot.

Releases and candidates#

Record release records the build running now: its name, its commit and the build to roll back to. The gate's verdict at that moment is stored next to it, so you can always see whether a release shipped approved.

To decide on a build before it ships, choose A candidate: not deployed yet in the same form and Register candidate. Open a readiness record for it; once that record is approved, the candidate is approved. Avrel then signs an approval for the build, which your updater can check before installing it (see Signed release approvals). In the candidate's panel, Mark as deployed records it as running and Withdraw candidate records that it will not ship. A withdrawn candidate stays in the history with who withdrew it and when.

Open a release to see who recorded it and how (in the app, by a CI key or by an assistant), the gate result then and now, its rollback target, its status history, the readiness records tied to it with their approvals, and the evidence recorded against the build.

Owners and engineers record releases, register and withdraw candidates, and run the gate. Every member sees them.

Deviations#

Sometimes a team ships anyway. Recording a release while the gate says Blocked, or marking a candidate as deployed before its readiness record is approved, opens a deviation: a signed record of who shipped it, how (in the app, by a CI key or by an assistant), when, the gate's result and failing checks at that moment, and why.

  • In the app you give the reason before the release is recorded. Record release and Mark as deployed ask for it when the gate is blocked or the candidate is not approved.
  • From CI or an assistant the release is always recorded, so a deploy is never held up, and the deviation is marked Unexplained until someone adds a reason. In CI, pass --override-reason to give it at once (see Release checks in CI).

Deviations are listed in the Deviations card on the release gate page and on the release they belong to. Open one to see what was failing, the reason, the follow-ups and its signed history. From there:

  • Explain adds the reason to an unexplained deviation. Owners and engineers can explain one, and so can an assistant with Propose access.
  • Accept the risk is a second person's signature that the team stands behind the release as shipped. Only a release approver can accept, an unexplained deviation must be explained first, and with separation of duties on, the person who shipped the release (or made the key that did) cannot accept it.
  • Close ends a deviation without accepting it, for example when the release was rolled back. It needs a note.
  • Link a follow-up ties a fix, a check, an incident, another release, an annotation or anything else to the deviation, so it is clear what is being done about it.

Every deviation sends a release.deviation alert and goes into the safety case export for its release. Until it is accepted or closed, check HIL-DEVIATION-01 warns on the release.

From an assistant or CI#

ToolAccessWhat it does
check_releaseReadThe verdict with every check and what clears a failure. With a candidate release it checks that release and records nothing.
get_release_checkReadOne check in full, with its inputs, result and earlier runs.
get_releaseReadOne recorded release with its history, records and evidence.
run_release_checksOperateRuns the gate now.
record_releaseOperateRecords the release now running, with the verdict stored next to it. Opens a deviation when the gate is blocked; pass override_reason to explain it.
register_release_candidateOperateRegisters a build before it is deployed.
list_deviationsReadReleases shipped past the gate, with their state and reason.
get_deviationReadOne deviation in full, with the failing checks, follow-ups and signed history.
explain_deviationProposeAdds the reason to an unexplained deviation.
add_deviation_follow_upProposeLinks a follow-up to a deviation.

Adding, retiring or restoring a check, withdrawing a candidate, and accepting or closing a deviation stay with people. See AI assistants (MCP) and Release checks in CI.