Queue-North-Website/docs
Ripley 8e186fdf3f chore: port the existing pre-push hook into .githooks before activating hooksPath
This checkout already had a pre-push in .git/hooks. Setting core.hooksPath
redirects every hook to .githooks/, so activating the template's hooks would
have silently stopped it running — which is the exact failure the versioned
hooks directory exists to prevent, applied to a hook.

Kept its two working-tree checks: a push that leaves edits behind is how docs
end up one commit adrift of the code they describe.

Dropped its third. It refused whenever the branch was ahead of its remote —
the precondition for pushing at all — so it fired on every real push and its
only advice was to re-run with --no-verify. A guard that can never pass teaches
people to bypass the two beside it that can. It did exactly that on the push of
the adoption commits.

Both remaining checks proven to refuse a dirty tree and pass a clean one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-18 01:22:33 -05:00
..
architecture docs: adopt project template, retire the markdown backlog 2026-08-18 01:21:13 -05:00
data docs: adopt project template, retire the markdown backlog 2026-08-18 01:21:13 -05:00
design docs: adopt project template, retire the markdown backlog 2026-08-18 01:21:13 -05:00
history docs: adopt project template, retire the markdown backlog 2026-08-18 01:21:13 -05:00
planning docs: adopt project template, retire the markdown backlog 2026-08-18 01:21:13 -05:00
qa docs: adopt project template, retire the markdown backlog 2026-08-18 01:21:13 -05:00
security docs: adopt project template, retire the markdown backlog 2026-08-18 01:21:13 -05:00
DOC_TRUST_MAP.md docs: adopt project template, retire the markdown backlog 2026-08-18 01:21:13 -05:00
OPERATIONS.md docs: adopt project template, retire the markdown backlog 2026-08-18 01:21:13 -05:00
TOOLS.md chore: port the existing pre-push hook into .githooks before activating hooksPath 2026-08-18 01:22:33 -05:00
WORK_CYCLE.md docs: adopt project template, retire the markdown backlog 2026-08-18 01:21:13 -05:00