When inferring missing trigger sourceState from the transition table, preserve enum type context (Type.CONST) so different state enums sharing a constant name do not collapse into a single inferred source. Co-authored-by: Cursor <cursoragent@cursor.com>