Repository navigation
v0.1.0
First release.
Added
codeveto reviewfor Git changes in four modes: the working tree against the trust anchor (default),--staged,--commit REFand--base REF [--head REF], with exit codes 0 clear, 1 vetoed, 2 incomplete.- 163 deterministic rules in 15 packs: secrets, security, agent, ci, deps, tests, python, js, go, rust, shell, docker, sql, config and hygiene; every rule ships bad and good examples, and the set was audited on 20.7 million lines of real code (
docs/precision.md). - Output formats: text, JSON (report schema v1), SARIF 2.1.0, Markdown, GitHub annotations and a one-line-per-finding agent format.
codeveto rulesandcodeveto explain RULE_ID..codeveto.tomlpolicy:fail_on, rule enable/disable and severity, path ignores, AI settings and limits; user config and--configfor trusted overrides.- Optional AI review with Claude (
codeveto[claude]) or any OpenAI-compatible endpoint (codeveto[openai]), with token and packet budgets, a deadline and an advisory or blocking policy. - Harness mode:
codeveto packetsandcodeveto verifylet a coding agent's own model do the AI step, with no API key or network. codeveto mcp, a stdio MCP server withreview,get_ai_packetsandsubmit_ai_reviewtools, bound to one repository and anchor at launch.codeveto hook install|uninstall --pre-commit|--pre-push, plus Claude Code and Codex recipes in the agents guide.- GitHub Action (
spink-dev/codeveto) forpull_request_target,merge_groupandpush, with a sticky summary comment, inline review comments, annotations and optional SARIF;codeveto init githubwrites a workflow pinned to the release commit. - Forgejo support:
codeveto init forgejowrites a hash-pinned workflow, andcodeveto publish forgejoposts a commit status and one sticky comment. codeveto publish github|forgejoto publish a report from CI.
Security
- Configuration is read only from the trust anchor; a change cannot apply its own
.codeveto.toml, and weakening it is a blocking, non-waivable finding. - Repository config can only tighten the policy or add specific path ignores; six non-waivable rules cannot be disabled or downgraded by it, and user config inside the reviewed repository is refused.
- Hardened Git intake: scrubbed environment, no repository config, hooks, attributes, filters or external diff drivers, hash-verified objects read through a private repository, and bounded sizes and time.
- Inline ignores apply only when trusted config enables them and the ignore is unchanged from the anchor; new ignores are reported as
proposed_ignoresand flagged. - AI packets are redacted before sending and sensitive files are never sent; every AI finding must quote a changed line exactly or it is rejected.
- Every repository- or model-derived string is sanitized before terminal, workflow-command or Markdown output.
- JSON from the repository, the model, the forge or an MCP client is parsed strictly and refused past 512 levels of nesting, the same way on every Python version.
- Anything that could not be checked makes the review
incomplete(exit 2) instead of clear.