set_handoff_rules wires internal tier resolver trampolines

Tests › tests/unit/core/engine_test.cpp

absent Not in the packaged run: no test report names it.

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)

  1. REQUIRE(tri.resolve_tier("eng", ud).valid) not attributed
  2. REQUIRE_FALSE(tri.resolve_tier("nope", ud).valid) not attributed
  3. REQUIRE(tri.tier_exists("eng", ud)) not attributed
  4. REQUIRE_FALSE(tri.tier_exists("ghost", ud)) not attributed
  5. REQUIRE(tri.get_handoff_targets("lead", ud).size() == 2) not attributed
  6. REQUIRE(tri.get_handoff_targets("missing", ud).empty()) not attributed
  7. REQUIRE(tri.get_tier_param("eng", "explicit_completion", ud) == "true") not attributed
  8. REQUIRE(tri.get_tier_param("eng", "max_iterations", ud) == "7") not attributed
  9. REQUIRE(tri.get_tier_param("eng", "max_tool_calls_per_turn", ud) == "3") not attributed
  10. REQUIRE(tri.get_tier_param("eng", "unknown_param", ud).empty()) not attributed
  11. REQUIRE(tri.get_tier_param("ghost", "anything", ud).empty()) not attributed
  12. REQUIRE(tri.get_tier_param("plain", "max_iterations", ud).empty()) not attributed
  13. REQUIRE(tri.get_tier_param("plain", "max_tool_calls_per_turn", ud).empty()) not attributed
  14. REQUIRE(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→REQUIRE

What 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.

set_handoff_rules wires internal tier resolver trampolines · 14 checkstier_resolutionREQ-IDEN-001 · inferredset_handoff_rulesREQ-IDEN-003 · inferred
Also reaches 2 requirements

Its run touches their code; that is reach, not proof.