Baselines and suppressions
Establish a baseline
Section titled “Establish a baseline”Review the existing findings before recording them:
kaev check --verbosekaev baselinegit add .kaev-baseline.jsongit commit -m "chore: establish KAEV baseline"Future checks show and gate findings that are not recorded in the baseline. Fingerprints contain finding identity, not source code.
Suppress an intentional finding
Section titled “Suppress an intentional finding”Use .kaevrc.json when a specific rule or file pattern has been deliberately accepted:
{ "version": 1, "suppressions": [ { "ruleId": "KAEV-PERF-001", "file": "webapp/local/**", "reason": "Dataset is contractually limited to 20 local records", "expires": "2027-03-31" } ]}reason is mandatory. file is optional and supports *, **, and ? against project-relative / paths. expires is optional, uses YYYY-MM-DD, and stops matching automatically after that date. Commit baseline and configuration files so exceptions are reviewed like code.
Reasons are mandatory. Expired suppressions automatically stop matching. Commit policy files so changes receive normal code review.