Roadmap 0.13, Fixes
FX.711 Repo guard pre-push hook runs out of buffer on a BimCraft tag push (ENOBUFS on the whole-history diff)
0.12.1 go-live, step 12 (2026-11-30 22:5x UTC): pushing the tag bimcraft-v0.12.1 the pre-push hook failed with `spawnSync sh ENOBUFS`: tools/public-repo-guard.mjs range mode reads the whole-history diff into a 256 MB buffer. Not a finding: the same rules run as a stream over that range gave 0 path hits and 0 content hits, the commit had already passed the hook on its own push, and that one tag was pushed with the hook skipped. To build: the range mode streams the diff (or checks a tag only against the commits not yet on the remote) so no push ever needs the hook skipped.
lead 0.13 2026-12-02: Built 2026-12-02: tools/public-repo-guard.mjs streams the diff line by line (the prefilter had matched every "license", 218 MB on bimcraft) and a new push mode checks only the commits the remote lacks, so a tag on a pushed commit checks nothing; install-hook writes the push form. tools/test-public-repo-guard.mjs 6/0 (lead re-ran), incl. a planted SuperCad secret inside a 2 MB line still caught. Whole bimcraft history: clean, 0 hits, 19 s, node ~283 MB. Untested: a real git push through the hook (nothing pushed).
Community comments
No comments yet
Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.
Sign in or create a free account to add a comment.