Project rules agents can follow and checks you can inspect#

Veritas connects your repository's policies to agent guidance and existing verification commands. Define a rule once, see it before an edit, and check its evidence afterward.

npm install -D @kontourai/veritas
npx --no @kontourai/veritas init --evidence-check "npm test"
npx --no @kontourai/veritas plan src/example.ts
npx --no @kontourai/veritas readiness --working-tree

Use a real verification command and review the generated configuration before running checks. Requires Node.js 22 or newer and Git.

The basic loop#

  1. Set up: connect existing tests or linters and choose one useful policy.
  2. Plan: show which rules and checks apply before editing. No checks run.
  3. Check readiness: execute configured checks and explain unmet requirements.

Your team decides whether to merge. A readiness result reports the configured evidence; it does not certify code correctness or replace review.

Set up Veritas · Try a concrete policy

Start small#

Keep useful advice at Guide. Use Require when a policy's detector is reliable and you want unmet evidence to fail readiness. A companion test file, a syntax detector and a behavioral test each prove different properties.

The starter setup can fall back to a command that only verifies Node runs. Replace it with a real project check before treating readiness as useful project evidence.

Add capabilities when you need them#

  • Code hygiene: connect policies to linters and tests, including the optional Veritas Oxlint pack.
  • Agent integrations: deliver guidance through supported hooks or explicit commands.
  • CI integration: enforce checks and retain readiness evidence.
  • Policy approval: protect standards and configure approval-reference requirements.
  • Feedback: review noisy or missing policies after real usage.

The CLI works independently. The Governance Kit is an optional way to distribute workflows and skills through Flow Agents. Surface supplies internal evidence primitives; normal users do not need to configure it.

Browse documentation · CLI reference · npm · GitHub

Documentation

Start Here

Concepts

Guides

Start a new projectFollow Set up Veritas for the installation, configuration review and approval steps. For a new repository, keep the initial policy set small: Brownfield AdoptionUse this guide when adding Veritas to a repo that already has custom AI instructions, guidance folders, CI contracts, or verification scripts. Tune Veritas For Your TeamTune Veritas by improving your repo standards, not by forking the product or adding one-off scripts for every complaint. AttestationAn attestation is a recorded assertion, citing a human approval reference, that something was verified, accepted, approved, or reviewed. It is authority-backed only when that reference was resolved t… Agent Runtime IntegrationsVeritas is intentionally agent-agnostic. These integration notes show where the product fits when the runtime changes. Deep IntegrationThe generic Veritas contract stays a shell command: run npx --no @kontourai/veritas readiness, read the feedback, fix the issue, and rerun. A deep integration adds runtime hooks and session log captu… Veritas Governance KitThis repository is both the home of the standalone @kontourai/veritas engine and a root-valid Flow Kit repository. Flow Agents installs the kit from Git; the kit then helps a maintainer set up and op… Claim AuthoringClaims are authored once in veritas.claims.json, committed to the repository, and stable across runs. Veritas loads them at run time and collects evidence against those stable claim IDs. Surface deri… Veritas Plugin AuthoringVeritas plugins import evidence from tool-owned output files and attach that evidence to authored claims in veritas.claims.json. Standards RecommendationsVeritas should help teams improve their repo standards over time. Product language calls the underlying concepts Standards Feedback and Standards Recommendations. Fallow IntegrationUse this guide when a JavaScript or TypeScript repo wants Veritas to record Fallow codebase-intelligence results as external-tool evidence. Operational Readiness SummariesFor a consumer repository, install its locked dependencies and run the installed CLI against an explicit change scope: Migration GuideThe public loader accepts both legacy { version, name, rules } standards and the resource envelope { apiVersion: "veritas.kontour.ai/v1alpha1", kind: "RepoStandards", metadata: { name }, spec: { requ… Code hygiene with executable standardsVeritas connects repository requirements, agent guidance and the evidence for a change. Existing linters, tests and reviewers remain responsible for detecting violations. A readiness result means the…

Reference

Contribute

Developer ArchitectureThis guide is the Veritas-local map for maintainers and integrators who need to understand how repo governance evidence moves through Veritas and into adjacent Kontour systems. It is docs-only: it do… Engine / Surface SeamCurrent contract: the CLI and @kontourai/veritas/engine are supported entry points. This document also retains the historical split plan and closeout evidence; source line numbers and staged Slice/St… Schema Evolution PolicyVeritas ships multiple JSON schemas because Repo Maps, Repo Standards, evidence artifacts, standards-feedback artifacts, and benchmark examples are all part of the product contract. Terminology DecisionsThis document records durable terminology decisions that keep the product language stable while implementation names and compatibility paths evolve. RoadmapStatus: historical planning record. This page retains earlier design intent, not a current list of shipped or pending capabilities. Use the CLI reference, setup guide and current audit for supported… Standards Feedback RoadmapStatus: historical planning record. This page retains earlier design intent, not a current list of shipped or pending capabilities. Use the CLI reference, setup guide and current audit for supported… Publication infrastructureThis is a maintainer reference. For the normal release procedure, use Releasing Veritas. Releasing VeritasReleases are automated with release-please: merges to main accumulate into a release PR; merging it tags the version, and the release workflow then triggers the publish workflow via workflow_dispatch…

Project

Source: docs/site-index.md