from app.agents.prompts import MASTER_SYSTEM_PROMPT


def test_master_prompt_forbids_subagent_rollcall_in_simple_greetings():
    assert '当用户只是打招呼（如“你好”“您好”“早”“在吗”）时：不要介绍 4 个子Agent' in MASTER_SYSTEM_PROMPT
    assert '只做一个自然、简短、有推进感的回应' in MASTER_SYSTEM_PROMPT


def test_master_prompt_does_not_include_full_canned_answers_for_greetings_or_identity():
    assert 'Jarvis：您好。我在。' not in MASTER_SYSTEM_PROMPT
    assert 'Jarvis：我是 Jarvis。' not in MASTER_SYSTEM_PROMPT
    assert 'Jarvis：主要做三件事。' not in MASTER_SYSTEM_PROMPT
