The part she played was integral to the episode. That is hardly a ‘pop in’ appearance.
The part she played will most like be integral to her becoming the new companion. Doctor Who did seem to have a moment of sadness when he discovered that she had actually been assimilated.
So will her regular character be the twin sister? will the first one be her future self? or will DW be rehabbing her back to human?