@@ -279,7 +279,7 @@ def test_realtime_default_prompt_source_records_default_task_card_id() -> None:
279279 source = prompt_realtime .load_prompt_source ()
280280
281281 assert source .source == "default"
282- assert source .task_card_id == "morning_exercise_challenge "
282+ assert source .task_card_id == "healthy_habit_stamp_card "
283283 assert source .prompt_version_id is None
284284
285285
@@ -534,13 +534,25 @@ def test_realtime_prompt_call_task_card_id_overrides_default_selection(
534534 assert "# TASK CARD: Our Class Morning Exercise Challenge" not in prompt
535535
536536
537+ def test_realtime_prompt_call_healthy_habit_task_card_id_overrides_default_selection (
538+ tmp_path , monkeypatch
539+ ) -> None :
540+ prompt = build_prompt (role = "dominant" , task_card_id = "healthy_habit_stamp_card" )
541+
542+ assert "# TASK CARD: Our Class Healthy Habit Stamp Card" in prompt
543+ assert "# TASK CARD: Our Class Morning Exercise Challenge" not in prompt
544+
545+
537546def test_realtime_opening_comes_from_selected_task_card (tmp_path , monkeypatch ) -> None :
538547 assert get_opening_sentence ("morning_exercise_challenge" ) == (
539548 "Hi, I'm Kate. Let's choose one morning exercise activity for our Class."
540549 )
541550 assert get_opening_sentence ("school_event_invitation" ) == (
542551 "Hi, I'm Kate. Today, let's choose one school event and make an invitation."
543552 )
553+ assert get_opening_sentence ("healthy_habit_stamp_card" ) == (
554+ "Hi, I'm Kate. Let's choose three healthy habits for our Class's stamp card."
555+ )
544556
545557
546558def test_realtime_opening_falls_back_when_task_card_has_no_opening (
0 commit comments