Inspect the layers
Render the same edge over black and white. Inspect one partial-coverage pixel and one fully opaque pixel in the insert before the composite.
Confirm how the upstream format stores color at that edge. Test a single interpretation change while leaving the key, feather and color grade fixed.
Controlled edge example
A foreground value of 200 at half coverage is stored as 100 in a premultiplied example. Multiplying that stored value by 0.5 again leaves only 50 foreground codes before the background contribution.
Which part of the composite to repair
Use the interpretation matching the stored data. Eroding the matte to conceal a dark line may remove valid hair strands while leaving the underlying handling error.