How might we do gene editing without getting dangerously close to eugenics?

Heinlein Solution

When a couple goes to a genetic specialist to have an improved baby, they are allowed to select among the genes they bear but not introduce new ones, so their baby is one that could haver possibly had naturally.