Enforce the checkable rules in a hook, with one override marker that larv-review's overrides pass rules on, and drop them from CLAUDE.md #241

Merged
lilleman merged 17 commits from hook-rules into main 2026-10-13 00:11:19 +02:00
Owner

Item 96. bin/rule-hook, a PreToolUse hook in settings.json, blocks commit messages that are not one -m line, Claude or Anthropic attribution, images short of a full patch version, Actions pinned to anything but a semver tag, ignore-file blocks an edit leaves unsorted, and commits while todo.md fails rank_todo.py --check. # rule-override <rule>: <reason> overrides one rule. larv-review's new overrides pass rules on each override before stability. CLAUDE.md keeps those rules only where the hook cannot check them. bin/shell_command.py is now the one shell parser, shared with reading-cost.

Rule overrides: none.

Item 96. `bin/rule-hook`, a PreToolUse hook in `settings.json`, blocks commit messages that are not one `-m` line, Claude or Anthropic attribution, images short of a full patch version, Actions pinned to anything but a semver tag, ignore-file blocks an edit leaves unsorted, and commits while todo.md fails `rank_todo.py --check`. `# rule-override <rule>: <reason>` overrides one rule. larv-review's new overrides pass rules on each override before stability. `CLAUDE.md` keeps those rules only where the hook cannot check them. `bin/shell_command.py` is now the one shell parser, shared with reading-cost. Rule overrides: none.
lilleman added 1 commit 2026-10-12 23:06:25 +02:00
lilleman added 6 commits 2026-10-12 23:26:10 +02:00
lilleman added 1 commit 2026-10-12 23:29:05 +02:00
lilleman added 1 commit 2026-10-12 23:45:39 +02:00
lilleman added 2 commits 2026-10-12 23:50:42 +02:00
lilleman added 2 commits 2026-10-12 23:53:48 +02:00
lilleman added 2 commits 2026-10-13 00:03:39 +02:00
lilleman added 1 commit 2026-10-13 00:08:50 +02:00
lilleman added 1 commit 2026-10-13 00:10:45 +02:00
lilleman changed title from WIP: Enforce the checkable rules in a hook, with one override marker a judge rules on, and drop them from CLAUDE.md to Enforce the checkable rules in a hook, with one override marker that larv-review's overrides pass rules on, and drop them from CLAUDE.md 2026-10-13 00:11:15 +02:00
lilleman merged commit 72fd688d81 into main 2026-10-13 00:11:19 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lilleman/claude-config#241