Problem
S003 scans raw lines for secret patterns. If a CLAUDE.md documents secret patterns as examples of what NOT to commit, S003 will flag them as false positives.
## Constraints
- Never commit keys like `sk-abc123...` or `ghp_...`
Proposal
Same approach as S005 — skip lines inside fenced code blocks. Security rules should err on the side of caution, so this could be opt-in via a future --strict flag that checks code blocks too.
Acceptance Criteria
Labels
enhancement, rule:S003
Problem
S003 scans raw lines for secret patterns. If a CLAUDE.md documents secret patterns as examples of what NOT to commit, S003 will flag them as false positives.
Proposal
Same approach as S005 — skip lines inside fenced code blocks. Security rules should err on the side of caution, so this could be opt-in via a future
--strictflag that checks code blocks too.Acceptance Criteria
--strictflag for future versionsLabels
enhancement, rule:S003