Rendering
Rendering is the step that turns layers and variables into a final prompt string.
What happens
- Variables are substituted into layer content.
- Missing variables and undeclared placeholders are tracked.
- The rendered prompt is returned in preview and included in contract trace for runs.