thanks for all your suggestions.
been googling ......i know you said i shouldnt, but i typed 'yellow bug'
and have ruled out the possibility of the pupa of a VW
..... the closest match was a solitary bee pupa,
ps i got stung once by some bees .... £2.50 for a jar of honey!