GIT-004: OFS-only native resolver — delete the REF_DELTA arm and cross-file recursion

Input

Context

Child of GIT-001; lands LAST, gated on GIT-006 migration (no on-disk native log may still hold REF_DELTA). Once storage is OFS-only, keep_get_packed_rec (keeper/KEEP.c:692) simplifies to a pure offset chase: read header, if base type inflate, if OFS_DELTA subtract ofs_delta and loop, apply chain bottom-up. The whole REF_DELTA arm — index lookup per hop, cross-file recursion (keep_get_rec rdepth, KEEP_XFILE_RECUR_MAX), the buf3 aliasing dance, and the MEM-022 stack-DoS hardening that exists only because REF bases can ping-pong across file_ids — is deletable. The surviving chase — read header, OFS→subtract offset and loop, apply bottom-up — is pure bytes + offsets, so it lands as a dog/git resolver shared by keeper's native get AND the js/JABC binding (which drops its hand-composed seek+delt.apply chain). This is net removal of the store's most fragile, security-sensitive code. See Keeper, CLAUDE.

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome