ABC-013: HIGH FILE/FSW: short-write data loss, uninit fd book, dead watches

FILE.c streaming/booking layer (2026-07-07 review). FILEFlushThreshold marks ALL buffered data consumed regardless of how much write() accepted — silent, permanent data loss on any partial write. The fd-book grows over uninitialized malloc memory whose garbage then passes NULL-sentinel checks. FSW watches can never be removed and kqueue leaks an fd per watch.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome