S7Safetyscope: coreweight: 1fix: manual
S7: No personal paths in source
Why this rule exists (Empirical Evidence)
Personal filesystem paths (/home/dev/, /home/xxx/) in source files reveal developer identity. Claude Code behavior: Glob tool defaults to ignoring .gitignore, making these paths visible to AI. AI copy-paste patterns spread leaked paths to new files.
Multi-Project Dev Discipline Audit (2026)
Anti-pattern (Triggers S7)
# Anti-pattern triggering S7 (No personal paths in source) # Rule or repository configuration violates this check without verification.
Compliant pattern (Passes S7)
# Compliant harness passing S7 (No personal paths in source) # Concrete, verifiable repository configuration backed by practical-audit, anthropic-265.
Verify locally or online
npm install -g agentlint-ai && agentlint check --check S7