Commit Graph

5 Commits

Author SHA1 Message Date
e8b19a87f3 sync: auto-sync from GURU-KALI at 2026-05-25 05:02:02
Author: Mike Swanson
Machine: GURU-KALI
Timestamp: 2026-05-25 05:02:02
2026-05-25 05:02:03 -07:00
e5c31f86e5 sync: auto-sync from GURU-KALI at 2026-05-24 16:37:00
Author: Mike Swanson
Machine: GURU-KALI
Timestamp: 2026-05-24 16:37:00
2026-05-24 16:37:00 -07:00
6d065cf3ee feat(hooks): block backslashed Windows-path redirects in bash
Adds a PreToolUse(Bash) hook (block-backslash-winpath.sh) that rejects commands
redirecting/writing to a backslashed Windows drive path (e.g. > D:\claudetools\
.claude\current-mode). On Git Bash those strip the backslashes and PUA-substitute
':' (U+F03A), creating garbled junk files that have repeatedly polluted the repo.
The hook quote-strips the command first, so the pattern appearing inside strings
or commit messages does not false-trigger; Windows-tool args (icacls, pwsh -File)
and forward-slash/relative paths pass. Wired into settings.json so every machine
picks it up on /sync. Pairs with the sync.sh staging guard.

Also: CLAUDE.md note on the Windows mode-write path; record jq install on GURU-KALI.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-24 10:38:14 -07:00
19a31ec4c4 sync: auto-sync from GURU-KALI at 2026-05-24 09:33:07
Author: Mike Swanson
Machine: GURU-KALI
Timestamp: 2026-05-24 09:33:07
2026-05-24 09:33:08 -07:00
4383f9eca5 sync: auto-sync from GURU-KALI at 2026-05-24 06:54:59
Author: Mike Swanson
Machine: GURU-KALI
Timestamp: 2026-05-24 06:54:59
2026-05-24 06:54:59 -07:00