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
feat: add severity levels and suppressions to the layer validator #21
Every validator finding is an error today: the hook exits 2 and blocks Claude. Several planned checks are judgment calls that should be reported without blocking, for example a presentation package that does not depend on its own feature's domain, or a repository interface that returns another feature's model.
Add severity levels and a way to suppress a finding with a stated reason, so the stricter checks can land without making the hook noisy.
Requirements
Each rule has a severity: error or warning.
Errors keep the current behavior: exit 2, and the hook blocks the edit.
Warnings are printed but the exit code stays 0 when there are no errors.
Activity