You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[CLAUDE ROUTINE]: Test-coverage enhancement — per-policy tests for built-in policies with edge cases and params #156
__tests__/hooks/builtin-policies.test.ts does a nice job on registration and a happy-path per category, but the 30+ individual policies each have their own edge cases (quoted arguments, allow-lists, thresholdKb, ReDoS-ish inputs). A small test factory gets us parameterized per-policy coverage without ballooning the file count.
Builtin policies are the product. Subtle regressions (e.g. issue #49 — quoted args in block-env-files) historically slip through because each policy has only a narrow happy-path test. A test factory lets us cover:
Activity