Prompts, Context Assembly, and Structured Output Contracts