Improved Spell Sharing will allow to share a spell with a companion. It seems to me only one instance of the spell exists, but I’m not sure it’s the case, or if this creates two effects.
This has several impacts:
1) does a dispel magic targeting the companion or the character dispel the other’s spell/effect?
2) does spells like ablative barrier, protection from arrows, stoneskin, protection from energy add character and companion absorbed damage, or are the total counted separately?