Apply git's pack delta format against a base object.
Every path returns {:ok, bytes} | {:error, reason}. Hostile input —
truncated headers, out-of-bounds copy offsets, insert length longer
than payload, reserved 0x00 opcode, size-mismatches — produces a
tagged error; none raise.