ABC tickets: core library primitives

Discrepancies in abc/ — the foundational slice/buffer/net/poll/curl layer every other module builds on. Each entry is one ticket with its live state; it drops off once the ticket closes. The fix-and-land method is Issues. Memory-safety findings live under MEM; this topic is for behavioural/correctness gaps. The 2026-07-07 five-agent full-library review landed as ABC-005..018; every ticketed finding was verified against source first.

Active tickets

s_purge skips the swapped-in tail (LIVE via LSM/Y), $rm/$rm1 memmove the wrong count, u8sPop copies head yet sheds tail, sDrain breaks its own contract, $tailshift cannot compile, $feedf returns OK on end-of-template truncation. (armed for any non-u8 T), bReMap shrink OOB (macOS path), bAcquire alignment + size-overflow math. overflow + no-op sift-up, LSMSort silently loses data on roughly-sorted input, Yx $sort b8-comparator-through-qsort UB, PRO.h included by LSM.h. nibble ("0g" decodes OK), OKscan matches "KO" not "OK" (0x518 vs 0x614), RON pad-feed breaks the Feed contract, ZINT-128 feeds unchecked. huge records (bit-0x20 test) → stream desync; probe shift UB; leftover unaligned casts; missing u32 length guards.

Sessions

ABC-003 (UTF8_LEN[byte>>4] byte-length table shifted; multibyte lead bytes over-count) landed into the abc sub — 02a23dc3 (?/abc/.dogs) + pin cb71e65b. (BRO-004's incoherence was a separate bro bug, not this table — see ABC-003.)

ABC-004 (abc/BIT.h u1 bitmap + set algebra; BitUnset |=~ bug killed by construction; FILE_RW migrated; backs DOG-001's weavescope) landed into the abc sub — 7dafb8d7 + u64s rework 6e3b93f8 + pin 876315d1; the optional NFA class-bitmap migration was dropped as scope — see ABC-004.