COSMIC: Generalized Refusal Direction Identification in LLM Activations | Synapse