From dc358335344ab9b3b6862d45e7bfc3617c26d8f1 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Sun, 26 Apr 2026 21:07:44 -0400 Subject: [PATCH] test: feed meanwhile digest canned response after Wave 6b cross-feature merge --- tests/test_meanwhile_turn_flow.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tests/test_meanwhile_turn_flow.py b/tests/test_meanwhile_turn_flow.py index a2e2783..0290b2b 100644 --- a/tests/test_meanwhile_turn_flow.py +++ b/tests/test_meanwhile_turn_flow.py @@ -394,7 +394,19 @@ def test_meanwhile_scene_close_writes_per_pov_for_both_bots_only( "relationship_summary": "", } ) - close_mock = MockLLMClient(canned=[pov_payload_host, pov_payload_guest]) + # T65 added a meanwhile digest summarize call after per-POV writes + # for meanwhile scenes. T58's thread detection is wrapped in try/except + # so its IndexError is swallowed gracefully. + digest_payload = json.dumps( + { + "summary": "While you were away, BotA and BotB talked quietly.", + "knowledge_facts": [], + "relationship_summary": "", + } + ) + close_mock = MockLLMClient( + canned=[pov_payload_host, pov_payload_guest, digest_payload] + ) import asyncio as _asyncio