It seems that everyone agrees on:
- Lots of fruit and vegetables
- Legumes
- Fish twice a week or more
- Red meat but not for every meal
- Avoid highly processed foods
- Avoid dairy products
There doesn't seem to be any consensus on wheat products. Rice seems fine, and potatoes too if you don't deep-fry them.
Of course nobody knows for sure what the optimal diet is, and I guess 'optimal' is also going to depend on your DNA and the specific mix of bacteria you have in your gut right now.
Your body requires loads of different nutrients to live but many of them can be synthesized in your body using other nutrients if need be. If you really want the optimal nutrient mix you could always try cannibalism. Human flesh, by definition, has the exact mix of amino acids and other nutrients your body needs. Not sure if you should be cooking your human flesh or not though.