v0.2.1
Hardening release. New defensive mechanisms around accidentally committing private data plus the public-release CI surface (CI, secret scan, automated release notes from CHANGELOG).
Added
codesage install-hooksnow installs apre-commithook when the repo containsscripts/leak-check.sh. The hook greps staged content against extended-regex patterns fromscripts/leak-patterns.txt(tracked, shared) and.git/info/leak-patterns.txt(local-only, per-developer) and blocks the commit on a match. Bypass withgit commit --no-verifywhen a false positive is intentional.scripts/leak-patterns.txtwith default patterns for private-key material and common token formats (AWS, GitHub PATs, Slack, Stripe live keys).- Pre-commit filename policy. The hook blocks any staged file whose name matches a secret/credential pattern:
.env*(except.example,.template,.sample),.secret,.secrets/,*.pem,*.p12,*.pfx,id_rsa*/id_dsa*/id_ecdsa*/id_ed25519*(except.pubpublic-key variants),credentials.json,service-account*.json. scripts/leak-check.shsupports--range A..Band--allmodes so the same script powers both the pre-commit hook and CI.
Changed
.gitignoreexcludes benchmark artifacts underbench/(results, corpora, history, scorecards) and common secret filenames (.env*,*.pem,id_rsa*,credentials.json, etc.) so local data never enters a commit by default. Template files (.env.example,.env.template,.env.sample) remain committable.