-- 032_auto_act_index.up.sql -- Add a partial index on executions(classification_id) to support the -- GetOpenSignalsForAutoAct anti-join: LEFT JOIN executions e ON -- e.classification_id = c.entity_id WHERE e.entity_id IS NULL (F4). CREATE INDEX IF NOT EXISTS idx_executions_classification ON executions (classification_id) WHERE entity_id IS NOT NULL;