Files
gbrain/test
2f2dfd3410 fix(gbrain): disable hooks for scaffolding commit to avoid harden push race
Takeover of #2545. The harden flow installs the durability post-commit
hook, then commitScaffolding commits + pushes; the hook fires on that
commit and background-pushes (pull --rebase -> index.lock), racing the
foreground push. #2545 added --no-verify, but that only skips
pre-commit/commit-msg hooks — post-commit still runs (empirically
verified). Fix: run the scaffolding commit with -c core.hooksPath=/dev/null
so no hooks fire, and correct the hook template's misleading
'Bypass: git commit --no-verify' comment.

Co-authored-by: peterostrander2 <peterostrander2@users.noreply.github.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 14:48:28 -07:00
..