Name script/check as the gate repo-type verifications belong in #50

Closed
clawbot wants to merge 1 commits from policy/name-the-gate-for-repo-type-checks into main

1 Commits

Author SHA1 Message Date
d0668adc09 policy: name script/check as the gate repo-type verifications belong in
All checks were successful
check / check (push) Successful in 16s
The rule put repo-type-specific extras such as `go mod tidy`
verification in `script/precommit`. `script/precommit` is one caller of
`script/check`, not the gate: a check placed there alone runs only for
contributors who installed the hook, and never in CI. Naming
`script/check` instead puts the check on every path that already funnels
through it, including the Dockerfile build step and therefore CI, with
the pre-commit hook inheriting it.

Records the read-only constraint that placement implies, since
`make check` must not modify files.
2026-08-20 03:06:31 +00:00