Growth Nirvana Transform Authoring
Purpose
Produce reliable transformation SQL drafts with evidence-based model alignment and validation loops.
Workflow
- Resolve dataset by
displayNameand inspect relevant model folders:models/<slug>/query.sqlmodels/<slug>/model.jsonmodels/<slug>/data_transformation.json
- Identify target variant context:
combined_reportcombined_report_ffcombined_report_catalog- other custom marts
- Draft SQL in style consistent with neighboring models.
- Validate with
create_dry_run(context=TransformationModel). - Poll with
get_dry_runto terminal. - If errors, revise and rerun dry run until success.
- Return upload-ready handoff details.
Guardrails
- Never skip dry run.
- Never execute query unless user explicitly asks.
- Always note assumptions about source models and column semantics.
- If variant-specific remapping exists, preserve it unless user asks to change it.
Response Contract
workflow: transform-authoring@v1- dataset + target model slug
- model variant context
- draft summary
- dry run id/status/errors
- final SQL path/content summary
- upload handoff notes
Resources
- Examples: examples.md
- Troubleshooting: troubleshooting.md