Commit 9b822a4
docs(hooks): Use safer verification patterns for security hooks
- Changed test pattern from root path to /tmp/test (less scary)
- Added NOTE explaining the test is just JSON piped to stdin, not execution
- Added canary file test as alternative verification method
- Addresses user concern about testing destructive patterns on fresh installs
Fixes #262
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 5034e22 commit 9b822a4
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1154 | 1154 | | |
1155 | 1155 | | |
1156 | 1156 | | |
1157 | | - | |
1158 | | - | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
1159 | 1160 | | |
1160 | 1161 | | |
1161 | 1162 | | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
1162 | 1169 | | |
1163 | 1170 | | |
1164 | 1171 | | |
| |||
0 commit comments