PACK-004: repack ingest REFUSES a REF_DELTA that arrives in the source pack thin packs and every non-ofs-delta peer abort

Now
OPEN
Sev
HIGH

22bec7d6 restored REF_DELTA on the READ side only. PACKResolve/PIDXScanRef take a pack_ref_find so a rotated log's cross-log bases resolve, and REPACK.c:314 EMITS REF_DELTA whenever a crossing delta lands in a new log but REPACK.c:308 still carries test(obj.type != PACK_OBJ_REF_DELTA, REPACKBASE), so a source pack that CONTAINS a REF_DELTA record aborts with "pack: a delta cites a base that never arrived". That is not an exotic input: a THIN pack names its bases by sha by construction (KEEP-006 §Fetch-side rules says so outright), and so does any peer that did not negotiate ofs-delta. Every incremental fetch is a thin pack, so this bites the moment JAB-020 routes jab get through git.pack. Found by the TEST-004 treadmill; method Issues.

Input

Context

Goals

git.pack ingests a pack containing REF_DELTA records, resolving each base out of the shard rather than aborting.

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome

Not started filed 2026-07-27 from a TEST-004 treadmill finding, after gritzko's read of 22bec7d6.