hook-regex-word-boundary-false-positives-on-backups

Regex using \b word-boundary before .md filenames incorrectly matches MEMORY.md inside MEMORY.md.bak.123 because . is a non-word char, triggering false positive blocks. Additionally, \b(rm|mv).*FILE matches rm FILE inside quoted echo strings. Fix requires two anchors: CMD_START = r'(?:^|[;&|(]\s*)‘(rm must be at shell command start) andNOT_BACKUP = r’(?![.\w])’` (filename must not be followed by extension chars).