fix trufflehog hook on Windows MSYS2 #520
No reviewers
Labels
No labels
burndown-2026-06
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/agentic-os!520
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-485"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This changes the trufflehog catalog hook to write its exclude-path regex list to a real temp file before invoking trufflehog. That avoids the
/dev/fd/Npath that MSYS2 Git Bash hands to native Windows binaries, so the hook scans instead of failing before it starts.mktempplus an EXIT cleanup trap./dev/fd/....ward pre-commit-all;ward test -- tests/test_trufflehog_scan.py.closes #485
ward.workflow: pull-request-and-merge