diff --git a/tests/test_model_slot_role_model.py b/tests/test_model_slot_role_model.py index fae9aa308..ea0c2820b 100644 --- a/tests/test_model_slot_role_model.py +++ b/tests/test_model_slot_role_model.py @@ -979,7 +979,8 @@ def test_a_reduction_reaches_the_record_the_child_and_the_parents_readback(tmp_p sched_ctx, subagent_id=subagent_id, objective="o", expected_output="e", ) assert "CAPABILITY_DELTA" not in scheduled - assert "subagent_id=session-actor" in scheduled + # The result names the engine by its handle; the stored key stays in durable records. + assert "subagent_id=claude=route-a" in scheduled and "session-actor" not in scheduled assert "route=agent_session" in scheduled