sloproxy

feat(store): add guard for watcher-originated auth file deletions master

- Implemented `guardWatcherAuthRemovalLocked` to prevent unauthorized watcher-triggered deletions of tracked auth files. - Updated `PersistAuthFiles` to handle redundant watcher events safely after intentional deletions. - Improved error handling for git tree and repository inspections during watcher removal validation. - Enhanced `commitAndPushLocked` logic to perform additional checks before committing changes. - Added comprehensive tests to validate watcher-originated deletion safeguards and correct behavior for explicit deletions. Closes: #4438


+255 -16
2 changed files