# Decision: option_type and sql_to_run The candidate schema used to carry `rewrite_sql`. The name was load-bearing — it is sent to the model — and it said "query rewrite only". Result: an index recommendation had no `CREATE INDEX` anywhere in the pipeline, and the report rendered zero SQL blocks for a plan whose headline finding was missing indexes. It became `option_type` (index | statistics | rewrite | schema | app | ops) plus `sql_to_run`, described as the exact T-SQL the user must execute, with the instruction that an index or statistics option with null SQL is a wrong answer. Two consequences were deliberate. The report prompt makes a SqlBlock per non-null `sql_to_run` a hard requirement. And the `verify_semantics` flag in [[Jev scoring]] now keys on `option_type === "rewrite"`, because keying it on "has SQL" would flag every index option for carrying DDL — the exact noise an earlier ruling removed. Related: [[Placeholder SQL is dropped]], [[Analyst model]], [[Jev scoring]].