kami 54245f188a hooks: branch guard, 300-line cap, task ref, auto PR (V-445)
Four git hooks, tracked in .githooks and wired with core.hooksPath so a
fresh clone gets them with one config line.

pre-commit refuses master and refuses more than 300 changed lines in
non-markdown files. Markdown is exempt because docs land as one batch.
commit-msg requires (V-<id>), not (#<id>), because Gitea autolinks # to
its own issues and that is the wrong tracker. post-checkout records the
parent branch, since git does not track where a branch was cut from and
the PR needs the base. pre-push opens the PR with tea and never blocks.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-02 03:18:48 +04:00
2026-08-02 02:37:45 +04:00
2026-07-03 00:32:48 +02:00
S
Description
No description provided
70 MiB
Languages
Go 97.1%
HTML 0.9%
Shell 0.6%
CSS 0.5%
Makefile 0.3%
Other 0.6%