from src.mma_prompts import PROMPTS

def test_tier1_epic_init_constraints() -> None:
 prompt = PROMPTS["tier1_epic_init"]
 assert "Godot ECS Flat List format" in prompt
 assert "JSON array" in prompt
 assert "Tracks" in prompt
 assert "severity" in prompt
 assert "IGNORE all source code" in prompt

def test_tier1_track_delegation_constraints() -> None:
 prompt = PROMPTS["tier1_track_delegation"]
 assert "Track Brief" in prompt
 assert "AST Skeleton View" in prompt
 assert "IGNORE unrelated module docs" in prompt

def test_tier1_macro_merge_constraints() -> None:
 prompt = PROMPTS["tier1_macro_merge"]
 assert "Macro-Merge" in prompt
 assert "Macro-Diff" in prompt
 assert "IGNORE Tier 3 trial-and-error" in prompt

def test_tier2_sprint_planning_constraints() -> None:
 prompt = PROMPTS["tier2_sprint_planning"]
 assert "Tickets" in prompt
 assert "Godot ECS Flat List format" in prompt
 assert "depends_on" in prompt
 assert "DAG" in prompt
 assert "Skeleton View" in prompt
 assert "Curated Implementation View" in prompt

def test_tier2_code_review_constraints() -> None:
 prompt = PROMPTS["tier2_code_review"]
 assert "Code Review" in prompt
 assert "IGNORE the Contributor's internal trial-and-error" in prompt
 assert "Tier 4 (QA) logs" in prompt

def test_tier2_track_finalization_constraints() -> None:
 prompt = PROMPTS["tier2_track_finalization"]
 assert "Track Finalization" in prompt
 assert "Executive Summary" in prompt
 assert "Macro-Diff" in prompt
 assert "Dependency Delta" in prompt

def test_tier2_contract_first_constraints() -> None:
 prompt = PROMPTS["tier2_contract_first"]
 assert "Stub Ticket" in prompt
 assert "Consumer Ticket" in prompt
 assert "Implementation Ticket" in prompt
 assert "Interface-Driven Development" in prompt
 assert "Godot ECS Flat List format" in prompt
