Pretraining Knows What, Simulation Teaches How: Compositional Generalization in a Sim-Trained Robot Agent — ThinkLLM