Skip to main content
Write commands in a pull request comment. A command must start a line (leading spaces are fine) and is case-insensitive. You can also reply directly to any of Otto’s inline comments. Otto answers in the thread.

Examples

Review commands and otto.yml

/otto review and /otto re-review always run a full review, even if the repository’s otto.yml sets enabled: false or a skip rule matches the PR. The rest of otto.yml still applies: depth, instructions, ignored files, and the approval policy.

Replying to findings

When you reply to a finding, say what you did or why you disagree:
  • “Fixed in the latest commit.” Otto checks the current code and resolves the finding if it’s fixed.
  • “This is intentional because the caller already validates the input.” Otto weighs the evidence and stops raising the point on this PR if it agrees.
  • “Why is this a problem?” Otto explains the finding in more detail.
If your replies resolve every blocking finding, Otto approves the PR.