Skip to content

Gate Alpha — AI review & SAST

Gate Alpha fetches the pull-request diff, runs an AI code review, and pairs it with a static application security test (SAST) scan when those gates are enabled. Deterministic scanner findings appear inline. Model-only candidates stay in a collapsed advisory section of the canonical review.

The reviewer checks the diff against your configured review categories. By default that includes security, secrets scanning, performance, test coverage, type safety, accessibility, and style, plus agent-safety checks for code that touches AI tooling. You can narrow or widen the scope globally, and override it per repository — see review learning & preferences.

The AI reviewer is instructed to report actionable defects introduced or exposed by the change, with a concrete trigger, execution path, observable impact, and supporting code evidence. It checks whether visible validation or another layer already handles a suspected issue and suggests the smallest practical fix. Security patterns such as secret masking, JSON escaping, and parameterized queries are assessed in their visible context.

This review uses the supplied diff and review context; it does not browse the repository or execute tests. Its findings are labeled MODEL-ONLY and do not request changes, fail CI, or appear as inline defect comments. Repeated candidates with the same finding marker are grouped once. Check connected callers and existing protections, then reproduce a concrete failure before treating a candidate as a defect. A second model’s confirmation does not reproduce a failure. A model-reviewed patch remains a suggestion, even if another model accepted it. Missing context alone is not a defect, and a PASS is not proof that the change is defect-free.

When you dismiss a finding, QualityMax remembers it for the repository. Future reviews of similar code retrieve those past dismissals before commenting, so the same false positive does not resurface on every PR. The memory is repo-scoped: dismissing a pattern in one repository never silences it in another.

The security scan uses deterministic engines (Semgrep, regex and custom rules, Bandit, and Gitleaks) alongside model analysis. Deterministic findings retain their severity-based gates and line-level evidence. Model findings remain advisory, including those confirmed by a model recheck.

Verdict Internal pipeline state GitHub check conclusion Blocks merge?
Completed model review, including model WARN or BLOCK success success No
Deterministic scan: no medium/high/critical findings success success No
Deterministic scan: medium finding action_required neutral No
Deterministic scan: critical/high finding failure failure Yes, if the check is required

The original model verdict and candidates are retained in the review receipt for inspection. They do not set the pipeline’s blocking verdict. Required reviews that fail, have missing file coverage, or lack sufficient evidence still report an incomplete gate; advisory mode does not make an unfinished review successful.

On the pull request’s Checks tab, open a completed QualityMax Pipeline check and select Re-review. Repository writers can use this action to start a fresh Gate Alpha review of the current pull-request head. If the check belongs to an older commit, use the check for the current commit instead. You can also comment @qmax on the pull request to request another review.

Alpha skips without PR context, when its gates are disabled, or when no changed files are eligible for review. Skipped gates are reported explicitly.