Let $B$ a unital $C^*$-algebra and $A$ a $C^*$-subalgebra of $B$ containing the unit of $B$. Let $f:B\to B$ be a linear, unit-preserving, completely positive and idempotent map (i.e. $f^2=f$). ..[I have seen this as a definition of projections on a $C^*$-algebra]
Is then $f(a)=a$ for all $a\in A$?
I don't have a proof and I don't have a counterexample, I am undecided whether it is true or not (I tend to say 'not true'). I appreciate any suggestion and hints.
No. For instance, let $A=B=\mathbb{C}^2$ and let $f:\mathbb{C}^2\to\mathbb{C}^2$ be given by $f(x,y)=(x,x)$.