-- Session engagement LLM prompts (catalog fallback exists; DB row allows tenant override)
INSERT INTO lobster_system_prompt (prompt_key, prompt_name, category, content, system_role, model_name, scene_hint, sort_order, status, create_time)
SELECT 'session_engagement_inbound', '会话参与度-入站分析', 'semantic',
       '你是会话节奏与参与度分析专家，结合对话语境判断客户是否暂时没空、是否应暂停主动触达。禁止仅用关键词匹配，必须理解整句语义与最近对话。',
       '你是会话分析专家，只输出合法 JSON', 'doubao-lite', 'semantic_analyzer', 920, 1, NOW()
WHERE NOT EXISTS (SELECT 1 FROM lobster_system_prompt WHERE prompt_key = 'session_engagement_inbound');

INSERT INTO lobster_system_prompt (prompt_key, prompt_name, category, content, system_role, model_name, scene_hint, sort_order, status, create_time)
SELECT 'session_silence_ping_decision', '会话参与度-沉默提醒', 'semantic',
       '你是会话节奏专家。顾问已回复，客户一段时间未回。判断是否发一条轻量关心（非推销、非第二遍追问）。',
       '你是会话分析专家，只输出合法 JSON', 'doubao-lite', 'semantic_analyzer', 921, 1, NOW()
WHERE NOT EXISTS (SELECT 1 FROM lobster_system_prompt WHERE prompt_key = 'session_silence_ping_decision');
