- Wire core.hooksPath → circuitforge-hooks/hooks via install.sh - Add .gitleaks.toml extending shared base config with Peregrine-specific allowlists (Craigslist/LinkedIn IDs, localhost port patterns) - Remove .githooks/pre-commit (superseded by gitleaks hook) - Update setup.sh activate_git_hooks() to call circuitforge-hooks/install.sh with .githooks/ as fallback if hooks repo not present
11 lines
456 B
TOML
11 lines
456 B
TOML
# peregrine/.gitleaks.toml — per-repo allowlists extending the shared base config
|
|
[extend]
|
|
path = "/Library/Development/CircuitForge/circuitforge-hooks/gitleaks.toml"
|
|
|
|
[allowlist]
|
|
description = "Peregrine-specific allowlists"
|
|
regexes = [
|
|
'\d{10}\.html', # Craigslist listing IDs (10-digit paths, look like phone numbers)
|
|
'\d{10}\/', # LinkedIn job IDs in URLs
|
|
'localhost:\d{4,5}', # port numbers that could trip phone pattern
|
|
]
|