I see a few issues
1st the nails in the staples must be very short or pokeing thru the osb and maybe thru the sideing
2 nd the osb is now frameing member and should be 1 1/4 inches away but code words it bit wrong to inforce
3 rd knowing the high chance of getting a nail in it the EC should not want to risk this.
4 th an inspector should use what ever he can to get it corrected
All that was needed is a couple 2x4 's and never been a problem.
as an inspector i would at min call the EC and make writen notice of this problem and picture. Then if problem comes up such as FIRE let the EC find his own way out.
You beat me to it jim , I was going to say the staples will be poking thru vinyl siding on other side except places where the vinyl by design leaves the wall. Also for some one so generous with the staples where not required still missed the 12'' distance from box as someone else noticed. Do you know a code that says the osb becomes a framing member ? I say done by DIY