Dashboard › cli › ZIP head prev 32768 alignment
01a032cc-5076-7658-8b7a-64516bb0815fFor the ZIP index calculation path, always modify both head and prev, and keep the buffer length 0 modulo 32768. A seemingly cleaner conditional update or arbitrary buffer size can leave stale index positions and corrupt subsequent parsing; other numeric cases are outside the supported input invariant.