Development record
launch's hook-compliance gate treats a plugin-root file that a hook sources (. "$CLAUDE_PLUGIN_ROOT/x") or only reads as executed directly, so it judges that file's mode and can warn that a sourced file is not executable, the same false-positive shape iss-2610160608456302 fixed for files handed to sh or bash. No abcd hook sources or reads a plugin-root file today. Found while fixing iss-2610160608456302, 2026-10-16.
issueopenminoriss-2610160858232720
launch's hook-compliance gate treats a plugin-root file that a hook sources (. "$CLAUDE_PLUGIN_ROOT/x") or only reads as executed directly, so it judges that file's mode and can warn that a sourced file is not executable, the same false-positive shape iss-2610160608456302 fixed for files handed to sh or bash. No abcd hook sources or reads a plugin-root file today. Found while fixing iss-2610160608456302, 2026-10-16.
Frontmatter
| id | iss-2610160858232720 |
|---|---|
| type | issue |
| lifecycle | open |
| severity | minor |
.abcd/work/issues/open/iss-2610160858232720-launch-s-hook-compliance-gate-treats-a.md
open on GitHub ↗ · commit history ↗
mentions1
- iss-2610160608456302launch's hook-compliance gate warns that hooks/*.sh are not executable in the payload (mode 100644), but hooks.json invokes each as `sh "<path>"`, so the mode is irrelevant; the warning is a false positive (unchanged since v0.14.2)