chore(#2185): add scripts/pre-push hook to catch lint failures before CI
Wraps check-issue-refs.sh and check-comment-blocks.sh so a push that would fail the tracker-tag or comment-block CI jobs is caught locally before it reaches the remote — eliminating the fix-and-repush round-trip. Install once per clone: ln -sf ../../scripts/pre-push .git/hooks/pre-push Also adds a one-liner hint to CLAUDE.md so it surfaces in every agent's context at session start.
This commit is contained in:
parent
99347a24d9
commit
e60986cb76
2 changed files with 35 additions and 0 deletions
|
|
@ -129,3 +129,6 @@ The docs below own the details — this section just points at them.
|
|||
window:** → [`docs/turn-loop.md`](docs/turn-loop.md).
|
||||
- **Two-step spawn, approval flow, flake.lock validation:** →
|
||||
[`docs/approvals.md`](docs/approvals.md).
|
||||
- **Pre-push lint hook** (catches tracker-tag and comment-block failures
|
||||
before CI does — install once per clone):
|
||||
`ln -sf ../../scripts/pre-push .git/hooks/pre-push`
|
||||
|
|
|
|||
Loading…
Reference in a new issue