StartFirst steps
Turn on AI review
Holtkeeper’s reviewer reads every merge request with the repository’s rules, opens the surrounding code itself, and posts findings on the changed lines, with suggestions GitLab applies in one click, plus a summary. On the next push it reviews only what is new, resolves its own threads once they are fixed, and answers replies in its threads. Turning it on takes an AI provider and one event trigger.
Before you start
Section titled “Before you start”- A forge with a token that has the
apiscope and repositories added (Connect a forge). - A Bot username set on the forge, so Holtkeeper recognises its own threads and skips its own merge requests.
- An API key for Anthropic, or for a gateway that speaks the Anthropic Messages API, or for another provider through the AI SDK.
- Global
settings:writeandcredentials:write(the Admin role).
1. Add an AI provider
Section titled “1. Add an AI provider”- Open Settings › AI and choose Add provider.
- Pick the kind: anthropic for an Anthropic API key, anthropic-compatible for a gateway (with its base URL and header style), or ai-sdk for other providers.
- Paste the API key, name the provider (
anthropic-main) and save. - Use Test on its card to check it answers and can use tools.
- In the section’s settings, set AI provider to this credential. Its card now carries the tag Agents use it.
Models are picked per job by tier: reviews run on the main tier, re-checks of old threads on the fast one, and deep reviews on the largest. There is no model setting to choose.
2. Review merge requests as they change
Section titled “2. Review merge requests as they change”A fresh install reviews nothing on its own: add a trigger.
- Open Ops › Automation and choose New rule.
- On the Event trigger tab, set Event to merge request.
- Under Merge request events, keep Opened, New commits and Reopened.
- Leave Include drafts off unless the team wants reviews on drafts.
- Set Analyzers to
review, and limit it to one team (or some path patterns) if you want to start small. - Save.
An event trigger that queues the review on every merge request change of the Widgets team.
Open a merge request in one of those repositories, or push to one. Within a minute, or as soon as polling sees it, the review runs and the comments appear in GitLab.
An inline finding with a one-click suggestion.
3. Let people ask for a review (optional)
Section titled “3. Let people ask for a review (optional)”Add a second event trigger with Event set to command, Command review and Analyzer review. Anyone can then write /holtkeeper review (or mention the bot account, @<bot> review) in a merge request comment, and /holtkeeper review force=true reviews what is normally skipped.
In the panel, Quality › Reviews has Review a merge request (a repository and !42 or a merge request URL) and Review again on any past review; both need analyses:run.
What is not reviewed
Section titled “What is not reviewed”- Merge requests between release branches, such as
develop → mainormain → develop: their code was reviewed on the way in. - Merge requests opened by the bot account.
- Diffs larger than 3,000 changed lines (a short note says so); lockfiles, generated files, snapshots and build output are always left out.
- Repositories where Merge request reviews is off.
Tune it per team
Section titled “Tune it per team”Choose Configure on Quality › Reviews to edit the analyzers.review options, for everything, a team, a path pattern or one repository:
| Option | Default | Use it to |
|---|---|---|
| Comments per run | 15 | Cap the inline comments. |
| Minimum severity | minor |
Post only major and critical findings, or include info. |
| Approve | never |
when-clean approves merge requests with a clean review. |
| Depth | standard |
deep reviews on the largest model, for critical repositories. |
| Ignore | generated files, lockfiles, … | Add paths the reviewer should skip. |
| Language | the merge request description’s | Comments in another language; code and suggestions stay in English. |
Rules for what to look for belong in the repository, not in options. A REVIEW.md at the root goes first into the reviewer’s context; its ## Ignore section lists globs to skip and its ## Paths section gives rules for matching files. AGENTS.md, CLAUDE.md, .github/copilot-instructions.md, CONTRIBUTING.md, nested AGENTS.md files and Copilot or Cursor rules scoped to the changed files are read too, along with the rules written in Holtkeeper.
## Paths
- `migrations/**`: every migration must be reversible.- `src/api/**`: keep the public contract; bump the version on breaking changes.
## Ignore
- `src/generated/**`When authors reply to a finding with a lasting rule (“we always do X here”), Holtkeeper proposes it as a learning in the Inbox, so the next review knows it.
Switch reviews off
Section titled “Switch reviews off”Set Merge request reviews to off for a team, a path pattern or a repository, with a reason. Holtkeeper then queues no review and posts nothing on those merge requests, while analyses and the merge requests it opens itself go on as usual. A repository entry that is on lifts a team or folder entry that is off. To keep Holtkeeper from changing a repository at all, freeze it instead.
Every review with its verdict, findings, resolved threads and cost.
Related
Section titled “Related”- Reviews — the review list, sheet and reactions per category.
- Automation — triggers, schedules and merge request policies.
- Settings › AI — providers, budgets and caps.
- Analyzers and runs — what queues a review.
Prices are stored in cents as integers, but
qtycomes from the form as a string here, soprice * qtyturns intoNaNfor an empty field. Parse it where the item is built.