These flat bugs, family Aradidae, were living and breeding inside the fruiting bodies of pouch fungus. Flat bugs are fungus feeders and they found a good home here. The images show adults and nymphs.
Specimens collected by Ryles Richards, 7 August 2017, Groveland California, from dead pine trees along a road. Thanks to Dr. Lynn Kimsey for the ID.