BE-012 HIGH: emitPack's 256-byte deflate slack overflows on incompressible blobs — every push of such a repo aborts

emitPack (shared/wire.js:441) sizes a FIXED Uint8Array at 1024 + Σ(obj.bytes.length + 256), but ZINFDeflate is real zlib: incompressible input (jpeg, zip, already-compressed binary) deflates to len + ~5 B per 64KB stored block + header/adler ≈ 330 B/MB, so any object over ~4MB needs more than 256 B of slack. git.pack.over(...) has no growth path — abc._pack_feed throws pack: feed (full?) (jab pack.hpp:117). Pushing (or serving via uploadPack, which reuses buildPushPack) a repo containing one large binary always fails with a cryptic error. From the 2026-07-07 be/ review (BE/REVIEW), CONFIRMED with a sizing probe. Method Issues.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome