pre-bash-destructive.mjs held the last three probe (e) hits: the pipe-to-shell and T8 rule names and one comment. The names are now concatenated from fragments and the comment is a description; the string the hook prints is unchanged, and tests/golden/reference-run.json pins it. Patterns untouched. Applied by the operator (git apply): the installed plugin's path guard blocks Edit/Write on this file and asks the user to make the change. Measured: hook stderr for a pipe-to-shell and a T8 command is byte-identical before/after (cmp); av-surface a=0 a2=0 b=0 c=0 d=0 e=0; suite 2269 / 2263 pass / 0 fail / 6 skip, exit 0; golden unchanged (109/7/4, reference run 61/61). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| post-mcp-verify.mjs | ||
| post-session-guard.mjs | ||
| pre-bash-destructive.mjs | ||
| pre-compact-scan.mjs | ||
| pre-edit-secrets.mjs | ||
| pre-install-supply-chain.mjs | ||
| pre-prompt-inject-scan.mjs | ||
| pre-write-pathguard.mjs | ||
| update-check.mjs | ||