set_handoff_rules wires internal tier resolver trampolines¶
Tests › tests/unit/core/engine_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/core/engine_test.cpp:2389 · its file's page
What it checks (14)
REQUIRE(tri.resolve_tier("eng", ud).valid)not attributedREQUIRE_FALSE(tri.resolve_tier("nope", ud).valid)not attributedREQUIRE(tri.tier_exists("eng", ud))not attributedREQUIRE_FALSE(tri.tier_exists("ghost", ud))not attributedREQUIRE(tri.get_handoff_targets("lead", ud).size() == 2)not attributedREQUIRE(tri.get_handoff_targets("missing", ud).empty())not attributedREQUIRE(tri.get_tier_param("eng", "explicit_completion", ud) == "true")not attributedREQUIRE(tri.get_tier_param("eng", "max_iterations", ud) == "7")not attributedREQUIRE(tri.get_tier_param("eng", "max_tool_calls_per_turn", ud) == "3")not attributedREQUIRE(tri.get_tier_param("eng", "unknown_param", ud).empty())not attributedREQUIRE(tri.get_tier_param("ghost", "anything", ud).empty())not attributedREQUIRE(tri.get_tier_param("plain", "max_iterations", ud).empty())not attributedREQUIRE(tri.get_tier_param("plain", "max_tool_calls_per_turn", ud).empty())not attributedREQUIRE(tri.get_tier_param("plain", "explicit_completion", ud) == "false")not attributed
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
set_handoff_rules wires internal tier resolver trampolines→make_mock_interface→set_tier_info→info→set_handoff_rules→tier_resolution→REQUIREWhat it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Also reaches 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-IDEN-001 inferred
- REQ-IDEN-003 inferred