Development record
When a plugin manifest sweeps a directory of hooks ("hooks": "./hooks/"), each script there becomes a manifest entry that wins dedupeEntries, and launch's hook-compliance gate skips every entry that is not a hook-command entry, so a 0644 script that hooks.json executes directly is never judged. The same at 2347eb6c3 and after the iss-2610160608456302 fix; pre-existing.
issueopenminoriss-2610160924043423
When a plugin manifest sweeps a directory of hooks ("hooks": "./hooks/"), each script there becomes a manifest entry that wins dedupeEntries, and launch's hook-compliance gate skips every entry that is not a hook-command entry, so a 0644 script that hooks.json executes directly is never judged. The same at 2347eb6c3 and after the iss-2610160608456302 fix; pre-existing.
Frontmatter
| id | iss-2610160924043423 |
|---|---|
| type | issue |
| lifecycle | open |
| severity | minor |
.abcd/work/issues/open/iss-2610160924043423-when-a-plugin-manifest-sweeps-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)