Run brew lgtm on stop in AI hooks

- replace the per-edit `style --changed --fix` and `typecheck`
  `PostToolUse` hooks and the `tests --changed` `Stop` hook with a
  single `./bin/brew lgtm` on `Stop` in `.claude/settings.json`
- add a matching Codex `Stop` hook in `.codex/hooks.json`, unignoring
  `.codex` like `.claude`, so both agents run the same check
- `brew lgtm` runs typecheck, style and the relevant tests together
This commit is contained in:
Mike McQuaid
2026-06-10 13:13:51 +01:00
parent 3881fdf951
commit b8d19870cf
3 changed files with 17 additions and 16 deletions
+1
View File
@@ -219,6 +219,7 @@
# Unignore AI configuration
!/.cursor
!/.claude
!/.codex
# Ignore local AI configuration
/.claude/settings.local.json