For me, the optimism of Trek isn't due to lack of conflict, so much as the way that those conflicts are resolved. In Trek conflicts aren't solved by wiping out an enemy, but by finding a way to come to some kind of an understanding.
For an optimistic, positive view of the future, this is a pretty shallow one, rather superficial:
Choosing to eschew more pointless war and instead choosing to try and understand your opponents and compromise with them, to understand them... is shallow and superficial
I do not think those words mean what you think they mean.