JAB-006: buf.cpp violates the documented API.md buffer contract silent truncation + missing unmap primitives

Now
OPEN

Two jab-runtime (src/jab) binding gaps surfaced by the 2026-07-07 be/ review (BE/REVIEW), where be/ JS relies on a contract buf.cpp does not honor:

Method Issues.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome