Add missing Terminal snapshot-effect deps, drop unused cursorAuthMode deps in SettingsAITab, and remove dead test imports/state so dev lint starts clean.