Making the prefix optional matched every English word as a path.
Now requires either a path prefix (./ ../ / drive:) or contains / or \.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix PATH_REGEX in validate.py: The regex was incorrectly matching
relative paths like 'src/file.js' as 'rc/' instead of the full path.
Changed to use non-capturing group with optional prefix.
- Add safety check in compress.py: Prevent silent overwriting of
existing .original.md backup files. Now aborts with a warning
instead of overwriting potentially important backup content.
- Add proper module initialization in __init__.py: Previously empty,
now includes __all__ exports and __version__ for proper imports.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>