Baseline, Diff, and Verify
CODYGIENE supports baseline snapshots for tracking quality changes over time. These features are functional but considered experimental for the public test release.
Baseline
Save a scan as a baseline snapshot:
codygiene baseline
codygiene baseline ./my-repo
codygiene baseline --baseline-path ./codygiene-baseline.json
The baseline file contains finding fingerprints and scores at the time of the snapshot.
Diff
Compare the current scan against a baseline:
codygiene diff
codygiene diff --fail-on new-high
The diff shows:
- Fixed · findings in the baseline that no longer exist
- New · findings in the current scan not in the baseline
- Regressions · findings that changed for the worse
- Score changes · per-category score deltas
--fail-on new-high exits non-zero if new high/critical findings or
regressions are found.
Verify
Verify a specific finding against the current scan:
codygiene verify CH-SEC-010#4F92
codygiene verify CH-SEC-010#4F92 ./my-repo
Shows whether the finding still exists, its current status, confidence, and score impact.
Status
These features are functional but may change in future releases. For the public test period, use them with the understanding that the baseline format may evolve.
Spotted something wrong or missing? Send feedback