From 968a39bb3978e6ad499447ce173e2265dee772a2 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 30 May 2026 14:18:44 -0500 Subject: fix(startup): exclude Python cache from script sync and restore script exec bits From health's handoff: the startup =.ai/scripts/= sync was dragging pytest build artifacts into every consuming project. =rsync -a= copies by disk presence, not git status, so the =__pycache__/= and =.pytest_cache/= that rulesets' own pytest leaves in =claude-templates/.ai/scripts/tests/= rode along to each project's tree even though the root =.gitignore= already keeps them out of rulesets' commits. Phase A's scripts rsync now excludes =__pycache__=, =.pytest_cache=, and =*.pyc=. A project that already received the cache has to remove it once by hand, since =--delete= leaves excluded paths in place. I noted that in the startup doc. Health also flagged that =inbox-send.py= kept needing a manual chmod. The cause wasn't rsync dropping the bit. Four shebang scripts (=inbox-send.py=, =cj-scan.py=, =cj-remove-block.py=, =eml-view-and-extract-attachments.py=) were committed mode 100644, so rsync faithfully copied the wrong mode. I set the exec bit on all four so the synced copies are runnable. --- .ai/scripts/cj-remove-block.py | 0 .ai/scripts/cj-scan.py | 0 .ai/scripts/eml-view-and-extract-attachments.py | 0 .ai/scripts/inbox-send.py | 0 4 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .ai/scripts/cj-remove-block.py mode change 100644 => 100755 .ai/scripts/cj-scan.py mode change 100644 => 100755 .ai/scripts/eml-view-and-extract-attachments.py mode change 100644 => 100755 .ai/scripts/inbox-send.py (limited to '.ai/scripts') diff --git a/.ai/scripts/cj-remove-block.py b/.ai/scripts/cj-remove-block.py old mode 100644 new mode 100755 diff --git a/.ai/scripts/cj-scan.py b/.ai/scripts/cj-scan.py old mode 100644 new mode 100755 diff --git a/.ai/scripts/eml-view-and-extract-attachments.py b/.ai/scripts/eml-view-and-extract-attachments.py old mode 100644 new mode 100755 diff --git a/.ai/scripts/inbox-send.py b/.ai/scripts/inbox-send.py old mode 100644 new mode 100755 -- cgit v1.2.3