Commit 10c41b5
fix(review): add 'none' strength for guards that produce no stdout output
A guard returning an empty dict (no stdout) was classified as 'soft',
causing test_works_as_is_hooks_have_soft_or_better to pass even for
a completely non-functional guard. Introduce 'none' strength when
result is empty so the meta-test correctly detects inactive guards.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent a555ea5 commit 10c41b5
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
289 | 291 | | |
290 | 292 | | |
291 | 293 | | |
| |||
0 commit comments