DOG-011 HIGH: HUNK BASS arena-lifetime + region-cap defects

dog/HUNK.c violates the codebase's own call()-rewinds-BASS rule. HUNKu8sRelay invokes call(hunk_rebase_body, &hk, prefix) (HUNK.c:386), but hunk_rebase_body carves nt(8 MiB)/nk(1 MiB) on BASS and points hk->text/hk->toks into them — and call() UNCONDITIONALLY rewinds the BASS data+idle heads on return (abc/PRO.h:75-90), so those slices dangle the instant line 386 returns. The next call(HUNKu8sFeedOut, into, &hk) (:388) hands the dangling slices to renderers whose own carves land on the same bytes: Color mode bro_walk_hunk carves ~192 KB over the rebased text (:769) → garbage output. Plain/HTML/TLV survive only by not carving before reading — one refactor from breaking. The in-function comment "caller's call() frame owns them" (:293-296) is wrong; hunk_drain_toks is deliberately called DIRECTLY at :216 for exactly this reason. Method: Issues.

Input

Context

Goals

Constraints

WIP

TODOs

Blockers and bummers

Outcome