v2.14.6: with thinking on, each loop turn ends in a real tool call

Tests › tests/model/test_v2146_thinking_tool_call.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/model/test_v2146_thinking_tool_call.cpp:58 · its file's page

What it checks (7)

  1. REQUIRE(g_ctx.initialized) not attributed
  2. REQUIRE(nlohmann::json::parse(menu).size() == 2) observes tools_named via menu
  3. REQUIRE(test_log_contains(log_name, "thinking=true")) observes test_log_contains
  4. CHECK_FALSE(test_log_contains(log_name, "turn failed")) observes test_log_contains
  5. CHECK(reads_turn1 >= 1) observes count_log_lines via reads_turn1
  6. CHECK(reads >= reads_turn1 + 1) observes count_log_lines via reads
  7. CHECK_FALSE(after_turn2.back().content.empty()) observes run via after_turn2

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

v2.14.6: with thinking on, each loop turn ends in a real tool call→REQUIRE→start_test_log→init_builtins→initialize→tools_named→list_tools→make_real_interface→set_project_dir→wire_callbacks→callbacks→set_callbacks→set_tier_resolution→loop_config→build_directive_hooks→set_tier_allowed_tools→set_tool_executor→WHEN→make_messages→run→count_log_lines→test_log_contains→end_test_log→lead_tool_prompt→mock_resolve_tier→mock_tier_exists

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.

v2.14.6: with thinking on, each loop turn ends in a real tool call · 7 checkslead_tool_promptalloc_cstrentropic_allocREQ-ABI-001 · inferredmake_real_interface… 10 calls …entropic_session_bind_workspaceREQ-ABI-002 · inferredmake_real_interface… 10 calls …entropic_last_errorREQ-API-003 · inferredmake_real_interface… 10 calls …entropic_session_bind_workspaceREQ-API-005 · inferredmake_real_interface… 10 calls …entropic_last_errorREQ-API-007 · inferredlead_tool_promptalloc_cstrREQ-API-008 · inferredWHENfailure_detailREQ-API-012 · inferredmake_real_interface… 6 calls …dispatchREQ-BRIDGE-001 · inferredrunloopexecute_iterationcheck_compactionREQ-COMPACT-001 · inferredrunREQ-COMPACT-002 · inferredrun… 4 calls …execute_pending_pipelineREQ-DELEG-001 · inferredruninit_session_conversationREQ-DELEG-002 · inferred

and 49 more requirement paths, listed below.

Also reaches 70 requirements

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