Mirrored from https://github.com/davoodmehraban89/Aram.git
Synced Dec 4, 10:30 UTC
Fix: exclude .secrets.baseline from its own secret scan
The baseline stores hashed_secret values and "hashed_secret" keys, which are secret-shaped by construction: the moment the file became tracked, every scan reported 22 self-referential findings (caught by the first CI run of PR #99; the pre-commit step of the same run passed). The gate now scans with --exclude-files '^\.secrets\.baseline$'; the documented regeneration command carries the same exclusion. PROJECT_LOG entry updated (same-PR doc). Verified: gate 0 new (18 baselined) on the tracked-baseline tree; negative test (staged fake secret) still exits 1 with file:line; pre-commit --all-files all hooks pass with zero modifications; git diff --check clean. Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>