Reverse-Engineered Reasoning for Open-Ended Generation