Skip to main content
Open Code review → General (page title General settings). Review categories and the severity threshold are on What to review. Summaries, messages and Kody’s voice are on What Kody writes.
Kodus has three config levels: Global, Repository, and Directory. Learn how they work in Config Inheritance & Overrides.

Automated code review

The Automated code review switch makes Kody review pull requests when they open. It is on by default. With it off, start a review by commenting @kody start-review on the pull request.
This switch covers the initial review. For later pushes, see Review Cadence below.

Review Cadence

Shown when Automated code review is on. It decides how Kody handles reviews after the first one:
Review every new push. This is the default.

Review draft pull requests

Review draft pull requests is on by default, so drafts get reviewed. Turn it off to skip them until they are marked ready.

Review mode

General shows the review modes and models in effect. Follow Configure routing to change the mode, or the modes chosen by the risk result, and to override the model for a repository or directory. See Routing. Risk assessment has its own page and switch. See Risk assessment.

PR workflow

Automatic PR approval — Kody approves a PR after a clean review, or once every comment it left is resolved. It never merges. Approval policies define which clean PRs Kody may approve, and active risk assessment applies to every policy. See Auto-approve. Platforms: GitHub, GitLab, Bitbucket, Azure Repos, Forgejo

Review feedback

  • Request changes on critical issues (isRequestChangesActive, off by default) — when Kody finds a critical issue, it sets the pull request review to Request Changes. Kody takes the request back once those findings are resolved, even on a pull request it does not approve. Platforms: GitHub, Bitbucket, Azure Repos, Forgejo. The switch is hidden when GitLab is your only connected platform.
  • Show status feedback (on by default) — Kody reacts or comments when a review is skipped or blocked.
  • Committable suggestions (Alpha, on by default) — Kody can suggest code you apply directly as a commit. GitHub only; the switch is disabled without a GitHub connection.

Review scope

Kody skips files and pull requests that match these settings. Reviews started with @kody start-review ignore Ignore title keywords, Base Branches and Review draft pull requests.

Ignored files

Glob patterns for files Kody skips. Patterns are case-sensitive and match dotfiles. The field shows a few patterns; Edit opens the Ignored files dialog. Each new pattern is checked for valid glob syntax, and Test a file tells you whether a path would be ignored, and by which pattern, or reviewed. Apply only updates the field. Nothing is saved until you click Save settings. The default list is long: yarn.lock, package-lock.json, package.json, .env, **/*.json, **/*.xml, **/*.lock, **/*.min.*, images, fonts and archives, IDE and OS files, and folders such as **/build/**, **/bin/**, **/out/**, **/vendor/*, **/deploy/** and **/prod/**. If Kody skips files you expect it to review, check the list for a broad pattern and remove it. When all changed files are ignored, a review can still run for a custom agent that explicitly includes one of those files. Deleted files are excluded. Kody skips a review when more than 2,000 files remain for the main review and custom agents combined. Use Ignored files to exclude generated or vendored folders.

Ignore title keywords

Kody skips pull requests whose title contains any of these keywords. Matching is case-insensitive, and each keyword can be up to 100 characters.

Base Branches

Which target branches get automatic reviews.
Empty, the default, means only the repository’s default branch. Add entries to review other branches. Once the list has entries, Kody reviews pull requests that match one of them, plus the default branch unless you exclude it with !.Entries are matched against the pull request’s target branch, except contains::Each entry can be up to 100 characters.

Other settings

  • Kody Language (Global only) — the language Kody uses in review responses.
  • Configure centralized config (Global only, in the page header) — keep review settings in one repository. See Centralized Config.

kodus-config.yml

Config Priority

You can keep review settings in a kodus-config.yml file at the root of a repository instead of the web app.
The file is ignored until you opt in. Kody never reads kodus-config.yml unless Prefer kodus-config.yml settings is on for the repository. Committing the file alone does nothing.Pick the repository in the scope picker at the top of the Code review group, open Code review → General, and turn on Prefer kodus-config.yml settings. The switch also appears at directory scope, but only the repository’s setting decides whether the file is read. It is a web setting: it cannot be turned on from the file. The sidebar then shows kodus-config.yml applied, kodus-config.yml not found or kodus-config.yml unavailable under the scope picker.
  • Kody reads the file from the root of the repository’s default branch.
  • The file is applied on top of Global and the repository’s web settings. Declare only the keys you want to change; omitted keys keep their web value.
  • Nested settings merge key by key. A list in the file, such as ignorePaths, replaces the list from the web.
  • A setting overridden on a directory scope takes precedence over the same setting in the repository’s file. See Config Inheritance & Overrides.
  • Unknown top-level keys are dropped without an error. If a setting seems to have no effect, check the spelling against the sample below.
  • customAgents and knowledge are not read from the file. The review comment says so; configure custom agents in the app.
  • Kody Rules settings and customMessages are not read from a repository’s own file. Set them in the app, or in a centralized config repository, where the same files can carry them.
The canonical source of the defaults is default-kodus-config.yml in the kodus-ai repository.