What looks a bit like peanut brittle is presumably an egg mass. I found this on lichen covered bark at the base of a tree. Overall it was about 25mm long, which would make each of the embedded eggs less than 2mm long.
Each egg appears to be elliptical, with a sort of knob at the exposed end.
I don’t have a clue what is responsible for this, so I’d love to see comments from anyone that might have an idea. I’ve been through the “Eggs and Egg Cases” chapter of Tracks & Sign of Insects a few times already, but I haven’t spotted any likely suspects.