sync: auto-sync from GURU-BEAST-ROG at 2026-05-25 13:17:49
Author: Mike Swanson Machine: GURU-BEAST-ROG Timestamp: 2026-05-25 13:17:49
This commit is contained in:
@@ -125,3 +125,22 @@ another machine has a hyphenated `git config user.name`.
|
||||
("Web Research / Bot-Blocked Sites").
|
||||
- Coord reply id: `ac1e3767-f085-4c83-8d74-fbd9cc821d63` (to GURU-5070/claude-main).
|
||||
- Extension id `fcoeoabgfenejglbffodgkkbkcdhcgfn`; native host `com.anthropic.claude_browser_extension`.
|
||||
|
||||
---
|
||||
|
||||
## Update: 13:17 PT — harden sync.sh purge_garbled_paths (locale fix)
|
||||
|
||||
During the prior save's sync, `purge_garbled_paths()` printed `grep: -P supports only unibyte and
|
||||
UTF-8 locales` — its `grep -P` (PCRE) guard refuses to run on BEAST's Git Bash locale, so the
|
||||
garbled-path protection was a silent no-op here.
|
||||
|
||||
**Fix:** switched the detector from PCRE (`grep -qaP`) to POSIX ERE (`grep -qaE`), which has no
|
||||
such locale restriction, keeping `LC_ALL=C` for byte-wise matching and the **exact same byte set**
|
||||
(control chars / `\` / `:` plus the MSYS2 PUA substitutes `0xEE 0x80-0xBF` and `0xEF 0x80-0xA3`).
|
||||
Pattern built via `$'...'`. No behavior change other than that it now actually runs.
|
||||
|
||||
Verified on BEAST: `bash -n` clean; PUA-garbled name (U+F03A) detected; literal `:` detected;
|
||||
normal repo paths not flagged; no `-P` locale error. Applies to all machines on next sync (sync.sh
|
||||
is shared).
|
||||
|
||||
- File: `.claude/scripts/sync.sh` — `purge_garbled_paths()` grep line + comment.
|
||||
|
||||
Reference in New Issue
Block a user