Pipeline trace capturing the SQL state after each pass. Used for error diagnosis — when SQL Server rejects the output, the caller can see what each pass produced to identify which pass mangled the SQL.
SQL after composition ({{ }}/{% %} tokens still present)
SQL after paging (final) — only set if paging was applied
SQL after Nunjucks template evaluation (fully resolved, executable)
Composition metadata: which deps resolved, which CTEs generated
Pipeline trace capturing the SQL state after each pass. Used for error diagnosis — when SQL Server rejects the output, the caller can see what each pass produced to identify which pass mangled the SQL.