Everything seemed to be going well for this little caterpillar of the Pale Brindled Beauty (Phigalia pilosaria) found on an Ash near Grassington.
A cocoon has now appeared which belongs to one of the Microgastrinae group of parasitoids.
It is likely to be a Glyptapantales sp. or perhaps Protapantales with Cotesia a fainter possibility.
Hopefully time will tell.