Text this: Fitness maximization under controlled environmental uncertainty