Files
CLIProxyAPI/internal/store
Luis Pater e49b1cc76f feat(store): add guard for watcher-originated auth file deletions
- 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
2026-07-27 07:05:19 +08:00
..