Repository navigation
chore(gitignore): ignore the default purchase audit log - #2260
Conversation
The default --audit-log path is ./cudly-audit.jsonl. The log holds account IDs and purchase records, but unlike the *.csv reports it was not ignored, so a run from the repo root left it untracked and committable. Ignore cudly-audit*.jsonl anywhere in the tree (runs from cmd/ write it there too). Per the owner decision on #1162 the existing local files stay where they are. Closes #1162 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reached
This review includes 1 billable file and costs up to $0.25.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 21 minutes for your next included review. View limit details
Comment |
Independent review verdict: CLEAN at 8870074Reviewer: fresh Claude agent (Sonnet 5.5, high effort), not the author, with a cold brief. Coordinator: claude-cc-reviewer. What was checked
Scope Local verification Gate
|
Refs #1162
Summary
On 2026-10-17 the owner decided to leave the local customer-data files where they are and to make sure they are gitignored.
*.csvreports were already ignored (.gitignore:2). The purchase audit log was not: its default path is./cudly-audit.jsonl(cmd/main.go:149), and it holds account IDs and purchase records. A run from the repo root therefore left a sensitive file untracked, where it could be committed by accident.This PR adds
cudly-audit*.jsonlto.gitignore. The pattern is unanchored because a run fromcmd/writes the file there too.Evidence
git check-ignore -vmatches bothcudly-audit.jsonlandcmd/cudly-audit.jsonl.git ls-files -ci --exclude-standardis empty, so no tracked file becomes ignored, and no.jsonlfile is tracked.t.TempDir().*.jsonl, which would also hide future committed fixtures.🤖 Generated with Claude Code