JS-040 MED: bin/lib/ingest.js — pack ingest (keeper write side)

Land a received packfile into the shard: resolve every object (incl. REF_DELTA against the existing store / in-pack bases), re-encode OFS-only into a fresh NNNNN.keeper pack-log, and index it into the shard's wh128 LSM. Mirrors keeper/UNPK.c + KEEPIngestFile (unlinkable). Part of JS-038.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers

Outcome