Repository navigation
Description
Split out of #125, where the exec bits were restored rather than normalized to keep that branch comment-only.
Current state
git ls-tree -r master on the seven tracked shell scripts:
| Mode | Path |
|---|---|
100755 |
.devcontainer/claude-sandbox/init-firewall.sh |
100755 |
.devcontainer/init-plugins.sh |
100644 |
claude-bun/.devcontainer/init-firewall.sh |
100644 |
claude-code/.devcontainer/init-plugins.sh |
100755 |
claude-code/.devcontainer/patch-playwright-mcp.sh |
100755 |
ralphex-fe/init-docker.sh |
100755 |
ralphex-fe/init.sh |
Five 755, two 644, with no rule distinguishing them — the two 644 files are a init-plugins.sh and a init-firewall.sh whose 755 counterparts sit in sibling directories.
Why it currently doesn't matter
No script in this repo is executed via its committed exec bit:
- Both
init-plugins.share templates that consumers invoke asbash .devcontainer/init-plugins.shfrompostCreateCommand. ralphex-fe/init.shandinit-docker.shareCOPY'd and then explicitlychmod +x'd atralphex-fe/Dockerfile:154.patch-playwright-mcp.shisCOPY'd to/usr/local/bin/patch-playwright-mcpand made executable in the image.init-firewall.shis invoked by the devcontainer'spostCreateCommand/initializeCommandchain, not by path execution.
So this is cosmetic today. It became visible because #125 flipped two of them 755 → 644 without anyone noticing — the mode change is invisible to a "did any content line change" review, and git diff only shows it in the header.
Proposal
Pick one rule and apply it repo-wide:
755everywhere — matches the majority and matches intuition for a file with a shebang.644everywhere — arguably more honest, since nothing depends on the bit and every consumer either prefixesbashorchmod +xs during build.
Either is fine; the value is having a rule. Worth a line in .claude/CLAUDE.md under Code Style once chosen, so it doesn't drift again.
Optional follow-up: a git config core.fileMode note, or a CI check asserting the modes, if this recurs.
Activity