fix: persist +x bit on deploy scripts + hook scripts

Git on Windows was stripping the executable bit every time a script
got edited, which broke the dedup-watcher cron (~100s of 'Permission
denied' entries in dedup-watcher.log since 7A deploy) and silently
disabled the auto-triage-watcher, batch-extract, graduation-watcher,
and hourly-extract cadences whenever they were touched from Windows.

Used `git update-index --chmod=+x` to store the bits in the index so
subsequent deploys preserve them regardless of the editor platform.

No functional changes; the scripts themselves are unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-21 15:39:26 -04:00
parent 83b4d78cb7
commit 6a2471d509
7 changed files with 0 additions and 0 deletions

0
deploy/dalidou/auto-triage-watcher.sh Normal file → Executable file
View File

0
deploy/dalidou/batch-extract.sh Normal file → Executable file
View File

0
deploy/dalidou/dedup-watcher.sh Normal file → Executable file
View File

0
deploy/dalidou/graduation-watcher.sh Normal file → Executable file
View File

0
deploy/dalidou/hourly-extract.sh Normal file → Executable file
View File