Give the pass a destination
Mark the starting gap, the passing point and the end positions on the path. Walk it with the camera before adding dialogue. Then record one run at the actors' normal speech pace to see where the pass really lands.
Check the original movement
Follow the overtaking shoulder on playback. Look for an uninterrupted approach and a distinct reappearance ahead of the other actor. Log the line and the landing position with the role name.
Example blocking note
For a corridor exchange, cue the faster actor to reach the noticeboard before finishing the next sentence. If the pass finishes by the staircase instead, the timing and selection note both need updating.
If the roles remain ambiguous
If the subjects conceal each other for an entire sentence, separate their walking lanes or film the pass from the side. An additional tight close-up alone may hide how the order changed.