You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Say in GOVERNANCE.md That the Husky Hook Also Passes the Staged Paths to the Prose Gate #3820
GOVERNANCE.md line 299, in the "Running the Linters Locally (Known-Working Invocations)" hook bullet, says the pre-commit framework "passes the gate the paths pre-commit names instead of the tree". That contrasts it with a plain git hook, which by implication scans the whole tree.
The burndown/1657-staged-prose-hook change fixes #1657 and #3443. It makes the Husky hooks, .husky/pre-commit and catalog/snippets/husky/pre-commit, pass the staged paths too. They come from git diff --cached --name-only --diff-filter=ACMRT -z, filtered to regular files, with --skip-generated. So the contrast no longer holds. Another lane held GOVERNANCE.md when that change was made, so it could not edit the file.
Fix: one clause saying the Husky hook also passes the staged paths, with --skip-generated. The next sentence stays true: under a plain git hook a partially staged file is judged on all of its edits. That holds because the hook still reads each named file's working-tree content.
Lifting deferred: the deferral was only that another lane held this fix's file. Checked live on 2026-11-23: no open pull request and no branch other than origin/feature/wsl-2299 holds any file. The outcome is already stated in the body, so the issue returns to the ranking.
Activity
Scope the Husky Prose Gate to Staged Paths and Skip Generated Trees b…
Fix Adjacent Docs and Review Tails in the Open Pull Request Instead o…
ptr727 commentedon Nov 23, 2026
Backlog burndown claim (round 5, 2026-11-23): branch
burndown/merge-gate-and-test-suite-rules.Predicted files: GOVERNANCE.md, .agents/skills/pr-review-conduct/SKILL.md (plus build_dist-generated include regions).
Group issues: #2280 #1298 #3820.
ptr727 commentedon Nov 23, 2026
Lifting
deferred: the deferral was only that another lane held this fix's file. Checked live on 2026-11-23: no open pull request and no branch other thanorigin/feature/wsl-2299holds any file. The outcome is already stated in the body, so the issue returns to the ranking.Require the Whole Test Suite Before a Push, Say the Husky Hook Passes…