[1.2.1] - 2026-05-17
Hotfix for SessionStart and Stop hooks failing with Permission denied on
fresh v1.2.0 installs.
Fixed
- Hook scripts shipped without executable bit — three hooks
(cleanup-review-registry.sh,check-template-drift.sh,
suggest-pipeline-stop.sh) were stored in the v1.2.0 tree at mode100644
instead of100755, causing the Claude Code plugin runtime to fail with
Permission deniedon direct execve. Five additional non-hook scripts shared
the same defect but were invoked viabash <path>wrappers and unaffected
at the user level. Root cause: the release sync workflow ran with
core.fileMode = false(inherited from the WSL/NTFS development repo via
worktree config sharing), causinggit addto stage new.shfiles at the
default mode100644. (GitHub issue #1) sync-to-public.shmode preservation — the publish script now scans
every tracked.shfile in the staging worktree and calls
git update-index --chmod=+xon each, bypassingcore.fileModeentirely.
Idempotent and safe under any local git config.
Upgrade notes
For users on a fresh v1.2.0 install affected by the hook failure, upgrading
to v1.2.1 via /plugin update the-bulwark@qball-inc (or a fresh install) will
restore correct hook execution. No project-level changes required.