export enum ContentTone {
    PROFESSIONAL = 'professional',
    CASUAL = 'casual',
    HYPE = 'hype',
    URGENT = 'urgent',
    HUMOROUS = 'humorous',
    INFORMATIVE = 'informative',
    EMPATHETIC = 'empathetic',
    PROVOCATIVE = 'provocative',
    AUTHORITATIVE = 'authoritative',

    // === NEW: Edgy tier (opt-in) ===
    SPICY = 'spicy',                // Blunt, sharp, mild profanity OK
    AGGRESSIVE = 'aggressive',      // Cục súc, attack ideas mạnh
    PROFANE = 'profane',            // Nói tục thoải mái, raw
    INFLAMMATORY = 'inflammatory',  // Kích động cao, controversial takes
    SAVAGE = 'savage',
}

/**
 * Tones cần special handling (provider routing, guardrails)
 */
export const EDGY_TONES = new Set<ContentTone>([
    ContentTone.SPICY,
    ContentTone.AGGRESSIVE,
    ContentTone.PROFANE,
    ContentTone.INFLAMMATORY,
    ContentTone.SAVAGE,
]);

export function isEdgyTone(tone: ContentTone): boolean {
    return EDGY_TONES.has(tone);
}