App images have no templates/ checkout, so GetDocTemplate fell back to a two-section stub and prelim_design lost its real contract. Co-authored-by: Cursor <cursoragent@cursor.com>