01 · A human-written MR
Not every change comes from the assistant.
Here an engineer bumps ingress-nginx by one minor version.
In the same MR, the engineer turns on allowSnippetAnnotations so one
team can add a custom header. The change is only two lines, so it is easy to approve on a
Friday.
02 · Ask for a review
Add the assistant as a reviewer, or comment.
Add the assistant to the MR's reviewers list. This runs the
default persona once per commit. A /review comment
does the same. /review all runs every configured
persona. /review premium runs just one.
Only people on the trigger allowlist can start a review by
comment. The assistant drops unknown persona names with a warning.
The other personas still run.
03 · Personas, in parallel
A stable name in front, a swappable model behind.
Your team learns the personas, not the models. default gives a
balanced review. premium is for high-stakes MRs. quick
gives a cheap second opinion. Each persona points to an AI model profile in
the configuration. When a better model ships, only the pointer changes.
The assistant keys each review on MR, commit and persona, so a persona never
reviews the same commit twice. A force-push (a push that rewrites branch history) makes the persona eligible again.
04 · Read more than the diff
Check the claims against the repository.
Each reviewer sees the diff and the MR description. You can also give a reviewer
read-only tools. These tools open nearby files, such as the values the
chart already sets and the Ingress objects that would use the new
setting In development.
Sometimes an approval needs evidence that the reviewer does not have, such as a changelog
or a CRD (custom resource definition) schema. The assistant marks that approval contested.
It does not pass it on as a clean yes.
05 · One comment per persona
Every header names the persona and the model.
You always know which AI model gave which opinion. Each comment
shows a verdict and a quality score. It also shows what the reviewer verified,
what worries it, and the commit it reviewed.
Here two personas approve. premium requests changes. The
snippet setting lets anyone who can write an Ingress inject NGINX
configuration. This is why the chart turns it off by default.
06 · The synthesis
Where they agree, and the finding only one of them made.
When two or more personas run, a synthesis comment tallies the
verdicts. It lists shared concerns and highlights unique findings.
The assistant does not average away a lone dissent. The dissent is the headline.
07 · A label you can filter on
The worst verdict wins.
The assistant labels the MR review::LGTM, review::NC
or review::COMMENT. The label follows the most cautious persona's
verdict. A re-review replaces the label, so the MR list always
shows the current state.
08 · Assistant MRs get a second reviewer
An independent review with no pipeline context.
The assistant's own reviewer shares its prompts and its blind
spots. So an independent reviewer also reads every MR that the assistant opens.
This reviewer knows nothing about how the assistant made the MR.
It checks that the title matches the diff and that nothing
secret leaks. It also checks that the change lands somewhere that is actually
deployed.
Its verdict goes on a separate label: xrev::LGTM,
xrev::NC (needs changes) or xrev::DNM (do
not merge).