Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 14:10
· 467 commits to main since this release

First release.

Added

  • codeveto review for Git changes in four modes: the working tree against the trust anchor (default), --staged, --commit REF and --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 rules and codeveto explain RULE_ID.
  • .codeveto.toml policy: fail_on, rule enable/disable and severity, path ignores, AI settings and limits; user config and --config for 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 packets and codeveto verify let a coding agent's own model do the AI step, with no API key or network.
  • codeveto mcp, a stdio MCP server with review, get_ai_packets and submit_ai_review tools, 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) for pull_request_target, merge_group and push, with a sticky summary comment, inline review comments, annotations and optional SARIF; codeveto init github writes a workflow pinned to the release commit.
  • Forgejo support: codeveto init forgejo writes a hash-pinned workflow, and codeveto publish forgejo posts a commit status and one sticky comment.
  • codeveto publish github|forgejo to 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_ignores and 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.