Generation pipeline
Generation is a funnel. It begins with eligible content, produces strategy-specific candidates, scores those candidates, applies anti-repeat and cadence constraints, and validates the selected puzzle before returning it.
AnswerLayout preserves the relationship between letters, spaces, and hyphens so multi-word answers can be scrambled and evaluated without losing their canonical shape. Strategies describe different visual textures; the ranking layer decides which valid candidate best fits the current difficulty and atmosphere.