Repository navigation
docs(guardrails): drop the stale one-stdin-job claim from hook comments - #9661
Conversation
Lefthook 2.2.2 caches stdin and replays it to every use_stdin job (internal/run/controller/utils/cached_reader.go), so "only one job gets stdin" no longer holds. The comments now state what each job does without restating lefthook's stdin behaviour. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed No security issues found in this pull request. The diff changes comments and docs only:
critical-findings: 0 |
|
claude-review reviewed No findings. The diff only changes comments and docs.
|
No related issue: owner-approved follow-up from the git-hooks unify handoff (finding 4)
Summary
Two hook comments said lefthook gives stdin to at most one
use_stdinjob. Lefthook 2.2.2 caches stdin and replays it to every job (cached_reader.go, controller.go:55-57), so the claim is stale.Fix
lefthook.yml: the check-affected comment now says the job reads no stdin, which is why it judges HEAD.plugins/guardrails/git-hooks/reference-verify.sh: the parenthetical restating lefthook's stdin behaviour is gone; the fallback description stays.Verification
Related
N/A
🤖 Generated with Claude Code