Documentation menu

Documentation

Install CodeVeto, review changes locally, and make it the required check on pull requests.

CodeVeto reviews a Git change with deterministic rules first and an optional AI pass second. It exits 0 when the change is clear, 1 when a finding blocks it and 2 when it could not check everything. The change under review can never configure or switch off its own review.

Start

  • Getting startedInstall CodeVeto, review your first change and read the verdict.

Reference

  • Command referenceEvery command and flag of the codeveto CLI, its exit codes and the environment variables it reads.
  • ConfigurationThe .codeveto.toml keys, where configuration is read from, what a repository may and may not set, inline ignores and limits.
  • Output formatsThe six --format renderings of a review, the JSON report and its schema, and deterministic output.
  • How rules workChanged lines only, the introduced-only filter, severities, file classes and the rule packs, and how to propose a new rule.

Integrations

  • Reviewing in CIMake CodeVeto the required check on every pull request, with the GitHub Action or the Forgejo workflow.
  • Local and agentsGit hooks, Claude Code and Codex hook recipes, and the MCP server, all calling CodeVeto with a trust anchor captured before the agent starts.
  • AI reviewThe optional model pass, what it sends and never sends, how its claims are verified, and how it affects the verdict and the bill.

Background

  • Trust modelWhy configuration is read at the trust anchor, where the anchor comes from, and what a change can and cannot do to its own review.
  • Precision and performanceHow often CodeVeto's rules fire on real code, how many of those findings are right, and how fast the rules run.